+2008-08-15 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (w32_system_process_attributes) [_MSC_VER < 1300]:
+ Alternative calculation of totphys for Visual Studio 6.
+
+ * w32fns.c [_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR.
+
+ * w32.c (_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX):
+ Rename from _MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX.
+ All users changed.
+ (stat): Only root directory passed to GetDriveType. Allow RAM
+ disk as well as local fixed disk when w32-get-true-file-attributes
+ is set to `local'.
+ (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-14 Lawrence Mitchell <wence@gmx.li>
+
+ * 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 Chong Yidong <cyd@stupidchicken.com>
+
+ * fns.c (use_dialog_box): Doc fix.
+
+ * s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful
+ on OS X.
+
+2008-08-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * frame.c (Qns_parse_geometry): New var.
+ (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry.
+
+2008-08-11 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (x_produce_glyphs): Handle the case when font has no
+ space character in calculating tabs.
+
+2008-08-11 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case.
+
+2008-08-10 Glenn Morris <rgm@gnu.org>
+
+ * process.c (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-09 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (w32_system_process_attributes): If the process does not
+ exist, return nil.
+
+ * w32.c: 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.
+
+ * process.h (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.
+
+ * process.c (Fsystem_process_attributes): Doc fix.
+
+2008-08-08 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (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-07 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * 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.
+
+2008-08-07 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (redisplay_window): Revert last change.
+ (try_window): Check bottom scroll margin too.
+
+2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * config.in: Regenerate.
+
+ * Makefile.in (emacs): Remove ndef NS conditional for 'emacs
+ -list-load-path-shadows'.
+ (nsgui.h): Reduce number of things depending on it.
+
+2008-08-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * 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 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * 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 Kenichi Handa <handa@m17n.org>
+
+ * xfont.c (xfont_list_family): Return a list of symbols, not
+ strings.
+
2008-08-06 Andreas Schwab <schwab@suse.de>
* config.in: Regenerate.
<after-change-functions>: Reflow docstrings.
2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com>
+ Ken Raeburn <raeburn@gnu.org>
Dock menu customization, based on a patch by Ken Raeburn, plus some
other fixes.
* xfaces.c (x-load-color-file): Add.
* nsterm.m (ns_initialize): Load colors from etc/rgb.txt instead of
Emacs.clr.
- (ns_draw_window_cursor): Change PENDING to TODO or FIXME.
(hide_hourglass): BLOCK_INPUT before UNBLOCK.
2008-07-31 Michael Albinus <michael.albinus@gmx.de>
* w32proc.c (Fw32_long_file_name): Don't append dir separator to
bare drive.
-2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com>
-
- * nsgui.h:
- * nsfont.m:
- * nsmenu.m:
- * nsterm.m: Change PENDINGS to FIXME / TODO / XXX.
-
2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com>
* nsterm.m (syms_of_nsterm): Remove debugging println.
* nsgui.h: Remove redefinitions of hash_remove.
* fns.c (hash_remove): Rename to hash_remove_from_table.
-2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
+2008-07-19 Seiji Zenitani <zenitani@mac.com>
* nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font):
- strdup() the family UTF8String before modifying it. Patch due to
- Seiji Zenitani.
+ strdup() the family UTF8String before modifying it.
2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
- * nsfns.m (ns_set_background_color): Apply patch from Chong Yidong to
- fix crash.
* nsterm.m (ns_maybe_dumpglyphs_background): Compare result from
NS_FACE_BACKGROUND with 0 instead of nil.
* nsfont.m (nsfont_draw): Same.
+2008-07-19 Chong Yidong <cyd@stupidchicken.com>
+
+ * nsfns.m (ns_set_background_color): Fix crash.
+
2008-07-18 Chong Yidong <cyd@stupidchicken.com>
* Makefile.in (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc.
* s/darwin.h: Reorganize ifdefs.
-2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com>
-
- * config.in:
- * dispextern.h:
- * frame.c:
- * image.c:
- * nsfns.m:
- * nsfont.m:
- * nsgui.h:
- * nsmenu.m:
- * nsterm.h:
- * nsterm.m:
- * s/darwin.h:
- * xdisp.c: Change most cases of PENDING to TODO, some to FIXME or XXX.
-
2008-07-17 Andreas Schwab <schwab@suse.de>
* s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define.
* Makefile.in: Correct additions for nsfont.o in last commit.
* nsfont.m: New file (forgot last commit).
+2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change)
+
+ * callproc.c (set_initial_environment): Initialize
+ Vprocess_environment under CANNOT_DUMP (fixes crash when
+ batch-compiling for bootstrap).
+
+2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change)
+ YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case --
+ fix crash due to different init order.
+
2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
Changes and additions for NeXTstep windowing system (Cocoa and
* config.in: Support defines and build commands for NS port.
* blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT)
(UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G.
- * callproc.c (set_initial_environment): Initialize
- Vprocess_environment under CANNOT_DUMP (fixes crash when
- batch-compiling for bootstrap, due to Chris Hall).
* dispextern.h: Include nsgui.h and add needed typedefs under NS
windowing.
(struct face): Add synth_ital field.
(fontset_from_font): Autoconstruct fontset under NS.
* frame.c (various): Under NS, include nsterm.h, add Qns window system
symbol, document and use it.
- (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case --
- patch to fix crash due to different init order, due to Chris Hall and
- Yamamoto Mitsuharu.
(do_switch_frame): When for_deletion under Cocoa, add
Fraise_frame(Qnil).
(x_set_frame_parameters): Ensure font attribute changes are picked up.