Commit graph

4809 commits

Author SHA1 Message Date
Jan Djärv
a8f4bdc694 * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
2006-02-21 08:37:33 +00:00
Juanma Barranquero
9866a438cc *** empty log message *** 2006-02-21 08:34:23 +00:00
YAMAMOTO Mitsuharu
9fb446e3f1 (mac_draw_string_common): Remove arg MODE. New arg
BG_WIDTH.  All uses changed.  Draw background if BG_WIDTH is not zero.
(mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH.
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from
mac_draw_string_cg.  New arg BG_WIDTH.  All uses changed.  Draw
background if BG_WIDTH is not zero.  Use float constants as
divisors instead of double.  Use alloca instead of xmalloc/xfree.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8 || USE_ATSUI]: Background may be drawn using
mac_draw_image_string* functions.
(XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of
some fonts when srcCopy text transfer mode might be used.
(mac_begin_clip, mac_end_clip): Check if region is empty.
(mac_set_clip_rectangles): When resetting clip region, make it
empty instead of disposing of it.
2006-02-21 08:10:04 +00:00
Kim F. Storm
49af2995e0 *** empty log message *** 2006-02-20 22:31:16 +00:00
Chong Yidong
a073faa64c * regex.c: Revert 2006-02-19 change.
Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
2006-02-20 16:44:09 +00:00
Chong Yidong
a77f947b23 * regex.c (xmalloc, xrealloc): Define these when not linked to
Emacs.
2006-02-20 16:25:21 +00:00
Luc Teirlinck
2f90d2bc9d *** empty log message *** 2006-02-20 03:53:56 +00:00
Richard M. Stallman
7b1d7d664b (regex_compile): Call xmalloc and xrealloc.
(regcomp): Use xmalloc.
2006-02-20 01:19:15 +00:00
Richard M. Stallman
5498b6af64 *** empty log message *** 2006-02-20 00:00:31 +00:00
YAMAMOTO Mitsuharu
4f2f32146a (update_menu_bar) [MAC_OS]: Don't set
w->update_mode_line if arg F is not the selected frame.
2006-02-19 07:33:40 +00:00
Chong Yidong
da7520dea4 * window.c (window_min_size_1): Ensure room for the scroll bar and
fringes.
2006-02-18 22:17:09 +00:00
Romain Francoise
a9c18b842e (BASE_PURESIZE): Increment to 1200000. 2006-02-17 19:58:17 +00:00
Stefan Monnier
537407f049 (Fmake_symbol): Comment-out left-over assert from before we added BLOCK_INPUTs. 2006-02-17 16:00:35 +00:00
Juanma Barranquero
5bf3610f7c *** empty log message *** 2006-02-17 15:12:43 +00:00
Kenichi Handa
ed0218e288 *** empty log message *** 2006-02-17 12:35:38 +00:00
Jan Djärv
d8d3d48ce8 Fix entry for 2006-02-14 2006-02-15 09:46:01 +00:00
YAMAMOTO Mitsuharu
f036d043ab (set_frame_menubar): Don't call DrawMenuBar. 2006-02-15 08:42:12 +00:00
Richard M. Stallman
9d8f542c7c *** empty log message *** 2006-02-15 01:05:41 +00:00
Richard M. Stallman
885f1975d5 *** empty log message *** 2006-02-14 15:32:55 +00:00
Jan Djärv
26ebccfd1d * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the
value of x-gtk-whole-detached-tool-bar.
 (xg_tool_bar_attach_callback): Set show-arrow to FALSE.

 * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.
2006-02-14 11:35:19 +00:00
Jan Djärv
4d7637b85f Fix address. 2006-02-14 10:04:19 +00:00
Jan Djärv
58118de5e0 * xterm.c (x_x_to_emacs_modifiers): Make non-static.
* xterm.h: Declare x_x_to_emacs_modifiers.

 * gtkutil.c (xg_tool_bar_button_cb): New function.
 (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
 store modifiers in event.
 (update_frame_tool_bar): Connect button-release-event to
 xg_tool_bar_button_cb.
2006-02-14 10:02:23 +00:00
Richard M. Stallman
f8d775e1cd *** empty log message *** 2006-02-13 18:47:24 +00:00
Jan Djärv
0c0351b599 * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). 2006-02-13 11:34:20 +00:00
Richard M. Stallman
4d94dd9a25 (internal_self_insert): Handle weird auto-fill-function. 2006-02-13 02:17:15 +00:00
Eli Zaretskii
c54fb9ef13 *** empty log message *** 2006-02-11 13:56:14 +00:00
Juanma Barranquero
ac6a9b5549 *** empty log message *** 2006-02-11 00:07:16 +00:00
Thien-Thi Nguyen
0ddb0ae836 (Findirect_function): Rewrite docstring.
Fix omission bug: Declare new arg NOERROR.
2006-02-10 22:36:01 +00:00
YAMAMOTO Mitsuharu
cbd488c46a *** empty log message *** 2006-02-10 08:35:43 +00:00
Kim F. Storm
a7f96a358b * data.c (Findirect_function): Add NOERROR arg. All callers changed
to pass Qnil for NOERROR.

* keymap.c (current_minor_maps_error): Remove.
(current_minor_maps): Pass Qt for NOERROR to Findirect_function
instead of using internal_condition_case_1+current_minor_maps_error.
2006-02-10 00:00:31 +00:00
Jan Djärv
1834d8e7d5 * xterm.c (handle_one_xevent): Must note mouse movement even for nil
frames for GTK, in that case it is the tool bar.  This is so that
 highlighted text get reset properly.
2006-02-09 15:56:43 +00:00
Juanma Barranquero
cffc347298 *** empty log message *** 2006-02-09 10:58:39 +00:00
Jan Djärv
e99c752190 * window.c (adjust_window_trailing_edge): Check that shrinking
does not set a window to size zero or less.
2006-02-08 13:39:52 +00:00
Kim F. Storm
e1a67366be *** empty log message *** 2006-02-07 09:22:56 +00:00
Miles Bader
42ab8e36ac Revision: emacs@sv.gnu.org/emacs--devo--0--patch-51
Make constrain-to-field notice overlays

2006-02-08  Miles Bader  <miles@gnu.org>

   * src/editfns.c (Fconstrain_to_field): Use Fget_char_property instead
   of Fget_text_property (other field functions word with overlays as
   well as text-properties).
2006-02-07 09:08:53 +00:00
Kenichi Handa
6a80c3badc (unibyte_display_via_language_environment): Delete
extern.
2006-02-07 08:01:08 +00:00
Kenichi Handa
d2b4c17d26 (append_glyph): Refer to it->char_to_display instead of
it->c.
(produce_glyphs): Set the character to print in
it->char_to_display.  Handle
unibyte-display-via-language-environment.
(produce_stretch_glyph): Set the character to print in
it->char_to_display.
2006-02-07 01:19:06 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Kenichi Handa
8b9d426ab7 (openp): Initialized encoded_fn before GCPRO it. 2006-02-06 12:36:25 +00:00
Ken Raeburn
0cf366568e (malloc, realloc, free) [emacs]: Undefine macros before defining. 2006-02-05 13:45:35 +00:00
Ken Raeburn
98950fd6ba (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: Cast bitfield
value to EMACS_INT, to suppress gcc warning.
2006-02-05 12:21:40 +00:00
Ken Raeburn
d63b401895 (Fconstrain_to_field): Fix int/Lisp_Object mixup. 2006-02-05 12:15:02 +00:00
Kim F. Storm
ad02d7ea94 *** empty log message *** 2006-02-03 13:14:23 +00:00
Kenichi Handa
999a0fe581 (decode_composition_emacs_mule): Fix handling of
incorrect format data.
2006-02-02 12:47:04 +00:00
Jan Djärv
cd7cd4ac23 * gtkutil.c (update_frame_tool_bar): Use new tool bar functions
(gtk_toolbar_insert) so we can have tool bars of different sizes.
2006-01-31 15:31:50 +00:00
Luc Teirlinck
4cf7e99c28 *** empty log message *** 2006-01-30 23:39:36 +00:00
Juanma Barranquero
a3bc032f5c *** empty log message *** 2006-01-30 16:15:20 +00:00
Luc Teirlinck
1f2907eea7 *** empty log message *** 2006-01-28 23:21:34 +00:00
Luc Teirlinck
6badf38c8a *** empty log message *** 2006-01-28 23:15:09 +00:00
Chong Yidong
e2984df0ef * alloc.c (make_interval, allocate_string)
(allocate_string_data, make_float, Fcons, allocate_vectorlike)
	(Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing
	global variables.
2006-01-27 22:14:57 +00:00