Commit graph

21682 commits

Author SHA1 Message Date
Jan Djärv
45a26c4279 * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the
window.
2006-11-03 08:58:39 +00:00
Juanma Barranquero
b224de9ba9 (Fkill_emacs): Fix typo in docstring. 2006-11-02 16:15:28 +00:00
YAMAMOTO Mitsuharu
73da71f926 2006-11-02 Nozomu Ando <nand@mac.com>
* unexmacosx.c (mach_header, segment_command, vm_region, section)
	[_LP64]: New defines.
	(VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT)
	(MH_MAGIC) [_LP64]: Redefine.
	(delta): Remove variable.
	(curr_file_offset, pagesize): New variables.
	(ROUNDUP_TO_PAGE_BOUNDARY): New macro.
	(data_segment_old_fileoff): Initialize explicitly.
	(print_region, unexec_regions_recorder, print_load_command_name)
	(copy_segment, copy_data_segment): Use long format in printf.
	(MAX_UNEXEC_REGIONS): Increase to 400.
	(unexec_regions_recorder): Don't warn too many regions here.
	(find_emacs_zone_regions): Warn too many regions here.
	(print_load_command_name) [_LP64]: Show correct load command name.
	(copy_segment, copy_data_segment): Use variable `curr_file_offset'.
	Show starting virtual memory address.  Don't show ending file offset.
	(copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA.
	(dump_it): Use new local variable `linkedit_delta' and pass to them.
	Error if trying to handle multiple DATA segments.
	(unexec): Initialize variable `pagesize'.
2006-11-02 04:37:35 +00:00
Juanma Barranquero
ebc20ca09c *** empty log message *** 2006-11-01 20:25:51 +00:00
Juanma Barranquero
1d632ccfe8 (Fcatch): Doc fix. 2006-11-01 20:23:44 +00:00
YAMAMOTO Mitsuharu
6ceb805857 (create_apple_event_from_event_ref)
(create_apple_event_from_drag_ref, xrm_merge_string_database)
(xrm_get_resource, xrm_get_preference_database): Add const
qualifier to arguments in externs.
2006-10-31 08:33:53 +00:00
YAMAMOTO Mitsuharu
369a7a37d8 (mac_create_bitmap_from_bitmap_data): Make variable
`swap_nibbles' static const.
(atsu_get_text_layout_with_text_ptr): Make variables `lengths',
`tags', `sizes', `values' static const.
(mac_draw_string_common): Make variables `context' static.  Make
variables `tags', `sizes', and `values' static const.
(pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click)
(xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match)
(mac_to_x_fontname, parse_x_font_name, add_mac_font_name)
(mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window)
(mac_store_event_ref_as_apple_event, mac_make_rdb): Add const
qualifier to arguments.
(xlfd_scalable_fields, keycode_to_xkeysym_table)
(fn_keycode_to_keycode_table): Make static const.
(mac_load_query_font): Make variables `tags', `sizes', `values',
`types', and `selectors' static const.
(mac_handle_command_event, mac_handle_window_event): Make
variables `names' and `types' static const.
(init_command_handler, install_window_handler): Make variables
`specs*' static const.
(mac_handle_font_event, mac_handle_text_input_event)
(mac_store_service_event): Make variables `names' and `types'
const.  Make variables `names_*' and `types_*' static const.
2006-10-31 08:32:56 +00:00
YAMAMOTO Mitsuharu
11e0f75563 (init_service_handler): Make variable `specs' static
const.
2006-10-31 08:32:25 +00:00
YAMAMOTO Mitsuharu
37a39780ff (install_menu_quit_handler): Make variable `typesList'
static const.
(name_is_separator): Add const qualifier to arguments.
2006-10-31 08:32:08 +00:00
YAMAMOTO Mitsuharu
e4e64b037b (mac_color_map): Make static const.
(mac_color_map_lookup): Add const qualifier to arguments.
2006-10-31 08:31:50 +00:00
YAMAMOTO Mitsuharu
37a9ab8638 (create_apple_event_from_event_ref)
(create_apple_event_from_drag_ref, skip_white_space, parse_comment)
(parse_include_file, parse_binding, parse_component)
(parse_resource_name, parse_value, parse_resource_line)
(xrm_merge_string_database, xrm_get_resource)
(xrm_get_preference_database): Add const qualifier to arguments.
[MAC_OSX] (sys_select): Make variable `context' static const.
2006-10-31 08:31:30 +00:00
YAMAMOTO Mitsuharu
46accb8f6d [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v)
(xpm_put_color_table_v,	xpm_get_color_table_v, xpm_make_color_table_h)
(xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key)
(xpm_load_image): Add const qualifier to arguments.
[MAC_OS] (xpm_color_key_strings): Make static const.
2006-10-31 08:31:01 +00:00
Kenichi Handa
7147863a1c (xic_create_xfontset): Fix previous change. 2006-10-31 06:42:59 +00:00
Chong Yidong
1ea69d1e53 Tweak last fix. 2006-10-30 23:05:35 +00:00
Chong Yidong
78667db702 * s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and
/usr/pkg/lib to library search path.
2006-10-30 23:04:39 +00:00
Chong Yidong
8d31e37330 * ralloc.c (relinquish): Use a long for excess space counter to
handle 64-bit case correctly.
2006-10-29 21:54:18 +00:00
Chong Yidong
1dbfd8e389 * m/amdx86-64.h: Add defines for OpenBSD x86-64. 2006-10-29 21:48:58 +00:00
Juanma Barranquero
856bb2b0ee *** empty log message *** 2006-10-28 22:09:25 +00:00
Juanma Barranquero
473d3c06d8 (Fdisplay_buffer): Fix typo in docstring. 2006-10-28 22:03:51 +00:00
Juanma Barranquero
4975e69596 (x_draw_glyph_string_foreground): Set background mode to TRANSPARENT before
using overstrike to simulate bold faces.
2006-10-27 22:37:48 +00:00
Juanma Barranquero
234b59d7bb (best_matching_font): Fix logic to decide whether to use overstriking to
simulate bold-face (it was reversed).
2006-10-27 22:34:22 +00:00
Kim F. Storm
88efeba65e (remember_mouse_glyph): Simplify last change. 2006-10-23 11:49:48 +00:00
Kim F. Storm
4fa93fa859 (remember_mouse_glyph): Don't crash if glyphs are not initialized. 2006-10-23 09:58:49 +00:00
Kim F. Storm
a4614668b4 *** empty log message *** 2006-10-23 09:51:56 +00:00
Kim F. Storm
cbfe778a85 *** empty log message *** 2006-10-22 22:32:43 +00:00
Kim F. Storm
96f4f7ecf1 (read_char): Make an element (t . EVENT) in
unread-command-events add EVENT to the current command's key sequence.
(syms_of_keyboard) <unread-command-events>: Update doc.
2006-10-22 22:25:03 +00:00
Richard M. Stallman
627fb581ae (Vread_expression_map): Define here.
(Qread_expression_history): New variable.
(syms_of_minibuf): Initialize them.
(Feval_minibuffer): Use Vread_expression_map and Qread_expression_history.
2006-10-21 17:40:03 +00:00
Kenichi Handa
cd987aaa0a (xic_create_fontsetname): If ADSTYLE field is not a wild
card, change it to "*".
(xic_create_xfontset): Call XCreateFontSet for each single
fontname in fontsetname.
2006-10-21 01:57:34 +00:00
Chong Yidong
55b41ef52e * callint.c (callint_message): Convert to a Lisp string.
(syms_of_callint): Initialize it.
	(callint_message_size): Var deleted.
	(Fcall_interactively): Use Fformat instead of doprnt to construct
	prompt string.
2006-10-19 14:13:52 +00:00
Kim F. Storm
a4d2787c2d 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
(display_mode_line): Clear enabled_p flag on mode-line row.
2006-10-19 09:49:23 +00:00
Kim F. Storm
cc7aa8dc09 *** empty log message *** 2006-10-19 09:48:55 +00:00
YAMAMOTO Mitsuharu
045b190821 *** empty log message *** 2006-10-19 08:02:23 +00:00
YAMAMOTO Mitsuharu
9346531434 (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]:
New variable.
(syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it.
2006-10-19 08:01:25 +00:00
Jan Djärv
866f85184a * xselect.c (x_handle_selection_request): If the converted_selection
is NIL or XCDR (converted_selection) is NIL, decline the request.
2006-10-19 07:17:42 +00:00
YAMAMOTO Mitsuharu
57714a862f (adjust_frame_glyphs_for_window_redisplay): Fix #endif comments. 2006-10-17 00:29:25 +00:00
Jan Djärv
b43da35222 * gtkutil.c (get_utf8_string): Remove warnings with casts.
(xg_tool_bar_button_cb): Ditto
 (xg_tool_bar_callback): Ditto.
2006-10-16 14:20:38 +00:00
YAMAMOTO Mitsuharu
7c682cf194 (mac_query_char_extents): Don't return glyph ID if layout
adjustment is needed.
(mac_load_query_font): Check if width and height are positive.
2006-10-16 08:59:31 +00:00
YAMAMOTO Mitsuharu
2e6266ac57 (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs. 2006-10-16 08:58:39 +00:00
YAMAMOTO Mitsuharu
8ce2650dbe (adjust_frame_glyphs_for_frame_redisplay): Remove unused variable ch_dim.
(adjust_frame_glyphs_for_window_redisplay): Likewise.  Don't allocate
menu bar window matrices on non-X systems.
2006-10-16 08:58:20 +00:00
Richard M. Stallman
563964aeda *** empty log message *** 2006-10-14 10:09:53 +00:00
Richard M. Stallman
fac390dc0a (init_sys_modes): Delete DEFVAR_LISP in the wrong place. 2006-10-14 10:09:32 +00:00
Chong Yidong
98721beb4b * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame
title.
2006-10-13 14:18:09 +00:00
Chong Yidong
eae637ecd3 * keymap.c (Fkey_binding): Check Lisp_Object types before doing
XCAR and XINT.
2006-10-13 01:45:37 +00:00
Romain Francoise
431feaf6f4 (xbm_read_bitmap_data): Delete extra semicolon. 2006-10-12 19:22:38 +00:00
Stefan Monnier
b70e1a2bdc Include xterm.h for x_fully_uncatch_errors and friends. 2006-10-10 14:39:23 +00:00
Stefan Monnier
516c741dce Declare x_create_bitmap_from_xpm_data. 2006-10-10 14:38:34 +00:00
Stefan Monnier
997482f5f4 (x_check_expected_move): Remove unused var `count'. 2006-10-10 14:37:54 +00:00
Stefan Monnier
de9855d5a3 (syms_of_xmenu): Use Ffset rather than Fdefalias, since
Fdefalias is not declared in any *.h file.
2006-10-10 14:22:46 +00:00
Chong Yidong
2bcac7667a * dispnew.c (sit_for): Sit forever if TIMEOUT is t.
* keyboard.c (command_loop_1): Handle non-number values of
	`minibuffer-message-timeout'.
	(Fexecute_extended_command): Fix typo.

	* minibuf.c (temp_echo_area_glyphs): Sit for
	`minibuffer-message-timeout' seconds.
2006-10-10 01:20:20 +00:00
Chong Yidong
394ccd7d8b * minibuf.c (temp_echo_area_glyphs): Sit for
`minibuffer-message-timeout' seconds.
2006-10-10 00:33:02 +00:00