Commit Graph

18796 Commits

Author SHA1 Message Date
Eli Zaretskii
3f8ea68c98 *** empty log message *** 2004-11-08 13:02:27 +00:00
Eli Zaretskii
3c14598ca1 Move #include "systime.h" before <sys/resource.h>.
Don't include <sys/time.h> explicitly.
Include <stdio.h> unconditionally, not just on MacOS.
2004-11-08 12:04:07 +00:00
Kenichi Handa
a653f81218 (fontset_pattern_regexp): Cancel my previous change;
don't pay attention to '\' before '*'.
(fontset_pattern_regexp): Change the meaning of the second arg.
(Fnew_fontset): Call fs_query_fontset, not Fquery_fontset.
(check_fontset_name): Try NAME as literal at first, and if it
failes, try NAME as pattern.
2004-11-08 00:38:48 +00:00
Jan Djärv
c37caf9d6b * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. 2004-11-07 21:59:19 +00:00
Andreas Schwab
b72915a740 Don't declare Fmsdos_downcase_filename. 2004-11-07 11:08:45 +00:00
Andreas Schwab
b7f3499735 Declare Fmsdos_downcase_filename. 2004-11-07 11:06:32 +00:00
Jan Djärv
238a44a865 * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
comparisons with integers instead of Lisp_Object address.
(Fmsdos_set_keyboard): Declare argument allkeys.

* msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.

* dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
int/Lisp_Object mixup.

