1. 06 Mar, 2009 1 commit
  2. 13 Feb, 2009 1 commit
    • Adrian Robert's avatar
      * nsfns.m (ns-read-file-name): BLOCK_INPUT while showing dialog. \n \n*... · ba301db3
      Adrian Robert authored
      * nsfns.m (ns-read-file-name): BLOCK_INPUT while showing dialog. \n \n* nsmenu.m (pop_down_menu): Check popup_activated_flag. \n(ns_popup_dialog, EmacsDialogPanel-runDialogAt:): Let \npop_down_menu do the cleanup work as it is always called. (Bug#2154) \n \n* nsfont.m (nsfont_make_fontset_for_font): For now, don't try to \nset fontset font for 'mathematical-' sub-scripts. (Bug #2218)\n
      ba301db3
  3. 07 Feb, 2009 1 commit
    • Adrian Robert's avatar
      * nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event · 3175b12a
      Adrian Robert authored
      	when modal window is active. (Bug #2152)
      	(applicationShouldTerminate:): Remove now-unneeded while loop
      	around NSRunAlertPanel.
      
      	* nsmenu.m (popupSession): New file-global variable.
      	(pop_down_menu): End the popupSession before closing dialog.
      	(ns_popup_dialog): BLOCK_INPUT around dialog presentation.
      	(EmacsDialogPanel-runDialogAt:): Don't place window (superfluous),
      	don't query NSApp for events (just sleep instead).
      3175b12a
  4. 04 Feb, 2009 1 commit
    • Adrian Robert's avatar
      * nsmenu.m (pop_down_menu): New function. · c96169a0
      Adrian Robert authored
      (ns_popup_dialog): Call it on unwind.
      (EmacsDialogPanel-runDialogAt:): Check popup_activated_flag and
      call timer_check() (Bug#2154).
      (EmacsMenu-menuNeedsUpdate:): Don't call ns_update_menu if
      handling_signal is set.
      (EmacsMenu-fillWithWidgetValue:): Set submenu title.
      
      * s/darwin.h: Same and NO_SOCK_SIGIO as well.
      
      * nsterm.m (ns_read_socket): Same and don't set handling_signal.
      
      * keyboard.c (poll_for_input_1, handle_async_input): Set
      handling_signal under HAVE_NS.
      c96169a0
  5. 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
      NS_TOGGLE_TOOLBAR, NS_PUT_WORKING_TEXT, NS_UNPUT_WORKING_TEXT.
      Remove NS_INSERT_WORKING_TEXT, NS_DELETE_WORKING_TEXT.
      
      * nsterm.m: Move KEY_NS_... definitions to nsterm.h.
      (EmacsView-toggleToolbar:): Use KEY_NS_TOGGLE_TOOLBAR.
      (EmacsView-setMarkedText:,-deleteWorkingText:): Use NS_TEXT_EVENT
      instead of NON_ASCII_KEYSTROKE_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
      ns-put/unput-working-text.
      
      * nsmenu.m (ns_popup_dialog): Resync window setting with X and W32
      versions.
      (EmacsDialog-runDialogAt:): Use NSModalPanelRunLoopMode.
      8612b71a
  6. 22 Jan, 2009 2 commits
  7. 21 Jan, 2009 2 commits
  8. 08 Jan, 2009 1 commit
  9. 25 Nov, 2008 1 commit
  10. 05 Aug, 2008 1 commit
  11. 04 Aug, 2008 1 commit
  12. 01 Aug, 2008 1 commit
  13. 22 Jul, 2008 2 commits
  14. 17 Jul, 2008 1 commit
    • 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
      ns_default.
      (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare
      Lisp_Objects.
      * 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.
      facfbbbd
  15. 16 Jul, 2008 2 commits
  16. 15 Jul, 2008 2 commits