cleanup in s/darwin.h, define DARWIN_OS and use it instead of DARWIN and/or MAC_OSX...
[bpt/emacs.git] / src / ChangeLog
index a0707ab..b6ef867 100644 (file)
@@ -1,11 +1,75 @@
+2008-08-04  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS.
+
+       * keyboard.h: Comment an #endif.
+
+       * nsterm.m (EmacsView -converstationIdentifier): Use NSInteger
+       version for GNUstep (handled by conditional typedef in nsterm.m).
+       (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now
+       in rgb.txt).
+
+       * process.c (init_process): Use DARWIN_OS, not DARWIN.
+
+       * sysselect.h: Conditionalize init_process undef on DARWIN_OS.
+
+       * m/inter386.h: Change DARWIN to DARWIN_OS.
+
+       * s/darwin.h: Add #define DARWIN_OS.  Get rid of C_SWITCH_SYSTEM def.
+       Change LIBS_MACGUI to LIBS_NSGUI.  Move temacs-conditionalized defs
+       closer to C_SWITCH_SYSTEM_TEMACS so usage is understood.
+
+2008-08-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (windowDidResize): Remove stopModal call.
+
+2008-08-03  Andreas Schwab  <schwab@suse.de>
+
+       * vm-limit.c (get_lim_data) [HAVE_GETRLIMIT && RLIMIT_AS]: Define.
+       (check_memory_limits): Don't handle HAVE_GETRLIMIT here.
+
+2008-08-02  Chong Yidong  <cyd@stupidchicken.com>
+
+       * vm-limit.c (check_memory_limits): Don't use getrlimit on cygwin.
+       Don't use uninitialized pointer variable when using getrlimit.
+
+2008-08-02  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (compute_metrics): Don't mess with glyph_idx setting here.
+
+2008-08-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * alloc.c (NSTATICS): Bump to 0x640.
+
+       * 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.
+       * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha.
 
        * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not
        define NSApplicationDelegateReplySuccess.
@@ -24,8 +88,8 @@
 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.
+       * 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
        (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).
+       * 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).
+       * 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>
        (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.
+       * systty.h: Fix previous change that removed BSD_TERMIOS.
+       Add comments to #ifdefs.
 
 2008-08-01  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * m/ia64.h (SPECIAL_EMACS_INT):
        * m/amdx86-64.h (SPECIAL_EMACS_INT):
        * s/gnu.h (NLIST_STRUCT):
-       * aix4-2.h (X11R5_INHIBIT_I18N):
+       * s/aix4-2.h (X11R5_INHIBIT_I18N):
        * s/gnu-linux.h (LINUX):
        * s/msdos.h (HAVE_FACES):
        * s/ms-w32.h (HAVE_FACES): Don't define, unused.
 
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * src/fileio.c:
-       * src/sysdep.c
-       * src/systty.h:
-       * src/m/ibmrs6000.h:
-       * src/m/iris4d.h:
-       * src/s/aix4-2.h:
-       * src/s/freebsd.h:
-       * src/s/gnu-linux.h:
-       * src/s/hpux10-20.h:
-       * src/s/hpux11.h:
-       * src/s/netbsd.h:
-       * src/s/sol2-3.h:
-       * src/s/sol2-4.h:
-       * src/s/sol2.h:
-       * src/s/usg5-4.h:
-       * src/s/vms.h: Remove references to unused variables.
+       * fileio.c:
+       * sysdep.c
+       * systty.h:
+       * m/ibmrs6000.h:
+       * m/iris4d.h:
+       * s/aix4-2.h:
+       * s/freebsd.h:
+       * s/gnu-linux.h:
+       * s/hpux10-20.h:
+       * s/hpux11.h:
+       * s/netbsd.h:
+       * s/sol2-3.h:
+       * s/sol2-4.h:
+       * s/sol2.h:
+       * s/usg5-4.h:
+       * s/vms.h: Remove references to unused variables.
 
 2008-07-10  Andreas Schwab  <schwab@suse.de>
 
        * s/uxpds.h:
        * s/uxpv.h: Remove support for obsolete systems.
        * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
-       Remove, insert contents in s/hpux-10.20.h
+       Remove, insert contents in s/hpux-10.20.h.
        * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
-       Remove, insert contents in s/aix-4.2.h
+       Remove, insert contents in s/aix4-2.h.
        * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
-       * s/bsd4-3.h: Rename to ..
+       * s/bsd4-3.h: Rename to ...
        * s/bsd-common.h: ... this.
-       * src/data.c:
-       * src/doc.c:
-       * src/ecrt0.c:
-       * src/emacs.c:
-       * src/fileio.c:
-       * src/floatfns.c:
-       * src/keyboard.c:
-       * src/mem-limits.h:
-       * src/print.c:
-       * src/process.c:
-       * src/sysdep.c:
-       * src/syssignal.h:
-       * src/systty.h:
-       * src/syswait.h:
-       * src/term.c:
-       * src/unexec.c:
-       * src/unexelf.c:
-       * src/unexhp9k800.c:
-       * src/m/hp800.h:
-       * src/m/ibmrs6000.h:
-       * src/m/mips.h:
-       * src/m/vax.h:
-       * src/s/darwin.h:
-       * src/s/freebsd.h:
-       * src/s/gnu.h:
-       * src/s/ms-w32.h:
-       * src/s/msdos.h:
-       * src/s/netbsd.h:
-       * src/s/template.h: Remove references to obsolete variables.
+       * data.c:
+       * doc.c:
+       * ecrt0.c:
+       * emacs.c:
+       * fileio.c:
+       * floatfns.c:
+       * keyboard.c:
+       * mem-limits.h:
+       * print.c:
+       * process.c:
+       * sysdep.c:
+       * syssignal.h:
+       * systty.h:
+       * syswait.h:
+       * term.c:
+       * unexec.c:
+       * unexelf.c:
+       * unexhp9k800.c:
+       * m/hp800.h:
+       * m/ibmrs6000.h:
+       * m/mips.h:
+       * m/vax.h:
+       * s/darwin.h:
+       * s/freebsd.h:
+       * s/gnu.h:
+       * s/ms-w32.h:
+       * s/msdos.h:
+       * s/netbsd.h:
+       * s/template.h: Remove references to obsolete variables.
 
        * Makefile.in: Add dependencies for all unexec files.
        (admindir): Remove unused variable.
 
        * w32font.c (w32font_list, w32font_match): Add logging.
 
-       * w32uniscribe (uniscribe_list, uniscribe_match): Add logging.
+       * w32uniscribe.c (uniscribe_list, uniscribe_match): Add logging.
 
 2008-06-17  Chong Yidong  <cyd@stupidchicken.com>