1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

19411 commits

Author SHA1 Message Date
Kim F. Storm
8df0ffbe5f *** empty log message *** 2005-03-22 23:08:41 +00:00
Kim F. Storm
d196a54737 (lookup_derived_face): Add arg SIGNAL_P. 2005-03-22 23:02:03 +00:00
Kim F. Storm
3a2b4c84cc (handle_single_display_spec): Derive left-fringe and
right-fringe face from fringe face.
2005-03-22 23:01:17 +00:00
Kim F. Storm
20a9850596 (XMenuActivate): Fix call to lookup_derived_face. 2005-03-22 23:00:59 +00:00
Kim F. Storm
308785c124 (draw_fringe_bitmap_1, Fset_fringe_bitmap_face):
Derive face from fringe face.
2005-03-22 23:00:44 +00:00
Kim F. Storm
19aaca78a7 * dispextern.h (lookup_derived_face): Fix prototype. 2005-03-22 23:00:23 +00:00
Jan Djärv
6ca30ba48f * xrdb.c (x_load_resources): Undo previous change (2005-03-18). 2005-03-22 21:42:44 +00:00
David Kastrup
d615870ac5 (Fnext_char_property_change)
(Fprevious_char_property_change): allow marker as limit.
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change): Check that limit is a
number in strings.
(Fnext_single_char_property_change): Coerce position to integer.
(Fprevious_single_char_property_change): Same here.
2005-03-22 16:04:02 +00:00
Thien-Thi Nguyen
32b939ead5 (LD_SWITCH_SYSTEM_tmp): Define if undefined. 2005-03-21 17:36:01 +00:00
Stefan Monnier
6027e473ed (Fignore_event): Remove.
(syms_of_frame): Don't defsubr it.
2005-03-19 16:37:27 +00:00
Stefan Monnier
a18bf8979e (keys_of_keyboard): Just use ignore' instead of the redundant ignore-event'. 2005-03-19 16:36:01 +00:00
Eli Zaretskii
730f4d722a (write_segment, unexec): Move these functions to avoid forward
references (which cause errors with "gcc -gcoff").
2005-03-19 11:52:25 +00:00
Jan Djärv
9188be4789 h* xfns.c (x_create_tip_frame): Removed setting of Vx_resource_name so
that it doesn't become "tooltip".  The specbind is enough.
2005-03-18 21:20:55 +00:00
Jan Djärv
a01a20dbff * xfns.c (Fx_create_frame): Removed setting of Vx_resource_name so
that it doesn't	become "tooltip".  The specbind is enough.
2005-03-18 21:19:23 +00:00
Jan Djärv
8d5980cff4 * xfns.c: Removed setting of Vx_resource_name so that it doesn't
become "tooltip".  The specbind is enough.
2005-03-18 21:17:42 +00:00
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