1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

18757 commits

Author SHA1 Message Date
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
Kim F. Storm
b6189c3bda Remove (tiny change) comments for people who have signed papers
which covers the change.
2004-11-02 09:52:15 +00:00
Richard M. Stallman
29bb712734 *** empty log message *** 2004-11-02 09:28:48 +00:00
Richard M. Stallman
085db7de2d (replace_range_2): New function. 2004-11-02 09:14:11 +00:00
Richard M. Stallman
5d19ee8aa5 (casify_region): Handle changes in byte-length using replace_range_2. 2004-11-02 09:12:51 +00:00
Richard M. Stallman
37663086b1 (USAGE3): Delete --horizontal-scroll-bars, -hb. 2004-11-02 09:10:13 +00:00
Richard M. Stallman
d41b17ea2f (back_to_previous_visible_line_start):
Subtract 1 from pos when checking previous newline for invisibility.
2004-11-02 09:08:42 +00:00
Richard M. Stallman
dc297565e7 (window_scroll_pixel_based): Update preserve_y for header line if any.
(Fscroll_left, Fscroll_right): Don't call interactive_p;
use a new second argument instead.
2004-11-02 09:06:06 +00:00
Richard M. Stallman
c63df42bfa (Fcall_interactive_p): New function.
(interactive_p): Don't test INTERACTIVE here.
(Finteractive_p): Doc fix.

(Feval): Abort if INPUT_BLOCKED_P.
2004-11-02 08:59:26 +00:00
Jason Rumney
fe4dcb868e Use fast_string_match_ignore_case for comparing font names. 2004-11-02 08:55:10 +00:00
Jason Rumney
a3fe4aaf37 *** empty log message *** 2004-11-02 08:54:05 +00:00
Jan Djärv
f9d64bb358 * fileio.c (Fread_file_name): Pass Qt as fifth parameter to
Fx_file_dialog if only directories should be read.

* lisp.h: Fx_file_dialog takes 5 parameters.

* xfns.c (Fx_file_dialog): Both Motif and GTK version:  Add
parameter only_dir_p.
In Motif version, don't put DEFAULT_FILENAME in filter part of the
dialog, just text field part.  Do not add DEFAULT_FILENAME
to list of files if it isn't there.
In GTK version, pass only_dir_p parameter to xg_get_file_name.

* macfns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
only_dir_p instead of comparing prompt to "Dired".  When using
a save dialog, add option kNavDontConfirmReplacement, change title
to "Enter name", change text for save button to "Ok".

* w32fns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
only_dir_p instead of comparing prompt to "Dired".

