(HASHKEY_TERMINAL): Remove.
(HASHKEY_MAX_NID): New macro.
(xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra
argument.
(xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument.
(xrm_create_database, xrm_q_put_resource)
(xrm_merge_string_database, xrm_q_get_resource_1)
(xrm_q_get_resource): Change resource database representation so that
it may not use multiple hash tables for a single database.
[TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM.
(x_list_fonts): FONT-LIST-CACHE is now cadr part of name_list_element.
(mac_make_rdb): Create resource database from preferences and argument
string.
(mac_term_init): Save resource database to cddr part of
name_list_element.
Juri Linkov [Wed, 16 Mar 2005 07:32:43 +0000 (07:32 +0000)]
Update error messages for `debug-ignored-errors'.
(Info-isearch-search): Doc fix.
(Info-find-node): Move up code to go into info buffer before
recording the node to the history.
(Info-fontify-node): Fontify titles only if the next line
has two or more `*', `=', `-', `.'.
Display "go to this node" for empty (match-string 3).
(struct mac_output) [TARGET_API_MAC_CARBON]: New member
hourglass_control.
(HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines.
(activate_scroll_bars, deactivate_scroll_bars): Remove declarations.
(activate_scroll_bars, deactivate_scroll_bars): Remove functions and
declarations.
(mac_set_colors): Take argument for saving background color. All
callers changed.
(XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle)
(mac_draw_rectangle, mac_draw_string_common): Save and Restore
background color.
(x_update_end, mac_do_track_drag): Don't reset background color.
(mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: Use
SetThemeCursor.
(x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress indicator
control to the upper-right corner of the window.
(arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable.
(do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it.
(do_window_update): Update controls after updating content area.
(mac_handle_window_event): Remove unused extern.
(XTread_socket): Check both control handle and control part code to
determine whether a scroll bar is clicked. Activate/deactivate root
control instead of contained scroll bar controls.
(make_mac_terminal_frame): Use ThemeCursor constants.
(Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): Remove unused
variables.
(syms_of_macfns): Don't initialize them. Likewise for
Qface_set_after_frame_default. Defvar and initialize
Vx_window_horizontal_drag_shape.
(x_set_mouse_color): Change mouse pointer shape.
(mac_window) [!MAC_OSX]: Create root control.
(mac_window): Remove initializations of mouse pointer shapes.
(hourglass_started): New function (from xfns.c).
(start_hourglass, cancel_hourglass): Put function body in #ifdef
MAC_OSX.
(show_hourglass) [TARGET_API_MAC_CARBON]: Create progress
indicator for each non-tooltip frame if needed, and show it.
(hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators.
Juri Linkov [Tue, 15 Mar 2005 10:46:00 +0000 (10:46 +0000)]
(Info-isearch-initial-node): New internal variable.
(Info-search): Signal an error in isearch mode when search leaves
the initial node. Signal an error when `bound' is non-nil and
nothing was found in the current subfile.
(Info-isearch-search): Remove `condition-case'.
(Info-isearch-wrap): Don't wrap when search failed during leaving
the initial node. If `Info-isearch-search' is nil, wrap around
the current node.
(Info-isearch-start): New fun.
(Info-mode): Add buffer-local hook `Info-isearch-start' to
`isearch-mode-hook'.
Juri Linkov [Tue, 15 Mar 2005 10:45:25 +0000 (10:45 +0000)]
(isearch-error): New variable.
(isearch-invalid-regexp, isearch-within-brackets): Remove.
(isearch-error-state): Renamed from `isearch-invalid-regexp-state'.
(isearch-within-brackets-state): Remove.
(isearch-case-fold-search-state, isearch-pop-fun-state):
Decrease frame index.
(isearch-mode, isearch-top-state, isearch-push-state)
(isearch-edit-string, isearch-abort, isearch-search-and-update)
(isearch-fallback, isearch-message-prefix, isearch-message-suffix)
(isearch-search, isearch-lazy-highlight-new-loop):
Replace `isearch-invalid-regexp' with `isearch-error'.
Remove `isearch-within-brackets'.
(isearch-search): Add `search-failed' handler to `condition-case'.
(isearch-lazy-highlight-search): Add `condition-case' to catch
errors and allow `isearch-lazy-highlight-update' to try
highlighting from the beginning of the window.
(isearch-repeat): Move up code to set isearch-wrapped to t
before calling isearch-wrap-function.
Kenichi Handa [Tue, 15 Mar 2005 02:32:39 +0000 (02:32 +0000)]
(locale-language-names): Modify the
format of elements and add more entries.
(locale-preferred-coding-systems): Add more entries.
(set-locale-environment): Adjusted for the change of
locale-language-names.
Kim F. Storm [Sun, 13 Mar 2005 23:20:49 +0000 (23:20 +0000)]
(next-line, previous-line): Add optional try-vscroll
arg to recognize interactive use. Pass it on to line-move.
(line-move): Don't perform auto-window-vscroll when defining or
executing keyboard macro to ensure consistent behaviour.
Lute Kamstra [Sun, 13 Mar 2005 20:54:14 +0000 (20:54 +0000)]
(debug): Set debug-on-exit before calling debugger-setup-buffer so
that backtrace marks the frames set to debug-on-exit and we don't have
to do it manually. Set an extra debug-on-exit for macro's.
(debugger-setup-buffer): Don't mark the top frame manually.
Stefan Monnier [Sat, 12 Mar 2005 23:29:04 +0000 (23:29 +0000)]
(ENCODE_MENU_STRING): Explicitly use string_make_unibyte.
(list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR.
(digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING.
Stefan Monnier [Sat, 12 Mar 2005 23:25:42 +0000 (23:25 +0000)]
(xic_defaut_fontset): New constant.
(xic_create_fontsetname): New function.
Extracted from create_frame_xic. Try to generate a slightly better fontset.
(xic_create_xfontset): Use it.
(create_frame_xic): Simplify.