]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Merge from trunk.
[gnu-emacs] / src / ChangeLog
index 3c62dffc3e03343c95056d810cd8a59f87f3bc82..c81009928deeb384ca740bdf7b5b5e486995ebb5 100644 (file)
@@ -1,3 +1,101 @@
+2012-10-20  Chong Yidong  <cyd@gnu.org>
+
+       * lread.c (Fload): Doc fix (Bug#12592).
+
+2012-10-19  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * font.c (Ffont_at): Fix previous change.
+
+2012-10-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * puresize.h (BASE_PURESIZE): Bump the base value to 1700000.  See
+       http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html
+       for the reasons.
+
+       * alloc.c (NSTATICS): Decrease to 0x800.
+
+2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fns.c (Fnreverse): Include the problem element when signalling an
+       error (bug#12677).
+
+2012-10-18  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (ns_select): Check writefds before call to
+       FD_ISSET (Bug#12668).
+
+2012-10-18  Daniel Colascione  <dancol@dancol.org>
+
+       * alloc.c (NSTATICS): Increase from 0x650 to 0x1000
+       (staticpro): If we run out of staticpro slots, die with an
+       informative error instead of just calling emacs_abort.
+
+2012-10-18  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix two flaws reported by Dmitry Antipov.
+       * window.c (Ftemp_output_buffer_show): Remove.
+       (Fwindow_vscroll, Fset_window_vscroll): Use decode_live_window.
+       (syms_of_window): Remove defsubr for Stemp_output_buffer_show.
+
+2012-10-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in ($(BLD)/w32.$(O)):
+       ($(BLD)/vm-limit.$(O)):
+       ($(BLD)/term.$(O)):
+       ($(BLD)/unexw32.$(O)):
+       ($(BLD)/fileio.$(O)):
+       ($(BLD)/dispnew.$(O)): Update dependencies.
+
+       * w32term.h (w32_initialize_display_info, initialize_w32_display):
+       Add prototypes.
+
+       * w32proc.c: Include ctype.h.
+
+       * w32.h (init_environment, check_windows_init_file)
+       (syms_of_ntproc, syms_of_ntterm, dostounix_filename)
+       (unixtodos_filename, init_winsock, srandom, random, sys_pipe)
+       (set_process_dir, sys_spawnve, register_child, sys_sleep, getwd)
+       (sys_link): Add prototypes.
+
+       * w32.c: Include w32select.h.
+       (sys_access, e_malloc, sys_select): Add prototypes.
+       (emacs_gnutls_pull): 'timeout' is now EMACS_TIME, not struct timeval.
+
+       * vm-limit.c [WINDOWSNT]: Include w32heap.h.
+
+       * unexw32.c: Include lisp.h and w32.h.
+
+       * term.c [WINDOWSNT]: Include w32term.h.
+
+       * process.c [WINDOWSNT]: Add prototype of sys_select.
+
+       * fileio.c [WINDOWSNT]: Include w32.h.
+
+       * dispnew.c [WINDOWSNT]: Include w32.h.
+
+       * cygw32.c (Fcygwin_convert_path_to_windows)
+       (Fcygwin_convert_path_from_windows): Use EQ to compare 2
+       Lisp_Object values.  (Bug#12661)
+
+       * w32fns.c (w32_msg_pump): Use XIL instead of casting an integer
+       to Lisp_Object.  (Bug#12661)
+
+2012-10-17  Kenichi Handa  <handa@gnu.org>
+
+       * xdisp.c (reseat_1): Make the information stored in it->cmp_it
+       invalidate.
+
+2012-10-17  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * buffer.c (Fkill_buffer): When unchaining the marker,
+       reset its buffer pointer to NULL (Bug#12652).
+
+2012-10-17  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Do not verify indirection counters of killed buffers (Bug#12579).
+       * buffer.h (BUFFER_CHECK_INDIRECTION): New macro.
+       * buffer.c (compact_buffer, set_buffer_internal_1): Use it.
+
 2012-10-16  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * alloc.c (Fmake_byte_code): Fix typo in comment.
        * nsfont.m (Vfonts_in_cache): Remove, not needed as font.c handles
        caching.
        (nsfont_open): Remove setting of Vfonts_in_cache.
-       (syms_of_nsfont): Remove initialization of Vfonts_in_cache
+       (syms_of_nsfont): Remove initialization of Vfonts_in_cache.
 
 2012-10-09  Eli Zaretskii  <eliz@gnu.org>
 
        * w32select.h (HAVE_W32SELECT): Remove.
 
        * w32select.c, w32proc.c, w32menu.c, w32console.c, w32.c: Include
-       w32common.h instead of w32heap.h
+       w32common.h instead of w32heap.h.
 
        * w32heap.h (ROUND_UP, ROUND_DOWN, get_page_size)
        (get_allocation_unit, get_processor_type, get_w32_major_version)
        Cygwin builds.  Remove w32select declarations.
 
        * w32console.c (w32_sys_ring_bell, Fset_message_beep): Move to
-       w32fns.c. w32console.c is WINDOWSNT-only.
+       w32fns.c.  w32console.c is WINDOWSNT-only.
 
        * w32fns.c: Include cygw32.h or w32.h depending on CYGWIN; more
        NTGUI_UNICODE tweaks.  (See above.) Change _snprintf to the more
        (ns_clear_frame_area): Remove resize handle code.
 
        * nsfns.m (ns_in_resize): Remove.
-       (x_set_icon_name, ns_set_name, ns_set_name_as_filename):  Remove
+       (x_set_icon_name, ns_set_name, ns_set_name_as_filename): Remove
        ns_in_resize check.
 
+2012-10-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32term.h (WM_EMACS_FILENOTIFY): New custom message.
+       (WM_EMACS_END): Bump value by 1.
+
+       * w32term.c (lispy_file_action, queue_notifications): New functions.
+       (syms_of_w32term) <Qadded, Qremoved, Qmodified, Qrenamed_from>
+       <Qrenamed_to>: New symbols.
+
+       * w32notify.c: New file, implement 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) [WINDOWSNT]: New event kind
+       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) [WINDOWSNT] <Qfile_notify>: New symbol.
+       (keys_of_keyboard) [WINDOWSNT]: Bind file-notify to
+       w32notify-handle-event by default.
+
+       * emacs.c (main) [WINDOWSNT]: Call syms_of_w32notify.
+
+       * alloc.c (NSTATICS): Enlarge to 0x660.
+
 2012-10-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        Improve sys_siglist detection.
        (initFrameFromEmacs:): tbar_height renamed tibar_height.
        (windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix
        error in drawing background.
-       (toggleFullScreen:): Remove comment. Rearrange calls.
+       (toggleFullScreen:): Remove comment.  Rearrange calls.
        Set toolbar values to zero, save old height in tobar_height.
        Restore tool bar height when leaving fullscreen.
        (canBecomeMainWindow): New function.
        Call setCollectionBehavior if NEW_STYLE_FS.  Initialize bwidth and
        tbar_height.
        (windowWillUseStandardFrame:defaultFrame:): Update frame parameter
-       fullscreen. Set maximized_width/height.  Act on next_maximized.
+       fullscreen.  Set maximized_width/height.  Act on next_maximized.
 
        * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New.
        (EmacsView): Add variables for fullscreen.
 2012-09-19  Paul Eggert  <eggert@cs.ucla.edu>
 
        * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0.
-       Ignore 'expected'. See Eli Zaretskii in
+       Ignore 'expected'.  See Eli Zaretskii in
        <http://bugs.gnu.org/12471#8> (last line).
 
        * frame.c (read_integer): Remove.  All uses replaced by strtol/strtoul.
        (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc)
        (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc):
        [!SYSTEM_MALLOC && !SYNC_INPUT]:
-       Remove. All uses removed.
+       Remove.  All uses removed.
        (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different
        implementation, one that depends on whether the new macro
        XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT
        * alloc.c (discard_killed_buffers): New function.
        (mark_object): Use it for deleted windows and frames.
        (mark_object): If symbol's value is set up for a killed buffer
-       or deleted frame, restore it's global binding.
+       or deleted frame, restore its global binding.
        * data.c (swap_in_global_binding): Add GC notice.
        (swap_in_symval_forwarding): Use convenient set_blv_where.
        * window.c (wset_next_buffers, wset_prev_buffers): Move ...
 
        * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar)
        (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
-       (EmacsScroller-dealloc):  Adjust to use WVAR.  (Bug#12114)
+       (EmacsScroller-dealloc): Adjust to use WVAR.  (Bug#12114)
        * nsfns.m (ns_set_name_as_filename): Likewise.
        * nsmenu.m (ns_update_menubar): Likewise.
        * nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
        Fix block vector allocation code to allow VECTOR_BLOCK_SIZE
        values which aren't power of 2.
        * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro.
-       Verify it's value and the value of VECTOR_BLOCK_SIZE.  Adjust users
+       Verify its value and the value of VECTOR_BLOCK_SIZE.  Adjust users
        accordingly.
 
 2012-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
        bitfields where appropriate, remove unused fields.
        * window.h (struct window): Remove unused 'last_mark_x' and
        'last_mark_y' fields.  Rename 'mini_p' field to 'mini',
-       change it's type from Lisp_Object to bitfield.
+       change its type from Lisp_Object to bitfield.
        Change type of 'force_start', 'optional_new_start',
        'last_had_star', 'update_mode_line' and 'start_at_line_beg'
        fields from Lisp_Object to bitfield.  Adjust users accordingly.