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

16186 commits

Author SHA1 Message Date
Eli Zaretskii
aac06fd4e5 (croak): Add `void' to definition. 2002-08-19 18:20:51 +00:00
Eli Zaretskii
feb67dfe47 [MSDOS]: Don't define request_sigio and
unrequest_sigio, they are defined on msdos.c.
2002-08-19 18:19:42 +00:00
Eli Zaretskii
a8c1733b16 [MSDOS]: Declare etext. 2002-08-19 17:46:15 +00:00
Eli Zaretskii
100c44b777 (Ffile_name_directory) [DOS_NT]: Don't declare `beg'
`const' since CORRECT_DIR_SEPS modifies its target.
2002-08-19 17:24:08 +00:00
Kim F. Storm
ab1959fcba (Fclear_this_command_keys): Added optional arg
KEEP-RECORD to avoid clearing lossage when we just want to clear
the current key sequence (kmacro needs this).
2002-08-19 14:58:29 +00:00
Kim F. Storm
dec7e30288 *** empty log message *** 2002-08-19 14:57:49 +00:00
Kenichi Handa
775b3d2d87 *** empty log message *** 2002-08-19 02:47:19 +00:00
Kenichi Handa
c1de6316cf (COMPOSITION_MODIFICATION_FUNC): If PROP is not a cons, return Qnil. 2002-08-19 02:46:28 +00:00
Kenichi Handa
9b3b318992 (run_composition_function): Call FUNC if it is fboundp. 2002-08-19 02:46:08 +00:00
Richard M. Stallman
c387c986f6 *** empty log message *** 2002-08-17 05:01:44 +00:00
Richard M. Stallman
5bc1c7d04c (BROKEN_SIGIO): Add #undef. 2002-08-17 04:57:03 +00:00
Richard M. Stallman
7ce1c4de0e [!VMS]: Include sys/files.h. 2002-08-17 04:56:13 +00:00
Richard M. Stallman
6388456397 (save_restriction_restore): Defend from unchained marker. 2002-08-17 04:55:17 +00:00
Richard M. Stallman
4b0e44fc72 (overlays_at): Handle extending vec uniformly.
(overlays_in): Handle extending vec from length 0 as in overlays_at.
2002-08-17 04:53:57 +00:00
Andrew Choi
1000788b7b 2002-08-15 Andrew Choi <akochoi@shaw.ca>
* mac.c (init_mac_osx_environment): New function.

        * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment.
2002-08-16 02:30:21 +00:00
Kim F. Storm
f90d3a6bff (Fstart_kbd_macro): Added NO-EXEC argument to inhibit
executing macro before appending to it (when used from Lisp).
(Fexecute_kbd_macro): Added LOOPFUNC argument to supply function
which is called prior to each iteration of macro (for kmacro.el).
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
2002-08-14 10:35:31 +00:00
Kim F. Storm
a361276f07 (Fexecute_kbd_macro): Update prototype. 2002-08-14 10:35:03 +00:00
Kim F. Storm
caa06051a4 (Fcommand_execute): Update call to Fexecute_kbd_macro. 2002-08-14 10:34:41 +00:00
Kim F. Storm
82802164fe *** empty log message *** 2002-08-14 10:30:48 +00:00
Kenichi Handa
18538ab385 (struct x_display_info): New member Xatom_UTF8_STRING. 2002-08-14 00:59:15 +00:00
Kenichi Handa
c62525b7e2 (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. 2002-08-14 00:59:01 +00:00
Kenichi Handa
5109c8dd99 (QUTF8_STRING): New variable.
(symbol_to_x_atom): Pay attention to QUTF8_STRING.
(x_atom_to_symbol): Likewise.
(x_get_local_selection): New argument local_request.  If it is
nonzero, call handler_fn with the second arg nil.
(x_handle_selection_request): Call x_get_local_selection with
local_request 0.
(lisp_data_to_selection_data): Don't encode the string here.
(Fx_get_selection_internal): Call x_get_local_selection with
local_request 1.
(syms_of_xselect): Intern and staticpro QUTF8_STRING.
2002-08-14 00:58:39 +00:00
Kenichi Handa
13a45e6cd8 *** empty log message *** 2002-08-14 00:58:23 +00:00
Richard M. Stallman
79fab26b4f *** empty log message *** 2002-08-13 22:55:18 +00:00
Richard M. Stallman
873ef78ee0 (Fminibufferp): New function.
(syms_of_minibuf): Defsubr it.
(Fminibuffer_prompt_end): Handle non-minibuffers specially.
2002-08-13 22:52:05 +00:00
Gerd Moellmann
96d2e64dce (Funencodable_char_position): Lisp_Object/int mixup. 2002-08-13 19:12:46 +00:00
Richard M. Stallman
450565cb1a *** empty log message *** 2002-08-12 17:31:43 +00:00
Richard M. Stallman
992dd91a91 Comment change. 2002-08-12 17:28:36 +00:00
Richard M. Stallman
557713d896 Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
[!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED)
(WSTOPSIG, WTERMSIG): Define each one independently if not defined already.
2002-08-12 17:27:57 +00:00
Richard M. Stallman
1ac5826d93 (syms_of_buffer) <fill-column>: Doc fix. 2002-08-12 17:25:23 +00:00
Andrew Choi
5883787cd6 2002-08-11 Andrew Choi <akochoi@shaw.ca>
* macterm.c (XTmouse_position): Check wp with is_emacs_window.
	(Vmac_pass_command_to_system): New variable.
	(Vmac_pass_control_to_system): New variable.
	(do_mouse_moved): Check wp with is_emacs_window.
	(XTread_socket): Check window_ptr with is_emacs_window.  Call
	FrontNonFloatingWindow instead of FrontWindow.  Send keydown
	events back to Mac Toolbox for processing, depending on values of
	Vmac_pass_command_to_system and Vmac_pass_control_to_system.
	(syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
	Vmac_pass_control_to_system.
2002-08-12 04:33:59 +00:00
Kenichi Handa
068a9dbdf6 (unencodable_char_position): New function.
(Funencodable_char_position): New function.
(syms_of_coding): Defsubr Funencodable_char_position.
2002-08-11 01:06:42 +00:00
Kenichi Handa
054e62aeb3 *** empty log message *** 2002-08-11 01:04:58 +00:00
Andrew Choi
8030369ccb 2002-08-10 Andrew Choi <akochoi@shaw.ca>
* mac.c (sys_select) [MAC_OSX]: New function.

	* macterm.c (MakeMeTheFrontProcess): New function.
	(mac_initialize): Call MakeMeTheFrontProcess.

	* s/darwin.h: Define select to sys_select.
2002-08-11 00:26:24 +00:00
Richard M. Stallman
1e7c162fa4 (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. 2002-08-10 03:48:12 +00:00
Gerd Moellmann
d43be70c87 (forward_to_next_line_start): Return 0 when reaching the
end of the buffer.
2002-08-09 17:29:34 +00:00
Ken Raeburn
b177738e98 (BASE_PURESIZE): Increase to 910000. 2002-08-09 05:08:10 +00:00
Ken Raeburn
d90ed3b46f (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. 2002-08-08 16:59:23 +00:00
Kenichi Handa
7f787cfd76 (Ffind_operation_coding_system): For write-region, if
VISIT is a filename, make it the target.
2002-08-08 12:34:27 +00:00
Kenichi Handa
b12a80582d *** empty log message *** 2002-08-08 12:34:08 +00:00
Richard M. Stallman
46e3984f37 *** empty log message *** 2002-08-07 14:38:02 +00:00
Richard M. Stallman
1342fc6f04 (mark_object): Detect long lists for debugging.
(mark_object_loop_halt): New variable.
2002-08-07 14:37:32 +00:00
Richard M. Stallman
3622bdf9a4 (C_SWITCH_SYSTEM): #undef it. 2002-08-07 14:32:09 +00:00
Richard M. Stallman
76b3cecfd0 (Fmake_variable_frame_local): Doc fix. 2002-08-07 14:30:52 +00:00
Richard M. Stallman
86d98c330d *** empty log message *** 2002-08-05 16:35:07 +00:00
Richard M. Stallman
6ed09cf020 (local_heap, local_alloc, local_free): New macros.
(malloc_widget_value, free_widget_value)
(w32_free_submenu_strings): Use them.

(push_submenu_start, push_submenu_end, push_left_right_boundary)
(push_menu_pane, push_menu_item, single_keymap_panes)
(single_menu_item, Fx_popup_menu, menubar_selection_callback)
(single_submenu, set_frame_menubar)
(w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.

(Fx_popup_menu):  Don't show pop up menu until preceding one is
actually cleaned up.  Moved UNGCPRO outside #ifdef HAVE_MENUS block.

Changes adapted from xmenu.c
(set_frame_menubar): First parse all submenus,
then make widget_value trees from them.
Don't allocate any widget_value objects
until we are done with the parsing.
(parse_single_submenu): New function.
(digest_single_submenu): New function.
(single_submenu): Function deleted, replaced by those two.
2002-08-05 16:33:44 +00:00
Richard M. Stallman
2a51c0262a Comment change. 2002-08-05 16:28:41 +00:00
Andrew Choi
44fab9c1c6 2002-08-04 Andrew Choi <akochoi@shaw.ca>
* macterm.c (XTread_socket): Check that FrontNonFloatingWindow
        returns a valid window pointer before proceeding for keyDown and
        autoKey events.
2002-08-04 19:29:06 +00:00
Andrew Choi
742fbed75b In src:
2002-08-03  Andrew Choi  <akochoi@shaw.ca>

        * macterm.c (USE_CARBON_EVENTS): New macro.
        (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
        (x_iconify_frame): Call CollapseWindow.
        (Vmac_reverse_ctrl_meta): New variable.
        (Vmac_wheel_button_is_mouse_2): New variable.
        (init_mac_drag_n_drop): New function.
        (mac_do_receive_drag): New function.
        (mac_handle_service_event): New function.
        (init_service_handler): New function.
        (mac_to_emacs_modifiers): New function.
        (mac_event_to_emacs_modifiers): New function.
        (mac_get_mouse_btn): New function.
        (mac_convert_event_ref): New function.
        (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
        SendEventToEventTarget, mac_event_to_emacs_modifiers, and
        mac_get_mouse_btn.
        (mac_initialize): Call init_mac_drag_n_drop and
        init_service_handler.

        * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
        lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
        (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
        TOOL_BAR_EVENT for MAC_OS as well.
        (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
        as for WINDOWS_NT.
        (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.

        * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for
        MAC_OSX.

In lisp:

2002-08-03  Andrew Choi  <akochoi@shaw.ca>

        * term/mac-win.el: Set keys to enable mouse wheel support.
2002-08-03 22:21:09 +00:00
Gerd Moellmann
db0bb807eb (forward_to_next_line_start): Fix a condition that
lead to a newline being skipped.
2002-08-03 12:44:32 +00:00