Commit graph

26834 commits

Author SHA1 Message Date
Chong Yidong
523a973537 (try_scrolling): Use iterator to find the scroll margin,
instead of window-end which does the wrong thing at eob.
(try_cursor_movement): Minor optimization.
(redisplay_window): If scroll margin is defined, don't assume
window doesn't need scrolling.
2008-08-06 18:26:47 +00:00
Chong Yidong
b2c5015c6b * xdisp.c (try_scrolling): Use iterator to find the scroll margin,
instead of window-end which does the wrong thing at eob.
(try_cursor_movement): Minor optimization.
(redisplay_window): If scroll margin is defined, don't assume
window doesn't need scrolling.
2008-08-06 18:26:02 +00:00
Adrian Robert
5573794231 * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER. 2008-08-06 16:20:46 +00:00
Kenichi Handa
29428bb856 (xfont_list_family): Return a list of symbols, not
strings.
2008-08-06 12:20:28 +00:00
Andreas Schwab
5c17fc1dcb Regenerate. 2008-08-06 09:30:00 +00:00
Chong Yidong
8d4434db32 (redisplay_window): Don't enforce scroll-margin when forcing a window
start.
2008-08-05 22:45:50 +00:00
Chong Yidong
012fd6f4d0 * xdisp.c (redisplay_window): Don't enforce scroll-margin when
forcing a window start.
2008-08-05 22:45:39 +00:00
Chong Yidong
699b53bcf0 (Vauto_save_list_file_name): Move here from file.el.
(auto_save_1): Update modtime when auto-save-list-file-name is on.
2008-08-05 21:41:14 +00:00
Chong Yidong
cd7f53ca92 * fileio.c (Vauto_save_list_file_name): Move here from file.el.
(auto_save_1): Update modtime when auto-save-list-file-name is on.
2008-08-05 21:40:26 +00:00
Adrian Robert
95889848e8 emacs.c (main): Under NS, set working dir to HOME when get a 'psn' argument. 2008-08-05 17:33:05 +00:00
Adrian Robert
3d0a4431c9 set working dir to /Users/arobert under NS when psn argument given 2008-08-05 16:17:07 +00:00
Juanma Barranquero
d765e3a3d5 * buffer.c (syms_of_buffer) <scroll-up-aggressively>:
<scroll-down-aggressively, before-change-functions>:
  <after-change-functions>: Reflow docstrings.
