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

28120 commits

Author SHA1 Message Date
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
Jan Djärv
db3b2dc8ab Fix typo. 2009-07-03 11:17:44 +00:00
Jan Djärv
e044e4fcd5 * xterm.h (struct x_display_info): Add invisible_cursor.
(struct x_output): Add current_cursor.

* xterm.c (XTtoggle_invisible_pointer): New function.
(x_define_frame_cursor): Don't define cursor if invisible or the
same as before.  Set current_cursor.
(x_create_terminal): Set toggle_invisible_pointer_hook.

* xfns.c (make_invisible_cursor): New function.
(x_set_mouse_color): Call make_invisible_cursor.
Set current_cursor.
(x_window): Set current_cursor.

* termhooks.h (struct terminal): Add toggle_invisible_pointer_hook.

* keyboard.c (command_loop_1): Call frame_make_pointer_invisible after
inserting a character.
(read_avail_input): Call frame_make_pointer_visible.

* frame.c (Vmake_pointer_invisible): New variable.
(frame_make_pointer_invisible, frame_make_pointer_visible): New
functions.
(syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt.

* frame.h: Declare frame_make_pointer_invisible and
frame_make_pointer_visible.
(struct frame): Add pointer_invisible.

* cus-start.el (all): Added make-pointer-invisible.
2009-07-03 11:07:02 +00:00
Jan Djärv
7b50724819 * gtkutil.c (xg_frame_set_char_size): Do set width/height if the
frame isn't visible.
(xg_frame_resized): If width/height is -1, get size of window
from X server.

* xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK
for MapNotify.
2009-07-02 12:27:23 +00:00
Jan Djärv
5015be1de6 Remove debug code. 2009-07-02 10:29:54 +00:00
Jan Djärv
835bdaa704 (xg_frame_set_char_size): Do not set pixel width/height
here or	call change_frame_size. Just call flush_and_sync.
(flush_and_sync): Reintroduced.
2009-07-02 08:20:56 +00:00
Jan Djärv
574c8efad0 (xg_frame_set_char_size): Do not set pixel width/height here or
call change_frame_size.
2009-07-02 07:48:23 +00:00
Jan Djärv
acd51077ea * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky
* xterm.c (x_handle_net_wm_state): Also look for sticky.
(x_term_init): Initialize Xatom_net_wm_state_sticky.

* frame.h: Declare Qsticky.
2009-07-01 16:58:05 +00:00
Jan Djärv
cad9ef74ea * w32fns.c (w32_frame_parm_handlers): Set 0 for sticky.
* nsfns.m (ns_frame_parm_handlers): Ditto.

* frame.c: Declare Qsticky.
(frame_parms): Add sticky.

* xfns.c (x_frame_parm_handlers): Let x_set_sticky handle sticky.

* xterm.h: Declare x_set_sticky.

* xterm.c (x_set_sticky): New function.

* frame.c: Qmaximized is new.
(x_set_frame_parameters): Do not handle fullscreen specially.
Only set width and height if explicitly set.
(x_set_fullscreen): Handle Qmaximized.
(x_set_font, x_figure_window_size): Do not handle fullscreen specially.
(syms_of_frame): Initialize Qmaximized.

* xterm.c (handle_one_xevent): Remove call to x_check_fullscreen
for Expose event. Add call to x_check_fullscreen for MapNotify event.
Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not
set gravity to NorthWestGravity when USE_GTK.
(set_wm_state): New function.
(do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED.
(x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED.
(x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen
or the case when no window manager is running. That means remove calls
to x_real_positions and x_fullscreen_adjust.
2009-07-01 16:48:35 +00:00
Jan Djärv
69b166106d * gtkutil.c (xg_tool_bar_proxy_help_callback): New function.
(xg_tool_bar_menu_proxy): Attach enter/leave events to
xg_tool_bar_proxy_help_callback.
2009-07-01 15:52:58 +00:00