1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

28291 commits

Author SHA1 Message Date
Eli Zaretskii
68b251d973 (extend_face_to_end_of_line): Fix formatting of comments. 2009-09-28 17:47:48 +00:00
Stefan Monnier
9694740bcc (get_next_display_element): Use an enum in last change. 2009-09-28 02:01:52 +00:00
Kenichi Handa
748e162f10 Pay attention to
unibyte_display_via_language_environment in handling
Vnobreak_char_display.
2009-09-28 01:05:20 +00:00
Eli Zaretskii
5dc25d59aa (string_buffer_position): Fix commentary. 2009-09-27 19:11:13 +00:00
Eli Zaretskii
35a60b0799 (move_it_in_display_line_to): Fix a typo in a comment. 2009-09-27 17:32:05 +00:00
Adrian Robert
31c2d41266 * menu.c (find_and_return_menu_selection) [HAVE_NS]: Remove double-casting in client_data comparison. 2009-09-27 16:21:47 +00:00
Adrian Robert
17efd58d9d * nsterm.h (ns_app_name): New extern variable.
* nsterm.m (ns_app_name): New variable.
	(ns_term_init): Set and use it.
	(ns_term_shutdown): Use it.

	* nsmenu.m (ns_update_menubar): Use ns_app_name.  Sync with xmenu.c.
	(EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name.

	* nsfns.m (ns_set_name_iconic, ns_set_name)
	(ns_set_name_as_filename, x-create-frame, ns-get-resource)
	(ns-set-resource): Use ns_app_name instead of NSProcessInfo call.
2009-09-27 15:50:39 +00:00
Adrian Robert
56d513e611 (ns_set_name_iconic, ns_set_name, ns_set_name_as_filename, x-create-frame, ns-get-resource, ns-set-resource): Use ns_app_name instead of NSProcessInfo call. 2009-09-27 15:49:26 +00:00
Adrian Robert
3988c7d603 (ns_update_menubar): Use ns_app_name. Sync with xmenu.c. (EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name. 2009-09-27 15:49:08 +00:00
Adrian Robert
f27a64a912 (ns_app_name): New variable. (ns_term_init): Set and use it. (ns_term_shutdown): Use it. 2009-09-27 15:48:51 +00:00
Adrian Robert
abd5747ed9 (ns_app_name): New extern variable. 2009-09-27 15:48:30 +00:00
Eli Zaretskii
58a5068ad1 (move_it_in_display_line_to): Fix a typo in a comment. 2009-09-27 11:49:20 +00:00
YAMAMOTO Mitsuharu
3208cb35e9 (make_lispy_event): Remember last wheel direction.
(syms_of_keyboard) <wheel_syms>: Compute array size at compile time.
2009-09-27 04:40:41 +00:00
Glenn Morris
00e2f46c20 Comments. 2009-09-26 19:49:17 +00:00
Glenn Morris
b7d552d615 (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in internal.elc.
Add term/pc-win.elc.
(WINDOW_SUPPORT) [HAVE_X_WINDOWS]: Add term/common-win.elc and term/x-win.elc.
(WINNT_SUPPORT) [WINDOWSNT]: Add term/common-win.elc and term/w32-win.elc.
(NS_SUPPORT): New.
(lisp): Add NS_SUPPORT.
(SOME_MACHINE_LISP): Add term/w32-win.elc and emacs-lisp/easymenu.elc.
2009-09-26 19:40:55 +00:00
David Reitter
4ff670a8b8 nsmenu.m (EmacsMenu-clear): Recognize application menu
on Mac OS X 10.6+ (bug#4513).
2009-09-25 17:40:53 +00:00
Juanma Barranquero
feabfb6c72 * frame.c (xrdb_get_resource): Return nil for empty string resources;
some parts of Emacs code (like font selection) don't grok them.  See
  http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html
2009-09-24 16:59:14 +00:00
Andreas Schwab
de59072a63 (decode_coding_iso_2022): Fix operator precedence. 2009-09-24 08:18:40 +00:00
Juanma Barranquero
a489517b88 * dired.c (Fdirectory_files): Fix typo in docstring. 2009-09-24 01:04:27 +00:00
Adrian Robert
0592970cad * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.

	* nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
	glyph advancement.
2009-09-23 18:21:50 +00:00
Adrian Robert
6e2f42b41a * nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
glyph advancement.
2009-09-23 18:21:04 +00:00
Adrian Robert
6aba198c83 * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.
2009-09-23 18:20:03 +00:00
Adrian Robert
e14f0a78d6 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.

	* font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case.
2009-09-23 02:38:08 +00:00
Adrian Robert
87f66bd316 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.
2009-09-23 02:36:57 +00:00
Adrian Robert
f456006161 * font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case. 2009-09-23 02:35:54 +00:00
Adrian Robert
b3aac06a8c * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. 2009-09-23 01:07:45 +00:00
Adrian Robert
48e8a88b2b * nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
* nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been
	deleted (bug #4492).
2009-09-22 19:49:57 +00:00
Adrian Robert
201949c3a2 (EmacsMenu-menuNeedsUpdate): Ignore if frame has been deleted (bug #4492). 2009-09-22 19:49:50 +00:00
Adrian Robert
4eb34cc713 * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. 2009-09-22 19:49:06 +00:00
Stefan Monnier
5b650faa35 (find_handler_clause): Make stack-trace-on-error work in batch mode (bug#4228). 2009-09-20 17:05:00 +00:00
Eli Zaretskii
ea5fff5f19 Fix a comment. 2009-09-20 16:44:50 +00:00
Eli Zaretskii
2702e4ac03 Fix comments about header lines. 2009-09-20 16:06:53 +00:00
Adrian Robert
0bae4e09ed * nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more carefully. 2009-09-18 23:54:04 +00:00
Chong Yidong
e2b6daf419 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:40:00 +00:00
Chong Yidong
d798ba8712 * syntax.c (Fchar_syntax): Minor doc fix (Bug#4400). 2009-09-18 23:39:44 +00:00
Chong Yidong
fcfe06f3f3 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:39:04 +00:00
Adrian Robert
4acaaa2b24 * nsfns.m (x-focus-frame): Activate the app first. 2009-09-18 23:36:29 +00:00
Adrian Robert
6516d10a49 * nsterm.m (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
don't update the NSWindow itself.
  	   (EmacsView-windowWillUseStandardFrame:defaultFrame:): Improve
	    state detection and store user rect ourselves. (Bug #3581)
2009-09-18 21:27:11 +00:00
Adrian Robert
7107c29e11 Update comment for HAVE_NS code in font_find_for_lface(). 2009-09-18 21:16:28 +00:00
Adrian Robert
cff1115627 * emacs.c (main) [HAVE_NS]: fix error printf in daemon case. 2009-09-18 21:12:09 +00:00
Adrian Robert
8aad0aea8b * nsfns.m (x-close-connection): Drop PSFlush() under OS X. 2009-09-18 15:34:23 +00:00
Adrian Robert
3164272821 * emacs.c (inhibit_x_resources): Update doc string for NS.
(main) [HAVE_NS]: Don't process --no-init-file option.  Remove
	legacy code for -NXHost.

	* nsterm.h (ns_no_defaults): Remove.

	* nsterm.m (ns_no_defaults): Remove.
	(ns_term_init): Switch ns_no_defaults -> inhibit_x_resources.
	(ns_use_qd_smoothing): Remove legacy variable.

	* nsfont.m (nsfont_draw) [NS_IMPL_COCOA]: Don't use
	ns_use_qd_smoothing.

	* nsfns.m (x_get_string_resource): Ape just-previous changes to other
	platform versions.  Drop support for emacs-20-style face specs.
2009-09-18 15:14:14 +00:00
Adrian Robert
386a49d30b (x_get_string_resource): Ape just-previous changes to other platform versions. Drop support for emacs-20-style face specs. 2009-09-18 15:12:54 +00:00
Adrian Robert
0fde1939fc (nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing. 2009-09-18 15:12:34 +00:00
Adrian Robert
9518c24385 (ns_no_defaults): Remove. (ns_term_init): Switch ns_no_defaults -> inhibit_x_resources. (ns_use_qd_smoothing): Remove legacy variable. 2009-09-18 15:12:15 +00:00
Adrian Robert
c52b91097e (ns_no_defaults): Remove. 2009-09-18 15:11:55 +00:00
Adrian Robert
9b68317c5e (inhibit_x_resources): Update doc string for NS. (main) [HAVE_NS]: Don't process --no-init-file option. Remove legacy code for -NXHost. 2009-09-18 15:11:38 +00:00
Juanma Barranquero
8686ac7162 The --quick command line option now ignores X resources and Registry settings.
* etc/NEWS: Mention new behavior of -Q and new variable `inhibit-x-resources'.

* lisp/startup.el (emacs-quick-startup): Remove variable and all uses.
  (command-line): Set `inhibit-x-resources' instead.
  (command-line-1): Use `inhibit-x-resources' instead.

* src/emacs.c (inhibit_x_resources): New variable.
  (main) [HAVE_NS]: Don't process --quick command line option.
  (syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it.

* src/lisp.h (inhibit_x_resources): Declare it extern.

* src/w32reg.c (x_get_string_resource):
* src/xrdb.c (x_get_string_resource): Obey inhibit_x_resources.
2009-09-17 23:04:41 +00:00
Eli Zaretskii
e227ba05ec (MSDOS_SUPPORT, SOME_MACHINE_LISP): Add lisp/term/internal.elc. 2009-09-17 18:06:57 +00:00
Stefan Monnier
742d40e805 (x_get_resource_string): Re-add for non-toolkit builds (bug#4461). 2009-09-17 16:41:55 +00:00