Move fix for cygw32 icon issue from emacs-24 branch to trunk as Stefan Monnier requests
authorDaniel Colascione <dancol@dancol.org>
Mon, 10 Dec 2012 17:52:35 +0000 (09:52 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 10 Dec 2012 17:52:35 +0000 (09:52 -0800)
1  2 
ChangeLog
configure.ac
nt/ChangeLog
nt/emacs.rc
src/ChangeLog
src/Makefile.in
src/emacs.c
src/w32fns.c

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,46 -1,10 +1,52 @@@
 -2012-12-05  Glenn Morris  <rgm@gnu.org>
+ 2012-12-10  Daniel Colascione  <dancol@dancol.org>
+       * configure.ac (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32
+       build how to compile Windows resource files; use these variables
+       to tell src/Makefile.in how and whether to compile resources.
 +2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 +
 +      * configure.ac (inotify): New option.
 +      (HAVE_INOTIFY): Test for inotify.
 +
 +2012-12-09  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * configure.ac: Fix source command in .gdbinit.
 +      Don't quote $MAKEINFO.
 +
 +2012-12-09  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Allow spaces in some configuration vars (Bug#13078).
 +      * configure.ac (srcdir): Don't assume $PWD lacks spaces.
 +      (srcdir, MAKEINFO, PKG_CONFIG, PKG_CONFIG_MIN_VERSION):
 +      All uses quoted, to allow spaces in these vars.
 +
 +2012-12-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Use putenv+unsetenv instead of modifying environ directly (Bug#13070).
 +      * lib/putenv.c, lib/unsetenv.c, m4/putenv.m4, m4/setenv.m4:
 +      New files, copied automatically from gnulib.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
 +
 +2012-12-08  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency.
 +      Remove a stray character at the beginning of the file.
 +      (Bug#13026)
 +
 +2012-12-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Simplify get_lim_data.
 +      * configure.ac (ULIMIT_BREAK_VALUE): Remove.
 +
 +      Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026).
 +      * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF):
 +      Use SIGCHLD rather than SIGCLD.
 +      * lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
 +      * lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O).
 +
 +2012-12-06  Glenn Morris  <rgm@gnu.org>
  
        * configure.ac: Handle info/ files with or without ".info" extension.
  
diff --cc configure.ac
Simple merge
diff --cc nt/ChangeLog
@@@ -1,27 -1,12 +1,33 @@@
 -2012-11-24  Paul Eggert  <eggert@cs.ucla.edu>
+ 2012-12-10  Daniel Colascione  <dancol@dancol.org>
+       * emacs.rc: Use forward slashes in relative paths in order to
+       avoid complaints from Cygwin.  (Forward slashes work perfectly
+       well in the NT build.)
 +2012-12-09  Eli Zaretskii  <eliz@gnu.org>
  
 -      Revert recent change for Bug#8855; see ../src/ChangeLog.
 +      * inc/unistd.h (unsetenv): Provide a prototype.
 +
 +2012-12-08  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * inc/ms-w32.h (putenv): Redirect to sys_putenv.
 +      (sys_putenv): Add prototype.
 +
 +      * config.nt (HAVE_UNSETENV): Define to 1.
 +
 +2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * config.nt: Sync with autogen/config.in.
 +
 +2012-11-24  Ken Brown  <kbrown@cornell.edu>
 +
 +      * config.nt (HAVE_MOUSE): Remove.
 +
 +2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * config.nt: Sync with autogen/config.in.
 +      (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
 +      Remove.
  
  2012-11-23  Eli Zaretskii  <eliz@gnu.org>
  
diff --cc nt/emacs.rc
Simple merge
diff --cc src/ChangeLog
 -2012-12-08  Jan Djärv  <jan.h.d@swipnet.se>
+ 2012-12-10  Daniel Colascione  <dancol@dancol.org>
+       * w32gui.h (hprevinst, lpCmdLine, nCmdShow): Remove unused
+       declarations.
+       * w32fns.c (cache_system_info): Initialize the global hinst
+       variable here so various initialization calls DTRT.
+       * unexw32.c (hprevinst, lpCmdLine, nCmdShow): Remove unused
+       variables.
+       (hinst): Remove unneeded extern declaration.
+       (_start): Remove initialization of above variables; remove
+       initialization of hinst, as cache_system_info now does that.
+       * emacs.c (main): Call cache_system_info early in startup; we
+       previously weren't calling it in Cygwin builds.
+       * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK): Teach
+       the autoconf build system how to compile a Windows resource file
+       and link it to Emacs.
 +2012-12-10  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Per-buffer window counters.
 +      * buffer.h (struct buffer): New member window_count.
 +      (buffer_window_count): New function.
 +      * buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
 +      Initialize window_count.
 +      (Fkill_buffer): Verify window_count for the buffer being killed.
 +      (modify_overlay): Do not force redisplay if buffer is not shown
 +      in any window.
 +      (init_buffer_once): Initialize window_count for buffer_defaults
 +      and buffer_local_symbols.
 +      * window.h (buffer_shared): Remove declaration.
 +      (wset_buffer): Convert from inline ...
 +      * window.c (wset_buffer): ... to an ordinary function.
 +      (adjust_window_count): New function.
 +      (make_parent_window): Use it.
 +      * xdisp.c (buffer_shared): Remove.
 +      (redisplay_internal, redisplay_window): Adjust users.
 +      (buffer_shared_and_changed): Use per-buffer window counter.
 +
 +2012-12-10  Eli Zaretskii  <eliz@gnu.org>
 +
 +      Support for filesystem notifications on MS-Windows.
 +      * w32proc.c (sys_select): If drain_message_queue returns non-zero,
 +      and this is a TTY frame, signal the caller that keyboard input is
 +      available.
 +
 +      * w32xfns.c (drain_message_queue): Now returns an int: an
 +      indication whether any WM_EMACS_FILENOTIFY messages were found in
 +      the queue.
 +
 +      * w32inevt.c (handle_file_notifications): New function.
 +      (w32_console_read_socket): Call it to process file notifications.
 +
 +      * w32console.c (initialize_w32_display): Record the main thread ID
 +      in dwMainThreadId.
 +
 +      * deps.mk (inotify.o): New dependency list.
 +
 +      * Makefile.in (SOME_MACHINE_OBJECTS): Add w32notify.o.
 +
 +      * w32term.h (WM_EMACS_FILENOTIFY): New custom message.
 +      (WM_EMACS_END): Bump value by 1.
 +      (notification_buffer_in_use, file_notifications)
 +      (notifications_size, notifications_desc): Declare.
 +      (w32_get_watch_object, lispy_file_action, globals_of_w32notify):
 +      Add prototypes.
 +
 +      * w32term.c (lispy_file_action, queue_notifications): New functions.
 +      (syms_of_w32term) <Qadded, Qremoved, Qmodified, Qrenamed_from>
 +      <Qrenamed_to>: New symbols.
 +      (w32_read_socket): Handle the WM_EMACS_FILENOTIFY message.
 +
 +      * w32notify.c: New file, implements file event notifications for
 +      MS-Windows.
 +
 +      * w32fns.c (w32_wnd_proc): Handle the WM_EMACS_FILENOTIFY message
 +      by posting it to the w32_read_socket queue.
 +
 +      * termhooks.h (enum event_kind) [HAVE_NTGUI]: Support
 +      FILE_NOTIFY_EVENT.
 +
 +      * makefile.w32-in (OBJ2): Add $(BLD)/w32notify.$(O).
 +      (GLOBAL_SOURCES): Add w32notify.c
 +      ($(BLD)/w32notify.$(O)): New set of dependencies.
 +
 +      * lisp.h (syms_of_w32notify) [WINDOWSNT]: Add prototype.
 +
 +      * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Handle
 +      FILE_NOTIFY_EVENT.
 +      (syms_of_keyboard) [HAVE_NTGUI] <Qfile_notify>: New symbol.
 +      (keys_of_keyboard) [WINDOWSNT]: Bind file-notify to
 +      w32notify-handle-event by default.
 +
 +      * emacs.c (main) [WINDOWSNT]: Call globals_of_w32notify and
 +      syms_of_w32notify.
 +
 +2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 +
 +      Support for filesystem notifications on GNU/Linux via inotify.
 +      * termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add
 +      FILE_NOTIFY_EVENT.
 +
 +      * lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
 +
 +      * keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable.
 +      (syms_of_keyboard): DEFSYM it.
 +      (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT.
 +      (make_lispy_event): Support FILE_NOTIFY_EVENT by generating
 +      Qfile_inotify events.
 +      (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in
 +      special-event-map to inotify-handle-event.
 +
 +      * emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify.
 +
 +      * Makefile.in (base_obj): Add inotify.o.
 +
 +      * inotify.c: New file.
 +
 +2012-12-10  Jan Djärv  <jan.h.d@swipnet.se>
  
        * nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103).
  
diff --cc src/Makefile.in
Simple merge
diff --cc src/emacs.c
Simple merge
diff --cc src/w32fns.c
Simple merge