2008-08-05 15:04:03 +00:00
Adrian Robert
4e6225928e Dock menu customization, based on a patch by Ken Raeburn, plus some other fixes. 2008-08-05 03:05:14 +00:00
Chong Yidong
cd1c5ce121 Test directly for NS_HAVE_INTEGER before defining it. 2008-08-04 21:59:02 +00:00
Chong Yidong
156e00fc63 Regenerate. 2008-08-04 21:58:51 +00:00
Chong Yidong
108a688327 * nsterm.h: Test directly for NS_HAVE_INTEGER before defining it.
* config.in: Regenerate.
2008-08-04 21:58:34 +00:00
Seiji Zenitani
ae10f60cf6 nsfns.m (x-create-frame): Set the frame parameter alpha to Qnil 2008-08-04 17:50:47 +00:00
Seiji Zenitani
78ff4c6196 Set the frame parameter alpha to Qnil 2008-08-04 17:50:22 +00:00
Chong Yidong
faf257a160 (find_and_call_menu_selection): Fix prototype. 2008-08-04 17:14:16 +00:00
Chong Yidong
b537b75b07 * nsterm.h (find_and_call_menu_selection): Fix prototype. 2008-08-04 17:14:08 +00:00
Adrian Robert
07b87a106a fix popup menu selection return (menu.c); add use of popup_activated under NS (nsmenu.m, xdisp.c); improve comments (lisp.h, s/darwin.h); use FORWARD_SIGNAL_TO_MAIN_THREAD (syssignal.h) 2008-08-04 16:57:44 +00:00
Adrian Robert
14145fa3d0 cleanup in s/darwin.h, define DARWIN_OS and use it instead of DARWIN and/or MAC_OSX; also, nsterm.m: small unrelated cleanups 2008-08-04 14:39:27 +00:00
Juanma Barranquero
4342f814c4 Fix typos. 2008-08-04 13:55:44 +00:00
Chong Yidong
1caf0534f4 (windowDidResize): Remove stopModel call. 2008-08-03 20:34:00 +00:00
Chong Yidong
6e09bde1e0 * nsterm.m (windowDidResize): Remove stopModel call. 2008-08-03 20:33:50 +00:00
Andreas Schwab
517571872e (get_lim_data) [HAVE_GETRLIMIT && RLIMIT_AS]: Define.
(check_memory_limits): Don't handle HAVE_GETRLIMIT here.
2008-08-03 09:27:34 +00:00
Andreas Schwab
a023b55981 (check_memory_limits) [HAVE_GETRLIMIT]: Fix
calculation of data_size.  Use correct type for five_percent.
2008-08-03 08:52:03 +00:00
Chong Yidong
21da04c4e9 (check_memory_limits): Don't use getrlimit on cygwin. Don't use
uninitialized pointer variable when using getrlimit.
2008-08-02 22:35:21 +00:00
Chong Yidong
a2dec0e5e3 * vm-limit.c (check_memory_limits): Don't use getrlimit on cygwin.
Don't use uninitialized pointer variable when using getrlimit.
2008-08-02 22:35:10 +00:00
Jason Rumney
4ff1bf172e (compute_metrics): Don't mess with glyph_idx setting here. 2008-08-02 21:26:08 +00:00
Eli Zaretskii
b86cfd2845 Fix erroneous last commit. 2008-08-02 17:03:34 +00:00
Eli Zaretskii
0078170f72 (NSTATICS): Bump to 0x640. 2008-08-02 16:41:36 +00:00
Eli Zaretskii
934e2a6894 (Fsystem_processes_list, Fsystem_process_attributes): New functions.
(syms_of_process): Defsubr them.  Add initializations for various Q* symbols
used in procfs_system_process_attributes.
(procfs_list_system_processes, procfs_system_process_attributes) [HAVE_PROCFS]:
New functions.
(time_from_jiffies, ltime_from_jiffies, get_up_time, procfs_ttyname)
(procfs_get_total_memory): New functions.
2008-08-02 16:27:44 +00:00
Eli Zaretskii
02db701b5d Add prototype for directory_files_internal. 2008-08-02 16:20:29 +00:00
Eli Zaretskii
40c5931ce4 (HAVE_PROCFS, LISTPROC, PROCATTR): New defines. 2008-08-02 16:19:03 +00:00
Juanma Barranquero
785ce0ac5d Fix whitespace change caused by bug. 2008-08-01 23:46:59 +00:00
Juanma Barranquero
dee8cd4354 * xfaces.c (Fx_load_color_file): Fix previous change;
it is #ifdef WINDOWSNT, not WINDOWS_NT.
2008-08-01 23:40:13 +00:00
Michael Albinus
367ea1732a * dbusbind.c (xd_read_message): Handle D-Bus error messages. 2008-08-01 18:35:49 +00:00
Adrian Robert
04f33e1137 add defines for NSInteger, NSUInteger on non-Leopard 2008-08-01 16:29:50 +00:00
Chong Yidong
dee721c0c1 (ns_frame_parm_handlers): Add empty entry for x_set_alpha. 2008-08-01 16:23:25 +00:00
Chong Yidong
e0a516324a * nsfns.m (ns_frame_parm_handlers): Add empty entry for
x_set_alpha.
2008-08-01 16:23:06 +00:00
Chong Yidong
98a2166aef (EmacsApp -application:openFiles:): GNUStep does not
define NSApplicationDelegateReplySuccess.
(EmacsView -converstationIdentifier): Use long instead of
NSInteger for GNUStep, since it doesn't have NSInteger.
2008-08-01 16:07:49 +00:00
Chong Yidong
6fcb12fdcf * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not
define NSApplicationDelegateReplySuccess.
(EmacsView -converstationIdentifier): Use long instead of
NSInteger for GNUStep, since it doesn't have NSInteger.
2008-08-01 16:07:14 +00:00
Chong Yidong
d142dd3dbc Revert last change. 2008-08-01 15:44:26 +00:00
Chong Yidong
61bf63e29d * xmenu.c: Revert last change. 2008-08-01 15:44:18 +00:00
Chong Yidong
223b805681 Fix last change. 2008-08-01 15:40:54 +00:00
Chong Yidong
73592876ec * keyboard.h: Fix last change. 2008-08-01 15:40:46 +00:00
Adrian Robert
ebadbfa6e7 commit patch to x-load-color-file posted by lekktu@gmail.com 2008-08-01 15:33:15 +00:00
Dan Nicolaescu
f78c2c973f (dispnew.o, gtkutil.o, sound.o, atimer.o)
(floatfns.o): Depend on syssignal.h.
(term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC).
2008-08-01 14:04:53 +00:00
Adrian Robert
150349607c clear warnings and clean up NS port 2008-08-01 14:01:08 +00:00