When changing frame sizes round before applying new sizes. (Bug#9723)
[bpt/emacs.git] / src / ChangeLog
index 221ba91..95f6201 100644 (file)
@@ -1,3 +1,335 @@
+2012-02-04  Martin Rudalics  <rudalics@gmx.at>
+
+       * dispnew.c (change_frame_size_1): Calculate new_frame_total_cols
+       after rounding frame sizes.  (Bug#9723)
+
+2012-02-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * keyboard.c (adjust_point_for_property): Don't position point
+       before BEGV.  (Bug#10696)
+
+2012-02-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Handle overflow when computing char display width (Bug#9496).
+       * character.c (char_width): Return EMACS_INT, not int.
+       (char_width, c_string_width): Check for overflow when
+       computing the width; this is possible now that individual
+       characters can have unbounded width.  Problem introduced
+       by merge from Emacs 23 on 2012-01-19.
+
+2012-02-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_register_method): Mention the return value
+       :ignore in the docstring.
+
+2012-02-02  Glenn Morris  <rgm@gnu.org>
+
+       * callproc.c (Fcall_process, Fcall_process_region): Doc fix.
+
+       * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
+       Unconditionally set to t.  (Bug#10673)
+       * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
+       * w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
+       * xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.
+
+2012-02-02  Kenichi Handa  <handa@m17n.org>
+
+       (x_produce_glyphs): Cancel previous change.  If cmp->glyph_len is
+       0, do not call append_composite_glyph.
+
+2012-02-02  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (BUILD_COMPOSITE_GLYPH_STRING): Initialize first_s to
+       NULL (Bug#6988).
+       (x_produce_glyphs): If the component of a composition is a null
+       string, set it->pixel_width to 1 to avoid zero-width glyph.
+
+2012-02-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * ralloc.c (resize_bloc, r_alloc_sbrk): Don't call memmove if its
+       first 2 arguments are identical.  This makes inserting large
+       output from a subprocess an order of magnitude faster on
+       MS-Windows, where all sbrk'ed memory is always contiguous.
+
+2012-01-31  Glenn Morris  <rgm@gnu.org>
+
+       * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
+       * w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
+       * xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
+
+2012-01-29  Glenn Morris  <rgm@gnu.org>
+
+       * gnutls.c (syms_of_gnutls): More doc (from etc/NEWS).
+
+2012-01-28  Samuel Thibault  <sthibault@debian.org>  (tiny change)
+
+       * s/gnu.h: Define POSIX_SIGNALS (Bug#10552).
+
+2012-01-28  Chong Yidong  <cyd@gnu.org>
+
+       * minibuf.c (syms_of_minibuf): Doc fix (Bug#10550).
+
+2012-01-26  Chong Yidong  <cyd@gnu.org>
+
+       * keyboard.c (Vecho_keystrokes): Document zero value (Bug#10503).
+
+       * search.c (Fsearch_forward, Fsearch_backward): Document negative
+       repeat counts (Bug#10507).
+
+2012-01-26  Glenn Morris  <rgm@gnu.org>
+
+       * lread.c (syms_of_lread): Doc fix.
+
+2012-01-25  HIROSHI OOTA  <nil@mad.dog.cx>  (tiny change)
+
+       * coding.c (encode_designation_at_bol): Change return value to
+       EMACS_INT.
+
+2012-01-25  Chong Yidong  <cyd@gnu.org>
+
+       * eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
+
+2012-01-21  Chong Yidong  <cyd@gnu.org>
+
+       * floatfns.c (Fcopysign): Make the second argument non-optional,
+       since nil is not allowed anyway.
+
+2012-01-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * process.c (read_process_output): Use p instead of XPROCESS (proc).
+       (send_process): Likewise.
+
+2012-01-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (save_window_save, Fcurrent_window_configuration)
+       (Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
+       doc-strings.
+
+2012-01-19  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (char_width): New function.
+       (Fchar_width, c_string_width, lisp_string_width):
+       Use char_width (Bug#9496).
+
+2012-01-16  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Vwindow_persistent_parameters): New variable.
+       (Fset_window_configuration, save_window_save): Handle persistent
+       window parameters.
+
+2012-01-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (signal_user_input): Don't do a QUIT, to avoid
+       thrashing the stack of the thread.  (Bug#9087)
+
+2012-01-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xdisp.c (rows_from_pos_range): Add parens as per gcc -Wparentheses.
+
+2012-01-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (rows_from_pos_range): Handle the case where the
+       highlight ends on a newline.  (Bug#10464)
+       (mouse_face_from_buffer_pos): Fix off-by-one error in calculating
+       he end column for display of highlight that ends on a newline
+       before a R2L line.
+
+2012-01-11  Glenn Morris  <rgm@gnu.org>
+
+       * lread.c (init_lread): If no-site-lisp, remove site-lisp dirs
+       from load-path also when installation-directory is nil.  (Bug#10208)
+
+2012-01-10  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (syms_of_emacs) <installation-directory>: Doc fix.
+
+       * epaths.in (PATH_LOADSEARCH, PATH_EXEC, PATH_DATA, PATH_DOC):
+       Update template values to be closer to their typical values these days.
+
+2012-01-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (rows_from_pos_range): Accept additional argument
+       DISP_STRING, and accept any glyph in a row whose object is that
+       string as eligible for mouse highlight.  Fixes mouse highlight of
+       display strings from overlays.  (Bug#10464)
+
+2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       emacs: fix an auto-save permissions race condition (Bug#10400)
+       * fileio.c (auto_saving_dir_umask): New static var.
+       (Fmake_directory_internal): Use it.
+       (do_auto_save_make_dir): Set it, instead of invoking chmod after
+       creating the directory.  The old code temporarily assigns
+       too-generous permissions to the directory.
+       (do_auto_save_eh): Clear it.
+       (Fdo_auto_save): Catch all errors, not just file errors, so
+       that the var is always cleared.
+
+2012-01-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * search.c (scan_buffer): Pass character positions to
+       know_region_cache, not byte positions.  (Bug#6540)
+
+2012-01-07  LynX  <_LynX@bk.ru>  (tiny change)
+
+       * w32.c (sys_rename): Report EXDEV when rename of a directory
+       fails because the target is on another logical disk.  (Bug#10284)
+
+2012-01-07  David Benjamin  <davidben@mit.edu>  (tiny change)
+
+       * xterm.c (x_embed_request_focus): New function.
+
+       * xterm.h: Add prototype.
+
+       * xfns.c (Fx_focus_frame): Use it for embedded frames (Bug#9977).
+
+2012-01-05  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (emacs_copyright): Update short copyright year to 2012.
+
+2012-01-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * gnutls.c (init_gnutls_functions): Load gnutls_check_version.
+       Load gnutls_transport_set_lowat only if GnuTLS version is below
+       2.11.1.
+       (emacs_gnutls_handshake): Call gnutls_transport_set_lowat only for
+       GnuTLS versions below 2.11.1.
+
+2011-12-31  Antoine Levitt  <antoine.levitt@gmail.com>
+
+       * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Add warning
+       to the doc string advising against its use for altering the way
+       windows are scrolled.
+
+2011-12-28  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (Fdefine_coding_system_internal): Make an utf-8 base
+       coding-system ASCII compatible only when it does not produce BOM
+       on encoding (Bug#10383).
+
+2011-12-26  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (x_menu_wait_for_event): Use xg_select for Gtk3 so menus
+       can scroll.
+       (create_and_show_popup_menu): Always use menu_position_func for
+       Gtk3 (Bug#10361).
+
+2011-12-24  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * callint.c (Fcall_interactively): Don't truncate prompt string.
+
+2011-12-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (handle_invisible_prop): Handle correctly an invisible
+       property that ends at ZV, so that the bidi iteration could be
+       resumed from there (after widening).  (Bug#10360)
+
+2011-12-22  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.
+
+2011-12-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (x_free_frame_resources):
+       Release f->output_data.ns->miniimage.
+       (ns_index_color): Fix indentation.  Do not retain
+       color_table->colors[i].
+
+       * nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
+       before returning.
+
+       * nsfns.m (x_set_background_color): Assign return value from
+       ns_index_color to face-background instead of NSColor*.
+       (ns_implicitly_set_icon_type): Fix indentation.
+       Change assignment in for loop to comparison.
+
+       * emacs.c (ns_pool): New variable.
+       (main): Assign ns_pool.
+       (Fkill_emacs): Call ns_release_autorelease_pool.
+
+       * nsfont.m (ns_spec_to_descriptor): Fix indentation,
+       autorelease fdesc, release fdAttrs and tdict.
+       (ns_get_covering_families): Release charset.
+       (ns_findfonts): Release NSFontDescriptor created with new.
+       (ns_uni_to_glyphs): Fix indentation.
+       (setString): Release attrStr before assigning new value.
+
+2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsmenu.m (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5
+       and NS_IMPL_COCOA.
+       (trackingNotification): Surround with ifdef NS_IMPL_COCOA.
+       (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
+
+2011-12-18  David Reitter  <reitter@cmu.edu>
+
+       * nsterm.m (ns_term_init): Subscribe for notifications
+       NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
+       to method trackingNotification in EmacsMenu.
+
+       * nsmenu.m (trackingMenu): New variable.
+       (trackingNotification): New method (from Aquamacs).
+       (menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
+       from Aquamacs (Bug#7030).
+
+2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
+       (symbol_to_nsstring): Fix indentation.
+       (ns_symbol_to_pb): New function.
+       (Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
+       (Fns_rotate_cut_buffers_internal): Removed.
+       (Fns_store_selection_internal): Renamed from
+       Fns_store_cut_buffer_internal.
+       (ns_get_foreign_selection, Fx_own_selection_internal)
+       (Fx_disown_selection_internal, Fx_selection_exists_p)
+       (Fns_get_selection_internal, Fns_store_selection_internal):
+       Use ns_symbol_to_pb and check if return value is nil.
+       (syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT.  Remove defsubr
+       Sns_rotate_cut_buffers_internal.  Sns_get_cut_buffer_internal
+       renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
+       renamed to Sns_store_selection_internal.
+       (ns_handle_selection_request): Move code to Fx_own_selection_internal
+       and remove this function.
+       (ns_handle_selection_clear): Remove, never used.
+       (Fx_own_selection_internal): Move code from ns_handle_selection_request
+       here.
+
+2011-12-17  Ken Brown  <kbrown@cornell.edu>
+
+       * fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
+       GID is unknown (Bug#10257).
+
+2011-12-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * s/gnu-linux.h: Fix mark_memory typo (Bug#10286).
+       (GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory,
+       which caused a build failure on GNU/Linux IA-64.  This problem was
+       introduced by my 2011-10-07 patch.
+
+2011-12-15  Juri Linkov  <juri@jurta.org>
+
+       * image.c (imagemagick_error): New function.  (Bug#10112)
+       (imagemagick_load_image): Comment out `MagickSetResolution' call.
+       Use `imagemagick_error' where ImageMagick functions return
+       `MagickFalse'.
+       (Fimagemagick_types): Add `Fnreverse' to return the list in the
+       proper order.
+
+2011-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xftfont.c (xftfont_draw): Use the font metrics of s->font to
+       fill background (Bug#8992).
+
+2011-12-13  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Vwindow_combination_resize)
+       (Vwindow_combination_limit): Use t instead of non-nil in
+       doc-strings.
+       (Vrecenter_redisplay): Add first sentence of doc-string on
+       separate line.
+       (Frecenter): Fix doc-string typo.
+
 2011-12-11  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (Funencodable_char_position): Pay attention to the
        Remove unreachable code.
        (read_hex, load_charset_map_from_file): Check for integer overflow.
 
-       * xterm.c: don't go over XClientMessageEvent limit
+       * xterm.c: Don't go over XClientMessageEvent limit.
        (scroll_bar_windows_size): Now ptrdiff_t, as we prefer signed.
        (x_send_scroll_bar_event): Likewise.  Check that the size does not
        exceed limits imposed by XClientMessageEvent, as well as the usual
 
 2011-06-15  Paul Eggert  <eggert@cs.ucla.edu>
 
-       Integer overflow and signedness fixes (Bug#8873).
+       Integer overflow and signedness fixes (Bug#8873, Bug#8828).
 
        * ccl.c (ASCENDING_ORDER): New macro, to work around GCC bug 43772.
        (GET_CCL_RANGE, IN_INT_RANGE): Use it.
 
        * ccl.c (ccl_driver): Redo slightly to avoid the need for 'unsigned'.
 
-       ccl: add integer overflow checks
+       ccl: Add integer overflow checks.
        * ccl.c (CCL_CODE_MAX, GET_CCL_RANGE, GET_CCL_CODE, GET_CCL_INT):
        (IN_INT_RANGE): New macros.
        (ccl_driver): Use them to check for integer overflow when
        where the include path doesn't have X11/X.h by default.  See
        <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00561.html>.
 
-2011-05-20 Kenichi Handa  <handa@m17n.org>
+2011-05-20  Kenichi Handa  <handa@m17n.org>
 
        * composite.c (find_automatic_composition): Fix previous change.
 
        * lread.c (lisp_file_lexically_bound_p): Stop scanning at end
        marker.  (Bug#8610)
 
-2011-05-05 Eli Zaretskii  <eliz@gnu.org>
+2011-05-05  Eli Zaretskii  <eliz@gnu.org>
 
        * w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
        New version that can reserve upto 2GB of heap space.
        are now in src/globals.h.
        (syms_of_minibuf): Remove spurious & from previous change.
 
-2011-03-20  Leo  <sdl.web@gmail.com>
+2011-03-20  Leo Liu  <sdl.web@gmail.com>
 
        * minibuf.c (completing-read-function): New variable.
        (completing-read-default): Rename from completing-read.
@@ -8893,7 +9225,7 @@ See ChangeLog.11 for earlier changes.
 ;; coding: utf-8
 ;; End:
 
-  Copyright (C) 2011  Free Software Foundation, Inc.
+  Copyright (C) 2011-2012  Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.