Merge changes from emacs-23 branch
[bpt/emacs.git] / src / ChangeLog
index c717b3f..2353116 100644 (file)
@@ -1,3 +1,144 @@
+2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
+       of int.  All uses adjusted.
+       (PNG_JMPBUF, png_load, jpeg_load, tiff_load, gif_load)
+       (svg_load_image): Remove casts.
+
+2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (fn_png_longjmp, fn_png_set_longjmp_fn): New png
+       function definitions for compiling with libpng-1.5.
+       (PNG_LONGJMP, PNG_JMPBUF): New macros for libpng-1.5.
+       (my_png_error, png_load): Use them.  Suggested by Thomas Klausner
+       (Bug#7908).
+
+2011-01-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * s/ms-w32.h (HAVE_STRFTIME): Don't define.
+
+       * makefile.w32-in (OBJ2): Remove strftime.$(O).
+       ($(BLD)/strftime.$(O)): Remove prerequisites.
+
+2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       src/emacs.c now gets version number from configure.in
+       * emacs.c (emacs_version): Set to VERSION so that it
+       is determined automatically from ../configure.in.
+
+2011-01-31  Jim Meyering  <meyering@redhat.com>
+
+       * charset.c (load_charset_map): Don't deref NULL on failed malloc.
+       Use xmalloc rather than malloc.
+
+2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       strftime: import from gnulib
+       * Makefile.in (obj): Remove strftime.o, as gnulib now does this for us.
+       * deps.mk (strftime.o): Remove.
+       * editfns.c: Include <strftime.h>, supplied by gnulib.
+       (emacs_strftimeu): Remove decl.
+       (emacs_memftimeu): Use nstrftime (the gnulib name) rather than
+       emacs_strftimeu.
+       * config.in: Regenerate.
+       * strftime.c: Remove; we now use strftime from gnulib.
+
+       Use SSDATA when the context wants char *.
+       * alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
+       * dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
+       * fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
+       * lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
+       * xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
+       Use SSDATA (not SDATA) when the context of the expression wants
+       char * (not unsigned char *).
+
+2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * .gdbinit: Read global lisp variables as globals.f_V*.
+
+2011-01-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * font.c (PROP_MATCH): Remove parameter N and use strlen instead.
+       All uses changed.
+       (PROP_SAVE): Likewise.
+
+2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (make_lispy_position): Fix typo in last change
+       (Bug#7935).
+
+2011-01-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * s/ms-w32.h (HAVE_MKTIME): Remove.
+
+       * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
+       (GNULIB): New variable.
+       (LIBS): Add $(GNULIB).
+       $(TEMACS): Depend on $(GNULIB).
+       <top-level>: Fix font-lock disrupted by a lone `"'.
+
+2011-01-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsselect.m (ns_string_from_pasteboard): Get length of string
+       and use make_string instead of build_string (Bug#7934).
+       (ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
+       instead of stringWithUTF8String  (Bug#7934).
+
+2011-01-29  Anders Lindgren  <andlind@gmail.com> (tiny change)
+
+        * nsfont.m (nsfont_open): Ensure that fonts with inexact
+        descenders would not become one pixel too tall (Bug#7887).
+
+2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (make_lispy_position): For clicks on right fringe or
+       margin, compute text position using the X coordinate relative to
+       the left of the text area (Bug#7839).
+
+2011-01-28  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_spec_pattern): Check each extra property
+       value.
+
+2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (safe_eval_handler): Distinguish symbols and strings.
+
+2011-01-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Undefine a temporary macro.
+
+2011-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Let the debugger continue to the normal handler (bug#7825).
+       * eval.c (maybe_call_debugger): Declare before new use.
+       (find_handler_clause): Don't call debugger any more.
+       Ignore Vstack_trace_on_error.
+       Use XCAR/XCDR.
+       (syms_of_eval): Remove Vstack_trace_on_error.
+       (Fsignal): Only modify handlerlist when we know we need to do it.
+       Call the debugger when necessary.
+       * globals.h (Vstack_trace_on_error): Remove.
+
+2011-01-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Rewrite GTK font name parser.
+
+2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (handle_fontified_prop): Be careful with font-lock changing
+       the buffer's point-max (bug#7876).
+
+2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases.
+       Remove unused case (Bug#6811).
+
+2011-01-23  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
+       setFrameTopLeftPoint is constrained.
+
 2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        Check return values of some library calls.
@@ -5,7 +146,7 @@
        * frame.c: Include <limits.h>, for INT_MIN and INT_MAX.
        (frame_name_fnn_p): Check strtol result.
 
-       * image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
+       * image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
        when calling XpmCreatePixmapFromData.
 
        Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
@@ -30222,8 +30363,7 @@ See ChangeLog.10 for earlier changes.
 ;; coding: utf-8
 ;; End:
 
-  Copyright (C) 2007, 2008, 2009, 2010, 2011
-    Free Software Foundation, Inc.
+  Copyright (C) 2007-2011  Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.