1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 01:01:52 -07:00
Commit graph

28675 commits

Author SHA1 Message Date
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
Chong Yidong
4f103e0430 * nsterm.h: Fix last change. 2010-03-31 00:00:23 -04:00
Chong Yidong
a6d676d9f4 * menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930). 2010-03-30 19:26:38 -04:00
Jan Djärv
67fee863be xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766). 2010-03-30 19:26:58 +02:00
Chong Yidong
9ae6e18924 Clean up unneeded ns_set_icon_type calls.
Patch from Adrian Robert, see
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01391.html

* xdisp.c (x_consider_frame_title, update_window_cursor): Remove
HAVE_NS conditionals.
(prepare_menu_bars)[HAVE_NS]: Call ns_set_doc_edited.

* nsfns.m (x_implicitly_set_name): If frame-title-format is t, use
filename for the title.
(ns_set_doc_edited): Do nothing if the selected window is a
minibuffer window.

* nsterm.h: Add prototypes for ns_set_name_as_filename and
ns_set_doc_edited.

* nsterm.m: Remove unneeded prototype.
2010-03-29 19:48:44 -04:00
Glenn Morris
25c72475f4 Close bug#5336.
* Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always
in the DOC file.
2010-03-28 11:55:20 -07:00
Chong Yidong
f79a01db38 * xdisp.c (pos_visible_p): Revert 2008-01-25 change (Bug#5730). 2010-03-24 17:25:46 -04:00
Juanma Barranquero
9a5d0c6844 Fix typos in Changelog. 2010-03-24 01:18:03 +01:00
Jan Djärv
93318cbd40 bug #5736: Allow X-resource menuBar to take on/off as documented.
* frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736).

* xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER.

* dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new.

* xresources.texi (Table of Resources): Clarify toolBar number
for Gtk+.

* frames.texi (Menu Bars): menuBarLines => menuBar (bug#5736).
2010-03-22 08:26:56 +01:00
YAMAMOTO Mitsuharu
ad13a3ee9b xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around XLoadQueryFont. 2010-03-20 12:37:39 +09:00
Kenichi Handa
fb608df3c6 Fix the ccl encoder for the case that the output buffer is fullfilled. 2010-03-16 14:48:41 +09:00
Kenichi Handa
fbdc17211b coding.c (decode_coding_ccl): Fix previous change for the multibyte case. 2010-03-16 11:14:40 +09:00
Chong Yidong
35cd7cd68e Fix bug in `format' (Bug#5710).
* editfns.c (Fformat): Account for string precision when computing
field width (Bug#5710).
2010-03-15 11:51:48 -04:00
Stefan Monnier
c0335e02ec Make it possible to C-g in a tight bytecode loop again (bug#5680).
* lisp.h (ELSE_PENDING_SIGNALS): New macro.
(QUIT): Use it to consolidate code and remove redundancy.
* bytecode.c (BYTE_CODE_QUIT): Use it as well.
2010-03-05 18:08:18 -05:00
Stefan Monnier
254c06a8d8 * regex.c (regex_compile): Setup gl_state as well. 2010-03-05 14:54:39 -05:00
Stefan Monnier
618db43098 (skip_chars): Setup gl_state (bug#3823).
(in_classes): Use CONSP before XCAR/XCDR.
2010-03-05 13:42:38 -05:00
Chong Yidong
233f0c9f87 Fix keyboard macro key lookup (Bug#5481).
* src/keymap.c (Fwhere_is_internal): Use Fequal to compare
definitions, so that keyboard macros are correctly handled
(Bug#5481).

* lisp/macros.el (insert-kbd-macro): Look up keyboard macro
using the definition, not the name (Bug#5481).
2010-03-03 12:31:50 -05:00