1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
Commit graph

689 commits

Author SHA1 Message Date
Chong Yidong
a6ec6cfb60 Fix last fix. 2007-06-13 17:35:27 +00:00
Chong Yidong
8ab9202e27 Link to xaw3d if available. 2007-06-13 17:35:14 +00:00
Miles Bader
0114082988 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-790
2007-06-09 03:19:04 +00:00
Juanma Barranquero
6ecd75be1a (x_default_scroll_bar_color_parameter):
Use empty_unibyte_string, not empty_string.
2007-06-08 20:01:38 +00:00
Chong Yidong
a3dcc98fea (x_set_name_internal): Undo last change. 2007-06-02 04:01:51 +00:00
Richard M. Stallman
6f1031326e (x_encode_text): Add GCPRO.
(x_set_name_internal): Separate USE_GTK and non-USE_GTK cases.
2007-06-01 12:14:34 +00:00
Chong Yidong
c2915ced35 (x_set_name_internal): Save encoded name before x_encode_text in case
string data is relocated.
2007-06-01 04:00:27 +00:00
Chong Yidong
67cae4883e (x_set_name_internal): Save encoded name before x_encode_text in case
string data is relocated.
2007-06-01 03:58:05 +00:00
Eli Zaretskii
87c891c71b (Fx_show_tip): Doc fix. 2007-03-24 15:42:17 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Kenichi Handa
7147863a1c (xic_create_xfontset): Fix previous change. 2006-10-31 06:42:59 +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
Jan Djärv
66687b7c01 * xfns.c (syms_of_xfns): Fix typo in help text for
x-gtk-file-dialog-help-text.
2006-09-22 08:09:10 +00:00
Jan Djärv
159f8da742 * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to
x_gtk_file_dialog_help_text.
2006-09-18 16:48:05 +00:00
Jan Djärv
fe2b14b7e8 * xfns.c (syms_of_xfns): Rename x-use-old-gtk-file-dialog
to x-gtk-use-old-file-dialog.
2006-09-18 16:42:09 +00:00
Jan Djärv
641c0105e5 * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text. 2006-09-16 17:43:35 +00:00
Jan Djärv
16e4bfaf96 * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. 2006-09-10 12:16:58 +00:00
YAMAMOTO Mitsuharu
6eeee4d618 (Fx_file_dialog): Call check_x. 2006-09-10 05:52:54 +00:00
Kim F. Storm
a508663b26 (Fxw_color_values): Simplify; use list3. 2006-08-25 23:33:04 +00:00
Kim F. Storm
93217cef09 (x_decode_color): Use signal_error. 2006-07-18 13:30:13 +00:00
Richard M. Stallman
e3d566134a (Fx_create_frame): Move unwind_create_frame setup down. 2006-07-03 15:42:48 +00:00
Chong Yidong
86b2ba0d67 * xfns.c (Fx_create_frame): Set font parameter directly instead of
using x_default_parameter, since x_get_args clears the parm alist.
2006-06-24 22:27:12 +00:00
John Paul Wallington
4985dde2d0 (x_set_name_internal): Set icon to `text', derived from name, when
frame's icon_name isn't a string rather than only when it is nil.
2006-06-02 21:35:39 +00:00
Chong Yidong
56f41f98c0 * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a
string.
2006-06-02 16:35:59 +00:00
Kenichi Handa
a869edd4e7 (xg_set_icon): Delete superfluous UNGCPRO. 2006-03-31 00:40:21 +00:00
Kenichi Handa
daf9e22086 (xg_set_icon): Remove unnecessary GCPRO. 2006-03-20 06:22:55 +00:00
Károly Lőrentey
a9d54793ea (x_icon): Disable redundant call to `x_wm_set_window_state'. 2006-03-12 01:37:34 +00:00
Eli Zaretskii
e6a0d3ebc8 (x_create_tip_frame): Preserve received parms by copying them. 2006-03-11 16:25:36 +00:00
Chong Yidong
4545fa2085 * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary
argument.

	* xterm.c: (x_load_font, x_term_init, XTmouse_position)
	(handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
	x_uncatch_errors.

	* xselect.c (x_own_selection, x_decline_selection_request)
	(x_reply_selection_request, x_get_foreign_selection)
	(Fx_get_atom_name, Fx_send_client_event): Likewise.

	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
	Likewise.
2006-02-27 03:35:31 +00:00
Chong Yidong
9ba8e10d99 * xterm.h (x_catch_errors) Return value changed to void.
(x_uncatch_errors): Unused count argument deleted.

	* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
	it can be called in a signal handler.
	(x_catch_errors_unwind): Function deleted.
	(x_uncatch_errors): Deallocate last x_error_message_stack struct.
	(x_check_errors): Call x_uncatch_errors before signalling error.

	(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
	(x_connection_closed, x_list_fonts): Use new versions of
	x_catch_errors and x_uncatch_errors.

	* xselect.c (x_own_selection, x_decline_selection_request)
	(x_reply_selection_request, x_get_foreign_selection)
	(Fx_get_atom_name, Fx_send_client_event): Likewise.

	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
	Likewise.

	* eval.c (record_unwind_protect): Add an assertion.
2006-02-25 23:20:10 +00:00
Jan Djärv
a8f4bdc694 * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
2006-02-21 08:37:33 +00:00
Jan Djärv
e0f467cba7 * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. 2006-02-14 11:35:00 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
5fa98fcf92 (Fx_create_frame): Put all specified parms into f->param_alist
unless they were cleared out.
2006-01-26 17:49:48 +00:00
Jan Djärv
a8a3572009 * xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.
2005-12-27 10:39:51 +00:00
Jan Djärv
90f2e16b15 * xfns.c (Fx_uses_old_gtk_dialog): New function.
* gtkutil.c (xg_uses_old_file_dialog): New function.
(xg_get_file_name): Use xg_uses_old_file_dialog.

* gtkutil.h: Declare xg_uses_old_file_dialog.
2005-12-23 11:34:13 +00:00
Dan Nicolaescu
20d1c5c566 (Fx_backspace_delete_keys_p): In case we cannot determine
the answer, return `lambda', not nil.
2005-12-19 04:28:01 +00:00
Jan Djärv
bf63eb6967 * xfns.c (compute_tip_xy): Handle negative dx and dy.
* w32fns.c (compute_tip_xy): Ditto

* macfns.c (compute_tip_xy): Ditto
2005-12-14 20:58:33 +00:00
Jan Djärv
7e8410d1ab * (compute_tip_xy): Calculate root_y the same way as root_x,
i.e. dy is offset from top of frame instead of bottom.
2005-12-12 09:32:59 +00:00
Richard M. Stallman
e358e05216 (Fx_create_frame): Reinstate previous change. 2005-12-10 00:38:29 +00:00
Richard M. Stallman
2fda697741 (Fx_create_frame): Comment out previous change. 2005-12-08 15:49:11 +00:00
Károly Lőrentey
225c13a5d7 (Fx_create_frame): Initialize Vdefault_minibuffer_frame, when needed. 2005-12-07 17:06:33 +00:00
Jan Djärv
47c53789fd * xfns.c (x_real_positions): int ign => unsigned int.
(xg_set_icon_from_xpm_data): Remove unused variable err.
(x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
to remove compiler warning.
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
2005-12-02 14:55:14 +00:00
Chong Yidong
9f7b984bae * xfns.c (xg_set_icon_from_xpm_data): New function.
* gnu.h (gnu_xpm_bits): Renamed from gnu_bits.
	(gnu_xbm_bits): Renamed from gnu_bits (xbm version).

	* xterm.c (x_bitmap_icon): Use the xpm if available.
2005-11-16 16:38:48 +00:00
Richard M. Stallman
49be9d28f7 (syms_of_xfns): Provide `x' as feature. 2005-10-28 16:28:43 +00:00
Jan Djärv
84f2588006 * xfns.c (Fx_create_frame): Make bitmapIcon have default on. 2005-10-09 06:56:31 +00:00
Kim F. Storm
df63049686 (x_encode_text): Declare static. Add FREEP arg.
(x_set_name_internal): Call x_encode_text with new FREEP arg to
know if xfree is needed instead of guessing.
2005-09-12 10:27:20 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Richard M. Stallman
29e952546a (Fx_show_tip): Pass new arg to try_window. 2005-06-25 22:37:06 +00:00