aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (make_process): Initialize kill_without_query struct member.Chong Yidong2008-08-151-0/+1
|
* * process.c (make_process): Initialize kill_without_query structChong Yidong2008-08-151-0/+5
| | | | member.
* (w32_system_process_attributes) [_MSC_VER < 1300]: Alternative calculationEli Zaretskii2008-08-152-0/+15
| | | | of totphys for Visual Studio 6.
* [_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR.Eli Zaretskii2008-08-152-0/+7
|
* (CopySid_Proc, EqualSid_Proc, GetLengthSid_Proc): New typedefs.Eli Zaretskii2008-08-152-14/+189
| | | | | | | | | | | (equal_sid, get_length_sid, copy_sid): New wrapper functions. (w32_cached_id, w32_add_to_cache): New functions. (get_name_and_id): Look account names in the cache before calling lookup_account_sid. (g_b_init_get_length_sid, g_b_init_equal_sid, g_b_init_copy_sid): New initialization flags. (globals_of_w32): Initialize them to zero. (w32_system_process_attributes): Use w32_cached_id and w32_add_to_cache.
* (stat): Only root directory passed to GetDriveType.Eli Zaretskii2008-08-152-2/+17
|
* (_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX): Rename fromEli Zaretskii2008-08-152-6/+13
| | | | _MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX. All users changed.
* (Fread_char, Fread_char_exclusive): If no character event is readChong Yidong2008-08-141-6/+7
| | | | | before timeout is reached, return nil, rather than converting to a number.
* * lread.c (Fread_char, Fread_char_exclusive): If no characterChong Yidong2008-08-141-0/+6
| | | | | event is read before timeout is reached, return nil, rather than converting to a number.
* (use_dialog_box): Doc fix.Chong Yidong2008-08-141-1/+4
|
* Fix last change.Chong Yidong2008-08-141-1/+1
|
* * fns.c (syms_of_fns): Doc fix.Chong Yidong2008-08-141-0/+2
|
* Undefine HAVE_RES_INIT, which appears to be harmful on OS X.Chong Yidong2008-08-141-4/+7
|
* * s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful onChong Yidong2008-08-141-0/+5
| | | | OS X.
* (Qns_parse_geometry): New var.Chong Yidong2008-08-131-6/+30
| | | | (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry.
* * frame.c (Qns_parse_geometry): New var.Chong Yidong2008-08-131-0/+5
| | | | (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry.
* (x_produce_glyphs): Handle the case when font has no space characterChong Yidong2008-08-111-18/+26
| | | | in calculating tabs.
* * xdisp.c (x_produce_glyphs): Handle the case when font has noChong Yidong2008-08-111-0/+5
| | | | space character in calculating tabs.
* (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case.Dan Nicolaescu2008-08-112-1/+5
|
* (procfs_system_process_attributes): Use EMACS_INTs to silence gccGlenn Morris2008-08-102-8/+25
| | | | "limited range of data type" warnings in some make_fixnum_or_float calls.
* Remove entries related to comments.Glenn Morris2008-08-101-23/+0
|
* Fix attributions.Glenn Morris2008-08-101-11/+19
|
* (w32_system_process_attributes): If the process does not exist, return nil.Eli Zaretskii2008-08-092-0/+11
|
* (process_times): Fix the case of System process.Eli Zaretskii2008-08-091-3/+16
|
* (Fsystem_process_attributes): Doc fix.Eli Zaretskii2008-08-092-0/+39
|
* (w32_list_system_processes, w32_system_process_attributes): Add prototypes.Eli Zaretskii2008-08-091-0/+8
| | | | | | | (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.
* Include thelp32.h, psapi.h and coding.h.Eli Zaretskii2008-08-091-4/+710
| | | | | | | | | | | | | | | | | | | | | | (_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.
* (move_it_to): When stopping at a charpos, check if that's a continuedChong Yidong2008-08-082-0/+30
| | | | multi-char glyph; if so, advance to the actual glyph.
* * s/darwin.h (OTHER_FILES): Do not define here, defined inDan Nicolaescu2008-08-074-9/+15
| | | | | | | | | | | | | | | | | | | 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.
* (redisplay_window): Revert last change.Chong Yidong2008-08-071-9/+8
| | | | (try_window): Check bottom scroll margin too.
* * xdisp.c (redisplay_window): Revert last change.Chong Yidong2008-08-071-0/+5
| | | | (try_window): Check bottom scroll margin too.
* * Makefile.in (emacs): Remove ndef NS conditional for 'emacs ↵Adrian Robert2008-08-073-10/+14
| | | | -list-load-path-shadows'. (nsgui.h): Reduce number of things depending on it.
* (try_scrolling): Use iterator to find the scroll margin,Chong Yidong2008-08-061-48/+47
| | | | | | | 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.
* * xdisp.c (try_scrolling): Use iterator to find the scroll margin,Chong Yidong2008-08-061-0/+8
| | | | | | | 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.
* * config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big ↵Adrian Robert2008-08-064-19/+25
| | | | alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
* (xfont_list_family): Return a list of symbols, notKenichi Handa2008-08-062-2/+7
| | | | strings.
* Regenerate.Andreas Schwab2008-08-062-0/+10
|
* (redisplay_window): Don't enforce scroll-margin when forcing a windowChong Yidong2008-08-051-6/+4
| | | | start.
* * xdisp.c (redisplay_window): Don't enforce scroll-margin whenChong Yidong2008-08-051-0/+3
| | | | forcing a window start.
* (Vauto_save_list_file_name): Move here from file.el.Chong Yidong2008-08-051-3/+11
| | | | (auto_save_1): Update modtime when auto-save-list-file-name is on.
* * fileio.c (Vauto_save_list_file_name): Move here from file.el.Chong Yidong2008-08-051-0/+5
| | | | (auto_save_1): Update modtime when auto-save-list-file-name is on.
* emacs.c (main): Under NS, set working dir to HOME when get a 'psn' argument.Adrian Robert2008-08-052-4/+3
|
* set working dir to /Users/arobert under NS when psn argument givenAdrian Robert2008-08-052-0/+7
|
* * buffer.c (syms_of_buffer) <scroll-up-aggressively>:Juanma Barranquero2008-08-052-16/+21
| | | | | <scroll-down-aggressively, before-change-functions>: <after-change-functions>: Reflow docstrings.
* Dock menu customization, based on a patch by Ken Raeburn, plus some other fixes.Adrian Robert2008-08-055-8/+51
|
* Test directly for NS_HAVE_INTEGER before defining it.Chong Yidong2008-08-041-2/+2
|
* Regenerate.Chong Yidong2008-08-041-0/+3
|
* * nsterm.h: Test directly for NS_HAVE_INTEGER before defining it.Chong Yidong2008-08-041-0/+6
| | | | * config.in: Regenerate.
* nsfns.m (x-create-frame): Set the frame parameter alpha to QnilSeiji Zenitani2008-08-041-0/+4
|
* Set the frame parameter alpha to QnilSeiji Zenitani2008-08-041-1/+1
|