Jan Djärv
c7f6afd598
* xrdb.c (x_load_resources): Use different char *helv when I18N
...
is present.
2005-03-18 20:39:32 +00:00
Kenichi Handa
db32818283
*** empty log message ***
2005-03-18 07:10:50 +00:00
Stefan Monnier
211f2210f2
(x_update_menu_appearance) [HAVE_X_I18N]:
...
Use xic_create_fontsetname even for non-Motif menus.
Don't forget to free the fontsetname.
2005-03-18 04:21:17 +00:00
Stefan Monnier
968a667962
(xic_create_fontsetname): Add a final catch-all font pattern.
2005-03-18 02:25:13 +00:00
Richard M. Stallman
c7bd5d5712
*** empty log message ***
2005-03-18 00:15:23 +00:00
Richard M. Stallman
fe8b8401e7
(mirror_line_dance): Set W2 according to FRAME_FROM.
2005-03-17 23:39:12 +00:00
Richard M. Stallman
e1688f54df
(buffer_lisp_local_variables): New function,
...
broken out from Fbuffer_local_variables.
(clone_per_buffer_values): Use buffer_lisp_local_variables.
2005-03-17 23:37:39 +00:00
Richard M. Stallman
7c0f6118c3
(Fcopy_file, Frename_file, Fadd_name_to_file)
...
(Fmake_symbolic_link): Use G to read the new file name.
2005-03-17 23:36:03 +00:00
Richard M. Stallman
75f9fbe87e
(Finteractive): Document G option.
...
(Fcall_interactively): Implement G option.
2005-03-17 23:33:07 +00:00
Stefan Monnier
3c916d6555
(xm_update_label, xm_update_list): Use the recommended
...
XmStringCreateLocalized function. Add missing copyright.
2005-03-17 19:03:16 +00:00
Stefan Monnier
2defe37faf
(x_update_menu_appearance) [USE_MOTIF]:
...
Use xic_create_fontsetname to create a fontset so utf-8 locales work.
(dump_realized_face): Fix warning.
2005-03-17 18:43:47 +00:00
Stefan Monnier
c28e7ae824
(xic_create_fontsetname): Add `motif' argument.
...
Always return a freshly allocated string.
(xic_create_xfontset): Adjust call.
2005-03-17 18:32:33 +00:00
Stefan Monnier
9f9e527507
*** empty log message ***
2005-03-17 17:17:57 +00:00
Stefan Monnier
f1145b54d8
(Fkill_emacs): YAILOM.
2005-03-17 17:11:50 +00:00
Stefan Monnier
888953f1ca
(Fignore_event): Fix ancient obscure C-u handling bug.
2005-03-17 13:39:39 +00:00
YAMAMOTO Mitsuharu
48502d68e6
(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.
2005-03-17 08:02:53 +00:00
Stefan Monnier
11a646cddd
*** empty log message ***
2005-03-17 02:01:23 +00:00
Stefan Monnier
b64b78ccfc
(ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM.
2005-03-17 01:37:31 +00:00
Stefan Monnier
53eda4818f
(ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the
...
locale-coding-system, as was already done for WINDOWSNT.
2005-03-17 00:37:35 +00:00
Stefan Monnier
d5161e8c9b
(read_char): Only do the 7-bit-meta -> 27-bit-meta
...
translation for chars in the 0-255 range.
2005-03-16 21:39:49 +00:00
Lute Kamstra
568b6e41dd
(Ffloor): Doc fix.
2005-03-16 15:01:22 +00:00
YAMAMOTO Mitsuharu
3d4543401a
Fix typo.
2005-03-16 08:25:31 +00:00
YAMAMOTO Mitsuharu
a390126445
Fix typo (skip_while_space -> skip_white_space).
2005-03-16 08:24:47 +00:00
YAMAMOTO Mitsuharu
469fb3cf8c
*** empty log message ***
2005-03-16 08:10:47 +00:00
YAMAMOTO Mitsuharu
2dfcf9681d
(DARWIN): Don't define.
2005-03-16 08:10:12 +00:00
YAMAMOTO Mitsuharu
ecc175e254
(init_process): Change #ifdef DARWIN' to #if defined (DARWIN) ||
...
defined (MAC_OSX)'
2005-03-16 08:09:28 +00:00
YAMAMOTO Mitsuharu
5d330aab63
(xrm_merge_string_database, xrm_get_resource)
...
(xrm_get_preference_database): Add externs.
[TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp)
(cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp)
(cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise.
2005-03-16 08:08:48 +00:00
YAMAMOTO Mitsuharu
b298e813e5
(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.
2005-03-16 08:08:06 +00:00
YAMAMOTO Mitsuharu
e7474cdda8
(XrmDatabase): Typedef to Lisp_Object.
2005-03-16 08:07:05 +00:00
YAMAMOTO Mitsuharu
214080a533
(mac_get_rdb_resource): Remove function.
...
(x_get_string_resource): Use xrm_get_resource.
2005-03-16 08:06:33 +00:00
YAMAMOTO Mitsuharu
e495976305
Include macterm.h instead of directly including Carbon.h.
...
[TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata)
(Qarray, Qdictionary): New variables.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them.
[TARGET_API_MAC_CARBON] (Qutf_8): Add extern.
[TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro.
[TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used in
callback for CFDictionaryApplyFunction.
[TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp)
(cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp)
(cfobject_desc_to_lisp, cfdictionary_add_to_list)
(cfdictionary_puthash, cfproperty_list_to_lisp): New functions.
[TARGET_API_MAC_CARBON] (Fmac_get_preference): New function.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
(P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro.
(skip_while_space, parse_comment, parse_include_file)
(parse_binding, parse_component, parse_resource_name, parse_value)
(parse_resource_line, xrm_create_database, xrm_q_put_resource)
(xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource)
(xrm_cfproperty_list_to_value, xrm_get_preference_database): New
functions.
2005-03-16 08:05:56 +00:00
YAMAMOTO Mitsuharu
6a3fac90c5
*** empty log message ***
2005-03-16 03:30:34 +00:00
YAMAMOTO Mitsuharu
ee292cd47f
(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.
2005-03-16 03:29:57 +00:00
YAMAMOTO Mitsuharu
b69efa2333
(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.
2005-03-16 03:29:13 +00:00
YAMAMOTO Mitsuharu
2f063626d3
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
...
ThemeCursor instead of CursHandle.
2005-03-16 03:27:38 +00:00
YAMAMOTO Mitsuharu
901a6b035e
(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.
2005-03-16 03:26:37 +00:00
YAMAMOTO Mitsuharu
a7321976e8
*** empty log message ***
2005-03-15 07:48:07 +00:00
YAMAMOTO Mitsuharu
2d88aa31a3
(keycode_to_xkeysym_table): Change mapping so that it coincide with
...
that in Apple X11 except `clear', `enter' on laptops, and fn + `enter'
on laptops.
2005-03-15 07:47:25 +00:00
Kenichi Handa
0ec31faf30
(syms_of_coding): Docstring of coding-category-list fixed.
2005-03-15 06:26:15 +00:00
Stefan Monnier
f7b758bd80
*** empty log message ***
2005-03-12 23:39:37 +00:00
Stefan Monnier
8af9fa555a
(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.
2005-03-12 23:29:04 +00:00
Stefan Monnier
bb07fa293e
(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.
2005-03-12 23:25:42 +00:00
Stefan Monnier
dac24db404
(Fmake_symbolic_link): Fix last change.
2005-03-12 01:37:51 +00:00
Richard M. Stallman
e0402468ef
*** empty log message ***
2005-03-11 23:51:27 +00:00
Richard M. Stallman
1ffc5c90de
(Frename_file, Fadd_name_to_file)
...
(Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory,
expand the basename of FILE relative to it.
2005-03-11 23:49:25 +00:00
Kenichi Handa
fa815b1459
*** empty log message ***
2005-03-11 12:03:13 +00:00
Kenichi Handa
87e3d54cf9
(Finsert_file_contents): Call Fcheck_coding_system
...
before calling setup_coding_system so that autoloading of a coding
system work.
2005-03-11 11:59:42 +00:00
Jan Djärv
68a505efc6
* xfns.c (hourglass_started): New function.
...
* dispextern.h: Declare hourglass_started.
* keyboard.c (Fexecute_extended_command): Restart hourglass
after call to Fcompleting_read if already started.
2005-03-10 19:09:10 +00:00
Jan Djärv
a25e44b279
* keyboard.c (Fexecute_extended_command): Restart hourglass
...
after call to Fcompleting_read if already started.
2005-03-10 19:08:31 +00:00
Jan Djärv
83c31c8df0
* xfns.c (hourglass_started): New function.
2005-03-10 19:08:01 +00:00