Chong Yidong
8d3c4e79fb
(svg_load_image): Fix last change.
2009-02-06 17:19:10 +00:00
Chong Yidong
eb306cab7d
* image.c (svg_load_image): Fix last change.
2009-02-06 17:18:16 +00:00
Chong Yidong
62d168d8b3
(Fx_create_frame): Signal an error if no font is found (Bug#2147).
2009-02-06 16:49:35 +00:00
Chong Yidong
2d283c7ccd
* xfns.c (Fx_create_frame): Signal an error if no font is
...
found (Bug#2147).
2009-02-06 16:48:46 +00:00
Juanma Barranquero
4d8e170ee6
* character.c (syms_of_character) <script-representative-chars>:
...
Fix typo in docstring.
2009-02-05 08:46:51 +00:00
Kenichi Handa
209f39ac8a
(Ffont_spec): Docstring modified.
2009-02-05 06:21:19 +00:00
Kenichi Handa
f4427a54f1
(Vscript_representative_chars): Docstring modified.
2009-02-05 06:20:26 +00:00
Adrian Robert
5e581108a6
missed committing this on last checkin
2009-02-04 13:19:11 +00:00
Adrian Robert
c96169a0b1
* nsmenu.m (pop_down_menu): New function.
...
(ns_popup_dialog): Call it on unwind.
(EmacsDialogPanel-runDialogAt:): Check popup_activated_flag and
call timer_check() (Bug#2154).
(EmacsMenu-menuNeedsUpdate:): Don't call ns_update_menu if
handling_signal is set.
(EmacsMenu-fillWithWidgetValue:): Set submenu title.
* s/darwin.h: Same and NO_SOCK_SIGIO as well.
* nsterm.m (ns_read_socket): Same and don't set handling_signal.
* keyboard.c (poll_for_input_1, handle_async_input): Set
handling_signal under HAVE_NS.
2009-02-04 11:31:28 +00:00
Glenn Morris
aacd8ba187
(Fwrite_region): Doc fix (mention annotate-functions).
2009-02-04 03:51:27 +00:00
Kenichi Handa
4cb75c4b12
(Fchar_charset): New optional arg restriction.
2009-02-04 01:58:13 +00:00
Kenichi Handa
cde42f0ff5
(coding_system_charset_list): Extern it.
2009-02-04 01:53:10 +00:00
Kenichi Handa
e9f91eced1
(coding_system_charset_list): New function.
2009-02-04 01:52:39 +00:00
Kenichi Handa
f51994656d
Include coding.h and termhooks.h.
...
(composition_gstring_p): Fix for the terminal case.
(composition_gstring_width): Likewise.
(fill_gstring_body): Likewise.
(autocmp_chars): For terminal, call Fcomposition_get_gstring with
the frame.
(composition_compute_stop_pos): Adjust cmp_it->stop_pos if point
is within a composition.
(Fcomposition_get_gstring): Fix the the terminal case.
2009-02-04 01:48:37 +00:00
Kenichi Handa
d0984aff95
(encode_terminal_code): Fix handling of composition.
...
(produce_composite_glyph): For static composition, get pixel_width
from struct composition.
2009-02-04 01:35:16 +00:00
Kenichi Handa
ce65fe7a4e
(composite.o): Depends on frame.h and termhooks.h.
2009-02-04 01:31:37 +00:00
Andreas Schwab
826ba17e91
(unexec): Handle unaligned bss offset.
2009-02-02 16:06:58 +00:00
Adrian Robert
d0a76a6ece
formatting in ChangeLog, wording change to comment in nsterm.m
2009-02-02 12:33:07 +00:00
Adrian Robert
8ad093db01
* nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30
...
XT,w32read_socket changes to ns_read_socket.
* keyboard.c (handle_interrupt): Don't call
quit_throw_to_read_char() under NS.
* blockinput.h: Remove NS-specific code.
2009-02-01 16:32:26 +00:00
Dan Nicolaescu
db87892598
* dispnew.c (window_change_signal): Don't try to get the size of a
...
suspended tty frame.
* term.c (Fresume_tty): Resize if the size has changed while the
tty was suspended.
2009-01-30 23:45:27 +00:00
Dan Nicolaescu
4d18a7a28e
(mark_stack): Properly conditionalize previous change.
2009-01-30 23:43:20 +00:00
Juanma Barranquero
8984df7cbd
* w32inevt.c (w32_console_read_socket) [SYNC_INPUT]:
...
* w32term.c (w32_read_socket) [SYNC_INPUT]:
Remove; this code is not used on Windows.
2009-01-30 18:01:40 +00:00
Eli Zaretskii
75f4f1ac04
(detect_eol, decode_eol): Handle text with DOS-style EOLs that also has
...
stray ^M characters.
2009-01-30 15:46:03 +00:00
Juanma Barranquero
07a1e79441
* atimer.c (run_timers, alarm_signal_handler):
...
* keyboard.c (pending_signals, handle_async_input, init_keyboard):
* w32inevt.c (w32_console_read_socket):
* w32term.c (w32_read_socket):
* xterm.c (XTread_socket): Use "#ifdef SYNC_INPUT" where appropriate.
2009-01-30 13:06:07 +00:00
Chong Yidong
f92d51d84e
(Vtemp_file_name_pattern): Remove DEFVAR_LISP.
...
Initialize it as a relative filename pattern.
(init_callproc): Don't initialize Vtemp_file_name_pattern here.
(Fcall_process_region): Simplify temp file creation using
temporary-file-directory.
2009-01-30 05:17:33 +00:00
Chong Yidong
a8b11cc93b
* callproc.c (Vtemp_file_name_pattern): Remove DEFVAR_LISP.
...
Initialize it as a relative filename pattern.
(init_callproc): Don't initialize Vtemp_file_name_pattern here.
(Fcall_process_region): Simplify temp file creation using
temporary-file-directory.
2009-01-30 05:15:34 +00:00
Eli Zaretskii
c279587b96
Rename pending_signals to msdos_pending_signals.
...
(sig_suspender, sigprocmask): Adjust.
2009-01-29 19:23:24 +00:00
Chong Yidong
5037fb74bf
Fix last log entry: blockinput.h was not changed.
2009-01-29 14:38:34 +00:00
Chong Yidong
26f1ab2426
(QUIT): Check pending_signals instead of interrupt_input_pending. Use
...
process_pending_signals.
2009-01-29 14:35:25 +00:00
Chong Yidong
cf0d293c40
(w32_console_read_socket): Update pending_signals.
2009-01-29 14:35:14 +00:00
Chong Yidong
6324e138b3
(w32_read_socket): Update pending_signals.
2009-01-29 14:35:04 +00:00
Chong Yidong
6fc23b6ccd
(XTread_socket): Update pending_signals.
2009-01-29 14:34:52 +00:00
Chong Yidong
c3eff1b099
(wait_reading_process_output): Use process_pending_signals.
2009-01-29 14:34:38 +00:00
Chong Yidong
ceb1882706
(pending_signals): New var.
...
(poll_for_input, input_available_signal, init_keyboard): Set it.
(process_pending_signals): New function.
2009-01-29 14:34:16 +00:00
Chong Yidong
325530dec7
(run_timers, alarm_signal_handler): Update pending_signals.
2009-01-29 14:33:14 +00:00
Chong Yidong
55310b94eb
(emacs_write): Use process_pending_signals.
2009-01-29 14:32:49 +00:00
Chong Yidong
a8fe324231
* keyboard.c (pending_signals): New var.
...
(poll_for_input, input_available_signal, init_keyboard): Set it.
(process_pending_signals): New function.
* lisp.h (QUIT): Check pending_signals instead of
interrupt_input_pending. Use process_pending_signals.
* atimer.c (run_timers, alarm_signal_handler): Update
pending_signals.
* process.c (wait_reading_process_output): Use
process_pending_signals.
* sysdep.c (emacs_write): Use process_pending_signals.
* xterm.c (XTread_socket): Update pending_signals.
* w32term.c (w32_read_socket): Update pending_signals.
* w32inevt.c (w32_console_read_socket): Update pending_signals.
* blockinput.h: Add declaration for pending_signals.
2009-01-29 14:32:21 +00:00
Kenichi Handa
6570a1c427
(xftfont_has_char): New function.
...
(syms_of_xftfont): Register xftfont_has_char in xftfont_driver.
2009-01-29 12:13:59 +00:00
Adrian Robert
d72a4afa74
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
...
under GNUstep.
(ns_query_color): New declaration.
* nsterm.m (ns_confirm_quit): New variable.
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.
* image.c (svg_load_image): Don't right-shift background RGB when
obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color.
2009-01-29 10:38:16 +00:00
Adrian Robert
d7e008d06f
* image.c (svg_load_image): Don't right-shift background RGB when
...
obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color.
2009-01-29 10:36:49 +00:00
Adrian Robert
fc7a54a9b8
* nsterm.m (ns_confirm_quit): New variable.
...
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.
2009-01-29 10:36:22 +00:00
Adrian Robert
5e1dedc1ec
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
...
under GNUstep.
(ns_query_color): New declaration.
2009-01-29 10:35:55 +00:00
Adrian Robert
689a4b3303
add parens in a defined statement
2009-01-28 15:13:18 +00:00
Kenichi Handa
f088b05476
(font_for_char): Use assq_no_quit, not assoc_no_quit.
...
(fontset_get_font_group): Remember that no font-group is specified
for C.
2009-01-28 11:50:18 +00:00
Kenichi Handa
9fe788041c
(font_for_char): Use assq_no_quit, not assoc_no_quit.
2009-01-28 06:45:07 +00:00
Chong Yidong
0f75abdf76
(concat): Check for string overflow (bug#1787).
2009-01-27 21:16:32 +00:00
Chong Yidong
930600e981
* fns.c (concat): Check for string overflow (bug#1787).
2009-01-27 21:16:14 +00:00
Chong Yidong
2159bd0652
(undo_limit, undo_strong_limit, Vundo_outer_limit): Quadruple undo
...
limits (bug#1501).
2009-01-27 20:57:47 +00:00
Chong Yidong
fa57de3694
* undo.c (undo_limit, undo_strong_limit, Vundo_outer_limit):
...
Quadruple undo limits (bug#1501).
2009-01-27 20:57:07 +00:00
Kenichi Handa
7179ce7b35
(ftfont_has_char): If the arg FONT is a font-object,
...
directly use GT_Get_Char_index.
2009-01-27 05:10:08 +00:00