comparison src/ChangeLog @ 4985:358aa3bb603f

Automatic merge
author Ben Wing <ben@xemacs.org>
date Fri, 05 Feb 2010 12:12:28 -0600
parents f23cd0184dcf 3c3c1d139863
children 3ee2bdf020bc
comparison
equal deleted inserted replaced
4984:f23cd0184dcf 4985:358aa3bb603f
13 Rename PROCESSING_X_CODE to THIS_IS_X and PROCESSING_GTK_CODE to 13 Rename PROCESSING_X_CODE to THIS_IS_X and PROCESSING_GTK_CODE to
14 THIS_SI_GTK for consistency with other xlike code. 14 THIS_SI_GTK for consistency with other xlike code.
15 15
16 Rename select-xlike-inc.c from select-common.h, in keeping with 16 Rename select-xlike-inc.c from select-common.h, in keeping with
17 xlike terminology. 17 xlike terminology.
18
19 2010-02-05 Ben Wing <ben@xemacs.org>
20
21 * console-msw.c (write_string_to_mswindows_debugging_output):
22 * console-msw.c (Fmswindows_message_box):
23 * console-x.c (x_perhaps_init_unseen_key_defaults):
24 * console.c:
25 * database.c (dbm_get):
26 * database.c (dbm_put):
27 * database.c (dbm_remove):
28 * database.c (berkdb_get):
29 * database.c (berkdb_put):
30 * database.c (berkdb_remove):
31 * database.c (Fopen_database):
32 * device-gtk.c (gtk_init_device):
33 * device-msw.c (msprinter_init_device_internal):
34 * device-msw.c (msprinter_default_printer):
35 * device-msw.c (msprinter_init_device):
36 * device-msw.c (sync_printer_with_devmode):
37 * device-msw.c (Fmsprinter_select_settings):
38 * device-x.c (sanity_check_geometry_resource):
39 * device-x.c (Dynarr_add_validified_lisp_string):
40 * device-x.c (x_init_device):
41 * device-x.c (Fx_put_resource):
42 * device-x.c (Fx_valid_keysym_name_p):
43 * device-x.c (Fx_set_font_path):
44 * dialog-msw.c (push_lisp_string_as_unicode):
45 * dialog-msw.c (handle_directory_dialog_box):
46 * dialog-msw.c (handle_file_dialog_box):
47 * dialog-x.c (dbox_descriptor_to_widget_value):
48 * editfns.c (Fformat_time_string):
49 * editfns.c (Fencode_time):
50 * editfns.c (Fset_time_zone_rule):
51 * emacs.c (make_argc_argv):
52 * emacs.c (Fdump_emacs):
53 * emodules.c (emodules_load):
54 * eval.c:
55 * eval.c (maybe_signal_error_1):
56 * event-msw.c (Fdde_alloc_advise_item):
57 * event-msw.c (mswindows_dde_callback):
58 * event-msw.c (mswindows_wnd_proc):
59 * fileio.c (report_error_with_errno):
60 * fileio.c (Fsysnetunam):
61 * fileio.c (Fdo_auto_save):
62 * font-mgr.c (extract_fcapi_string):
63 * font-mgr.c (Ffc_config_app_font_add_file):
64 * font-mgr.c (Ffc_config_app_font_add_dir):
65 * font-mgr.c (Ffc_config_filename):
66 * frame-gtk.c (gtk_set_frame_text_value):
67 * frame-gtk.c (gtk_create_widgets):
68 * frame-msw.c (mswindows_init_frame_1):
69 * frame-msw.c (mswindows_set_title_from_ibyte):
70 * frame-msw.c (msprinter_init_frame_3):
71 * frame-x.c (x_set_frame_text_value):
72 * frame-x.c (x_set_frame_properties):
73 * frame-x.c (start_drag_internal_1):
74 * frame-x.c (x_cde_transfer_callback):
75 * frame-x.c (x_create_widgets):
76 * glyphs-eimage.c (my_jpeg_output_message):
77 * glyphs-eimage.c (jpeg_instantiate):
78 * glyphs-eimage.c (gif_instantiate):
79 * glyphs-eimage.c (png_instantiate):
80 * glyphs-eimage.c (tiff_instantiate):
81 * glyphs-gtk.c (xbm_instantiate_1):
82 * glyphs-gtk.c (gtk_xbm_instantiate):
83 * glyphs-gtk.c (gtk_xpm_instantiate):
84 * glyphs-gtk.c (gtk_xface_instantiate):
85 * glyphs-gtk.c (cursor_font_instantiate):
86 * glyphs-gtk.c (gtk_redisplay_widget):
87 * glyphs-gtk.c (gtk_widget_instantiate_1):
88 * glyphs-gtk.c (gtk_add_tab_item):
89 * glyphs-msw.c (mswindows_xpm_instantiate):
90 * glyphs-msw.c (bmp_instantiate):
91 * glyphs-msw.c (mswindows_resource_instantiate):
92 * glyphs-msw.c (xbm_instantiate_1):
93 * glyphs-msw.c (mswindows_xbm_instantiate):
94 * glyphs-msw.c (mswindows_xface_instantiate):
95 * glyphs-msw.c (mswindows_redisplay_widget):
96 * glyphs-msw.c (mswindows_widget_instantiate):
97 * glyphs-msw.c (add_tree_item):
98 * glyphs-msw.c (add_tab_item):
99 * glyphs-msw.c (mswindows_combo_box_instantiate):
100 * glyphs-msw.c (mswindows_widget_query_string_geometry):
101 * glyphs-x.c (x_locate_pixmap_file):
102 * glyphs-x.c (xbm_instantiate_1):
103 * glyphs-x.c (x_xbm_instantiate):
104 * glyphs-x.c (extract_xpm_color_names):
105 * glyphs-x.c (x_xpm_instantiate):
106 * glyphs-x.c (x_xface_instantiate):
107 * glyphs-x.c (autodetect_instantiate):
108 * glyphs-x.c (safe_XLoadFont):
109 * glyphs-x.c (cursor_font_instantiate):
110 * glyphs-x.c (x_redisplay_widget):
111 * glyphs-x.c (Fchange_subwindow_property):
112 * glyphs-x.c (x_widget_instantiate):
113 * glyphs-x.c (x_tab_control_redisplay):
114 * glyphs.c (pixmap_to_lisp_data):
115 * gui-x.c (menu_separator_style_and_to_external):
116 * gui-x.c (add_accel_and_to_external):
117 * gui-x.c (button_item_to_widget_value):
118 * hpplay.c (player_error_internal):
119 * hpplay.c (play_sound_file):
120 * hpplay.c (play_sound_data):
121 * intl.c (Fset_current_locale):
122 * lisp.h:
123 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
124 * menubar-msw.c (populate_menu_add_item):
125 * menubar-msw.c (populate_or_checksum_helper):
126 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
127 * nt.c (init_user_info):
128 * nt.c (get_long_basename):
129 * nt.c (nt_get_resource):
130 * nt.c (init_mswindows_environment):
131 * nt.c (get_cached_volume_information):
132 * nt.c (mswindows_readdir):
133 * nt.c (read_unc_volume):
134 * nt.c (mswindows_stat):
135 * nt.c (mswindows_getdcwd):
136 * nt.c (mswindows_executable_type):
137 * nt.c (Fmswindows_short_file_name):
138 * ntplay.c (nt_play_sound_file):
139 * objects-gtk.c:
140 * objects-gtk.c (gtk_valid_color_name_p):
141 * objects-gtk.c (gtk_initialize_font_instance):
142 * objects-gtk.c (gtk_font_list):
143 * objects-msw.c (font_enum_callback_2):
144 * objects-msw.c (parse_font_spec):
145 * objects-x.c (x_parse_nearest_color):
146 * objects-x.c (x_valid_color_name_p):
147 * objects-x.c (x_initialize_font_instance):
148 * objects-x.c (x_font_instance_truename):
149 * objects-x.c (x_font_list):
150 * objects-xlike-inc.c (XFUN):
151 * objects-xlike-inc.c (xft_find_charset_font):
152 * process-nt.c (mswindows_report_winsock_error):
153 * process-nt.c (nt_create_process):
154 * process-nt.c (get_internet_address):
155 * process-nt.c (nt_open_network_stream):
156 * process-unix.c:
157 * process-unix.c (allocate_pty):
158 * process-unix.c (get_internet_address):
159 * process-unix.c (unix_canonicalize_host_name):
160 * process-unix.c (unix_open_network_stream):
161 * realpath.c:
162 * select-common.h (lisp_data_to_selection_data):
163 * select-gtk.c (symbol_to_gtk_atom):
164 * select-gtk.c (atom_to_symbol):
165 * select-msw.c (symbol_to_ms_cf):
166 * select-msw.c (mswindows_register_selection_data_type):
167 * select-x.c (symbol_to_x_atom):
168 * select-x.c (x_atom_to_symbol):
169 * select-x.c (hack_motif_clipboard_selection):
170 * select-x.c (Fx_store_cutbuffer_internal):
171 * sound.c (Fplay_sound_file):
172 * sound.c (Fplay_sound):
173 * sound.h (sound_perror):
174 * sysdep.c:
175 * sysdep.c (qxe_allocating_getcwd):
176 * sysdep.c (qxe_execve):
177 * sysdep.c (copy_in_passwd):
178 * sysdep.c (qxe_getpwnam):
179 * sysdep.c (qxe_ctime):
180 * sysdll.c (dll_open):
181 * sysdll.c (dll_function):
182 * sysdll.c (dll_variable):
183 * sysdll.c (search_linked_libs):
184 * sysdll.c (dll_error):
185 * sysfile.h:
186 * sysfile.h (PATHNAME_CONVERT_OUT_TSTR):
187 * sysfile.h (PATHNAME_CONVERT_OUT_UTF_8):
188 * sysfile.h (PATHNAME_CONVERT_OUT):
189 * sysfile.h (LISP_PATHNAME_CONVERT_OUT):
190 * syswindows.h (ITEXT_TO_TSTR):
191 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
192 * syswindows.h (TSTR_TO_LOCAL_FILE_FORMAT):
193 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN):
194 * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR):
195 * text.h:
196 * text.h (eicpy_ext_len):
197 * text.h (enum new_dfc_src_type):
198 * text.h (EXTERNAL_TO_ITEXT):
199 * text.h (GET_STRERROR):
200 * tooltalk.c (check_status):
201 * tooltalk.c (Fadd_tooltalk_message_arg):
202 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
203 * tooltalk.c (Fadd_tooltalk_pattern_arg):
204 * win32.c (tstr_to_local_file_format):
205 * win32.c (mswindows_lisp_error_1):
206 * win32.c (mswindows_report_process_error):
207 * win32.c (Fmswindows_shell_execute):
208 * win32.c (mswindows_read_link_1):
209
210 Changes involving external/internal format conversion,
211 mostly code cleanup and renaming.
212
213 1. Eliminate the previous macros like LISP_STRING_TO_EXTERNAL
214 that stored its result in a parameter. The new version of
215 LISP_STRING_TO_EXTERNAL returns its result through the
216 return value, same as the previous NEW_LISP_STRING_TO_EXTERNAL.
217 Use the new-style macros throughout the code.
218 2. Rename C_STRING_TO_EXTERNAL and friends to ITEXT_TO_EXTERNAL,
219 in keeping with overall naming rationalization involving
220 Itext and related types.
221
222 Macros involved in previous two:
223
224 EXTERNAL_TO_C_STRING -> EXTERNAL_TO_ITEXT
225 EXTERNAL_TO_C_STRING_MALLOC -> EXTERNAL_TO_ITEXT_MALLOC
226 SIZED_EXTERNAL_TO_C_STRING -> SIZED_EXTERNAL_TO_ITEXT
227 SIZED_EXTERNAL_TO_C_STRING_MALLOC -> SIZED_EXTERNAL_TO_ITEXT_MALLOC
228 C_STRING_TO_EXTERNAL -> ITEXT_TO_EXTERNAL
229 C_STRING_TO_EXTERNAL_MALLOC -> ITEXT_TO_EXTERNAL_MALLOC
230 LISP_STRING_TO_EXTERNAL
231 LISP_STRING_TO_EXTERNAL_MALLOC
232 LISP_STRING_TO_TSTR
233 C_STRING_TO_TSTR -> ITEXT_TO_TSTR
234 TSTR_TO_C_STRING -> TSTR_TO_ITEXT
235
236 The following four still return their values through parameters,
237 since they have more than one value to return:
238
239 C_STRING_TO_SIZED_EXTERNAL -> ITEXT_TO_SIZED_EXTERNAL
240 LISP_STRING_TO_SIZED_EXTERNAL
241 C_STRING_TO_SIZED_EXTERNAL_MALLOC -> ITEXT_TO_SIZED_EXTERNAL_MALLOC
242 LISP_STRING_TO_SIZED_EXTERNAL_MALLOC
243
244 Sometimes additional casts had to be inserted, since the old
245 macros played strange games and completely defeated the type system
246 of the store params.
247 3. Rewrite many places where direct calls to TO_EXTERNAL_FORMAT
248 occurred with calls to one of the convenience macros listed above,
249 or to make_extstring().
250 4. Eliminate SIZED_C_STRING macros (they were hardly used, anyway)
251 and use a direct call to TO_EXTERNAL_FORMAT or TO_INTERNAL_FORMAT.
252 4. Use LISP_PATHNAME_CONVERT_OUT in many places instead of something
253 like LISP_STRING_TO_EXTERNAL(..., Qfile_name).
254 5. Eliminate some temporary variables that are no longer necessary
255 now that we return a value rather than storing it into a variable.
256 6. Some Mule-izing in database.c.
257 7. Error functions:
258 -- A bit of code cleanup in maybe_signal_error_1.
259 -- Eliminate report_file_type_error; it's just an alias for
260 signal_error_2 with params in a different order.
261 -- Fix some places in the hostname-handling code that directly
262 inserted externally-retrieved error strings into the
263 supposed ASCII "reason" param instead of doing the right thing
264 and sticking text descriptive of what was going on in "reason"
265 and putting the external message in a frob.
266 8. Use Ascbyte instead of CIbyte in process-unix.c and maybe one
267 or two other places.
268 9. Some code cleanup in copy_in_passwd() in sysdep.c.
269 10. Fix a real bug due to accidental variable shadowing in
270 tstr_to_local_file_format() in win32.c.
18 271
19 2010-02-05 Ben Wing <ben@xemacs.org> 272 2010-02-05 Ben Wing <ben@xemacs.org>
20 273
21 * lisp.h: 274 * lisp.h:
22 * lisp.h (staticpro_nodump_1): 275 * lisp.h (staticpro_nodump_1):