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

18730 commits

Author SHA1 Message Date
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
Kim F. Storm
c86364354c *** empty log message *** 2004-10-26 12:59:20 +00:00
Kim F. Storm
39900c4efc (Fcall_interactively): Add 'U' code to get the up-event discarded by a
previous 'k' or 'K' argument.
2004-10-26 12:56:47 +00:00
David Kastrup
5629f29b3c (syms_of_buffer): Fix a few typos. 2004-10-26 09:45:16 +00:00
Jan Djärv
4f2f546e71 * xsmfns.c: Put empty line between comment and function body.
Use two spaces before comment end.
2004-10-26 09:28:01 +00:00
Kenichi Handa
fc1062f541 (fontset_pattern_regexp): Optimize for the case that
PATTERN is full XLFD.
2004-10-25 02:03:47 +00:00
Kenichi Handa
be13f5e59d (enum reg_errcode_t): New value REG_ERANGEX. 2004-10-24 03:58:24 +00:00
Kenichi Handa
b3e4c89795 (re_error_msgid): Add an entry for REG_ERANGEX.
(regex_compile): Return REG_ERANGEX if appropriate.
2004-10-24 03:56:51 +00:00
Kenichi Handa
d0ee2ed32e *** empty log message *** 2004-10-22 13:17:31 +00:00
Kenichi Handa
365d14677e (Ftranslate_region_internal): New function.
(syms_of_editfns): Defsubr it.
2004-10-22 13:09:39 +00:00
Jan Djärv
63ea8ea52f * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. 2004-10-22 12:56:09 +00:00
Jan Djärv
c27ed90af5 * xterm.h (x_output): New member `xic_base_fontname'.
(FRAME_XIC_BASE_FONTNAME): New macro.
(xic_free_xfontset): Declare.

* xfns.c (xic_create_xfontset): Share fontsets between frames
based on base_fontname.
(xic_free_xfontset): New function.
(free_frame_xic): Use it.
(xic_set_xfontset): Ditto.

* xterm.c (xim_destroy_callback): Ditto.
2004-10-21 18:38:58 +00:00
Jason Rumney
5950869993 (x_draw_glyph_string): Use overline_color for overlines. 2004-10-20 20:09:10 +00:00
Jan Djärv
3aca207808 * xterm.h (XSync): If USE_GTK, define XSync as process_all and then
XSync.
2004-10-20 16:53:27 +00:00
Jan Djärv
dede279216 * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF):
New variables and constant.
(main): Calculate heap_bss_diff.  If we are dumping and the
heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32
and exec ourself again.
(Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF
print a warning.

* lastfile.c: Make my_endbss and my_endbss_static available on all
platforms.

* Makefile.in (RUN_TEMACS): Remove @SETARCH@.
* config.in (HAVE_PERSONALITY_LINUX32): Regenerate.
2004-10-20 16:23:30 +00:00
Luc Teirlinck
1dc5ba0150 (Flocal_variable_if_set_p): Doc fix. 2004-10-20 02:20:44 +00:00
Jason Rumney
950090be06 (init_environment): Set emacs_dir correctly when running
emacs from the build directory.
2004-10-19 19:09:37 +00:00
Richard M. Stallman
8550b998e8 (Fdelete_and_extract_region): If region is empty, return null string. 2004-10-19 16:58:30 +00:00
Jan Djärv
08dedea656 * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left
and canon_width.
(xg_frame_cleared): Removed.

* gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose,
xg_find_top_left_in_fixed): Removed.
(xg_create_scroll_bar): Put an event box widget between
the scroll bar widget and the edit widget.
(xg_show_scroll_bar): Show the parent widget (the event box).
(xg_remove_scroll_bar): Destroy parent (the event box) also.
(xg_update_scrollbar_pos): Remove arguments real_left and canon_width.
Move the parent (the event box) widget inside the fixed widget.
Move window clear to xterm.c.

* gtkutil.h (xg_frame_cleared): Removed.

* xterm.c (x_clear_frame): Remove call to xg_frame_cleared
(x_scroll_bar_create, XTset_vertical_scroll_bar): Remove
arguments left and width to xg_update_scrollbar_pos.
(XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also.
2004-10-19 16:41:04 +00:00
Jan Djärv
6bd8015d00 * xterm.c (x_clear_frame): Remove call to xg_frame_cleared
(x_scroll_bar_create, XTset_vertical_scroll_bar): Remove
arguments left and width to xg_update_scrollbar_pos.
(XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also.
2004-10-19 16:40:34 +00:00
Jan Djärv
1755a39794 * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose,
xg_find_top_left_in_fixed): Removed.
(xg_create_scroll_bar): Put an event box widget between
the scroll bar widget and the edit widget.
(xg_show_scroll_bar): Show the parent widget (the event box).
(xg_remove_scroll_bar): Destroy parent (the event box) also.
(xg_update_scrollbar_pos): Remove arguments real_left and canon_width.
Move the parent (the event box) widget inside the fixed widget.
Move window clear to xterm.c.
2004-10-19 16:40:03 +00:00
Jan Djärv
1ca69aa4d3 * gtkutil.h (xg_frame_cleared): Removed. 2004-10-19 16:39:24 +00:00
Kim F. Storm
7a6b6cce54 (display_mode_element): Fix display of wide chars.
From Kenichi Handa  <handa@m17n.org>.
2004-10-18 22:53:13 +00:00
Kim F. Storm
e3e5546371 *** empty log message *** 2004-10-18 22:52:44 +00:00
Jan Djärv
8433889043 * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to
gdk_window_clear and move gdk_window_process_all_updates after
clear so events are sent to the X server in correct order.
2004-10-18 16:17:15 +00:00
Kenichi Handa
6e1b0d8c4f (fs_load_font): Use fast_string_match_ignore_case for
comparing font names.
(fs_query_fontset): Use fast_string_match for comparing fontset
names.
(list_fontsets): Likewise.
2004-10-18 12:28:18 +00:00
Kenichi Handa
be5f4dfb01 (fast_string_match_ignore_case): New function. 2004-10-18 12:26:36 +00:00
Kenichi Handa
a0aa1111d9 (fast_string_match_ignore_case): Extern it. 2004-10-18 12:26:02 +00:00