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

10633 commits

Author SHA1 Message Date
Richard M. Stallman
9dd935ee61 (make_frame): Init menu_bar_items field to 0. 1994-03-02 03:43:07 +00:00
Karl Heuer
74d7aee80f Initial revision 1994-03-02 03:19:26 +00:00
Karl Heuer
f2ac12d570 Use -g with the native compiler. 1994-03-02 03:19:12 +00:00
Richard M. Stallman
47c64747da (del_range_1): New function.
(del_range): Use it.
1994-03-02 00:55:05 +00:00
Karl Heuer
bcb61d60fc (memory_full): Use new variable memory_signal_data with precomputed value
instead of trying to build it after memory is already exhausted.
1994-02-28 20:20:22 +00:00
Fred Pierresteguy
0f7159e3b0 (xmenu_show): Test XtWindowToWidget before inserting into the event_queue. 1994-02-28 13:03:13 +00:00
Fred Pierresteguy
82aebaf480 (XTread_socket): For case ClientMessage and Xatom_wm_delete_window, use
x_any_window_to_frame.
1994-02-28 12:57:12 +00:00
Richard M. Stallman
b1d07009bf (LD_SWITCH_SYSTEM): New definitions, with #undef. 1994-02-26 20:49:21 +00:00
Richard M. Stallman
7ea5afd257 Comment change. 1994-02-26 20:47:37 +00:00
Karl Heuer
a0932daa92 (sys_subshell): New function, split from sys_suspend. 1994-02-26 05:55:03 +00:00
Karl Heuer
8026024c1b (Fsuspend_emacs): New variable cannot-suspend forces a subshell even if the
system seems to support job control.
1994-02-26 05:54:26 +00:00
Karl Heuer
8f6ea2e9b7 (Fset_window_configuration): Allow for menu-bar-lines to have changed since
the configuration was created.
1994-02-26 04:24:37 +00:00
Karl Heuer
d00c875cf6 (OVERLAY_POSITION): Don't check which buffer it points to. 1994-02-26 04:05:17 +00:00
Richard M. Stallman
270a208f61 (Vsystem_key_alist): Renamed from Vvendor_key_alist.
(syms_of_keyboard): Rename Lisp var to system-key-alist.
1994-02-26 03:42:28 +00:00
Karl Heuer
681410a1fb Delete extra backslash on last line of macro. 1994-02-26 02:20:31 +00:00
Karl Heuer
7ea9c0209a (compute_motion): Allow for invisible overlays in next_invisible lookahead. 1994-02-25 21:22:25 +00:00
Karl Heuer
fe3d692136 (display_text_line): Allow for invisible overlays in next_invisible lookahead. 1994-02-25 21:21:53 +00:00
Fred Pierresteguy
47d5317538 (EmacsFrameSetCharSize): Set coordinates values to the toplevel widget. 1994-02-25 17:45:51 +00:00
Fred Pierresteguy
13ce2d73e4 (XTread_socket): For case ConfigureNotify, call x_any_window_to_frame.
[USE_X_TOOLKIT]: Call XTranslateCoordinates for case ConfigureNotify
when send_event is 0 and when the event is relative to toplevel widget.
1994-02-25 09:29:20 +00:00
Fred Pierresteguy
982a94d930 (EmacsFrameSetCharSize): Call check_frame_size and update
vertical_scroll_bar_extra.
Call SET_FRAME_GARBAGED.
1994-02-25 09:10:22 +00:00
Karl Heuer
f765858ec5 *** empty log message *** 1994-02-25 01:30:59 +00:00
Richard M. Stallman
4ff37b0873 (Fload): Cast the args to stat. 1994-02-24 21:50:10 +00:00
Karl Heuer
294634fb26 (direct_output_forward_char): Use Fget_char_property to test for invisibility. 1994-02-24 20:08:54 +00:00
Karl Heuer
ef4d2f9e96 (direct_output_for_insert): Fix comment. 1994-02-24 20:04:27 +00:00
Karl Heuer
67406ef460 (compute_motion, vmotion): Use Fget_char_property to test for invisibility. 1994-02-24 20:01:13 +00:00
Karl Heuer
3ae8ced7cb (try_window, display_text_line): Use Fget_char_property to test for invisibility. 1994-02-24 20:00:34 +00:00
Karl Heuer
e885523c6e (try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property. 1994-02-24 19:42:35 +00:00
Karl Heuer
99830d6315 (Fget_char_property): Fix docstring. 1994-02-24 19:24:37 +00:00
Karl Heuer
f5957179cf (Fget_char_property): New function. 1994-02-24 19:18:32 +00:00
Karl Heuer
0fa767e7a9 (sort_overlays): Allow for null window. 1994-02-24 19:08:19 +00:00
Fred Pierresteguy
31ac8d8c42 (x_window): Call XChangeWindowAttributes with the standard
event set to make all these events reach the Emacs frame.
1994-02-24 12:54:54 +00:00
Richard M. Stallman
78589e07a8 (Fx_popup_menu): Allow t as position, meaning use mouse pos.
Allow nil as position, meaning just precompute equiv-key data.
Mouse events have coords in pixel units.

(menu_item_equiv_key): Cached equiv-key data is a sublist.

Most of file rewritten.
(menu_items, menu_items_*): New variables.
(MENU_ITEMS_*): New macros.
(init_menu_items, discard_menu_items, push_menu_pane, push_menu_item)
(finish_menu_items): New functions.
(menu_item_enabled_p): New function.
(keymap_panes, single_keymap_panes): Major rewrite; most args changed.
(list_of_panes, list_of_items): Major rewrite; most args changed.
(Fx_popup_menu): Major rewrite.  Now independent of display mechanism.
No more conditionals here.
(set_menu_items, free_menu_items): Functions deleted.
(xmenu_show): Both versions rewritten to work from menu_items
and to do all the conditionalized things that were in Fx_popup_menu.
(unread_menu_bar_button, other_menu_bar_item_p): New functions.
(check_mouse_other_menu_bar): New function.
1994-02-24 08:07:16 +00:00
Richard M. Stallman
1db4cfb25b (Fy_or_n_p): Use a popup menu if reached via mouse command.
(Fyes_or_no_p): Likewise.
1994-02-24 08:02:10 +00:00
Richard M. Stallman
411acee307 (mouse_get_pos): Don't convert to glyph units. 1994-02-24 06:22:50 +00:00
Richard M. Stallman
2b5c9e71c3 (construct_mouse_click): Don't convert to glyph units.
(XTmouse_position): Don't convert to glyph units.

(XTmouse_position): Use x_any_window_to_frame.
1994-02-24 06:22:23 +00:00
Richard M. Stallman
5384466ade (Fmouse_position): Convert to glyph units. 1994-02-24 06:20:30 +00:00
Richard M. Stallman
9e20143afc (make_lispy_movement, make_lispy_event):
In non-scrollbar mouse case, return coords in pixel units.
1994-02-24 06:19:34 +00:00
Richard M. Stallman
d8858cfe4a (ELF_BSS_SECTION_NAME): New macro (config.h may override).
(unexec): Use it.
1994-02-24 05:40:30 +00:00
Richard M. Stallman
dcdffbf66a (Fkill_buffer): Call the Vkill_buffer_query_functions.
(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
1994-02-24 05:34:16 +00:00
Karl Heuer
165c67142a *** empty log message *** 1994-02-23 23:04:30 +00:00
Richard M. Stallman
1c5ceaf673 Include usg5-4.h.
(LIBS_SYSTEM, LINKER, START_FILES, LIB_STANDARD): Definitions moved here.
1994-02-23 19:47:45 +00:00
Richard M. Stallman
7aa5f3bc6d [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
(LD_SWITCH_MACHINE): Definitions moved here.
1994-02-23 19:47:30 +00:00
Richard M. Stallman
fbe92c1d7a NEWSOS5 conditional deleted.
[NEWSOS5] (START_FILES, LIB_STANDARD, C_DEBUG_SWITCH)
(C_OPTIMIZE_SWITCH, LD_SWITCH_MACHINE): Definitions moved away.
1994-02-23 19:47:11 +00:00
Richard M. Stallman
a1d2b64a33 (Finsert_file_contents): If REPLACE, always do lseek.
Exit main loop if INSERTED reaches TOTAL.
1994-02-23 00:33:13 +00:00
Karl Heuer
9e7b7d21ec New path PATH_DOC for doc-directory. 1994-02-22 23:51:48 +00:00
Karl Heuer
35a2f4b8cb (syms_of_callproc): New variable Vdoc_directory.
(init_callproc_1): Initialize it.
1994-02-22 23:50:27 +00:00
Karl Heuer
ba87052134 (get_doc_string, Snarf_documentation): Use new variable doc_directory. 1994-02-22 23:49:01 +00:00
Karl Heuer
c65be0e127 New variable doc_directory. 1994-02-22 23:46:42 +00:00
Karl Heuer
4316524204 Move extern declarations to top of file. 1994-02-22 19:43:28 +00:00
Richard M. Stallman
0aafc97556 (make_lispy_event): For menu bar event in USE_X_TOOLKIT
case, convert x position to glyphs after map_event_to_object.
Call window_from_coordinates later on.
1994-02-22 00:45:38 +00:00