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
Kenichi Handa
f07190ca1f
(detect_coding_sjis): Handle shift_jis-2004 correctly.
...
(encode_coding_sjis): Fix the code range check.
2009-07-08 02:22:05 +00:00
Chong Yidong
0f3f018c34
* fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
...
(Fexpand_file_name): Copy string data properly (Bug#3772).
2009-07-07 22:52:58 +00:00
Jan Djärv
fcaf6f3a78
xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
...
first MapNotify.
2009-07-07 08:38:44 +00:00
Kenichi Handa
6809ca7535
(Fset_charset_priority): Update charset_unibyte.
...
(syms_of_charset): Initialize charset_unibyte.
2009-07-07 06:27:23 +00:00
Kenichi Handa
f78d01e09e
(unibyte_has_multibyte_table): Delete extern.
...
(UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it.
2009-07-07 06:26:36 +00:00
Kenichi Handa
2e5db15c9d
(unibyte_has_multibyte_table): Delete it.
...
(multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking
charset_unibyte.
(multibyte_char_to_unibyte_safe): Likewise.
(Funibyte_char_to_multibyte): Don't check charset_unibyte.
2009-07-07 06:26:18 +00:00
Kenichi Handa
af800dc075
(xcharset): Fix the treating $arg0.
2009-07-07 06:25:45 +00:00
Kenichi Handa
d35e5c1ee0
(get_next_display_element): Decode it->c by charset_unibyte.
...
(x_produce_glyphs): Likewise.
2009-07-07 06:25:20 +00:00
Eli Zaretskii
ad9e2d54dd
Emulation of `getloadavg' on MS-Windows:
...
Include float.h
(g_b_init_get_native_system_info, g_b_init_get_system_times)
(GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare.
(get_native_system_info, get_system_times): New functions.
(buf_next, buf_prev, sample_system_load, getavg): New subroutines.
(getloadavg): Rewrite using GetSystemTimes and GetNativeSystemInfo.
(globals_of_w32): Initialize g_b_init_get_native_system_info,
g_b_init_get_system_times, and num_of_processors.
2009-07-04 10:43:10 +00:00
Jason Rumney
0a3472c7b9
* w32term.c (w32_initialize): Use standard types.
...
* runemacs.c (set_user_model_id): Use standard types.
* emacsclient.c (w32_set_user_model_id): Use standard types.
2009-07-03 15:32:02 +00:00
Eli Zaretskii
8090412003
(Ffile_attributes): Decode user and group names by the locale's encoding.
2009-07-03 14:22:35 +00:00
Dan Nicolaescu
f8d231047c
* sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused.
...
(mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused.
* callproc.c (child_setup): Use #else instead of a separate #ifdef.
* term.c (init_tty): Remove spurious #ifdef.
2009-07-03 13:46:39 +00:00
Dan Nicolaescu
6978862dc8
* m/mips.h: Mention this file is also used for netbsd.
...
* m/pmax.h: Remove file.
* configure.in (--enable-profiling): New option.
(mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
2009-07-03 13:19:03 +00:00
Jan Djärv
72ec0c8d03
And again...
2009-07-03 11:35:04 +00:00