Adrian Robert
ba301db329
* nsfns.m (ns-read-file-name): BLOCK_INPUT while showing dialog. \n \n* nsmenu.m (pop_down_menu): Check popup_activated_flag. \n(ns_popup_dialog, EmacsDialogPanel-runDialogAt:): Let \npop_down_menu do the cleanup work as it is always called. (Bug#2154) \n \n* nsfont.m (nsfont_make_fontset_for_font): For now, don't try to \nset fontset font for 'mathematical-' sub-scripts. (Bug #2218 )\n
2009-02-13 13:30:35 +00:00
Juanma Barranquero
1dacf9981c
Fix typos.
2009-02-13 08:50:57 +00:00
Stefan Monnier
51d861def8
(adjust_point_for_property): Allow stopping betwen two invisible areas.
2009-02-12 18:20:52 +00:00
Jason Rumney
631ea4fbf8
(check_face_name): Check for fake helv. (Bug#2275)
...
(add_font_entity_to_list): Call check_face_name even when family
is unspecified.
2009-02-12 15:00:26 +00:00
Jason Rumney
cb4a3e4288
(x_display_pixel_height, x_display_pixel_width):
...
Release DC when finished. Use NULL window to refer to desktop.
(w32_term_init): Use NULL window to refer to desktop. (Bug#460)
2009-02-12 14:39:17 +00:00
Jason Rumney
7fed8996b4
*** empty log message ***
2009-02-12 14:06:24 +00:00
Jason Rumney
c73abf54bc
(add_font_entity_to_list): Fix check for substituted
...
raster fonts. (Bug#2219)
2009-02-12 13:58:29 +00:00
Kenichi Handa
895416e356
(MAX_AUTO_COMPOSITION_LOOKBACK): New macro.
...
(composition_gstring_width): Fix handling of LGLYPH_YOFF.
(autocmp_chars): Use fast_looking_at. Don't compose more
characters than MAX_COMPOSITION_COMPONENST.
(find_automatic_composition): While looking forward and backward,
check static composition. Fix where to stop looking forward.
(composition_adjust_point): Fix checking of static composition.
(Fcomposition_get_gstring): Pay attention to
MAX_COMPOSITION_COMPONENST.
2009-02-12 06:06:29 +00:00
Kenichi Handa
8b13507ac4
(fast_looking_at): New function.
2009-02-12 06:01:23 +00:00
Kenichi Handa
44a5ae4d48
(fast_looking_at): Extern it.
2009-02-12 05:55:50 +00:00
Kenichi Handa
285e85c6da
(encode_terminal_code): Adjusted for the change of
...
<struct glyph>.u.cmp.to.
(append_composite_glyph): Likewise.
2009-02-12 05:55:02 +00:00
Kenichi Handa
648ab841cc
(fill_gstring_glyph_string): Adjusted for the change of
...
<struct glyph>.u.cmp.to. Check if the glyph belongs to the same
composition.
(append_composite_glyph): Adjusted for the change of
<strcut glyph>.u.cmp.to.
2009-02-12 05:54:20 +00:00
Juanma Barranquero
8510724d46
Remove spurious semicolons.
2009-02-11 09:45:12 +00:00
Juanma Barranquero
adab88bd5a
Fix typos and add bug references.
2009-02-11 08:44:18 +00:00
Stefan Monnier
294fa707e0
(Fwrite_region): !NILP -> CONSP.
2009-02-11 03:52:56 +00:00
Andreas Schwab
b5bfebec13
(send_process): Properly relocate pointer into data
...
when using encoded data.
2009-02-10 22:32:39 +00:00
Kenichi Handa
cb84a2bed1
(detect_coding_charset): Fix previous change.
2009-02-09 00:45:17 +00:00
Jason Rumney
89e094286d
(w32_hide_hourglass): Handle case where frame
...
disappeared while hourglass was displayed. (Bug #2193 )
2009-02-08 15:35:36 +00:00
Andreas Schwab
4470a277fe
(unexec): Fix error message.
2009-02-07 13:07:38 +00:00
Adrian Robert
3175b12ae7
* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
...
when modal window is active. (Bug #2152 )
(applicationShouldTerminate:): Remove now-unneeded while loop
around NSRunAlertPanel.
* nsmenu.m (popupSession): New file-global variable.
(pop_down_menu): End the popupSession before closing dialog.
(ns_popup_dialog): BLOCK_INPUT around dialog presentation.
(EmacsDialogPanel-runDialogAt:): Don't place window (superfluous),
don't query NSApp for events (just sleep instead).
2009-02-07 11:04:22 +00:00
Eli Zaretskii
8434d0b8c0
(syms_of_coding) <translation-table-for-input>: Modify doc string to
...
discourage use for character code unification.
2009-02-07 10:52:13 +00:00
Chong Yidong
6bbbda8755
(run_timers): Update pending_atimers.
2009-02-07 04:15:19 +00:00
Chong Yidong
aa82edfdc2
* atimer.c (run_timers): Update pending_atimers.
2009-02-07 04:14:56 +00:00
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