* syntax.c (Fchar_syntax): Minor doc fix (Bug#119).
[bpt/emacs.git] / src / ChangeLog
index ac13ccb..6ac4dfc 100644 (file)
@@ -1,3 +1,359 @@
+2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * syntax.c (Fchar_syntax): Minor doc fix (Bug#119).
+
+2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * emacs.c (inhibit_x_resources): Update doc string for NS.
+       (main) [HAVE_NS]: Don't process --no-init-file option.  Remove
+       legacy code for -NXHost.  Fix error printf in daemon case.
+
+       * nsterm.h (ns_no_defaults): Remove.
+
+       * nsterm.m (ns_no_defaults): Remove.
+       (ns_term_init): Switch ns_no_defaults -> inhibit_x_resources.
+       (ns_use_qd_smoothing): Remove legacy variable.
+       (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
+       don't update the NSWindow itself.
+       (EmacsView-windowWillUseStandardFrame:defaultFrame:): Improve
+       state detection and store user rect ourselves. (Bug #3581)
+
+       * nsfont.m (nsfont_draw) [NS_IMPL_COCOA]: Don't use
+       ns_use_qd_smoothing.
+
+       * nsfns.m (x_get_string_resource): Ape just-previous changes to other
+       platform versions.  Drop support for emacs-20-style face specs.
+       (x-close-connection): Drop PSFlush() under OS X.
+       (x-focus-frame): Activate the app first.
+
+2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs.c (inhibit_x_resources): New variable.
+       (main) [HAVE_NS]: Don't process --quick command line option.
+       (syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it.
+
+       * lisp.h (inhibit_x_resources): Declare it extern.
+
+       * w32reg.c (x_get_string_resource):
+       * xrdb.c (x_get_string_resource): Obey inhibit_x_resources.
+
+2009-09-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (MSDOS_SUPPORT, SOME_MACHINE_LISP): Add
+       lisp/term/internal.elc.
+
+2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.c (x_get_resource_string): Re-add for non-toolkit builds
+       (bug#4461).
+
+2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * puresize.h (BASE_PURESIZE): Increase to 1290000.
+
+       * Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
+       (OBJECTS_MACHINE): Remove, unused.
+
+2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.c (x_get_resource_string): Remove unused.
+
+2009-09-15  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_new_font): Call change_frame_size before calling
+       x_set_window_size, in case frame size won't change.
+
+       * frame.c (x_set_font): Remove dead code.
+
+2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (Fload): Also run do-after-load-evaluation while dumping.
+
+2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (Fload): Don't output a message after loading an obsolete
+       package any more (done in Lisp now).
+
+2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fns.c (syms_of_fns): Doc fix (Bug#4227).
+
+2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (Fwhere_is_internal): Use nconc2.
+
+2009-09-11  Alan Mackenzie  <acm@muc.de>
+
+       * dispnew.c (Fsend_string_to_terminal): Amend doc string to cover
+       batch mode.
+
+2009-09-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * xdisp.c (display_mode_element): Detect cycles.
+
+2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (where_is_internal): Don't erroneously return nil right after
+       filling the cache.
+       (where_is_internal_1): Fix up typo.
+
+2009-09-11  Glenn Morris  <rgm@gnu.org>
+
+       * frame.c (Fx_parse_geometry): Unify the X and NS versions so that they
+       share a common doc-string.
+
+2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (get_keymap): Return the actual keymap symbol rather than
+       t for autoloaded keymaps when autoloading is not allowed (bug#4393).
+
+       * keymap.c (QCadvertised_binding): New constant.
+       (syms_of_keymap): Initialize it.
+       (Fwhere_is_internal): Try and use bindings from :advertised-binding
+       if applicable.
+
+2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.
+       (parse_menu_item): Streamline since bindings are recomputed all the
+       time anyway.  Don't bother checking Vdefine_key_rebound_commands any
+       more and don't support lmenu's menu-alias any more either.
+
+       * keymap.c (where_is_internal_data): Make noindirect a boolean.
+       (where_is_internal): Strip it down to only traverse the keymaps.
+       Move the cache handling from Fwhere_is_internal to here.
+       (Fwhere_is_internal): Move the handling of remapping and the choice of
+       the best binding from where_is_internal to here.
+       Unify the cached/noncached paths, so remapping is also handled
+       correctly when the cache is used, and so the cache can be used to
+       speed up remap-handling when applicable.
+       Give preference to non-remapped bindings.
+       * doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer
+       non-remapped bindings.
+       * keyboard.c (parse_menu_item): Let Fwhere_is_internal handle
+       command remapping.
+
+       * xdisp.c (display_mode_element): Move list length limit from 50 to
+       5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
+
+2009-09-09  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfont.m (ns_get_family): Don't force first letter to uppercase.
+
+2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (where_is_internal): Filter out shadowed remappings.
+       Assume that where_is_internal returns unshadowed bindings to simplify
+       the code and get rid of the gotos.  Use ASIZE.
+
+2009-09-04  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_focus_changed): If we get a focusout and pointer
+       is invisible, make it visible.
+
+       * xterm.h: Remove condition for declaration of
+       x_*_window_to_frame.
+
+2009-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dispnew.c (Fsend_string_to_terminal): Make it work again on the
+       initial terminal as well.
+
+2009-09-02  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.h: Rename x_non_menubar_window_to_frame to
+       x_menubar_window_to_frame.
+
+       * xterm.c: Remove declarations also in xterm.h
+       (XTmouse_position): Do not return valid positions
+       for clicks in the menubar and the toolbar for Gtk+.
+
+       * xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
+       if the widget for the event has the same top level as a frame,
+       return the frame.
+       (x_menubar_window_to_frame): Detect menu bar even with Gtk+
+       internal windows, bug #4122.
+       (x_non_menubar_window_to_frame): Remove.
+
+2009-09-02  Glenn Morris  <rgm@gnu.org>
+
+       * buffer.c (default-major-mode): Move most of the doc from here...
+       (major-mode): ... to here.
+
+2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
+
+       * process.c (wait_reading_process_output): Keep the descriptor
+       when pty is used by a non-child process, e.g., in I/O buffer of
+       GDB this allows inferior to be restarted.
+
+2009-08-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (redisplay_internal): Remove redundant test and collapse
+       both branches into one.
+
+2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
+       (main): Use enable-multibyte-characters rather than
+       default-enable-multibyte-characters.  Output a warning message when
+       running a unibyte session.
+
+2009-08-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * unexmacosx.c (print_load_command_name) [LC_DYLD_INFO]: Add cases
+       LC_DYLD_INFO and LC_DYLD_INFO_ONLY.
+       (copy_data_segment): Also copy __program_vars section.
+       (copy_dyld_info) [LC_DYLD_INFO]: New function.
+       (dump_it) [LC_DYLD_INFO]: Use it.
+
+       * s/darwin.h [temacs]: Undef HAVE_POSIX_MEMALIGN.
+
+2009-08-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in ($(BLD)/doc.$(O)): Depend on buildobj.h, not on
+       $(SRC)/buildobj.h.
+       (buildobj.h): Renamed from $(SRC)/buildobj.h.
+       (make-buildobj-CMD, make-buildobj-SH): Create buildobj.h, not
+       $(SRC)/buildobj.h.
+       (clean): Add buildobj.h.
+
+2009-08-28  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * print.c (print_object): Set escapeflag to 1 when printing
+       hashtable keys and values.
+
+2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (read_integer): Use doubles (and potentially return a float
+       number) as we do in string-to-number.
+       (read1): Use strtol to read integers, signal errors on strtol's
+       overflow and use floats if strtol's output is too large for
+       Elisp integers.
+
+2009-08-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in ($(SRC)/buildobj.h, make-buildobj-CMD)
+       (make-buildobj-SH): Fix last change.
+       (SRC): Move to before where it's first used.
+
+2009-08-27  Kenichi Handa  <handa@m17n.org>
+
+       * process.c (send_process): Use encode_coding_object instead of
+       encode_coding_string to perform eol-conversion even if the string
+       is unibyte.
+
+       * coding.c (encode_coding_utf_16): Fix checking of a Unicode
+       character.
+
+       * cmds.c (Fself_insert_command): Avoid unnecessay
+       unibyte->multibyte conversion.  (Bug#4240)  (Bug#4037)
+
+2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * callproc.c (Fcall_process): Remove always true #if.
+
+       * lisp.h: Replace #if 0 code for checking with text pointing to
+       the --enable-checking configure flag.
+
+       * emacs.c (main): Mention the --enable-profiling configure flag
+       instead of using CFLAGS.
+
+2009-08-26  Ken Raeburn  <raeburn@raeburn.org>
+
+       * Makefile.in (buildobj.h): New target.
+       (doc.o): Depend on it.
+       (temacs${EXEEXT}): Don't generate buildobj.lst.
+       (mostlyclean): Delete buildobj.h, not buildobj.lst.
+       * makefile.w32-in ($(SRC)/buildobj.h): New target.
+       ($(BLD)/doc.$(O)): Depend on it.
+       (make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
+       provided by Eli Zaretskii.)
+       ($(TEMACS)): Don't generate buildobj.lst.
+       * doc.c: Include buildobj.h.
+       (buildobj): New static variable.
+       (Fsnarf_documentation): Use it, instead of opening and reading
+       buildobj.lst.
+
+2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_call_method)
+       (Fdbus_call_method_asynchronously): Use English numeric format for
+       timeout values in doc string.
+
+2009-08-25  Kenichi Handa  <handa@m17n.org>
+
+       * alloc.c (mark_char_table): New function.
+       (mark_object): Use mark_char_table for a char-table.
+
+       * lisp.h (CHAR_TABLE_REF_ASCII): New macro.
+       (CHAR_TABLE_REF): Use it.
+
+2009-08-23  Ken Raeburn  <raeburn@raeburn.org>
+
+       * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
+       before invoking the newly build emacs to check for load-path
+       shadowing.
+
+2009-08-22  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (bootstrap_exe): New variable.
+       (.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
+       Use ${bootstrap_exe}.
+
+2009-08-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * coding.h (encode_coding_string): Don't encode unibyte strings.
+       (Bug#4047)
+
+2009-08-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * config.in (HAVE_DBUS_WATCH_GET_UNIX_FD): Add.
+
+       * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): Remove.  It was
+       intended as hotfix only.
+       (xd_add_watch, xd_remove_watch): Use HAVE_DBUS_WATCH_GET_UNIX_FD.
+
+2009-08-21  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (ns_get_color): Update documentation properly for last
+       change, and clean up loose ends in the code left by it.  Fix
+       longstanding bug with 16-bit hex parsing, and add support for
+       yet another X11 format (rgb:r/g/b) for compatibility.
+       * nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
+       timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
+
+2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eval.c (init_eval_once): Bump max_lisp_eval_depth to 500 for js.el.
+
+2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
+       (xd_add_watch, xd_remove_watch): Use it.  Print debug messages.
+       (xd_initialize, xd_pending_messages): Check, whether
+       $DBUS_SESSION_BUS_ADDRESS is set.
+
+2009-08-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * nsfns.m (Fxw_color_values): Return 3-element list.  Doc fix.
+
+       * nsterm.m (ns_get_color): Remove incompatible color formats again.
+
+2009-08-20  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (system-type): Doc fix.
+
+2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (syms_of_keyboard): Default to 5 buttons, which should be
+       enough for the most common situations.  Avoid SET_SYMBOL_VALUE.
+
+2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus):
+       New functions.
+       (xd_initialize): Revert change from 2009-08-16.
+
 2009-08-18  Kenichi Handa  <handa@m17n.org>
 
        * fontset.c (Ffontset_font): If a nil element is found in a
 
 2009-08-17  Ken Raeburn  <raeburn@raeburn.org>
 
-       * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the
-       value.
+       * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
        (XFLOAT_INIT): New macro for storing a float value.
        * alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
        * fns.c (sxhash): Copy out the value of a float in order to
 
 2009-08-15  Michael Albinus  <michael.albinus@gmx.de>
 
-       * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): New
-       functions.
+       * dbusbind.c (xd_get_dispatch_status, xd_pending_messages):
+       New functions.
 
        * lisp.h (xd_pending_messages): Declare.
 
 
 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
 
-       * eval.c (Fcalled_interactively_p, Finteractive_p): Doc
-       fix (Bug#3936).
+       * eval.c (Fcalled_interactively_p, Finteractive_p): Doc fix (Bug#3936).
 
        * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131).
 
 
 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * s/netbsd.h (SIGNALS_VIA_CHARACTERS): Remove, already defined in bsd-common.h
+       * s/netbsd.h (SIGNALS_VIA_CHARACTERS): Remove, already defined in
+       bsd-common.h.
 
 2009-07-27  Kenichi Handa  <handa@m17n.org>
 
 2009-07-10  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_select_font): Remember last font selected in
-       x_last_font_name and use that the next time. Also try the frame
+       x_last_font_name and use that the next time.  Also try the frame
        parameter font-parameter as default to the font dialog.
 
 2009-07-10  Kenichi Handa  <handa@m17n.org>
        for MapNotify.
 
        * gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height
-       here or call change_frame_size. Just call flush_and_sync.
+       here or call change_frame_size.  Just call flush_and_sync.
        (flush_and_sync): Reintroduce.
 
 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky
+       * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky.
 
        * xterm.c (x_handle_net_wm_state): Also look for sticky.
        (x_term_init): Initialize Xatom_net_wm_state_sticky.
        Declare Qfullwidth, Qfullheight, Qfullboth, Qmaximized.
 
        * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen
-       for Expose event. Add call to x_check_fullscreen for MapNotify event.
-       Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not
+       for Expose event.  Add call to x_check_fullscreen for MapNotify event.
+       Remove all code w.r.t. fullscreen from ConfigureNotify event.  Do not
        set gravity to NorthWestGravity when USE_GTK.
        (set_wm_state): New function.
-       (do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED.
+       (do_ewmh_fullscreen): Use set_wm_state.  Also handle FULLSCREEN_MAXIMIZED.
        (x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED.
        (x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen
-       or the case when no window manager is running. That means remove calls
+       or the case when no window manager is running.  That means remove calls
        to x_real_positions and x_fullscreen_adjust.
 
        * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove.
 
        * m/pmax.h: Restore file, with only netbsd portions.
 
-2009-06-26  David Reitter <david.reitter@gmail.com>
+2009-06-26  David Reitter  <david.reitter@gmail.com>
 
        * nsterm.m (keydown): Avoid infinite loop.
 
        * nsterm.m (ns_draw_window_cursor): Respect cursor_type for
        nonactive windows.
 
-2009-06-08 Felix Mueller  <felix@enqueue.eu>  (tiny change)
+2009-06-08  Felix Mueller  <felix@enqueue.eu>  (tiny change)
 
        * nsterm.m (ns_init_paths): Append path separator to INFOPATH variable.
 
        handling_signal is set.
        (EmacsMenu-fillWithWidgetValue:): Set submenu title.
 
-       * config.in: Get rid of COCOA_EXPERIMENTAL_CTRL_G
+       * config.in: Get rid of COCOA_EXPERIMENTAL_CTRL_G.
 
        * s/darwin.h: Same and NO_SOCK_SIGIO as well.