1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

27736 commits

Author SHA1 Message Date
Andreas Schwab
1b3b981ba9 * coding.h (struct coding_system): Make safe_charsets a pointer to
unsigned char.
* coding.c (CODING_ISO_REQUEST): Check for safe_charsets content
being 255.
(SAFE_CHARSET_P): Likewise.
(setup_iso_safe_charsets): Properly setup safe_charsets.
(Fdefine_coding_system_internal): Likewise.
(setup_coding_system): Likewise.  Remove unneeded casts.
(detect_coding_iso_2022): Compare Viso_2022_charset_list with
CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS.  Remove
unneeded casts.
2009-02-22 15:48:02 +00:00
Andreas Schwab
b3b58c0190 (del_range_2): Don't modify gap contents when called
from decode_coding_object.  (Bug#1809)
2009-02-22 14:29:25 +00:00
Chong Yidong
a35ebb8100 Define Qfont_spec, Qfont_entity, Qfont_object extern. 2009-02-21 13:39:46 +00:00
Chong Yidong
0e3bf4a3e6 (Qfont_spec, Qfont_entity, Qfont_object): Definitions
moved to data.c.
2009-02-21 13:39:20 +00:00
Chong Yidong
4e6f26262e (syms_of_data): Define Qfont_spec, Qfont_entity, and
Qfont_object.
(Ftype_of): Recognize font objects.
2009-02-21 13:38:59 +00:00
Chong Yidong
0b6f228ca9 * data.c (syms_of_data): Define Qfont_spec, Qfont_entity, and
Qfont_object.
(Ftype_of): Recognize font objects.

* lisp.h: Define Qfont_spec, Qfont_entity, Qfont_object extern.

* font.c (Qfont_spec, Qfont_entity, Qfont_object): Definitions
moved to data.c.
2009-02-21 13:38:16 +00:00
Juanma Barranquero
867d4bb371 Remove duplicate words. 2009-02-20 12:36:50 +00:00
Adrian Robert
52f8870bd7 * nsterm.m (x_make_frame_invisible): Unset async_visible,
async_iconified.  Based on a patch by Christian Lynbech
	<christian.lynbech@tieto.com>.
	(EmacsView-windowDidMiniaturize:): Unset async_visible.
2009-02-20 11:39:30 +00:00
Glenn Morris
7087d5e9af (Fskip_chars_forward): Fix doc typo. 2009-02-20 06:09:38 +00:00
Chong Yidong
293acc4acd (Fkeymap_parent): Doc fix (Bug#2391). 2009-02-20 01:52:22 +00:00
Chong Yidong
41d2ceef97 * keymap.c (Fkeymap_parent): Doc fix (Bug#2391). 2009-02-20 01:51:38 +00:00
Kenichi Handa
f289d37532 (detect_coding): Don't overflow coding->carryover. 2009-02-19 04:24:54 +00:00
Chong Yidong
6332668dc7 (Fx_create_frame): Give Xft driver a higher priority. 2009-02-19 03:18:17 +00:00
Chong Yidong
1a3b7ca63e * xfns.c (Fx_create_frame): Give Xft driver a higher priority. 2009-02-19 03:17:59 +00:00
Kenichi Handa
73cce38dbc (detect_coding): Preserve coding->mode. 2009-02-19 02:43:38 +00:00
Dan Nicolaescu
a51092ee07 (ADDR_CORRECT): Restore, removed by mistake on 2008-07-23. 2009-02-18 08:31:09 +00:00
Kenichi Handa
81903466f1 (struct font_driver): Fix typo. 2009-02-18 03:57:36 +00:00
Kenichi Handa
22f799662b (Ffont_spec): Fix typo. 2009-02-18 03:57:19 +00:00
Kenichi Handa
e38b9ee91e *** empty log message *** 2009-02-18 02:44:27 +00:00
Kenichi Handa
c423eccad4 (font_check_otf_features): Fix handling of `nil' element.
(Ffont_spec): Describe :lang and :otf in the docstring.
2009-02-18 02:33:26 +00:00
Andreas Schwab
4c1958f4a9 (Fcheck_coding_systems_region): Fix test for unibyte
string.
2009-02-16 13:04:15 +00:00
Juanma Barranquero
a057d86ade Add bug reference. 2009-02-16 12:34:05 +00:00
Kenichi Handa
5704f39a80 (Fcheck_coding_systems_region): Fix typo; Qt -> Qnil. 2009-02-16 11:53:52 +00:00
Chong Yidong
e966384d20 (struct iterator_stack_entry): New line_wrap member. 2009-02-14 17:28:27 +00:00
Chong Yidong
5ce463b362 (push_it, pop_it): Save and restore line_wrap.
(handle_line_prefix): Suppress wrapping of wrap prefixes.
2009-02-14 17:28:08 +00:00
Chong Yidong
8f0085aaed * dispextern.h (struct iterator_stack_entry): New line_wrap
member.

* xdisp.c (push_it, pop_it): Save and restore line_wrap.
(handle_line_prefix): Suppress wrapping of wrap prefixes.
2009-02-14 17:27:16 +00:00
Eli Zaretskii
aff01dd96f (MAX_SCREEN_BUF): New macro.
(IT_write_glyphs): Make screen_buf[] always be MAX_SCREEN_BUF-long.
Encode the entire run of glyphs sharing the same face, instead of
doing that one glyph at a time (fixes a bug with displaying
double-size characters).
2009-02-14 10:50:29 +00:00
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