1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

19119 commits

Author SHA1 Message Date
Kim F. Storm
88948d55b1 *** empty log message *** 2005-01-14 12:15:17 +00:00
Kim F. Storm
a25f766aa3 (Fposn_at_x_y): Add optional arg WHOLE. 2005-01-14 12:11:15 +00:00
Richard M. Stallman
20d6de8252 *** empty log message *** 2005-01-13 20:10:26 +00:00
Richard M. Stallman
d64cdc5972 (Fcurrent_active_maps): Ignore Voverriding_local_map
if Voverriding_terminal_local_map is non-nil.
2005-01-13 19:49:53 +00:00
Richard M. Stallman
5a45dd33e3 (syms_of_keyboard): Doc fix. 2005-01-13 19:43:09 +00:00
Kim F. Storm
f75a592e8a *** empty log message *** 2005-01-13 09:39:09 +00:00
Kim F. Storm
8d3ef98911 (Fformat_mode_line): Fix last change. Remove NO_PROPS arg
(specify 0 for FACE instead). Reorder arg list.  Doc fix.
2005-01-13 09:36:01 +00:00
Richard M. Stallman
28f94a3454 *** empty log message *** 2005-01-12 05:14:15 +00:00
Richard M. Stallman
43facb7653 (Fformat_mode_line): New arg FACE specifies a default
face property for characters that don't specify one.
2005-01-12 05:06:46 +00:00
Richard M. Stallman
5ba8f83ded (Frequire): Record in load-history unconditionally. 2005-01-12 05:03:22 +00:00
Kim F. Storm
dc91a0ed80 (merge_faces): Rename from merge_into_realized_face.
Callers changed.
Add support to merge with lisp face id too (if face_name is t).
2005-01-10 13:35:11 +00:00
Kim F. Storm
539f121767 (get_next_display_element, next_element_from_display_vector):
Don't lookup lface_id from display table glyphs here; instead use
merge_faces to merge the lisp face id into current face.
2005-01-10 13:34:53 +00:00
Kim F. Storm
a2858aae1c (merge_faces): Rename from merge_into_realized_face. 2005-01-10 13:30:46 +00:00
Kim F. Storm
57a230b140 *** empty log message *** 2005-01-10 13:29:50 +00:00
Stefan Monnier
1481127614 Minor touch up. 2005-01-09 22:13:11 +00:00
Kim F. Storm
f6d3493798 Fix last change -- initialize Vshow_nonbreak_escape instead of
Vshow_trailing_whitespace.
2005-01-09 18:03:01 +00:00
Kim F. Storm
8ab2c119c2 *** empty log message *** 2005-01-09 02:12:43 +00:00
Kim F. Storm
fe1c200654 (Vshow_nonbreak_escape): New lisp var.
(syms_of_xdisp): DEFVAR_LISP it.
(escape_glyph_face): Remove var.
(redisplay_window): Don't initialize it.
(setup_for_ellipsis, get_next_display_element):
Set it->dpvec_face_id to -1.
(get_next_display_element): Test Vshow_nonbreak_escape.
Do not setup escape_glyph_face.
Properly merge escape-glyph face or face from display table with
current face for escape and control characters.  Set
it->dpvec_face_id to relevant face id instead of adding it to each
element of display vector.
(next_element_from_display_vector): If it->dpvec_face_id is set,
use that instead of lface_id from glyph itself.
2005-01-09 02:05:41 +00:00
Kim F. Storm
fd998c7f54 (merge_into_realized_face): New function. Used to
merge escape-glyph face or face from display table into current	face.
2005-01-09 02:05:20 +00:00
Kim F. Storm
888ca1e7e2 (struct it): New member dpvec_face_id.
(merge_into_realized_face): Add prototype.
2005-01-09 02:05:04 +00:00
Jan Djärv
e091085739 * xterm.h (struct x_output): New member, toolbar_detached.
* gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to
38.
(xg_tool_bar_detach_callback): Set toolbar_detached to 1.
(xg_tool_bar_attach_callback): Set toolbar_detached to 0.
(xg_create_tool_bar): Initialize toolbar_detached.
(update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if
toolbar_detached is zero.
2005-01-08 16:49:14 +00:00
Jan Djärv
9b85e63d34 * xmenu.c (create_and_show_popup_menu): Pass zero as button to
gtk_menu_popup if not for_click, so callbacks for the menu are called.
2005-01-07 20:50:46 +00:00
Jan Djärv
ff59904afe * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar)
(xg_tool_bar_callback, xg_tool_bar_help_callback)
(update_frame_tool_bar): Cast to EMACS_INT to avoid compiler
warning.

