(Fsystem_processes_list, Fsystem_process_attributes): New functions.
[bpt/emacs.git] / src / ChangeLog
index bde16b6..b6ff238 100644 (file)
@@ -1,3 +1,250 @@
+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)
 
 2008-07-26  David Robinow  <drobinow@gmail.com>  (tiny change)
 
-        * w32inevt.c: Include dispextern.h.
+       * w32inevt.c: Include dispextern.h.
 
 2008-07-26  Andreas Schwab  <schwab@suse.de>
 
 
 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.
+       * 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.
+       * 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>
 
 
 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.
+       * 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.
+       * w32uniscribe.c (uniscribe_encode_char): Encode characters outside
+       BMP as surrogates before looking up glyph index.
 
 2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
 
 
 2008-07-25  Jason Rumney  <jasonr@gnu.org>
 
-        * w32font.c (Fx_select_font): Reverse sense of second arg.
+       * w32font.c (Fx_select_font): Reverse sense of second arg.
 
 2008-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>