comparison src/ChangeLog @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children 1ccc32a20af4
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
1 2000-11-14 Martin Buchholz <martin@xemacs.org>
2
3 * XEmacs 21.2.37 is released.
4
5 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
6
7 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8 Add comments about discarded return value.
9
10 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11
12 * callint.c:
13 * event-stream.c: Fix comments. Remove some #if 0'ed part.
14
15 2000-10-27 Andy Piper <andy@xemacs.org>
16
17 * gutter.c (Fset_default_gutter_position): default left and right
18 gutters to visible.
19 (calculate_gutter_size): calculate resonable heuristic for left
20 and right gutter sizes.
21 (specifier_vars_of_gutter): change left and right gutter sizes to
22 autodetect.
23 (calculate_gutter_size_from_display_lines): new function.
24 (output_gutter): check for resizing on left and right gutters.
25 (clear_gutter): don't special case top and left gutters.
26 (specifier_vars_of_gutter): use new signature for
27 set_specifier_caching.
28
29 * glyphs-x.c (x_redisplay_widget): spelling fix.
30 * glyphs.c (specifier_vars_of_glyphs):
31 * menubar.c (specifier_vars_of_menubar):
32 * redisplay.c (specifier_vars_of_redisplay):
33 * toolbar.c (specifier_vars_of_toolbar):
34 * window.c (specifier_vars_of_window):
35 * scrollbar.c (specifier_vars_of_scrollbar):
36 (complex_vars_of_scrollbar): use new signature for
37 set_specifier_caching.
38
39 * specifier.c (set_specifier_caching): include recompute flag.
40 (recompute_one_cached_specifier_in_window): always recompute if
41 flag set.
42 (recompute_one_cached_specifier_in_frame): ditto.
43
44 * specifier.h (struct specifier_caching): add recompute flag.
45
46 2000-10-24 Andy Piper <andy@xemacs.org>
47
48 * unexcw.c (copy_executable_and_dump_data_section): add new
49 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
50 5.0 happy.
51
52 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
53
54 * console-x.h (x_device): New member modifier_release_time.
55 * event-Xt.c (x_handle_sticky_modifiers):
56 Bound interval modifier keys are sticky.
57 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
58 * events.h: extern it.
59
60 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
61
62 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
63
64 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
65
66 * event-stream.c (execute_command_event): Preserve current_events
67 and the like when event is misc-user-event.
68 Inhibit quit during the call to maybe_echo_keys.
69
70 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
71
72 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
73 symlink when buffer is killed.
74 (inhibit_clash_detection): New variable.
75
76 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
77
78 * console.c (Fset_input_method): Trigger redisplay on tty.
79
80 2000-11-07 Martin Buchholz <martin@xemacs.org>
81
82 * process.c (Fprocess_status): Revert to previous behavior:
83 (process-status "nosuchprocess") ==> nil
84
85 2000-11-06 Martin Buchholz <martin@xemacs.org>
86
87 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
88 Work around another GCC 2.95.2 optimizer bug.
89
90 2000-11-02 Martin Buchholz <martin@xemacs.org>
91
92 * process.c (Fget_process): Use LIST_LOOP_2.
93 (kill_buffer_processes): Use LIST_LOOP_2.
94
95 * minibuf.c (Fall_completions):
96 Delete old non-functional code for FSF fourth argument.
97
98 * frame.c (frame_matches_frame_spec):
99 Renamed from `frame_matches_frametype'. Update all callers.
100 (device_matches_device_spec):
101 Renamed from 'device_matches_console_spec'. Update all callers.
102
103 * doc.c (Fsubstitute_command_keys):
104 Remove buffer overflow crash. Small code cleanups.
105
106 * casetab.c (check_case_table): Simpler code.
107
108 * window.c (Freplace_buffer_in_windows):
109 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
110 (and similar implementation) as Fdelete_windows_on.
111 Update all callers.
112
113 * alloc.c (Fmake_list):
114 * alloc.c (make_vector):
115 * alloc.c (Fmake_vector):
116 * alloc.c (make_bit_vector):
117 * alloc.c (Fmake_bit_vector):
118 * alloc.c (Fbit_vector):
119 * alloc.c (Fmake_string):
120 * alloc.c (Fpurecopy):
121 * alloc.c (Fmemory_limit):
122 * buffer.c:
123 * buffer.c (Fget_buffer):
124 * buffer.c (Fkill_buffer):
125 * buffer.c (complex_vars_of_buffer):
126 * bytecode.c (Fcompiled_function_stack_depth):
127 * callint.c (Fprefix_numeric_value):
128 * event-stream.c:
129 * event-stream.c (Fread_key_sequence):
130 * casetab.c:
131 * casetab.c (Fcase_table_p):
132 * casetab.c (check_case_table):
133 * casetab.c (Fset_case_table):
134 * casetab.c (Fset_standard_case_table):
135 * chartab.c:
136 * chartab.c (Fchar_table_type):
137 * chartab.c (Freset_char_table):
138 * chartab.c (Fget_char_table):
139 * chartab.c (Fget_range_char_table):
140 * chartab.c (Fput_char_table):
141 * chartab.c (Fmap_char_table):
142 * chartab.c (Fcategory_table_p):
143 * chartab.c (Fcheck_category_at):
144 * chartab.c (Fchar_in_category_p):
145 * chartab.c (Fcategory_table):
146 * chartab.c (Fcopy_category_table):
147 * chartab.c (Fset_category_table):
148 * chartab.c (Fcategory_designator_p):
149 * chartab.c (Fcategory_table_value_p):
150 * cmds.c (Fdelete_char):
151 * cmds.c (Fdelete_backward_char):
152 * cmds.c (Fself_insert_command):
153 * cmds.c (Fself_insert_internal):
154 * console.c (Fvalid_console_type_p):
155 * console.c (Fcdfw_console):
156 * console.c (Fconsole_type):
157 * console.c (Fconsole_name):
158 * console.c (Fconsole_device_list):
159 * console.c (Fconsole_on_window_system_p):
160 * data.c:
161 * data.c (Feq):
162 * data.c (Fold_eq):
163 * data.c (Fsubr_interactive):
164 * data.c (Fchar_to_int):
165 * data.c (Fint_to_char):
166 * data.c (Fsetcar):
167 * data.c (Fsetcdr):
168 * data.c (Fnumber_to_string):
169 * data.c (Fstring_to_number):
170 * data.c (Frem):
171 * database.c (mark_database):
172 * database.c (finalize_database):
173 * database.c (Fdatabase_live_p):
174 * database.c (Fdatabasep):
175 * device-x.c (Fx_get_resource):
176 * device.c (Fdfw_device):
177 * dired.c:
178 * dired.c (Ffile_name_completion):
179 * dired.c (Ffile_name_all_completions):
180 * dired.c (Fuser_name_completion):
181 * dired.c (Fuser_name_completion_1):
182 * dired.c (Fuser_name_all_completions):
183 * doc.c (Fdocumentation):
184 * doc.c (Fdocumentation_property):
185 * doc.c (Fsubstitute_command_keys):
186 * editfns.c:
187 * editfns.c (Fchar_to_string):
188 * editfns.c (Fstring_to_char):
189 * editfns.c (Ftemp_directory):
190 * editfns.c (Finsert_char):
191 * editfns.c (Fbuffer_substring_no_properties):
192 * editfns.c (Fnarrow_to_region):
193 * editfns.c (Fchar_equal):
194 * editfns.c (Fchar_Equal):
195 * editfns.c (Ftranspose_regions):
196 * emacs.c (Fdump_emacs):
197 * eval.c (Fthrow):
198 * eval.c (Fcommand_execute):
199 * eval.c (Fautoload):
200 * eval.c (Fbacktrace):
201 * eval.c (Fbacktrace_frame):
202 * events.c:
203 * events.c (Fcopy_event):
204 * events.c (Fcharacter_to_event):
205 * events.c (Fevent_button):
206 * events.c (Fevent_process):
207 * extents.c:
208 * extents.c (Fnext_extent_change):
209 * extents.c (Fextent_property):
210 * faces.c (Ffacep):
211 * faces.c (Fmake_face):
212 * file-coding.c:
213 * file-coding.c (Fencode_shift_jis_char):
214 * file-coding.c (Fencode_big5_char):
215 * fileio.c (Ffile_name_directory):
216 * fileio.c (Ffile_name_nondirectory):
217 * fileio.c (Ffile_name_as_directory):
218 * fileio.c (Fdirectory_file_name):
219 * fileio.c (Ffile_truename):
220 * fileio.c (Fsubstitute_in_file_name):
221 * fileio.c (Ffile_modes):
222 * fileio.c (Fset_file_modes):
223 * fileio.c (Fset_default_file_modes):
224 * fileio.c (Fverify_visited_file_modtime):
225 * floatfns.c (Facos):
226 * floatfns.c (Fasin):
227 * floatfns.c (Fatan):
228 * floatfns.c (Fcos):
229 * floatfns.c (Fsin):
230 * floatfns.c (Ftan):
231 * floatfns.c (Fbessel_j0):
232 * floatfns.c (Fbessel_j1):
233 * floatfns.c (Fbessel_jn):
234 * floatfns.c (Fbessel_y0):
235 * floatfns.c (Fbessel_y1):
236 * floatfns.c (Fbessel_yn):
237 * floatfns.c (Ferf):
238 * floatfns.c (Ferfc):
239 * floatfns.c (Flog_gamma):
240 * floatfns.c (Fexp):
241 * floatfns.c (Fexpt):
242 * floatfns.c (Flog):
243 * floatfns.c (Flog10):
244 * floatfns.c (Fsqrt):
245 * floatfns.c (Fcube_root):
246 * floatfns.c (Facosh):
247 * floatfns.c (Fasinh):
248 * floatfns.c (Fatanh):
249 * floatfns.c (Fcosh):
250 * floatfns.c (Fsinh):
251 * floatfns.c (Ftanh):
252 * floatfns.c (Fabs):
253 * floatfns.c (Ffloat):
254 * floatfns.c (Flogb):
255 * floatfns.c (Fceiling):
256 * floatfns.c (Ffloor):
257 * floatfns.c (Fround):
258 * floatfns.c (Ftruncate):
259 * floatfns.c (Ffceiling):
260 * floatfns.c (Fffloor):
261 * floatfns.c (Ffround):
262 * floatfns.c (Fftruncate):
263 * fns.c (Fstring_equal):
264 * fns.c (Fstring_lessp):
265 * fns.c (concat2):
266 * fns.c (concat3):
267 * fns.c (vconcat2):
268 * fns.c (vconcat3):
269 * fns.c (Fsubstring):
270 * fns.c (Fassoc):
271 * fns.c (Fold_assoc):
272 * fns.c (assoc_no_quit):
273 * fns.c (Fassq):
274 * fns.c (Fold_assq):
275 * fns.c (assq_no_quit):
276 * fns.c (Frassoc):
277 * fns.c (Fold_rassoc):
278 * fns.c (Frassq):
279 * fns.c (Fold_rassq):
280 * fns.c (rassq_no_quit):
281 * fns.c (Fremassoc):
282 * fns.c (remassoc_no_quit):
283 * fns.c (Fremassq):
284 * fns.c (remassq_no_quit):
285 * fns.c (Fremrassoc):
286 * fns.c (Fremrassq):
287 * fns.c (remrassq_no_quit):
288 * fns.c (Fsort):
289 * fns.c (Fplist_get):
290 * fns.c (Fplist_put):
291 * fns.c (Fplist_remprop):
292 * fns.c (Fplist_member):
293 * fns.c (Flax_plist_get):
294 * fns.c (Flax_plist_put):
295 * fns.c (Flax_plist_remprop):
296 * fns.c (Flax_plist_member):
297 * fns.c (Fequal):
298 * fns.c (Fold_equal):
299 * fns.c (Frequire):
300 * fns.c (Fbase64_encode_region):
301 * fns.c (Fbase64_encode_string):
302 * fns.c (Fbase64_decode_region):
303 * frame.c:
304 * frame.c (frame_matches_frame_spec):
305 * frame.c (device_matches_device_spec):
306 * frame.c (next_frame):
307 * frame.c (previous_frame):
308 * frame.c (Fnext_frame):
309 * frame.c (Fprevious_frame):
310 * frame.c (Fframe_property):
311 * frame.c (Fset_frame_height):
312 * frame.c (Fset_frame_size):
313 * frame.h:
314 * glyphs.c:
315 * glyphs.c (if):
316 * glyphs.c (decode_error_behavior_flag):
317 * glyphs.c (Fmake_image_instance):
318 * indent.c (Findent_to):
319 * intl.c (Fignore_defer_gettext):
320 * keymap.c (Fkeymapp):
321 * keymap.c (Flookup_key):
322 * lread.c:
323 * lread.c (Fload_internal):
324 * lread.c (Feval_buffer):
325 * lread.c (Feval_region):
326 * macros.c (Fexecute_kbd_macro):
327 * marker.c (set_marker_internal):
328 * marker.c (Fset_marker):
329 * marker.c (set_marker_restricted):
330 * marker.c (Fcopy_marker):
331 * marker.c (noseeum_copy_marker):
332 * menubar.c:
333 * menubar.c (Fpopup_menu):
334 * minibuf.c:
335 * mule-charset.c (Fcharset_name):
336 * mule-charset.c (Fchar_charset):
337 * mule-charset.c (Fchar_octet):
338 * mule-charset.c (Fsplit_char):
339 * mule-wnnfns.c (Fwnn_open):
340 * mule-wnnfns.c (Fwnn_dict_comment):
341 * mule-wnnfns.c (Fwnn_quit_henkan):
342 * mule-wnnfns.c (Fwnn_word_toroku):
343 * mule-wnnfns.c (Fwnn_word_sakujo):
344 * mule-wnnfns.c (Fwnn_word_use):
345 * mule-wnnfns.c (Fwnn_hindo_set):
346 * objects.c:
347 * objects.c (Fmake_color_instance):
348 * objects.c (Fmake_font_instance):
349 * print.c (Fwrite_char):
350 * process.c:
351 * process.c (mark_process):
352 * process.c (print_process):
353 * process.c (get_process_from_usid):
354 * process.c (Fprocessp):
355 * process.c (Fprocess_live_p):
356 * process.c (Fget_process):
357 * process.c (Fget_buffer_process):
358 * process.c (get_process):
359 * process.c (Fprocess_id):
360 * process.c (Fprocess_name):
361 * process.c (Fprocess_command):
362 * process.c (init_process_io_handles):
363 * process.c (start_process_unwind):
364 * process.c (Fstart_process_internal):
365 * process.c (Fopen_multicast_group_internal):
366 * process.c (Fset_process_window_size):
367 * process.c (read_process_output):
368 * process.c (send_process):
369 * process.c (Fprocess_tty_name):
370 * process.c (Fset_process_buffer):
371 * process.c (Fprocess_buffer):
372 * process.c (Fprocess_mark):
373 * process.c (set_process_filter):
374 * process.c (Fset_process_filter):
375 * process.c (Fprocess_filter):
376 * process.c (Fprocess_send_region):
377 * process.c (Fprocess_send_string):
378 * process.c (exec_sentinel):
379 * process.c (Fset_process_sentinel):
380 * process.c (Fprocess_sentinel):
381 * process.c (status_notify):
382 * process.c (Fprocess_status):
383 * process.c (Fprocess_exit_status):
384 * process.c (process_send_signal):
385 * process.c (Fprocess_send_eof):
386 * process.c (deactivate_process):
387 * process.c (remove_process):
388 * process.c (Fdelete_process):
389 * process.c (kill_buffer_processes):
390 * process.c (Fprocess_kill_without_query):
391 * process.c (Fprocess_kill_without_query_p):
392 * rangetab.c:
393 * rangetab.c (Fget_range_table):
394 * rangetab.c (Fput_range_table):
395 * rangetab.c (Fremove_range_table):
396 * rangetab.c (Fclear_range_table):
397 * search.c:
398 * search.c (Fskip_chars_forward):
399 * search.c (Fskip_chars_backward):
400 * search.c (Fskip_syntax_forward):
401 * search.c (Fskip_syntax_backward):
402 * search.c (search_command):
403 * search.c (Freplace_match):
404 * search.c (Fregexp_quote):
405 * select.c (Fown_selection_internal):
406 * select.c (Fselection_owner_p):
407 * select.c (Fselection_exists_p):
408 * select.c (Fget_selection_internal):
409 * specifier.c:
410 * symbols.c:
411 * symbols.c (Fintern):
412 * symbols.c (Fintern_soft):
413 * symbols.c (Funintern):
414 * symbols.c (Fapropos_internal):
415 * symbols.c (Fset_default):
416 * syntax.c:
417 * syntax.c (Fsyntax_table_p):
418 * syntax.c (Fcopy_syntax_table):
419 * syntax.c (Fset_syntax_table):
420 * syntax.c (Fchar_syntax):
421 * syntax.c (syntax_match):
422 * syntax.c (Fmatching_paren):
423 * syntax.c (Fforward_word):
424 * syntax.c (scan_lists):
425 * syntax.c (Fscan_lists):
426 * syntax.c (Fscan_sexps):
427 * syntax.c (Fparse_partial_sexp):
428 * toolbar.c (Fcheck_toolbar_button_syntax):
429 * tooltalk.doc:
430 * window.c:
431 * window.c (Fwindowp):
432 * window.c (Fwindow_live_p):
433 * window.c (Fwindow_point):
434 * window.c (Fdelete_window):
435 * window.c (Fnext_window):
436 * window.c (Fprevious_window):
437 * window.c (Fother_window):
438 * window.c (window_loop):
439 * window.c (Fget_lru_window):
440 * window.c (Fsplit_window):
441 * window.c (Fenlarge_window):
442 * window.c (Fenlarge_window_pixels):
443 * window.c (Fshrink_window):
444 * window.c (Fshrink_window_pixels):
445 * window.c (change_window_height):
446 * window.c (Fwindow_configuration_p):
447 * window.c (Fcurrent_window_configuration):
448 * window.h:
449 * casefiddle.c (casify_object):
450 * casefiddle.c (Fupcase):
451 * casefiddle.c (Fdowncase):
452 * casefiddle.c (Fcapitalize):
453 * casefiddle.c (Fupcase_initials):
454 * casefiddle.c (casify_region_internal):
455 * casefiddle.c (casify_region):
456 * casefiddle.c (Fupcase_region):
457 * casefiddle.c (Fdowncase_region):
458 * casefiddle.c (Fcapitalize_region):
459 * casefiddle.c (Fupcase_initials_region):
460 * casefiddle.c (Fupcase_word):
461 * casefiddle.c (Fdowncase_word):
462 * casefiddle.c (Fcapitalize_word):
463 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
464 Replace 0 with '\0' when working with bytes.
465 Replace initial "(" with "\(" in docstrings.
466
467 2000-11-01 Martin Buchholz <martin@xemacs.org>
468
469 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
470
471 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
472
473 2000-10-31 Martin Buchholz <martin@xemacs.org>
474
475 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
476
477 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
478
479 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
480 correctly.
481
482 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
483
484 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
485 (inhibit_auto_save_session): New variable.
486 (vars_of_fileio): Declare and initialize them.
487 * fileio.c (Fdo_auto_save): Don't create session file if
488 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
489
490 2000-10-31 Martin Buchholz <martin@xemacs.org>
491
492 * sgiplay.c (play_internal): C++ compilability.
493 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
494 * callproc.c (Fold_call_process_internal):
495 Remove unused vars `env', `first'.
496 * scrollbar.c (update_scrollbar_instance):
497 #### unused var `current_window'.
498 * redisplay-tty.c: Put currently unused vars insert_mode_on,
499 etc. within #ifdef NOT_YET.
500 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
501 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
502 * specifier.c (specifier_instance):
503 #### unused var `tag'.
504 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
505
506 2000-10-27 Martin Buchholz <martin@xemacs.org>
507
508 * fns.c (Fbutlast):
509 * fns.c (list_sort):
510 * fns.c (Ffillarray):
511 * fns.c (bytecode_nconc2):
512 * fns.c (Fnconc):
513 * fns.c (mapcar1):
514 * fns.c (Fmapconcat):
515 Be pedantically 64-bit correct. For the time when someone will
516 want to have a list with length > 2**32.
517
518 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
519 Work around MIPSpro compiler bug.
520
521 * process-unix.c (unix_kill_child_process): Add snarky comment.
522 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
523
524 * config.h.in: Oops, _getpt ==> _getpty
525
526 2000-10-26 Martin Buchholz <martin@xemacs.org>
527
528 * config.h.in:
529 * regex.c:
530 Use void*, not char*, as return type of alloca().
531
532 * alloc.c (free_marker): Side effect inside assert expression!
533
534 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
535
536 * mule-charset.c (Fset_charset_ccl_program): To check
537 if the given ccl program is valid, use setup_ccl_program()
538 instead of CHECK_VECTOR().
539 (Fmake_charset): Likewise.
540
541 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
542
543 * faces.c (get_extent_fragment_face_cache_index):
544 Fix cachel.merged_faces memory leak.
545
546 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
547
548 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
549 Reset MSB of octets obtained by DECODE_SJIS
550 because of the incompatibility with Emacs.
551 (ccl_driver)<CCL_ENCODE_SJIS>:
552 Set MSB of octets before passing them to
553 ENCODE_SJIS because of the incompatibility
554 with Emacs.
555
556 2000-10-18 Daiki Ueno <ueno@unixuser.org>
557
558 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
559 (DECLARE_LRECORD): Undo the last change.
560 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
561
562 2000-10-17 Daiki Ueno <ueno@unixuser.org>
563
564 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
565 the implementation to lrecord_implementations_table.
566
567 2000-10-14 Daiki Ueno <ueno@unixuser.org>
568
569 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
570 initial value of `lrecord_type_##c_name' and
571 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
572 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
573 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
574 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
575 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
576
577 2000-10-17 Martin Buchholz <martin@xemacs.org>
578
579 * miscplay.c (sndcnv8S_2mono):
580 (sndcnv2monounsigned):
581 (sndcnvULaw_2linear):
582 (sndcnv16swap):
583 Remove implementation-defined behavior.
584
585 2000-10-12 Martin Buchholz <martin@xemacs.org>
586
587 * input-method-xlib.c: Warning suppression.
588
589 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
590
591 * mule-ccl.c: Sync up with Emacs 21.0.90.
592 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
593 Do nothing.
594 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
595 Likewise.
596 (ccl_driver[WriteMultibyteChar2]): Bug fix.
597 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
598 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
599 leading char belongs to official 2-dimensional charset.
600 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
601 write the given character as is. Otherwise,
602 if it is a multibyte char, convert it by
603 non_ascii_set_charptr_emchar, then write it.
604 (CCL_WRITE_STRING): Likewise.
605 (ccl_get_compiled_code): New function.
606 (setup_ccl_program): When ccl_prog is invalid,
607 return -1.
608 (Fregister_code_conversion_map): New function.
609 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
610
611 * mule-ccl.h: Sync up with Emacs 21.0.90.
612 (Fregister_ccl_program): export it.
613
614 * redisplay-msw.c (separate_textual_runs):
615 If ccl program is not valid, don't do ccl conversion.
616
617 * redisplay-x.c (separate_textual_runs): Ditto.
618
619 * file-coding.c (Fmake_coding_system):
620 When type is ccl and value is vector, register it
621 with a proper symbol. And checks whether the
622 given ccl program is valid.
623 (mule_decode): When calling ccl_driver, if src indicates
624 NULL pointer, set an empty string instead.
625 (mule_encode): Likewise.
626
627 2000-10-11 Martin Buchholz <martin@xemacs.org>
628
629 The following large batch of changes gets us back to a state of
630 C++ compilability. Extbyte is now a char, which means that
631 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
632
633 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
634
635 * sound.c (Fplay_sound): Type correctness.
636
637 * select-x.c (hack_motif_clipboard_selection): Type correctness.
638 (x_get_window_property): Type correctness.
639 (receive_incremental_selection): unsigned char ==> Extbyte
640 (selection_data_to_lisp_data): unsigned char ==> Extbyte
641 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
642 (Fx_store_cutbuffer_internal): Type correctness.
643
644 * process-unix.c (try_to_initialize_subtty): Type correctness.
645
646 * objects-x.c (x_print_color_instance): Type correctness.
647 (x_print_font_instance): Type correctness.
648 (x_list_fonts): SExtbyte ==> Extbyte.
649 (valid_x_font_name_p): SExtbyte ==> Extbyte.
650 (x_find_charset_font): SExtbyte ==> Extbyte.
651 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
652 (truename_via_XListFonts): SExtbyte ==> Extbyte.
653 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
654 Use bufbyte_strcmp.
655
656 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
657 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
658 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
659 (BYTE_C0_P): Use bit ops for char-signedness safety.
660 (BYTE_C1_P): Use bit ops for char-signedness safety.
661 (CHARSET_BY_LEADING_BYTE):
662 (CHARSET_BY_ATTRIBUTES):
663 Always use inline function.
664 Use type_checking_assert.
665 Hide chlook.
666
667 * mule-charset.c (non_ascii_charptr_copy_char):
668 Modify to work with both ASCII and non-ASCII characters.
669 Improve docs and variable names.
670 Replace over-clever fall-through switch with a simple loop.
671 (Lstream_get_emchar_1):
672 Replace over-clever fall-through switch with a simple loop.
673
674 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
675 Warning suppression.
676
677 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
678 the return value of Lstream_getc, which could be EOF as well.
679
680 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
681
682 * lisp.h: Make Extbyte a char, not unsigned char, so that external
683 APIs can be used on Extbytes without casts. Risky!
684 (SExtbyte): Remove.
685 (UExtbyte): Remove.
686
687 * input-method-xlib.c (XIM_init_device):
688 Use Xlib.h instead of IntrinsicP.h.
689 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
690 which will break in X11R7.
691 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
692 to call XRegisterIMInstantiateCallback with correct types.
693
694 * gui-x.c (button_item_to_widget_value): Type correctness.
695
696 * glyphs.c (bitmap_to_lisp_data): Type correctness.
697
698 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
699 (xbm_instantiate_1): Type correctness.
700 (BUILD_GLYPH_INST): Type correctness.
701
702 * fileio.c (Fsubstitute_in_file_name): Type correctness.
703
704 * file-coding.c:
705 (decode_coding_sjis):
706 (decode_coding_big5):
707 (decode_coding_ucs4):
708 (decode_coding_utf8):
709 (decode_coding_iso2022):
710 (decode_coding_no_conversion):
711 Make all decoding functions take an Extbyte * arg.
712 (encode_coding_sjis):
713 (encode_coding_big5):
714 (encode_coding_ucs4):
715 (encode_coding_utf8):
716 (encode_coding_iso2022):
717 (encode_coding_no_conversion):
718 Make all encoding functions take a Bufbyte * arg.
719 Use size_t instead of unsigned int for memory sizes.
720 Only cast to unsigned char whenever dereferencing Extbyte *.
721
722 * doc.c (unparesseuxify_doc_string): Type correctness.
723
724 * console-x.c (split_up_display_spec):
725 Rewrite without using details of internal string representation.
726 (x_semi_canonicalize_device_connection): Type correctness.
727
728 * config.h.in:
729 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
730 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
731 (HAVE_XFREE386): Removed.
732
733 * buffer.h (DEC_CHARPTR): `const' correctness.
734 (bufbyte_strcmp): New.
735 (bufbyte_memcmp): New.
736
737 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
738
739 * buffer.h (XCHAR_OR_CHAR_INT):
740 Always use inline function.
741 Remove redundant type checking assert() - XINT will abort quite nicely.
742
743 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
744
745 * search.c (Freplace_match): Set newtext to an empty string.
746
747 2000-10-10 Martin Buchholz <martin@xemacs.org>
748
749 * s/decosf1-3.h: Remove #include of stropts.h
750 * s/ptx.h: Remove #include of stropts.h
751 * s/usg5-4.h: Remove #include of stropts.h
752 * sysproc.h:
753 * config.h.in:
754 Use stropts.h, not sys/stropts.h.
755 Use strtio.h, not sys/strtio.h.
756
1 2000-10-04 Martin Buchholz <martin@xemacs.org> 757 2000-10-04 Martin Buchholz <martin@xemacs.org>
2 758
3 * XEmacs 21.2.36 is released. 759 * XEmacs 21.2.36 is released.
760
761 2000-09-21 Andy Piper <andy@xemacs.org>
762
763 * glyphs-x.c (x_redisplay_widget): make sure non-structural
764 changes still involve copying the widget tree.
765 (update_widget_face): make sure a change is register in the widget
766 tree. Call update_tab_widget_face appropriately.
767 (update_tab_widget_face): ditto.
768 (x_tab_control_redisplay): make sure non-structural changes still
769 involve copying the widget tree.
4 770
5 2000-08-31 Daiki Ueno <ueno@unixuser.org> 771 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6 772
7 * lread.c (locate_file): Check the path element is non-nil. 773 * lread.c (locate_file): Check the path element is non-nil.
8 774
6188 (update_glyph_cachel_data): Call it. 6954 (update_glyph_cachel_data): Call it.
6189 6955
6190 * glyphs.h: Prototyped it. 6956 * glyphs.h: Prototyped it.
6191 6957
6192 * redisplay.c (add_glyph_rune): Call it. 6958 * redisplay.c (add_glyph_rune): Call it.
6193 (redisplay_window): Reset glyphs cachels when frame faces has 6959 (redisplay_window): Reset glyphs cachels when frame faces have
6194 changed, thus forcing recomputation of built-in border glyphs. 6960 changed, thus forcing recomputation of built-in border glyphs.
6195 6961
6196 2000-01-30 Martin Buchholz <martin@xemacs.org> 6962 2000-01-30 Martin Buchholz <martin@xemacs.org>
6197 6963
6198 * Makefile.in.in: Make portable dumper and purify play well together. 6964 * Makefile.in.in: Make portable dumper and purify play well together.