Commit Graph

5308 Commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
55a314a5c2 (mark_memory): New argument OFFSET. All uses changed.
Fix address calculations for case END < START.
(mark_stack): Impose Lisp_Object alignment on jmp_buf.
2006-11-13 08:20:48 +00:00
Juanma Barranquero
4cb8645c65 *** empty log message *** 2006-11-12 23:20:36 +00:00
Chong Yidong
b071677f0e * xmenu.c (popup_activated): Define outside HAVE_MENUS. 2006-11-12 17:52:05 +00:00
Romain Francoise
0924e3f6e1 (selection-coding-system): Fix docstring. 2006-11-12 09:55:37 +00:00
Juanma Barranquero
947129a2be *** empty log message *** 2006-11-12 05:38:32 +00:00
Jan Djärv
b8e7655fa8 (do_ewmh_fullscreen, XTfullscreen_hook): New functions.
(x_check_fullscreen): Call do_ewmh_fullscreen.
(x_initialize): Set fullscreen_hook to XTfullscreen_hook.
2006-11-10 08:01:33 +00:00
Juanma Barranquero
33462dfacd Add "add-log-time-zone-rule: t" to Local Variables section. 2006-11-10 00:21:57 +00:00
Juanma Barranquero
eed1152fb7 (Fbyte_code): Use SYMBOL_CONSTANT_P macro. 2006-11-08 21:16:56 +00:00
Juanma Barranquero
3dd428fa62 *** empty log message *** 2006-11-06 23:29:05 +00:00
Chong Yidong
e8407323ab * macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
* w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
Return nil if building without menus.

* xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
Return nil if building without menus.
2006-11-06 16:46:53 +00:00
Richard M. Stallman
faefde3642 *** empty log message *** 2006-11-05 15:23:45 +00:00
Eli Zaretskii
107709d449 *** empty log message *** 2006-11-05 12:21:01 +00:00
YAMAMOTO Mitsuharu
c57038f815 (malloc_cookie): Remove unused variable.
(region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr)
(text_seg_lowest_offset, mh, curr_header_offset, infd, outfd)
(emacs_zone, data_segment_old_fileoff, data_segment_scp)
(num_unexec_regions, unexec_regions): Make variables static.
(print_regions, find_emacs_zone_regions): Make static.
(unexec_region_info): New typedef.
(unexec_regions): Change type from vm_range_t[] to unexec_region_info[].
All uses changed.
(unexec_regions_recorder): Subtract size of trailing null pages from
filesize.  Show filesize.
(unexec_regions_merge): Don't merge if null pages of preceding region
is not too small.  Use long format in printf.
(copy_segment, copy_data_segment): Show filesize.
(copy_data_segment): Write filesize bytes of region data.  Adjust
filesize in segment command accordingly.
(dump_it): Use long format in printf.
2006-11-05 06:12:27 +00:00
Juanma Barranquero
60a294e2e9 (unexec): Fix typo in output message. 2006-11-05 04:11:47 +00:00
Juanma Barranquero
ccc54d96ad *** empty log message *** 2006-11-04 12:52:13 +00:00
Eli Zaretskii
b20d6154e7 *** empty log message *** 2006-11-04 12:23:03 +00:00
Chong Yidong
3ac04ed074 * w32proc.c: (sys_wait) Only wait for processes with fd<0.
Others should be handled by sys_select instead. Fixes problems
	  with (progn (start-process "" nil "ls") (call-process "ls"))
2006-11-04 03:37:40 +00:00
Chong Yidong
8630721ec9 * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to
avoid gcc 2.95 error.
2006-11-04 03:21:40 +00:00
Chong Yidong
ffbdf67b4c * gtkutil.c (update_frame_tool_bar): If icon image is invalid and
wicon is null, insert an empty button.
2006-11-04 03:08:35 +00:00
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
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
Kenichi Handa
7147863a1c (xic_create_xfontset): Fix previous change. 2006-10-31 06:42:59 +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
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
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
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
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
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
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
Richard M. Stallman
563964aeda *** empty log message *** 2006-10-14 10:09:53 +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
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
YAMAMOTO Mitsuharu
bb420759ac (mac_draw_image_string, mac_draw_image_string_16): Add
argument OVERSTRIKE_P.
(mac_draw_string_common, mac_draw_image_string_cg): Likewise.
Support overstrike.
(mac_draw_string, mac_draw_string_16): Remove functions.
(x_draw_glyph_string_foreground): Use overstrike when needed.
(x_draw_composite_glyph_string_foreground): Likewise.  Use
mac_draw_image_string_16 instead of mac_draw_string_16.
(mac_load_query_font): Rename from XLoadQueryFont.  Take argument F
instead of DPY.  All uses changed.  Don't save/restore font.
2006-10-08 07:48:02 +00:00
Jason Rumney
2770d5898c 2006-10-07 Ralf Angeli <angeli@caeruleus.net>
* w32fns.c (w32_createwindow): Honour left and top positions if
	supplied explicitly.
2006-10-07 20:10:23 +00:00