Commit graph

26846 commits

Author SHA1 Message Date
Glenn Morris
fdcf5611fa Remove entries related to comments. 2008-08-10 00:31:10 +00:00
Glenn Morris
8df8bcc947 Fix attributions. 2008-08-10 00:16:39 +00:00
Eli Zaretskii
754a2d1380 (w32_system_process_attributes): If the process does not exist, return nil. 2008-08-09 19:05:54 +00:00
Eli Zaretskii
3af03101a7 (process_times): Fix the case of System process. 2008-08-09 18:19:28 +00:00
Eli Zaretskii
8f8b082a13 (Fsystem_process_attributes): Doc fix. 2008-08-09 17:55:00 +00:00
Eli Zaretskii
5bef3aecc1 (w32_list_system_processes, w32_system_process_attributes): Add prototypes.
(Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname)
(Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcutime)
(Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs, Quser, Qgroup)
(Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime): Add extern declarations.
2008-08-09 17:53:30 +00:00
Eli Zaretskii
7c80d5ec06 Include thelp32.h, psapi.h and coding.h.
(_MEMORYSTATUSEX, _PROCESS_MEMORY_COUNTERS_EX): New struct declarations.
(CreateToolhelp32Snapshot_Proc, Process32First_Proc, Process32Next_Proc): New
typedefs.
(g_b_init_create_toolhelp32_snapshot, g_b_init_process32_first)
(g_b_init_process32_next, g_b_init_open_thread_token)
(g_b_init_impersonate_self, g_b_init_revert_to_self)
(g_b_init_get_process_memory_info, g_b_init_global_memory_status)
(g_b_init_get_process_working_set_size)
(g_b_init_global_memory_status_ex): New static variables.
(globals_of_w32): Initialize them.
(create_toolhelp32_snapshot, process32_first, process32_next)
(open_thread_token, impersonate_self, revert_to_self)
(get_process_memory_info, get_process_working_set_size)
(global_memory_status, global_memory_status_ex): New wrapper functions.
(w32_list_system_processes, w32_system_process_attributes)
(enable_privilege, restore_privilege, ltime, process_times): New functions.
(convert_time_raw): New function.
(convert_time): Remove conversion of FILETIME into time in 100 nsec units,
call convert_time_raw instead.
2008-08-09 17:53:00 +00:00
Chong Yidong
97c9858753 (move_it_to): When stopping at a charpos, check if that's a continued
multi-char glyph; if so, advance to the actual glyph.
2008-08-08 15:43:45 +00:00
Dan Nicolaescu
48fad8e894 * s/darwin.h (OTHER_FILES): Do not define here, defined in
config.in.

* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.

* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.  Do
not special case for NS_IMPL_COCOA.

* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
2008-08-07 14:21:43 +00:00
Chong Yidong
c6aecbbd02 (redisplay_window): Revert last change.
(try_window): Check bottom scroll margin too.
2008-08-07 01:54:06 +00:00
Chong Yidong
709fc72168 * xdisp.c (redisplay_window): Revert last change.
(try_window): Check bottom scroll margin too.
2008-08-07 01:53:57 +00:00
Adrian Robert
b330336c40 * Makefile.in (emacs): Remove ndef NS conditional for 'emacs -list-load-path-shadows'. (nsgui.h): Reduce number of things depending on it. 2008-08-07 01:36:30 +00:00
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