1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

21958 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
5d348d3ff0 (FONT_MAX_WIDTH): Remove unused macro.
(XCreateGC): Change type in extern.
(XDrawLine): Rename from mac_draw_line_to_pixmap.
(mac_quit_char_key_p) [MAC_OSX]: Add extern.
2007-01-09 08:54:23 +00:00
YAMAMOTO Mitsuharu
a84cad70cc (XDrawLine): Rename from mac_draw_line_to_pixmap.
(XCreateGC): Change type of 2nd argument to void *.
(XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Fix last change.
(mac_to_emacs_modifiers): Change return type to int.
[USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
(mac_mapped_modifiers): New function.
(XTread_socket): Use it.
[USE_TSM] (mac_handle_text_input_event): Likewise.
(do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
(mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: Remove
variables.
(mac_determine_quit_char_modifiers, init_quit_char_handler)
[MAC_OSX]: Remove functions.
(make_ctrl_char) [MAC_OSX]: Add extern.
(mac_quit_char_key_p) [MAC_OSX]: New function.
(mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.
2007-01-09 08:53:59 +00:00
YAMAMOTO Mitsuharu
7dcebea43a (mac_dialog_modal_filter) [MAC_OSX]: New function.
(Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): Use
mac_quit_char_key_p.
2007-01-09 08:53:48 +00:00
YAMAMOTO Mitsuharu
b0b2caf8cf (Display): Typedef to opaque type. 2007-01-09 08:53:41 +00:00
YAMAMOTO Mitsuharu
ae8279db78 (XDrawLine) [MAC_OS]: Remove macro.
(XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
(x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
XCreateGC_pixmap.
2007-01-09 08:53:34 +00:00
YAMAMOTO Mitsuharu
d277f1f71e (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
around mkstemp.
2007-01-09 08:53:26 +00:00
Jan Djärv
4c1803901d (init_keyboard): Initialize interrupt_input_blocked and
interrupt_input_pending.
2007-01-08 17:58:38 +00:00
Jan Djärv
287110f561 (x_display_info): New: net_supported_atoms,
nr_net_supported_atoms and net_supported_window.
2007-01-08 17:56:53 +00:00
Jan Djärv
1c8591d04c New variable last_user_time.
(handle_one_xevent): Set last_user_time from events that have Time.
Set net_supported_window to 0 when reparented.
(wm_supports): New function.
(do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
(x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
and net_supported_window.
2007-01-08 17:56:31 +00:00
Kim F. Storm
9e313cc122 (Fvertical_motion): Fix IT overshoot check for overlay
strings without embedded newlines immediately followed by newline.
2007-01-05 15:00:45 +00:00
Kim F. Storm
5be7098123 *** empty log message *** 2007-01-05 15:00:17 +00:00
YAMAMOTO Mitsuharu
1675bac73f (MAC_EMACS_CREATOR_CODE): New enumerator. 2007-01-05 08:30:33 +00:00
YAMAMOTO Mitsuharu
e2d3b7e128 (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
(CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
(CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
(CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
(CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
(mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
(mac_cg_color_black) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
(init_cg_color) [USE_CG_DRAWING]: New function.
(mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
(mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
(mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
(mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
(XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color	and/or
gc->cg_back_color.
(install_drag_handler, remove_drag_handler): Make extern.
(install_menu_target_item_handler): Add extern.
(install_window_handler): Call install_menu_target_item_handler.
[MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
(mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.
2007-01-05 08:30:14 +00:00
YAMAMOTO Mitsuharu
0aea47c1ee (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
(restore_show_help_function, menu_target_item_handler)
[TARGET_API_MAC_CARBON]: New functions.
(install_menu_target_item_handler): New function.
(add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
item property.
2007-01-05 08:30:05 +00:00
YAMAMOTO Mitsuharu
3bfd2d4690 (struct _XGC) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
and cg_back_color.
2007-01-05 08:29:59 +00:00
YAMAMOTO Mitsuharu
31cfeedea9 (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
instead of 'EMAx'.
[!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.
2007-01-05 08:29:51 +00:00
YAMAMOTO Mitsuharu
bcda42c8fd (Fformat_time_string, Fdecode_time, Fencode_time)
(Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
gmtime/localtime/emacs_memftimeu/mktime.
2007-01-05 08:29:41 +00:00
Juanma Barranquero
4c9564e82d (Fwindow_end): Fix use of >= operator. 2007-01-04 00:19:11 +00:00
Richard M. Stallman
c3295e7b63 *** empty log message *** 2007-01-03 23:47:14 +00:00
Richard M. Stallman
dfc265a31f (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. 2007-01-03 23:28:08 +00:00
Richard M. Stallman
4bafae499a Whitespace change. 2007-01-02 21:03:49 +00:00
Jan Djärv
9c6612b923 (xg_menu_item_cb_data_): Remove highlight_id and
unhighlight_id.
2007-01-02 16:50:01 +00:00
Jan Djärv
665c8f1cb8 (menuitem_highlight_callback): Invoked widget is the
parent of the menu item.  Get menu item widget from event.
(xg_create_one_menuitem, xg_update_menu_item): highlight_id and
unhighlight_id has been removed.
(create_menus): Connect enter/leave-notify-event to the menu instead
of individual items.
2007-01-02 16:49:49 +00:00
Jan Djärv
0c5e9b06e8 *** empty log message *** 2007-01-02 16:48:35 +00:00
Jan Djärv
1e0fe298c2 (update_frame_tool_bar): Connect create-menu-proxy with
xg_tool_bar_menu_proxy.
(xg_tool_bar_menu_proxy): New function.
(xg_tool_bar_proxy_callback): New function.
2006-12-31 18:31:49 +00:00
Jan Djärv
6e1440e616 (xg_tool_bar_button_cb): Save last modifier on widget.
(xg_tool_bar_callback): Remove check for button.
(update_frame_tool_bar): Put an event box in the tool bar and a button
in the event box.  Attach enter/leave-notify-event to the event box.
2006-12-30 19:58:04 +00:00
Richard M. Stallman
dced1a739f *** empty log message *** 2006-12-30 06:29:19 +00:00
Richard M. Stallman
b23916e76b (Fdefine_key): Doc fix. 2006-12-30 06:25:06 +00:00
Kim F. Storm
d689ee257c (auto_resize_tool_bars_p): Replace with ...
(Vauto_resize_tool_bars): ... this.
(syms_of_xdisp): DEFVAR_LISP and initialize it.  Update doc string
to describe new value `grow-only', and use of C-l.
(display_tool_bar_line): Only use default face for border below
toolbar if not grow-only (to get acceptable visual appearence).
Explicitly set visible_height for empty toolbar lines.
(redisplay_tool_bar): Handle `grow-only' setting.  Check and clear
minimize_tool_bar_window_p flag.
2006-12-29 23:29:45 +00:00
Kim F. Storm
7d1d98ee4b (Frecenter): Set minimize_tool_bar_window_p flag
when called without arg to redraw with minimum toolbar height.
Update doc string.
2006-12-29 23:29:27 +00:00
Kim F. Storm
6d7944e02b (struct frame): New member minimize_tool_bar_window_p. 2006-12-29 23:29:20 +00:00
Kim F. Storm
05a699b664 *** empty log message *** 2006-12-29 23:29:11 +00:00
Eli Zaretskii
40c419242f Fix last log entry. 2006-12-29 19:45:55 +00:00
Jason Rumney
2db771b7af *** empty log message *** 2006-12-29 16:48:21 +00:00
Jason Rumney
bc5f466ca5 (umask): Do not define in msvc8. 2006-12-29 15:58:08 +00:00
Jason Rumney
e37b3faf5b (tzname): Do not define in msvc8. 2006-12-29 14:49:25 +00:00
Jason Rumney
ec86967264 (regerror): Change parameter name err_code. 2006-12-29 14:32:52 +00:00
Kim F. Storm
9bfb11f906 Wrap function headers. 2006-12-27 21:55:59 +00:00
Kim F. Storm
d7e344cda1 Fix typo in comment. 2006-12-27 21:46:25 +00:00
Richard M. Stallman
e817cc9b5f *** empty log message *** 2006-12-26 18:10:19 +00:00
Richard M. Stallman
d6aacdcdf1 (Fsearch_forward): Doc fix. 2006-12-26 18:02:27 +00:00
Richard M. Stallman
dbb8dfc762 *** empty log message *** 2006-12-26 03:54:12 +00:00
Richard M. Stallman
425b457e87 (Finteractive): Doc fix. 2006-12-26 03:54:08 +00:00
Kim F. Storm
401ea52737 (BROKEN_DATAGRAM_SOCKETS): Define it. 2006-12-25 13:30:18 +00:00
Kim F. Storm
42f82ce71f *** empty log message *** 2006-12-25 13:30:09 +00:00
Eli Zaretskii
ed1281ecb9 nt/ChangeLog 2006-12-24 07:22:49 +00:00
Richard M. Stallman
3350dc42d8 *** empty log message *** 2006-12-24 03:04:14 +00:00
Miles Bader
74803f9f21 Add arch tagline 2006-12-23 23:33:38 +00:00
Eli Zaretskii
fa1f0a88f9 *** empty log message *** 2006-12-23 10:29:59 +00:00
Eli Zaretskii
41e2a949cc Add stamp_BLD. 2006-12-23 09:53:24 +00:00