1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 07:00:35 -08:00
Commit graph

28652 commits

Author SHA1 Message Date
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
Eli Zaretskii
685ebdc8b1 (emacs_mule_char): Fix a typo in commentary. 2010-03-02 23:43:50 +02:00
Eli Zaretskii
75f80e63ca Fix bug in decoding emacs-mule encoding.
coding.c (decode_coding_emacs_mule): Fixup pointers to buffer
 text that could be relocated inside the call to emacs_mule_char.
 (emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR.
 (CODING_DECODE_CHAR): Add a comment describing its purpose.
2010-03-02 22:35:44 +02:00
Kenichi Handa
fc9a17bcf7 Fix handling of the multibyte form of raw-bytes in unibyte->multibyte conversion. 2010-03-02 13:44:28 +09:00
Kenichi Handa
dcfb9bc4a1 buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte form of raw-bytes. 2010-03-02 10:30:52 +09:00
Chong Yidong
412c01b6f0 Fix use of unitialized memory.
* charset.c (load_charset_map_from_file)
(load_charset_map_from_vector): Zero out allocated
charset_map_entries before using them.
2010-02-28 09:19:31 -05:00
Andreas Schwab
df7e1ea087 * w32uniscribe.c (uniscribe_check_otf): Fix length check. 2010-02-27 15:28:52 +01:00
Chong Yidong
4ed28cf4e5 Addendum to last patch: add "Medium" GTK font name keyword. 2010-02-26 21:09:03 -05:00
Chong Yidong
fe69a72236 Recognize more keywords in GTK font names (Bug#5646).
* font.c (font_parse_fcname): Recognize "Book", "Condensed", and
"Semi-Condensed" keywords in GTK names (Bug#5646).
2010-02-26 21:06:13 -05:00
Kenichi Handa
f88cc4d6dd Fix Myanmar OTF support 2010-02-26 21:40:46 +09:00
Kenichi Handa
06aac9016f from trunk 2010-02-26 10:22:23 +09:00
Kenichi Handa
7379cfce15 xdisp.c (reseat_to_string): Fix previous change. 2010-02-26 10:17:28 +09:00
Chong Yidong
cf2fdcfbd3 * nsfont.m (nsfont_draw): ns_antialias_text should be a Lisp_Object (Bug#4736). 2010-02-25 19:48:53 -05:00
Kenichi Handa
cc6c7c75bb xdisp.c (reseat_to_string): Fix previous change (bug#5609). 2010-02-25 11:29:35 +09:00
Jan Djärv
32e737d7ca Move declarations before statements.
* xterm.c (XTflash): Move declarations before statements.

* gtkutil.c (xg_get_gdk_display): Remove (unused).
(xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets)
(xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb)
(xg_create_tool_bar): Remove unused variables.
(x_wm_set_size_hint): Move declarations before statements.
(xg_create_frame_widgets): Remove variable grav,
2010-02-24 19:23:48 +01:00
Chong Yidong
676cae9f08 * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518). 2010-02-21 08:44:07 -05:00
Eli Zaretskii
e3670e004d term.c, dispextern.h: Fix stale comments. 2010-02-19 15:57:53 +02:00
Stefan Monnier
886cc2b86a (fatal): Add a final \n if needed (bug#5596). 2010-02-18 12:02:24 -05:00
Glenn Morris
30f50381ed * fileio.c: Comment fix. 2010-02-18 01:02:04 -08:00
Chong Yidong
ddb2d8e235 * nsterm.m (ns_ring_bell): Revert last change (Bug#5569). 2010-02-18 02:21:15 -05:00
Glenn Morris
2a4f8d3d57 * callint.c (Finteractive): Doc fix. 2010-02-17 22:35:21 -08:00
Kenichi Handa
ebaf11b608 Fix handling of CODING_RESULT_INSUFFICIENT_DST. 2010-02-18 11:27:25 +09:00
Kenichi Handa
d0396581d5 Fix the ccl decoder for the case that the output buffer is fullfilled. 2010-02-17 15:47:32 +09:00
Juanma Barranquero
737b5223e1 Fix typos in comments. 2010-02-14 18:32:16 +01:00