1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

27807 commits

Author SHA1 Message Date
Juanma Barranquero
b066e6b629 * nsfns.m (Fx_close_connection): Doc fix.
(Fns_do_applescript): Reflow docstring.
  (Fns_hide_others, Fns_hide_emacs, Fns_convert_utf8_nfd_to_nfc)
  (Fx_display_pixel_width, Fx_display_pixel_height)
  (Fns_display_usable_bounds, Fx_display_planes, Fx_show_tip):
  Fix typos in docstrings.
  (Fns_set_alpha): Fix typos in error messages.
2009-03-12 14:14:35 +00:00
Juanma Barranquero
d472514e10 Fix typos. 2009-03-12 08:36:55 +00:00
David Reitter
a9f586142a newFrame, openFile, fulfillService, changeFont, toggleToolbar, performDragOperation, runHelp: use the new NS_NONKEY_EVENT event type. 2009-03-12 01:57:50 +00:00
David Reitter
83d92ee0cf (parse_menu_item) [HAVE_NS]: treat new event like NON_ASCII_KEYSTROKE_EVENT, but set used_mouse_menu. 2009-03-12 01:56:58 +00:00
David Reitter
e76df1c0bd termhooks.h [HAVE_NS]: define NS_NONKEY_EVENT to be used for non-key system events on NS. Formerly, NON_ASCII_KEYSTROKE_EVENT were used for such events. 2009-03-12 01:55:52 +00:00
David Reitter
d6220c1359 * termhooks.h [HAVE_NS]: define NS_NONKEY_EVENT to be used for
non-key system events on NS.  Formerly, NON_ASCII_KEYSTROKE_EVENT
	were used for such events.

	* nsterm.m (newFrame, openFile, fulfillService, changeFont,
	toggleToolbar, performDragOperation, runHelp): use it.


	* keyboard.c (parse_menu_item) [HAVE_NS]: treat new event like
	NON_ASCII_KEYSTROKE_EVENT, but set used_mouse_menu.