* gtkutil.c (xg_get_file_with_chooser)
(xg_get_file_with_selection): New functions, only defined ifdef
HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW
respectively.
(xg_get_file_name): Add parameter only_dir_p.
Call xg_get_file_with_chooser or xg_get_file_with_selection
depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
(xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.

* gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
2004-11-02 08:21:16 +00:00
Jan Djärv
2a00cdb499 * config.in: Rebuild (added HAVE_GTK_FILE_*). 2004-11-02 07:34:28 +00:00
Kim F. Storm
bad49fc7c2 (connect_wait_mask, num_pending_connects): Only
declare and use them if NON_BLOCKING_CONNECT is defined.
(IF_NON_BLOCKING_CONNECT): New helper macro.
(wait_reading_process_output): Only declare and use local vars
Connecting and check_connect when NON_BLOCKING_CONNECT is defined.
(init_process): Initialize them if NON_BLOCKING_CONNECT defined.
2004-11-01 11:04:37 +00:00
Kim F. Storm
f6749d5d75 *** empty log message *** 2004-11-01 11:03:51 +00:00
Jason Rumney
e8ac5d8824 Delete region objects after use. 2004-11-01 08:52:47 +00:00
Jason Rumney
1a99fe1a39 *** empty log message *** 2004-11-01 08:51:57 +00:00
Jan Djärv
495ef86be2 * xmenu.c: Add prototypes for forward function declarations.
(popup_get_selection): Remove parameter do_timers, remove call to
timer_check.
(create_and_show_popup_menu, create_and_show_dialog): Remove
parameter do_timers from call to popup_get_selection.
2004-10-31 15:29:04 +00:00
Jan Djärv
12e6566a25 * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to
tool_bar_items and assign the result to f->tool_bar_items if
not equal.  Move BLOCK/UNBLOCK_INPUT from around call to
tool_bar_items to assignment of result.
2004-10-31 15:11:31 +00:00
Jan Djärv
fcdb28b473 * atimer.c (alarm_signal_handler): Do not call set_alarm if
pending_atmers is non-zero.
2004-10-31 12:25:46 +00:00
Kim F. Storm
35ec832e63 (margin_glyphs_to_reserve): Don't use ncols_scale_factor. 2004-10-31 00:05:18 +00:00
Kim F. Storm
1a1a0c4c73 *** empty log message *** 2004-10-31 00:04:52 +00:00
John Wiegley
a36f168006 2004-10-28 Will <will@glozer.net>
* macterm.c: allow user to assign key modifiers to the Mac Option
	key via a 'mac-option-modifier' variable.
2004-10-29 00:00:43 +00:00
Stefan Monnier
2d5864780c *** empty log message *** 2004-10-28 23:35:13 +00:00
Stefan Monnier
c917a8de07 (Vx_lost_selection_functions, Vx_sent_selection_functions):
Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks.
(x_handle_selection_request, x_handle_selection_clear)
(x_clear_frame_selections, syms_of_xselect): Adjust accordingly.
2004-10-28 23:28:20 +00:00
Richard M. Stallman
4f71c13ffd *** empty log message *** 2004-10-28 06:47:35 +00:00
Richard M. Stallman
95d62d8af3 (Fx_server_vendor, Fx_server_version): Doc fixes. 2004-10-28 06:37:48 +00:00
Stefan Monnier
068f384827 *** empty log message *** 2004-10-27 20:15:24 +00:00
Stefan Monnier
c5d4b96fe2 (scan_sexps_forward): Prefer 2-char comment-starter over a 1-char one. 2004-10-27 20:15:05 +00:00
Richard M. Stallman
4660a9e3d6 *** empty log message *** 2004-10-27 15:07:06 +00:00
Richard M. Stallman
ec9f1dd3ec (get_next_display_element): In mode lines,
treat newline and tab like other control characters.
2004-10-27 14:46:25 +00:00
Richard M. Stallman
281c172124 (Fmessage): Doc fix. 2004-10-27 11:02:06 +00:00
Richard M. Stallman
a9f2a45f70 Comment change. 2004-10-27 10:59:20 +00:00
Richard M. Stallman
2965dff979 (vmotion): When moving up, check the newline before.
Make prevline an int, not a Lisp_Object.
2004-10-27 10:57:40 +00:00
Kim F. Storm
233f3db624 Fix SAFE_FREE calls. Replace SAFE_FREE_LISP calls. 2004-10-26 22:38:50 +00:00
Kim F. Storm
e65837df54 (Fformat): Allocate discarded table with SAFE_ALLOCA.
Only allocate info and discarded tables once.
Fix SAFE_FREE calls.
2004-10-26 22:37:34 +00:00
Kim F. Storm
c33188d937 (USE_SAFE_ALLOCA): Add and init sa_must_free integer.
(SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
(SAFE_FREE): Test it to determine if we need to unwind to free.
Remove size arg.  All users changed.
(SAFE_FREE_LISP) Remove.  All users changed to use SAFE_FREE.
2004-10-26 22:37:02 +00:00
Jan Djärv
1442465dfd * gtkutil.c: Put empty line between comment and function body.
(xg_destroy_widgets): Renamed from remove_from_container.  Just
destroy all widgets in list.  Argument wcont removed.
(xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets
instead of remove_from_container.
(xg_display_close, xg_create_tool_bar, update_frame_tool_bar)
(free_frame_tool_bar): Add comment.

* xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME
is not NULL before strcmp.
2004-10-26 19:48:37 +00:00
Jan Djärv
71bacd4863 * gtkutil.c: Put empty line between comment and function body.
(xg_destroy_widgets): Renamed from remove_from_container.  Just
destroy all widgets in list.  Argument wcont removed.
(xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets
instead of remove_from_container.
(xg_display_close, xg_create_tool_bar, update_frame_tool_bar)
(free_frame_tool_bar): Add comment.
2004-10-26 19:48:07 +00:00
Jan Djärv
9db6ae810d * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME
is not NULL before strcmp.
2004-10-26 19:47:36 +00:00