Commit graph

22393 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
7eb0d72732 (struct scroll_bar): Rename member control_handle_low
and control_handle_high to control_ref_low and control_ref_high.
All uses changed.
(SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from
SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE,
respectively.  All uses changed.
(XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground)
(install_window_handler, remove_window_handler): Replace WindowPtr
with WindowRef in externs.
2007-06-06 08:33:32 +00:00
YAMAMOTO Mitsuharu
3354caee46 Replace MenuHandle and GetMenuHandle with MenuRef and
GetMenuRef, respectively.  Replace WindowPtr with WindowRef.
Replace ControlHandle with ControlRef.
(USE_CARBON_EVENTS): Remove.  Use TARGET_API_MAC_CARBON instead.
[MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'.
2007-06-06 08:33:15 +00:00
YAMAMOTO Mitsuharu
477f75a567 Replace MenuHandle and GetMenuHandle with MenuRef and
GetMenuRef, respectively.  Replace WindowPtr with WindowRef.
Replace ControlHandle with ControlRef.
(install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU.
2007-06-06 08:33:01 +00:00
YAMAMOTO Mitsuharu
1c2c66d5d4 Replace WindowPtr with WindowRef. 2007-06-06 08:32:23 +00:00
YAMAMOTO Mitsuharu
17eba9d2ca (mac_window): Replace WindowPtr with WindowRef. 2007-06-06 08:32:15 +00:00
Juanma Barranquero
65fddb7472 (Finternal_lisp_face_p): Signal error for face alias loops. 2007-06-05 10:06:19 +00:00
Nick Roberts
67f6e31c6e (Fmouse_position, Fmouse_pixel_position):
Condition on HAVE_GPM too.
2007-06-03 01:03:22 +00:00
Nick Roberts
e416374c96 (discard_mouse_events): Add GPM_CLICK_EVENT case. 2007-06-03 00:57:11 +00:00
Nick Roberts
80fb2ce07c (term_mouse_highlight): Remove unused variables.
(Fterm_open_connection): Set gpm_zerobased to 1.
(term_mouse_movement, term_mouse_click, handle_one_term_event):
Use zero based co-ordinates.
(handle_one_term_event): Report a drag as mouse movement too.
2007-06-03 00:55:34 +00:00
Nick Roberts
db1213a993 *** empty log message *** 2007-06-03 00:54:02 +00:00
Nick Roberts
dd7c59638b (MOUSE_SUPPORT): Define for HAVE_GPM. 2007-06-03 00:41:36 +00:00
Chong Yidong
d3c35d1703 (search_image_cache): New function. Require background
color match if background color is unspecified in the image spec.
(uncache_image, lookup_image): Use it.
2007-06-03 00:23:33 +00:00
Chong Yidong
d94df25b2d * image.c (search_image_cache): New function. Require background
color match if background color is unspecified in the image spec.
(uncache_image, lookup_image): Use it.
2007-06-03 00:21:56 +00:00
Juanma Barranquero
1ae8d75965 *** empty log message *** 2007-06-01 11:49:54 +00:00
Juanma Barranquero
59d8a9dcfb *** empty log message *** 2007-06-01 11:16:03 +00:00
Juanma Barranquero
4797b6d98a (Fshrink_window): Reflow docstring. 2007-06-01 11:00:57 +00:00
Chong Yidong
c2915ced35 (x_set_name_internal): Save encoded name before x_encode_text in case
string data is relocated.
2007-06-01 04:00:27 +00:00
Chong Yidong
3d512e46b5 * xfns.c (x_set_name_internal): Save encoded name before
x_encode_text in case string data is relocated.
2007-06-01 04:00:14 +00:00
Nick Roberts
5d3e6dc246 *** empty log message *** 2007-06-01 00:17:08 +00:00
Richard M. Stallman
5faa03baf4 Whitespace fix. 2007-05-30 19:28:11 +00:00
Nick Roberts
57669cf1d3 (init_sys_modes): Add rather than replace with
O_NONBLOCK.
2007-05-30 05:24:18 +00:00
Nick Roberts
b2d1ffb195 (term_mouse_moveto): New extern. 2007-05-30 05:22:46 +00:00
Nick Roberts
4d1d51d279 (Fset_mouse_pixel_position): Add call to
term_mouse_moveto.
2007-05-30 05:21:19 +00:00
Nick Roberts
94da14a02d (mouse_face_window): Rename...
(Qmouse_face_window): ...to this.
(term_show_mouse_face, term_clear_mouse_face)
(term_mouse_highlight): Use Qmouse_face_window.
(term_mouse_moveto): New function.
(term_mouse_position): Make it work.
(syms_of_term): Uncomment assignment to mouse_position_hook.
Staticpro Qmouse_face_window.
2007-05-30 05:19:55 +00:00
Miles Bader
c07318f44a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 29-32)

   - Update from CVS

2007-05-29  Martin Rudalics  <rudalics@gmx.at>

   * lisp/textmodes/table.el (table--point-entered-cell-function)
   (table--point-left-cell-function): Bind
   `inhibit-point-motion-hooks' to t.

2007-05-28  Chong Yidong  <cyd@stupidchicken.com>

   * lisp/textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.

2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)

   * lisp/log-edit.el (log-edit-changelog-paragraph): Return point-max
   as the end of the ChangeLog paragraph when it ends without a line
   termination.

2007-05-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
   around current_column call.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-778
2007-05-29 23:19:43 +00:00
YAMAMOTO Mitsuharu
4bde4d4f3d (redisplay_internal): Bind inhibit-point-motion-hooks to t
around current_column call.
2007-05-28 03:01:26 +00:00
Dan Nicolaescu
3b8c0c70a7 * xfaces.c (syms_of_xfaces): Delete stray semicolon.
* xdisp.c (next_element_from_buffer):
* window.c (delete_window):
* term.c (term_mouse_highlight):
* msdos.c (getdefdir):
* macterm.c (mac_create_bitmap_from_bitmap_data)
(init_font_name_table):
* fns.c (Fsxhash):
* data.c (Fmake_local_variable):
* ccl.c (ccl_driver): Likewise.
2007-05-26 17:21:14 +00:00
Miles Bader
5dfdf72f7a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 25)

   - Update from CVS

2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * mac/INSTALL: Add note about moving self-contained application bundle
   to non-ASCII directory.

2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
   Call mac_wakeup_from_rne on window size change.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-770
2007-05-25 02:38:05 +00:00
Chong Yidong
91be6b6665 (uncache_image): Fix typo. 2007-05-25 02:02:25 +00:00
Chong Yidong
f0f80eb7bb * image.c (uncache_image): Fix typo. 2007-05-25 02:02:18 +00:00
Chong Yidong
f4fae9a093 (redisplay_window): If first window line is a continuation line,
recompute the new window start instead of recentering.
2007-05-24 23:21:32 +00:00
Chong Yidong
ef92b69b3d * xdisp.c (redisplay_window): If first window line is a continuation
line, recompute the new window start instead of recentering.
2007-05-24 23:21:23 +00:00
Miles Bader
274cb4e46d Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 24)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-767
2007-05-24 06:25:50 +00:00
YAMAMOTO Mitsuharu
3654a2c34d *** empty log message *** 2007-05-24 03:17:22 +00:00
YAMAMOTO Mitsuharu
ea98d5a39a [USE_CARBON_EVENTS] (mac_handle_window_event):
Call mac_wakeup_from_rne on window size change.
2007-05-24 03:17:02 +00:00
Nick Roberts
bdb1e01d98 (make_lispy_movement): Condition on HAVE_GPM too. 2007-05-23 21:42:10 +00:00
Nick Roberts
ff7cd3aa8f *** empty log message *** 2007-05-23 21:40:20 +00:00
Kenichi Handa
662b4cfce3 (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. 2007-05-22 12:04:59 +00:00
Richard M. Stallman
f7fa495019 (x_connection_closed): Remove NO_RETURN. 2007-05-22 08:29:09 +00:00
Richard M. Stallman
c81036c677 (x_connection_closed): Remove NO_RETURN. 2007-05-22 08:28:46 +00:00
Chong Yidong
483e7ae0fa (uncache_image): New function.
(Fimage_refresh): New function.
2007-05-21 23:03:49 +00:00
Chong Yidong
62b0f126e0 * image.c (uncache_image): New function.
(Fimage_refresh): New function.
2007-05-21 23:03:40 +00:00
Jan Djärv
26114bc08f Move GPM check outside HAVE_X_WINDOWS. 2007-05-20 13:20:25 +00:00
Nick Roberts
7e5a23bd93 Use HAVE_GPM instead of HAVE_GPM_H. 2007-05-20 05:13:28 +00:00
Nick Roberts
a8099827a4 *** empty log message *** 2007-05-20 05:07:36 +00:00
Nick Roberts
b8e3b6ce4e (make_lispy_event): Make case GPM_CLICK_EVENT
conditional on [HAVE_GPM_H].
2007-05-20 03:51:31 +00:00
Nick Roberts
59ffc604f6 *** empty log message *** 2007-05-20 03:49:33 +00:00
Miles Bader
7d5f6be179 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 20-21)

   - Update from CVS

2007-05-18  Richard M. Stallman  <rms@gnu.org>

   * lisp/simple.el (push-mark): Doc fix.

2007-05-18  Rob Riepel  <riepel@Stanford.EDU>

   * lisp/emulation/tpu-edt.el (CSI-map, SS3-map) Moved from global-map to
   tpu-global-map.
   (tpu-original-global-map) Variable deleted.
   (tpu-control-keys-map) New keymap variable.
   (tpu-set-control-keys) Use tpu-reset-control-keys rather than
   setting keymapping directly.
   (tpu-reset-control-keys) Use tpu-control-keys-map instead of
   tpu-global-map.
   (tpu-edt-on): Activate the tpu-global-map.
   (tpu-edt-off): Deactivate the tpu-global-map.

2007-05-18  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/textmodes/ispell.el (ispell-get-word): Return markers
   for start and end positions.
   (ispell-word): Assume END is a marker.

2007-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

   * src/syntax.c (skip_chars): Update syntax-table only after we checked that
   the new location is valid.

2007-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
   mac_get_window_bounds.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-759
2007-05-20 03:12:22 +00:00
Nick Roberts
a7c03edb93 * src/configure.in (AC_CHECK_HEADERS) Add gpm.h.
(AC_CHECK_LIB): Add -lgpm.
* config.in Regenerate.
2007-05-20 02:51:25 +00:00
Nick Roberts
db8448d2bd (LIBGPM): Allow it to be set from configure.
If set then link Emacs with it.
2007-05-20 02:49:03 +00:00