1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00
Commit graph

27612 commits

Author SHA1 Message Date
Adrian Robert
3fe53a835d Remove '23' comments that indicated code added during update from emacs-20 -> emacs-23. 2009-01-22 13:55:44 +00:00
Adrian Robert
575fb8bdb4 * nsfns.m (ns-read-file-name): Fix typo in assignment statement. 2009-01-22 13:31:54 +00:00
Adrian Robert
c7cef62d4d * nsmenu.m (EmacsMenu-parseKeyEquiv:, addItemWithWidgetValue:): Display all shortcuts, including those w/o super modifier. 2009-01-22 12:23:47 +00:00
Adrian Robert
10f87c6f1d fix date in last commit 2009-01-22 11:41:24 +00:00
Adrian Robert
a3b53a857d * nsterm.m (EmavsView-keyDown:): Treat nil as Qnone for ns_alternate_modifier. (Bug#1217) 2009-01-22 11:39:10 +00:00
Chong Yidong
67fbc0cb3a (Vwrite_region_post_annotation_function)
(Vwrite_region_annotation_buffers): New vars.
(build_annotations_unwind): Just reset
Vwrite_region_annotation_buffers.
(Fwrite_region): Initialize Vwrite_region_annotation_buffers.
Call write-region-post-annotation-function.
(build_annotations): Add to Vwrite_region_annotation_buffers if
buffer changes.
2009-01-22 04:42:51 +00:00
Chong Yidong
918b848ba1 * fileio.c (Vwrite_region_post_annotation_function)
(Vwrite_region_annotation_buffers): New vars.
(build_annotations_unwind): Just reset
Vwrite_region_annotation_buffers.
(Fwrite_region): Initialize Vwrite_region_annotation_buffers.
Call write-region-post-annotation-function.
(build_annotations): Add to Vwrite_region_annotation_buffers if
buffer changes.
2009-01-22 04:42:41 +00:00
Adrian Robert
a39e2539a3 * nsterm.h (EmacsApp-setAppleMenu:): Conditionalize more correctly on Tiger. * nsfns.m (ns_do_applescript): Conditionalize typeUTF16ExternalRepresentation on Tiger. 2009-01-22 00:00:13 +00:00
Adrian Robert
d3810c2118 * nsimage.m (EmacsImage-setPixelAtX:Y:toRed:green:blue:alpha:): Fix color values in onTiger section. * nsterm.m (ns_defined_color): Fix settings of the XColor variable fields: red,green,blue scale to 2-byte, pixel's components to 1-byte. (Bug#1663) 2009-01-21 22:28:45 +00:00
Adrian Robert
e336ab4926 fix typo in comment 2009-01-21 22:26:32 +00:00
Adrian Robert
35ed44db5a * nsterm.m (EV_TRAILER): Always use emacsframe for frame_or_window. (ns_font_to_xlfd, ns_fontname_to_xlfd): Remove, unused. 2009-01-21 18:56:41 +00:00
Adrian Robert
6049d3a0bb * nsterm.h (EmacsPrefsController): Add -setPanelFromDefaultValues. * nsterm.m (EmacsPrefsController-setPanelFromDefaultValues) New function. (EmacsPrefsController-resetToDefaults:): Use it. 2009-01-21 18:13:26 +00:00
Adrian Robert
e889fa0685 (EmacsPrefsController-setDefaultFont:,-setColors:): Raise the frame. 2009-01-21 17:56:37 +00:00
Adrian Robert
4c7077c3f0 * nsimage.m (EmacsImage+allocInitFromFile:): Set to ignore DPI. (Bug#1316) 2009-01-21 17:28:05 +00:00
Adrian Robert
a9b4df6950 * nsterm.m: (x_set_frame_alpha): Add prototype. (ns_fake_keydown, EmacsView-keyUp:): New variable and function to handle Ctrl-tab. (ns_get_color): Use unsigned long long for scanned hex string value. (ns_term_shutdown): Abort on non SIGTERM signals. 2009-01-21 17:09:28 +00:00
Adrian Robert
cbe0b5bfa9 * nsmenu.m (NSMENUPROFILE): Change #if style. 2009-01-21 16:34:24 +00:00
Chong Yidong
05802645c6 (font_spec_from_name): Return Qnil if font name could not be parsed.
(font_parse_name): Treat a `?' character as part of an XLFD.
2009-01-19 16:42:44 +00:00
Chong Yidong
21bdb81a75 (Finternal_set_lisp_face_attribute, Fx_list_fonts): Check return value of font_spec_from_name.
(Fx_list_fonts): Doc fix.
2009-01-19 16:41:16 +00:00
Chong Yidong
7f82490bfe * xfaces.c (Finternal_set_lisp_face_attribute, Fx_list_fonts):
Check return value of font_spec_from_name.
(Fx_list_fonts): Doc fix.

* font.c (font_spec_from_name): Return Qnil if font name could not
be parsed.
(font_parse_name): Treat a `?' character as part of an XLFD.
2009-01-19 16:40:30 +00:00
Chong Yidong
753169bd17 (Fsubstring): Doc fix. 2009-01-19 15:13:31 +00:00
Chong Yidong
e301e634f2 * fns.c (Fsubstring): Doc fix. 2009-01-19 15:05:32 +00:00
Kenichi Handa
1c0db158ed (ftfont_lookup_cache): Check the return value of FcFontList.
(ftfont_list): Likewise.
2009-01-19 12:08:31 +00:00
Juanma Barranquero
fff4e45990 * dbusbind.c (Fdbus_register_signal):
* process.c (conv_sockaddr_to_lisp):
* w32fns.c (Fw32_battery_status): Use empty_unibyte_string.
2009-01-18 03:58:09 +00:00
Juanma Barranquero
acf2090118 * callproc.c (Fgetenv_internal): Doc fix. 2009-01-18 03:28:35 +00:00
Chong Yidong
c8bcd18afb (x_make_gc): Don't allocate stipple member for gc_values; it is not
even used.
2009-01-16 15:10:28 +00:00
Chong Yidong
e7abcdfba9 * xfns.c (x_make_gc): Don't allocate stipple member for gc_values; it
is not even used.
2009-01-16 15:09:39 +00:00
Glenn Morris
b60861e61f (Ffont_variation_glyphs): Silence compiler. 2009-01-16 03:26:29 +00:00
Juanma Barranquero
8db52afe7b * sound.c (SOUND_WARNING): Use _snprintf, for MSVC compatibility.
Reported by David Robinow <drobinow@gmail.com>.
2009-01-15 18:04:34 +00:00
Kenichi Handa
4cddb209b4 (detect_coding_system): Fix handling of null_byte_fount. 2009-01-15 07:13:39 +00:00
Jason Rumney
f247f67bc0 *** empty log message *** 2009-01-14 13:18:58 +00:00
Kenichi Handa
220eeac9e4 Fix previous changes. 2009-01-14 12:51:06 +00:00
Kenichi Handa
f56a445091 (TWO_MORE_BYTES): New macro.
(detect_coding_utf_16): Use TWO_MORE_BYTES instead of
ONE_MORE_BYTE.
2009-01-14 12:19:44 +00:00
Jason Rumney
97d42150b4 (x_set_font): Always store a font to the font parameter,
never a fontset. (Bug#1562)
2009-01-14 12:08:49 +00:00
Chong Yidong
156302e85f (Finternal_set_lisp_face_attribute): Revert last change. 2009-01-13 20:03:08 +00:00
Chong Yidong
962e8aa92a (font_clear_prop): If clearing the family, clear the font width index
too.
2009-01-13 20:02:59 +00:00
Chong Yidong
4e99855e0f * font.c (font_clear_prop): If clearing the family, clear the font
width index too.

* xfaces.c (Finternal_set_lisp_face_attribute): Revert last
change.
2009-01-13 20:02:34 +00:00
Juanma Barranquero
24f0147080 * sound.c [WINDOWSNT] (SOUND_WARNING): New macro.
(do_play_sound): Use it.  Don't pass a hardcoded buffer size to mci
  functions, use sizeof.
2009-01-12 16:18:31 +00:00
Martin Rudalics
a41240a3ab (read_char): Fix case where last_nonmenu_event
returned a bad value with submenus.  (Bug#447)
2009-01-12 09:21:15 +00:00
Chong Yidong
5e5e80fb43 (Finternal_set_lisp_face_attribute): If setting the family, clear the
font width index too.
2009-01-12 02:32:08 +00:00
Chong Yidong
944636b8cf * xfaces.c (Finternal_set_lisp_face_attribute): If setting the
family, clear the font width index too.
2009-01-12 02:31:52 +00:00
Jason Rumney
0dad7c6f11 (cmd_error_internal): Exit when errors occur before
frame creation and not in daemon mode.  (Bug#1836)
2009-01-11 13:26:39 +00:00
Glenn Morris
aa129567fc Comment (fix header format). 2009-01-10 23:46:13 +00:00
Glenn Morris
d36c097a86 Comment (add Author:, based on authors.el). 2009-01-10 23:45:36 +00:00
Glenn Morris
0a9dd3a754 Comment (add Author:, based on ack.texi). 2009-01-10 23:42:02 +00:00
Glenn Morris
8deda4af97 Comment (fix header format). 2009-01-10 23:04:53 +00:00
Glenn Morris
8f3a3ac21e Fix typo. 2009-01-10 22:57:52 +00:00
Glenn Morris
9032435905 Comment (add Author:, based on authors.el). 2009-01-10 22:53:08 +00:00
Glenn Morris
d089407f04 Comment (add author based on authors.el). 2009-01-10 22:22:38 +00:00
Chong Yidong
f4f5d85948 (pos_visible_p): When iterator stops on the last glyph
of a display vector, backtrack.
(try_window_reusing_current_matrix): Check glyph type before
referencing charpos member.
2009-01-10 18:41:07 +00:00
Chong Yidong
7c2363af44 * xdisp.c (pos_visible_p): When iterator stops on the last glyph
of a display vector, backtrack.
(try_window_reusing_current_matrix): Check glyph type before
referencing charpos member.
2009-01-10 18:40:52 +00:00