1. 08 Jun, 2009 1 commit
  2. 14 Mar, 2009 1 commit
    • David Reitter's avatar
      Unify shutdown handling under NS, via ns-power-off key event (where... · c6c62e78
      David Reitter authored
      Unify shutdown handling under NS, via ns-power-off key event (where appropriate) and save-buffers-kill-emacs.
      remove  NS-specific preferences window that used to show NS-specific preferences.
      Integrate preferences in Lisp accessible customization system where possible.
      Remove ns-expand-space, because it can be set only during fontloading (i.e. not at runtime),
      and because of redundancy with line-spacing frame parameter.
      Remove loading of most and saving of all NS resources (from org.gnu.Emacs.plist).
      nsterm.m (ns_shutdown_properly, -terminate): remove global state variable as it was never reset
      (ns_term_init): remove initialization of Lisp-settable defaults and ns_expand_space
      (-setPanelFromDefaultValues): remove ns_expand_space.
      (-showPreferencesWindow): send new KEY_NS_SHOW_PREFS key.
      nsfont.m (nsfont_open): remove ns_expand_space, assume -0.5 i.e. no additional spacing, similar to Carbon port.
      nsterm.h: define KEY_NS_SHOW_PREFS key.
      nsfns.m (ns-popup-prefs-panel): remove.
      term/ns-win.el (ns-expand-space): remove.
      (ns-show-prefs event): run `customize'.
      (ns-power-off): run `save-buffers-kill-emacs', but ask user whether to save files (as is standard)
      (clipboard-yank, clipboard-kill-ring-save, clipboard-kill-region)
      (menu-bar-enable-clipboard): do not undefine these.
      (ns-save-preferences,ns-save-options,ns-show-preferences-help): remove.
  3. 29 Jan, 2009 1 commit
  4. 25 Jan, 2009 1 commit
    • Adrian Robert's avatar
      Changes to remove Feval calls from GUI under NS. · 8612b71a
      Adrian Robert authored
      * nsterm.h: Move KEY_NS_... definitions here from nsterm.m.  Add
      * nsterm.m: Move KEY_NS_... definitions to nsterm.h.
      (EmacsView-toggleToolbar:): Use KEY_NS_TOGGLE_TOOLBAR.
      (EmacsView-setMarkedText:,-deleteWorkingText:): Use NS_TEXT_EVENT
      (EmacsApp-terminate:): Use KEY_NS_POWER_OFF instead of Feval.
      (EmacsApp-applicationShouldTerminate:): Query user.
      (EmacsPreferencesController-runHelp:): Use KEY_NS_INFO_PREFS
      instead of Feval.
      * termhooks.h (NS_TEXT_EVENT): New event type under HAVE_NS.
      * keyboard.c (kbd_buffer_get_event): Check for it.
      (keys_of_keyboard): Define lispy keys for
      * nsmenu.m (ns_popup_dialog): Resync window setting with X and W32
      (EmacsDialog-runDialogAt:): Use NSModalPanelRunLoopMode.
  5. 23 Jan, 2009 1 commit
  6. 22 Jan, 2009 2 commits
  7. 21 Jan, 2009 1 commit
  8. 08 Jan, 2009 1 commit
  9. 02 Oct, 2008 1 commit
    • Adrian Robert's avatar
      * nsterm.h (ns_cursor_types,... · c8c057de
      Adrian Robert authored
      * nsterm.h (ns_cursor_types, ns_output.desired_cursor_color)(ns_output.current_cursor, ns_output.desired_cursor) (ns_output.last_inactive, FRAME_CURSOR, FRAME_NEW_CURSOR) (FRAME_NEW_CURSOR_COLOR,): Remove. * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs enumeration (HOLLOW_BOX_CURSOR, etc.). * nsterm.m (ns_frame_rehighlight): Remove commented code. (draw_window_cursor): Simplify code. (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't change cursor type. In latter, call rehighlight instead of doing updates manually. (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use core emacs cursor types. * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under NS.
  10. 18 Sep, 2008 1 commit
  11. 21 Aug, 2008 1 commit
    • Adrian Robert's avatar
      * nsfns.m (ns-read-file-name): Add casts to avoid warning. ... · f2f7f42c
      Adrian Robert authored
      * nsfns.m (ns-read-file-name): Add casts to avoid warning.  (ns-convert-utf8-nfd-to-nfc): Warn if cannot execute correctly. * nsfont.m (nsfont_draw): Compare indexed colors to 0, not nil.  * nsterm.h (EmacsView-unlockFocusNeedsFlush:): Add declaration.  (EmacsApp-cursor_blink_handler): Remove declaration.  * nsterm.m (ns_draw_glyph_string): Update first conditional body to match 01 Feb 2008 changes in xterm.c.  (ns_read_socket): Add cast to avoid warning.  (EmacsApp-application:openFiles:): Don't call replyToOpenOrPrint: on GNUstep.
  12. 06 Aug, 2008 1 commit
  13. 05 Aug, 2008 1 commit
  14. 04 Aug, 2008 2 commits
  15. 01 Aug, 2008 2 commits
  16. 21 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * term/ns-win.el: Rename ns- functions/variables to the · 9e50ff0c
      Dan Nicolaescu authored
      corresponding x- versions.
      (x-select-text, x-cut-buffer-or-selection-value)
      (x-disown-selection-internal, x-get-selection-internal)
      (x-own-selection-internal, x-defined-colors, xw-defined-colors)
      (x-display-mm-width, x-display-mm-height)
      (x-display-backing-store, x-display-save-under)
      (x-display-visual-class, x-display-screens, x-focus-frame): Remove
      * image.c:
      * nsfns.m:
      * nsselect.m:
      * nsterm.h:
      * nsterm.m: Rename ns prefixed functions/variables to the
      corresponding x versions.  Update references.
  17. 19 Jul, 2008 1 commit
  18. 17 Jul, 2008 2 commits
    • Adrian Robert's avatar
    • Stefan Monnier's avatar
      * Makefile.in: Undef LIB_STANDARD before defining it to silence warning · facfbbbd
      Stefan Monnier authored
      in case it was defined already.
      USE @GNUSTEP_MAKEFILES@ rather than envvars.
      * nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to
      (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare
      * nsterm.h (Fx_display_grayscale_p, Fx_display_planes)
      (ns_defined_color, ns_color_to_lisp): Declare.
      * nsselect.m (ns_handle_selection_request, ns_handle_selection_clear)
      (Fns_own_selection_internal): Make the big ugly hack more explicit, so
      it's accepted even with USE_LISP_UNION_TYPE.
      * nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects.
      (update_frame_tool_bar): Remove apparently obsolete tests for
      non-integerness of f->tool_bar_lines.
      (windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly
      hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE.
      * nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast.
      (nsfont_open): Don't confuse NULL for Qnil.
      * nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects.
      * menu.h (find_and_call_menu_selection):
      * menu.c (find_and_call_menu_selection): Use just int for vector size.
      (find_and_return_menu_selection): Always return something.
      * frame.h: Include dispextern.h for Display_Info.
      (display_x_get_resource): Declare.
      * configure.in: Extract and substitute GNUSTEP_MAKEFILES.
  19. 16 Jul, 2008 1 commit
  20. 15 Jul, 2008 2 commits