Commit graph

20522 commits

Author SHA1 Message Date
Jan Djärv
82bc1fd69f * gtkutil.c (xg_get_file_with_chooser): Changed message shown
in file chooser.
2005-12-28 10:47:55 +00:00
Richard M. Stallman
6281e1e84d *** empty log message *** 2005-12-28 03:44:37 +00:00
Richard M. Stallman
721b7d9ee6 (readevalloop): Set PT and ZV in the proper buffer, not the current one. 2005-12-28 03:44:28 +00:00
Richard M. Stallman
1d69c50264 (Fminibuffer_message): Doc fix.
(read_minibuf): Set current_buffer->enable_multibyte_characters sooner.
2005-12-28 02:56:32 +00:00
Richard M. Stallman
fe5195e82e (do_autoload): Ignore elements of Vautoload_queue where car is not symbol. 2005-12-28 02:09:45 +00:00
Kenichi Handa
0d9fb28906 *** empty log message *** 2005-12-28 00:41:37 +00:00
Jan Djärv
ee5204f6db Formatting 2005-12-27 13:28:15 +00:00
Jan Djärv
ff9c9c598b * xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.

	* gtkutil.c (xg_toggle_visibility_cb): New function.
	(xg_get_file_with_chooser): Add toggle hidden files and a message
	to the new file chooser dialog.  Show hidden files if
	x_show_hidden_files is non-zero.
2005-12-27 10:40:26 +00:00
Jan Djärv
78c55a8031 * gtkutil.c (xg_toggle_visibility_cb): New function.
(xg_get_file_with_chooser): Add toggle hidden files and a message
 to the new file chooser dialog.  Show hidden files if
 x_show_hidden_files is non-zero.
