1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
Commit graph

20964 commits

Author SHA1 Message Date
Richard M. Stallman
8b0ba111b1 (read_minibuf): Don't use read_minibuf_noninteractive
when inside a keyboard macro.
2006-05-03 23:12:06 +00:00
Andreas Schwab
64ec8b2f3d (restore_menu_items): Return a value. 2006-05-01 22:58:47 +00:00
Stefan Monnier
fcdd458570 (Fforward_comment): Detect generic comment at beginning of
buffer when moving backwards.
2006-05-01 13:09:24 +00:00
Kim F. Storm
5fed8c15b8 *** empty log message *** 2006-05-01 09:38:57 +00:00
YAMAMOTO Mitsuharu
d5085af01f (mac_update_title_bar): Minor format change. 2006-05-01 02:51:38 +00:00
YAMAMOTO Mitsuharu
c1eb34c22c *** empty log message *** 2006-05-01 01:14:30 +00:00
YAMAMOTO Mitsuharu
15ba779363 (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar.
(get_glyph_face_and_encoding, get_char_face_and_encoding): Don't
distinguish known faces from others.
2006-05-01 01:14:09 +00:00
YAMAMOTO Mitsuharu
6dc5c8a75b (unexec): Error if trying unexec from dumped executable. 2006-05-01 01:13:42 +00:00
YAMAMOTO Mitsuharu
a019c41a5c (mac_update_title_bar): Add extern.
(struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'.
(FRAME_FILE_NAME): New macro.
2006-05-01 01:13:29 +00:00
YAMAMOTO Mitsuharu
458dbb8c7a (mac_draw_line, mac_draw_line_to_pixmap): Adjust
endpoints of strictly horizontal/vertical lines.
(mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects.
(pcm_init, pcm_get_status): New functions.
(x_per_char_metric, XLoadQueryFont): Use them instead of
XCharStructRow and related macros.
(x_draw_relief_rect): Don't adjust arguments of mac_draw_line.
(x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME.
(XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag
and window path pop-up menu on title bar.
(mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1.
2006-05-01 01:13:06 +00:00
YAMAMOTO Mitsuharu
b0635670ea (USE_ATSUI): Set default to 1 if MAC_OSX is defined.
(USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1.
(enum pcm_status): New enum.
(XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID)
(XCharStructRow): Remove.  Now validity is represented by
non-negativeness of sum of ascent and descent.
(struct MacFontStruct): Change type of member `rows'.
(struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'.
2006-05-01 01:12:23 +00:00
YAMAMOTO Mitsuharu
caec817144 (mac_update_title_bar): New function.
[TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function.
(show_hourglass, hide_hourglass) [USE_CG_DRAWING]: Call
mac_prepare_for_quickdraw.
2006-05-01 01:11:56 +00:00
YAMAMOTO Mitsuharu
d3601bf266 (mac_coerce_file_name_ptr): Try typeFSRef if coercion
through typeFileURL failed.
2006-05-01 01:11:28 +00:00
YAMAMOTO Mitsuharu
a59871e76d (update_window): Don't set changed_p when mode/header
line is updated.
2006-05-01 01:11:01 +00:00
Richard M. Stallman
9abc5f4519 (Fdefine_key): Improve error message when KEY begins with a non-prefix key. 2006-04-30 22:15:21 +00:00
Stefan Monnier
39c41ad421 (Fforward_comment): Don't forget to break out of the loop
when we skipped backward over a generic comment.
2006-04-30 15:35:54 +00:00
Nick Roberts
5cd35d2cf0 (pp1, pv1): Only print value as expression is now printed out by gud-print.
(pv1): Correct doc string.
2006-04-26 23:02:33 +00:00
Nick Roberts
4a113e3faf *** empty log message *** 2006-04-26 23:01:51 +00:00
Stefan Monnier
e89e07ccac (store_in_keymap): Change def' arg to not be register'.
Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8):
keymap.c:895: error: address of register variable `def' requested.
2006-04-26 20:50:25 +00:00
Jason Rumney
8b03732ee0 (construct_mouse_wheel): Handle negative coordinates. 2006-04-26 18:19:13 +00:00
Jason Rumney
f5f69b6b47 (w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>:
<WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases
where we preempt mouse_button_timer.
2006-04-26 17:54:41 +00:00
Jason Rumney
7d6f8c685e *** empty log message *** 2006-04-26 17:54:06 +00:00
Miles Bader
51d793dabf Revision: emacs@sv.gnu.org/emacs--devo--0--patch-245
(Ffield_beginning, find_field): Undo change of 2006-04-23.

2006-04-25  Miles Bader  <miles@gnu.org>

   * src/editfns.c (Ffield_beginning, find_field): Undo change of 2006-04-23.
2006-04-25 08:18:01 +00:00
Stefan Monnier
a9ec73170e Include headers for pid_t. 2006-04-24 13:10:19 +00:00
Kim F. Storm
4ec9a7e215 Fix last change:
(produce_stretch_glyph): Assume that face box height and width is
already	included in stretch glyph size so caller doesn't have to
consider the extra space otherwise added (fixes problem in ses.el).
2006-04-24 00:22:26 +00:00
Kim F. Storm
6fcd305cf5 *** empty log message *** 2006-04-24 00:21:55 +00:00
Kim F. Storm
536fde8e09 (produce_stretch_glyph): Include face box in stretch glyph size. 2006-04-24 00:08:07 +00:00
Kim F. Storm
e8a0da872a *** empty log message *** 2006-04-24 00:07:47 +00:00
Kim F. Storm
825de9a102 * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which
does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief.
2006-04-23 23:50:25 +00:00
Kim F. Storm
1ada896b7d *** empty log message *** 2006-04-23 23:50:09 +00:00
Kim F. Storm
14922abe03 (tool_bar_lines_needed): New local `temp_row' for clarity.
(tool_bar_lines_needed): Clear it when done, so we don't accidentally
draw a second copy of the tool-bar after resetting f->n_tool_bar_rows.
(redisplay_tool_bar): Update tool-bar-lines frame parameter whenever
we recalculate f->n_tool_bar_rows.
2006-04-23 22:28:17 +00:00
Kim F. Storm
ca03f883c5 (x_set_font): Clear f->n_tool_bar_rows and current frame
matrices to force recalculation of tool-bar height after font change.
2006-04-23 22:26:58 +00:00
Kim F. Storm
e934649479 *** empty log message *** 2006-04-23 22:26:35 +00:00
Romain Francoise
4f261b9951 *** empty log message *** 2006-04-23 08:29:09 +00:00
Lars Hansen
59062dce67 (find_field): Fix comment.
(Ffield_beginning): Fix bug when POS is at field beginning.
2006-04-23 08:14:52 +00:00
Eli Zaretskii
3705332d34 (BASE_PURESIZE): Increase to 1205000. 2006-04-22 10:14:19 +00:00
Kim F. Storm
d95ebe75a0 (redisplay_window): Fix last change. Don't recenter if
window start is at BEGV.
2006-04-21 21:25:20 +00:00
Kim F. Storm
95797ede75 *** empty log message *** 2006-04-21 21:25:09 +00:00
Kim F. Storm
6ac3c7bb02 (four_corners_best): New arg CORNERS specifies what pixels
to look at in case image has margin.
(x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best.
(image_background, image_background_transparent)
(x_build_heuristic_mask): Pass img->corners to four_corners_best.
(gif_load): Set img->corners according to image's margin spec.
Use img->corners values directly where applicable.
Save image extension data in img->data.lisp_val.
(gif_clear_image): New function to free img->data.lisp_val.
(gif_type): Use it instead of generic x_clear_image.
(Fimage_extension_data): New defun.
(syms_of_image): Defsubr it.
2006-04-21 14:07:05 +00:00
Kim F. Storm
7b48cc1354 (struct image): New member `corners'.
(TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros.
2006-04-21 14:06:55 +00:00
Kim F. Storm
cdd2341c84 *** empty log message *** 2006-04-21 14:06:42 +00:00
Eli Zaretskii
72ffd9d017 *** empty log message *** 2006-04-21 12:23:10 +00:00
Eli Zaretskii
9297079e2d (Fdisplay_buffer): Doc fix. 2006-04-21 11:55:17 +00:00
Eli Zaretskii
0d95f6b24c (SYSTEM_PURESIZE_EXTRA): Increase to 25000. 2006-04-21 09:24:43 +00:00
YAMAMOTO Mitsuharu
a0c62ca299 (x_per_char_metric): Return NULL if glyph width is 0.
(add_mac_font_name): New function.
(init_font_name_table): Use it.  Adopt the first found font from
those having the same family name.
2006-04-21 07:57:17 +00:00
YAMAMOTO Mitsuharu
f1d7196a17 (restore_menu_items, save_menu_items): New functions from xmenu.c.
(set_frame_menubar, digest_single_submenu): Apply 2006-04-18
changes for xmenu.c.
2006-04-21 07:56:47 +00:00
YAMAMOTO Mitsuharu
0b8ac84202 [MAC_OS] (xpm_load_image): Fill in background field
while we have ximg handy.
2006-04-21 07:56:33 +00:00
Nick Roberts
9d2edb3739 (note_mouse_highlight): Use build_string. 2006-04-20 23:03:03 +00:00
Nick Roberts
bf49275d6e *** empty log message *** 2006-04-20 23:00:16 +00:00
Lars Hansen
570fab6c29 (PRINTFINISH): Call signal_after_change. 2006-04-20 11:37:44 +00:00