1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

28166 commits

Author SHA1 Message Date
Ken Raeburn
f601cdf35d * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
(XFLOAT_INIT): New macro for storing a float value.
* alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
* fns.c (sxhash): Copy out the value of a float in order to examine its bytes.
* dbusbind.c (xd_append_arg): Likewise.
2009-08-17 01:25:54 +00:00
Ken Raeburn
4230ab74b7 (main): Don't call syms_of_data twice. 2009-08-17 00:48:14 +00:00
Michael Albinus
ca4f31ea15 * dbusbind.c (Fdbus_call_method_asynchronously): Allow nil HANDLER. 2009-08-16 17:35:44 +00:00
Michael Albinus
a0645cddf0 * dbusbind.c (xd_initialize): Add connection file descriptor to
input_wait_mask, in order to let select() detect, whether a new
message has been arrived.
2009-08-16 12:23:23 +00:00
Chong Yidong
84b17ab096 * eval.c (Fcalled_interactively_p, Finteractive_p): Doc
fix (Bug#3936).
2009-08-15 21:51:33 +00:00
Michael Albinus
485db0ba86 * keyboard.c (readable_events): Call xd_pending_messages. 2009-08-15 18:31:49 +00:00
Michael Albinus
f573d5886c * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): New functions. 2009-08-15 18:27:58 +00:00
Michael Albinus
17310faf6b * lisp.h (xd_pending_messages): Declare. 2009-08-15 18:25:38 +00:00
Chong Yidong
f8354c6e36 * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). 2009-08-15 17:30:18 +00:00
Chong Yidong
b5b98ff494 * buffer.c (set_buffer_internal_1)
(swap_out_buffer_local_variables): Check for unbound local
variables (Bug#4138).
2009-08-15 14:06:02 +00:00
Chong Yidong
8653cf0a6c Add comment noting that unbound symbols appear as themselves in local_var_alist. 2009-08-15 13:53:41 +00:00
Eli Zaretskii
8b9fc63661 (create_pty): Fix last change. 2009-08-14 09:17:11 +00:00
Chong Yidong
64b807c924 Note bug number in last change. 2009-08-13 17:02:46 +00:00
Chong Yidong
ce95936095 * image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
(xbm_load_image): Caller changed.
(xbm_file_p): Avoid signalling an image_error.
2009-08-13 17:01:21 +00:00
Nick Roberts
850d0752fb (create_pty): New function.
(Fstart_process): Use it to allow Emacs to just associate a pty
with the buffer.  See associated change in gdb-mi.el.
(list_processes_1): Deal with no program name.
(start_process_unwind): Use pid == -2 to mean no process.
2009-08-13 13:22:55 +00:00
Nick Roberts
c7baf7e99f *** empty log message *** 2009-08-13 13:21:46 +00:00
Stefan Monnier
1ac9108a3d * cmds.c (nonundocount): New global variable.
(keys_of_cmds): Initialize it.
(Fself_insert_command): Use it to combine upto 20 sequential chars
into a single undo entry, just like the Qself_insert_command code in
keyboard.c does.
Call frame_make_pointer_invisible, also like the Qself_insert_command
code in keyboard.c does.
* keyboard.c (command_loop_1): Use the new global nonundocount rather
than its own local replacement for it.
2009-08-12 05:07:48 +00:00
Ken Raeburn
7743734306 (concat): Don't re-set string length to its current value. 2009-08-10 00:57:48 +00:00
Ken Raeburn
f0bed503c4 (decode_coding_string, encode_coding_string): Use SBYTES macro. 2009-08-10 00:56:00 +00:00
Ken Raeburn
e267324c1c * doprnt.c (doprnt_lisp): Unused function deleted.
(doprnt): Merge with doprnt1, discarding lispstrings code.
* lisp.h (doprnt_lisp): Don't declare.
2009-08-10 00:54:02 +00:00
Juri Linkov
416e006d39 (BASE_PURESIZE): Increase to 1270000. 2009-08-07 13:55:00 +00:00
Dan Nicolaescu
6f7d57805b (syms_of_print): Undo previous change. 2009-08-07 05:46:34 +00:00
Teodor Zlatanov
f19a0f5b11 * lread.c (read1, syms_of_lread): Read hashtables back from the
readable format.

* print.c (print_preprocess, print_object): Print hashtables fully
and readably.
(syms_of_print): Provide 'hashtable-print-readable.
2009-08-05 09:19:21 +00:00
Adrian Robert
b9173dc296 * nsfont.m (ns_descriptor_to_entity): Handle case when descriptor has no family set. (nsfont_open): Handle case when entity has no family. 2009-08-02 15:37:07 +00:00
Adrian Robert
1586503c80 * nsfont.m (ns_findfonts): Fix 2009-07-24 change to return only one element, not a list, for match case. 2009-07-29 16:03:12 +00:00
Kenichi Handa
087048cd5d (font_parse_xlfd): Check DPI and AVGWIDTH properties more rigidly. 2009-07-28 02:09:52 +00:00
Kenichi Handa
4fa58085e3 (xfont_list_pattern): Don't ignore the return value of
font_parse_xlfd.  Check font properties more rigidly.
2009-07-28 02:07:05 +00:00
Dan Nicolaescu
780c250664 (SIGNALS_VIA_CHARACTERS): Remove, already defined in bsd-common.h 2009-07-27 17:52:17 +00:00
Kenichi Handa
a8c0cc186d (face_with_height): Call font_clear_prop. 2009-07-27 04:19:57 +00:00
Bastien Guerry
051e86dc55 Better docstring for `called-interactively-p'. 2009-07-27 02:02:49 +00:00
Chong Yidong
111d9af32f * dispnew.c (init_display): Use Qx, Qw32, and Qns.
* xterm.c (x_term_init): Use Qx.
2009-07-26 23:09:44 +00:00
Bastien Guerry
3bfabe2531 Slightly fix the docstring of `select-frame'. 2009-07-26 19:16:16 +00:00
Chong Yidong
4fbe2306e0 * nsfont.m (nsfont_draw): Revert 2009-07-15 change.
* nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15
change.
(ns_get_color): Revert 2009-07-16 change.
2009-07-26 12:58:56 +00:00
Eli Zaretskii
beb0b7f93c (syms_of_lread) <force_load_messages>: New variable.
(Fload): Use it to force load messages, even if NOMESSAGES is non-nil.
2009-07-25 08:50:51 +00:00
Ken Raeburn
8890e5f53c * coding.h (decode_coding_string, encode_coding_string): Use
SCHARS macro.
2009-07-25 07:43:08 +00:00
Ken Raeburn
2baf5e7610 * lread.c: Rewrite 2009-07-21 changes.
(load_depth): Deleted.
(Qload_in_progress): New variable.
(load_unwind): Don't reference load_depth or load_in_progress.
(Fload): Likewise; specbind Qload_in_progress instead.
(init_lread): Don't initialize load_depth.
(syms_of_lread): Initialize and protect Qload_in_progress.
2009-07-25 07:36:17 +00:00
Adrian Robert
1395c6f54c * nsfont.m (ns_findfonts): Correctly return fallback in match case. 2009-07-24 15:43:22 +00:00
Adrian Robert
4e2f36cfed * nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep. 2009-07-23 14:41:05 +00:00
Adrian Robert
7f6ad20968 * nsterm.m (ns_lookup_indexed_color): Check for bad index. (ns_index_color): Init unused slot to 0. (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). Bug 3714, possibly 3082. 2009-07-23 13:21:44 +00:00
Adrian Robert
5dd9a6f799 * nsterm.m (EmacsView-keyUp:): Only act when running under Tiger. 2009-07-23 11:52:45 +00:00
Jason Rumney
c902b9205b * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]: Position
IME window at cursor (Bug#2570).
(w32_wnd_proc) [WM_IME_CHAR]: Release context when finished.
(globals_of_w32fns): Dynamically load functions required above.

* w32term.c (w32_draw_window_cursor): Send message to reposition
any IME window.
2009-07-22 16:03:39 +00:00
Chong Yidong
090101cf91 * fileio.c: Revert 2009-07-16 changes.
(Vauto_save_include_big_deletions): New variable.
(Fdo_auto_save): Disable auto-save only if auto-save-include-big-deletions is nil.
2009-07-21 23:34:02 +00:00
Chong Yidong
e6583e3d76 * xdisp.c (move_it_to): For continued lines ending in a tab, take
the overflowed pixels into account (Bug#3879).
2009-07-21 20:12:09 +00:00
Ken Raeburn
ece435a536 (load_depth): New variable.
(Fload, load_unwind, init_lread): Set it to the load recursion
	depth; set load_in_progress as a simple boolean based on the
	current load_depth.  (Bug#3892)
2009-07-21 09:26:43 +00:00
Adrian Robert
40b2d973c8 * nsfont.m (ns_has_attribute): Remove.
(ns_findfonts, nsfont_open): Use ns_attribute_fvalue() instead.
2009-07-20 18:16:02 +00:00
Adrian Robert
e4e9c24b32 * nsfont.m (ns_attribute_value): Remove.
(ns_attribute_fvalue): Incorporate code from ns_attribute_value.
    (ns_has_attribute): Shrink the normal range.
    (ns_findfonts): Don't worry about requested spec in determining
      need for synthItal.
    (ns_get_covering_families): Retain scriptToFamilies.
2009-07-20 18:14:05 +00:00
Juri Linkov
10be7e0dd9 (Fset_process_query_on_exit_flag): Mention killing
a buffer in docstring.
2009-07-18 21:07:12 +00:00
Chong Yidong
806f1b46a3 Fix last change. 2009-07-17 01:32:50 +00:00
Kenichi Handa
fa0550553b (shuffle): Fix the logic of setting up the cycle. 2009-07-17 01:28:58 +00:00
YAMAMOTO Mitsuharu
042f7b692f (ns_get_color): Remove incompatible color formats.
(ns_color_to_lisp): Generate #rrggbb color format string.
2009-07-16 08:24:33 +00:00