2005-12-27 10:40:10 +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
Kenichi Handa
212cc638bd (lisp_string_width): Check multibyteness of STRING. 2005-12-27 05:47:21 +00:00
Richard M. Stallman
d7504d5c73 *** empty log message *** 2005-12-26 22:11:17 +00:00
Richard M. Stallman
3cece6938d Undo previous change. 2005-12-26 22:11:07 +00:00
Richard M. Stallman
9cb3833371 (undo.o): Undo previous change. 2005-12-26 22:10:18 +00:00
Richard M. Stallman
74338b5eb8 (last_point_position_window): Declare. 2005-12-26 22:07:42 +00:00
Luc Teirlinck
a273d9eb0d (undo.o): Depend on keyboard.h. 2005-12-26 18:36:37 +00:00
Luc Teirlinck
ac0526190a include keyboard.h. 2005-12-26 18:35:45 +00:00
Luc Teirlinck
3f951594de extern last_point_position_window. 2005-12-26 18:35:10 +00:00
Luc Teirlinck
403c00a573 *** empty log message *** 2005-12-26 18:32:36 +00:00
Luc Teirlinck
0ad017ce77 *** empty log message *** 2005-12-26 18:25:58 +00:00
Richard M. Stallman
91e25f5e6f Depend on window.h.
(record_point): Save old point from the correct window.
2005-12-26 16:33:05 +00:00
Richard M. Stallman
bb0e1d19c7 (last_point_position_window): New variable.
(command_loop_1): Set last_point_position_window.
(syms_of_keyboard): Init it.
2005-12-26 16:31:36 +00:00
Richard M. Stallman
066185fc2e (undo.o): Depend on window.h. 2005-12-26 16:30:21 +00:00
Richard M. Stallman
cad1051b1f *** empty log message *** 2005-12-26 04:51:58 +00:00
Richard M. Stallman
47b82df943 (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'. 2005-12-26 04:46:06 +00:00
Richard M. Stallman
989e66e151 (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. 2005-12-26 04:45:11 +00:00
Karl Berry
d52c26e925 FreeBSD and m/amdx86-64.h 2005-12-25 19:29:28 +00:00
YAMAMOTO Mitsuharu
14af1e44ad (TYPE_FILE_NAME): New define.
(posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
2005-12-24 02:51:04 +00:00
YAMAMOTO Mitsuharu
0e0a1663cc Don't include sys/param.h.
(init_coercion_handler): Add extern.
[MAC_OS8] (main): Call init_coercion_handler.
(mac_initialize) [MAC_OSX]: Likewise.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of
Apple event data for translation from/to file names.
2005-12-24 02:50:45 +00:00
YAMAMOTO Mitsuharu
d62ff4c3cc [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use coercion of Apple event
data for translation from/to file names.
2005-12-24 02:50:34 +00:00
YAMAMOTO Mitsuharu
7ce8b6381a (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Add
prototypes.  Make static.
(mac_aedesc_to_lisp): Initialize err to noErr.
(mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
(init_coercion_handler): New functions.
(Fmac_coerce_ae_data): Use coercion of Apple event data for
translation from/to file names.
2005-12-24 02:50:11 +00:00
YAMAMOTO Mitsuharu
2d22e7edf2 [MAC_OS] (find_image_fsspec): Use coercion of Apple event data for
translation from/to file names.
2005-12-24 02:50:00 +00:00
Eli Zaretskii
bab3eee156 (insert, insert_and_inherit, insert_before_markers)
(insert_before_markers_and_inherit): Make sure FROM is correct when
`after-change-functions' are called.
2005-12-23 17:37:50 +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
Richard M. Stallman
0ee01fffb7 *** empty log message *** 2005-12-23 02:45:09 +00:00
Richard M. Stallman
d130d1298b (xmenu_show): Call inhibit_garbage_collection. 2005-12-22 23:30:36 +00:00
YAMAMOTO Mitsuharu
b73e4d84e0 (mac_per_char_metric): Add prototype.
(x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype.
(mac_query_char_extents): New function.
(x_per_char_metric): Use it.
(XLoadQueryFont): Likewise.  Consolidate min/max_bounds calculations.
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Use
mac_per_char_metric instead of x_per_char_metric.
(mac_text_extents_16): New function.
(mac_compute_glyph_string_overhangs): Use it.
(mac_unload_font): Free member `bounds' in struct MacFontStruct.
2005-12-22 08:17:30 +00:00
YAMAMOTO Mitsuharu
06505fd848 (XCharStruct): Remove member `valid_p'.
(STORE_XCHARSTRUCT): Don't set member `valid_p'.
(XCharStructRow): New typedef.
(XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): New
macros.
(struct MacFontStruct): Add member `bounds'.  Remove member
`per_char'.  All uses for QuichDraw Text fonts are changed to
`bounds.per_char'.  ATSUI font bounds are represented as an array
`bounds.rows' of XCharStructRow's, each of which consists of a
bitmap of valid entries and an array of char bounds.
2005-12-22 08:17:01 +00:00
YAMAMOTO Mitsuharu
26ab4ea8c4 (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. 2005-12-22 08:16:53 +00:00
Richard M. Stallman
da3863b559 *** empty log message *** 2005-12-22 00:39:46 +00:00
Stefan Monnier
a425bd036e (Fdisplay_completion_list): Use XCAR/XCDR.
(Fminibuffer_completion_help): Remove duplicates before display.
2005-12-21 17:33:40 +00:00
Károly Lőrentey
aa0b0cd9bc (print_preprocess): Don't loose print_depth levels while iterating. 2005-12-21 15:37:25 +00:00
YAMAMOTO Mitsuharu
5a61ec1817 (struct mac_output): Remove unused member
menu_command_in_progress.
2005-12-21 12:31:22 +00:00
YAMAMOTO Mitsuharu
4036ffb904 (Qmac_apple_event): Add extern.
(set_frame_menubar, mac_menu_show keymp_panes)
(single_keymap_panes, list_of_panes, list_of_item)
(single_menu_item): Add argument types to prototypes.
(mac_dialog_show) [HAVE_DIALOGS]: Likewise.
(struct skp): New struct (from xmenu.c).
(single_keymap_panes, single_menu_item, list_of_panes)
(list_of_item): Sync with xmenu.c.
(Fx_popup_menu, Fx_popup_dialog): Likewise.  Don't get window from
POSITION if it is mac-apple-event event.
(menubar_selection_callback): Don't use menu_command_in_progress.
(set_frame_menubar): First parse all submenus, then make
widget_value trees from them.  Don't allocate any widget_value
objects until we are done with the parsing.
(parse_single_submenu, digest_single_submenu): New functions.
(single_submenu): Function deleted, replaced by those two.
(install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
create or dispose of EventHandlerUPP.  Install hander to all submenus.
(mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
instead of ENCODE_SYSTEM.
(free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
integer values.
[HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).
(add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to
format menu item string.  Don't use NULL for integer value.
2005-12-21 12:31:02 +00:00
Juri Linkov
3bdba51db2 *** empty log message *** 2005-12-20 21:50:23 +00:00
Juri Linkov
c1d9dffd9a (Fx_popup_menu): Add `else' to set Vmenu_updating_frame to nil
only if position is nil.
2005-12-20 21:38:27 +00:00
Juri Linkov
76a3c2cda5 (Fx_popup_menu): Set Vmenu_updating_frame to f if
position is non-nil, else set it to nil.
2005-12-20 21:37:36 +00:00
Stefan Monnier
addcdb7c89 (Vfunction_key_map): Docstring fix: mention that bindings can be functions. 2005-12-19 15:46:13 +00:00
YAMAMOTO Mitsuharu
faef8681cb (syms_of_macterm) <mac-allow-anti-aliasing>: Fix unintended default
value change.
2005-12-19 09:56:00 +00:00
YAMAMOTO Mitsuharu
d6a90a49de *** empty log message *** 2005-12-19 08:31:44 +00:00