* xselect.c (x_get_foreign_selection, x_fill_property_data)
(Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with
XFLOAT_DATA to get extract number from Lisp object.
2005-01-07 16:59:57 +00:00
Kim F. Storm
60227bf44e (set_iterator_to_next): Fix 2004-12-13 change.
Set stop_charpos to current charpos instead of 0.
2005-01-07 13:13:05 +00:00
Kim F. Storm
f9a23a6f5b *** empty log message *** 2005-01-07 13:12:32 +00:00
Steven Tamm
a6fffcdcb7 * macterm.c (XLoadQueryFont): Correctly handle 0 size
font widths that are returned from some Japanese fonts.
2005-01-07 07:11:24 +00:00
Kim F. Storm
49ce2dbd86 (fringe_faces): Change to Lisp_Object pointer.
(draw_fringe_bitmap_1): Lookup user defined fringe faces here.
(destroy_fringe_bitmap): Set fringe_faces element to nil.
(Fdefine_fringe_bitmap, init_fringe): Change allocation of
fringe_faces array and init elements to nil.
(Fset_fringe_bitmap_face): Set fringe_faces to face name instead of
non-persistent face id.
(mark_fringe_data): New function for GC.
2005-01-06 22:03:00 +00:00
Kim F. Storm
454d797353 (mark_fringe_data): Declare extern.
(Fgarbage_collect): Call mark_fringe_data.

(overrun_check_free): Invalidate freed memory if
XMALLOC_CLEAR_FREE_MEMORY is defined.
2005-01-06 22:02:32 +00:00
Kim F. Storm
c35b0c6bc3 *** empty log message *** 2005-01-06 22:01:38 +00:00
Richard M. Stallman
8a6fd2a78d (Fformat_mode_line): First arg now required. 2005-01-06 17:47:18 +00:00
Steven Tamm
e0e76ab914 * macfns.c: Include sys/param.h.
[TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration
	and function.
	[TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
	of filename string.  Set event callback function when creating
	dialog boxes.  Add code conversions for filenames.  Don't dispose
	apple event descriptor record if failed to create it.
* macterm.c: Include sys/param.h.
	[USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
	kEventWindowUpdate.
	(install_window_handler) [USE_CARBON_EVENTS]: Register it.
	(do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead
	of FSSpec from apple event descriptor record.
	(do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for
	size of filename string.
	[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.
	[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a
	file dialog is in action.
	[TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise.  Reject
	only when there are no filename items.  Set background color
	before (un)highlighting the window below the dragged items.
	(XTread_socket) [!USE_CARBON_EVENTS]: Don't call do_window_update.
2005-01-06 02:53:39 +00:00
Kenichi Handa
043bc640a7 *** empty log message *** 2005-01-06 00:58:07 +00:00
Kenichi Handa
fd4a9f8fae (encode_terminal_code): Fix buffer size computation. 2005-01-06 00:47:50 +00:00
Richard M. Stallman
dd496df6bc *** empty log message *** 2005-01-05 00:09:40 +00:00
Richard M. Stallman
721d04ba97 (Fformat_mode_line): Doc fix. 2005-01-05 00:09:29 +00:00
Stefan Monnier
026cdede85 (refill_memory_reserve): Move.
(emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc)
(reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define.
2005-01-04 20:22:41 +00:00
Richard M. Stallman
d57c7572e8 *** empty log message *** 2005-01-04 03:00:45 +00:00
Richard M. Stallman
fa3c342659 (window_scroll_pixel_based): Don't correct preserve_y
for CURRENT_HEADER_LINE_HEIGHT when moving backwards.
2005-01-04 03:00:21 +00:00
Kenichi Handa
d8ca23a0de *** empty log message *** 2005-01-04 00:49:57 +00:00
Jason Rumney
b14f868ca5 *** empty log message *** 2005-01-04 00:44:02 +00:00
Jason Rumney
ad5674f5a1 (w32_load_system_font): Set FONT_WIDTH to maximum, not
average width. Set fontp->average_width and fontp->space_width to
their appropriate values.
2005-01-03 22:53:30 +00:00
Jason Rumney
3aefd49fb9 (x_new_font): Set FRAME_COLUMN_WIDTH to fontp->average_width,
not FONT_WIDTH.  Set FRAME_SPACE_WIDTH to fontp->space_width.
2005-01-03 22:52:51 +00:00
Jason Rumney
a4d75ad7ce (w32_load_bdf_font): Set fontp->average_width and
fontp->space_width to FONT_WIDTH so they are valid.
2005-01-03 22:52:01 +00:00
Steven Tamm
e169f939a5 * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH.
(x_font_min_bounds, XLoadQueryFont): Use the correct font width
	metrics for max and min bounds.
	(x_load_font): Correctly calculate average font width metrics.
2005-01-03 16:49:35 +00:00
Richard M. Stallman
19996af44a *** empty log message *** 2005-01-02 23:46:12 +00:00
Richard M. Stallman
303b041210 (Fgarbage_collect): Don't truncate_undo_list on dead buffers. 2005-01-02 22:52:23 +00:00
Richard M. Stallman
b437860aad (struct it): New element ellipsis_p.
(struct glyph_row): New element ends_in_ellipsis_p.
2005-01-01 01:36:48 +00:00
Richard M. Stallman
f323e507d0 (setup_for_ellipsis, get_next_display_element):
Set it->ellipsis_p to 1 or 0.
(display_line): Record whether row ends in mid-ellipsis.
(set_cursor_from_row): If ends in ellipsis. find start of it.
(cursor_row_p): If PT's at the end of the ellipsis the row
ends within, don't display cursor on this row.

(BUFFER_POS_REACHED_P): We haven't reached the specified
position if we're reading from something other than the buffer.
2005-01-01 01:34:22 +00:00
Jan Djärv
42d02da077 * xterm.c (handle_one_xevent): Clear area in expose event for GTK. 2004-12-31 18:16:10 +00:00
Richard M. Stallman
1db7dd46a1 *** empty log message *** 2004-12-31 15:21:56 +00:00