1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

28691 commits

Author SHA1 Message Date
Christoph Scholtes
a2a0d36b5b * minibuf.c (Fread_buffer): Doc fix (bug#6528). 2010-07-26 01:56:56 +02:00
Christoph Scholtes
a77cfeaf4b * window.c (Fwindow_height): Doc fix (bug#6518). 2010-07-23 01:57:23 +02:00
Juanma Barranquero
14fb570491 * buffer.c (syms_of_buffer) <fringe-indicator-alist>: Doc fix. 2010-07-21 12:45:01 +02:00
Jan D
499322cef9 * gtkutil.c (xg_event_is_for_menubar): Also check that event window
is related to the menu bar (Bug#6499).
2010-07-17 11:59:19 +02:00
Jan D
b78f97676f Fix menus as per bug 6499 and 6608.
* gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).

* gtkutil.h (xg_event_is_for_menubar): Declare.

* xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
instead of Window.  Call xg_event_is_for_menubar when
USE_GTK (Bug#6499).

* xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
i.e. don't put back ButtonRelease (Bug#6608).

* xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.

* xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
2010-07-14 12:05:53 +02:00
Eli Zaretskii
1f60c16a17 Fix bug #6609.
w32fns.c (x_set_foreground_color): Fix setting the cursor color
 when it's the same as the old foreground.
2010-07-14 10:40:52 +03:00
Chong Yidong
7c33a05722 * xfaces.c (realize_face): Garbage the frame if a face is removed
(Bug#6593).
2010-07-10 13:58:29 -04:00
Andreas Schwab
9d70a3fc8e Remove obsolete volatile
* keyboard.c: Remove duplicate <setjmp.h>.
	(read_key_sequence): Remove volatile qualifiers.
2010-07-05 19:16:59 +02:00
YAMAMOTO Mitsuharu
5a874e95ef Fix ghost buffer boundary indicators in fringes (Bug#5634, Bug#6325).
* dispextern.h (FRINGE_HEIGHT_BITS): New define.
(struct glyph_row): New members left_fringe_offset and
right_fringe_offset.

* xterm.c (x_draw_fringe_bitmap): Don't clip bottom aligned bitmap
specially.
* w32term.c (w32_draw_fringe_bitmap): Likewise.
* nsterm.m (ns_draw_fringe_bitmap): Likewise.

* fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
Take account of	bitmap offset.
(draw_window_fringes): Take account of window vscroll.
(update_window_fringes): Likewise.  Extend top-aligned top indicator
or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
in one row.  Don't set redraw_fringe_bitmaps_p outside row comparison.
Set left_fringe_offset and right_fringe_offset (Bug#5634, Bug#6325).
2010-07-05 18:58:31 +09:00
Juanma Barranquero
0682186e3a src/w32fns.c (Qtooltip): Declare.
Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
2010-07-04 02:59:56 +02:00
Jan D
ad3e6f4474 Fix hang for mouse press on menubar but not on an item (Bug#6499).
* xmenu.c (x_activate_menubar): Send Press/Release for Gtk+ to avoid
grab on just Press (Bug#6499).
2010-07-03 11:38:44 +02:00
Chong Yidong
54ee7410c5 Fix faulty `if' statement in delete_frame.
* frame.c (Qtooltip): New var.
(delete_frame): Use it.  Fix faulty if statement.  Don't update
mode line for tooltip frames.  Suggested by Martin Rudalics.

* xfns.c (x_create_tip_frame):
* w32fns.c (x_create_tip_frame): Use it.
2010-07-02 12:35:08 -04:00
Naohiro Aota
3d8416fce9 Check FC_DUAL too. For such fonts, check width one by one (Bug#4129).
* xftfont.c (xftfont_open): Check font width one by one also when
spacing is dual.

* ftfont.c (ftfont_open): Ditto.
2010-06-30 10:22:18 -04:00
Andreas Schwab
b1feb9b4ec * alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517). 2010-06-26 20:47:35 +02:00
Chong Yidong
c7dd974307 Fix after-string and image interaction bug (Bug#1336).
* xdisp.c (next_element_from_image): Ensure that after-strings are
read the next time we hit handle_stop (Bug#1336).
2010-06-24 20:30:55 -04:00
Andreas Schwab
5721b4ed16 * lread.c (read1): Signal error if #s is not followed by paren. 2010-06-23 10:22:36 +02:00
Chong Yidong
52ab9bb27b * image.c (free_image): Mark frame as garbaged (Bug#6426). 2010-06-19 15:43:47 -04:00
Chong Yidong
277c5f1802 * keymap.c (Fdefine_key): Doc fix (Bug#6460). 2010-06-19 14:02:41 -04:00
Glenn Morris
6fda6a0c40 Backport from trunk: * src/editfns.c (Fbyte_to_string): Pacify compiler. 2010-06-14 23:16:19 -07:00
Stefan Monnier
e454a4a330 * dbusbind.c (xd_append_arg): Don't "make-unibyte" the string.
Check `object's type before accessing its guts.
2010-06-09 10:31:12 -04:00
Andreas Schwab
373bf2b76c * minibuf.c (Fall_completions): Add more checks. 2010-06-08 21:42:10 +02:00
Andreas Schwab
657d4c0be3 * minibuf.c (Fall_completions): Add more checks. 2010-06-08 19:56:21 +02:00
Juanma Barranquero
9b27fd9f75 * minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378). 2010-06-08 18:53:11 +02:00
Andreas Schwab
f07b083d4a Add bug number 2010-06-04 00:52:38 +02:00
Andreas Schwab
0eb7675e67 * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4
address.
2010-06-04 00:47:35 +02:00
Juanma Barranquero
78edd3b72d Fix typos. 2010-06-03 17:34:35 +02:00
Stefan Monnier
1ab8293c36 * src/keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread
of bug#6305).
2010-05-31 15:35:04 -04:00
Juanma Barranquero
a73f9c9dfd src/ChangeLog: Fix typos. 2010-05-31 01:09:32 +02:00
Chong Yidong
5ca3929b19 * xdisp.c (redisplay_window): After redisplay, check if point is
still valid before setting it (Bug#6177).
2010-05-27 11:42:50 -04:00
Stefan Monnier
dd9b52a693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Add delete-backward-char.
2010-05-24 17:01:10 -04:00
enami tsugutomo
f5b416d2ef Backport from trunk: close bug#6190.
* src/s/netbsd.h: If terminfo is found, use it in preference to termcap.
2010-05-20 21:06:34 -07:00
Chong Yidong
aeb77d4660 Doc fix (Bug#6224).
* keyboard.c (Vlast_command, Vkeyboard_translate_table)
(Voverriding_terminal_local_map, Vsystem_key_alist)
(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
2010-05-20 10:50:32 -04:00
Stefan Monnier
c3bb441dd0 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
2010-05-19 11:23:53 -04:00
Chong Yidong
754790b6c5 * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).
2010-05-18 14:01:10 -04:00
Eli Zaretskii
c8670ded9c Backport from trunk: Fix bug #6126.
makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(SRC)/w32.h.
 w32fns.c: Include w32.h.
 (Fw32_shell_execute): Decode the error message before passing it
 to `error'.
2010-05-11 20:23:52 +03:00
Glenn Morris
3ffd461547 * src/ChangeLog: Remove tiny change marker from author with assignment. 2010-05-11 08:48:29 -07:00
Kenichi Handa
c90ca7b766 ftfont.c: Fix incorrect parentheses of #if condition for definining M17N_FLT_USE_NEW_FEATURE. 2010-05-11 20:15:29 +09:00
Chong Yidong
61a808e819 Bump version to 23.2. 2010-05-07 23:28:26 -04:00
Andreas Schwab
5dcde606e3 Fix for Bug#5984.
* composite.c (autocmp_chars): Save point as marker before calling
auto-composition-function.

* lisp.h (restore_point_unwind): Add prototype.

* fileio.c (restore_point_unwind): Remove static attribute.
2010-04-30 12:00:48 -04:00
Kenichi Handa
c4170e32d1 Use new features of libotf and m17n-lib if available. 2010-04-23 21:29:11 +09:00
Juanma Barranquero
e42cd1a757 * dired.c (Ffile_attributes): Fix typo in docstring. 2010-04-19 05:06:29 +02:00
Adrian Robert
79353a53a0 * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as NSInteger (Bug#5811). 2010-04-13 11:56:08 +03:00
Adrian Robert
b2e40a75ce * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as NSInteger (Bug#5811). 2010-04-13 09:01:46 +03:00
YAMAMOTO Mitsuharu
658b9b9347 Use openpty for allocating pty on Darwin. Fix Bug#726 and Bug#5819.
* s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF)
(PTY_OPEN): New defines.  Use openpty (Bug#726, Bug#5819).
2010-04-10 19:31:01 +09:00
YAMAMOTO Mitsuharu
16009a0ec3 frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. 2010-04-08 09:43:57 +09:00
Jan Djärv
f016f225d2 Fix resizing for X and non-Gtk+ build. Bug #5848.
* frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
FRAME_LINE_TO_PIXEL_Y.

* xterm.c (x_set_window_size_1): Don't add border_width/height to
pixelwidth/height.
2010-04-07 18:34:31 +02:00
Chong Yidong
84257d9314 Fix crash on NextStep terminal (Bug#5837)
* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
terminal frames (Bug#5837).
2010-04-05 11:46:29 -04:00
Juanma Barranquero
194d44e717 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
Chong Yidong
95b1abcfaf Fix last set of Nextstep changes.
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.
2010-03-31 10:27:50 -04:00
Eli Zaretskii
4a217bedd4 Fix bug #5703.
w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
 in this function.
2010-03-31 12:08:40 +03:00