1 |
2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2 |
|
|
3 |
|
* mac.c: Include macterm.h instead of directly including Carbon.h. |
4 |
|
[TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) |
5 |
|
(Qarray, Qdictionary): New variables. |
6 |
|
(syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. |
7 |
|
[TARGET_API_MAC_CARBON] (Qutf_8): Add extern. |
8 |
|
[TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. |
9 |
|
[TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used |
10 |
|
in callback for CFDictionaryApplyFunction. |
11 |
|
[TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) |
12 |
|
(cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) |
13 |
|
(cfobject_desc_to_lisp, cfdictionary_add_to_list) |
14 |
|
(cfdictionary_puthash, cfproperty_list_to_lisp): New functions. |
15 |
|
[TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. |
16 |
|
(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. |
17 |
|
(P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. |
18 |
|
(skip_while_space, parse_comment, parse_include_file) |
19 |
|
(parse_binding, parse_component, parse_resource_name, parse_value) |
20 |
|
(parse_resource_line, xrm_create_database, xrm_q_put_resource) |
21 |
|
(xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) |
22 |
|
(xrm_cfproperty_list_to_value, xrm_get_preference_database): New |
23 |
|
functions. |
24 |
|
|
25 |
|
* macfns.c (mac_get_rdb_resource): Remove function. |
26 |
|
(x_get_string_resource): Use xrm_get_resource. |
27 |
|
|
28 |
|
* macgui.h (XrmDatabase): Typedef to Lisp_Object. |
29 |
|
|
30 |
|
* macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of |
31 |
|
name_list_element. |
32 |
|
(mac_make_rdb): Create resource database from preferences and |
33 |
|
argument string. |
34 |
|
(mac_term_init): Save resource database to cddr part of |
35 |
|
name_list_element. |
36 |
|
|
37 |
|
* macterm.h (xrm_merge_string_database, xrm_get_resource) |
38 |
|
(xrm_get_preference_database): Add externs. |
39 |
|
[TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) |
40 |
|
(cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) |
41 |
|
(cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. |
42 |
|
|
43 |
|
* process.c (init_process): Change `#ifdef DARWIN' to `#if |
44 |
|
defined (DARWIN) || defined (MAC_OSX)' |
45 |
|
|
46 |
|
* s/darwin.h (DARWIN): Don't define. |
47 |
|
|
48 |
|
2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
49 |
|
|
50 |
* macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): |
* macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): |
51 |
Remove unused variables. |
Remove unused variables. |
52 |
(syms_of_macfns): Don't initialize them. Likewise for |
(syms_of_macfns): Don't initialize them. Likewise for |
54 |
Vx_window_horizontal_drag_shape. |
Vx_window_horizontal_drag_shape. |
55 |
(x_set_mouse_color): Change mouse pointer shape. |
(x_set_mouse_color): Change mouse pointer shape. |
56 |
(mac_window) [!MAC_OSX]: Create root control. |
(mac_window) [!MAC_OSX]: Create root control. |
57 |
(mac_window): Remove initializations of mouse pointer shapes. |
(Fx_create_frame): Remove initializations of mouse pointer shapes. |
58 |
(hourglass_started): New function (from xfns.c). |
(hourglass_started): New function (from xfns.c). |
59 |
(start_hourglass, cancel_hourglass): Put function body in #ifdef |
(start_hourglass, cancel_hourglass): Put function body in #ifdef |
60 |
MAC_OSX. |
MAC_OSX. |