2009-03-12 01:55:15 +00:00
Kenichi Handa
ff85581a0f (font_open_by_spec): Extern it. 2009-03-11 11:45:47 +00:00
Kenichi Handa
c50b7e98ea (font_open_by_spec): New function.
(font_open_by_name): Use font_open_by_spec.
2009-03-11 11:44:21 +00:00
Kenichi Handa
fb9306765f *** empty log message *** 2009-03-11 07:58:42 +00:00
Kenichi Handa
b17ae93a91 (x_set_font): When ARG is a font-object, don't alter the
fontset of the frame.
2009-03-11 07:53:37 +00:00
Kenichi Handa
d649054226 (Fset_fontset_font): When a font for ASCII is changed,
modify the default font of frames that use this fontset.
(num_auto_fontsets): New variable.
(fontset_from_font): Use num_auto_fontsets to decide a fontset
name.  Be sure to set FONTSET_ASCII to the correct font name.
(update_auto_fontset_alist): New function.
2009-03-11 07:51:33 +00:00
Juanma Barranquero
df4e8455b2 * makefile.w32-in: Update dependencies. 2009-03-11 01:02:05 +00:00
Adrian Robert
0a375797a2 * nsfns.m (syms_of_nsfns): Remove Qbuffered. 2009-03-10 07:20:16 +00:00
Stefan Monnier
61313fa38c (Fswitch_to_buffer): Revert part of 2008-10-21's change. 2009-03-10 03:35:27 +00:00
Chong Yidong
72097cd9ef (Feval_buffer): Doc fix. 2009-03-10 01:05:39 +00:00
Chong Yidong
b55103fb51 * lread.c (Feval_buffer): Doc fix. 2009-03-10 01:05:31 +00:00
Juanma Barranquero
18a10a2115 Fix typos in comment. 2009-03-09 08:36:54 +00:00
Kenichi Handa
dde2559c43 (Qfile_name_handler_alist): Extern it.
(load_charset_map_from_file): Temporarily bind
`file-name-handler-alist' to nil while calling openp.
2009-03-09 01:12:39 +00:00
Glenn Morris
47f588bbf8 Fix entry. 2009-03-07 03:47:46 +00:00
Adrian Robert
4c9bdfc254 * nsmenu.m: (EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep.; * nsterm.m: Include <signal.h> for SIGTERM used in ns_term_shutdown. 2009-03-06 19:07:30 +00:00
Adrian Robert
e863926a7b Include <signal.h> for SIGTERM used in ns_term_shutdown. 2009-03-06 19:07:00 +00:00
Adrian Robert
84ee8aba37 (EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep. 2009-03-06 19:06:45 +00:00
Adrian Robert
fe41ae9e00 * nsfns.m (ns_appkit_version_int): Fix typo in the version macro. 2009-03-06 15:36:16 +00:00
Adrian Robert
13cd8a29cb (ns_appkit_version_int): Fix typo in the version macro. 2009-03-06 15:34:51 +00:00
Adrian Robert
340e08a4ab (ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
use NSRectFill instead of NSDrawGroove.
2009-03-06 15:30:04 +00:00
Adrian Robert
4ddf94bd81 * nsterm.m (x_set_window_size): Change back to calculated method
of setting toolbar height under Cocoa.  (Bug#2546)
	(EmacsView-windowWillUseStandardFrame:defaultFrame:): New method.
	(EmacsView-drawRect:): Completely shortcircuit if ns_in_resize.
2009-03-06 14:53:02 +00:00
Kenichi Handa
f3b3be74de *** empty log message *** 2009-03-06 11:08:32 +00:00
Kenichi Handa
825d087587 Include "composite.h".
(enum compisition_state): New enum.
(struct compisition_status): New struct.
(struct iso_2022_spec): New member cmp_status.
(struct emacs_mule_spec): New struct.
(struct coding_system): New members ctext_extended_segment_len and
embedded_utf_8.  Change the union member
spec.emacs_mule_full_support to spec.emacs_mule.
2009-03-06 07:52:40 +00:00
Kenichi Handa
e951386e38 (CODING_ISO_CMP_STATUS): New macro.
(CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros.
(MAX_ANNOTATION_LENGTH): Defined to 5.
(ADD_COMPOSITION_DATA): New arg nbytes.
(emacs_mule_char): New arg cmp_status.
(DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it.
(DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c.
(DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c.
(DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c.
(DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise.
(DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise.
(DECODE_EMACS_MULE_COMPOSITION_START): New macro.
(EMACS_MULE_COMPOSITION_END): New macro.
(emacs_mule_finish_composition): New function.
(EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro.
(decode_coding_emacs_mule): Avoid long looking ahead while
handling composition.
(DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes.
(ENCODE_COMPOSITION_RULE): New macro.
(finish_composition): New function.
(MAYBE_FINISH_COMPOSITION): Call finish_composition.
(DECODE_COMPOSITION_START): New implementation.
(DECODE_COMPOSITION_END): Likewise.
(STORE_COMPOSITION_RULE): New macro.
(decode_coding_iso_2022): Avoid long looking ahead while handling
composition, CTEXT extended segment, and embedded UTF-8.
(setup_coding_system): For a coding of type iso-2022, reset
CODING_ISO_EXTSEGMENT_LEN (coding) and
CODING_ISO_EMBEDDED_UTF_8 (coding).
(get_translation): Delete arguments last_block, from_nchars,
to_nchars.  Callers changed.
(produce_chars): Don't modify charbuf.  Adjusted for the change of
get_translation.
(produce_composition): Adjusted for the new annotation sequence.
(handle_composition_annotation): Likewise.
(consume_chars): Adjusted for the change of get_translation.
2009-03-06 07:51:52 +00:00
Adrian Robert
ccbc445286 * nsterm.m (ns_select): Shortcircuit if reentrant call. 2009-03-05 16:34:59 +00:00
Kenichi Handa
69a8e4848d (fontset_find_font): Fix previous change. 2009-03-05 12:40:18 +00:00
Kenichi Handa
988a7ddb0c (font_select_entity): New function.
(font_find_for_lface): Use font_select_entity to select a font.
2009-03-05 12:27:04 +00:00
Kenichi Handa
162f54589e (fontset_find_font): If a font found without
restricting the characters C doen't support C, try to find a font
with C restriction.
2009-03-05 12:21:41 +00:00
Glenn Morris
be1bce468f Change from author without assignment is thankfully tiny. 2009-03-05 03:48:25 +00:00
Adrian Robert
2f462d73e7 * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value. 2009-03-04 21:21:25 +00:00
Juanma Barranquero
4891ba1dcf Add bug references. 2009-03-04 14:35:11 +00:00
Jason Rumney
2c93b24881 (w32_wnd_proc): Only ignore IME messages for the
characters that have already been read.
2009-03-04 13:41:03 +00:00
Jason Rumney
10ea2b82aa (xbm_read_bitmap_data, png_load, svg_load_image):
Log an error message if check_image_size failed.
(xpm_load_image, pbm_load, jpeg_load, tiff_load, gif_load)
(gs_load): Mention max-image-size in size error message.
2009-03-04 13:02:54 +00:00
Miles Bader
75aaefe8c1 Add arch tagline 2009-03-04 06:02:06 +00:00
Juanma Barranquero
9b2c84d645 Add .gitignore rules for in-place builds. 2009-03-03 15:47:54 +00:00
Eli Zaretskii
71a0c011da (Fcall_process): Bind inhibit-modification-hooks to t when decoding
process output.
2009-03-02 21:04:42 +00:00
Juanma Barranquero
a8ce3d17d8 Fix typos. 2009-03-02 08:55:47 +00:00
Richard M. Stallman
2f63bba8e1 (DATA_SEG_BITS, XUINT, XSET): Definitions disabled. 2009-03-01 12:42:45 +00:00
Richard M. Stallman
4f7cb96d12 (gdb_data_seg_bits) [USE_LSB_TAG]: Make it 0. 2009-03-01 12:40:39 +00:00
Eli Zaretskii
0a9564cb01 (decode_coding_utf_8, decode_coding_utf_16, decode_coding_emacs_mule,
decode_coding_iso_2022, encode_coding_iso_2022, decode_coding_sjis,
decode_coding_big5, decode_coding_raw_text, decode_coding_charset,
setup_coding_system, decode_eol, decode_coding, consume_chars): Honor
inhibit-eol-conversion.  (Bug #2186)
2009-02-28 15:53:11 +00:00
Eli Zaretskii
2a1573ff0d *** empty log message *** 2009-02-28 14:31:20 +00:00
Jason Rumney
237aabf40e (detect_coding_charset): Fix last change for non-latin charsets. 2009-02-28 13:52:03 +00:00
Jason Rumney
449148b381 *** empty log message *** 2009-02-28 13:43:23 +00:00
Jason Rumney
9f0526cb4b (detect_coding_charset): If not checking latin extra,
fail on characters between 0x80 and 0xA0.  (Bug#2354)
2009-02-28 13:37:33 +00:00
Eli Zaretskii
a4aee864ad (detect_coding_charset): Fix change from 2008-10-21.
Also, check iso-latin-*, not only iso-8859-*.
2009-02-28 12:05:36 +00:00