Juanma Barranquero
1e048ad1a6
Backport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.
...
* src/w32xfns.c (select_palette): Check success of RealizePalette against
GDI_ERROR, not zero.
2011-03-11 16:42:12 +01:00
YAMAMOTO Mitsuharu
126bc0dcac
* src/fringe.c (update_window_fringes): Remove unused variables.
2011-03-11 12:56:20 +09:00
YAMAMOTO Mitsuharu
c47cbdfd2e
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
2011-03-11 10:43:49 +09:00
Chong Yidong
c6678f2916
Revert 2010-05-25T15:54:53Z!juri@jurta.org; regenerate release logs.
...
* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Revert
2011-01-31 change.
2011-03-07 00:20:23 -05:00
Chong Yidong
22770c84d5
Release logs for 23.3 release.
...
Regenerate configure and other release files.
2011-02-28 22:29:00 -05:00
Juanma Barranquero
8307f92370
Fix typos.
2011-02-23 20:56:30 +01:00
Glenn Morris
6e81c8191f
Fix typo "comand".
2011-02-22 23:15:55 -08:00
Glenn Morris
97610156f4
Fix spelling of "precede".
2011-02-22 23:08:12 -08:00
Glenn Morris
0105dc3e03
Fix spelling of "supersede".
2011-02-22 21:10:10 -08:00
Glenn Morris
e8b5c6a20c
Comment spelling fix.
2011-02-22 20:26:42 -08:00
Glenn Morris
6230011fdd
Remove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
...
No need to merge this to trunk.
2011-02-22 20:21:48 -08:00
Kenichi Handa
9c02aefc95
merge emacs-23
2011-02-23 10:56:49 +09:00
Kenichi Handa
e3b300a497
Fix font size handling.
2011-02-22 10:58:03 +09:00
Kenichi Handa
2e15a2cf4d
merge emacs-23
2011-02-22 09:22:09 +09:00
Chong Yidong
f6ed3dbe85
* Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.
...
See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00715.html
2011-02-19 12:34:50 -05:00
Kenichi Handa
dbc0543206
Fix font-size handling bug.
2011-02-17 16:47:29 +09:00
Eli Zaretskii
a73d395bd9
Fix bug #8020 with quick resizing of the selected frame.
...
xdisp.c (redisplay_internal): Resynchronize `w' if the selected
window is changed inside calls to do_pending_window_change.
2011-02-13 20:55:07 +02:00
Eli Zaretskii
cb191a14ce
Fix bug #7840 with setting terminal/keyboard encoding of emacsclient frames.
...
terminal.c (create_terminal): Use default-keyboard-coding-system
and default-terminal-coding-system to initialize coding systems of
the new terminal.
2011-02-12 04:47:28 -05:00
Juanma Barranquero
b762841f95
Fix trivial typos in comments and ChangeLogs.
2011-02-12 04:17:00 +01:00
Martin Rudalics
bae1fa42dc
Fix to select_window.
...
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00346.html
* window.c (select_window): Check inhibit_point_swap argument when
deciding whether to return immediately.
2011-02-08 19:11:15 -05:00
Jan Djärv
9aabf64c78
* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
...
zero.
Fixes: debbugs:7348
2011-02-08 08:19:20 +01:00
Glenn Morris
95838641ae
Doc fixes related to face heights. (Bug#2659)
...
* lisp/faces.el (set-face-attribute): Doc fix.
* src/xfaces.c (Finternal_set_lisp_face_attribute):
Try to clarify some error messages.
2011-02-02 22:55:48 -08:00
Stefan Monnier
aca092acca
* src/editfns.c (save_restriction_restore): Don't forget to invalidate the
...
current_column cache.
Fixes: debbugs:7946
2011-02-02 10:53:20 -05:00
Kenichi Handa
15d73a19fc
merge emacs-23
2011-02-02 11:16:53 +09:00
Kenichi Handa
ea2460a0d8
Use FC_DUAL only when it is defined.
2011-02-02 11:15:29 +09:00
Andreas Schwab
29feb0e9b5
* src/window.c (Fselect_window): Add missing return value.
2011-02-01 20:01:25 +01:00
Andreas Schwab
df61c79005
Fix use of pointers to image library functions
...
* src/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-30 00:56:33 +01:00
Chong Yidong
c2e79cb408
Fix macro definitions in last change to image.c
2011-01-29 17:33:02 -05:00
Chong Yidong
7f9c5df966
Fix png support to allow compiling with libpng-1.5 (Bug#7908).
...
* 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.
2011-01-29 16:28:26 -05:00
Chong Yidong
46b3f2bedc
* m/intel386.h: Define NO_ARG_ARRAY. Suggested by Dan Nicolaescu.
2011-01-28 12:07:12 -05:00
Chong Yidong
37d1c45d60
Fix GTK font name parsing to allow numbers in names (Bug#7853).
...
A better fix is already in the trunk.
* src/font.c (font_parse_fcname): Require GTK-style font sizes to
occur at the end of the font string (Bug#7853).
2011-01-26 19:45:30 -05:00
Chong Yidong
ea08011c7e
* src/font.c (font_parse_fcname): Fix typo in string length.
2011-01-26 11:28:49 -05:00
Stefan Monnier
f996bbcb94
* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
...
the buffer's point-max.
Fixes: debbugs:7876
2011-01-24 17:05:52 -05:00
Chong Yidong
19634648a6
* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
...
Remove unused HAVE_SHM branch.
2011-01-23 17:38:13 -05:00
Peter O'Gorman
6de1218f3c
Two more hunks from the HP-UX patch at Bug#6811.
...
* configure.in: Add HP-UX on IA64 (Bug#6811).
* src/s/hpux11.h: Set CANNOT_DUMP on IA64 (Bug#6811).
2011-01-23 17:00:22 -05:00
Chong Yidong
bd2a4b24c4
Fix last change.
2011-01-22 10:55:08 -05:00
Martin Rudalics
e6b84b30bc
Rework 2011-01-15 changes to window.c.
...
* src/window.c (select_window): New function.
(Fselect_window): Call it.
(inhibit_point_swap): Variable deleted.
(Fset_window_configuration): Call select_window directly.
2011-01-21 21:44:53 -05:00
Stefan Monnier
0514b4be51
* image.c (syms_of_image): Don't access XSYMBOL's internals directly.
2011-01-16 10:40:47 -05:00
Eli Zaretskii
e7f50e8ff0
Fix bug #7848 with using SET_SYMBOL_VALUE in image.c
...
!!!DO NOT MERGE TO THE TRUNK!!!
image.c (syms_of_image): Don't use SET_SYMBOL_VALUE.
2011-01-16 04:51:59 -05:00
Martin Rudalics
6dc1d2d387
Avoid crash in Fselect_frame due to null selected_window (Bug#7728).
...
* window.c (inhibit_point_swap): New variable.
(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
point this time.
(Fset_window_configuration): Set inhibit_point_swap to 1 instead
of setting selected_window to nil (Bug#7728).
2011-01-14 21:55:58 -05:00
Chong Yidong
70ba1ec80c
Distinguish between terminfo and termcap on NetBSD (Bug#7642).
...
* configure.in [netbsd systems]: Check for tputs definition.
* src/config.in (TERMINFO): New definition.
* src/s/netbsd.h: Use it to choose between terminfo and termcap.
2011-01-11 21:29:23 -05:00
Jan Djärv
0ad254447b
Backport bug 7517 fixes from trunk.
...
* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
* nsfns.m (ns_set_name_iconic): Remove.
(ns_get_screen): Don't assign integer to f.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT. Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8.
Always use buffer name for title and buffer filename only for
RepresentedFilename. Handle bad UTF-8 in buffer name (Bug#7517).
2011-01-03 22:26:22 +01:00
Eli Zaretskii
fb724e5537
Don't use png_jmpbuf, it doesn't work with dynamic loading.
...
image.c (png_jmpbuf): Remove definition.
(my_png_error, png_load): Don't use png_jmpbuf.
2011-01-03 21:32:41 +02:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Eli Zaretskii
18da2e74f0
More elegant solution for accessing png_ptr without GCC warnings.
...
image.c (png_jmpbuf): New macro.
(my_png_error, png_load): Use it instead of #ifdef'ing according
to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
2010-12-31 18:33:40 +02:00
Eli Zaretskii
5be1c984b7
Fix bug #7716 with PNG image support libraries on Windows.
...
src/image.c <Qlibpng_version>: New variable.
(syms_of_image): Intern and staticpro it. Set its value to the
version of PNG library we were compiled with.
(my_png_error, png_load): Avoid GCC warnings about direct access
to png_ptr->jmpbuf.
lisp/term/w32-win.el (image-library-alist): Set up correctly for
libpng versions both before and after 1.4.0.
admin/nt/README.W32: Update the information about PNG support libraries.
nt/INSTALL: Update the information about PNG support libraries.
2010-12-31 14:38:06 +02:00
Stefan Monnier
cf07311b88
* src/.gdbinit (xgetptr): Fix the union+lsb case.
...
(xbacktrace): Fix the union case.
2010-12-27 10:27:52 -05:00
Stefan Monnier
794b75c769
* src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
...
different from selected-window's.
2010-12-25 23:04:58 -05:00
Eli Zaretskii
71fe378d84
Fix bug #7662 with aligning key bindings equivalent to menu items.
...
keyboard.c (parse_menu_item): Prepend " " to the key sequence
equivalent of a menu item when the key sequence is given by the
`:keys' attribute.
2010-12-25 19:19:57 +02:00
Eli Zaretskii
2e4ab21153
More fallout from fixing bug #7587 .
...
src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
the basic faces are supported.
doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
etc/NEWS: Remove the entry about format-mode-line accepting only
basic faces.
2010-12-25 12:14:48 +02:00