+2008-08-02 Eli Zaretskii <eliz@gnu.org>
+
+ * s/gnu-linux.h (HAVE_PROCFS, LISTPROC, PROCATTR): New defines.
+
+ * lisp.h: Add prototype for directory_files_internal.
+
+ * process.c (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-01 Juanma Barranquero <lekktu@gmail.com>
+
+ * xfaces.c (Fx_load_color_file): Fix previous change;
+ it is #ifdef WINDOWSNT, not WINDOWS_NT.
+
+2008-08-01 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_read_message): Handle D-Bus error messages.
+
+2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsterm.h (NSInteger, NSUInteger): Add defines for non-Leopard.
+
+2008-08-01 Chong Yidong <cyd@stupidchicken.com>
+
+ * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha.
+
+ * 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.
+
+ * xmenu.c: Revert last change.
+
+ * keyboard.h: Fix last change.
+
+2008-08-01 Juanma Barranquero <lekktu@gmail.com>
+
+ * xfaces.c (x-load-color-file): Use RGB() instead of manually shifting
+ on Windows.
+
+2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ Warning clearing and clean-up in NS port.
+ * keyboard.h (xmalloc_widget_value, digest_single_submenu):
+ Add prototypes.
+ * nsgui.h (FACE_DEFAULT): Remove, unused.
+ (XGCValues): Change colors to unsigned long.
+ * nsterm.h (EmacsApp): Add declaration of all methods implemented in
+ nsterm.m.
+ (EmacsMenu -addItemWithWidgetValue:): Change to use NSMenuItem class.
+ (ns_list_fonts): Remove, unused.
+ (ns_font_to_xlfd, ns_fontname_to_xlfd): Drop prototypes.
+ * nsfns.m (interpret_services_menu): Use NSMenuItem class.
+ * nsfont.m (nsfont_open): Fix cast error in glyphs,metrics alloc.
+ (nsfont_draw): Compare face colors to 0, not nil.
+ * nsmenu.m (struct widget_value): Drop unneeded declaration.
+ (EmacsMenu -addItemWithWidgetValue:, -fillWithWidgetValue:)
+ (-addSubmenuWithTitle:): Use NSMenuItem class.
+ (ns_popup_menu): Use NO, not NULL, for enabled setting.
+ * nsterm.m (ns_draw_glyph_string): Don't compare font to ~0.
+ (ns_clip_to_row): Make gc arg a BOOL.
+ (ns_draw_fringe_bitmap, ns_draw_window_cursor): Use YES, NO in
+ ns_clip_to_row() call.
+ (ns_draw_glyph_string): Drop face comparison to ~0 (no longer
+ used). Cast FRAME_FONT assignments.
+ (ns_read_socket): Cast call to EmacsApp-fulfillService:withArg:.
+ (ns_string_to_lispmod): Change arg to const char.
+ (ns_term_init): Use NSMenuItem class.
+ (EmacsApp -openFile:): Move to different section of file.
+ (EmacsApp -application:openFiles:): Don't return a value, call
+ -replyToOpenOrPrint:.
+ (EmacsView -keyDown:): Fix up cast.
+ (EmacsView -converstationIdentifier): Use NSInteger instead of long.
+ (EmacsView -menuDown:): Cast tag in call to
+ find_and_call_menu_selection().
+ (ns_list_fonts): Remove, unused.
+ (ns_font_to_xlfd): Make static. Cast result of UTF8String.
+ (ns_fontname_to_xlfd): Make static.
+ * w32menu.c (xmalloc_widget_value, digest_single_submenu):
+ Remove prototypes (now in keyboard.h).
+ (next_menubar_widget_id): Remove, unused.
+ * xmenu.c (xmalloc_widget_value, digest_single_submenu):
+ Remove prototypes (now in keyboard.h).
+ * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused.
+
+2008-08-01 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (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).
+
+ * systty.h: Fix previous change that removed BSD_TERMIOS.
+ Add comments to #ifdefs.
+
+2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * w32fns.c (w32-load-color-file): Remove.
+ (x-open-connection): Use renamed Fx_load_color_file.
+ * 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>
+
+ * dbusbind.c (Fdbus_call_method_asynchronously)
+ (Fdbus_method_error_internal): New defuns.
+ (xd_read_message): Handle also reply messages.
+ (Vdbus_registered_functions_table): Extend docstring.
+
+2008-07-31 Juanma Barranquero <lekktu@gmail.com>
+
+ * keyboard.c (gobble_input): Fix previous change.
+
+2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * bitmaps/README:
+ * xfns.c:
+ * termcap.c:
+ * term.c:
+ * syswait.h:
+ * systty.h:
+ * systime.h:
+ * syssignal.h:
+ * sysdep.c:
+ * process.h:
+ * process.c:
+ * print.c:
+ * ndir.h:
+ * lread.c:
+ * keyboard.c:
+ * getpagesize.h:
+ * floatfns.c:
+ * fileio.c:
+ * emacs.c:
+ * doc.c:
+ * dispnew.c:
+ * dired.c:
+ * data.c:
+ * callproc.c:
+ * buffer.c:
+ * README:
+ * Makefile.in:
+ * s/template.h:
+ * s/msdos.h:
+ * m/vax.h: Remove VMS support.
+ * s/vms.h:
+ * vlimit.h:
+ * uaf.h:
+ * temacs.opt:
+ * param.h:
+ * ioctl.h: Remove file.
+
+2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * s/ms-w32.h (MULTI_KBOARD): Remove.
+ * xterm.c:
+ * xselect.c:
+ * xfns.c:
+ * window.c:
+ * w32term.c:
+ * w32fns.c:
+ * terminal.c:
+ * termhooks.h:
+ * term.c:
+ * sysdep.c:
+ * keyboard.h:
+ * keyboard.c:
+ * frame.h:
+ * frame.c:
+ * frame.c: Remove references to MULTI_KBOARD, it is now the
+ default.
+ * config.in: Regenerate.
+
+2008-07-30 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.h (struct w32font_info): Use unicode version of textmetrics.
+
+ * w32font.c (w32font_encode_char): Leave as unicode if in range.
+ (w32font_open_internal): Get unicode version of textmetrics.
+ Don't enable or disable glyph indices here.
+ (w32font_open): Disable use of glyph indices.
+
+ * w32uniscribe.c (uniscribe_open): Enable use of glyph indices.
+
+2008-07-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * minibuf.c (Vread_buffer_function): Doc fix.
+
+2008-07-30 John Paul Wallington <jpw@pobox.com>
+
+ * minibuf.c (read_buffer_completion_ignore_case): New var.
+ (Fread_buffer): Use it.
+
+2008-07-30 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * systty.h (sensemode): Remove empty #if. Remove reference to
+ BSD_TERMIOS, unused.
+
+ * sysdep.c: Remove reference to DGUX.
+ (closedir): Remove reference to BROKEN_CLOSEDIR, unused.
+
+ * config.in: Regenerate.
+
+2008-07-30 Jason Rumney <jasonr@gnu.org>
+
+ * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size.
+
+2008-07-29 Jason Rumney <jasonr@gnu.org>
+
+ * w32uniscribe.c (uniscribe_shape): Avoid using context if cache
+ is populated.
+ (uniscribe_encode_char): Always use uniscribe.
+ Avoid using context if cache is populated.
+
+2008-07-29 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to
+ open menu.
+
+ * gtkutil.c (menu_nav_ended): Remove.
+ (create_menus): Remove signal connect for menu_nav_ended.
+
+2008-07-28 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (redisplay_window): Check return value of
+ compute_window_start_on_continuation_line before forcing a window
+ start.
+
+2008-07-28 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (w32font_text_extents): Use w32_metric_cache consistently.
+
+ * w32term.c (w32_enable_unicode_output, cleartype_active):
+ Remove obsolete display options.
+ (x_draw_glyph_string_background): Don't use old cleartype_active
+ workaround.
+ (w32_initialize): Remove cleartype_active initialization.
+ (syms_of_w32term): Remove w32_enable_unicode_output initialization.
+
+2008-07-28 Andreas Schwab <schwab@suse.de>
+
+ * lisp.h (init_weak_hash_tables, syms_of_font)
+ (xd_read_queued_messages, syms_of_dbusbind): Declare.
+ (remove_hash_entry): Don't declare.
+ * eval.c (maybe_call_debugger): Make static and move before use.
+ * gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT.
+ * xdisp.c: Include "gtkutil.h" if USE_GTK.
+ * xterm.h (x_set_frame_alpha): Declare.
+
+2008-07-28 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (menu_nav_ended): Revert change from 2008-07-24.
+ (create_menus): Connect selection-done to menu_nav_ended.
+
+2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfns.m (x-create-frame): Add copy of parms argument to beginning.
+ Set Vx_resource_name to a fallback. Replace read of 'buffered'
+ parameter with read of 'alpha' one.
+ (Qns_frame_parameter): Remove.
+ * nsselection.m (selection-coding-system)
+ (next-selection-coding-system, Vselection_coding_system)
+ (Vnext_selection_coding_system): Drop.
+
+2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfns.m (do-applescript, do_applescript): Rename to
+ ns-do-applescript, ns_do_applescript, and move within file.
+
+2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
+
+ Remove support for Mac Carbon.
+ * mactoolbox.c:
+ * macterm.h:
+ * macterm.c:
+ * macselect.c:
+ * macmenu.c:
+ * macgui.h:
+ * macfns.c:
+ * mac.c: Remove file.
+ * s/darwin.h:
+ * m/intel386.h:
+ * xfaces.c:
+ * xdisp.c:
+ * window.c:
+ * tparam.c:
+ * termhooks.h:
+ * termcap.c:
+ * term.c:
+ * syssignal.h:
+ * sysselect.h:
+ * sysdep.c:
+ * process.c:
+ * lread.c:
+ * lisp.h:
+ * keyboard.c:
+ * image.c:
+ * fringe.c:
+ * frame.h:
+ * frame.c:
+ * fontset.c:
+ * font.h:
+ * font.c:
+ * fns.c:
+ * fileio.c:
+ * emacs.c:
+ * dispnew.c:
+ * dispextern.h:
+ * config.in:
+ * atimer.c:
+ * Makefile.in: Remove code for Carbon
+
+2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return.
+
+2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macterm.h (kCGBitmapByteOrder32Host): New define for
+ non-universal SDKs.
+
+ * image.c (mac_create_cg_image_from_image, image_load_image_io)
+ [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host.
+
+ * macterm.c (XDrawLine, XCreatePixmapFromBitmapData)
+ [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host.
+
+2008-07-26 David Robinow <drobinow@gmail.com> (tiny change)
+
+ * w32inevt.c: Include dispextern.h.
+
+2008-07-26 Andreas Schwab <schwab@suse.de>
+
+ * print.c (print_object): Fix off-by-one in last change.
+
+2008-07-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * term.c (syms_of_term): Don't initialize default_orig_pair,
+ default_set_foreground and default_set_background on Windows.
+
+2008-07-25 Jason Rumney <jasonr@gnu.org>
+
+ * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to
+ ScriptItemize. Clean up return value checking. Remove unused
+ variables.
+ (uniscribe_encode_char): Encode non-BMP characters with uniscribe
+ shaping engine.
+
+ * w32font.c (w32font_has_char): Handle the case where we can't
+ determine the script for a character.
+
+2008-07-25 Chong Yidong <cyd@stupidchicken.com>
+
+ * term.c (syms_of_term): Initialize default_orig_pair,
+ default_set_foreground, and default_set_background.
+
+ * getloadavg.c (nl): Rename to name_list to avoid ncurses.h
+ clash (bug#86).
+ (getloadavg): Callers changed.
+
+ * image.c (svg_load_image): Fix last change.
+ (svg_load_image): Use rsvg_handle_get_dimensions to check that
+ image size is valid. Use g_object_unref instead of deprecated
+ rsvg_handle_free to free rsvg handle.
+ (x_from_xcolors): Don't initialize pixmap (silence compiler).
+
+2008-07-25 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (w32font_encode_char): Encode characters outside BMP as
+ surrogates before looking up glyph index.
+ (w32font_text_extents): Encode as surrogates if falling back to
+ functions that need UTF-16 wide chars.
+
+ * w32uniscribe.c (uniscribe_encode_char): Encode characters outside
+ BMP as surrogates before looking up glyph index.
+
+2008-07-25 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (svg_load_image): Check for failure in return value of
+ rsvg_handle_get_pixbuf. Free rsvg handle when done.
+
+2008-07-25 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (Fx_select_font): Reverse sense of second arg.
+
+2008-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * syntax.c (struct lisp_parse_state, char_quoted, inc_bytepos)
+ (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions.
+
+ * puresize.h (PURESIZE_CHECKING_RATIO): New macro.
+ (PURESIZE): Use it.
+
+2008-07-24 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.
+ * m/alpha.h (TEXT_END):
+ * m/ibmrs6000.h (TEXT_END):
+ * m/macppc.h (TEXT_END):
+ * s/darwin.h (TEXT_END):
+ * s/msdos.h (TEXT_END): Remove, unused.
+ * s/gnu-linux.h (BSD_PGRPS): Add a comment.
+ * s/cygwin.h: Remove comment.
+
+ * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused.
+ (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES.
+ * m/intel386.h (DOT_GLOBAL_START):
+ * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES.
+ (USG): Remove, file not used on USG platforms.
+
+ * Makefile.in (HAVE_X11): Remove empty #else.
+
+2008-07-24 Andreas Schwab <schwab@suse.de>
+
+ * fileio.c (Finsert_file_contents): Properly adjust undo list
+ after format conversion.
+
+2008-07-24 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG.
+ (menu_nav_ended): Remove.
+ (create_menus): Remove signal connect for menu_nav_ended.
+ (xg_update_menubar): Also take deactivate_cb as parameter, pass it to
+ create_menus.
+ (xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar.
+
+2008-07-23 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (w32_enumfont_pattern_entity): Return height consistent
+ with opened font.
+ (w32font_open): Set font type to gdi.
+
+ * w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
+
2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
+ * s/usg5-4.h (ADDR_CORRECT): Remove, unused.
+ * unexaix.c (ADDR_CORRECT): Remove conditional, the only user
+ defines it.
+ * unexec.c (ADDR_CORRECT): Define unconditionally.
+
+ * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove.
+
+ * unexec.c: Remove code depending on !COFF and USG, the file is
+ not used for such systems.
+
+ * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK):
+ * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused.
+ (LD_SWITCH_SYSTEM_1): Remove, update users.
+
+ * s/darwin.h (DATA_END):
+ * m/intel386.h (DATA_END):
+ * m/ibmrs6000.h (DATA_END):
+ * m/alpha.h (DATA_END): Remove, unused.
+
* config.in: Regenerate.
* s/ms-w32.h (subprocesses): Define unconditionally.
* s/template.h (subprocesses): Update comment.
* syntax.c (find_start_pos, find_start_value)
(find_start_value_byte, find_start_begv, find_defun_start)
- (back_comment, scan_sexps_forward): Use EMACS_INT for buffer
- positions.
+ (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions.
2008-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com>
- * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for
- HSV,AHSV.
+ * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for HSV,AHSV.
2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com>