1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
Commit graph

18637 commits

Author SHA1 Message Date
Steven Tamm
bf06c82f4b macfns.c (mac_get_window_bounds): Add extern.
(x_real_positions): Use mac_get_window_bounds.

macmenu.c (update_submenu_strings): Apply 2004-09-07 change for
xmenu.c (YAILOM).

macterm.c [!MAC_OSX]: Include Windows.h.
(front_emacs_window): Rename from mac_front_window.  All uses
changed.  Return the frontmost non-tooltip emacs window.
(mac_get_window_bounds): New function.
(x_calc_absolute_position): Use the difference of width and height
between the inner and outer window.
(x_set_offset): Specify window position by the coordinae of the
outer window.  Adjust the position if the title bar is completely
outside the screen.
(app_is_suspended, app_sleep_time): Remove unused variables.
(do_app_resume, do_app_suspend): Remove their contents because
window-activate/deactivate events will do the job.
(do_zoom_window): Remove unused variables.  Make compliant to the
standard way of zooming.  Set f->left_pos and f->top_pos.
(XTread_socket): Don't use argument `expected'.  Don't use
FrontWindow to determine the clicked window.  Exclude unprocessed
mouseUp cases in the early stage.  Add parentheses to fix operator
precedence.
(XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.
2004-10-06 15:38:53 +00:00
Jan Djärv
4cbbf6b725 * configure.in (HAVE_RANDOM_HEAPSTART): Change AC_MSG_ERROR to
AC_MSG_WARN.
2004-10-06 07:26:14 +00:00
Jan Djärv
d8b43276ce * config.in: Regenerate.
* Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of
HAVE_EXECSHIELD.
2004-10-05 20:26:00 +00:00
Jan Djärv
b90ee8b5fe * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for
a row if Alt or Meta has been found for that row.  Also stop scanning
for Keysyms for that row.
2004-10-05 10:52:53 +00:00
Kim F. Storm
0207b8ad25 *** empty log message *** 2004-10-04 14:13:38 +00:00
Kim F. Storm
d3848fe90d (Ffringe_bitmaps_at_pos): Change return value from cons
to list.  Include overlay arrow bitmap in return value.
2004-10-04 14:13:18 +00:00
Kim F. Storm
13fcb8896e (XTset_vertical_scroll_bar): Improve handling of scroll
bars with fractional column width.  If scroll bar separates two
windows, move it towards the window it belongs to.  Only update
the padding area below the scroll bar widget when necessary,
i.e. when scroll bar widget is created, moved, or resized.
2004-10-04 14:07:06 +00:00
Kim F. Storm
25f7220cc9 *** empty log message *** 2004-10-04 14:06:28 +00:00
Kim F. Storm
b55d59bad9 (x_draw_vertical_border): Do not draw line if frame has scroll bars. 2004-10-04 13:57:31 +00:00
Kim F. Storm
562020fe6f (define_frame_cursor1): Do not change frame cursor
while tracking/dragging mouse.
2004-10-04 13:57:13 +00:00
Kim F. Storm
cb639b8f7c (coordinates_in_window): Relax check for cursor
on vertial border between mode lines.
(Fset_window_fringes): Do not allow negative widths.
(Fset_window_scroll_bars): Likewise.
2004-10-04 13:46:19 +00:00
Kim F. Storm
37e34af710 *** empty log message *** 2004-10-04 13:46:04 +00:00
Kim F. Storm
6c5d0c5224 (pp): Shorthand for p ARG + pr.
(ff): New command: flush frame updates (X only).
2004-10-04 13:34:59 +00:00
Kim F. Storm
904db1a29f *** empty log message *** 2004-10-04 13:34:31 +00:00
Michael Albinus
38fe4f64ed * fileio.c (auto_save_1) Call Ffile_modes for remote files. 2004-10-03 17:40:07 +00:00
Kenichi Handa
07c381ad19 *** empty log message *** 2004-09-29 23:51:34 +00:00
Kenichi Handa
9de36315db (send_process): Be sure to free composition data. 2004-09-29 23:43:48 +00:00
Kenichi Handa
e254e5e586 (Finsert_file_contents): Be sure to free composition data. 2004-09-29 23:41:54 +00:00
Kenichi Handa
ce559e6f5b (code_convert_region): Don't skip ASCIIs if there are compositions to encode.
Free composition data.
(encode_coding_string): Likewise.
2004-09-29 23:40:30 +00:00
Kim F. Storm
0e9e9a2cc4 (fringe_bmp): Change to pointer.
(max_fringe_bmp): New var.
(w32_define_fringe_bitmap): Expand fringe_bmp.
(w32_draw_fringe_bitmap): Check max_fringe_bmp.
(w32_destroy_fringe_bitmap): Likewise.
2004-09-29 14:23:21 +00:00
Kim F. Storm
ad67849eb3 Remove limit on number of bitmaps.
(fringe_bitmaps, fringe_faces): Change to pointers.
(max_fringe_bitmaps): New var.
(Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces.
(init_fringe): Allocate fringe_bitmaps and fringe_faces.
2004-09-29 14:22:25 +00:00
Kim F. Storm
b3b08f03c4 (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps).
(struct glyph_row): Reorder fringe_bitmap related fields.
(struct it): Likewise.
2004-09-29 14:21:45 +00:00
Kim F. Storm
dc5d6435db *** empty log message *** 2004-09-29 14:20:46 +00:00
Kim F. Storm
f2a54fbc7a *** empty log message *** 2004-09-29 12:39:27 +00:00
Kim F. Storm
983f1af9dd (handle_single_display_prop): Use lookup_fringe_bitmap. 2004-09-29 11:58:05 +00:00
Kim F. Storm
4cce0ab79f Simplify last change.
(lookup_fringe_bitmap): New function.
(valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove.
(Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap.
Keep standard bitmaps in Vfringe_bitmaps.
(Fdefine_fringe_bitmap): Use lookup_fringe_bitmap.
(Fset_fringe_bitmap_face): Likewise.
2004-09-29 11:57:48 +00:00
Kim F. Storm
e72d733506 (lookup_fringe_bitmap): Add prototype.
(valid_fringe_bitmap_p): Remove prototype.
2004-09-29 11:57:34 +00:00
Kim F. Storm
f2be4fd018 * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap)
(w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif).
2004-09-29 08:51:40 +00:00
Kim F. Storm
1f2da365a2 *** empty log message *** 2004-09-29 08:51:14 +00:00
Kim F. Storm
841a8bcaef *** empty log message *** 2004-09-28 23:08:43 +00:00
Kim F. Storm
51f5e15d52 (valid_fringe_bitmap_p): Fix prototype. 2004-09-28 23:03:03 +00:00
Kim F. Storm
7a2a85be99 (Vfringe_bitmaps): New variable.
(syms_of_fringe): DEFVAR_LISP it.
(valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p.
Change arg to Lisp_Object and fail if not an integer.
(get_fringe_bitmap_name, resolve_fringe_bitmap)
(destroy_fringe_bitmap): New functions.
(Fdestroy_fringe_bitmap): Change arg to bitmap symbol.  Use
destroy_fringe_bitmap.  Remove symbol from Vfringe_bitmaps and
clear its fringe property.
(init_fringe_bitmap): Use destroy_fringe_bitmap instead of
Fdestroy_fringe_bitmap.
(Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing
bitmap symbol; remove WHICH arg.  Add symbol to Vfringe_bitmaps
and set fringe property.  Signal error if no free slots.
(Fset_fringe_bitmap_face): Change arg to bitmap symbol.
(Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers.
2004-09-28 23:02:53 +00:00
Kim F. Storm
db25ed416c (handle_single_display_prop): Fringe bitmaps are now
symbols with a fringe property.
2004-09-28 23:02:41 +00:00
Kim F. Storm
5797a7a0fc (update_window_fringes): Handle new formats of
indicate-buffer-boundaries (symbol or alist).  No longer
allow a simple cons.
(Ffringe_bitmaps_at_pos): Use nil value for no bitmap.
2004-09-27 13:28:23 +00:00
Kim F. Storm
b222903736 (syms_of_buffer) <indicate-buffer-boundaries>:
Doc fix.  Format may now be a symbol or alist, not a cons.
2004-09-27 13:28:10 +00:00
Kim F. Storm
4d96559091 *** empty log message *** 2004-09-27 13:27:46 +00:00
Jan Djärv
e888c2b318 * config.in: Rebuild. 2004-09-25 20:43:26 +00:00
Kim F. Storm
dd3b1d60a4 Typo. 2004-09-24 09:36:50 +00:00
Jan Djärv
83f1cb949f * config.in: Rebuild.
* Makefile.in: Run setarh i386 ./temacs if exec-shield  is present.
2004-09-24 07:19:05 +00:00
Stefan Monnier
2c51754c78 (x_term_init): Work around a bug in some X servers. 2004-09-18 21:36:02 +00:00
Richard M. Stallman
557ca2c1b4 (syms_of_buffer) <default-major-mode>: Doc fix. 2004-09-18 19:20:53 +00:00
Richard M. Stallman
1b8950e531 Comment change. 2004-09-18 19:18:58 +00:00
Richard M. Stallman
3df5f8aad8 (try_window_reusing_current_matrix):
Handle the case where we reach the old displayed text,
out of sync with the old line boundary.
2004-09-18 14:53:42 +00:00
Stefan Monnier
4b70e2c95f (Finsert_file_contents): Fix case of replacement in a narrowed buffer. 2004-09-15 00:28:04 +00:00
Kim F. Storm
1b0338f794 (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. 2004-09-14 20:53:18 +00:00
Kim F. Storm
a25fe164fd *** empty log message *** 2004-09-14 20:52:55 +00:00
Kim F. Storm
46b00436e7 (Qface_no_inherit): New var.
(syms_of_xfaces): Intern and staticpro it.
(Finternal_make_lisp_face, Finternal_set_lisp_face_attribute)
(Finternal_copy_lisp_face, update_face_from_frame_parameter):
Don't increment face_change_count when face has non-nil
face-no-inherit property.
2004-09-14 20:04:09 +00:00
Kim F. Storm
bfa0256354 *** empty log message *** 2004-09-14 20:03:34 +00:00
Stefan Monnier
892a8eb54c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC.
(Fbyte_code): Remove dead code after `wrong_type_argument'.
2004-09-13 21:13:38 +00:00
Stefan Monnier
126f9c02d4 (Fgarbage_collect): Mark keyboards, gtk data, and specpdl
before doing the mark_stack_check_gcpros since they are not on the stack.
2004-09-13 21:06:31 +00:00