Adapt Windows port to recent changes in autogen/config.in.
[bpt/emacs.git] / src / ChangeLog
index d36fff4..bf17232 100644 (file)
@@ -1,5 +1,145 @@
+2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in (CONFIG_H): Update dependencies.
+       (CONF_POST_H): New macro.
+
+       * s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
+
+2012-07-31  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (S_FILE): No longer set by configure.
+
+       * conf_post.h (config_opsysfile): Move earlier, so that WINDOWSNT
+       is available.
+       (alloca.h) [WINDOWSNT]: Don't include it on MS Windows.
+
+       * process.h (NULL_DEVICE):
+       * emacs.c (SEPCHAR):
+       * editfns.c (USER_FULL_NAME): Let configure set them.
+
+       * s/README, s/template.h: Remove files.
+
+       * conf_post.h [HPUX]: Undefine HAVE_RANDOM and HAVE_RINT.
+
+       * conf_post.h (AMPERSAND_FULL_NAME, subprocesses):
+       Move to configure.ac.
+
+2012-07-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit (xframe): Adapt to introduction of FVAR and the
+       resulting renaming of 'struct frame' members.
+
+       * w32menu.c (w32_menu_show): Revert bogus introduction of FVAR.
+
+       * fontset.c (dump_fontset): Fix compilation with ENABLE_CHECKING
+       after introduction of FVAR.
+
+2012-07-31  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsmenu.m (update_frame_tool_bar): Change key from NSObject* to id.
+
+       * nsterm.m (ns_draw_fringe_bitmap, ns_dumpglyphs_image): Use drawInRect
+       instead of compositeToPoint.
+       (applicationShouldTerminate): Pass NS String literal to NSRunAlertPanel.
+
+       *  nsfns.m, nsmenu.m, msterm.m: Adopt to struct frame/FVAR changes.
+
+2012-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Generalize INTERNAL_FIELD between buffers, keyboards and frames.
+       * lisp.h (INTERNAL_FIELD): New macro.
+       * buffer.h (BUFFER_INTERNAL_FIELD): Removed.
+       (BVAR): Change to use INTERNAL_FIELD.
+       * keyboard.h (KBOARD_INTERNAL_FIELD): Likewise.
+       (KVAR): Change to use INTERNAL_FIELD.
+       * frame.h (FVAR): New macro.
+       (struct frame): Use INTERNAL_FIELD for all Lisp_Object fields.
+       * alloc.c, buffer.c, data.c, dispnew.c, dosfns.c, eval.c, frame.c
+       * fringe.c, gtkutil.c, minibuf.c, nsfns.m, nsterm.m, print.c
+       * term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h,
+       * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Users changed.
+
+2012-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Miscellaneous fixes for non-default X toolkits.
+       * xfns.c (Fx_file_dialog): Change to SSDATA to avoid warnings.
+       * xterm.c (x_frame_of_widget): Remove redundant prototype.
+       Move under #ifdef USE_LUCID.
+       (x_create_toolkit_scroll_bar): Adjust scroll_bar_name
+       definition and usage to avoid warnings.
+
+2012-07-31  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (openFiles): Fix previous checkin.
+
+2012-07-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * indent.c (compute_motion): Remove unused local.
+
+2012-07-31  Glenn Morris  <rgm@gnu.org>
+
+       * s/usg5-4-common.h (wait3, WRETCODE): Let configure set them.
+
+       * conf_post.h [USG5_4]:
+       Move remaining contents of s/usg5-4-common.h here.
+       * s/usg5-4-common.h: Remove file.
+
+       * conf_post.h [IRIX6_5]: Move remaining contents of s/irix6-5.h here.
+       * s/irix6-5.h: Remove file.
+
+       * conf_post.h [DARWIN_OS]: Move remaining contents of s/darwin.h here.
+       * s/darwin.h: Remove file.
+
+       * conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h.
+       * s/hpux10-20.h: Remove file, which is now empty.
+
+2012-07-30  Glenn Morris  <rgm@gnu.org>
+
+       * conf_post.h: New, split from configure.ac's AH_BOTTOM.
+       * Makefile.in (config_h): Add conf_post.h.
+       * makefile.w32-in (CONFIG_H): Add conf_post.h.
+
+2012-07-30  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (ns_do_open_file): New variable.
+       (ns_term_init): Set ns_do_open_file to YES after run returns.
+       (openFile, openTempFile, openFileWithoutUI, openFiles): Open
+       files only if ns_do_open_file.
+
 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * lisp.h (SWITCH_ENUM_CAST): Remove.  All uses removed.
+       This no-op macro hasn't been needed for many years.
+       * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
+
+       Export DIRECTORY_SEP, TYPEMASK, VALMASK to GDB.
+       * alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits.
+       * lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for
+       gdb_make_enums_visible.
+       (TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros.
+       (DIRECTORY_SEP): Now a constant, not a macro.
+
+2012-07-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
+       w32_kbd_patch_key as the 2nd arg.  (Bug#12082)
+
+       * w32term.c <w32_keyboard_codepage>: Renamed from
+       keyboard_codepage and now external.  All users changed.
+
+       * w32term.h: Add declaration of w32_keyboard_codepage.
+
+       * w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
+       the codepage to translate keys to Unicode.  If this argument is
+       -1, use the value returned by GetConsoleCP.  All callers changed.
+
+2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Update .PHONY listings in makefiles.
+       * Makefile.in (.PHONY): Add all, mostlyclean, clean,
+       bootstrap-clean, distclean, maintainer-clean, versioclean,
+       extraclean, frc.
+
        * lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t.
        This is a bit clearer.  Fix some commentary typos.