1. 11 Oct, 2010 1 commit
    • Jan Djärv's avatar
      Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX. · a2e35ef5
      Jan Djärv authored
      * lisp/cus-start.el (all): ns-right-alternate-modifier is new.
      
      * lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
      (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
      (mac-right-option-modifier): New alias for ns-right-option-modifier.
      
      * src/nsterm.m (Qleft): Declare.
      (ns_right_alternate_modifier): New variable
      (NSRightAlternateKeyMask): New define.
      (EV_MODIFIERS): Parse NSRightAlternateKeyMask if
      ns_right_alternate_modifier isn't Qleft.
      (keyDown): If ns_right_alternate_modifier isn't Qleft, use it
      as emacs modifier for NSRightAlternateKeyMask.
      (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
      a2e35ef5
  2. 05 Jul, 2010 1 commit
    • YAMAMOTO Mitsuharu's avatar
      Fix ghost buffer boundary indicators in fringes (Bug#5634, Bug#6325). · 5a874e95
      YAMAMOTO Mitsuharu authored
      * dispextern.h (FRINGE_HEIGHT_BITS): New define.
      (struct glyph_row): New members left_fringe_offset and
      right_fringe_offset.
      
      * xterm.c (x_draw_fringe_bitmap): Don't clip bottom aligned bitmap
      specially.
      * w32term.c (w32_draw_fringe_bitmap): Likewise.
      * nsterm.m (ns_draw_fringe_bitmap): Likewise.
      
      * fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
      Take account of	bitmap offset.
      (draw_window_fringes): Take account of window vscroll.
      (update_window_fringes): Likewise.  Extend top-aligned top indicator
      or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
      in one row.  Don't set redraw_fringe_bitmaps_p outside row comparison.
      Set left_fringe_offset and right_fringe_offset (Bug#5634, Bug#6325).
      5a874e95
  3. 29 Mar, 2010 1 commit
    • Chong Yidong's avatar
      Clean up unneeded ns_set_icon_type calls. · 9ae6e189
      Chong Yidong authored
      Patch from Adrian Robert, see
      http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01391.html
      
      * xdisp.c (x_consider_frame_title, update_window_cursor): Remove
      HAVE_NS conditionals.
      (prepare_menu_bars)[HAVE_NS]: Call ns_set_doc_edited.
      
      * nsfns.m (x_implicitly_set_name): If frame-title-format is t, use
      filename for the title.
      (ns_set_doc_edited): Do nothing if the selected window is a
      minibuffer window.
      
      * nsterm.h: Add prototypes for ns_set_name_as_filename and
      ns_set_doc_edited.
      
      * nsterm.m: Remove unneeded prototype.
      9ae6e189
  4. 18 Feb, 2010 1 commit
  5. 31 Jan, 2010 2 commits
  6. 15 Jan, 2010 1 commit
  7. 13 Jan, 2010 1 commit
  8. 11 Jan, 2010 2 commits
  9. 09 Jan, 2010 1 commit
    • Chong Yidong's avatar
      Fix for Bug#4113. · e5a29a10
      Chong Yidong authored
      * nsterm.m (ns_set_default_prefs): Delete function.
      (syms_of_nsterm): Initialize ns_command_modifier,
      ns_control_modifier, ns_function_modifier, ns_antialias_text, and
      ns_antialias_threshold here, not in ns_term_init (Bug#4113).
      e5a29a10
  10. 01 Jan, 2010 1 commit
  11. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * nsterm.m: · b024548b
      Dan Nicolaescu authored
      * nsselect.m:
      * nsmenu.m:
      * nsimage.m:
      * nsfont.m:
      * nsfns.m: Include setjmp.h.  (Bug#4643)
      b024548b
  12. 16 Oct, 2009 1 commit
  13. 13 Oct, 2009 1 commit
  14. 12 Oct, 2009 1 commit
  15. 27 Sep, 2009 1 commit
  16. 23 Sep, 2009 2 commits
  17. 22 Sep, 2009 1 commit
  18. 18 Sep, 2009 2 commits
  19. 03 Sep, 2009 1 commit
  20. 21 Aug, 2009 2 commits
  21. 20 Aug, 2009 1 commit
  22. 26 Jul, 2009 1 commit
  23. 23 Jul, 2009 2 commits
  24. 16 Jul, 2009 1 commit
  25. 15 Jul, 2009 1 commit
  26. 26 Jun, 2009 1 commit
  27. 08 Jun, 2009 1 commit
  28. 26 May, 2009 1 commit
    • David Reitter's avatar
      Ensure NS frames remain hidden when invisible · 15891144
      David Reitter authored
      * nsterm.m (ns_raise_frame): only raise frame if visible.
      (x_make_frame_visible): move frame to front rather than calling
      ns_raise_frame().
      (keyDown:) do not swallow events that aren't re-sent if frame
      isn't key window.
      (drawRect:) do not set visibility/iconified flags because
      drawRect may be called by NSView even if the frame is hidden.
      
      * nsfns.m (Fx_create_frame): follow other ports in
      determining visibility; default to t. Ensure async_visible is set.
      15891144
  29. 18 May, 2009 1 commit
  30. 07 May, 2009 2 commits
  31. 06 May, 2009 1 commit
  32. 30 Apr, 2009 1 commit
  33. 19 Apr, 2009 1 commit
    • Jason Rumney's avatar
      The following changes fix Bug#3005 for wide glyphs on each platform, · 705af33f
      Jason Rumney authored
      without	reintroducing Bug#1258 for stretch glyphs.
      
      * xterm.c (x_draw_bar_cursor): Limit cursor width differently for
      BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR using
      get_phys_cursor_geometry.
      
      * w32term.c (x_draw_bar_cursor):  Limit cursor width differently
      for BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR
      using get_phys_cursor_geometry.
      
      * nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already
      correctly calculated.
      705af33f