1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

28143 commits

Author SHA1 Message Date
Adrian Robert
b9173dc296 * nsfont.m (ns_descriptor_to_entity): Handle case when descriptor has no family set. (nsfont_open): Handle case when entity has no family. 2009-08-02 15:37:07 +00:00
Adrian Robert
1586503c80 * nsfont.m (ns_findfonts): Fix 2009-07-24 change to return only one element, not a list, for match case. 2009-07-29 16:03:12 +00:00
Kenichi Handa
087048cd5d (font_parse_xlfd): Check DPI and AVGWIDTH properties more rigidly. 2009-07-28 02:09:52 +00:00
Kenichi Handa
4fa58085e3 (xfont_list_pattern): Don't ignore the return value of
font_parse_xlfd.  Check font properties more rigidly.
2009-07-28 02:07:05 +00:00
Dan Nicolaescu
780c250664 (SIGNALS_VIA_CHARACTERS): Remove, already defined in bsd-common.h 2009-07-27 17:52:17 +00:00
Kenichi Handa
a8c0cc186d (face_with_height): Call font_clear_prop. 2009-07-27 04:19:57 +00:00
Bastien Guerry
051e86dc55 Better docstring for `called-interactively-p'. 2009-07-27 02:02:49 +00:00
Chong Yidong
111d9af32f * dispnew.c (init_display): Use Qx, Qw32, and Qns.
* xterm.c (x_term_init): Use Qx.
2009-07-26 23:09:44 +00:00
Bastien Guerry
3bfabe2531 Slightly fix the docstring of `select-frame'. 2009-07-26 19:16:16 +00:00
Chong Yidong
4fbe2306e0 * nsfont.m (nsfont_draw): Revert 2009-07-15 change.
* nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15
change.
(ns_get_color): Revert 2009-07-16 change.
2009-07-26 12:58:56 +00:00
Eli Zaretskii
beb0b7f93c (syms_of_lread) <force_load_messages>: New variable.
(Fload): Use it to force load messages, even if NOMESSAGES is non-nil.
2009-07-25 08:50:51 +00:00
Ken Raeburn
8890e5f53c * coding.h (decode_coding_string, encode_coding_string): Use
SCHARS macro.
2009-07-25 07:43:08 +00:00
Ken Raeburn
2baf5e7610 * lread.c: Rewrite 2009-07-21 changes.
(load_depth): Deleted.
(Qload_in_progress): New variable.
(load_unwind): Don't reference load_depth or load_in_progress.
(Fload): Likewise; specbind Qload_in_progress instead.
(init_lread): Don't initialize load_depth.
(syms_of_lread): Initialize and protect Qload_in_progress.
2009-07-25 07:36:17 +00:00
Adrian Robert
1395c6f54c * nsfont.m (ns_findfonts): Correctly return fallback in match case. 2009-07-24 15:43:22 +00:00
Adrian Robert
4e2f36cfed * nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep. 2009-07-23 14:41:05 +00:00
Adrian Robert
7f6ad20968 * nsterm.m (ns_lookup_indexed_color): Check for bad index. (ns_index_color): Init unused slot to 0. (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). Bug 3714, possibly 3082. 2009-07-23 13:21:44 +00:00
Adrian Robert
5dd9a6f799 * nsterm.m (EmacsView-keyUp:): Only act when running under Tiger. 2009-07-23 11:52:45 +00:00
Jason Rumney
c902b9205b * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]: Position
IME window at cursor (Bug#2570).
(w32_wnd_proc) [WM_IME_CHAR]: Release context when finished.
(globals_of_w32fns): Dynamically load functions required above.

* w32term.c (w32_draw_window_cursor): Send message to reposition
any IME window.
2009-07-22 16:03:39 +00:00
Chong Yidong
090101cf91 * fileio.c: Revert 2009-07-16 changes.
(Vauto_save_include_big_deletions): New variable.
(Fdo_auto_save): Disable auto-save only if auto-save-include-big-deletions is nil.
2009-07-21 23:34:02 +00:00
Chong Yidong
e6583e3d76 * xdisp.c (move_it_to): For continued lines ending in a tab, take
the overflowed pixels into account (Bug#3879).
2009-07-21 20:12:09 +00:00
Ken Raeburn
ece435a536 (load_depth): New variable.
(Fload, load_unwind, init_lread): Set it to the load recursion
	depth; set load_in_progress as a simple boolean based on the
	current load_depth.  (Bug#3892)
2009-07-21 09:26:43 +00:00
Adrian Robert
40b2d973c8 * nsfont.m (ns_has_attribute): Remove.
(ns_findfonts, nsfont_open): Use ns_attribute_fvalue() instead.
2009-07-20 18:16:02 +00:00
Adrian Robert
e4e9c24b32 * nsfont.m (ns_attribute_value): Remove.
(ns_attribute_fvalue): Incorporate code from ns_attribute_value.
    (ns_has_attribute): Shrink the normal range.
    (ns_findfonts): Don't worry about requested spec in determining
      need for synthItal.
    (ns_get_covering_families): Retain scriptToFamilies.
2009-07-20 18:14:05 +00:00
Juri Linkov
10be7e0dd9 (Fset_process_query_on_exit_flag): Mention killing
a buffer in docstring.
2009-07-18 21:07:12 +00:00
Chong Yidong
806f1b46a3 Fix last change. 2009-07-17 01:32:50 +00:00
Kenichi Handa
fa0550553b (shuffle): Fix the logic of setting up the cycle. 2009-07-17 01:28:58 +00:00
YAMAMOTO Mitsuharu
042f7b692f (ns_get_color): Remove incompatible color formats.
(ns_color_to_lisp): Generate #rrggbb color format string.
2009-07-16 08:24:33 +00:00
YAMAMOTO Mitsuharu
68d0f8a54c (Fns_set_alpha): Remove function.
(syms_of_nsfns): Don't defsubr it.
2009-07-16 08:23:54 +00:00
Richard M. Stallman
4be941e3d0 * fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
(Fset_buffer_auto_saved): Handle save_length = -2.

Comment changes in other files.
2009-07-16 01:45:08 +00:00
Chong Yidong
4e6b227dbe * xterm.c (Qx_gtk_map_stock): New var.
* gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead of
calling intern each time.
2009-07-16 01:24:00 +00:00
YAMAMOTO Mitsuharu
a185697365 (ns_maybe_dumpglyphs_background): Remove code for stippling, which actually
does tiling.
2009-07-15 08:25:02 +00:00
YAMAMOTO Mitsuharu
652e5d209a (nsfont_draw): Remove code for stippling, which actually
does tiling.
2009-07-15 08:24:38 +00:00
Kenichi Handa
72d36834fc (font_vconcat_entity_vectors): New function.
(struct font_sort_data): New member font_driver_preference.
(font_compare): Check font_driver_preference.
(font_sort_entities): The format of the first argument changed.
(font_delete_unmatched): Likewise.
(font_list_entities): The return type changed.
(font_select_entity): The format of the second argument changed.
(font_find_for_lface): Adjusted for the above changes.  Don't
suppress the checking of C even if the repertory supports it.
(Flist_fonts): Adjusted for the above changes.
2009-07-14 12:03:31 +00:00
Kenichi Handa
497e54d8da (ftfont_spec_pattern): New arg langname. Caller
changed.
(ftfont_list): Adjusted for the change of ftfont_spec_pattern.
Reject a font who has adstyle property that is different from a
langname derived from registry property.
(ftfont_match): Adjusted for the change of ftfont_spec_pattern.
2009-07-14 11:55:19 +00:00
Eli Zaretskii
b604615531 (directory_files_internal) [WINDOWSNT]: Don't make a local copy
of dirfilename.
2009-07-13 20:23:46 +00:00
Kenichi Handa
e2402a5e4a *** empty log message *** 2009-07-13 06:31:04 +00:00
Kenichi Handa
05756f213f (sub_char_table_ref_and_range): Fix the range check against max_char. 2009-07-13 04:02:26 +00:00
Kenichi Handa
fb6b6049d8 (internal_self_insert): Check sym by SYMBOLP before
calling XSYMBOL (sym).
2009-07-13 01:03:28 +00:00
Eli Zaretskii
19ced600ba (stat): Fix last change. 2009-07-11 20:31:27 +00:00
Eli Zaretskii
6515680713 (directory_files_internal_w32_unwind) [WINDOWSNT]: New function.
(directory_files_internal) [WINDOWSNT]: Bind
w32-get-true-file-attributes to either t or nil, depending whether the
filesystem of the directory is fast or slow.
2009-07-11 15:45:45 +00:00
Eli Zaretskii
be4c6380de (logon_network_drive): Don't assume PATH is an absolute file name.
(is_slow_fs): New function.
(stat): Use it to determine whether to issue more system calls to get
accurate file attributes, when w32-get-true-file-attributes is `local'.
2009-07-11 15:44:36 +00:00
Jan Djärv
e0ab5fcf04 xfns.c (Fx_select_font): Remember last font selected in
x_last_font_name and use that the next time. Also try the frame
parameter font-parameter as default to the font dialog.
2009-07-10 17:07:36 +00:00
Kenichi Handa
ea12eb8178 (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. 2009-07-10 11:30:37 +00:00
Kenichi Handa
784ceded64 *** empty log message *** 2009-07-10 11:30:18 +00:00
Eli Zaretskii
017dab84e7 (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. 2009-07-09 18:57:01 +00:00
Eli Zaretskii
fb8edc0bbd (stat): Treat UNC file names as residing on remote drives. (Bug#3542) 2009-07-09 18:44:52 +00:00
Kenichi Handa
635c75b1af (fontset_find_font): Fix previous change. 2009-07-09 01:06:18 +00:00
Michael Albinus
c1d5ce9488 * dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message)
(Fdbus_register_signal, Fdbus_register_method): Cleanup memory of
error flag.
2009-07-08 12:59:47 +00:00
Kenichi Handa
374bf7e434 (fontset_find_font): Fix the logic of handling
charset_matched.
(font_for_char): Delete unused var.
(generate_ascii_font_name): Delete it.
2009-07-08 03:49:31 +00:00
Kenichi Handa
edb61b39fd (JIS_TO_SJIS2): Fix the code range check. 2009-07-08 02:23:19 +00:00