Kenichi Handa
cd872f08bf
(reorder_font_vector): Use encoding charset of fonts
...
for sorting.
(face_for_char): Use deferred log.
2008-08-19 07:45:55 +00:00
Kenichi Handa
039d3b16fd
*** empty log message ***
2008-08-18 12:12:32 +00:00
Kenichi Handa
303d51903a
(face_for_char): Add font log.
2008-08-18 12:06:33 +00:00
Kenichi Handa
db71664451
(font_add_log): Add the font properties :script, :lang,
...
and :otf in the log.
2008-08-18 12:05:30 +00:00
Chong Yidong
85fd2f9da0
Remove dead code.
...
(handle_invisible_prop, next_overlay_string): Defer call to
setup_for_ellipsis.
(handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
2008-08-17 23:48:30 +00:00
Chong Yidong
e5ac241921
* xdisp.c: Remove dead code.
...
(handle_invisible_prop, next_overlay_string): Defer call to
setup_for_ellipsis.
(handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
2008-08-17 23:48:21 +00:00
Chong Yidong
d8453278d9
(lookup_derived_face): Properly handle possible zero
...
return value of get_lface_attributes.
(merge_faces): Don't tell lookup_derived_face to signal an error
if face is not found.
2008-08-15 21:32:48 +00:00
Chong Yidong
ef1fba8005
* xfaces.c (lookup_derived_face): Properly handle possible zero
...
return value of get_lface_attributes.
(merge_faces): Don't tell lookup_derived_face to signal an error
if face is not found.
2008-08-15 21:32:01 +00:00
Chong Yidong
e933b15ea3
(Fdirectory_files): Doc fix.
2008-08-15 20:17:12 +00:00
Chong Yidong
1c319327be
* dired.c (Fdirectory_files): Doc fix.
2008-08-15 20:17:02 +00:00
Chong Yidong
847c048ea3
(make_process): Initialize kill_without_query struct member.
2008-08-15 20:09:32 +00:00
Chong Yidong
c2e9928d5b
* process.c (make_process): Initialize kill_without_query struct
...
member.
2008-08-15 20:09:19 +00:00
Eli Zaretskii
235661f6d5
(w32_system_process_attributes) [_MSC_VER < 1300]: Alternative calculation
...
of totphys for Visual Studio 6.
2008-08-15 17:36:48 +00:00
Eli Zaretskii
8e764ce06d
[_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR.
2008-08-15 17:08:58 +00:00
Eli Zaretskii
f8b35b24ae
(CopySid_Proc, EqualSid_Proc, GetLengthSid_Proc): New typedefs.
...
(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.
2008-08-15 16:00:19 +00:00
Eli Zaretskii
a644b2e42c
(stat): Only root directory passed to GetDriveType.
2008-08-15 13:54:14 +00:00
Eli Zaretskii
b8526f6ea4
(_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX): Rename from
...
_MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX. All users changed.
2008-08-15 12:49:09 +00:00
Chong Yidong
66c410cec5
(Fread_char, Fread_char_exclusive): If no character event is read
...
before timeout is reached, return nil, rather than converting to a
number.
2008-08-14 19:24:54 +00:00
Chong Yidong
f581fad699
* lread.c (Fread_char, Fread_char_exclusive): If no character
...
event is read before timeout is reached, return nil, rather than
converting to a number.
2008-08-14 19:24:36 +00:00
Chong Yidong
7e861e0dfc
(use_dialog_box): Doc fix.
2008-08-14 01:14:37 +00:00
Chong Yidong
6988207c40
Fix last change.
2008-08-14 01:14:28 +00:00
Chong Yidong
97aec90a14
* fns.c (syms_of_fns): Doc fix.
2008-08-14 01:14:08 +00:00
Chong Yidong
2a10213c12
Undefine HAVE_RES_INIT, which appears to be harmful on OS X.
2008-08-14 00:51:41 +00:00
Chong Yidong
23c6bdbe4c
* s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful on
...
OS X.
2008-08-14 00:51:20 +00:00
Chong Yidong
dc4db71c23
(Qns_parse_geometry): New var.
...
(Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry.
2008-08-13 23:43:22 +00:00
Chong Yidong
01623ee7a0
* frame.c (Qns_parse_geometry): New var.
...
(Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry.
2008-08-13 23:40:17 +00:00
Chong Yidong
0f16b42b13
(x_produce_glyphs): Handle the case when font has no space character
...
in calculating tabs.
2008-08-11 18:50:49 +00:00
Chong Yidong
f00f8cb7e1
* xdisp.c (x_produce_glyphs): Handle the case when font has no
...
space character in calculating tabs.
2008-08-11 18:50:33 +00:00
Dan Nicolaescu
11d8ec4a2c
(bootstrap-emacs): Use ln -f in the CANNOT_DUMP case.
2008-08-11 02:21:08 +00:00
Glenn Morris
27bef0c8eb
(procfs_system_process_attributes): Use EMACS_INTs to silence gcc
...
"limited range of data type" warnings in some make_fixnum_or_float calls.
2008-08-10 22:44:36 +00:00
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