aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fset_process_query_on_exit_flag): Mention killingJuri Linkov2009-07-182-1/+6
| | | | a buffer in docstring.
* Fix last change.Chong Yidong2009-07-171-1/+0
|
* (shuffle): Fix the logic of setting up the cycle.Kenichi Handa2009-07-172-6/+10
|
* (ns_get_color): Remove incompatible color formats.YAMAMOTO Mitsuharu2009-07-162-73/+13
| | | | (ns_color_to_lisp): Generate #rrggbb color format string.
* (Fns_set_alpha): Remove function.YAMAMOTO Mitsuharu2009-07-161-27/+0
| | | | (syms_of_nsfns): Don't defsubr it.
* * fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.Richard M. Stallman2009-07-164-8/+27
| | | | | | (Fset_buffer_auto_saved): Handle save_length = -2. Comment changes in other files.
* * xterm.c (Qx_gtk_map_stock): New var.Chong Yidong2009-07-163-5/+18
| | | | | * gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead of calling intern each time.
* (ns_maybe_dumpglyphs_background): Remove code for stippling, which actuallyYAMAMOTO Mitsuharu2009-07-152-0/+11
| | | | does tiling.
* (nsfont_draw): Remove code for stippling, which actuallyYAMAMOTO Mitsuharu2009-07-151-0/+4
| | | | does tiling.
* (font_vconcat_entity_vectors): New function.Kenichi Handa2009-07-142-98/+177
| | | | | | | | | | | | (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.
* (ftfont_spec_pattern): New arg langname. CallerKenichi Handa2009-07-142-9/+28
| | | | | | | | 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.
* (directory_files_internal) [WINDOWSNT]: Don't make a local copyEli Zaretskii2009-07-132-6/+6
| | | | of dirfilename.
* *** empty log message ***Kenichi Handa2009-07-131-0/+3
|
* (sub_char_table_ref_and_range): Fix the range check against max_char.Kenichi Handa2009-07-131-1/+1
|
* (internal_self_insert): Check sym by SYMBOLP beforeKenichi Handa2009-07-132-1/+6
| | | | calling XSYMBOL (sym).
* (stat): Fix last change.Eli Zaretskii2009-07-111-1/+1
|
* (directory_files_internal_w32_unwind) [WINDOWSNT]: New function.Eli Zaretskii2009-07-112-0/+59
| | | | | | (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.
* (logon_network_drive): Don't assume PATH is an absolute file name.Eli Zaretskii2009-07-111-17/+37
| | | | | | (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'.
* xfns.c (Fx_select_font): Remember last font selected inJan Djärv2009-07-102-7/+27
| | | | | x_last_font_name and use that the next time. Also try the frame parameter font-parameter as default to the font dialog.
* (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE.Kenichi Handa2009-07-101-4/+3
|
* *** empty log message ***Kenichi Handa2009-07-101-0/+4
|
* (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.Eli Zaretskii2009-07-092-2/+5
|
* (stat): Treat UNC file names as residing on remote drives. (Bug#3542)Eli Zaretskii2009-07-092-3/+10
|
* (fontset_find_font): Fix previous change.Kenichi Handa2009-07-092-10/+14
|
* * dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message)Michael Albinus2009-07-082-0/+18
| | | | | (Fdbus_register_signal, Fdbus_register_method): Cleanup memory of error flag.
* (fontset_find_font): Fix the logic of handlingKenichi Handa2009-07-082-45/+48
| | | | | | charset_matched. (font_for_char): Delete unused var. (generate_ascii_font_name): Delete it.
* (JIS_TO_SJIS2): Fix the code range check.Kenichi Handa2009-07-082-1/+8
|
* (detect_coding_sjis): Handle shift_jis-2004 correctly.Kenichi Handa2009-07-081-2/+10
| | | | (encode_coding_sjis): Fix the code range check.
* * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)Chong Yidong2009-07-072-7/+14
| | | | (Fexpand_file_name): Copy string data properly (Bug#3772).
* xterm.c (handle_one_xevent): Only call x_check_fullscreen on theJan Djärv2009-07-072-2/+10
| | | | first MapNotify.
* (Fset_charset_priority): Update charset_unibyte.Kenichi Handa2009-07-072-6/+35
| | | | (syms_of_charset): Initialize charset_unibyte.
* (unibyte_has_multibyte_table): Delete extern.Kenichi Handa2009-07-071-6/+0
| | | | (UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it.
* (unibyte_has_multibyte_table): Delete it.Kenichi Handa2009-07-071-26/+12
| | | | | | | (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.
* (xcharset): Fix the treating $arg0.Kenichi Handa2009-07-071-1/+1
|
* (get_next_display_element): Decode it->c by charset_unibyte.Kenichi Handa2009-07-071-3/+7
| | | | (x_produce_glyphs): Likewise.
* Emulation of `getloadavg' on MS-Windows:Eli Zaretskii2009-07-042-5/+213
| | | | | | | | | | | 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.
* * w32term.c (w32_initialize): Use standard types.Jason Rumney2009-07-032-1/+5
| | | | | * runemacs.c (set_user_model_id): Use standard types. * emacsclient.c (w32_set_user_model_id): Use standard types.
* (Ffile_attributes): Decode user and group names by the locale's encoding.Eli Zaretskii2009-07-032-2/+7
|
* * sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused.Dan Nicolaescu2009-07-034-21/+13
| | | | | | | | (mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused. * callproc.c (child_setup): Use #else instead of a separate #ifdef. * term.c (init_tty): Remove spurious #ifdef.
* * m/mips.h: Mention this file is also used for netbsd.Dan Nicolaescu2009-07-033-56/+6
| | | | | | | * m/pmax.h: Remove file. * configure.in (--enable-profiling): New option. (mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
* And again...Jan Djärv2009-07-031-1/+2
|
* Fix typo.Jan Djärv2009-07-031-1/+2
|
* * xterm.h (struct x_display_info): Add invisible_cursor.Jan Djärv2009-07-038-6/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * gtkutil.c (xg_frame_set_char_size): Do set width/height if theJan Djärv2009-07-023-16/+46
| | | | | | | | | 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.
* Remove debug code.Jan Djärv2009-07-021-1/+0
|
* (xg_frame_set_char_size): Do not set pixel width/heightJan Djärv2009-07-022-4/+19
| | | | | here or call change_frame_size. Just call flush_and_sync. (flush_and_sync): Reintroduced.
* (xg_frame_set_char_size): Do not set pixel width/height here orJan Djärv2009-07-022-23/+13
| | | | call change_frame_size.
* * xterm.h (struct x_display_info): Add Xatom_net_wm_state_stickyJan Djärv2009-07-014-2/+17
| | | | | | | * xterm.c (x_handle_net_wm_state): Also look for sticky. (x_term_init): Initialize Xatom_net_wm_state_sticky. * frame.h: Declare Qsticky.
* * w32fns.c (w32_frame_parm_handlers): Set 0 for sticky.Jan Djärv2009-07-017-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * gtkutil.c (xg_tool_bar_proxy_help_callback): New function.Jan Djärv2009-07-012-4/+43
| | | | | (xg_tool_bar_menu_proxy): Attach enter/leave events to xg_tool_bar_proxy_help_callback.