* fileio.c: Ditto.
2004-11-07 09:13:26 +00:00
Steven Tamm
21acf12465 editfns.c: Adding in better patch 2004-11-07 05:57:58 +00:00
Steven Tamm
31141c132b editfns.c: Need to include sys/time.h before resource.h on darwin. 2004-11-07 05:57:08 +00:00
Richard M. Stallman
f28c1bd9cd (command_loop_1): Change Vtransient_mark_mode
before deciding whether to inctivate mark.
2004-11-07 03:50:11 +00:00
Richard M. Stallman
c9aa6a4184 (Fcall_interactively): Avoid reusing EVENT for other data. 2004-11-07 03:48:56 +00:00
Richard M. Stallman
e1e419ecc6 (merge_named_face): GCPRO the face_name in the
named_merge_point struct that we make.
(merge_face_heights): Eliminate GCPRO arg.  All callers changed.
2004-11-07 03:47:09 +00:00
Andreas Schwab
3b6536b101 Whitespace fixup. 2004-11-07 01:57:27 +00:00
Eli Zaretskii
6159c232a6 *** empty log message *** 2004-11-06 17:04:23 +00:00
Eli Zaretskii
32bfb2d565 (sxhash): As far as possible, merge calculation of
hash code for symbols and strings.
2004-11-06 17:01:27 +00:00
Eli Zaretskii
4211ee7d6c (Fget_internal_run_time): New function.
(syms_of_data): Defsubr it.
2004-11-06 17:00:37 +00:00
Eli Zaretskii
59dede2226 *** empty log message *** 2004-11-06 16:54:06 +00:00
Eli Zaretskii
ea92fc9ff2 Regenerate. 2004-11-06 16:53:38 +00:00
Eli Zaretskii
27540e8151 *** empty log message *** 2004-11-06 12:12:23 +00:00
Eli Zaretskii
5ff00c425a (syms_of_frame): Fix the example in the doc string. 2004-11-06 11:55:32 +00:00
Jan Djärv
df470e3b0b * eval.c (Feval): Remove check for INPUT_BLOCKED_P.
* xmenu.c (popup_get_selection, create_and_show_popup_menu)
(create_and_show_dialog): Revert change from 2004-10-31.
2004-11-06 07:47:27 +00:00
Luc Teirlinck
4cc8522cb9 *** empty log message *** 2004-11-05 23:41:56 +00:00
Luc Teirlinck
6cf374b13f (syms_of_macros) <defining-kbd-macro>: Doc fix. 2004-11-05 22:46:28 +00:00
Kim F. Storm
c069fee4e7 (print_object): Print Lisp_Misc_Save_Value objects. 2004-11-05 22:46:17 +00:00
Kim F. Storm
a849088643 *** empty log message *** 2004-11-05 22:45:54 +00:00
Kim F. Storm
d4a42098b2 (Ffile_modes): Doc fix.
(auto_save_1): Check for Ffile_modes nil value.
2004-11-05 12:33:07 +00:00
Kim F. Storm
cc68f410e5 (x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests, x_handle_selection_request)
(x_handle_selection_clear): Remove prototypes.
(x_handle_selection_event): Add prototype.
2004-11-05 11:31:03 +00:00
Kim F. Storm
958f04e8f0 * xterm.c (handle_one_xevent): Don't queue X selection events
here, it may be too late if we start queuing after we have already
stored some selection events into the kbd buffer.
(struct selection_event_queue, queue, x_queue_selection_requests)
(x_queue_event, x_unqueue_events, x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests): Remove/move to xselect.c.
(x_catch_errors_unwind): Block input around final XSync.
2004-11-05 11:30:44 +00:00
Kim F. Storm
dd0fe424b2 * xselect.c (struct selection_event_queue, selection_queue)
(x_queue_selection_requests, x_queue_event)
(x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests): Add new queue for selection
input events to replace previous XEvent queue in xterm.c.
(queue_selection_requests_unwind): Adapt to new queue.
(x_reply_selection_request): Adapt to new queue.  Unexpect
wait_object in case of x errors (memory leak).
(x_handle_selection_request, x_handle_selection_clear): Make static.
(x_handle_selection_event): New function.  May queue selection events.
(wait_for_property_change_unwind): Use save_value instead of cons.
Clear property_change_reply_object.
(wait_for_property_change): Abort if already waiting.
Use save_value instead of cons for unwind data.
(x_handle_property_notify): Skip events already arrived, but don't
free them, as "arrived" field is checked by wait_for_property_change,
and it will be freed by unwind or explicit unexpect_property_change.
(x_get_foreign_selection): Add to new queue.
(receive_incremental_selection): Don't unexpect wait_object when done
as it has already been freed by previous wait_for_property_change.
2004-11-05 11:30:31 +00:00
Kim F. Storm
87d78665be (kbd_buffer_unget_event): Add prototype. 2004-11-05 11:30:12 +00:00
Kim F. Storm
e3f6e7c7d0 (kbd_buffer_store_event_hold): Remove obsolete code.
(kbd_buffer_unget_event): New function.
(kbd_buffer_get_event, swallow_events): Combine SELECTION events
and use x_handle_selection_event.
(mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT.
2004-11-05 11:30:01 +00:00
Kim F. Storm
36a2b04c38 *** empty log message *** 2004-11-05 11:05:08 +00:00
Jan Djärv
9c3ad9e13b * xselect.c (TRACE3): New debug macro.
(x_reply_selection_request): Use it.
(receive_incremental_selection): In call to TRACE0, the name of
a symbol is in xname.
2004-11-05 07:05:13 +00:00
Kim F. Storm
6cc06608ad (fontset_pattern_regexp): Use unsigned char. 2004-11-04 23:12:33 +00:00
Kim F. Storm
a33b89de67 *** empty log message *** 2004-11-04 23:08:07 +00:00
Jan Djärv
88208bb85c * fileio.c (Fnext_read_file_uses_dialog_p): New function. 2004-11-04 15:19:49 +00:00
Jan Djärv
0a4f23f30e * gtkutil.h: Declare use_old_gtk_file_dialog.
* gtkutil.c: Make use_old_gtk_file_dialog non-static.
(xg_initialize): Moved DEFVAR_BOOL for use_old_gtk_file_dialog ...
* xfns.c (syms_of_xfns): ... to here.
2004-11-04 15:05:27 +00:00
Jan Djärv
a872928c52 * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if
it doesn't start with /.
2004-11-04 14:18:22 +00:00
Richard M. Stallman
89bf74f828 Comment change. 2004-11-04 10:04:16 +00:00
Kenichi Handa
b912921c67 (fontset_pattern_regexp): If '*' is preceded by '\',
treat it as a literal character.
2004-11-04 02:28:51 +00:00
Kim F. Storm
decf402014 (ppt): New function. 2004-11-03 12:49:39 +00:00
Kim F. Storm
c524d9a6da *** empty log message *** 2004-11-03 12:49:24 +00:00
Jan Djärv
a11e1dce8f * xterm.c (x_window_to_scroll_bar): Only call
xg_get_scroll_id_for_window if toolkit scroll bars are used.
2004-11-02 16:25:50 +00:00
Jan Djärv
8cfd0f3669 * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead
of save.
2004-11-02 15:41:38 +00:00
Andreas Schwab
a93563fdf6 (Fscroll_right): Fix last change. 2004-11-02 14:42:40 +00:00
Kim F. Storm
aba637ec5b From: YAMAMOTO Mitsuharu
(Fcall_process): Block input around vfork.
2004-11-02 10:10:35 +00:00
Kim F. Storm
ae8bc416df (callproc.o): Depend on blockinput.h atimer.h systime.h. 2004-11-02 10:09:50 +00:00
Kim F. Storm
2b2d59d8db *** empty log message *** 2004-11-02 10:09:14 +00:00
Kim F. Storm
4b664e7618 (Fcalled_interactively_p): Rename from Fcall_interactive_p.
(syms_of_eval): Defsubr it.
2004-11-02 10:00:14 +00:00
Kim F. Storm
ca28104dfd *** empty log message *** 2004-11-02 09:59:28 +00:00