aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog152
1 files changed, 152 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c0e8f035a17..89147db983f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,155 @@
12006-05-09 Kenichi Handa <handa@m17n.org>
2
3 * keymap.c (push_key_description): Handle invalid character key.
4
52006-05-08 Kenichi Handa <handa@m17n.org>
6
7 * callproc.c (Fcall_process): Use system_eol_type for encoding
8 arguments if eol_type is not yet decided.
9
10 * coding.h (system_eol_type): Extern it.
11
12 * coding.c (setup_coding_system): For invalid coding-system, set
13 coding->eol_type to CODING_EOL_UNDECIDED.
14 (encode_coding): Cancel previous change.
15 (shrink_encoding_region): Likewise.
16 (code_convert_region1): Likewise.
17 (code_convert_string1): Likewise.
18 (code_convert_string_norecord): Likewise.
19
20 * fileio.c (choose_write_coding_system): Use system_eol_type for
21 encoding if eol_type is not yet decided.
22
23 * process.c (setup_process_coding_systems): Use system_eol_type
24 for encoding if eol_type is not yet decided.
25 (read_process_output): Likewise.
26 (send_process): Likewise.
27
282006-05-07 Juanma Barranquero <lekktu@gmail.com>
29
30 * minibuf.c (syms_of_minibuf) <history-length>: Fix typo in doc.
31
322006-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
33
34 * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c.
35 (syms_of_mac): Likewise for defsubr.
36
37 * macfns.c (mac_set_font): New function.
38 (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it.
39 (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify
40 kWindowToolbarButtonAttribute when creating window.
41 (Fmac_clear_font_name_table): Move from macfns.c.
42 (syms_of_macfns): Likewise for defsubr.
43 [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun.
44 (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it.
45
46 * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set
47 and build is done on Mac OS X 10.2 and later.
48
49 * macselect.c (mac_do_receive_drag): Remove unused variable `index'.
50 (mac_store_services_event): Change return type in extern.
51
52 * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set FMFontFamily value
53 to font->mac_fontnum.
54 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function.
55 (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it.
56 (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern.
57 (QWindow) [MAC_OSX]: Likewise.
58 (Qfont) [USE_MAC_FONT_PANEL]: Likewise.
59 (Vmac_atsu_font_table) [USE_ATSUI]: New variable.
60 (syms_of_macterm) [USE_ATSUI]: Defvar it.
61 (Qtoolbar_switch_mode) [MAC_OSX]: New variable.
62 (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
63 (syms_of_macterm): Intern and staticpro them.
64 (init_font_name_table) [USE_ATSUI]: Set data to Vmac_atsu_font_table.
65 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New
66 function.
67 [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
68 [MAC_OSX] (mac_store_services_event): Likewise.
69 [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
70 kEventWindowToolbarSwitchMode event.
71 (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
72 [MAC_OSX] (mac_store_services_event): Change return type to OSStatus.
73 [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function.
74 (install_window_handler) [USE_MAC_FONT_PANEL]: Install it.
75 (XTread_socket): Select window on mouse click if x_focus_frame is NULL.
76
77 * macterm.h (mac_set_font_info_for_selection): Add extern.
78
792006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
80
81 * image.c (Qduration) [MAC_OS]: New variable.
82 (syms_of_image) [MAC_OS]: Intern and staticpro it.
83 [MAC_OS] (gif_load): Save image extension data in img->data.lisp_val.
84 [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring
85 instead of cfstring_create_with_string.
86
872006-05-06 Kim F. Storm <storm@cua.dk>
88
89 * .gdbinit (xframe): Print frame name.
90 (xlist): New command to print a list (max 10 elements).
91 (xpr): Print lisp object of any type.
92 (pitx): Print it->pixel_width.
93
942006-05-05 Kenichi Handa <handa@m17n.org>
95
96 * xdisp.c (handle_composition_prop): Fix for the case of empty
97 composition component.
98
992006-05-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
100
101 * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info
102 from event->arg.
103
104 * termhooks.h (enum event_kind) [MAC_OS]: Update comment for
105 MAC_APPLE_EVENT.
106
107 * macterm.h (mac_make_lispy_event_code): Remove extern.
108 (mac_post_mouse_moved_event): Add extern.
109 (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
110 `const AEDesc *' in externs.
111 (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern.
112
113 * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
114 `const AEDesc *'.
115 [TARGET_API_MAC_CARBON] (create_apple_event): New function.
116 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
117 Use xrealloc instead of repeated xmalloc/xfree.
118 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New
119 function.
120
121 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
122
123 * macselect.c: Update copyright year.
124 (mac_store_apple_event): Change return type to void in extern.
125 (mac_handle_apple_event): Don't get return value from
126 mac_store_apple_event.
127 [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable.
128 (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it.
129 [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from
130 macterm.c. Use Vmac_dnd_known_types as acceptable flavors.
131 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New
132 implementation using create_apple_event_from_drag_ref.
133 [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
134 (mac_do_receive_dragUPP): Move variables from macterm.c.
135 (install_drag_handler, remove_drag_handler): New functions.
136
137 * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window
138 path select also for proxy icon click.
139 [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function.
140 [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it.
141 (xlfdpat_create): Remove unused label `error' and trailing sentences.
142 (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c.
143 (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to
144 macselect.c.
145 (install_drag_handler, remove_drag_handler): Add extern.
146 (mac_store_apple_event): Change return type to void. All uses changed.
147 Create Lisp object from Apple event and store it into input event.
148 (mac_make_lispy_event_code): Remove function.
149 [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function.
150 (install_window_handler): Call install_drag_handler.
151 (remove_window_handler): Call remove_drag_handler.
152
12006-05-03 Richard Stallman <rms@gnu.org> 1532006-05-03 Richard Stallman <rms@gnu.org>
2 154
3 * sound.c (Fplay_sound_internal): Dynamically allocate 155 * sound.c (Fplay_sound_internal): Dynamically allocate