Adrian Robert
51b4b3fb38
(ns_get_color): fix typo in last change
2009-08-21 19:36:50 +00:00
Adrian Robert
36e34d1b5d
* nsterm.m (ns_get_color): Update documentation properly for last
...
change, and clean up loose ends in the code left by it. Fix
longstanding bug with 16-bit hex parsing, and add support for
yet another X11 format (rgb:r/g/b) for compatibility.
* nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
timer_check() to avoid crash on Leopard/PPC. Bug #2154 .
2009-08-21 19:33:56 +00:00
Adrian Robert
3625e9685c
* nsterm.m (ns_get_color): Update documentation properly for last
...
change, and clean up loose ends in the code left by it. Fix
longstanding bug with 16-bit hex parsing, and add support for
yet another X11 format (rgb:r/g/b) for compatibility.
2009-08-21 19:31:48 +00:00
Adrian Robert
641d87f548
nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
...
timer_check() to avoid crash on Leopard/PPC. Bug #2154 .
2009-08-21 19:29:31 +00:00
Stefan Monnier
f983eb8aaa
(init_eval_once): Bump max_lisp_eval_depth to 500 for js.el.
2009-08-21 14:53:02 +00:00
Michael Albinus
3f56d3c665
* dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
...
(xd_add_watch, xd_remove_watch): Use it. Print debug messages.
(xd_initialize, xd_pending_messages): Check, whether
$DBUS_SESSION_BUS_ADDRESS is set.
2009-08-20 12:54:57 +00:00
YAMAMOTO Mitsuharu
fb641d684f
(ns_get_color): Remove incompatible color formats again.
2009-08-20 09:44:25 +00:00
YAMAMOTO Mitsuharu
fb67c21b69
(Fxw_color_values): Return 3-element list. Doc fix.
2009-08-20 09:44:06 +00:00
Glenn Morris
cf59a3740d
(system-type): Doc fix.
2009-08-20 06:41:43 +00:00
Stefan Monnier
1373f3bebc
(syms_of_keyboard): Default to 5 buttons, which should be
...
enough for the most common situations. Avoid SET_SYMBOL_VALUE.
2009-08-19 14:39:35 +00:00
Michael Albinus
058ed8610c
* dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): New
...
functions.
(xd_initialize): Revert change from 2009-08-16.
2009-08-18 15:17:02 +00:00
Kenichi Handa
563a866ec7
(Ffontset_font): Fix previous change.
2009-08-18 00:37:11 +00:00
Kenichi Handa
5fc05db07b
*** empty log message ***
2009-08-18 00:22:28 +00:00
Chong Yidong
e42bdf0159
* process.c (status_notify): Don't perform redisplay.
...
(Fdelete_process, list_processes_1, process_send_signal):
Expliticly perform redisplay.
(wait_reading_process_output): Always check process status, but
don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930).
2009-08-17 21:04:05 +00:00
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