1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-24 08:51:10 -08:00
Commit graph

19171 commits

Author SHA1 Message Date
Stefan Monnier
e01732fa58 (Fcurrent_column): Doc fix. 2005-01-23 22:18:26 +00:00
Kim F. Storm
8f958b40cc *** empty log message *** 2005-01-23 13:31:53 +00:00
Kim F. Storm
5b1ba1e330 * window.c (Fpos_visible_in_window_p): Simplify return value for
partially visible rows.
(window_scroll_pixel_based): Adapt to that change.
2005-01-23 13:13:03 +00:00
Kim F. Storm
6b3d88f70e *** empty log message *** 2005-01-23 13:11:00 +00:00
Kim F. Storm
5c20cae25b *** empty log message *** 2005-01-23 00:53:10 +00:00
Kim F. Storm
78465f3a8c (pos_visible_p): Fix calculation of y.
Clear last_height before calling line_bottom_y to get real height.
2005-01-23 00:50:52 +00:00
Kim F. Storm
bed83ee4dd (window_scroll_pixel_based): Force moving to next line
if scrolling doesn't move start point, e.g. if looking at tall image.
2005-01-23 00:50:24 +00:00
Kim F. Storm
a2962d06de (pos_visible_p): Return 0 if non-interactive. 2005-01-22 23:55:00 +00:00
Kim F. Storm
a354b72c97 *** empty log message *** 2005-01-22 23:54:43 +00:00
Steven Tamm
d9e7c62260 * s/darwin.h: Removed PTY_ITERATION from here.
(DARWIN): Defined.
* process.c (init_process): Default process-connection-type to
	nil on darwin 6 or less, t if it is 7 or higher.  This way the
	broken pty behavior is still allowed on darwin 6 for interactive
	processes for people that know what they are doing.
2005-01-22 15:54:04 +00:00
Kim F. Storm
d00e399ac9 *** empty log message *** 2005-01-22 01:43:55 +00:00
Kim F. Storm
f9e697040d (pos_visible_p): Fix prototype. 2005-01-22 01:41:59 +00:00
Kim F. Storm
e56263e526 (auto_window_vscroll_p): New boolean.
(syms_of_window): DEFVAR_BOOL it.
(Fpos_visible_in_window_p): Extend return value to include RTOP
and RBOT values if FULLY is nil.
(window_scroll_pixel_based): Adjust vscroll for partially visible
rows if auto_window_vscroll_p is set.
(Fset_window_vscroll): Do nothing if vscroll is not modified.
2005-01-22 01:41:47 +00:00
Kim F. Storm
f15f5495d9 (pos_visible_p): Replace FULLY arg by RTOP and RBOT args
to return number of partially invisible pixels at top and bottom
of the dislay row at POS.
2005-01-22 01:41:36 +00:00
Richard M. Stallman
f95a20e78d *** empty log message *** 2005-01-21 20:53:02 +00:00
Richard M. Stallman
7f08b80e33 (Fcopy_file): Doc fix. 2005-01-21 20:51:52 +00:00
Jan Djärv
eee141ce69 * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw.
(xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to
start of function for older compilers.
2005-01-21 05:59:21 +00:00
Richard M. Stallman
6f771c32b0 *** empty log message *** 2005-01-21 00:33:07 +00:00
Richard M. Stallman
674a954a1d (Fmessage): If arg is "", return "" (as before). 2005-01-21 00:32:36 +00:00
Richard M. Stallman
7f3e88596f (access_keymap): Protect from bad value of meta_prefix_char. 2005-01-21 00:31:40 +00:00
Richard M. Stallman
0e73312bed (xgetptr, xgetint, xgettype): Copy $arg0 into a temp variable. 2005-01-21 00:30:56 +00:00
Steven Tamm
a15252fdfb * editfns.c (Voperating_system_release): Added.
(init_editfns): Assign new variable operating-system-release
	based on call to uname if available.
	(get_operating_system_release): Added function to
	allow c-level access to operating system release.
* config.h: Regenerated.
* s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or
	less.
	(MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for
	using ptys as '7'.
* term/mac-win.el (process-connection-type): Removed.
	Controlled now by s/darwin.h:PTY_ITERATION.
2005-01-20 18:13:48 +00:00
Kim F. Storm
b059de99a9 (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. 2005-01-20 15:37:41 +00:00
Kim F. Storm
62fc9b0f7d *** empty log message *** 2005-01-20 15:37:13 +00:00
Kim F. Storm
82ead4b142 (x_draw_glyph_string_box): Fix last_x for full width rows. 2005-01-20 15:23:22 +00:00
Kim F. Storm
c310aca4a7 *** empty log message *** 2005-01-20 15:21:45 +00:00
Kim F. Storm
8fd7aa51de (Fvertical_motion): Temporarily disable selective display. 2005-01-19 23:17:00 +00:00
Kim F. Storm
3d6a4b2d44 *** empty log message *** 2005-01-19 23:16:39 +00:00
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