Commit graph

20455 commits

Author SHA1 Message Date
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
Chong Yidong
9b98e16125 * print.c (print_preprocess): Go to a deeper print_depth to avoid
print_object loop.
2005-12-14 20:49:46 +00:00
Kenichi Handa
89aa725ad6 (code_convert_region_unwind): GCPRO arg. 2005-12-14 00:43:36 +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
Jan Djärv
57134802f7 * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x,
i.e. dy is offset from top of frame instead of bottom.

* macfns.c (compute_tip_xy): Ditto.
* w32fns.c (compute_tip_xy): Ditto.
2005-12-12 09:32:15 +00:00
Jan Djärv
93c579e00e * gtkutil.c (SSDATA): New macro to remove compiler warnings.
(xg_get_image_for_pixmap, xg_create_frame_widgets)
(xg_get_file_with_chooser): Use SSDATA instead of SDATA.
2005-12-12 08:08:56 +00:00
Jan Djärv
b79c8219e8 * xmenu.c (menubar_selection_callback): Do nothing if the callback
is for an unselected radio menu item.
2005-12-12 08:08:43 +00:00
Jan Djärv
3b006f5b67 * gtkutil.c (SSDATA): New macro to remove compiler warnings.
(xg_get_image_for_pixmap, xg_create_frame_widgets)
(xg_get_file_with_chooser): Use SSDATA instead of SDATA.

