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

16155 commits

Author SHA1 Message Date
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
Andrew Choi
3642668990 2002-08-02 Andrew Choi <akochoi@shaw.ca>
* mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
2002-08-02 20:34:38 +00:00
Richard M. Stallman
ad44f2a1b2 *** empty log message *** 2002-08-01 17:07:46 +00:00
Richard M. Stallman
b113160a06 (SOME_MACHINE_OBJECTS): Add fontset.o. 2002-08-01 17:04:14 +00:00
Andrew Choi
41428ec477 2002-07-31 Andrew Choi <akochoi@shaw.ca>
* macfns.c: #undef init_process before #define-ing it.
2002-08-01 03:53:04 +00:00
Andrew Choi
9794a8cdad In src:
2002-07-31  Andrew Choi  <akochoi@shaw.ca>

	* s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if
	HAVE_CARBON is defined.

In mac:

2002-07-31  Andrew Choi  <akochoi@shaw.ca>

	* INSTALL: Add instructions for building X Window version.
2002-08-01 03:33:20 +00:00
Richard M. Stallman
ced89c24f5 (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-07-31 06:15:58 +00:00
Juanma Barranquero
c7a1aae940 Add missing semicolon. 2002-07-30 16:24:30 +00:00
Juanma Barranquero
45de4a6fcd (syms_of_ntproc): Fix docstring of `w32-get-true-file-attributes'. 2002-07-30 16:19:30 +00:00
Richard M. Stallman
3ea1bfb294 *** empty log message *** 2002-07-29 02:46:52 +00:00
Richard M. Stallman
6d18dc4094 (HPUX8): Define this before including hpux.h.
(HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide.
2002-07-29 01:57:49 +00:00
Richard M. Stallman
53202f7d01 (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. 2002-07-29 01:56:56 +00:00
Richard M. Stallman
05be396488 (make_lispy_event): Use #ifdef to test USE_TOOLKIT_SCROLL_BARS.
Explicitly clear up_modifier in event->modifiers.
2002-07-29 01:55:43 +00:00
Richard M. Stallman
01af8a38f4 *** empty log message *** 2002-07-27 19:09:08 +00:00
Richard M. Stallman
4e361664e6 (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor. 2002-07-27 18:57:41 +00:00
Richard M. Stallman
1475142b5a (FRAME_CURSOR_WIDTH): New macro. 2002-07-27 18:56:36 +00:00
Kenichi Handa
8d239c89c6 (detect_coding_iso2022): While checking a byte sequence
for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
it in the normal loop.
2002-07-26 11:53:25 +00:00
Kenichi Handa
5483cd4e0f *** empty log message *** 2002-07-26 11:53:10 +00:00
Richard M. Stallman
acfca545dc (unwind_redisplay): Clear redisplay_updating_p. 2002-07-25 03:20:36 +00:00
Richard M. Stallman
4f53f3b8e7 (expose_overlaps): New function.
(expose_window): Use it to fix the display of overlapping rows.
2002-07-25 03:17:33 +00:00
Ken Raeburn
be3abfa2c3 (start_of_data): Don't define the function if a macro
form has been defined.
2002-07-24 02:07:41 +00:00
Ken Raeburn
f456a2bcff (start_of_data): If DATA_START is defined, prefer
its value over other approaches.
2002-07-24 02:07:21 +00:00
Ken Raeburn
d5e406c3ed (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS,
PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR):
Macros deleted.
2002-07-24 02:07:15 +00:00
Ken Raeburn
8febed74d2 (XPNTR): Use NO_UNION_TYPE version for union as well,
since it only depends on XUINT.
2002-07-24 02:07:11 +00:00
Richard M. Stallman
9a65485515 *** empty log message *** 2002-07-23 19:33:09 +00:00
Richard M. Stallman
1987b08356 (redisplay_updating_p): New variable.
(init_iterator): Don't free realized faces when
redisplay_updating_p is set.
(redisplay_internal): Set redisplay_updating_p while updating the display.
2002-07-23 19:31:18 +00:00
Richard M. Stallman
6076e561e6 (Fmessage): Treat "" like nil. 2002-07-23 19:08:44 +00:00
Kenichi Handa
1d1b6e6a71 (face_before_or_after_it_pos): Call
FETCH_MULTIBYTE_CHAR with byte postion, not char position.
2002-07-23 04:48:43 +00:00
Juanma Barranquero
c9a883b895 *** empty log message *** 2002-07-22 20:11:58 +00:00
Juanma Barranquero
40b49d4bc0 (init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil.
(syms_of_callproc) [DOS_NT]: Likewise.
2002-07-22 20:05:37 +00:00
Richard M. Stallman
72b8c43455 (display_line): Replace an unconditional abort with an assertion. 2002-07-22 16:15:53 +00:00
Ken Raeburn
b0e057bc0a *** empty log message *** 2002-07-22 02:19:34 +00:00