log src/nsterm.m @ 112396:e79e716435f4

age author description
Fri, 21 Jan 2011 15:19:44 +0100 Jan D. Make Nextstep port handle multiple screens for resize and move.
Fri, 21 Jan 2011 09:35:30 +0100 Jan D. * nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
Wed, 19 Jan 2011 23:11:33 +0100 Jan D. Fix NextStep build problems with globals.h introducion.
Sat, 15 Jan 2011 15:16:57 -0800 Glenn Morris Nuke arch-tags.
Fri, 14 Jan 2011 12:18:41 -0500 Stefan Monnier Merge from emacs-23
Sun, 02 Jan 2011 15:50:46 -0800 Glenn Morris Add 2011 to FSF/AIST copyright years.
Thu, 16 Dec 2010 20:37:13 +0100 Jan D. Handle invisible cursor (bg same as cursor color) for Nextstep.
Mon, 13 Dec 2010 10:27:36 -0500 Stefan Monnier Merge from emacs-23
Sun, 05 Dec 2010 11:33:48 +0100 Jan D. Fix for 7412 (no cursor on image) backported from trunk.
Thu, 02 Dec 2010 08:12:54 +0100 Jan D. Handle negative top/left in frame parameters (Bug#7510).
Fri, 03 Dec 2010 11:54:44 +0100 Jan D. Draw cursor and images correctly for Nextstep (bug#7412).
Thu, 02 Dec 2010 09:24:16 +0100 Jan D. Draw text under filled box cursor in inverted color (Bug#7479).
Wed, 24 Nov 2010 15:52:14 +0100 Jan D. nsterm.m (keyDown): Compare Left key masks exactly (Bug#7458).
Wed, 24 Nov 2010 08:50:08 +0100 Jan D. Bug 7458: Make key press like Left + right ctrl work when right is not control.
Sun, 21 Nov 2010 14:09:34 +0100 Jan D. Add separate key mappings for left/right control/command on Nextstep (Bug#7458).
Sat, 06 Nov 2010 10:28:31 +0200 Eli Zaretskii Unify mouse-highlight code for all GUI and TTY sessions.
Fri, 05 Nov 2010 12:35:36 +0200 Adrian Robert * nsterm.m (EmacsView-mouseExited:): Correct error in conditional logic pointed out by Eli Zaretskii.
Thu, 04 Nov 2010 20:10:50 +0200 Adrian Robert * nsfont.m (nsfont_draw) * nsimage.m (EmacsImage-setXBMColor:) * nsterm.m (EmacsView-performDragOperation:): Correct empty return statements. Based on a patch by Ismail Donmez <ismail@namtrac.org>.
Mon, 01 Nov 2010 22:09:03 +0200 Eli Zaretskii Finish coding mouse highlight redesigned for portability.
Fri, 29 Oct 2010 09:50:13 +0900 Kenichi Handa Implement various display methods for glyphless characters.
Thu, 14 Oct 2010 16:32:27 +0200 Juanma Barranquero Merge changes from emacs-23 branch.
Wed, 13 Oct 2010 01:25:19 +0200 Juanma Barranquero Fix typos in docstrings, comments and ChangeLogs.
Tue, 12 Oct 2010 01:57:49 +0200 Juanma Barranquero Merge changes from emacs-23 branch.
Mon, 11 Oct 2010 21:18:08 +0200 Jan D. Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
Sun, 29 Aug 2010 12:30:45 +0200 Jan D * nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.
Wed, 18 Aug 2010 10:06:45 +0200 Jan D * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
Fri, 06 Aug 2010 12:12:41 +0200 Jan D Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings.
Sat, 10 Jul 2010 14:52:53 -0400 Chong Yidong Merge changes from emacs-23 branch.
Mon, 05 Jul 2010 18:58:31 +0900 YAMAMOTO Mitsuharu Fix ghost buffer boundary indicators in fringes (Bug#5634, Bug#6325).
Thu, 08 Jul 2010 00:18:28 +0200 Andreas Schwab Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp
Thu, 01 Jul 2010 14:16:33 +0200 Jan D Rename FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT to aid common code.
Tue, 01 Jun 2010 21:29:53 -0700 Dan Nicolaescu Fix config.h includes.
Mon, 29 Mar 2010 19:48:44 -0400 Chong Yidong Clean up unneeded ns_set_icon_type calls.
Thu, 18 Feb 2010 02:21:15 -0500 Chong Yidong * nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
Sun, 31 Jan 2010 00:23:09 -0500 Chong Yidong * nsterm.m (ns_defined_color): Block input. Suggested by Mike
Sat, 30 Jan 2010 22:36:06 -0500 Chong Yidong * nsterm.m (ns_ring_bell): Handle visible bell like X.
Thu, 14 Jan 2010 20:46:53 -0500 Chong Yidong Fix Qnone definition in NS files.
Wed, 13 Jan 2010 00:35:10 -0800 Glenn Morris Add 2010 to copyright years.
Mon, 11 Jan 2010 09:58:59 -0500 Chong Yidong * nsterm.m: Use DEFSYM for last change.
Mon, 11 Jan 2010 09:54:52 -0500 Chong Yidong * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
Sat, 09 Jan 2010 15:31:26 -0500 Chong Yidong Fix for Bug#4113.
Fri, 01 Jan 2010 17:10:50 -0500 Chong Yidong Fix buffer overflow in ns_get_color.
Mon, 19 Oct 2009 16:58:18 +0000 Dan Nicolaescu * nsterm.m:
Fri, 16 Oct 2009 03:09:02 +0000 Adrian Robert (EmacsView-conversationIdentifier): Arg is long.
Tue, 13 Oct 2009 01:05:18 +0000 Adrian Robert Add space after casts in last change.
Mon, 12 Oct 2009 00:27:52 +0000 Adrian Robert * nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate. Fix
Sun, 27 Sep 2009 15:48:51 +0000 Adrian Robert (ns_app_name): New variable. (ns_term_init): Set and use it. (ns_term_shutdown): Use it.
Wed, 23 Sep 2009 18:20:03 +0000 Adrian Robert * nsterm.m (EV_TIMESTAMP, x_set_window_size)
Wed, 23 Sep 2009 01:07:45 +0000 Adrian Robert * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY.
Tue, 22 Sep 2009 19:49:06 +0000 Adrian Robert * nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
Fri, 18 Sep 2009 21:25:13 +0000 Adrian Robert * nsterm.m (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
Fri, 18 Sep 2009 15:12:15 +0000 Adrian Robert (ns_no_defaults): Remove. (ns_term_init): Switch ns_no_defaults -> inhibit_x_resources. (ns_use_qd_smoothing): Remove legacy variable.
Thu, 03 Sep 2009 06:03:48 +0000 Glenn Morris CHENG Gao <chenggao at gmail.com>
Fri, 21 Aug 2009 19:36:50 +0000 Adrian Robert (ns_get_color): fix typo in last change CEDET_BASE
Fri, 21 Aug 2009 19:31:48 +0000 Adrian Robert * nsterm.m (ns_get_color): Update documentation properly for last
Thu, 20 Aug 2009 09:44:15 +0000 YAMAMOTO Mitsuharu (ns_get_color): Remove incompatible color formats again.
Sun, 26 Jul 2009 12:58:56 +0000 Chong Yidong * nsfont.m (nsfont_draw): Revert 2009-07-15 change.
Thu, 23 Jul 2009 13:21:44 +0000 Adrian Robert * nsterm.m (ns_lookup_indexed_color): Check for bad index. (ns_index_color): Init unused slot to 0. (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). Bug 3714, possibly 3082.
Thu, 23 Jul 2009 11:52:45 +0000 Adrian Robert * nsterm.m (EmacsView-keyUp:): Only act when running under Tiger.
Thu, 16 Jul 2009 08:24:06 +0000 YAMAMOTO Mitsuharu (ns_get_color): Remove incompatible color formats.
Wed, 15 Jul 2009 08:24:51 +0000 YAMAMOTO Mitsuharu (ns_maybe_dumpglyphs_background): Remove code for stippling, which actually
Fri, 26 Jun 2009 18:37:41 +0000 David Reitter nsterm.m (keydown): avoid infinite loop
Mon, 08 Jun 2009 04:32:42 +0000 Adrian Robert nsterm.m (ns_draw_window_cursor): Respect cursor_type for nonactive windows. (ns_init_paths): Append path separator to INFOPATH variable. (ns_use_system_highlight_color): Drop, unused.
Tue, 26 May 2009 18:14:14 +0000 David Reitter Ensure NS frames remain hidden when invisible
Mon, 18 May 2009 01:56:12 +0000 Adrian Robert * nsterm.m (ns_read_socket): Remove unused variable.
Thu, 07 May 2009 13:46:56 +0000 David Reitter ns_dumpglyphs_stretch, ns_dumpglyphs_image: respect mouse face background.
Thu, 07 May 2009 03:22:09 +0000 David Reitter mouse movement/highlight: bracket drawing operations in ns_update_begin and ns_update_end.
Wed, 06 May 2009 02:49:35 +0000 Stefan Monnier (-windowDidResize:): Avoid inf-loop under GNUStep.
Thu, 30 Apr 2009 16:52:19 +0000 David Reitter convert_ns_to_X_keysym: define function keys f16 through f24.
Sun, 19 Apr 2009 15:09:25 +0000 Jason Rumney The following changes fix Bug#3005 for wide glyphs on each platform,
Sat, 14 Mar 2009 21:19:56 +0000 David Reitter Unify shutdown handling under NS, via ns-power-off key event (where appropriate) and save-buffers-kill-emacs.
Thu, 12 Mar 2009 01:57:50 +0000 David Reitter newFrame, openFile, fulfillService, changeFont, toggleToolbar, performDragOperation, runHelp: use the new NS_NONKEY_EVENT event type.
Fri, 06 Mar 2009 19:07:00 +0000 Adrian Robert Include <signal.h> for SIGTERM used in ns_term_shutdown.
Fri, 06 Mar 2009 15:29:50 +0000 Adrian Robert (ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
Fri, 06 Mar 2009 14:52:37 +0000 Adrian Robert * nsterm.m (x_set_window_size): Change back to calculated method
Thu, 05 Mar 2009 16:34:59 +0000 Adrian Robert * nsterm.m (ns_select): Shortcircuit if reentrant call.
Thu, 26 Feb 2009 03:54:40 +0000 Glenn Morris Comment (don't hard-code bug address).
Tue, 24 Feb 2009 12:42:00 +0000 Adrian Robert * nsterm.m (ns_ring_bell): Convert rect to window coordinates
Fri, 20 Feb 2009 11:39:19 +0000 Adrian Robert * nsterm.m (x_make_frame_invisible): Unset async_visible,
Sat, 07 Feb 2009 11:04:07 +0000 Adrian Robert * nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
Wed, 04 Feb 2009 11:31:28 +0000 Adrian Robert * nsmenu.m (pop_down_menu): New function.
Mon, 02 Feb 2009 12:33:07 +0000 Adrian Robert formatting in ChangeLog, wording change to comment in nsterm.m
Sun, 01 Feb 2009 16:32:00 +0000 Adrian Robert * nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30
Thu, 29 Jan 2009 10:36:22 +0000 Adrian Robert * nsterm.m (ns_confirm_quit): New variable.
Sun, 25 Jan 2009 19:43:31 +0000 Adrian Robert Changes to remove Feval calls from GUI under NS.
Fri, 23 Jan 2009 14:32:47 +0000 Adrian Robert * nsterm.m (ns_draw_glyph_string): Use it, parallel Yamamoto Mitsuharu change of 2008-11-15 to other terms. (Bug#615)
Fri, 23 Jan 2009 10:31:54 +0000 Adrian Robert * nsterm.m (EmacsView-readSelectionFromPasteboard:) (writeSelectionToPasteboard:types:): New stubbed-out methods for NSServicesRequests protocol. (Bug#1435)
Fri, 23 Jan 2009 09:58:02 +0000 Adrian Robert * emacs.c (ns_no_defaults): New declaration. (main): Use it. * nsterm.h (ns_no_defaults): New declaration. * nsfns.m (x_get_string_resource): Don't read when ns_no_defaults. * nsterm.m (ns_no_defaults): New variable. (ns_initialize): Don't read defaults when ns_no_defaults.
Thu, 22 Jan 2009 13:55:44 +0000 Adrian Robert Remove '23' comments that indicated code added during update from emacs-20 -> emacs-23.
Thu, 22 Jan 2009 11:39:10 +0000 Adrian Robert * nsterm.m (EmavsView-keyDown:): Treat nil as Qnone for ns_alternate_modifier. (Bug#1217)
Wed, 21 Jan 2009 22:28:45 +0000 Adrian Robert * nsimage.m (EmacsImage-setPixelAtX:Y:toRed:green:blue:alpha:): Fix color values in onTiger section. * nsterm.m (ns_defined_color): Fix settings of the XColor variable fields: red,green,blue scale to 2-byte, pixel's components to 1-byte. (Bug#1663)
Wed, 21 Jan 2009 18:56:41 +0000 Adrian Robert * nsterm.m (EV_TRAILER): Always use emacsframe for frame_or_window. (ns_font_to_xlfd, ns_fontname_to_xlfd): Remove, unused.
Wed, 21 Jan 2009 18:13:26 +0000 Adrian Robert * nsterm.h (EmacsPrefsController): Add -setPanelFromDefaultValues. * nsterm.m (EmacsPrefsController-setPanelFromDefaultValues) New function. (EmacsPrefsController-resetToDefaults:): Use it.
Wed, 21 Jan 2009 17:56:37 +0000 Adrian Robert (EmacsPrefsController-setDefaultFont:,-setColors:): Raise the frame.
Wed, 21 Jan 2009 17:05:45 +0000 Adrian Robert * nsterm.m: (x_set_frame_alpha): Add prototype. (ns_fake_keydown, EmacsView-keyUp:): New variable and function to handle Ctrl-tab. (ns_get_color): Use unsigned long long for scanned hex string value. (ns_term_shutdown): Abort on non SIGTERM signals.
Thu, 08 Jan 2009 03:15:17 +0000 Glenn Morris Add 2009 to copyright years.
Fri, 02 Jan 2009 18:58:49 +0000 Dan Nicolaescu * nsfns.m (x_set_foreground_color, x_set_background_color)
Tue, 23 Dec 2008 07:28:06 +0000 Martin Rudalics In comments, write delete_frame instead of Fdelete_frame.
Fri, 28 Nov 2008 05:40:36 +0000 Seiji Zenitani * frame.c (x_set_alpha) [NS_IMPL_COCOA]: Call x_set_frame_alpha.
Tue, 25 Nov 2008 04:39:29 +0000 Adrian Robert * nsterm.m (ns_get_color): Handle long hex strings (fixes bug #1044).
Tue, 25 Nov 2008 04:09:49 +0000 Adrian Robert * nsterm.m (-otherMouseDown:, -otherMouseUp:, -otherMouseDragged): New EmacsView methods. (EV_UDMODIFIERS, EV_BUTTON): Add OtherMouse constants. Fixes bug #1048,1357,1414.
Tue, 25 Nov 2008 02:45:39 +0000 Adrian Robert Fix bug #1362. * image.c (x_clear_image_1): Do not free background under HAVE_NS, it is not an indexed color. * nsterm.m (free_indexed_color): Add argument checking. * nsfns.m: Move config.h to before system includes (advised by Dan N.).
Sat, 15 Nov 2008 05:20:49 +0000 Chong Yidong (ns_draw_glyph_string): Stop drawing the background of the next glyph
Mon, 27 Oct 2008 22:30:38 +0000 Chong Yidong (ns_draw_window_cursor): When hbar cursor is on over-sized glyph, draw
Wed, 22 Oct 2008 12:51:29 +0000 Adrian Robert * lisp/version.el (emacs-version): Change '*Step' to 'NS' for consistency with other documentation. * src/nsfns.m (ns_appkit_version): New function. (x-server-version): Use it. (syms_of_nsfns): Define ns-version-string here, not nsterm.m. (x-server-vendor): Don't check_ns(). * nsterm.m (syms_of_nsterm): Drop ns-version-string.
Sat, 04 Oct 2008 18:54:20 +0000 Glenn Morris Fix case of "GNUstep".
Thu, 02 Oct 2008 13:57:39 +0000 Adrian Robert * 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.
Sat, 27 Sep 2008 19:07:15 +0000 Adrian Robert * nsfont.m (nsfont_draw): Fix up composition rendering.
Thu, 18 Sep 2008 18:20:06 +0000 Chong Yidong (x_display_pixel_height, x_display_pixel_width): New functions.
Fri, 29 Aug 2008 07:56:59 +0000 Kenichi Handa (ns_draw_glyph_string): Adjusted for the change of
Sat, 23 Aug 2008 20:40:19 +0000 David Reitter (ns_draw_window_cursor): .*ScreenUpdates() calls only if NS_IMPL_COCOA
Thu, 21 Aug 2008 15:49:47 +0000 David Reitter ns_draw_window_cursor: fix bug in setting cursor type in inactive
Thu, 21 Aug 2008 02:48:58 +0000 Adrian Robert * 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.
Wed, 20 Aug 2008 17:46:37 +0000 David Reitter Clear cursor properly rather than redrawing the area. Respect width of
Tue, 05 Aug 2008 03:05:14 +0000 Adrian Robert Dock menu customization, based on a patch by Ken Raeburn, plus some other fixes.
Mon, 04 Aug 2008 14:39:27 +0000 Adrian Robert cleanup in s/darwin.h, define DARWIN_OS and use it instead of DARWIN and/or MAC_OSX; also, nsterm.m: small unrelated cleanups
Sun, 03 Aug 2008 20:34:00 +0000 Chong Yidong (windowDidResize): Remove stopModel call.
Fri, 01 Aug 2008 16:07:49 +0000 Chong Yidong (EmacsApp -application:openFiles:): GNUStep does not
Fri, 01 Aug 2008 14:01:08 +0000 Adrian Robert clear warnings and clean up NS port
Fri, 01 Aug 2008 11:48:29 +0000 Adrian Robert NS port now uses etc/rgb.txt instead of etc/Emacs.clr (now removed); function Fw32_load_color_file moved to xfaces x_load_color_file