* xmenu.c (menubar_selection_callback): Do nothing if the callback
is for an unselected radio menu item.
2005-12-12 08:08:23 +00:00
Richard M. Stallman
2cb33a9853 (syms_of_xdisp) <blink-cursor-alist>: Doc fix. 2005-12-11 15:40:37 +00:00
Richard M. Stallman
2231a9e22d (EQ): Use == so args are computed just once. 2005-12-11 15:35:51 +00:00
Richard M. Stallman
49daa5b162 (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE.
(Flookup_key): Doc fix.
(syms_of_keymap) <function-key-map>: Doc fix.
2005-12-11 15:35:14 +00:00
Juri Linkov
d7d1f75e5e *** empty log message *** 2005-12-11 09:57:08 +00:00
Juri Linkov
5203cd0380 (display_completion_list_1): Call `minibuffer_completion_contents'
instead of using `nil' as second arg of `Fdisplay_completion_list'.
(keys_of_minibuf): Unbind SPC in Vminibuffer_local_filename_completion_map
(see also related change on 2005-12-06).
2005-12-11 09:50:53 +00:00
Richard M. Stallman
06100606c1 (Frequire): Treat evaluating from a source file
like loading the file.
2005-12-11 05:10:08 +00:00
Richard M. Stallman
356e6d8de4 (Flog): Doc fix. 2005-12-11 05:09:00 +00:00
Richard M. Stallman
83c1cf6df6 (Finsert_file_contents): Set Vdeactivate_mark when we change the buffer. 2005-12-11 05:08:18 +00:00
Richard M. Stallman
7c0ab7d9e4 Comment and whitespace changes. 2005-12-11 05:07:16 +00:00
YAMAMOTO Mitsuharu
ac8fcf0f17 *** empty log message *** 2005-12-11 01:06:48 +00:00
YAMAMOTO Mitsuharu
4d4983fdb3 (syms_of_macselect) <mac-apple-event-map>:
Initialize to nil.  Keymap is now created in lisp/term/mac-win.el.
2005-12-11 01:06:29 +00:00
YAMAMOTO Mitsuharu
77892c7340 (main) [MAC_OS8]: Undo previous change. 2005-12-11 01:06:20 +00:00
YAMAMOTO Mitsuharu
4b3eb40742 *** empty log message *** 2005-12-10 01:50:23 +00:00
YAMAMOTO Mitsuharu
0f8dad4545 (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT event. 2005-12-10 01:50:12 +00:00
YAMAMOTO Mitsuharu
24d5a45ded (mac_make_lispy_event_code, mac_aedesc_to_lisp): Add externs.
(create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
(Fmac_get_preference): Add EXFUN.
2005-12-10 01:50:02 +00:00
YAMAMOTO Mitsuharu
6a0b5d3781 (Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
(Qpreferences): Remove variables.
(syms_of_macterm) : Don't initialize them.
(Qhicommand) [USE_CARBON_EVENTS]: New variable.
(syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
(init_required_apple_events, do_ae_open_application)
(do_ae_print_documents, do_ae_open_documents)
(do_ae_quit_application): Remove functions and prototypes.
(mac_ready_for_apple_events, Qundefined, init_apple_event_handler)
(mac_find_apple_event_spec): Add externs.
(mac_store_application_menu_event): Remove function.
(mac_store_apple_event, mac_make_lispy_event_code): New functions.
(mac_handle_command_event): Create Apple event from Carbon event.
Use mac_store_apple_event instead of mac_store_application_menu_event.
[MAC_OSX] (mac_store_services_event): Likewise.
(struct SelectionRange, SelectionRange): Remove struct and typedef.
[MAC_OS8] (main): Call init_apple_event_handler instead of
init_required_apple_events.
(mac_initialize) [MAC_OSX]: Likewise.
[!USE_CARBON_EVENTS] (mac_wait_next_event): Use
mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
2005-12-10 01:49:53 +00:00
YAMAMOTO Mitsuharu
28714a27a1 Include keymap.h.
(mac_ready_for_apple_events): New variable.
(Vmac_apple_event_map, Qmac_apple_event_class)
(Qmac_apple_event_id): New variables.
(syms_of_macselect): Initialize them.
(Qundefined, mac_store_apple_event): Add externs.
(struct apple_event_binding): New struct.
(find_event_binding_fun, find_event_binding)
(mac_find_apple_event_spec, defer_apple_events)
(mac_handle_apple_event, init_apple_event_handler)
(copy_scrap_flavor_data): New functions.
(Fmac_process_deferred_apple_events): New defun.
(syms_of_macselect): Defsubr it.
(mac_store_services_event): Fix extern.
(mac_handle_service_event): Don't allocate Lisp objects during
asynchronous input processing.  Use mac_store_services_event
instead of mac_store_application_menu_event.
2005-12-10 01:49:44 +00:00
YAMAMOTO Mitsuharu
31b6888a5c (Qundecoded_file_name): New variable.
(syms_of_mac): Initialize it.
(mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions.
[TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New
function.
(Fmac_coerce_ae_data): New defun.
(syms_of_mac): Defsubr it.
2005-12-10 01:49:36 +00:00
YAMAMOTO Mitsuharu
f66c49cc1c (Qmac_apple_event) [MAC_OS]: New variable.
(syms_of_keyboard) [MAC_OS]: Initialize it.
(make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT.
2005-12-10 01:49:24 +00:00
YAMAMOTO Mitsuharu
dac5344bda (init_image) [MAC_OS]: Don't call EnterMovies.
[!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
2005-12-10 01:49:15 +00:00
YAMAMOTO Mitsuharu
a7b2485287 (main) [MAC_OS8]: Call syms_of_keymap before syms_of_macselect. 2005-12-10 01:49:06 +00:00
YAMAMOTO Mitsuharu
a03f741a35 (macselect.o): Depend on keymap.h. 2005-12-10 01:48:55 +00:00
Richard M. Stallman
e358e05216 (Fx_create_frame): Reinstate previous change. 2005-12-10 00:38:29 +00:00
Eli Zaretskii
9ea74bfb03 *** empty log message *** 2005-12-09 19:30:35 +00:00
Eli Zaretskii
cb91d111be (w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog. 2005-12-09 19:29:58 +00:00
Kim F. Storm
84fdb82c52 *** empty log message *** 2005-12-09 09:44:24 +00:00
Kim F. Storm
e2de799989 From: Kyotaro HORIGUCHI (tiny change)
(Fvertical_motion): Force move if starting on stretch glyph.
2005-12-09 09:35:21 +00:00
Richard M. Stallman
2663a20493 *** empty log message *** 2005-12-08 18:08:38 +00:00
Richard M. Stallman
010b7eace0 (read_escape) <\s>: Don't treat strings specially. 2005-12-08 17:43:52 +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
Stefan Monnier
da8ec671f7 (keys_of_minibuf): Just unbind SPC in Vminibuffer_local_filename_completion_map
rather than forcing it explicitly to the same binding as the global map.
2005-12-06 15:53:58 +00:00
Ken Raeburn
88fde92a48 (truncate_undo_list): Avoid dangerous side effects in NILP argument. 2005-12-06 07:40:47 +00:00
Ken Raeburn
7723a3e52b (Fminibuffer_complete_and_exit): Avoid dangerous side effects in NILP argument. 2005-12-06 07:39:57 +00:00
Ken Raeburn
a3911e8c0a (internal_delete_file, Fread_file_name_internal): Avoid dangerous side effects in NILP argument. 2005-12-06 07:39:37 +00:00
Ken Raeburn
21ed6de35b (Fbyte_code): Avoid dangerous side effects in NILP argument. 2005-12-06 07:39:05 +00:00
Ken Raeburn
09706e1fc4 (Fkill_buffer): Avoid dangerous side effects in NILP argument. 2005-12-06 07:37:47 +00:00
Richard M. Stallman
fa0d4d0c09 *** empty log message *** 2005-12-06 02:07:54 +00:00
Richard M. Stallman
56ebfae2ca (enlarge_window): Eliminate arg preserve_before.
Assume it is 0.  All callers changed.
(Fenlarge_window, Fshrink_window): Likewise.
2005-12-06 02:03:23 +00:00
Eli Zaretskii
5a98616edf (compute_tip_xy): Put tip above pointer if it doesn't fit below. 2005-12-02 18:32:46 +00:00
Jan Djärv
1dbacb9046 * xterm.h: Add prototype for xg_set_icon_from_xpm_data.
* 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:57:23 +00:00