Commit graph

19244 commits

Author SHA1 Message Date
Stefan Monnier
3419757dfd (Fprimitive_undo): Check veracity of delta,start,end. 2005-02-08 20:49:16 +00:00
Jan Djärv
bae45dc3a9 * xfns.c (x_set_tool_bar_lines): Check that width and height is greater than
zero before clearing area.
2005-02-07 21:31:56 +00:00
Jan Djärv
caacfeb891 (x_set_tool_bar_lines): Check that width and height is greater than
zero before clearing area.
2005-02-07 21:31:28 +00:00
Jan Djärv
fc34503b56 * xfns.c (Fx_change_window_property): Use long array when format is 32.
(Fx_window_property): If format is 32 and long is bigger than 32 bits,
	convert long array returned from XGetWindowProperty to an int array.

	* xselect.c (x_reply_selection_request): Pass long array to
	XChangeProperty so that 64 bit longs are handeled correctly.
	(x_get_window_property): If format is 32 and long is bigger than 32
	bits convert data from XGetWindowProperty from long array to int array.
	(lisp_data_to_selection_data): When the input is a vector and the
	format is 32, allocate a long array even if long is bigger than 32 bits.
	(x_fill_property_data): Use char, short and long as the man page
	for XChangeProperty specifies.  This way the data returned is OK for
	both 32 and 64 bit machines.
	(x_handle_dnd_message): Calculate size correctly even for 64 bit
	machines.
	(Fx_send_client_event): Undo change from 2005-02-05,
	x_fill_property_data now handles that case.
2005-02-07 20:00:31 +00:00
Jan Djärv
fede04ef9f * xfns.c (Fx_change_window_property): Use long array when format is 32.
(Fx_window_property): If format is 32 and long is bigger than 32 bits,
convert long array returned from XGetWindowProperty to an int array.
2005-02-07 20:00:07 +00:00
Jan Djärv
e22cf39c66 * xselect.c (x_reply_selection_request): Pass long array to
XChangeProperty so that 64 bit longs are handeled correctly.
(x_get_window_property): If format is 32 and long is bigger than 32
bits convert data from XGetWindowProperty from long array to int array.
(lisp_data_to_selection_data): When the input is a vector and the
format is 32, allocate a long array even if long is bigger than 32 bits.
(x_fill_property_data): Use char, short and long as the man page
for XChangeProperty specifies.  This way the data returned is OK for
both 32 and 64 bit machines.
(x_handle_dnd_message): Calculate size correctly even for 64 bit
machines.
(Fx_send_client_event): Undo change from 2005-02-05,
x_fill_property_data now handles that case.
2005-02-07 19:59:36 +00:00
Jan Djärv
3a4415260f * xfns.c (Fx_backspace_delete_keys_p): Added comment about the
reason for the approach in the code.
2005-02-07 12:50:38 +00:00
Kim F. Storm
82ec225b40 *** empty log message *** 2005-02-07 11:44:19 +00:00
Kim F. Storm
4ac0318706 (Fprimitive_undo): Record max one dummmy apply element. 2005-02-07 11:44:00 +00:00
Richard M. Stallman
ba2c991c3b *** empty log message *** 2005-02-06 11:24:11 +00:00
Richard M. Stallman
d5e2c90c44 (Frun_hook_with_args)
(Frun_hook_with_args_until_success)
(Frun_hook_with_args_until_failure): Doc fixes.
2005-02-06 11:23:38 +00:00
Andreas Schwab
e120ea40ca (sys_subshell): Properly terminate execlp argument list. 2005-02-05 19:40:23 +00:00
Jan Djärv
31f16913d7 * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle
the longs in a XClientMessageEvent correctly when long is 64 bits.
2005-02-05 16:41:38 +00:00
Eli Zaretskii
6082a82045 *** empty log message *** 2005-02-05 12:19:15 +00:00
Eli Zaretskii
6a46b96b70 (face_color_supported_p): Use HAVE_WINDOW_SYSTEM
instead of HAVE_X_WINDOWS, for non-X windowed sessions.
2005-02-05 12:14:45 +00:00
Jan Djärv
96ff33d606 Forgot to remove debug code. 2005-02-03 19:57:33 +00:00
Jan Djärv
c8934d9de9 * gtkutil.c (create_menus): Connect selection-done event instead of
the deactivate event to deactivate_cb.  This will make the last
	leave event come before the call to deactivate_cb, so the leave
	event does not make sit-for exit after a menu selection.
2005-02-03 19:50:08 +00:00
Jan Djärv
81f098775c * xmenu.c (menubar_selection_callback): Force out GTK buffered
events so the menu event comes after them.  This is to prevent sit-for
	from exiting on buffered events directly after a menu selection,
	lisp code for Help => About Emacs uses sit-for.
2005-02-03 19:49:43 +00:00
Jan Djärv
0e95095bfb * xmenu.c (menubar_selection_callback): Force out GTK buffered
events so the menu event comes after them.  This is to prevent sit-for
	from exiting on buffered events directly after a menu selection,
	lisp code for Help => About Emacs uses sit-for.

	* gtkutil.c (create_menus): Connect selection-done event instead of
	the deactivate event to deactivate_cb.  This will make the last
	leave event come before the call to deactivate_cb, so the leave
	event does not make sit-for exit after a menu selection.
