1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 05:52:42 -08:00
Commit graph

19143 commits

Author SHA1 Message Date
Steven Tamm
3bb9abc888 * editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release
	based on call to uname if available.
* config.h: Regenerated.
2005-01-19 19:09:42 +00:00
Kim F. Storm
9c25f170b6 (note_mode_line_or_margin_highlight): Fix :pointer
image property.
2005-01-19 10:05:28 +00:00
Kim F. Storm
77db5cf358 *** empty log message *** 2005-01-19 10:05:04 +00:00
Kim F. Storm
d278cde036 (sweep_weak_table): Advance prev pointer when we keep a pair. 2005-01-19 00:08:30 +00:00
Kim F. Storm
27c8be4585 *** empty log message *** 2005-01-19 00:08:10 +00:00
Stefan Monnier
adeeafe5d2 (syms_of_emacs): Improve docstring of `system-type'. 2005-01-18 18:34:10 +00:00
Kim F. Storm
a348a963d3 Fix last change. 2005-01-18 12:41:55 +00:00
Kim F. Storm
c6576d9d7a (fast_find_position): Backtrack to find first row if
charpos is inside a display overlay that spans multiple lines.
2005-01-18 12:39:51 +00:00
Kim F. Storm
81f498dcef *** empty log message *** 2005-01-18 12:39:33 +00:00
Kenichi Handa
1cdb070738 *** empty log message *** 2005-01-18 00:14:18 +00:00
Kim F. Storm
6512b56dff (back_to_previous_visible_line_start): Undo 2004-12-28
change.  If handle_display_prop indicates newline is replaced by
image or text, move back to start of relevant overlay or interval
and continue scan from there.  Simplify.
2005-01-18 00:13:24 +00:00
Kim F. Storm
677159ce53 *** empty log message *** 2005-01-18 00:13:00 +00:00
Kenichi Handa
2d4430a8eb (decode_coding_iso2022): Translate invalid codes if
translation-table is specified.
2005-01-18 00:11:43 +00:00
Kim F. Storm
cfde341f3b (mode_line_string, marginal_area_string): Fix
off-by-one error in search for glyph.
2005-01-17 08:28:28 +00:00
Kim F. Storm
977284ccb1 *** empty log message *** 2005-01-17 08:28:01 +00:00
Kim F. Storm
e24531b776 (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. 2005-01-16 19:18:31 +00:00
Steven Tamm
5ddd7664e9 * macterm.c (mac_to_x_fontname): Removed spurious argument. 2005-01-16 17:52:09 +00:00
Andreas Schwab
fc2ff44b47 (mac_draw_string_common): Fix compilation on OSX 10.1. 2005-01-16 16:18:12 +00:00
Jan Djärv
50af5100a6 * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning
fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *.
2005-01-16 09:59:03 +00:00
Jan Djärv
a2d5fca044 * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW)
(READABLE_EVENTS_FILTER_EVENTS)
(READABLE_EVENTS_IGNORE_SQUEEZABLES): New flags for readable_events.
get_filtered_input_pending, readable_filtered_events): Removed.
(tracking_off): Call readable_events and get_input_pending with
flag READABLE_EVENTS_DO_TIMERS_NOW.
(readable_events): Move code from old readable_filtered_events here,
but check new READABLE_EVENTS_* in argument flags instead of previous
two boolean arguments do_timers_now and filter_events.
If we are doing mouse tracking and the mouse moved, return only if
READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags.
(swallow_events): Call get_input_pending with flag
READABLE_EVENTS_DO_TIMERS_NOW.
(get_input_pending): Move code from old   get_filtered_input_pending
here.  Replace boolean arguments do_timers_now, filter_events with
flags, and pass flags to readable_events.  Document new
READABLE_EVENTS_* flags.
(detect_input_pending_ignore_squeezables): New function.
(detect_input_pending_run_timers): Call get_input_pending with flag
READABLE_EVENTS_DO_TIMERS_NOW.
(Finput_pending_p): Call get_input_pending with flags
READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS.

* dispnew.c (update_window, update_frame_1): Replace calls to
detect_input_pending with detect_input_pending_ignore_squeezables
so that redisplay is not paused if the event queue contains only
mouse movements.

* lisp.h: Declare detect_input_pending_ignore_squeezables.
2005-01-16 09:17:02 +00:00
Steven Tamm
0530c67988 Changed name from mac-use-core-graphics to mac-allow-anti-aliasing 2005-01-16 00:39:04 +00:00
Steven Tamm
743d069681 * macterm.c (Vmac_use_core_graphics): defined
(syms_of_macterm): Added mac-use-core-graphics
	(mac_draw_string_common): Use core graphics text rendering if
	mac-use-core-graphics is enabled.
2005-01-16 00:31:53 +00:00
Steven Tamm
42afbcda13 * macfns.c (Fx_file_dialog): Save As dialog includes only the
file name in the text box.
2005-01-16 00:17:25 +00:00
Steven Tamm
9cdd488421 * macfns.c (x_set_foreground_color, x_set_background_color): Sync
with xfns.c.
	(mac_window, x_create_tip_frame): Use XSetWindowBackground.
* macterm.c (XSetBackground, XSetWindowBackground): New functions.
* macterm.h (XSetBackground, XSetWindowBackground): Add externs.
2005-01-16 00:10:18 +00:00
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