1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00
Commit graph

20503 commits

Author SHA1 Message Date
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
YAMAMOTO Mitsuharu
862c94ca8e (x_handle_dnd_message): Drag-and-drop items are now
stored in member `args' of struct input_event.
2005-12-19 08:31:33 +00:00
YAMAMOTO Mitsuharu
00cff0a110 (construct_drag_n_drop): Drag-and-drop items are now
stored in member `args' of struct input_event.
2005-12-19 08:31:23 +00:00
YAMAMOTO Mitsuharu
bf0f0659d9 (struct input_event): Fix comment for DRAG_N_DROP_EVENT. 2005-12-19 08:31:12 +00:00
YAMAMOTO Mitsuharu
cfe3a871cf (create_apple_event_from_event_ref): Remove 5th argument from extern. 2005-12-19 08:31:04 +00:00
YAMAMOTO Mitsuharu
70ed951a16 (mac_do_receive_drag): Drag-and-drop items are now
stored in member `args' of struct input_event.
(x_use_underline_position_properties): Undo 2005-07-13 change.
(syms_of_macterm) <x-use-underline-position-properties>: Likewise.
(mac_use_core_graphics, mac_wheel_button_is_mouse_2)
(mac_pass_command_to_system, mac_pass_control_to_system): New
boolean variables renamed from Lisp_Object ones
Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2,
Vmac_pass_command_to_system, and Vmac_pass_control_to_system.  All
uses changed.
(syms_of_macterm): DEFVAR_BOOL them.  Remove previous DEFVAR_LISPs.
Make them user options.
(mac_handle_command_event, mac_store_services_event): Call
create_apple_event_from_event_ref without 5th argument.
(backtranslate_modified_keycode): Mask off modifier keys that are
mapped to some Emacs modifiers before passing it to KeyTranslate.
(syms_of_macterm): Make variables `mac-emulate-three-button-mouse',
`mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options.
Fix docstrings of `mac-*-modifier'.
2005-12-19 08:30:56 +00:00
YAMAMOTO Mitsuharu
70e88ff1e4 (create_apple_event_from_event_ref): Remove arg `types'.
(do_applescript): Change argument types to Lisp_Object.  All uses
changed.
2005-12-19 08:30:27 +00:00
YAMAMOTO Mitsuharu
82de1de962 (make_lispy_event): Drag-and-drop items are now
stored in member `args' of struct input_event.
2005-12-19 08:30:17 +00:00
Kenichi Handa
ce03bf76b9 Copyright fixed 2005-12-19 07:04:44 +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
Eli Zaretskii
abeb585559 *** empty log message *** 2005-12-17 17:29:36 +00:00
Eli Zaretskii
bb49fc13a6 (bootstrap-temacs): Warn that parts of commands enclosed in $(ARGQUOTE)s
should not be split between two lines, as that will break with GNU Make >3.80,
when sh.exe is used and arg quoting is with '..'.
2005-12-17 17:25:20 +00:00
Chong Yidong
6b8dfbf78a 2005-12-17 Chong Yidong <cyd@stupidchicken.com>
* print.c (print_preprocess): Just signal an error if print_depth
	is exceeded.
2005-12-17 15:55:29 +00:00
Chong Yidong
04df9646f2 Revert last change. 2005-12-17 15:51:00 +00:00
Chong Yidong
2173b58252 * print.c (print_preprocess): Just signal an error if print_depth
is exceeded.
2005-12-17 15:46:16 +00:00
Eli Zaretskii
d912b87a54 Set a breakpoint on w32_abort. 2005-12-17 15:14:03 +00:00
Juri Linkov
2a502a3271 *** empty log message *** 2005-12-16 19:10:49 +00:00
Juri Linkov
b5e1e44946 (Fminibuffer_completion_contents): New Lisp function
created from minibuffer_completion_contents.
(minibuffer_completion_contents): Remove.
(do_completion, Fminibuffer_complete_word)
(Fminibuffer_completion_help): Replace minibuffer_completion_contents
with Fminibuffer_completion_contents.
(syms_of_minibuf): Add Sminibuffer_completion_contents.
(Fdisplay_completion_list): Doc fix.
(display_completion_list_1): Use `nil' for second arg of
`Fdisplay_completion_list'.
2005-12-16 19:03:17 +00:00
John Paul Wallington
eb2def1bc6 *** empty log message *** 2005-12-14 22:59:35 +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