2005-02-03 19:48:59 +00:00
Stefan Monnier
97f4312dfd Copyright update. 2005-02-03 16:04:50 +00:00
Kim F. Storm
5b3f855065 (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. 2005-02-03 14:09:04 +00:00
Kim F. Storm
a6d8ba25ae (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. 2005-02-03 14:08:47 +00:00
Kim F. Storm
498c08eaef (build_frame_matrix_from_leaf_window)
[!GLYPH_DEBUG]: Fix xassert.
2005-02-03 14:08:01 +00:00
Kim F. Storm
5bb6a3c129 *** empty log message *** 2005-02-03 14:07:44 +00:00
YAMAMOTO Mitsuharu
e9859e269b (mac_draw_string_common, x_make_frame_visible): Use
MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by the compiling OS
version.
2005-02-03 11:58:25 +00:00
YAMAMOTO Mitsuharu
50b96379d7 (x_create_tip_frame): Use MAC_OS_X_VERSION_MAX_ALLOWED to
conditionalize by the compiling OS version.
2005-02-03 11:56:47 +00:00
YAMAMOTO Mitsuharu
856a5c5ba7 Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by the compiling OS
version.
2005-02-03 11:55:47 +00:00
Richard M. Stallman
4e07258f2b *** empty log message *** 2005-02-03 07:39:01 +00:00
Richard M. Stallman
799775ff76 (x_error_quitter): On GCC 3 and up, specify noinline. 2005-02-03 07:36:15 +00:00
Richard M. Stallman
85424dea00 (echo_area_display): Clear echo_message_buffer. 2005-02-03 07:35:28 +00:00
Richard M. Stallman
3997118842 (Fbury_buffer): Doc fix. 2005-02-03 07:33:52 +00:00
Steven Tamm
f6c62d9690 * macfns.c (unwind_create_frame): Fixing compile error due to
xassert being uncondition, but predicate is.
2005-02-03 07:09:43 +00:00
Steven Tamm
4a34b52963 * dispnew.c (update_window): Fixing compile error due to
xassert being uncondition, but predicate is.
2005-02-03 07:05:35 +00:00
Miles Bader
d78f30b86d Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-72
src/dispextern.h (xassert): Enable unconditionally.

2005-02-02  Miles Bader  <miles@gnu.org>

   * src/dispextern.h (xassert): Enable unconditionally.
2005-02-03 03:56:00 +00:00
Kim F. Storm
ed71a5cf0a (Fprimitive_undo): Fix dummy apply undo entry. 2005-02-02 15:43:18 +00:00
Kim F. Storm
b044278deb *** empty log message *** 2005-02-02 15:43:05 +00:00
Kenichi Handa
560721609d *** empty log message *** 2005-02-02 01:13:50 +00:00
Kenichi Handa
cc4ff429a0 (casify_region): Fix previous change. 2005-02-02 00:57:33 +00:00
Kenichi Handa
f98a8aa964 (casify_object): Enable changing characters of
different byte length.
(casify_region): Fix loop condition, args to replace_range_2, and
update opoint_byte.
2005-02-01 23:49:46 +00:00
Kenichi Handa
7077904e6b (replace_range_2): Fix bugs in adjusting markers and point. 2005-02-01 23:47:06 +00:00
Kim F. Storm
f2433a30c5 (back_to_previous_visible_line_start): Reset iterator
stack before calling handle_display_prop.
2005-02-01 08:56:01 +00:00
Kim F. Storm
5e1674c5f1 *** empty log message *** 2005-02-01 08:55:42 +00:00
Kim F. Storm
fb89c33096 *** empty log message *** 2005-01-31 23:17:42 +00:00
Kim F. Storm
7405f386b9 (syms_of_buffer) <buffer-undo-list>: Doc fix. 2005-01-31 22:45:12 +00:00
Kim F. Storm
49be18c97e (Qapply): New lisp var.
(syms_of_undo): Intern and staticpro it.
(Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and
(apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS).
2005-01-31 22:44:27 +00:00
Kim F. Storm
a050b1a91a *** empty log message *** 2005-01-30 18:13:05 +00:00
Jesper Harder
7bf72fa6f6 (syms_of_macterm) <mac-reverse-ctrl-meta>: Fix docstring indentation.
(syms_of_macterm) <mac-emulate-three-button-mouse>: do.
2005-01-30 16:39:16 +00:00
Luc Teirlinck
6de38aa350 (syms_of_undo) <undo-outer-limit>: Increase value to 3 Meg. 2005-01-30 02:09:45 +00:00
Luc Teirlinck
03c64f2e02 *** empty log message *** 2005-01-30 00:43:04 +00:00
Luc Teirlinck
62d776fd34 (syms_of_undo) <undo-outer-limit>: Doc update. 2005-01-30 00:39:33 +00:00