1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-05 13:31:45 -08:00
Commit graph

30 commits

Author SHA1 Message Date
Dan Nicolaescu
89e2438a03 * nsfns.m (x_set_foreground_color, x_set_background_color)
(x_set_cursor_color, x_set_icon_name, x_explicitly_set_name)
(x_set_title, x_set_icon_type, x_set_cursor_type): Rename to use
x_ prefix instead of ns_.  Update references.
(syms_of_nsfns): Add a FIXME comment.

* nsterm.m (x_set_cursor_type): New prototype.
(setValuesFromPanel): Use it instead of the old ns_ prefixed name.
2009-01-02 18:58:49 +00:00
Adrian Robert
f5497e458a (ns_appkit_version_str): Rename from ns_appkit_version. (ns_appkit_version_int): New function. (x-server-version): Use ns_appkit_version_int and follow 21+ convention of returning 3 integers 2008-12-31 14:59:37 +00:00
Seiji Zenitani
aa96c42b3a * nsfns.m (ns_set_background_color): Remove code duplication. 2008-12-07 05:00:54 +00:00
Seiji Zenitani
59bc82c0b9 * frame.c (x_set_alpha) [NS_IMPL_COCOA]: Call x_set_frame_alpha.
* nsfns.m (ns_frame_parm_handlers): Set alpha handler.
* nsterm.m (x_set_frame_alpha): New function.
2008-11-28 05:40:36 +00:00
Adrian Robert
5a06864fb6 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.). 2008-11-25 02:45:39 +00:00
Adrian Robert
cb83c00bd1 * 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. 2008-10-22 12:51:29 +00:00
Glenn Morris
d1a5744de0 Fix case of "GNUstep". 2008-10-04 18:54:20 +00:00
Adrian Robert
c8c057ded8 * 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. 2008-10-02 13:57:39 +00:00
Chong Yidong
889bd43841 (compute_tip_xy): Use x_display_pixel_width and
x_display_pixel_height.
2008-09-22 15:52:24 +00:00
Adrian Robert
f2f7f42c63 * 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. 2008-08-21 02:48:58 +00:00
David Reitter
06197b17cd ns_set_cursor_type: replace with generic from xfns.c 2008-08-20 17:39:14 +00:00
Seiji Zenitani
78ff4c6196 Set the frame parameter alpha to Qnil 2008-08-04 17:50:22 +00:00
Chong Yidong
dee721c0c1 (ns_frame_parm_handlers): Add empty entry for x_set_alpha. 2008-08-01 16:23:25 +00:00
Adrian Robert
150349607c clear warnings and clean up NS port 2008-08-01 14:01:08 +00:00
Adrian Robert
bd6ce2baf7 code cleanups in NS port 2008-07-28 01:41:57 +00:00
Adrian Robert
583ff3c3ba rename do-applescript,do_applescript in keeping with NS code conventions 2008-07-27 19:20:38 +00:00
Adrian Robert
712b2de134 fix up compile error from renaming of ns-list-fonts 2008-07-23 02:53:42 +00:00
Dan Nicolaescu
952913d45d Rename ns prefixed functions/variables to the
corresponding x versions.  Update references.
2008-07-22 17:43:36 +00:00
Dan Nicolaescu
cc98b6a06a (x_set_menu_bar_lines, x_set_tool_bar_lines): Remove
forwarding functions.
(ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make
non-static.
(ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make
non-static.
(ns_frame_parm_handlers): Use the new names.
(syms_of_nsfns): Move to the end of file.
2008-07-22 16:29:10 +00:00
David Reitter
748766149b do-applescript: NS version of the Carbon implementation of the same
functionality: execute arbitrary AppleScript code.
2008-07-22 03:15:09 +00:00
Adrian Robert
51d5ef9f8e fix compile error in nsfns.m 2008-07-21 20:27:57 +00:00
Dan Nicolaescu
9e50ff0c16 * term/ns-win.el: Rename ns- functions/variables to the
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
defaliases.

* image.c:
* nsfns.m:
* nsselect.m:
* nsterm.h:
* nsterm.m: Rename ns prefixed functions/variables to the
corresponding x versions.  Update references.
2008-07-21 17:48:37 +00:00
Chong Yidong
d26fbe1a8e Change NS to Nextstep in docstrings and error messages.
(Fns_create_frame, Fns_read_file_name, Fns_get_resource)
(Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size)
(Fns_server_vendor, Fns_server_version, Fns_display_screens)
(Fns_display_mm_height, Fns_display_mm_width)
(Fns_display_backing_store, Fns_display_visual_class)
(Fns_display_save_under, Fns_open_connection)
(Fns_close_connection, Fns_hide_emacs, Fns_font_name)
(Fns_list_colors, Fns_perform_service, Fns_color_defined_p)
(Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p)
(Fns_display_pixel_width, Fns_display_pixel_height)
(Fns_display_usable_bounds, Fx_display_planes)
(Fns_display_color_cells, Vns_icon_type_alist): Doc fixes.
2008-07-21 15:40:18 +00:00
Adrian Robert
45d325c4d1 apply fix from Chong Yidong to NS port ns_set_background_color(), and clean up comparison use of result from NS_FACE_BACKGROUND 2008-07-19 17:01:36 +00:00
Adrian Robert
6fb5f7dad5 change most cases of PENDING to TODO, some to FIXME or XXX 2008-07-17 13:50:30 +00:00
Stefan Monnier
facfbbbdad * Makefile.in: Undef LIB_STANDARD before defining it to silence warning
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.
2008-07-17 03:33:59 +00:00
Glenn Morris
32d235f89b Switch to recommended form of GPLv3 permissions notice. 2008-07-16 02:22:04 +00:00
Miles Bader
2f8e74bbbb Use nicer comment syntax for arch taglines in Objective-C files
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1330
2008-07-16 02:18:49 +00:00
Miles Bader
0ae1e5e565 Add arch tagline 2008-07-15 23:52:03 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00