1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

4133 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
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
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
Richard M. Stallman
ba2c991c3b *** empty log message *** 2005-02-06 11:24:11 +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
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
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
Richard M. Stallman
4e07258f2b *** empty log message *** 2005-02-03 07:39:01 +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
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
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
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
Jan Djärv
49b8b5dcb3 * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK,
button events are not received otherwise.
2005-01-29 22:25:58 +00:00
Richard M. Stallman
5a92a9eb78 *** empty log message *** 2005-01-29 17:31:43 +00:00
Stefan Monnier
5c243ee437 *** empty log message *** 2005-01-28 16:29:27 +00:00
Kim F. Storm
caf533af49 *** empty log message *** 2005-01-27 22:32:41 +00:00
Stefan Monnier
043f7f7333 (x_error_quitter): Add a prototype. Make it static again. 2005-01-27 17:00:38 +00:00
Kim F. Storm
889f36418f *** empty log message *** 2005-01-27 00:16:00 +00:00
Richard M. Stallman
29099c2f2b *** empty log message *** 2005-01-25 01:59:39 +00:00
Kim F. Storm
6adb6f0130 *** empty log message *** 2005-01-24 20:44:39 +00:00
Steven Tamm
4d904fa0b2 * dispextern.h (struct glyph_string): New members clip_head and
clip_tail.
* xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip
	region to the area between clip_head and clip_tail.
	(draw_glyphs): Record the area that need to be actually redrawn to
	the new variables clip_head and clip_tail when there are
	overhangs.  Set values of these variables to the corresponding
	members in struct glyph_string.  Refine x coordinates for
	notice_overwritten_cursor using clip_head and clip_tail.
* macgui.h (STORE_XCHARSETSTRUCT): New macro.
* macterm.c (mac_compute_glyph_string_overhangs): Implement with
	QDTextBounds.
	(x_draw_glyph_string): Don't fill the background of the successor
	of a glyph with a right overhang if the successor will draw a
	cursor.
	(XLoadQueryFont): Obtain font metrics using QDTextBounds.
	(x_redisplay_interface): Add entry for
	compute_glyph_string_overhangs.
2005-01-24 18:00:43 +00:00
Kim F. Storm
6f67f013b6 (redisplay_window): Only try to make cursor line fully
visible once (to avoid redisplay loop).
2005-01-24 13:22:07 +00:00
Kim F. Storm
f2417699a5 *** empty log message *** 2005-01-24 13:17:37 +00:00
Kim F. Storm
8f958b40cc *** empty log message *** 2005-01-23 13:31:53 +00:00
Kim F. Storm
6b3d88f70e *** empty log message *** 2005-01-23 13:11:00 +00:00
Kim F. Storm
5c20cae25b *** empty log message *** 2005-01-23 00:53:10 +00:00
Kim F. Storm
a354b72c97 *** empty log message *** 2005-01-22 23:54:43 +00:00
Steven Tamm
d9e7c62260 * s/darwin.h: Removed PTY_ITERATION from here.
(DARWIN): Defined.
* process.c (init_process): Default process-connection-type to
	nil on darwin 6 or less, t if it is 7 or higher.  This way the
	broken pty behavior is still allowed on darwin 6 for interactive
	processes for people that know what they are doing.
2005-01-22 15:54:04 +00:00
Kim F. Storm
d00e399ac9 *** empty log message *** 2005-01-22 01:43:55 +00:00
Richard M. Stallman
f95a20e78d *** empty log message *** 2005-01-21 20:53:02 +00:00
Jan Djärv
eee141ce69 * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw.
(xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to
start of function for older compilers.
2005-01-21 05:59:21 +00:00
Richard M. Stallman
6f771c32b0 *** empty log message *** 2005-01-21 00:33:07 +00:00
Steven Tamm
a15252fdfb * editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release
	based on call to uname if available.
	(get_operating_system_release): Added function to
	allow c-level access to operating system release.
* config.h: Regenerated.
* s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or
	less.
	(MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for
	using ptys as '7'.
* term/mac-win.el (process-connection-type): Removed.
	Controlled now by s/darwin.h:PTY_ITERATION.
2005-01-20 18:13:48 +00:00
Kim F. Storm
62fc9b0f7d *** empty log message *** 2005-01-20 15:37:13 +00:00
Kim F. Storm
c310aca4a7 *** empty log message *** 2005-01-20 15:21:45 +00:00
Kim F. Storm
3d6a4b2d44 *** empty log message *** 2005-01-19 23:16:39 +00:00
Kim F. Storm
77db5cf358 *** empty log message *** 2005-01-19 10:05:04 +00:00
Kim F. Storm
27c8be4585 *** empty log message *** 2005-01-19 00:08:10 +00:00