1. 13 Dec, 2000 2 commits
  2. 05 Dec, 2000 1 commit
  3. 04 Dec, 2000 2 commits
  4. 27 Nov, 2000 1 commit
  5. 25 Nov, 2000 1 commit
  6. 22 Nov, 2000 1 commit
  7. 13 Nov, 2000 1 commit
  8. 31 Oct, 2000 1 commit
  9. 30 Oct, 2000 1 commit
  10. 27 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      * lisp.h (KEYMAPP): New macro. · 02067692
      Stefan Monnier authored
      (get_keymap): Remove.
      (get_keymap_1): Rename get_keymap.
      * keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
      * xterm.c (note_mode_line_highlight): Use KEYMAPP.
      * xmenu.c (single_submenu): Use KEYMAPP.
      (Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
      Use KEYMAPP rather than Fkeymapp.
      * w32term.c (note_mode_line_highlight): Use KEYMAPP.
      * w32menu.c (True, False): Remove (use TRUE and FALSE instead).
      (Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
      Use KEYMAPP rather than Fkeymapp.
      (single_submenu): Use KEYMAPP.
      (w32_menu_show, w32_dialog_show): Use TRUE.
      * minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
      * keymap.c (KEYMAPP): Remove (moved to lisp.h).
      (Fkeymapp): Use KEYMAPP.
      (get_keymap): Rename from get_keymap_1.  Remove old def.
      Return t when autoload=0 and error=0 and the keymap needs autoloading.
      (Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
      (Fminor_mode_key_binding): Don't raise an error if the binding
      is not a keymap.
      (Fuse_global_map, Fuse_local_map): Allow autoloading.
      (Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
      * keyboard.c (read_char): get_keymap_1 -> get_keymap.
      Allow Vspecial_event_map to be autoloaded.
      (menu_bar_items): Fetch the keymap rather than using keymapp.
      (menu_bar_one_keymap): No need to follow func-indirect any more.
      (parse_menu_item): get_keymap_1 -> get_keymap.
      (tool_bar_items): Fetch the keymap rather than using keymapp.
      (read_key_sequence): Use KEYMAPP.
      * intervals.c (get_local_map): Use get_keymap rather than following
      function-indirections explicitly.
      * doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
  11. 22 Oct, 2000 1 commit
    • Andrew Choi's avatar
      Initial check-in: changes for building Emacs under Mac OS. · 1a578e9b
      Andrew Choi authored
      2000-10-23  Andrew Choi  <akochoi@i-cable.com>
      	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
      	* dispnew.c [macintosh]: Include macterm.h.
      	(init_display) [macintosh]: initialization for window system.
      	* emacs.c (main) [macintosh]: Call syms_of_textprop,
      	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
      	syms_of_search, x_term_init, and init_keyboard before calling
      	init_window_once.  Also, call syms_of_xmenu.
      	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
      	default fontset to Monaco.
      	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
      	NewMacWindow and DisposeMacWindow.
      	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
      	instead of calling NewMacWindow and setting fields of
      	f->output_data.mac directly.  Call init_frame_faces.
      	(Fdelete_frame) [macintosh]: Remove unused code.
      	(Fmodify_frame_parameters) [macintosh]: Call
      	x_set_frame_parameters instead of mac_set_frame_parameters.
      	* frame.h [macintosh]: Define menu_bar_lines field in struct
      	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.
      	* keyboard.c [macintosh]: Include macterm.h.
      	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
      	and menu_bar_activate_event type events as for X and NT.
      	(make_lispy_event) [macintosh]: Construct lisp events of type
      	MENU_BAR_EVENT as for X and NT.
      	* sysdep.c [macintosh]: Remove declaration for sys_signal.
      	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
      	(sys_subshell) [macintosh]: Remove definition entirely.
      	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
      	Vwindow_system_version here.  Remove initialization of
      	(read_input_waiting): Correct the number of parameters passed to
      	Move all Macintosh functions to mac/mac.c.
      	* term.c [macintosh]: Include macterm.h.
      	* window.c [macintosh]: Include macterm.h.
      	* xdisp.c [macintosh]: Include macterm.h.  Declare
      	set_frame_menubar and pending_menu_activation.
      	(echo_area_display) [macintosh]: Do not return if terminal frame
      	is the selected frame.
      	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
      	Allow only the selected frame to set menu bar.
      	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
      	calling FRAME_EXTERNAL_MENU_BAR (f).
      	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).
      	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
      	and check_x.  Declare XCreateGC.  Define x_create_gc and
      	x_free_gc.  Initialize font_sort_order.
      	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
      	but call x_list_fonts instead of w32_list_fonts.
      	(Finternal_face_x_get_resource) [macintosh]: Do not call
      	(prepare_face_for_display) [macintosh]: Set xgcv.font.
      	(realize_x_face) [macintosh]: Load the font if it is specified in
      	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
      	to Qt.
      	* cus-edit.el (custom-button-face): Use 3D look for mac.
      	(custom-button-pressed-face): Likewise.
      	* faces.el (set-face-attributes-from-resources): Handle mac frames
      	in the same way as x and w32 frames.
      	(face-valid-attribute-values): Likewise.
      	(read-face-attribute): Likewise.
      	(defined-colors): Likewise.
      	(color-defined-p): Likewise.
      	(color-values): Likewise.
      	(display-grayscale-p): Likewise.
      	(face-set-after-frame-default): Likewise.
      	(mode-line): Same default face as for x and w32.
      	(tool-bar): Likewise.
      	* frame.el: Remove call to frame-notice-user-settings at end of
      	the file.
      	* info.el (Info-fontify-node): make underlines invisible for mac
      	as for x, pc, and w32 frame types.
      	* term/mac-win.el: New file.
  12. 15 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      * keymap.c (access_keymap): Add AUTOLOAD parameter. · db785038
      Stefan Monnier authored
      Do the meta->esc mapping.  Call get_keyelt before returning.
      Start scanning from the second element (the first is always `keymap')
      to make it easier to detect when we reach a parent map.
      Handle the case of inheriting from a symbol whose function is a map.
      (Fkeymap_parent): Also handle the `inherit from symbol' case.
      (fix_submap_inheritance, Fdefine_key): Update call to access_keymap.
      (get_keyelt, Flookup_key): Update call to access_keymap.
      Remove the meta->esc mappings.
      (define_as_prefix): Delete old disabled code.
      (menu_item_p): New function.
      (where_is_internal_1): Skip over the few remaining menu items.
      * lisp.h (access_keymap): Update prototype.
      * keyboard.c (read_char, menu_bar_items, tool_bar_items):
      Update call to access_keymap.
      (follow_key, read_key_sequence): Update calls to access_keymap.
      Remove the meta->esc mappings.
  13. 05 Oct, 2000 1 commit
  14. 04 Oct, 2000 1 commit
  15. 29 Sep, 2000 1 commit
  16. 25 Sep, 2000 1 commit
  17. 18 Sep, 2000 1 commit
  18. 13 Sep, 2000 1 commit
  19. 28 Aug, 2000 1 commit
  20. 27 Aug, 2000 2 commits
  21. 22 Aug, 2000 1 commit
  22. 21 Aug, 2000 1 commit
    • Gerd Moellmann's avatar
      (gen_help_event): Add parameter SIZE. · 0bbfdc25
      Gerd Moellmann authored
      (kbd_buffer_events_waiting): Slightly rewritten.
      (clear_event): New function.
      (kbd_buffer_get_event): Use it, and clear the input_events of
      (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and
      don't fill the newly created array with nils.
      (toplevel): Convert some old-style function forward declarations
      to prototypes.
  23. 18 Aug, 2000 1 commit
  24. 11 Aug, 2000 1 commit
  25. 09 Aug, 2000 1 commit
  26. 08 Aug, 2000 1 commit
  27. 02 Aug, 2000 1 commit
  28. 21 Jul, 2000 1 commit
  29. 18 Jul, 2000 1 commit
  30. 14 Jul, 2000 1 commit
    • Gerd Moellmann's avatar
      (show_help_echo): Add parameters OBJECT and POS. · 8dfd92c9
      Gerd Moellmann authored
      if HELP is a function, call it with OBJECT and POS as parameters
      to get the help to display.
      (gen_help_event, kbd_buffer_store_help_event): New functions.
      (kbd_buffer_get_event): Construct the Lisp help-event differently.
      (read_char): Call show_help_echo with new parameters.
  31. 13 Jul, 2000 2 commits
    • Gerd Moellmann's avatar
    • Gerd Moellmann's avatar
      (kbd_buffer_gcpro): Renamed from · da8f7368
      Gerd Moellmann authored
      kbd_buffer_frame_or_window.  Now used for all Lisp objects
      referenced from the input queue.
      (kbd_buffer_store_event): Always use structure assignment for
      copying input events.  Record all Lisp objects referenced from
      events in kbd_buffer_gcpro.
      (kbd_buffer_get_event): Construct Lisp `help-echo' events
      differently from input events.  Test for prefix menu_bar_events
      and TOOL_BAR_EVENTs differently.  Reset all slots used by an input
      event in kbd_buffer_gcpro to nil.
      (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose
      frame_or_window is equal to its arg member as prefix events.
      (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro
      used by an input event to nil.
      (init_keyboard): Use two times the size of the input queue
      for kbd_buffer_gcpro.
      (syms_of_keyboard): Likewise.
  32. 11 Jul, 2000 1 commit
  33. 05 Jul, 2000 1 commit
  34. 20 Jun, 2000 1 commit
  35. 19 Jun, 2000 2 commits