Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5125:b5df3737028a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 01:58:04 -0600 |
parents | 623d57b7fbe8 9624523604c5 |
children | 2a462149bd6a |
comparison
equal
deleted
inserted
replaced
5124:623d57b7fbe8 | 5125:b5df3737028a |
---|---|
230 * window.c (allocate_window): | 230 * window.c (allocate_window): |
231 * window.c (new_window_mirror): | 231 * window.c (new_window_mirror): |
232 * window.c (make_dummy_parent): | 232 * window.c (make_dummy_parent): |
233 Create a simpler interface (ALLOC_LCRECORD) for allocating | 233 Create a simpler interface (ALLOC_LCRECORD) for allocating |
234 | 234 |
235 2010-02-19 Aidan Kehoe <kehoea@parhasard.net> | |
236 | |
237 * fns.c (split_string_by_ichar_1): | |
238 Use better types (e.g., not an Ichar for a buffer size) in this | |
239 function when dealing with ESCAPECHAR. | |
240 | |
241 2010-02-19 Aidan Kehoe <kehoea@parhasard.net> | |
242 | |
243 * fns.c (mapcarX): | |
244 Correct this function, discarding multiple values when one | |
245 SEQUENCE is supplied, choosing a better label name. Correct the | |
246 comment describing the SOME_OR_EVERY argument. | |
247 | |
248 2010-02-12 Aidan Kehoe <kehoea@parhasard.net> | |
249 | |
250 * syswindows.h: | |
251 Remove the PDWORD_PTR typedef; it's not used in | |
252 intl-auto-encap-win32.h , and it breaks the build with Visual C++ | |
253 2005 Express Edition and a 2005 copy of the SDK. | |
254 | |
255 2010-02-10 Ben Wing <ben@xemacs.org> | |
256 | |
257 * text.h: | |
258 * text.h (VALIDATE_IBYTEPTR_BACKWARD): | |
259 * text.h (EI_ALLOC): | |
260 * text.h (eicpyout_alloca_fmt): | |
261 * text.h (eifree): | |
262 * text.h (eito_alloca): | |
263 * text.h (eito_external): | |
264 * text.h (DFC_LISP_STRING_USE_CONVERTED_DATA): | |
265 * text.h (EXTERNAL_TO_ITEXT): | |
266 (1) Fix up long comment about the internal-external conversion | |
267 macros to reflect the recent changes to the macros. | |
268 | |
269 (2) Reformat the macros in text.h so they line up properly. | |
270 | |
271 2010-02-09 Jerry James <james@xemacs.org> | |
272 | |
273 * s/hpux11-shr.h: Add license information from Marcus Thiessel. | |
274 | |
275 2010-02-09 Ben Wing <ben@xemacs.org> | |
276 | |
277 * dynarr.c (Dynarr_insert_many): | |
278 * dynarr.c (Dynarr_delete_many): | |
279 * emacs.c: | |
280 * emacs.c (pause_so_user_can_read_messages): | |
281 * emacs.c (Fkill_emacs): | |
282 * emacs.c (guts_of_fatal_error_signal): | |
283 * lisp.h: | |
284 * lisp.h (INLINE_ERROR_CHECK_ARGS): | |
285 * lisp.h (Dynarr_set_length_1): | |
286 * lisp.h (Dynarr_set_length): | |
287 * lisp.h (Dynarr_pop): | |
288 Add ERROR_CHECK_DYNARR, dynarr_checking_assert(). Use it. | |
289 Sort existing error-check categories in lisp.h, remove most of the | |
290 (unused) assert variations from most categories. Add a long | |
291 comment about reorganizing the system by categories and | |
292 subcategories. Create ERROR_CHECK_ANY if any error-checking | |
293 categories defined, and use it in emacs.c to define | |
294 USER_IS_DEVELOPING_XEMACS. | |
295 | |
296 In emacs.c and cmdloop.c, don't display a message at early | |
297 shutdown or fatal shutdown when on Cygwin, only Windows native -- | |
298 Cygwin has a working stderr that shows error output. | |
299 | |
300 Update comment in Dynarr_verify_pos_atp(). | |
301 | |
302 | |
303 2010-02-09 Ben Wing <ben@xemacs.org> | |
304 | |
305 * syswindows.h: | |
306 Create a long comment about build flags such as WIN32_NATIVE, | |
307 HAVE_MS_WINDOWS. | |
308 | |
309 2010-02-09 Ben Wing <ben@xemacs.org> | |
310 | |
311 * lisp.h: | |
312 Disabled inline assert should just use disabled_assert() | |
313 not disabled_assert_at_line() otherwise you get compile errors. | |
314 (Hasn't bitten us only because no one is currently using inline | |
315 asserts -- but this is different in the Unicode-internal repo.) | |
316 | |
317 2010-02-08 Ben Wing <ben@xemacs.org> | |
318 | |
319 * charset.h: | |
320 * charset.h (Fget_charset): Declare some fake charset defs so | |
321 we can compile when non-Mule. | |
322 * depend: Rebuild. | |
323 | |
324 2010-02-08 Ben Wing <ben@xemacs.org> | |
325 | |
326 * event-Xt.c: | |
327 Add comment about simultaneous window-system consoles/devices. | |
328 | |
329 2010-02-08 Ben Wing <ben@xemacs.org> | |
330 | |
331 * alloc.c: | |
332 Add prototypes for debugging functions. | |
333 | |
334 * alloc.c (compact_string_chars): Make static. | |
335 | |
336 * console-x.c (x_initially_selected_for_input): | |
337 * console-x.h: | |
338 * console-x.h (X_ERROR_OCCURRED): | |
339 Delete x_has_keysym() prototype from console-x.c, move to console-x.h. | |
340 | |
341 * eval.c (multiple_value_call): | |
342 Real bug: Fix shadowing local vars. | |
343 | |
344 * event-unixoid.c (read_event_from_tty_or_stream_desc): | |
345 * event-unixoid.c (signal_fake_event): | |
346 * lread.c (check_if_suppressed): | |
347 * strftime.c (strftime): | |
348 Fix stupid global shadowing warnings. | |
349 | |
350 * event-unixoid.c (signal_fake_event): | |
351 * event-unixoid.c (drain_signal_event_pipe): | |
352 Use Rawbyte, not char. | |
353 | |
354 * frame.h: Remove old prototype. | |
355 | |
356 * gc.c: | |
357 * gc.c (show_gc_cursor_and_message): | |
358 * gc.c (remove_gc_cursor_and_message): | |
359 * gc.c (gc_prepare): | |
360 * gc.c (gc_finish_mark): | |
361 * gc.c (gc_finalize): | |
362 * gc.c (gc_sweep): | |
363 * gc.c (gc_finish): | |
364 * gc.c (gc_suspend_mark_phase): | |
365 * gc.c (gc_resume_mark_phase): | |
366 * gc.c (gc_mark): | |
367 * gc.c (gc_resume_mark): | |
368 Make fns static. | |
369 | |
370 * glyphs-eimage.c (gif_decode_error_string): | |
371 Fix non-prototype. | |
372 | |
373 * lisp.h: | |
374 Hack around global shadowing warnings involving `index'. | |
375 | |
376 * intl-win32.c (wcsncpy): | |
377 * number-gmp.c (bigfloat_to_string): | |
378 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | |
379 * specifier.c (call_charset_predicate): | |
380 * specifier.c (DEFINE_SPECIFIER_TAG_FROB): | |
381 Declarations cannot follow statements in standard C. | |
382 | |
383 * search.c (search_buffer): Fix local shadowing warnings. | |
384 | |
385 2010-02-08 Ben Wing <ben@xemacs.org> | |
386 | |
387 * faces.c: | |
388 * faces.c (face_property_matching_instance): | |
389 * faces.c (ensure_face_cachel_contains_charset): | |
390 * faces.h (FACE_FONT): | |
391 * lisp.h: | |
392 * lisp.h (enum font_specifier_matchspec_stages): | |
393 * objects-msw.c: | |
394 * objects-msw.c (mswindows_font_spec_matches_charset): | |
395 * objects-msw.c (mswindows_find_charset_font): | |
396 * objects-tty.c: | |
397 * objects-tty.c (tty_font_spec_matches_charset): | |
398 * objects-tty.c (tty_find_charset_font): | |
399 * objects-xlike-inc.c: | |
400 * objects-xlike-inc.c (XFUN): | |
401 * objects-xlike-inc.c (xft_find_charset_font): | |
402 * objects.c: | |
403 * objects.c (font_instantiate): | |
404 * objects.c (FROB): | |
405 * specifier.c: | |
406 * specifier.c (charset_matches_specifier_tag_set_p): | |
407 * specifier.c (call_charset_predicate): | |
408 * specifier.c (define_specifier_tag): | |
409 * specifier.c (Fdefine_specifier_tag): | |
410 * specifier.c (setup_charset_initial_specifier_tags): | |
411 * specifier.c (specifier_instance_from_inst_list): | |
412 * specifier.c (FROB): | |
413 * specifier.c (vars_of_specifier): | |
414 * specifier.h: | |
415 Rename the specifier-font-matching stages in preparation for | |
416 eliminating shadowed warnings, some other related fixes from | |
417 ben-unicode-internal. | |
418 | |
419 1. Rename raw enums: | |
420 initial -> STAGE_INITIAL | |
421 final -> STAGE_FINAL | |
422 impossible -> NUM_MATCHSPEC_STAGES | |
423 2. Move `enum font_specifier_matchspec_stages' from | |
424 specifier.h to lisp.h. | |
425 3. Whitespace changes to match coding standards. | |
426 4. Eliminate unused second argument STAGE in charset predicates | |
427 that don't use it -- the code that calls the charset predicates | |
428 is now smart enough to supply the right number of arguments | |
429 automatically. | |
430 5. Add some long(ish) comments and authorial notices, esp. in | |
431 objects.c. | |
432 6. In specifier.c, change Vcharset_tag_lists from a vector over | |
433 leading bytes to a hash table over charsets. This change is | |
434 unnecessary currently but doesn't hurt and will be required | |
435 when we merge in Unicode-internal. | |
436 7. In specifier.c, extract out the code that calls charset predicates | |
437 into a function call_charset_predicate(). | |
438 | |
439 2010-02-08 Ben Wing <ben@xemacs.org> | |
440 | |
441 * emacs.c: | |
442 * emacs.c (assert_failed): | |
443 Fix comments about when inhibit_non_essential_printing_operations | |
444 is set and how used. Increment/decrement in assert_failed rather | |
445 than just setting/resetting to avoid hosing things in case we're | |
446 called when the value is already non-zero. Similarly increment/ | |
447 decrement in_assert_failed. | |
448 | |
449 * gc.c (gc_prepare): | |
450 * gc.c (gc_finish): | |
451 Increment/decrement inhibit_non_essential_printing_operations | |
452 rather than setting/resetting. | |
453 | |
454 * print.c: | |
455 * print.c (debug_out): | |
456 * print.c (write_string_to_alternate_debugging_output): | |
457 * print.c (restore_inhibit_non_essential_conversion_operations): | |
458 * print.c (debug_print_exit): | |
459 * print.c (debug_print_enter): | |
460 * print.c (debug_prin1): | |
461 * print.c (debug_p4): | |
462 * print.c (ext_print_begin): | |
463 * print.c (ext_print_end): | |
464 * print.c (external_debug_print): | |
465 * print.c (debug_p3): | |
466 * print.c (debug_backtrace): | |
467 * print.c (debug_short_backtrace): | |
468 * print.c (vars_of_print): | |
469 Lots of cleanup. Fix debug_out() so it binds | |
470 inhibit_non_essential_printing_operations around it to ensure no | |
471 conversion. Remove many other places that set the same var since | |
472 the lower-level functions now all do it. A few other places, add | |
473 inhibit_non_essential_printing_operations bindings.Extract the | |
474 code out that sets up and resets lots of bindings in debug_prin1() | |
475 so that debug_backtrace() can use it, and rewrite it to use the | |
476 new STORE_VOID_IN_LISP() rather than having to have a single | |
477 static opaque structure holding all the bindings (and not handling | |
478 reentrancy). Fix raw `char' to be `CIbyte' in the declaration of | |
479 `alternate_do_string'. | |
480 | |
481 * signal.c (check_what_happened): | |
482 Fix bug: Don't try to check for QUIT when | |
483 inhibit_non_essential_printing_operations or we may screw things | |
484 up if QUIT happens during debug printing. | |
485 | |
486 2010-02-08 Ben Wing <ben@xemacs.org> | |
487 | |
488 * casetab.c (compute_canon_mapper): | |
489 * casetab.c (initialize_identity_mapper): | |
490 * casetab.c (compute_up_or_eqv_mapper): | |
491 * casetab.c (recompute_case_table): | |
492 * casetab.c (set_case_table): | |
493 * chartab.c (copy_mapper): | |
494 * chartab.c (copy_char_table_range): | |
495 * chartab.c (get_range_char_table_1): | |
496 * console.c (find_nonminibuffer_frame_not_on_console_predicate): | |
497 * console.c (find_nonminibuffer_frame_not_on_console): | |
498 * console.c (nuke_all_console_slots): | |
499 * device.c: | |
500 * device.c (find_nonminibuffer_frame_not_on_device_predicate): | |
501 * device.c (find_nonminibuffer_frame_not_on_device): | |
502 * dialog-msw.c (dialog_proc): | |
503 * dialog-msw.c (handle_question_dialog_box): | |
504 * dialog-x.c (maybe_run_dbox_text_callback): | |
505 * eval.c: | |
506 * eval.c (safe_run_hook_trapping_problems_1): | |
507 * eval.c (safe_run_hook_trapping_problems): | |
508 * event-msw.c: | |
509 * event-msw.c (mswindows_wnd_proc): | |
510 * event-msw.c (mswindows_find_frame): | |
511 * faces.c (update_face_inheritance_mapper): | |
512 * frame-msw.c (mswindows_init_frame_1): | |
513 * frame-msw.c (mswindows_get_mouse_position): | |
514 * frame-msw.c (mswindows_get_frame_parent): | |
515 * glade.c (connector): | |
516 * glade.c (Fglade_xml_signal_connect): | |
517 * glade.c (Fglade_xml_signal_autoconnect): | |
518 * glade.c (Fglade_xml_textdomain): | |
519 * glyphs-msw.c (mswindows_subwindow_instantiate): | |
520 * glyphs-msw.c (mswindows_widget_instantiate): | |
521 * glyphs.c (check_instance_cache_mapper): | |
522 * glyphs.c (check_window_subwindow_cache): | |
523 * glyphs.c (check_image_instance_structure): | |
524 * gui-x.c (snarf_widget_value_mapper): | |
525 * gui-x.c (popup_selection_callback): | |
526 * gui-x.c (button_item_to_widget_value): | |
527 * keymap.c (map_keymap_mapper): | |
528 * keymap.c (Fmap_keymap): | |
529 * menubar-gtk.c (__torn_off_sir): | |
530 * menubar-gtk.c (__activate_menu): | |
531 * menubar-gtk.c (menu_convert): | |
532 * menubar-gtk.c (__generic_button_callback): | |
533 * menubar-gtk.c (menu_descriptor_to_widget_1): | |
534 * menubar-msw.c: | |
535 * menubar-msw.c (EMPTY_ITEM_ID): | |
536 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
537 * menubar-x.c (pre_activate_callback): | |
538 * menubar-x.c (command_builder_operate_menu_accelerator): | |
539 * menubar-x.c (command_builder_find_menu_accelerator): | |
540 * print.c (print_internal): | |
541 * process-unix.c (close_process_descs_mapfun): | |
542 * process.c (get_process_from_usid): | |
543 * process.c (init_process_io_handles): | |
544 * profile.c (sigprof_handler): | |
545 * profile.c (get_profiling_info_timing_maphash): | |
546 * profile.c (Fget_profiling_info): | |
547 * profile.c (set_profiling_info_timing_maphash): | |
548 * profile.c (mark_profiling_info_maphash): | |
549 * scrollbar-msw.c (mswindows_create_scrollbar_instance): | |
550 * scrollbar-msw.c (mswindows_free_scrollbar_instance): | |
551 * scrollbar-msw.c (mswindows_handle_scrollbar_event): | |
552 * specifier.c (recompute_cached_specifier_everywhere_mapfun): | |
553 * specifier.c (recompute_cached_specifier_everywhere): | |
554 * syntax.c (copy_to_mirrortab): | |
555 * syntax.c (copy_if_not_already_present): | |
556 * syntax.c (update_just_this_syntax_table): | |
557 * text.c (new_dfc_convert_now_damn_it): | |
558 * text.h (LISP_STRING_TO_EXTERNAL): | |
559 * tooltalk.c: | |
560 * tooltalk.c (tooltalk_message_callback): | |
561 * tooltalk.c (tooltalk_pattern_callback): | |
562 * tooltalk.c (Fcreate_tooltalk_message): | |
563 * tooltalk.c (Fcreate_tooltalk_pattern): | |
564 * ui-byhand.c (__generic_toolbar_callback): | |
565 * ui-byhand.c (generic_toolbar_insert_item): | |
566 * ui-byhand.c (__emacs_gtk_ctree_recurse_internal): | |
567 * ui-byhand.c (Fgtk_ctree_recurse): | |
568 * ui-gtk.c (__internal_callback_destroy): | |
569 * ui-gtk.c (__internal_callback_marshal): | |
570 * ui-gtk.c (Fgtk_signal_connect): | |
571 * ui-gtk.c (gtk_type_to_lisp): | |
572 * ui-gtk.c (lisp_to_gtk_type): | |
573 * ui-gtk.c (lisp_to_gtk_ret_type): | |
574 * lisp-disunion.h: | |
575 * lisp-disunion.h (NON_LVALUE): | |
576 * lisp-union.h: | |
577 * lisp.h (LISP_HASH): | |
578 Rename: | |
579 | |
580 LISP_TO_VOID -> STORE_LISP_IN_VOID | |
581 VOID_TO_LISP -> GET_LISP_FROM_VOID | |
582 | |
583 These new names are meant to clearly identify that the Lisp object | |
584 is the source and void the sink, and that they can't be used the | |
585 other way around -- they aren't exact opposites despite the old | |
586 names. The names are also important given the new functions | |
587 created just below. Also, clarify comments in lisp-union.h and | |
588 lisp-disunion.h about the use of the functions. | |
589 | |
590 * lisp.h: | |
591 New functions STORE_VOID_IN_LISP and GET_VOID_FROM_LISP. These | |
592 are different from the above in that the source is a void * | |
593 (previously, you had to use make_opaque_ptr()). | |
594 | |
595 * eval.c (restore_lisp_object): | |
596 * eval.c (record_unwind_protect_restoring_lisp_object): | |
597 * eval.c (struct restore_int): | |
598 * eval.c (restore_int): | |
599 * eval.c (record_unwind_protect_restoring_int): | |
600 * eval.c (free_pointer): | |
601 * eval.c (record_unwind_protect_freeing): | |
602 * eval.c (free_dynarr): | |
603 * eval.c (record_unwind_protect_freeing_dynarr): | |
604 * eval.c (unbind_to_1): | |
605 Use STORE_VOID_IN_LISP and GET_VOID_FROM_LISP to eliminate the | |
606 use of make_opaque_ptr() and mostly eliminate Lisp consing | |
607 entirely in the use of these various record_unwind_protect_* | |
608 functions as well as internal_bind_* (e.g. internal_bind_int). | |
609 | |
610 * tests.c: | |
611 * tests.c (Ftest_store_void_in_lisp): | |
612 * tests.c (syms_of_tests): | |
613 * tests.c (vars_of_tests): | |
614 Add an C-assert-style test to test STORE_VOID_IN_LISP and | |
615 GET_VOID_FROM_LISP to make sure the same value comes back that | |
616 was put in. | |
617 | |
618 2010-02-09 Vin Shelton <acs@xemacs.org> | |
619 | |
620 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | |
621 Declare hfont at start of a code block. | |
622 | |
623 * glyphs-eimage.c: Undefine and then redefine FAR around the jpeg | |
624 header. | |
625 | |
626 2010-02-08 Vin Shelton <acs@xemacs.org> | |
627 | |
628 * nt.c (open_unc_volume): lpRemoteName is an XELPTSTR. | |
629 | |
630 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | |
631 | |
632 * lisp.h (Dynarr_verify, Dynarr_verify_mod): | |
633 If ERROR_CHECK_STRUCTURES is not defined, cast the argument in | |
634 these two macros; fixes the g++ build. | |
635 | |
636 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | |
637 | |
638 * fileio.c (Finsert_file_contents_internal): | |
639 Only call format-decode if it has a function binding. | |
640 (build_annotations): Only call format-annotate-function if it has | |
641 a function binding; incidentally only calling #'car-less-than-car | |
642 if *it* has a function binding. | |
643 (syms_of_fileio): #'car-less-than-car and #'cdr-less-than-cdr are | |
644 now in Lisp. | |
645 | |
646 2010-02-07 Ben Wing <ben@xemacs.org> | |
647 | |
648 * fns.c: Qlist, Qstring mistakenly declared twice. | |
649 * fns.c (mapcarX): | |
650 (void) cast needed to avoid compile problem. | |
651 | |
652 2010-02-07 Ben Wing <ben@xemacs.org> | |
653 | |
654 * emacs.c (make_argc_argv): | |
655 Cast to Wexttext * to fix compile error. | |
656 | |
657 * nt.c (init_user_info): | |
658 Cast to CIbyte * to fix compile error. | |
659 | |
660 * nt.c (open_unc_volume): | |
661 To fix compile error, store pathname into an Extbyte * variable | |
662 then write into the dest, casting to LPTSTR. | |
663 | |
664 * emacs.c (debug_can_access_memory): | |
665 * fileio.c (Fmake_temp_name): | |
666 * fileio.c (a_write): | |
667 * fns.c: | |
668 * fns.c (check_losing_bytecode): | |
669 * fns.c (plists_differ): | |
670 * fns.c (internal_equal_trapping_problems): | |
671 * fns.c (base64_value_to_char): | |
672 * fns.c (base64_conversion_error): | |
673 * fns.c (STORE_BYTE): | |
674 * fns.c (vars_of_fns): | |
675 * lisp.h: | |
676 * nt.c (init_user_info): | |
677 * nt.c (mswindows_readdir): | |
678 * nt.c (mswindows_executable_type): | |
679 Replace raw `char *' or `unsigned char *' with characterized type -- | |
680 Rawbyte, Binbyte, Boolbyte, Ibyte or Ascbyte. This should fix at | |
681 least one real bug -- in a_write(), the "speedy insert" code that | |
682 checks for an unchanged region declared the file data read in as | |
683 char[] but then compared the value to an Ichar. Hence, any chars | |
684 in the range 128-255 would always appear changed -- in particular, | |
685 this algorithm would fail completely with binary data. | |
686 | |
687 | |
688 2010-02-07 Ben Wing <ben@xemacs.org> | |
689 | |
690 * fns.c (mapcarX): | |
691 C++ requires explicit cast to enum lrecord_type. | |
692 | |
693 2010-02-06 Ben Wing <ben@xemacs.org> | |
694 | |
695 * mule-wnnfns.c: | |
696 Convert file to utf-8. | |
697 | |
698 2010-02-03 Aidan Kehoe <kehoea@parhasard.net> | |
699 | |
700 * fns.c (mapcarX): | |
701 Accept a new argument, indicating whether the function is being | |
702 called from #'some or #'every. Implement it. | |
703 Discard any multiple values where that is appropriate. | |
704 (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap) | |
705 (Fmap_into): | |
706 Pass the new flag to mapcarX. | |
707 (Fsome, Fevery): Move these functions here from cl-extra.el; | |
708 implement them in terms of mapcarX. | |
709 (maplist): Discard multiple values where appropriate. | |
710 | |
711 2010-02-06 Ben Wing <ben@xemacs.org> | |
712 | |
713 * config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES. | |
714 * database.c: | |
715 * database.c (struct): | |
716 Use TRUST_NDBM_H_PROTOTYPES to determine whether to include ndbm.h | |
717 or to specify our own prototypes, in place of CYGWIN_HEADERS (or | |
718 more generally, any random list of systems). | |
719 * depend: Regenerate. | |
720 | |
721 2010-02-05 Ben Wing <ben@xemacs.org> | |
722 | |
723 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): | |
724 Cast pointer when storing value to avoid problems because some | |
725 store vars are Extbyte * and some are LPTSTR. | |
726 | |
727 2010-02-05 Jerry James <james@xemacs.org> | |
728 | |
729 * s/sco7.h: Add copyright and license header with the permission of | |
730 Ron Record, the author. | |
731 | |
732 2010-02-05 Ben Wing <ben@xemacs.org> | |
733 | |
734 * depend: | |
735 Regenerate. | |
736 * make-src-depend (PrintPatternDeps): | |
737 Remove refs to xgccache, no longer existent. | |
738 | |
739 * select-gtk.c (THIS_IS_GTK): | |
740 * select-gtk.c (gtk_decline_selection_request): | |
741 * select-x.c (THIS_IS_X): | |
742 * select-xlike-inc.c: | |
743 * select-xlike-inc.c (selection_data_to_lisp_data): | |
744 Rename PROCESSING_X_CODE to THIS_IS_X and PROCESSING_GTK_CODE to | |
745 THIS_SI_GTK for consistency with other xlike code. | |
746 | |
747 Rename select-xlike-inc.c from select-common.h, in keeping with | |
748 xlike terminology. | |
749 | |
750 2010-02-05 Ben Wing <ben@xemacs.org> | |
751 | |
752 * console-msw.c (write_string_to_mswindows_debugging_output): | |
753 * console-msw.c (Fmswindows_message_box): | |
754 * console-x.c (x_perhaps_init_unseen_key_defaults): | |
755 * console.c: | |
756 * database.c (dbm_get): | |
757 * database.c (dbm_put): | |
758 * database.c (dbm_remove): | |
759 * database.c (berkdb_get): | |
760 * database.c (berkdb_put): | |
761 * database.c (berkdb_remove): | |
762 * database.c (Fopen_database): | |
763 * device-gtk.c (gtk_init_device): | |
764 * device-msw.c (msprinter_init_device_internal): | |
765 * device-msw.c (msprinter_default_printer): | |
766 * device-msw.c (msprinter_init_device): | |
767 * device-msw.c (sync_printer_with_devmode): | |
768 * device-msw.c (Fmsprinter_select_settings): | |
769 * device-x.c (sanity_check_geometry_resource): | |
770 * device-x.c (Dynarr_add_validified_lisp_string): | |
771 * device-x.c (x_init_device): | |
772 * device-x.c (Fx_put_resource): | |
773 * device-x.c (Fx_valid_keysym_name_p): | |
774 * device-x.c (Fx_set_font_path): | |
775 * dialog-msw.c (push_lisp_string_as_unicode): | |
776 * dialog-msw.c (handle_directory_dialog_box): | |
777 * dialog-msw.c (handle_file_dialog_box): | |
778 * dialog-x.c (dbox_descriptor_to_widget_value): | |
779 * editfns.c (Fformat_time_string): | |
780 * editfns.c (Fencode_time): | |
781 * editfns.c (Fset_time_zone_rule): | |
782 * emacs.c (make_argc_argv): | |
783 * emacs.c (Fdump_emacs): | |
784 * emodules.c (emodules_load): | |
785 * eval.c: | |
786 * eval.c (maybe_signal_error_1): | |
787 * event-msw.c (Fdde_alloc_advise_item): | |
788 * event-msw.c (mswindows_dde_callback): | |
789 * event-msw.c (mswindows_wnd_proc): | |
790 * fileio.c (report_error_with_errno): | |
791 * fileio.c (Fsysnetunam): | |
792 * fileio.c (Fdo_auto_save): | |
793 * font-mgr.c (extract_fcapi_string): | |
794 * font-mgr.c (Ffc_config_app_font_add_file): | |
795 * font-mgr.c (Ffc_config_app_font_add_dir): | |
796 * font-mgr.c (Ffc_config_filename): | |
797 * frame-gtk.c (gtk_set_frame_text_value): | |
798 * frame-gtk.c (gtk_create_widgets): | |
799 * frame-msw.c (mswindows_init_frame_1): | |
800 * frame-msw.c (mswindows_set_title_from_ibyte): | |
801 * frame-msw.c (msprinter_init_frame_3): | |
802 * frame-x.c (x_set_frame_text_value): | |
803 * frame-x.c (x_set_frame_properties): | |
804 * frame-x.c (start_drag_internal_1): | |
805 * frame-x.c (x_cde_transfer_callback): | |
806 * frame-x.c (x_create_widgets): | |
807 * glyphs-eimage.c (my_jpeg_output_message): | |
808 * glyphs-eimage.c (jpeg_instantiate): | |
809 * glyphs-eimage.c (gif_instantiate): | |
810 * glyphs-eimage.c (png_instantiate): | |
811 * glyphs-eimage.c (tiff_instantiate): | |
812 * glyphs-gtk.c (xbm_instantiate_1): | |
813 * glyphs-gtk.c (gtk_xbm_instantiate): | |
814 * glyphs-gtk.c (gtk_xpm_instantiate): | |
815 * glyphs-gtk.c (gtk_xface_instantiate): | |
816 * glyphs-gtk.c (cursor_font_instantiate): | |
817 * glyphs-gtk.c (gtk_redisplay_widget): | |
818 * glyphs-gtk.c (gtk_widget_instantiate_1): | |
819 * glyphs-gtk.c (gtk_add_tab_item): | |
820 * glyphs-msw.c (mswindows_xpm_instantiate): | |
821 * glyphs-msw.c (bmp_instantiate): | |
822 * glyphs-msw.c (mswindows_resource_instantiate): | |
823 * glyphs-msw.c (xbm_instantiate_1): | |
824 * glyphs-msw.c (mswindows_xbm_instantiate): | |
825 * glyphs-msw.c (mswindows_xface_instantiate): | |
826 * glyphs-msw.c (mswindows_redisplay_widget): | |
827 * glyphs-msw.c (mswindows_widget_instantiate): | |
828 * glyphs-msw.c (add_tree_item): | |
829 * glyphs-msw.c (add_tab_item): | |
830 * glyphs-msw.c (mswindows_combo_box_instantiate): | |
831 * glyphs-msw.c (mswindows_widget_query_string_geometry): | |
832 * glyphs-x.c (x_locate_pixmap_file): | |
833 * glyphs-x.c (xbm_instantiate_1): | |
834 * glyphs-x.c (x_xbm_instantiate): | |
835 * glyphs-x.c (extract_xpm_color_names): | |
836 * glyphs-x.c (x_xpm_instantiate): | |
837 * glyphs-x.c (x_xface_instantiate): | |
838 * glyphs-x.c (autodetect_instantiate): | |
839 * glyphs-x.c (safe_XLoadFont): | |
840 * glyphs-x.c (cursor_font_instantiate): | |
841 * glyphs-x.c (x_redisplay_widget): | |
842 * glyphs-x.c (Fchange_subwindow_property): | |
843 * glyphs-x.c (x_widget_instantiate): | |
844 * glyphs-x.c (x_tab_control_redisplay): | |
845 * glyphs.c (pixmap_to_lisp_data): | |
846 * gui-x.c (menu_separator_style_and_to_external): | |
847 * gui-x.c (add_accel_and_to_external): | |
848 * gui-x.c (button_item_to_widget_value): | |
849 * hpplay.c (player_error_internal): | |
850 * hpplay.c (play_sound_file): | |
851 * hpplay.c (play_sound_data): | |
852 * intl.c (Fset_current_locale): | |
853 * lisp.h: | |
854 * menubar-gtk.c (gtk_xemacs_set_accel_keys): | |
855 * menubar-msw.c (populate_menu_add_item): | |
856 * menubar-msw.c (populate_or_checksum_helper): | |
857 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
858 * nt.c (init_user_info): | |
859 * nt.c (get_long_basename): | |
860 * nt.c (nt_get_resource): | |
861 * nt.c (init_mswindows_environment): | |
862 * nt.c (get_cached_volume_information): | |
863 * nt.c (mswindows_readdir): | |
864 * nt.c (read_unc_volume): | |
865 * nt.c (mswindows_stat): | |
866 * nt.c (mswindows_getdcwd): | |
867 * nt.c (mswindows_executable_type): | |
868 * nt.c (Fmswindows_short_file_name): | |
869 * ntplay.c (nt_play_sound_file): | |
870 * objects-gtk.c: | |
871 * objects-gtk.c (gtk_valid_color_name_p): | |
872 * objects-gtk.c (gtk_initialize_font_instance): | |
873 * objects-gtk.c (gtk_font_list): | |
874 * objects-msw.c (font_enum_callback_2): | |
875 * objects-msw.c (parse_font_spec): | |
876 * objects-x.c (x_parse_nearest_color): | |
877 * objects-x.c (x_valid_color_name_p): | |
878 * objects-x.c (x_initialize_font_instance): | |
879 * objects-x.c (x_font_instance_truename): | |
880 * objects-x.c (x_font_list): | |
881 * objects-xlike-inc.c (XFUN): | |
882 * objects-xlike-inc.c (xft_find_charset_font): | |
883 * process-nt.c (mswindows_report_winsock_error): | |
884 * process-nt.c (nt_create_process): | |
885 * process-nt.c (get_internet_address): | |
886 * process-nt.c (nt_open_network_stream): | |
887 * process-unix.c: | |
888 * process-unix.c (allocate_pty): | |
889 * process-unix.c (get_internet_address): | |
890 * process-unix.c (unix_canonicalize_host_name): | |
891 * process-unix.c (unix_open_network_stream): | |
892 * realpath.c: | |
893 * select-common.h (lisp_data_to_selection_data): | |
894 * select-gtk.c (symbol_to_gtk_atom): | |
895 * select-gtk.c (atom_to_symbol): | |
896 * select-msw.c (symbol_to_ms_cf): | |
897 * select-msw.c (mswindows_register_selection_data_type): | |
898 * select-x.c (symbol_to_x_atom): | |
899 * select-x.c (x_atom_to_symbol): | |
900 * select-x.c (hack_motif_clipboard_selection): | |
901 * select-x.c (Fx_store_cutbuffer_internal): | |
902 * sound.c (Fplay_sound_file): | |
903 * sound.c (Fplay_sound): | |
904 * sound.h (sound_perror): | |
905 * sysdep.c: | |
906 * sysdep.c (qxe_allocating_getcwd): | |
907 * sysdep.c (qxe_execve): | |
908 * sysdep.c (copy_in_passwd): | |
909 * sysdep.c (qxe_getpwnam): | |
910 * sysdep.c (qxe_ctime): | |
911 * sysdll.c (dll_open): | |
912 * sysdll.c (dll_function): | |
913 * sysdll.c (dll_variable): | |
914 * sysdll.c (search_linked_libs): | |
915 * sysdll.c (dll_error): | |
916 * sysfile.h: | |
917 * sysfile.h (PATHNAME_CONVERT_OUT_TSTR): | |
918 * sysfile.h (PATHNAME_CONVERT_OUT_UTF_8): | |
919 * sysfile.h (PATHNAME_CONVERT_OUT): | |
920 * sysfile.h (LISP_PATHNAME_CONVERT_OUT): | |
921 * syswindows.h (ITEXT_TO_TSTR): | |
922 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): | |
923 * syswindows.h (TSTR_TO_LOCAL_FILE_FORMAT): | |
924 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN): | |
925 * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR): | |
926 * text.h: | |
927 * text.h (eicpy_ext_len): | |
928 * text.h (enum new_dfc_src_type): | |
929 * text.h (EXTERNAL_TO_ITEXT): | |
930 * text.h (GET_STRERROR): | |
931 * tooltalk.c (check_status): | |
932 * tooltalk.c (Fadd_tooltalk_message_arg): | |
933 * tooltalk.c (Fadd_tooltalk_pattern_attribute): | |
934 * tooltalk.c (Fadd_tooltalk_pattern_arg): | |
935 * win32.c (tstr_to_local_file_format): | |
936 * win32.c (mswindows_lisp_error_1): | |
937 * win32.c (mswindows_report_process_error): | |
938 * win32.c (Fmswindows_shell_execute): | |
939 * win32.c (mswindows_read_link_1): | |
940 | |
941 Changes involving external/internal format conversion, | |
942 mostly code cleanup and renaming. | |
943 | |
944 1. Eliminate the previous macros like LISP_STRING_TO_EXTERNAL | |
945 that stored its result in a parameter. The new version of | |
946 LISP_STRING_TO_EXTERNAL returns its result through the | |
947 return value, same as the previous NEW_LISP_STRING_TO_EXTERNAL. | |
948 Use the new-style macros throughout the code. | |
949 2. Rename C_STRING_TO_EXTERNAL and friends to ITEXT_TO_EXTERNAL, | |
950 in keeping with overall naming rationalization involving | |
951 Itext and related types. | |
952 | |
953 Macros involved in previous two: | |
954 | |
955 EXTERNAL_TO_C_STRING -> EXTERNAL_TO_ITEXT | |
956 EXTERNAL_TO_C_STRING_MALLOC -> EXTERNAL_TO_ITEXT_MALLOC | |
957 SIZED_EXTERNAL_TO_C_STRING -> SIZED_EXTERNAL_TO_ITEXT | |
958 SIZED_EXTERNAL_TO_C_STRING_MALLOC -> SIZED_EXTERNAL_TO_ITEXT_MALLOC | |
959 C_STRING_TO_EXTERNAL -> ITEXT_TO_EXTERNAL | |
960 C_STRING_TO_EXTERNAL_MALLOC -> ITEXT_TO_EXTERNAL_MALLOC | |
961 LISP_STRING_TO_EXTERNAL | |
962 LISP_STRING_TO_EXTERNAL_MALLOC | |
963 LISP_STRING_TO_TSTR | |
964 C_STRING_TO_TSTR -> ITEXT_TO_TSTR | |
965 TSTR_TO_C_STRING -> TSTR_TO_ITEXT | |
966 | |
967 The following four still return their values through parameters, | |
968 since they have more than one value to return: | |
969 | |
970 C_STRING_TO_SIZED_EXTERNAL -> ITEXT_TO_SIZED_EXTERNAL | |
971 LISP_STRING_TO_SIZED_EXTERNAL | |
972 C_STRING_TO_SIZED_EXTERNAL_MALLOC -> ITEXT_TO_SIZED_EXTERNAL_MALLOC | |
973 LISP_STRING_TO_SIZED_EXTERNAL_MALLOC | |
974 | |
975 Sometimes additional casts had to be inserted, since the old | |
976 macros played strange games and completely defeated the type system | |
977 of the store params. | |
978 3. Rewrite many places where direct calls to TO_EXTERNAL_FORMAT | |
979 occurred with calls to one of the convenience macros listed above, | |
980 or to make_extstring(). | |
981 4. Eliminate SIZED_C_STRING macros (they were hardly used, anyway) | |
982 and use a direct call to TO_EXTERNAL_FORMAT or TO_INTERNAL_FORMAT. | |
983 4. Use LISP_PATHNAME_CONVERT_OUT in many places instead of something | |
984 like LISP_STRING_TO_EXTERNAL(..., Qfile_name). | |
985 5. Eliminate some temporary variables that are no longer necessary | |
986 now that we return a value rather than storing it into a variable. | |
987 6. Some Mule-izing in database.c. | |
988 7. Error functions: | |
989 -- A bit of code cleanup in maybe_signal_error_1. | |
990 -- Eliminate report_file_type_error; it's just an alias for | |
991 signal_error_2 with params in a different order. | |
992 -- Fix some places in the hostname-handling code that directly | |
993 inserted externally-retrieved error strings into the | |
994 supposed ASCII "reason" param instead of doing the right thing | |
995 and sticking text descriptive of what was going on in "reason" | |
996 and putting the external message in a frob. | |
997 8. Use Ascbyte instead of CIbyte in process-unix.c and maybe one | |
998 or two other places. | |
999 9. Some code cleanup in copy_in_passwd() in sysdep.c. | |
1000 10. Fix a real bug due to accidental variable shadowing in | |
1001 tstr_to_local_file_format() in win32.c. | |
1002 | |
1003 2010-02-05 Ben Wing <ben@xemacs.org> | |
1004 | |
1005 * lisp.h: | |
1006 * lisp.h (staticpro_nodump_1): | |
1007 Define staticpro_1 and staticpro_nodump_1 when not XEMACS_DEBUG. | |
1008 | |
1009 * symbols.c (defsymbol_massage_name_1): | |
1010 * symbols.c (defsymbol_massage_multiword_predicate): | |
1011 Cosmetic fixes. | |
1012 | |
1013 2010-02-05 Ben Wing <ben@xemacs.org> | |
1014 | |
1015 * bytecode.c (bytecode_assert): | |
1016 Use 0 instead of x in disabled_assert calls to avoid errors due | |
1017 to using undefined vars/params (they are defined only when | |
1018 ERROR_CHECK_BYTE_CODE, which also turns on/off the asserts). | |
1019 | |
1020 2010-02-04 Ben Wing <ben@xemacs.org> | |
1021 | |
1022 * alloc.c (release_breathing_space): | |
1023 * alloc.c (resize_string): | |
1024 * alloc.c (sweep_lcrecords_1): | |
1025 * alloc.c (SWEEP_FIXED_TYPE_BLOCK_1): | |
1026 * alloc.c (ADDITIONAL_FREE_compiled_function): | |
1027 * alloc.c (compact_string_chars): | |
1028 * alloc.c (ADDITIONAL_FREE_string): | |
1029 * alloc.c (sweep_strings): | |
1030 * alloca.c (xemacs_c_alloca): | |
1031 * alsaplay.c (alsa_play_sound_file): | |
1032 * buffer.c (init_initial_directory): | |
1033 * buffer.h: | |
1034 * buffer.h (BUFFER_FREE): | |
1035 * console-stream.c (stream_delete_console): | |
1036 * console-tty.c (free_tty_console_struct): | |
1037 * data.c (Fnumber_to_string): | |
1038 * device-gtk.c (gtk_init_device): | |
1039 * device-gtk.c (free_gtk_device_struct): | |
1040 * device-gtk.c (gtk_delete_device): | |
1041 * device-msw.c (mswindows_delete_device): | |
1042 * device-msw.c (msprinter_delete_device): | |
1043 * device-tty.c (free_tty_device_struct): | |
1044 * device-tty.c (tty_delete_device): | |
1045 * device-x.c (x_init_device): | |
1046 * device-x.c (free_x_device_struct): | |
1047 * device-x.c (x_delete_device): | |
1048 * dialog-msw.c (handle_directory_dialog_box): | |
1049 * dialog-x.c (dbox_descriptor_to_widget_value): | |
1050 * dired-msw.c (Fmswindows_insert_directory): | |
1051 * dired.c (free_user_cache): | |
1052 * dired.c (user_name_completion_unwind): | |
1053 * doc.c (unparesseuxify_doc_string): | |
1054 * doc.c (Fsubstitute_command_keys): | |
1055 * doprnt.c (emacs_doprnt_1): | |
1056 * dumper.c (pdump_load_finish): | |
1057 * dumper.c (pdump_file_free): | |
1058 * dumper.c (pdump_file_unmap): | |
1059 * dynarr.c: | |
1060 * dynarr.c (Dynarr_free): | |
1061 * editfns.c (uncache_home_directory): | |
1062 * editfns.c (Fset_time_zone_rule): | |
1063 * elhash.c: | |
1064 * elhash.c (pdump_reorganize_hash_table): | |
1065 * elhash.c (maphash_unwind): | |
1066 * emacs.c (make_arg_list_1): | |
1067 * emacs.c (free_argc_argv): | |
1068 * emacs.c (sort_args): | |
1069 * emacs.c (Frunning_temacs_p): | |
1070 * emodules.c (attempt_module_delete): | |
1071 * eval.c (free_pointer): | |
1072 * event-Xt.c (unselect_filedesc): | |
1073 * event-Xt.c (emacs_Xt_select_process): | |
1074 * event-gtk.c (unselect_filedesc): | |
1075 * event-gtk.c (dragndrop_data_received): | |
1076 * event-msw.c (winsock_closer): | |
1077 * event-msw.c (mswindows_dde_callback): | |
1078 * event-msw.c (mswindows_wnd_proc): | |
1079 * event-stream.c (finalize_command_builder): | |
1080 * event-stream.c (free_command_builder): | |
1081 * extents.c (free_gap_array): | |
1082 * extents.c (free_extent_list): | |
1083 * extents.c (free_soe): | |
1084 * extents.c (extent_fragment_delete): | |
1085 * extents.c (extent_priority_sort_function): | |
1086 * file-coding.c (make_coding_system_1): | |
1087 * file-coding.c (coding_finalizer): | |
1088 * file-coding.c (set_coding_stream_coding_system): | |
1089 * file-coding.c (chain_finalize_coding_stream_1): | |
1090 * file-coding.c (chain_finalize): | |
1091 * file-coding.c (free_detection_state): | |
1092 * file-coding.c (coding_category_symbol_to_id): | |
1093 * fileio.c: | |
1094 * fileio.c (Ffile_name_directory): | |
1095 * fileio.c (if): | |
1096 * fileio.c (Ffile_symlink_p): | |
1097 * filelock.c (FREE_LOCK_INFO): | |
1098 * filelock.c (current_lock_owner): | |
1099 * font-mgr.c (Ffc_name_unparse): | |
1100 * font-mgr.c (Ffc_pattern_duplicate): | |
1101 * frame-gtk.c (gtk_delete_frame): | |
1102 * frame-msw.c (mswindows_delete_frame): | |
1103 * frame-msw.c (msprinter_delete_frame): | |
1104 * frame-x.c (x_cde_destroy_callback): | |
1105 * frame-x.c (Fcde_start_drag_internal): | |
1106 * frame-x.c (x_cde_transfer_callback): | |
1107 * frame-x.c (x_delete_frame): | |
1108 * frame.c (update_frame_title): | |
1109 * frame.c (Fset_frame_pointer): | |
1110 * gc.c (register_for_finalization): | |
1111 * gccache-gtk.c (free_gc_cache): | |
1112 * gccache-gtk.c (gc_cache_lookup): | |
1113 * gccache-x.c (free_gc_cache): | |
1114 * gccache-x.c (gc_cache_lookup): | |
1115 * glyphs-eimage.c: | |
1116 * glyphs-eimage.c (jpeg_instantiate_unwind): | |
1117 * glyphs-eimage.c (gif_instantiate_unwind): | |
1118 * glyphs-eimage.c (png_instantiate_unwind): | |
1119 * glyphs-eimage.c (png_instantiate): | |
1120 * glyphs-eimage.c (tiff_instantiate_unwind): | |
1121 * glyphs-gtk.c (convert_EImage_to_GDKImage): | |
1122 * glyphs-gtk.c (gtk_finalize_image_instance): | |
1123 * glyphs-gtk.c (gtk_init_image_instance_from_eimage): | |
1124 * glyphs-gtk.c (gtk_xpm_instantiate): | |
1125 * glyphs-msw.c (convert_EImage_to_DIBitmap): | |
1126 * glyphs-msw.c (mswindows_init_image_instance_from_eimage): | |
1127 * glyphs-msw.c (mswindows_initialize_image_instance_mask): | |
1128 * glyphs-msw.c (xpm_to_eimage): | |
1129 * glyphs-msw.c (mswindows_xpm_instantiate): | |
1130 * glyphs-msw.c (xbm_create_bitmap_from_data): | |
1131 * glyphs-msw.c (mswindows_finalize_image_instance): | |
1132 * glyphs-x.c (convert_EImage_to_XImage): | |
1133 * glyphs-x.c (x_finalize_image_instance): | |
1134 * glyphs-x.c (x_init_image_instance_from_eimage): | |
1135 * glyphs-x.c (x_xpm_instantiate): | |
1136 * gui-x.c (free_popup_widget_value_tree): | |
1137 * hash.c (free_hash_table): | |
1138 * hash.c (grow_hash_table): | |
1139 * hash.c (pregrow_hash_table_if_necessary): | |
1140 * imgproc.c (build_EImage_quantable): | |
1141 * insdel.c (uninit_buffer_text): | |
1142 * intl-win32.c (convert_multibyte_to_internal_malloc): | |
1143 * intl.c: | |
1144 * intl.c (Fset_current_locale): | |
1145 * keymap.c: | |
1146 * keymap.c (where_is_recursive_mapper): | |
1147 * keymap.c (where_is_internal): | |
1148 * lisp.h: | |
1149 * lisp.h (xfree): | |
1150 * lstream.c (Lstream_close): | |
1151 * lstream.c (resizing_buffer_closer): | |
1152 * mule-coding.c: | |
1153 * mule-coding.c (iso2022_finalize_detection_state): | |
1154 * nt.c: | |
1155 * nt.c (mswindows_get_long_filename): | |
1156 * nt.c (nt_get_resource): | |
1157 * nt.c (init_mswindows_environment): | |
1158 * nt.c (get_cached_volume_information): | |
1159 * nt.c (mswindows_opendir): | |
1160 * nt.c (mswindows_closedir): | |
1161 * nt.c (mswindows_readdir): | |
1162 * nt.c (mswindows_stat): | |
1163 * nt.c (mswindows_getdcwd): | |
1164 * nt.c (Fmswindows_long_file_name): | |
1165 * ntplay.c (nt_play_sound_file): | |
1166 * ntplay.c (play_sound_data_1): | |
1167 * number-gmp.c (gmp_free): | |
1168 * number-gmp.c (init_number_gmp): | |
1169 * number-mp.c (bignum_to_string): | |
1170 * number-mp.c (BIGNUM_TO_TYPE): | |
1171 * number.c (bignum_print): | |
1172 * number.c (bignum_convfree): | |
1173 * number.c (ratio_print): | |
1174 * number.c (bigfloat_print): | |
1175 * number.c (bigfloat_finalize): | |
1176 * objects-gtk.c (gtk_finalize_color_instance): | |
1177 * objects-gtk.c (gtk_finalize_font_instance): | |
1178 * objects-msw.c (mswindows_finalize_color_instance): | |
1179 * objects-msw.c (mswindows_finalize_font_instance): | |
1180 * objects-tty.c (tty_finalize_color_instance): | |
1181 * objects-tty.c (tty_finalize_font_instance): | |
1182 * objects-tty.c (tty_font_list): | |
1183 * objects-x.c (x_finalize_color_instance): | |
1184 * objects-x.c (x_finalize_font_instance): | |
1185 * process.c: | |
1186 * process.c (finalize_process): | |
1187 * realpath.c: | |
1188 * redisplay.c (add_propagation_runes): | |
1189 * regex.c: | |
1190 * regex.c (xfree): | |
1191 * regex.c (REGEX_FREE_STACK): | |
1192 * regex.c (FREE_STACK_RETURN): | |
1193 * regex.c (regex_compile): | |
1194 * regex.c (regexec): | |
1195 * regex.c (regfree): | |
1196 * scrollbar-gtk.c (gtk_free_scrollbar_instance): | |
1197 * scrollbar-gtk.c (gtk_release_scrollbar_instance): | |
1198 * scrollbar-msw.c (mswindows_free_scrollbar_instance): | |
1199 * scrollbar-msw.c (unshow_that_mofo): | |
1200 * scrollbar-x.c (x_free_scrollbar_instance): | |
1201 * scrollbar-x.c (x_release_scrollbar_instance): | |
1202 * select-gtk.c (emacs_gtk_selection_handle): | |
1203 * select-msw.c (mswindows_own_selection): | |
1204 * select-x.c: | |
1205 * select-x.c (x_handle_selection_request): | |
1206 * select-x.c (unexpect_property_change): | |
1207 * select-x.c (x_handle_property_notify): | |
1208 * select-x.c (receive_incremental_selection): | |
1209 * select-x.c (x_get_window_property_as_lisp_data): | |
1210 * select-x.c (Fx_get_cutbuffer_internal): | |
1211 * specifier.c (finalize_specifier): | |
1212 * syntax.c (uninit_buffer_syntax_cache): | |
1213 * sysdep.c (qxe_allocating_getcwd): | |
1214 * sysdep.c (qxe_lstat): | |
1215 * sysdep.c (copy_in_passwd): | |
1216 * sysdep.c (qxe_ctime): | |
1217 * sysdep.c (closedir): | |
1218 * sysdep.c (DIRSIZ): | |
1219 * termcap.c (tgetent): | |
1220 * termcap.c (tprint): | |
1221 * tests.c (Ftest_data_format_conversion): | |
1222 * text.c (new_dfc_convert_copy_data): | |
1223 * text.h (eifree): | |
1224 * text.h (eito_alloca): | |
1225 * text.h (eito_external): | |
1226 * toolbar-msw.c (mswindows_output_toolbar): | |
1227 * ui-gtk.c (CONVERT_RETVAL): | |
1228 * ui-gtk.c (__allocate_object_storage): | |
1229 * unicode.c (free_from_unicode_table): | |
1230 * unicode.c (free_to_unicode_table): | |
1231 * unicode.c (free_charset_unicode_tables): | |
1232 * win32.c (mswindows_read_link_1): | |
1233 Rename: xfree(VAL, TYPE)->xfree(VAL) | |
1234 | |
1235 Command used: | |
1236 | |
1237 gr 'xfree *\((.*),.*\);' 'xfree (\1);' *.[ch] | |
1238 | |
1239 Followed by grepping for 'xfree.*,' and fixing anything left. | |
1240 | |
1241 Rationale: Having to specify the TYPE argument is annoying and | |
1242 error-prone. It was originally put in to work around warnings | |
1243 due to strict aliasing but years and years ago I rewrote it | |
1244 in a way that doesn't use the TYPE argument at all and no one | |
1245 has complained since then. (And anyway, XEmacs is far from | |
1246 ever being in compliance with strict aliasing and would require | |
1247 far-reaching changes to get that way.) | |
1248 | |
1249 2010-02-04 Ben Wing <ben@xemacs.org> | |
1250 | |
1251 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): | |
1252 * emacs.c (main_1): | |
1253 Restore old definition of SHEBANG_EXE_PROGNAME_LENGTH; not possible | |
1254 to ANSI-concatenate wide and narrow strings. | |
1255 * print.c (write_msg_istring): | |
1256 * print.c (write_msg_cistring): | |
1257 * print.c (write_msg_ascstring): | |
1258 Can't return a value in a void-declared function. | |
1259 | |
1260 2010-02-04 Ben Wing <ben@xemacs.org> | |
1261 | |
1262 * filelock.c: | |
1263 * filelock.c (fill_in_lock_file_name): | |
1264 Name the lock symlink file .#FN# instead of .#FN for file FN, so | |
1265 that the link file doesn't have a .c or .el or whatever extension, | |
1266 which confuses programs/functions that search by extension (e.g. | |
1267 etags, byte-recompile-directory, etc.). | |
1268 | |
1269 2010-02-04 Ben Wing <ben@xemacs.org> | |
1270 | |
1271 * symbols.c (defsymbol_massage_name_1): | |
1272 * symbols.c (defsymbol_nodump): | |
1273 * symbols.c (defsymbol): | |
1274 * symbols.c (defkeyword): | |
1275 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): | |
1276 Put this back again: | |
1277 | |
1278 Make the various calls to staticpro() instead call staticpro_1(), | |
1279 passing in the name of the C var being staticpro'ed, so that it | |
1280 shows up in staticpro_names. Otherwise staticpro_names just has | |
1281 1000+ copies of the word `location'. | |
1282 | |
1283 2010-02-04 Ben Wing <ben@xemacs.org> | |
1284 | |
1285 * bytecode.c (assert_failed_with_remembered_ops): | |
1286 * bytecode.c (init_opcode_table_multi_op): | |
1287 Declare some things const to shut up G++ v4 warnings. | |
1288 | |
1289 * redisplay.c (add_ibyte_string_runes): | |
1290 * redisplay.c (add_string_to_fstring_db_runes): | |
1291 * redisplay.c (generate_fstring_runes): | |
1292 * redisplay.c (window_line_number): | |
1293 * redisplay.c (decode_mode_spec): | |
1294 Use Ascbyte instead of char in various places. | |
1295 | |
1296 2010-02-03 Ben Wing <ben@xemacs.org> | |
1297 | |
1298 * frame.c (Fmake_frame): | |
1299 * glyphs.c: | |
1300 * glyphs.c (NUM_PRECACHED_GLYPHS): | |
1301 * glyphs.c (get_glyph_cachel_index): | |
1302 * glyphs.c (FROB): | |
1303 * glyphs.c (mark_glyph_cachels_as_not_updated): | |
1304 * redisplay.c (regenerate_window): | |
1305 * redisplay.c (redisplay_window): | |
1306 When creating a frame, call reset_glyph_cachels on the minibuffer | |
1307 window as well as the root window. Fixes a crash due to other | |
1308 glyphs (e.g. the gutter glyph) getting in the glyph cachel before | |
1309 the pre-cached glyphs that are supposed to have fixed indices | |
1310 (continuation-glyph, truncation-glyph, etc.). | |
1311 | |
1312 Add a bunch of asserts to make sure that the glyph cachels always | |
1313 properly contain the pre-cached glyphs. | |
1314 | |
1315 2010-02-03 Ben Wing <ben@xemacs.org> | |
1316 | |
1317 * device-x.c (x_get_resource_prefix): | |
1318 * device-x.c (Fx_get_resource): | |
1319 * device-x.c (Fx_get_resource_prefix): | |
1320 * device-x.c (Fx_put_resource): | |
1321 * dialog-msw.c: | |
1322 * dialog-msw.c (handle_question_dialog_box): | |
1323 * dired-msw.c (mswindows_sort_files): | |
1324 * dired-msw.c (mswindows_get_files): | |
1325 * extents.c (extent_fragment_sort_by_priority): | |
1326 * extents.c (Fset_extent_parent): | |
1327 * file-coding.c (coding_reader): | |
1328 * file-coding.c (coding_writer): | |
1329 * file-coding.c (gzip_convert): | |
1330 * frame.c (generate_title_string): | |
1331 * gutter.c (calculate_gutter_size_from_display_lines): | |
1332 * indent.c (vmotion_1): | |
1333 * lread.c (read_bit_vector): | |
1334 * mule-coding.c (iso2022_decode): | |
1335 * rangetab.c: | |
1336 * rangetab.c (Fcopy_range_table): | |
1337 * rangetab.c (Fget_range_table): | |
1338 * rangetab.c (unified_range_table_copy_data): | |
1339 * redisplay-msw.c (mswindows_output_string): | |
1340 * redisplay-output.c (output_display_line): | |
1341 * redisplay-output.c (redisplay_move_cursor): | |
1342 * redisplay-output.c (redisplay_clear_bottom_of_window): | |
1343 * redisplay-tty.c (tty_output_ichar_dynarr): | |
1344 * redisplay-tty.c (set_foreground_to): | |
1345 * redisplay-tty.c (set_background_to): | |
1346 * redisplay-xlike-inc.c (XLIKE_output_string): | |
1347 * redisplay.c (redisplay_window_text_width_string): | |
1348 * redisplay.c (redisplay_text_width_string): | |
1349 * redisplay.c (create_text_block): | |
1350 * redisplay.c (SET_CURRENT_MODE_CHARS_PIXSIZE): | |
1351 * redisplay.c (generate_fstring_runes): | |
1352 * redisplay.c (regenerate_modeline): | |
1353 * redisplay.c (ensure_modeline_generated): | |
1354 * redisplay.c (real_current_modeline_height): | |
1355 * redisplay.c (create_string_text_block): | |
1356 * redisplay.c (regenerate_window): | |
1357 * redisplay.c (REGEN_INC_FIND_START_END): | |
1358 * redisplay.c (point_visible): | |
1359 * redisplay.c (redisplay_window): | |
1360 * redisplay.c (mark_glyph_block_dynarr): | |
1361 * redisplay.c (line_start_cache_start): | |
1362 * redisplay.c (start_with_line_at_pixpos): | |
1363 * redisplay.c (update_line_start_cache): | |
1364 * redisplay.c (glyph_to_pixel_translation): | |
1365 * redisplay.c (pixel_to_glyph_translation): | |
1366 * sysdep.c (qxe_readdir): | |
1367 * text.c (dfc_convert_to_external_format): | |
1368 * text.c (dfc_convert_to_internal_format): | |
1369 * toolbar-common.c (common_output_toolbar_button): | |
1370 * window.c (window_modeline_height): | |
1371 * window.c (Fwindow_last_line_visible_height): | |
1372 * window.c (window_displayed_height): | |
1373 * window.c (window_scroll): | |
1374 * window.c (get_current_pixel_pos): | |
1375 Use Dynarr_begin() in place of Dynarr_atp (foo, 0). | |
1376 | |
1377 * dynarr.c (Dynarr_realloc): | |
1378 * dynarr.c (Dynarr_lisp_realloc): | |
1379 * dynarr.c (Dynarr_resize): | |
1380 * dynarr.c (Dynarr_insert_many): | |
1381 * dynarr.c (Dynarr_delete_many): | |
1382 * dynarr.c (Dynarr_memory_usage): | |
1383 * dynarr.c (stack_like_malloc): | |
1384 * dynarr.c (stack_like_free): | |
1385 * lisp.h: | |
1386 * lisp.h (DECLARE_DYNARR_LISP_IMP): | |
1387 * lisp.h (XD_DYNARR_DESC): | |
1388 * lisp.h (Dynarr_pop): | |
1389 * gutter.c (output_gutter): | |
1390 * redisplay-output.c (sync_rune_structs): | |
1391 * redisplay-output.c (redisplay_output_window): | |
1392 Redo the dynarr code, add greater checks. | |
1393 | |
1394 Rename the `len', `largest' and `max' members to `len_', | |
1395 `largest_' and `max_' to try and catch existing places that might | |
1396 directly modify these values. Make new accessors Dynarr_largest() | |
1397 and Dynarr_max() and make them and existing Dynarr_length() be | |
1398 non-lvalues by adding '+ 0' to them; fix a couple of places in the | |
1399 redisplay code that tried to modify the length directly by setting | |
1400 Dynarr_length(). Use the accessors whenever possible even in the | |
1401 dynarr code itself. The accessors also verify that 0 <= len <= | |
1402 largest <= max. Rename settor function Dynarr_set_size() to | |
1403 Dynarr_set_length() and use it more consistently; also create | |
1404 lower-level Dynarr_set_length_1(). This latter function should be | |
1405 the only function that directly modifies the `len_' member of a | |
1406 Dynarr, and in the process makes sure that the `largest' value is | |
1407 kept correct. | |
1408 | |
1409 Consistently use ERROR_CHECK_STRUCTURES instead of | |
1410 ERROR_CHECK_TYPES for error-checking code. Reintroduce the | |
1411 temporarily disabled verification code on the positions of | |
1412 Dynarr_at(), Dynarr_atp() and Dynarr_atp_past_end(). | |
1413 Also create Dynarr_resize_if() in place of a repeated | |
1414 code fragment. Clean up all the functions that modify Dynarrs to | |
1415 use the new macros and functions and verify the correctness of the | |
1416 Dynarr both before and after the change. | |
1417 | |
1418 Note that there are two kinds of verification -- one for accessing | |
1419 and one for modifying. The difference is that the modify | |
1420 verification additionally checks to make sure that the Dynarr | |
1421 isn't locked. (This is used in redisplay to check for problems | |
1422 with reentrancy.) | |
1423 | |
1424 * lrecord.h: Move XD_DYNARR_DESC to lisp.h, grouping with the dynarr code. | |
1425 | |
1426 2010-02-03 Jerry James <james@xemacs.org> | |
1427 | |
1428 * s/mach-bsd4-3.h: Add historical copyright and license information, | |
1429 unearthed by Ben Wing. | |
1430 | |
1431 2010-02-03 Ben Wing <ben@xemacs.org> | |
1432 | |
1433 * bytecode.c: | |
1434 Fix minor compile problem. | |
1435 | |
1436 2010-02-03 Ben Wing <ben@xemacs.org> | |
1437 | |
1438 * symbols.c (defsymbol_massage_name_1): | |
1439 * symbols.c (defsymbol_nodump): | |
1440 * symbols.c (defsymbol): | |
1441 * symbols.c (defkeyword): | |
1442 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): | |
1443 Temporarily back out staticpro-related changes in symbols.c and | |
1444 symeval.h to fix compile problems, will put back when `latest-fix' | |
1445 workspace gets merged in. | |
1446 | |
1447 2010-02-03 Ben Wing <ben@xemacs.org> | |
1448 | |
1449 * alloc.c (Fmake_byte_code): | |
1450 * lread.c: | |
1451 * lread.c (readevalloop): | |
1452 * lread.c (Fread): | |
1453 * lread.c (Fread_from_string): | |
1454 * lread.c (read_list_conser): | |
1455 * lread.c (read_list): | |
1456 * lread.c (vars_of_lread): | |
1457 Remove the old kludgy stuff bracketed by `#ifdef | |
1458 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY'. | |
1459 | |
1460 2010-02-03 Ben Wing <ben@xemacs.org> | |
1461 | |
1462 * alloc.c (Fmake_byte_code): | |
1463 * bytecode.h: | |
1464 * lisp.h: | |
1465 * lread.c: | |
1466 * lread.c (readevalloop): | |
1467 * lread.c (Fread): | |
1468 * lread.c (Fread_from_string): | |
1469 * lread.c (read_list_conser): | |
1470 * lread.c (read_list): | |
1471 * lread.c (vars_of_lread): | |
1472 * symbols.c: | |
1473 * symbols.c (Fdefine_function): | |
1474 Turn on the "compiled-function annotation hack". Implement it | |
1475 properly by hooking into Fdefalias(). Note in the docstring to | |
1476 `defalias' that we do this. Remove some old broken code and | |
1477 change code that implemented the old kludgy way of hooking into | |
1478 the Lisp reader into bracketed by `#ifdef | |
1479 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY', which is not enabled. | |
1480 | |
1481 Also enable byte-code metering when DEBUG_XEMACS -- this is a form | |
1482 of profiling for computing histograms of which sequences of two | |
1483 bytecodes are used most often. | |
1484 | |
1485 * bytecode-ops.h: | |
1486 * bytecode-ops.h (OPCODE): | |
1487 New file. Extract out all the opcodes and declare them using | |
1488 OPCODE(), a bit like frame slots and such. This way the file can | |
1489 be included multiple times if necessary to iterate multiple times | |
1490 over the byte opcodes. | |
1491 | |
1492 * bytecode.c: | |
1493 * bytecode.c (NUM_REMEMBERED_BYTE_OPS): | |
1494 * bytecode.c (OPCODE): | |
1495 * bytecode.c (assert_failed_with_remembered_ops): | |
1496 * bytecode.c (READ_UINT_2): | |
1497 * bytecode.c (READ_INT_1): | |
1498 * bytecode.c (READ_INT_2): | |
1499 * bytecode.c (PEEK_INT_1): | |
1500 * bytecode.c (PEEK_INT_2): | |
1501 * bytecode.c (JUMP_RELATIVE): | |
1502 * bytecode.c (JUMP_NEXT): | |
1503 * bytecode.c (PUSH): | |
1504 * bytecode.c (POP_WITH_MULTIPLE_VALUES): | |
1505 * bytecode.c (DISCARD): | |
1506 * bytecode.c (UNUSED): | |
1507 * bytecode.c (optimize_byte_code): | |
1508 * bytecode.c (optimize_compiled_function): | |
1509 * bytecode.c (Fbyte_code): | |
1510 * bytecode.c (vars_of_bytecode): | |
1511 * bytecode.c (init_opcode_table_multi_op): | |
1512 * bytecode.c (reinit_vars_of_bytecode): | |
1513 * emacs.c (main_1): | |
1514 * eval.c (funcall_compiled_function): | |
1515 * symsinit.h: | |
1516 Any time we change either the instruction pointer or the stack | |
1517 pointer, assert that we're going to move it to a valid location. | |
1518 This should catch failures right when they occur rather than | |
1519 sometime later. This requires that we pass in another couple of | |
1520 parameters into some functions (only with error-checking enabled, | |
1521 see below). | |
1522 | |
1523 Also keep track, using a circular queue, of the last 100 byte | |
1524 opcodes seen, and when we hit an assert failure during byte-code | |
1525 execution, output the contents of the queue in a nice readable | |
1526 fashion. This requires that bytecode-ops.h be included a second | |
1527 time so that a table mapping opcodes to the name of their operation | |
1528 can be constructed. This table is constructed in new function | |
1529 reinit_vars_of_bytecode(). | |
1530 | |
1531 Everything in the last two paras happens only when | |
1532 ERROR_CHECK_BYTE_CODE. | |
1533 | |
1534 Add some longish comments describing how the arrays that hold the | |
1535 stack and instructions, and the pointers used to access them, work. | |
1536 | |
1537 * gc.c: | |
1538 Import some code from my `latest-fix' workspace to mark the | |
1539 staticpro's in order from lowest to highest, rather than highest to | |
1540 lowest, so it's easier to debug when something goes wrong. | |
1541 | |
1542 * lisp.h (abort_with_message): Renamed from abort_with_msg(). | |
1543 | |
1544 * symbols.c (defsymbol_massage_name_1): | |
1545 * symbols.c (defsymbol_nodump): | |
1546 * symbols.c (defsymbol): | |
1547 * symbols.c (defkeyword): | |
1548 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): | |
1549 Make the various calls to staticpro() instead call staticpro_1(), | |
1550 passing in the name of the C var being staticpro'ed, so that it | |
1551 shows up in staticpro_names. Otherwise staticpro_names just has | |
1552 1000+ copies of the word `location'. | |
1553 | |
1554 2010-02-02 Ben Wing <ben@xemacs.org> | |
1555 | |
1556 * bytecode.c (execute_rare_opcode): | |
1557 * lisp.h (abort_with_msg): New. | |
1558 When aborting due to unknown opcode, output more descriptive msg. | |
1559 | |
1560 2010-02-01 Vin Shelton <acs@xemacs.org> | |
1561 | |
1562 * intl-encap-win32.c: Added description of override keyword. | |
1563 Fix 2nd arg to CreateMDIWindowW. | |
1564 | |
1565 * intl-auto-encap-win32.c: | |
1566 * intl-auto-encap-win32.h: Fix 2nd arg to qxeCreateMDIWindow. | |
1567 | |
1568 2010-02-01 Aidan Kehoe <kehoea@parhasard.net> | |
1569 | |
1570 * fns.c (internal_equalp): | |
1571 Use bytecode_arithcompare, which takes two args, instead of | |
1572 passing a stack pointer to Feqlsign. | |
1573 Use CANONCASE(), not DOWNCASE(), for case-insensitive character | |
1574 comparison. | |
1575 Correct a comment here. | |
1576 * casefiddle.c (casify_object): New operation in this function, | |
1577 CASE_CANONICALIZE. | |
1578 (Fcanoncase): New function, used for case-insensitive comparison. | |
1579 * lisp.h: | |
1580 Make Fcanoncase, bytecode_arithcompare visible here. | |
1581 * bytecode.c (bytecode_arithcompare): | |
1582 Make this visible to other files. | |
1583 | |
1584 2010-02-03 Ben Wing <ben@xemacs.org> | |
1585 | |
1586 * Makefile.in.in: | |
1587 * Makefile.in.in (x_objs): | |
1588 * Makefile.in.in (gtk_gui_objs): | |
1589 * console-xlike-inc.h: | |
1590 * depend: | |
1591 * device-x.c: | |
1592 * emacs.c: | |
1593 * gccache-gtk.h: | |
1594 * gccache-gtk.h (gc_cache_lookup): | |
1595 * gccache-x.c: | |
1596 * gccache-x.c (GCCACHE_HASH): | |
1597 * gccache-x.h: | |
1598 * toolbar-gtk.c: | |
1599 * toolbar-gtk.c (gtk_initialize_frame_toolbars): | |
1600 * toolbar-x.c: | |
1601 * toolbar-x.c (x_initialize_frame_toolbars): | |
1602 * toolbar-xlike.c: | |
1603 * toolbar-xlike.c (xlike_draw_blank_toolbar_button): | |
1604 * toolbar-xlike.c (xlike_output_toolbar_button): | |
1605 * toolbar-xlike.c (xlike_get_button_size): | |
1606 * toolbar-xlike.c (XLIKE_OUTPUT_BUTTONS_LOOP): | |
1607 * toolbar-xlike.c (xlike_output_toolbar): | |
1608 * toolbar-xlike.c (xlike_clear_toolbar): | |
1609 * toolbar-xlike.c (xlike_output_frame_toolbars): | |
1610 * toolbar-xlike.c (xlike_clear_frame_toolbars): | |
1611 * toolbar-xlike.c (xlike_redraw_exposed_toolbar): | |
1612 * toolbar-xlike.c (xlike_redraw_exposed_toolbars): | |
1613 * toolbar-xlike.c (xlike_redraw_frame_toolbars): | |
1614 * toolbar-xlike.h: | |
1615 * toolbar-xlike.h (xlike_clear_frame_toolbars): | |
1616 Rename some files to make them consistent with general naming rules: | |
1617 | |
1618 xgccache.c -> gccache-x.c | |
1619 xgccache.h -> gccache-x.h | |
1620 toolbar-common.c -> toolbar-xlike.c | |
1621 toolbar-common.h -> toolbar-xlike.h | |
1622 | |
1623 Fix include-file references. Also change the names of functions | |
1624 in now-named toolbar-xlike.c to be xlike_foo() instead of common_foo(). | |
1625 | |
1626 Add a longish comment in console-xlike-inc.h describing the "xlike" | |
1627 system, how it works and what the various files are used for. | |
1628 | |
1629 | |
1630 2010-02-01 Ben Wing <ben@xemacs.org> | |
1631 | |
1632 * Makefile.in.in: | |
1633 * compiler.h: | |
1634 * config.h.in: | |
1635 * console-x-impl.h: | |
1636 * console-x-impl.h (struct x_frame): | |
1637 * console-x-impl.h (FRAME_X_TOTALLY_VISIBLE_P): | |
1638 * console-x.h: | |
1639 * console-xlike-inc.h: | |
1640 * emacs.c (main_1): | |
1641 * faces.c (complex_vars_of_faces): | |
1642 * font-mgr.h: | |
1643 * frame-x.c (x_delete_frame): | |
1644 * frame-x.c (x_update_frame_external_traits): | |
1645 * glyphs-x.c (update_widget_face): | |
1646 * inline.c: | |
1647 * objects-x-impl.h: | |
1648 * objects-x-impl.h (struct x_color_instance_data): | |
1649 * objects-x-impl.h (struct x_font_instance_data): | |
1650 * objects-x.c: | |
1651 * objects-x.c (x_initialize_color_instance): | |
1652 * objects-x.c (x_initialize_font_instance): | |
1653 * objects-x.c (x_print_font_instance): | |
1654 * objects-x.c (x_finalize_font_instance): | |
1655 * objects-x.c (x_font_instance_truename): | |
1656 * objects-x.c (vars_of_objects_x): | |
1657 * objects-x.h: | |
1658 USE_XFT* -> HAVE_XFT*. But in objects-xlike-inc.c and | |
1659 redisplay-xlike-inc.c, continue to use USE_XFT, and define | |
1660 it appropriately in console-xlike-inc.h when both HAVE_XFT | |
1661 and THIS_IS_X -- even if HAVE_XFT, we don't want to enable | |
1662 XFT code when included in a *-gtk.c file. | |
1663 | |
1664 | |
1665 2010-02-01 Ben Wing <ben@xemacs.org> | |
1666 | |
1667 * alloc.c (common_init_alloc_early): | |
1668 Fix compiler breakage. | |
1669 | |
1670 2010-02-01 Ben Wing <ben@xemacs.org> | |
1671 | |
1672 * objects-gtk-impl.h: | |
1673 * objects-gtk-impl.h (XCOLOR_INSTANCE_GTK_COLOR): | |
1674 * objects-gtk-impl.h (XFONT_INSTANCE_GTK_FONT): | |
1675 * objects-x-impl.h (XCOLOR_INSTANCE_X_COLOR): | |
1676 * objects-x-impl.h (XFONT_INSTANCE_X_FONT): | |
1677 Define XCOLOR_INSTANCE_X_COLOR, XCOLOR_INSTANCE_GTK_COLOR, | |
1678 XFONT_INSTANCE_X_FONT, XFONT_INSTANCE_GTK_FONT for convenience | |
1679 purposes. Fixes compile bug in redisplay-xlike-inc.c. | |
1680 | |
1681 2010-01-29 Ben Wing <ben@xemacs.org> | |
1682 | |
1683 * lisp.h: | |
1684 * objects.h (set_face_boolean_attached_to): | |
1685 Use lisp.h for EXFUN of Fregexp_quote, that's what it's for. | |
1686 | |
1687 2010-02-01 Ben Wing <ben@xemacs.org> | |
1688 | |
1689 * compiler.h: | |
1690 Create a USED() macro to force unused-var warnings to go away, | |
1691 in certain cases where it's inconvenient to do otherwise (e.g. | |
1692 when THIS_IS_GTK in redisplay-xlike-inc.c). | |
1693 | |
1694 * console-x.h: | |
1695 Remove unneeded decls, make some static. | |
1696 | |
1697 * redisplay-xlike-inc.c: | |
1698 * console-xlike-inc.h: New file. Include defns from | |
1699 redisplay-xlike-inc.c that may be useful in other XLIKE files. | |
1700 Correct the handling of colors and font-style setting functions | |
1701 in the xlike defns. Lots of fixes in the GTK-specific defns. | |
1702 | |
1703 * depend: Regenerate. | |
1704 | |
1705 * event-xlike-inc.c: | |
1706 * event-xlike-inc.c (USE_UNICODE_MAP): | |
1707 * event-xlike-inc.c (endif): | |
1708 * gccache-gtk.c: | |
1709 * gtk-glue.c (xemacs_list_to_gtklist): | |
1710 * gtk-glue.c (xemacs_gtklist_to_list): | |
1711 * gtk-glue.c (FROB): | |
1712 * gtk-glue.c (face_to_gc): | |
1713 * gtk-glue.c (face_to_style): | |
1714 * gtk-glue.c (gdk_event_to_emacs_event): | |
1715 * gtk-xemacs.h (struct _GtkXEmacs): | |
1716 * gtk-xemacs.h (struct _GtkXEmacsClass): | |
1717 * objects-xlike-inc.c: | |
1718 Cosmetic, comment fixes. | |
1719 | |
1720 * glyphs.c (pixmap_to_lisp_data): | |
1721 Unused var fixes. | |
1722 | |
1723 | |
1724 * gtk-glue.c: | |
1725 * gccache-gtk.c: | |
1726 * gtk-xemacs.c: | |
1727 * gtk-xemacs.h: | |
1728 * objects-xlike-inc.c: | |
1729 * ui-gtk.c: | |
1730 * ui-gtk.h: | |
1731 * xgccache.c: | |
1732 * xgccache.c (GC_CACHE_SIZE): | |
1733 * xgccache.h: | |
1734 Misc include-file fixes. | |
1735 | |
1736 * objects-xlike-inc.c (XFUN): | |
1737 * objects-xlike-inc.c (xlistfonts_checking_charset): | |
1738 Combine some ifdeffed stuff using defs in console-xlike-inc.h. | |
1739 | |
1740 * redisplay-gtk.c: | |
1741 * redisplay-gtk.c (THIS_IS_GTK): | |
1742 * redisplay-gtk.c (XLIKE_bevel_area): | |
1743 * redisplay-gtk.c (XLIKE_ring_bell): | |
1744 * redisplay-gtk.c (gdk_draw_text_image): | |
1745 Fix numerous compile problems. Delete gtk_output_shadows(), | |
1746 which mostly duplicates generic bevel_modeline(). Fix up | |
1747 gtk_bevel_modeline() into XLIKE_bevel_area() and make use of | |
1748 the style var properly to set the appropriate GTK constant. | |
1749 | |
1750 * redisplay-x.c: | |
1751 * redisplay-x.c (XLIKE_window_output_begin): | |
1752 * redisplay-x.c (XLIKE_window_output_end): | |
1753 * redisplay-x.c (XLIKE_bevel_area): | |
1754 * redisplay-x.c (x_output_shadows): | |
1755 * redisplay-x.c (XLIKE_ring_bell): | |
1756 Make x_output_shadows be static. Change the defn of various | |
1757 functions to look like XLIKE_foo() so it matches the calling | |
1758 convention elsewhere. | |
1759 | |
1760 * redisplay-xlike-inc.c: | |
1761 * redisplay-xlike-inc.c (NEED_GCCACHE_H): | |
1762 * redisplay-xlike-inc.c (XLIKE_text_width): | |
1763 * redisplay-xlike-inc.c (XLIKE_get_gc): | |
1764 * redisplay-xlike-inc.c (XLIKE_text_width_single_run): | |
1765 * redisplay-xlike-inc.c (XFT_FROB_LISP_COLOR): | |
1766 * redisplay-xlike-inc.c (XLIKE_output_xlike_pixmap): | |
1767 * redisplay-xlike-inc.c (XLIKE_output_pixmap): | |
1768 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider): | |
1769 * redisplay-xlike-inc.c (XLIKE_flash): | |
1770 Lots of header fixes. Lots of stuff moved to console-xlike-inc.h. | |
1771 Use XFUN() to generate function names instead of directly | |
1772 calling XLIKE_PASTE(). Remove unnecessary prototypes. | |
1773 Unify calls to text_width funs. Make XLIKE_get_gc non-static | |
1774 since it's called from gtk. Change the color-function calls | |
1775 and fill-style-setting calls to match the changes in | |
1776 console-xlike-inc.h. Use USED() to avoid some warnings. | |
1777 | |
1778 * symsinit.h: | |
1779 Sort the prototypes, and add a fun `sort-symsinit' in a comment | |
1780 that does the sorting (using sort-regexp-fields). | |
1781 | |
1782 * symsinit.h (init_number): | |
1783 | |
1784 | |
1785 * sysgtk.h: New file, wraps the various GTK headers. | |
1786 * sysgdkx.h: New file, wraps <gtk/gdkx.h>. Keep this separate to | |
1787 * event-gtk.h: Delete. Combine stuff into console-gtk.h. | |
1788 help isolate X-specific code from GTK. | |
1789 | |
1790 * device-gtk.c: | |
1791 * event-gtk.c: | |
1792 * console-gtk.h: | |
1793 * frame-gtk.c: | |
1794 * gccache-gtk.c: | |
1795 * gccache-gtk.h: | |
1796 * glyphs-gtk.c (gtk_colorize_image_instance): | |
1797 * glyphs-gtk.h: | |
1798 * gtk-xemacs.h: | |
1799 * objects-gtk.c: | |
1800 * objects-gtk.c (MAX_FONT_COUNT): | |
1801 * ui-gtk.h: | |
1802 Use sysgtk.h or sysgdkx.h instead of directly including GTK | |
1803 headers. Don't include event-gtk.h. | |
1804 | |
1805 2010-02-01 Ben Wing <ben@xemacs.org> | |
1806 | |
1807 * abbrev.c (abbrev_match_mapper): | |
1808 * buffer.h (CANON_TABLE_OF): | |
1809 * buffer.h: | |
1810 * editfns.c (Fchar_equal): | |
1811 * minibuf.c (scmp_1): | |
1812 * text.c (qxestrcasecmp_i18n): | |
1813 * text.c (qxestrncasecmp_i18n): | |
1814 * text.c (qxetextcasecmp): | |
1815 * text.c (qxetextcasecmp_matching): | |
1816 Create new macro CANONCASE that converts to a canonical mapping | |
1817 and use it to do caseless comparisons instead of DOWNCASE. | |
1818 | |
1819 * alloc.c: | |
1820 * alloc.c (cons_equal): | |
1821 * alloc.c (vector_equal): | |
1822 * alloc.c (string_equal): | |
1823 * bytecode.c (compiled_function_equal): | |
1824 * chartab.c (char_table_entry_equal): | |
1825 * chartab.c (char_table_equal): | |
1826 * data.c (weak_list_equal): | |
1827 * data.c (weak_box_equal): | |
1828 * data.c (ephemeron_equal): | |
1829 * device-msw.c (equal_devmode): | |
1830 * elhash.c (hash_table_equal): | |
1831 * events.c (event_equal): | |
1832 * extents.c (properties_equal): | |
1833 * extents.c (extent_equal): | |
1834 * faces.c: | |
1835 * faces.c (face_equal): | |
1836 * faces.c (face_hash): | |
1837 * floatfns.c (float_equal): | |
1838 * fns.c: | |
1839 * fns.c (bit_vector_equal): | |
1840 * fns.c (plists_differ): | |
1841 * fns.c (Fplists_eq): | |
1842 * fns.c (Fplists_equal): | |
1843 * fns.c (Flax_plists_eq): | |
1844 * fns.c (Flax_plists_equal): | |
1845 * fns.c (internal_equal): | |
1846 * fns.c (internal_equalp): | |
1847 * fns.c (internal_equal_0): | |
1848 * fns.c (syms_of_fns): | |
1849 * glyphs.c (image_instance_equal): | |
1850 * glyphs.c (glyph_equal): | |
1851 * glyphs.c (glyph_hash): | |
1852 * gui.c (gui_item_equal): | |
1853 * lisp.h: | |
1854 * lrecord.h (struct lrecord_implementation): | |
1855 * marker.c (marker_equal): | |
1856 * number.c (bignum_equal): | |
1857 * number.c (ratio_equal): | |
1858 * number.c (bigfloat_equal): | |
1859 * objects.c (color_instance_equal): | |
1860 * objects.c (font_instance_equal): | |
1861 * opaque.c (equal_opaque): | |
1862 * opaque.c (equal_opaque_ptr): | |
1863 * rangetab.c (range_table_equal): | |
1864 * specifier.c (specifier_equal): | |
1865 Add a `foldcase' param to the equal() method and use it to implement | |
1866 `equalp' comparisons. Also add to plists_differ(), although we | |
1867 don't currently use it here. | |
1868 | |
1869 Rewrite internal_equalp(). Implement cross-type vector comparisons. | |
1870 Don't implement our own handling of numeric promotion -- just use | |
1871 the `=' primitive. | |
1872 | |
1873 Add internal_equal_0(), which takes a `foldcase' param and calls | |
1874 either internal_equal() or internal_equalp(). | |
1875 | |
1876 * buffer.h: | |
1877 When given a 0 for buffer (which is the norm when functions don't | |
1878 have a specific buffer available), use the current buffer's table, | |
1879 not `standard-case-table'; otherwise the current settings are | |
1880 ignored. | |
1881 | |
1882 * casetab.c: | |
1883 * casetab.c (set_case_table): | |
1884 When handling old-style vectors of 256 in `set-case-table' don't | |
1885 overwrite the existing table! Instead create a new table and | |
1886 populate. | |
1887 | |
1888 * device-msw.c (sync_printer_with_devmode): | |
1889 * lisp.h: | |
1890 * text.c (lisp_strcasecmp_ascii): | |
1891 Rename lisp_strcasecmp to lisp_strcasecmp_ascii and use | |
1892 lisp_strcasecmp_i18n for caseless comparisons in some places. | |
1893 | |
1894 * elhash.c: | |
1895 Delete unused lisp_string_hash and lisp_string_equal(). | |
1896 | |
1897 * events.h: | |
1898 * keymap-buttons.h: | |
1899 * keymap.h: | |
1900 * keymap.c (keymap_lookup_directly): | |
1901 * keymap.c (keymap_store): | |
1902 * keymap.c (FROB): | |
1903 * keymap.c (key_desc_list_to_event): | |
1904 * keymap.c (describe_map_mapper): | |
1905 * keymap.c (INCLUDE_BUTTON_ZERO): | |
1906 New file keymap-buttons.h; use to handle buttons 1-26 in place of | |
1907 duplicating code 26 times. | |
1908 | |
1909 * frame-gtk.c (allocate_gtk_frame_struct): | |
1910 * frame-msw.c (mswindows_init_frame_1): | |
1911 Fix some comments about internal_equal() in redisplay that don't | |
1912 apply any more. | |
1913 | |
1914 * keymap-slots.h: | |
1915 * keymap.c: | |
1916 New file keymap-slots.h. Use it to notate the slots in a keymap | |
1917 structure, similar to frameslots.h or coding-system-slots.h. | |
1918 | |
1919 * keymap.c (MARKED_SLOT): | |
1920 * keymap.c (keymap_equal): | |
1921 * keymap.c (keymap_hash): | |
1922 Implement. | |
1923 | |
1924 2010-02-01 Ben Wing <ben@xemacs.org> | |
1925 | |
1926 * syntax.c: | |
1927 * syntax.c (scan_lists): | |
1928 * syntax.c (syms_of_syntax): | |
1929 Declare `scan-error' as a type of `syntax-error'. In `scan-lists' | |
1930 et al., don't signal a syntax error but instead a `scan-error', and | |
1931 pass a couple of integer arguments, for GNU compatibility. Fixes | |
1932 problems with typing double-quote in texinfo.el. | |
1933 | |
1934 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> | |
1935 | |
1936 * symbols.c (Fspecial_operator_p, syms_of_symbols): | |
1937 * eval.c (print_subr, Finteractive_p, Ffuncall) | |
1938 (Ffunction_min_args, Ffunction_max_args, vars_of_eval): | |
1939 * editfns.c: | |
1940 * data.c (Fsubr_max_args): | |
1941 * doc.c (Fbuilt_in_symbol_file): | |
1942 Change "special form" to "special operator" in our sources. | |
1943 | |
1944 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> | |
1945 | |
1946 * search.c (search_buffer): | |
1947 When checking the octets of c for identity, don't compare the | |
1948 same octet with itself. Thank you Ben Wing! | |
1949 | |
1950 2010-01-30 Ben Wing <ben@xemacs.org> | |
1951 | |
1952 * intl-auto-encap-win32.c: | |
1953 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon): | |
1954 * intl-auto-encap-win32.c (qxeExtractIconEx): | |
1955 * intl-auto-encap-win32.c (qxeCreateMDIWindow): | |
1956 * intl-auto-encap-win32.c (qxeCreateWindowStation): | |
1957 * intl-auto-encap-win32.c (qxeDdeCreateStringHandle): | |
1958 * intl-auto-encap-win32.c (qxeAbortSystemShutdown): | |
1959 * intl-auto-encap-win32.c (qxeRegConnectRegistry): | |
1960 * intl-auto-encap-win32.c (qxeGetICMProfile): | |
1961 * intl-auto-encap-win32.h: | |
1962 Rebuild. | |
1963 | |
1964 * intl-encap-win32.c: | |
1965 * intl-encap-win32.c (qxeUpdateICMRegKey): | |
1966 Delete manual definitions of functions with former errors in | |
1967 Cygwin headers but no longer. Use "override" with some functions | |
1968 where Cygwin or VS6 accidentally omits a const declaration or | |
1969 includes an extra one. Use "no" on SendMessageTimeout, which | |
1970 has an error in the VS6 prototype (you could manually fix this | |
1971 with an ifdef to split the Cygwin vs. VS6 calls, if we ever | |
1972 actually used this function). | |
1973 | |
1974 2010-01-30 Aidan Kehoe <kehoea@parhasard.net> | |
1975 | |
1976 * search.c (search_buffer): | |
1977 Don't use Boyer-Moore for case-insensitive search if the search | |
1978 pattern contains repeated Ibytes and the corresponding character | |
1979 has case information (or, equivalently, if one of its case | |
1980 equivalents would contain repeated Ibytes). | |
1981 | |
1982 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> | |
1983 | |
1984 Move #'mapcar*, #'mapcan, #'mapc, #'map, #'mapl, #'mapcon to C; | |
1985 extend #'mapvector, #'mapconcat, #'mapcar to support more | |
1986 SEQUENCES; have them all error with circular lists. | |
1987 | |
1988 * fns.c (Fsubseq): Call CHECK_SEQUENCE here; Flength can return | |
1989 from the debugger if it errors with a non-sequence, leading to a | |
1990 crash in Fsubseq if sequence really is *not* a sequence. | |
1991 (mapcarX): Rename mapcar1 to mapcarX; rework it comprehensively to | |
1992 take an optional lisp output argument, and a varying number of | |
1993 sequences. | |
1994 Special-case a single list argument, as we used to, saving its | |
1995 elements in the stack space for the results before calling | |
1996 FUNCTION, so FUNCTION can corrupt the list all it | |
1997 wants. dead_wrong_type_argument() in the other cases if we | |
1998 encounter a non-cons where we expected a cons. | |
1999 (Fmapconcat): | |
2000 Accept further SEQUENCES after separator here. Special-case | |
2001 the idiom (mapconcat 'identity SEQUENCE), don't even funcall. | |
2002 (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES. | |
2003 (Fmapvector): Accept optional SEQUENCES. | |
2004 (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el. | |
2005 (Fmap_into): New function, as specified by Common Lisp. | |
2006 (maplist): New function, the guts of the implementation of | |
2007 Fmaplist and Fmapl. | |
2008 (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el. | |
2009 (syms_of_fns): | |
2010 Add a few needed symbols here, for the type tests | |
2011 used by #'map. Add the new subrs, with aliases for #'mapc-internal | |
2012 and #'mapcar. | |
2013 | |
2014 * general-slots.h: Declare Qcoerce here, now it's used in both | |
2015 indent.c and fns.c | |
2016 * indent.c (syms_of_indent): Qcoerce is gone from here. | |
2017 | |
2018 * lisp.h: Add ARRAYP(), SEQUENCEP(), and the corresponding CHECK_* | |
2019 macros. Declare Fbit_vector, Fstring, FmapcarX, now other files | |
2020 need to use them. | |
2021 * data.c (Farrayp, Fsequencep): Use ARRAYP and SEQUENCEP, just | |
2022 added to lisp.h | |
2023 | |
2024 * buffer.c (Fbuffer_list): Now Fmapcar has been renamed FmapcarX | |
2025 and takes MANY arguments, update this function to reflect that. | |
2026 | |
2027 2010-01-28 Jerry James <james@xemacs.org> | |
2028 | |
2029 * Makefile.in.in: Remove internationalization rules, since the | |
2030 lib-src programs they invoke are now gone. | |
2031 | |
2032 2010-01-29 Ben Wing <ben@xemacs.org> | |
2033 | |
2034 * search.c (boyer_moore): Fix longstanding bug involving | |
2035 searching for Control-1 chars; code was trying to directly | |
2036 extract the last byte in the textual representation of a char | |
2037 from an Ichar (and doing it in a buggy fashion) rather than | |
2038 just converting the Ichar to text and looking at the last byte. | |
2039 | |
2040 2010-01-28 Ben Wing <ben@xemacs.org> | |
2041 | |
2042 * syswindows.h: | |
2043 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks | |
2044 (i.e. Visual Studio et al.). | |
2045 | |
2046 2010-01-27 Aidan Kehoe <kehoea@parhasard.net> | |
2047 | |
2048 * number.c (Fdenominator): | |
2049 Oops, change #else to #endif here; thank you Vin Shelton, thank | |
2050 you Robert Delius Royar. | |
2051 | |
2052 2010-01-28 Ben Wing <ben@xemacs.org> | |
2053 | |
2054 * device-x.c (x_init_device): | |
2055 * emodules.c (emodules_load): | |
2056 * emodules.c (emodules_doc_subr): | |
2057 * emodules.c (emodules_doc_sym): | |
2058 * emodules.h: | |
2059 Make the externally-called functions emodules_doc_sym() and | |
2060 emodules_doc_subr() take Ascbyte * pointers since they're usually | |
2061 passed string constants and we can't guarantee the encoding if | |
2062 it's not ASCII. Fix pointer type in calls to dll_variable(), etc. | |
2063 | |
2064 2010-01-27 Ben Wing <ben@xemacs.org> | |
2065 | |
2066 * lread.c (vars_of_lread): | |
2067 Turn on load-ignore-out-of-date-elc-files by default. | |
2068 | |
2069 2010-01-27 Ben Wing <ben@xemacs.org> | |
2070 | |
2071 * event-unixoid.c (read_event_from_tty_or_stream_desc): | |
2072 Don't try to write one byte into a four-byte variable, leaving | |
2073 the rest undefined. This is a recipe for crashing. | |
2074 | |
2075 2010-01-27 Ben Wing <ben@xemacs.org> | |
2076 | |
2077 * .gdbinit.in.in: | |
2078 * README: | |
2079 * abbrev.c (write_abbrev): | |
2080 * abbrev.c (describe_abbrev): | |
2081 * alloc.c (make_extstring): | |
2082 * alloc.c (build_istring): | |
2083 * alloc.c (build_cistring): | |
2084 * alloc.c (build_ascstring): | |
2085 * alloc.c (build_extstring): | |
2086 * alloc.c (build_msg_istring): | |
2087 * alloc.c (build_defer_istring): | |
2088 * buffer.c (Fgenerate_new_buffer_name): | |
2089 * buffer.c (init_buffer_2): | |
2090 * console-tty.c (tty_init_console): | |
2091 * console-x.c (get_display_arg_connection): | |
2092 * console-x.c (x_perhaps_init_unseen_key_defaults): | |
2093 * database.c (dbm_map): | |
2094 * database.c (dbm_get): | |
2095 * database.c (berkdb_get): | |
2096 * database.c (berkdb_map): | |
2097 * device-gtk.c (FROB_PIXMAP): | |
2098 * device-gtk.c (Fgtk_style_info): | |
2099 * device-msw.c (msprinter_default_printer): | |
2100 * device-msw.c (sync_printer_with_devmode): | |
2101 * device-x.c (coding_system_of_xrm_database): | |
2102 * device-x.c (x_init_device): | |
2103 * device-x.c (signal_if_x_error): | |
2104 * device-x.c (Fx_get_resource): | |
2105 * device-x.c (Fx_server_vendor): | |
2106 * device-x.c (Fx_get_font_path): | |
2107 * dialog-x.c (maybe_run_dbox_text_callback): | |
2108 * doc.c (extract_object_file_name): | |
2109 * doc.c (unparesseuxify_doc_string): | |
2110 * doc.c (get_doc_string): | |
2111 * doc.c (get_object_file_name): | |
2112 * doc.c (Fdocumentation): | |
2113 * doc.c (Fsnarf_documentation): | |
2114 * doc.c (Fsubstitute_command_keys): | |
2115 * editfns.c (init_editfns): | |
2116 * editfns.c (Ftemp_directory): | |
2117 * editfns.c (Fuser_login_name): | |
2118 * editfns.c (Fuser_real_login_name): | |
2119 * editfns.c (Fuser_home_directory): | |
2120 * editfns.c (Fformat_time_string): | |
2121 * editfns.c (Fcurrent_time_string): | |
2122 * editfns.c (Fcurrent_time_zone): | |
2123 * emacs.c: | |
2124 * emacs.c (main_1): | |
2125 * emodules.c (Flist_modules): | |
2126 * emodules.c (emodules_load): | |
2127 * emodules.c (emodules_doc_sym): | |
2128 * emodules.c (vars_of_module): | |
2129 * event-Xt.c (x_has_keysym): | |
2130 * event-gtk.c (emacs_gtk_format_magic_event): | |
2131 * event-gtk.c (dragndrop_data_received): | |
2132 * event-gtk.c (gtk_reset_key_mapping): | |
2133 * event-msw.c (mswindows_dde_callback): | |
2134 * event-msw.c (mswindows_wnd_proc): | |
2135 * faces.c (complex_vars_of_faces): | |
2136 * file-coding.c (find_coding_system): | |
2137 * file-coding.c (setup_eol_coding_systems): | |
2138 * file-coding.c (make_coding_system_1): | |
2139 * file-coding.c (snarf_coding_system): | |
2140 * fileio.c: | |
2141 * fileio.c (lisp_strerror): | |
2142 * fileio.c (Ffile_name_directory): | |
2143 * fileio.c (Ffile_name_as_directory): | |
2144 * fileio.c (Fdirectory_file_name): | |
2145 * fileio.c (if): | |
2146 * fileio.c (Ffile_symlink_p): | |
2147 * fileio.c (Fencrypt_string): | |
2148 * fileio.c (Fdecrypt_string): | |
2149 * filelock.c (lock_file): | |
2150 * filelock.c (Ffile_locked_p): | |
2151 * floatfns.c (matherr): | |
2152 * font-mgr.c (build_fcapi_string): | |
2153 * font-mgr.c (make_xlfd_font_regexp): | |
2154 * frame-msw.c (mswindows_window_id): | |
2155 * frame-msw.c (mswindows_frame_property): | |
2156 * frame-x.c: | |
2157 * frame-x.c (color_to_string): | |
2158 * frame-x.c (maybe_set_frame_title_format): | |
2159 * frame-x.c (x_cde_transfer_callback): | |
2160 * frame-x.c (Fx_window_id): | |
2161 * glade.c (connector): | |
2162 * glade.c (Fglade_xml_textdomain): | |
2163 * glade.c (syms_of_glade): | |
2164 * glyphs-eimage.c (jpeg_instantiate): | |
2165 * glyphs-eimage.c (png_instantiate): | |
2166 * glyphs-eimage.c (tiff_instantiate): | |
2167 * glyphs-gtk.c (font_instantiate): | |
2168 * glyphs-gtk.c (BUILD_GLYPH_INST): | |
2169 * glyphs-x.c (x_locate_pixmap_file): | |
2170 * glyphs-x.c (font_instantiate): | |
2171 * glyphs-x.c (x_widget_property): | |
2172 * glyphs-x.c (BUILD_GLYPH_INST): | |
2173 * glyphs.c (print_image_instance): | |
2174 * glyphs.c (bitmap_to_lisp_data): | |
2175 * glyphs.c (pixmap_to_lisp_data): | |
2176 * gpmevent.c (turn_off_gpm): | |
2177 * gpmevent.c (Fgpm_enabled_p): | |
2178 * gpmevent.c (Fgpm_enable): | |
2179 * gtk-glue.c (__make_string_mapper): | |
2180 * gtk-glue.c (xemacs_gtklist_to_list): | |
2181 * gtk-xemacs.c (FROB_FACE): | |
2182 * gtk-xemacs.c (xemacs_gtk_convert_color): | |
2183 * hpplay.c (player_error_internal): | |
2184 * hpplay.c (myHandler): | |
2185 * insdel.c (buffer_insert_ascstring_1): | |
2186 * insdel.h: | |
2187 * insdel.h (buffer_insert_ascstring): | |
2188 * intl.c (Fcurrent_locale): | |
2189 * intl.c (Fset_current_locale): | |
2190 * keymap.c (make_key_description): | |
2191 * keymap.c (Ftext_char_description): | |
2192 * keymap.c (describe_command): | |
2193 * keymap.c (describe_map): | |
2194 * lisp.h: | |
2195 * lread.c: | |
2196 * lread.c (locate_file_in_directory_mapper): | |
2197 * lread.c (locate_file_construct_suffixed_files_mapper): | |
2198 * mule-charset.c (Fmake_charset): | |
2199 * nt.c (Fmswindows_short_file_name): | |
2200 * nt.c (Fmswindows_long_file_name): | |
2201 * objects-gtk.c (__get_gtk_font_truename): | |
2202 * objects-gtk.c (__gtk_font_list_internal): | |
2203 * objects-msw.c (font_enum_callback_2): | |
2204 * objects-msw.c (create_hfont_from_font_spec): | |
2205 * objects-msw.c (mswindows_font_list): | |
2206 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | |
2207 * objects-tty.c (tty_initialize_font_instance): | |
2208 * objects-x.c (x_font_truename): | |
2209 * objects-x.c (x_font_instance_truename): | |
2210 * objects-x.c (x_font_instance_properties): | |
2211 * objects-x.c (x_font_list): | |
2212 * print.c (write_cistring): | |
2213 * print.c (print_vector_internal): | |
2214 * print.c (print_cons): | |
2215 * process-nt.c (nt_canonicalize_host_name): | |
2216 * process-unix.c (unix_create_process): | |
2217 * process-unix.c (unix_canonicalize_host_name): | |
2218 * process.c (status_message): | |
2219 * process.c (status_notify): | |
2220 * process.c (init_xemacs_process): | |
2221 * process.c (syms_of_process): | |
2222 * redisplay-tty.c (term_get_fkeys_1): | |
2223 * redisplay-tty.c (CONDITIONAL_REASSIGN): | |
2224 * search.c (compile_pattern_1): | |
2225 * select-common.h (selection_data_to_lisp_data): | |
2226 * select-gtk.c (atom_to_symbol): | |
2227 * select-gtk.c (PROCESSING_GTK_CODE): | |
2228 * select-msw.c (mswindows_get_foreign_selection): | |
2229 * select-x.c (x_atom_to_symbol): | |
2230 * select-x.c (Fx_get_cutbuffer_internal): | |
2231 * symbols.c (intern_istring): | |
2232 * symbols.c (intern): | |
2233 * symbols.c (intern_converting_underscores_to_dashes): | |
2234 * symbols.c (Fintern): | |
2235 * sysdep.c (init_system_name): | |
2236 * sysdll.c (dll_error): | |
2237 * sysdll.c (dll_open): | |
2238 * syswindows.h: | |
2239 * syswindows.h (build_tstr_string): | |
2240 * tests.c (DFC_CHECK_LENGTH): | |
2241 * tests.c (DFC_CHECK_CONTENT): | |
2242 * tests.c (DFC_RESULT_PASS): | |
2243 * tests.c (Ftest_data_format_conversion): | |
2244 * text.c: | |
2245 * text.c (new_dfc_convert_now_damn_it): | |
2246 * text.h: | |
2247 * text.h (build_wext_string): | |
2248 * tooltalk.c (tt_build_c_string): | |
2249 * tooltalk.c (Ftooltalk_default_procid): | |
2250 * tooltalk.c (Ftooltalk_default_session): | |
2251 * tooltalk.c (init_tooltalk): | |
2252 * ui-byhand.c (Fgtk_clist_get_text): | |
2253 * ui-byhand.c (Fgtk_clist_get_pixtext): | |
2254 * ui-byhand.c (Fgtk_label_get): | |
2255 * ui-byhand.c (Fgtk_notebook_query_tab_label_packing): | |
2256 * ui-gtk.c (emacs_gtk_object_printer): | |
2257 * ui-gtk.c (emacs_gtk_boxed_printer): | |
2258 * ui-gtk.c (gtk_type_to_lisp): | |
2259 * ui-gtk.c (symbol_to_enum): | |
2260 * ui-gtk.c (enum_to_symbol): | |
2261 * unexaix.c (report_error): | |
2262 * unexaix.c (ERROR0): | |
2263 * unexec.c (report_error): | |
2264 * unexec.c (ERROR0): | |
2265 * unicode.c (unicode_to_ichar): | |
2266 * win32.c (tstr_to_local_file_format): | |
2267 * win32.c (Fmswindows_cygwin_to_win32_path): | |
2268 * win32.c (struct read_link_hash): | |
2269 * xemacs.def.in.in: | |
2270 | |
2271 Rename: | |
2272 | |
2273 write_c_string -> write_cistring | |
2274 build_intstring -> build_istring | |
2275 build_string -> build_cistring | |
2276 build_ext_string -> build_extstring | |
2277 make_ext_string -> make_extstring | |
2278 buffer_insert_c_string -> buffer_insert_ascstring | |
2279 intern_int -> intern_istring | |
2280 | |
2281 These functions have been renamed so that the naming harmonizes | |
2282 with the typedefs for strings: `cistring' along with CIbyte *, | |
2283 `istring' along with Ibyte *, `extstring' along with Extbyte *, | |
2284 `ascstring' along with Ascbyte *. | |
2285 | |
2286 Also make buffer_insert_ascstring take Ascbyte * and assert | |
2287 that its argument is ASCII. | |
2288 | |
2289 2010-01-26 Ben Wing <ben@xemacs.org> | |
2290 | |
2291 * alloc.c: | |
2292 * alloc.c (build_ascstring): | |
2293 * alloc.c (build_msg_cistring): | |
2294 * alloc.c (staticpro_1): | |
2295 * alloc.c (staticpro_name): | |
2296 * alloc.c (staticpro_nodump_1): | |
2297 * alloc.c (staticpro_nodump_name): | |
2298 * alloc.c (unstaticpro_nodump_1): | |
2299 * alloc.c (mcpro_1): | |
2300 * alloc.c (mcpro_name): | |
2301 * alloc.c (object_memory_usage_stats): | |
2302 * alloc.c (common_init_alloc_early): | |
2303 * alloc.c (init_alloc_once_early): | |
2304 * buffer.c (print_buffer): | |
2305 * buffer.c (vars_of_buffer): | |
2306 * buffer.c (common_init_complex_vars_of_buffer): | |
2307 * buffer.c (init_initial_directory): | |
2308 * bytecode.c (invalid_byte_code): | |
2309 * bytecode.c (print_compiled_function): | |
2310 * bytecode.c (mark_compiled_function): | |
2311 * chartab.c (print_table_entry): | |
2312 * chartab.c (print_char_table): | |
2313 * config.h.in: | |
2314 * console-gtk.c: | |
2315 * console-gtk.c (gtk_device_to_console_connection): | |
2316 * console-gtk.c (gtk_semi_canonicalize_console_connection): | |
2317 * console-gtk.c (gtk_canonicalize_console_connection): | |
2318 * console-gtk.c (gtk_semi_canonicalize_device_connection): | |
2319 * console-gtk.c (gtk_canonicalize_device_connection): | |
2320 * console-stream.c (stream_init_frame_1): | |
2321 * console-stream.c (vars_of_console_stream): | |
2322 * console-stream.c (init_console_stream): | |
2323 * console-x.c (x_semi_canonicalize_console_connection): | |
2324 * console-x.c (x_semi_canonicalize_device_connection): | |
2325 * console-x.c (x_canonicalize_device_connection): | |
2326 * console-x.h: | |
2327 * data.c (eq_with_ebola_notice): | |
2328 * data.c (Fsubr_interactive): | |
2329 * data.c (Fnumber_to_string): | |
2330 * data.c (digit_to_number): | |
2331 * device-gtk.c (gtk_init_device): | |
2332 * device-msw.c (print_devmode): | |
2333 * device-x.c (x_event_name): | |
2334 * dialog-msw.c (handle_directory_dialog_box): | |
2335 * dialog-msw.c (handle_file_dialog_box): | |
2336 * dialog-msw.c (vars_of_dialog_mswindows): | |
2337 * doc.c (weird_doc): | |
2338 * doc.c (Fsnarf_documentation): | |
2339 * doc.c (vars_of_doc): | |
2340 * dumper.c (pdump): | |
2341 * dynarr.c: | |
2342 * dynarr.c (Dynarr_realloc): | |
2343 * editfns.c (Fuser_real_login_name): | |
2344 * editfns.c (get_home_directory): | |
2345 * elhash.c (print_hash_table_data): | |
2346 * elhash.c (print_hash_table): | |
2347 * emacs.c (main_1): | |
2348 * emacs.c (vars_of_emacs): | |
2349 * emodules.c: | |
2350 * emodules.c (_emodules_list): | |
2351 * emodules.c (Fload_module): | |
2352 * emodules.c (Funload_module): | |
2353 * emodules.c (Flist_modules): | |
2354 * emodules.c (find_make_module): | |
2355 * emodules.c (attempt_module_delete): | |
2356 * emodules.c (emodules_load): | |
2357 * emodules.c (emodules_doc_subr): | |
2358 * emodules.c (emodules_doc_sym): | |
2359 * emodules.c (syms_of_module): | |
2360 * emodules.c (vars_of_module): | |
2361 * emodules.h: | |
2362 * eval.c (print_subr): | |
2363 * eval.c (signal_call_debugger): | |
2364 * eval.c (build_error_data): | |
2365 * eval.c (signal_error): | |
2366 * eval.c (maybe_signal_error): | |
2367 * eval.c (signal_continuable_error): | |
2368 * eval.c (maybe_signal_continuable_error): | |
2369 * eval.c (signal_error_2): | |
2370 * eval.c (maybe_signal_error_2): | |
2371 * eval.c (signal_continuable_error_2): | |
2372 * eval.c (maybe_signal_continuable_error_2): | |
2373 * eval.c (signal_ferror): | |
2374 * eval.c (maybe_signal_ferror): | |
2375 * eval.c (signal_continuable_ferror): | |
2376 * eval.c (maybe_signal_continuable_ferror): | |
2377 * eval.c (signal_ferror_with_frob): | |
2378 * eval.c (maybe_signal_ferror_with_frob): | |
2379 * eval.c (signal_continuable_ferror_with_frob): | |
2380 * eval.c (maybe_signal_continuable_ferror_with_frob): | |
2381 * eval.c (syntax_error): | |
2382 * eval.c (syntax_error_2): | |
2383 * eval.c (maybe_syntax_error): | |
2384 * eval.c (sferror): | |
2385 * eval.c (sferror_2): | |
2386 * eval.c (maybe_sferror): | |
2387 * eval.c (invalid_argument): | |
2388 * eval.c (invalid_argument_2): | |
2389 * eval.c (maybe_invalid_argument): | |
2390 * eval.c (invalid_constant): | |
2391 * eval.c (invalid_constant_2): | |
2392 * eval.c (maybe_invalid_constant): | |
2393 * eval.c (invalid_operation): | |
2394 * eval.c (invalid_operation_2): | |
2395 * eval.c (maybe_invalid_operation): | |
2396 * eval.c (invalid_change): | |
2397 * eval.c (invalid_change_2): | |
2398 * eval.c (maybe_invalid_change): | |
2399 * eval.c (invalid_state): | |
2400 * eval.c (invalid_state_2): | |
2401 * eval.c (maybe_invalid_state): | |
2402 * eval.c (wtaerror): | |
2403 * eval.c (stack_overflow): | |
2404 * eval.c (out_of_memory): | |
2405 * eval.c (print_multiple_value): | |
2406 * eval.c (issue_call_trapping_problems_warning): | |
2407 * eval.c (backtrace_specials): | |
2408 * eval.c (backtrace_unevalled_args): | |
2409 * eval.c (Fbacktrace): | |
2410 * eval.c (warn_when_safe): | |
2411 * event-Xt.c (modwarn): | |
2412 * event-Xt.c (modbarf): | |
2413 * event-Xt.c (check_modifier): | |
2414 * event-Xt.c (store_modifier): | |
2415 * event-Xt.c (emacs_Xt_format_magic_event): | |
2416 * event-Xt.c (describe_event): | |
2417 * event-gtk.c (dragndrop_data_received): | |
2418 * event-gtk.c (store_modifier): | |
2419 * event-gtk.c (gtk_reset_modifier_mapping): | |
2420 * event-msw.c (dde_eval_string): | |
2421 * event-msw.c (Fdde_alloc_advise_item): | |
2422 * event-msw.c (mswindows_dde_callback): | |
2423 * event-msw.c (FROB): | |
2424 * event-msw.c (emacs_mswindows_format_magic_event): | |
2425 * event-stream.c (external_debugging_print_event): | |
2426 * event-stream.c (execute_help_form): | |
2427 * event-stream.c (vars_of_event_stream): | |
2428 * events.c (print_event_1): | |
2429 * events.c (print_event): | |
2430 * events.c (event_equal): | |
2431 * extents.c (print_extent_1): | |
2432 * extents.c (print_extent): | |
2433 * extents.c (vars_of_extents): | |
2434 * faces.c (print_face): | |
2435 * faces.c (complex_vars_of_faces): | |
2436 * file-coding.c: | |
2437 * file-coding.c (print_coding_system): | |
2438 * file-coding.c (print_coding_system_in_print_method): | |
2439 * file-coding.c (default_query_method): | |
2440 * file-coding.c (find_coding_system): | |
2441 * file-coding.c (make_coding_system_1): | |
2442 * file-coding.c (chain_print): | |
2443 * file-coding.c (undecided_print): | |
2444 * file-coding.c (gzip_print): | |
2445 * file-coding.c (vars_of_file_coding): | |
2446 * file-coding.c (complex_vars_of_file_coding): | |
2447 * fileio.c: | |
2448 * fileio.c (report_file_type_error): | |
2449 * fileio.c (report_error_with_errno): | |
2450 * fileio.c (report_file_error): | |
2451 * fileio.c (barf_or_query_if_file_exists): | |
2452 * fileio.c (vars_of_fileio): | |
2453 * floatfns.c (matherr): | |
2454 * fns.c (print_bit_vector): | |
2455 * fns.c (Fmapconcat): | |
2456 * fns.c (add_suffix_to_symbol): | |
2457 * fns.c (add_prefix_to_symbol): | |
2458 * frame-gtk.c: | |
2459 * frame-gtk.c (Fgtk_window_id): | |
2460 * frame-x.c (def): | |
2461 * frame-x.c (x_cde_transfer_callback): | |
2462 * frame.c: | |
2463 * frame.c (Fmake_frame): | |
2464 * gc.c (show_gc_cursor_and_message): | |
2465 * gc.c (vars_of_gc): | |
2466 * glyphs-eimage.c (png_instantiate): | |
2467 * glyphs-eimage.c (tiff_instantiate): | |
2468 * glyphs-gtk.c (gtk_print_image_instance): | |
2469 * glyphs-msw.c (mswindows_print_image_instance): | |
2470 * glyphs-x.c (x_print_image_instance): | |
2471 * glyphs-x.c (update_widget_face): | |
2472 * glyphs.c (make_string_from_file): | |
2473 * glyphs.c (print_image_instance): | |
2474 * glyphs.c (signal_image_error): | |
2475 * glyphs.c (signal_image_error_2): | |
2476 * glyphs.c (signal_double_image_error): | |
2477 * glyphs.c (signal_double_image_error_2): | |
2478 * glyphs.c (xbm_mask_file_munging): | |
2479 * glyphs.c (pixmap_to_lisp_data): | |
2480 * glyphs.h: | |
2481 * gui.c (gui_item_display_flush_left): | |
2482 * hpplay.c (player_error_internal): | |
2483 * hpplay.c (myHandler): | |
2484 * intl-win32.c: | |
2485 * intl-win32.c (langcode_to_lang): | |
2486 * intl-win32.c (sublangcode_to_lang): | |
2487 * intl-win32.c (Fmswindows_get_locale_info): | |
2488 * intl-win32.c (lcid_to_locale_mule_or_no): | |
2489 * intl-win32.c (mswindows_multibyte_to_unicode_print): | |
2490 * intl-win32.c (complex_vars_of_intl_win32): | |
2491 * keymap.c: | |
2492 * keymap.c (print_keymap): | |
2493 * keymap.c (ensure_meta_prefix_char_keymapp): | |
2494 * keymap.c (Fkey_description): | |
2495 * keymap.c (Ftext_char_description): | |
2496 * lisp.h: | |
2497 * lisp.h (struct): | |
2498 * lisp.h (DECLARE_INLINE_HEADER): | |
2499 * lread.c (Fload_internal): | |
2500 * lread.c (locate_file): | |
2501 * lread.c (read_escape): | |
2502 * lread.c (read_raw_string): | |
2503 * lread.c (read1): | |
2504 * lread.c (read_list): | |
2505 * lread.c (read_compiled_function): | |
2506 * lread.c (init_lread): | |
2507 * lrecord.h: | |
2508 * marker.c (print_marker): | |
2509 * marker.c (marker_equal): | |
2510 * menubar-msw.c (displayable_menu_item): | |
2511 * menubar-x.c (command_builder_operate_menu_accelerator): | |
2512 * menubar.c (vars_of_menubar): | |
2513 * minibuf.c (reinit_complex_vars_of_minibuf): | |
2514 * minibuf.c (complex_vars_of_minibuf): | |
2515 * mule-charset.c (Fmake_charset): | |
2516 * mule-charset.c (complex_vars_of_mule_charset): | |
2517 * mule-coding.c (iso2022_print): | |
2518 * mule-coding.c (fixed_width_query): | |
2519 * number.c (bignum_print): | |
2520 * number.c (ratio_print): | |
2521 * number.c (bigfloat_print): | |
2522 * number.c (bigfloat_finalize): | |
2523 * objects-msw.c: | |
2524 * objects-msw.c (mswindows_color_to_string): | |
2525 * objects-msw.c (mswindows_color_list): | |
2526 * objects-tty.c: | |
2527 * objects-tty.c (tty_font_list): | |
2528 * objects-tty.c (tty_find_charset_font): | |
2529 * objects-xlike-inc.c (xft_find_charset_font): | |
2530 * objects-xlike-inc.c (endif): | |
2531 * print.c: | |
2532 * print.c (write_istring): | |
2533 * print.c (write_ascstring): | |
2534 * print.c (Fterpri): | |
2535 * print.c (Fprint): | |
2536 * print.c (print_error_message): | |
2537 * print.c (print_vector_internal): | |
2538 * print.c (print_cons): | |
2539 * print.c (print_string): | |
2540 * print.c (printing_unreadable_object): | |
2541 * print.c (print_internal): | |
2542 * print.c (print_float): | |
2543 * print.c (print_symbol): | |
2544 * process-nt.c (mswindows_report_winsock_error): | |
2545 * process-nt.c (nt_canonicalize_host_name): | |
2546 * process-unix.c (unix_canonicalize_host_name): | |
2547 * process.c (print_process): | |
2548 * process.c (report_process_error): | |
2549 * process.c (report_network_error): | |
2550 * process.c (make_process_internal): | |
2551 * process.c (Fstart_process_internal): | |
2552 * process.c (status_message): | |
2553 * process.c (putenv_internal): | |
2554 * process.c (vars_of_process): | |
2555 * process.h: | |
2556 * profile.c (vars_of_profile): | |
2557 * rangetab.c (print_range_table): | |
2558 * realpath.c (vars_of_realpath): | |
2559 * redisplay.c (vars_of_redisplay): | |
2560 * search.c (wordify): | |
2561 * search.c (Freplace_match): | |
2562 * sheap.c (sheap_adjust_h): | |
2563 * sound.c (report_sound_error): | |
2564 * sound.c (Fplay_sound_file): | |
2565 * specifier.c (print_specifier): | |
2566 * symbols.c (Fsubr_name): | |
2567 * symbols.c (do_symval_forwarding): | |
2568 * symbols.c (set_default_buffer_slot_variable): | |
2569 * symbols.c (set_default_console_slot_variable): | |
2570 * symbols.c (store_symval_forwarding): | |
2571 * symbols.c (default_value): | |
2572 * symbols.c (defsymbol_massage_name_1): | |
2573 * symbols.c (defsymbol_massage_name_nodump): | |
2574 * symbols.c (defsymbol_massage_name): | |
2575 * symbols.c (defsymbol_massage_multiword_predicate_nodump): | |
2576 * symbols.c (defsymbol_massage_multiword_predicate): | |
2577 * symbols.c (defsymbol_nodump): | |
2578 * symbols.c (defsymbol): | |
2579 * symbols.c (defkeyword): | |
2580 * symbols.c (defkeyword_massage_name): | |
2581 * symbols.c (check_module_subr): | |
2582 * symbols.c (deferror_1): | |
2583 * symbols.c (deferror): | |
2584 * symbols.c (deferror_massage_name): | |
2585 * symbols.c (deferror_massage_name_and_message): | |
2586 * symbols.c (defvar_magic): | |
2587 * symeval.h: | |
2588 * symeval.h (DEFVAR_SYMVAL_FWD): | |
2589 * sysdep.c: | |
2590 * sysdep.c (init_system_name): | |
2591 * sysdll.c: | |
2592 * sysdll.c (MAYBE_PREPEND_UNDERSCORE): | |
2593 * sysdll.c (dll_function): | |
2594 * sysdll.c (dll_variable): | |
2595 * sysdll.c (dll_error): | |
2596 * sysdll.c (dll_open): | |
2597 * sysdll.c (dll_close): | |
2598 * sysdll.c (image_for_address): | |
2599 * sysdll.c (my_find_image): | |
2600 * sysdll.c (search_linked_libs): | |
2601 * sysdll.h: | |
2602 * sysfile.h: | |
2603 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): | |
2604 * syswindows.h: | |
2605 * tests.c (DFC_CHECK_LENGTH): | |
2606 * tests.c (DFC_CHECK_CONTENT): | |
2607 * tests.c (Ftest_hash_tables): | |
2608 * text.c (vars_of_text): | |
2609 * text.h: | |
2610 * tooltalk.c (tt_opnum_string): | |
2611 * tooltalk.c (tt_message_arg_ival_string): | |
2612 * tooltalk.c (Ftooltalk_default_procid): | |
2613 * tooltalk.c (Ftooltalk_default_session): | |
2614 * tooltalk.c (init_tooltalk): | |
2615 * tooltalk.c (vars_of_tooltalk): | |
2616 * ui-gtk.c (Fdll_load): | |
2617 * ui-gtk.c (type_to_marshaller_type): | |
2618 * ui-gtk.c (Fgtk_import_function_internal): | |
2619 * ui-gtk.c (emacs_gtk_object_printer): | |
2620 * ui-gtk.c (emacs_gtk_boxed_printer): | |
2621 * unicode.c (unicode_to_ichar): | |
2622 * unicode.c (unicode_print): | |
2623 * unicode.c (unicode_query): | |
2624 * unicode.c (vars_of_unicode): | |
2625 * unicode.c (complex_vars_of_unicode): | |
2626 * win32.c: | |
2627 * win32.c (mswindows_report_process_error): | |
2628 * window.c (print_window): | |
2629 * xemacs.def.in.in: | |
2630 | |
2631 BASIC IDEA: Further fixing up uses of char * and CIbyte * | |
2632 to reflect their actual semantics; Mule-izing some code; | |
2633 redoing of the not-yet-working code to handle message translation. | |
2634 | |
2635 Clean up code to handle message-translation (not yet working). | |
2636 Create separate versions of build_msg_string() for working with | |
2637 Ibyte *, CIbyte *, and Ascbyte * arguments. Assert that Ascbyte * | |
2638 arguments are pure-ASCII. Make build_msg_string() be the same | |
2639 as build_msg_ascstring(). Create same three versions of GETTEXT() | |
2640 and DEFER_GETTEXT(). Also create build_defer_string() and | |
2641 variants for the equivalent of DEFER_GETTEXT() when building a | |
2642 string. Remove old CGETTEXT(). Clean up code where GETTEXT(), | |
2643 DEFER_GETTEXT(), build_msg_string(), etc. was being called and | |
2644 introduce some new calls to build_msg_string(), etc. Remove | |
2645 GETTEXT() from calls to weird_doc() -- we assume that the | |
2646 message snarfer knows about weird_doc(). Remove uses of | |
2647 DEFER_GETTEXT() from error messages in sysdep.c and instead use | |
2648 special comments /* @@@begin-snarf@@@ */ and /* @@@end-snarf@@@ */ | |
2649 that the message snarfer presumably knows about. | |
2650 | |
2651 Create build_ascstring() and use it in many instances in place | |
2652 of build_string(). The purpose of having Ascbyte * variants is | |
2653 to make the code more self-documenting in terms of what sort of | |
2654 semantics is expected for char * strings. In fact in the process | |
2655 of looking for uses of build_string(), much improperly Mule-ized | |
2656 was discovered. | |
2657 | |
2658 Mule-ize a lot of code as described in previous paragraph, | |
2659 e.g. in sysdep.c. | |
2660 | |
2661 Make the error functions take Ascbyte * strings and fix up a | |
2662 couple of places where non-pure-ASCII strings were being passed in | |
2663 (file-coding.c, mule-coding.c, unicode.c). (It's debatable whether | |
2664 we really need to make the error functions work this way. It | |
2665 helps catch places where code is written in a way that message | |
2666 translation won't work, but we may well never implement message | |
2667 translation.) | |
2668 | |
2669 Make staticpro() and friends take Ascbyte * strings instead of | |
2670 raw char * strings. Create a const_Ascbyte_ptr dynarr type | |
2671 to describe what's held by staticpro_names[] and friends, | |
2672 create pdump descriptions for const_Ascbyte_ptr dynarrs, and | |
2673 use them in place of specially-crafted staticpro descriptions. | |
2674 | |
2675 Mule-ize certain other functions (e.g. x_event_name) by correcting | |
2676 raw use of char * to Ascbyte *, Rawbyte * or another such type, | |
2677 and raw use of char[] buffers to another type (usually Ascbyte[]). | |
2678 | |
2679 Change many uses of write_c_string() to write_msg_string(), | |
2680 write_ascstring(), etc. | |
2681 | |
2682 Mule-ize emodules.c, emodules.h, sysdll.h. | |
2683 | |
2684 Fix some un-Mule-ized code in intl-win32.c. | |
2685 | |
2686 A comment in event-Xt.c and the limitations of the message | |
2687 snarfer (make-msgfile or whatever) is presumably incorrect -- | |
2688 it should be smart enough to handle function calls spread over | |
2689 more than one line. Clean up code in event-Xt.c that was | |
2690 written awkwardly for this reason. | |
2691 | |
2692 In config.h.in, instead of NEED_ERROR_CHECK_TYPES_INLINES, | |
2693 create a more general XEMACS_DEFS_NEEDS_INLINE_DECLS to | |
2694 indicate when inlined functions need to be declared in | |
2695 xemacs.defs.in.in, and make use of it in xemacs.defs.in.in. | |
2696 We need to do this because postgresql.c now calls qxestrdup(), | |
2697 which is an inline function. | |
2698 | |
2699 Make nconc2() and other such functions MODULE_API and put | |
2700 them in xemacs.defs.in.in since postgresql.c now uses them. | |
2701 | |
2702 Clean up indentation in lread.c and a few other places. | |
2703 | |
2704 In text.h, document ASSERT_ASCTEXT_ASCII() and | |
2705 ASSERT_ASCTEXT_ASCII_LEN(), group together the stand-in | |
2706 encodings and add some more for DLL symbols, function and | |
2707 variable names, etc. | |
2708 | |
2709 2010-01-26 Ben Wing <ben@xemacs.org> | |
2710 | |
2711 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs | |
2712 to check a specific file. | |
2713 | |
2714 2010-01-24 Ben Wing <ben@xemacs.org> | |
2715 | |
2716 * chartab.c (decode_char_table_range): | |
2717 * extents.c (extent_fragment_update): | |
2718 * objects-msw.c (initialize_font_instance): | |
2719 * process.c (Fgetenv): | |
2720 * redisplay-output.c (get_next_display_block): | |
2721 Fix warnings about possible use of uninitialized vars. | |
2722 | |
2723 * compiler.h: | |
2724 * compiler.h (REGISTER): | |
2725 * event-stream.c (is_scrollbar_event): | |
2726 * window.c (window_scrollbar_width): | |
2727 * window.c (window_scrollbar_height): | |
2728 * window.c (window_left_window_gutter_width): | |
2729 * window.c (window_right_window_gutter_width): | |
2730 Add USED_IF_SCROLLBARS. Use it to fix warnings about unused | |
2731 vars when --with-scrollbars=no. | |
2732 | |
2733 * config.h.in: | |
2734 Change comment to explain better why DECLARE_INLINE_HEADER | |
2735 is needed. | |
2736 | |
2737 * dialog-msw.c: | |
2738 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): | |
2739 * emacs.c (main_1): | |
2740 * event-msw.c (struct mswin_message_debug): | |
2741 * event-msw.c (debug_output_mswin_message): | |
2742 * font-mgr.c: | |
2743 * font-mgr.c (Ffc_config_filename): | |
2744 * glyphs-msw.c (struct): | |
2745 * glyphs-msw.c (bitmap_table): | |
2746 * glyphs-x.c (update_widget_face): | |
2747 * intl-win32.c (struct lang_to_string): | |
2748 * intl-win32.c (lang_to_string_table): | |
2749 * nas.c: | |
2750 * objects-xlike-inc.c: | |
2751 * objects-xlike-inc.c (xft_find_charset_font): | |
2752 * syswindows.h: | |
2753 * win32.c (mswindows_output_last_error): | |
2754 Fix g++ 4.3 complaints about implicit conversions of string | |
2755 literals (const char *) to char *. | |
2756 | |
2757 * lisp.h: | |
2758 G++ 4.3 needs #include <limits> to avoid errors about min/max. | |
2759 | |
2760 * lisp.h (disabled_assert_with_message): | |
2761 Use disabled_assert* whenever asserts are disabled. Rewrite | |
2762 disabled_assert* to avoid complaints about unused vars by | |
2763 pretending to use the vars but casting them to (void). | |
2764 Remove code that defined assert() weirdly if DEBUG_XEMACS but | |
2765 not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically | |
2766 when DEBUG_XEMACS, and if the user has forced it off, then | |
2767 so be it. | |
2768 | |
2769 * lisp.h (SYMBOL_KEYWORD): | |
2770 Put some of the combined `extern Lisp_Object's back under | |
2771 the file they are declared in. Cosmetic fix. | |
2772 | |
2773 * number.h: | |
2774 Remove `extern Lisp_Object' decls that duplicate lisp.h, | |
2775 since they have different C vs. C++ linkage. | |
2776 | |
2777 2010-01-21 Ben Wing <ben@xemacs.org> | |
2778 | |
2779 * Makefile.in.in: | |
2780 Oops. Use two hashes for comments in Makefile.in.in. | |
2781 | |
2782 2010-01-20 Ben Wing <ben@xemacs.org> | |
2783 | |
2784 * symbols.c: | |
2785 Add long comment about the types of magic symbols, and the various | |
2786 declarations that go along with them. | |
2787 | |
2788 2010-01-20 Ben Wing <ben@xemacs.org> | |
2789 | |
2790 * .gdbinit.in.in: | |
2791 Moved here from etc/.gdbinit.in. | |
2792 Put @srcdir@ in various places rather than just `..' whenever | |
2793 Makefile.in.in does so. Fixes various strange crashes and errors | |
2794 than occur when using `..'. | |
2795 * Makefile.in.in (config-changed): | |
2796 Add target, useful when building both Unicode-internal and | |
2797 old-Mule workspaces using --srcdir and don't run configure before | |
2798 switching from one to the other. | |
2799 | |
2800 2010-01-20 Ben Wing <ben@xemacs.org> | |
2801 | |
2802 * lrecord.h: | |
2803 * lrecord.h (enum lrecord_type): | |
2804 * lrecord.h (struct lrecord_implementation): | |
2805 Clean up description of finalizer methods. Clean up and expand | |
2806 the long comment at the top of lrecord.h. Add a section about why | |
2807 New-GC requires a bunch of new internal objects to be created (not | |
2808 completely understood). | |
2809 | |
2810 2010-01-20 Ben Wing <ben@xemacs.org> | |
2811 | |
2812 * lisp.h: | |
2813 Disable error-checking code in Dynarr_at and related lookup | |
2814 functions. It leads to a crash in the glyph-cachels code under | |
2815 Cygwin 1.7 and GCC 3.4.4. I assume this is a compiler bug since | |
2816 the code in question doesn't (or shouldn't) modify anything. | |
2817 Changing the code from inline to non-inline didn't help. | |
2818 | |
2819 2010-01-19 Ben Wing <ben@xemacs.org> | |
2820 | |
2821 * console-impl.h (struct console_methods): | |
2822 * console-stream.c (stream_text_width): | |
2823 * redisplay-msw.c (mswindows_output_string): | |
2824 * redisplay-msw.c (mswindows_text_width): | |
2825 * redisplay-tty.c (tty_text_width): | |
2826 * redisplay-xlike-inc.c (XLIKE_text_width): | |
2827 * redisplay-xlike-inc.c (XLIKE_output_string): | |
2828 * redisplay.c: | |
2829 * redisplay.c (redisplay_window_text_width_ichar_string): | |
2830 * redisplay.c (redisplay_text_width_string): | |
2831 Change the text_width method to take a window instead of a frame. | |
2832 Needed for Unicode-internal. | |
2833 | |
2834 2010-01-18 Ben Wing <ben@xemacs.org> | |
2835 | |
2836 * redisplay-gtk.c: | |
2837 * redisplay-gtk.c (gtk_bevel_area): | |
2838 * redisplay-x.c: | |
2839 * redisplay-x.c (THIS_IS_X): | |
2840 * redisplay-xlike-inc.c: | |
2841 * redisplay-xlike-inc.c (XLIKE_text_width_single_run): | |
2842 * redisplay-xlike-inc.c (XLIKE_text_width): | |
2843 * redisplay-xlike-inc.c (XLIKE_output_display_block): | |
2844 * redisplay-xlike-inc.c (XLIKE_get_gc): | |
2845 * redisplay-xlike-inc.c (XLIKE_output_string): | |
2846 * redisplay-xlike-inc.c (XLIKE_OUTPUT_XLIKE_PIXMAP): | |
2847 * redisplay-xlike-inc.c (XLIKE_output_pixmap): | |
2848 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider): | |
2849 * redisplay-xlike-inc.c (XLIKE_output_blank): | |
2850 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line): | |
2851 * redisplay-xlike-inc.c (XLIKE_clear_region): | |
2852 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor): | |
2853 * redisplay-xlike-inc.c (XLIKE_clear_frame_window): | |
2854 * redisplay-xlike-inc.c (XLIKE_clear_frame): | |
2855 * redisplay-xlike-inc.c (XLIKE_flash): | |
2856 * redisplay-xlike-inc.c (console_type_create_redisplay_XLIKE): | |
2857 Move lots more code into redisplay-xlike-inc.c. Use macros to | |
2858 isolate the code that differs among X vs. GTK, to reduce the need | |
2859 for ifdefs in the middle of the code. Now, redisplay-x.c and | |
2860 redisplay-gtk.c only contain a few functions whose implementation | |
2861 is completely different from one to the other, or which are not | |
2862 present at all in one of them. | |
2863 | |
2864 GTK code not currently tested, but it has bitrotted somewhat | |
2865 any. Doing this will help keep it less bitrotty. | |
2866 | |
2867 * depend: Regenerate. | |
2868 | |
2869 2010-01-18 Ben Wing <ben@xemacs.org> | |
2870 | |
2871 * redisplay-xlike-inc.c: | |
2872 * redisplay-xlike-inc.c (separate_textual_runs_nomule): | |
2873 * redisplay-xlike-inc.c (separate_textual_runs_xft_nomule): | |
2874 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule): | |
2875 * redisplay-xlike-inc.c (separate_textual_runs_mule): | |
2876 Break separate_textual_runs_* functions from redisplay-x.c. | |
2877 (Code in redisplay-gtk.c should have been identical but was | |
2878 bit-rotted.) | |
2879 | |
2880 * redisplay-gtk.c: | |
2881 * redisplay-x.c: | |
2882 Delete code, replace with include statement. | |
2883 | |
2884 * depend: Regenerate. | |
2885 | |
2886 2010-01-18 Ben Wing <ben@xemacs.org> | |
2887 | |
2888 * lisp.h: | |
2889 * print.c: | |
2890 New variable `in_debug_print'. | |
2891 | |
2892 * alloc.c: | |
2893 * alloc.c (free_managed_lcrecord): | |
2894 If gc_in_progress and in_debug_print, just return instead of | |
2895 crashing. This only happens when the programmer calls debug_print() | |
2896 or a variation inside of a debugger, and is probably already | |
2897 diagnosing a crash. | |
2898 | |
2899 * print.c (struct debug_bindings): | |
2900 * print.c (debug_prin1_exit): | |
2901 * print.c (debug_prin1): | |
2902 At entrance, record the old value of in_debug_print in the | |
2903 debug_bindings, set up an unwind-protect to restore the old value, | |
2904 and set in_debug_print to 1. In the unwind-protect, restore the | |
2905 old value. | |
2906 | |
2907 | |
2908 2010-01-16 Ben Wing <ben@xemacs.org> | |
2909 | |
2910 * win32.c (mswindows_read_link_1): | |
2911 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we | |
2912 haven't linked with the appropriate libraries. | |
2913 | |
2914 2010-01-15 Ben Wing <ben@xemacs.org> | |
2915 | |
2916 * doprnt.c (emacs_doprnt_1): | |
2917 Cosmetic: Use Qunbound, not Qnil as second arg to call to | |
2918 syntax_error() to get cleaner error message. | |
2919 | |
2920 2010-01-15 Ben Wing <ben@xemacs.org> | |
2921 | |
2922 * intl-encap-win32.c: | |
2923 Add `review' lines for all functions seen in the headers that we | |
2924 process but not yet associated with an encapsulation command. | |
2925 These will cause an error to be signaled if these functions are | |
2926 used. | |
2927 * intl-auto-encap-win32.c: | |
2928 * intl-auto-encap-win32.h: | |
2929 Regenerate. | |
2930 | |
2931 2010-01-15 Ben Wing <ben@xemacs.org> | |
2932 | |
2933 * intl-auto-encap-win32.c: | |
2934 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon): | |
2935 * intl-auto-encap-win32.c (qxeShellExecuteEx): | |
2936 * intl-auto-encap-win32.c (qxeSHFileOperation): | |
2937 * intl-auto-encap-win32.c (qxeSHQueryRecycleBin): | |
2938 * intl-auto-encap-win32.c (qxeSHEmptyRecycleBin): | |
2939 * intl-auto-encap-win32.c (qxeWNetAddConnection): | |
2940 * intl-auto-encap-win32.c (qxeWNetAddConnection2): | |
2941 * intl-auto-encap-win32.c (qxeWNetAddConnection3): | |
2942 * intl-auto-encap-win32.c (qxeWNetCancelConnection): | |
2943 * intl-auto-encap-win32.c (qxeWNetCancelConnection2): | |
2944 * intl-auto-encap-win32.c (qxeWNetGetConnection): | |
2945 * intl-auto-encap-win32.c (qxeWNetUseConnection): | |
2946 * intl-auto-encap-win32.c (qxeWNetConnectionDialog1): | |
2947 * intl-auto-encap-win32.c (qxeWNetDisconnectDialog1): | |
2948 * intl-auto-encap-win32.c (qxeWNetOpenEnum): | |
2949 * intl-auto-encap-win32.c (qxeWNetEnumResource): | |
2950 * intl-auto-encap-win32.c (qxeWNetGetUniversalName): | |
2951 * intl-auto-encap-win32.c (qxeWNetGetUser): | |
2952 * intl-auto-encap-win32.c (qxeWNetGetProviderName): | |
2953 * intl-auto-encap-win32.c (qxeWNetGetNetworkInformation): | |
2954 * intl-auto-encap-win32.c (qxeWNetGetLastError): | |
2955 * intl-auto-encap-win32.c (qxeMultinetGetConnectionPerformance): | |
2956 * intl-auto-encap-win32.c (qxeAppendMenu): | |
2957 * intl-auto-encap-win32.c (qxeCopyAcceleratorTable): | |
2958 * intl-auto-encap-win32.c (qxeDlgDirSelectComboBoxEx): | |
2959 * intl-auto-encap-win32.c (qxeEnumDesktops): | |
2960 * intl-auto-encap-win32.c (qxeEnumWindowStations): | |
2961 * intl-auto-encap-win32.c (qxeGetClassInfo): | |
2962 * intl-auto-encap-win32.c (qxeGetClassLong): | |
2963 * intl-auto-encap-win32.c (qxeGetClassName): | |
2964 * intl-auto-encap-win32.c (qxeGetKeyboardLayoutName): | |
2965 * intl-auto-encap-win32.c (qxeGetWindowLong): | |
2966 * intl-auto-encap-win32.c (qxeGetUserObjectInformation): | |
2967 * intl-auto-encap-win32.c (qxeGetWindowTextLength): | |
2968 * intl-auto-encap-win32.c (qxeGrayString): | |
2969 * intl-auto-encap-win32.c (qxeInsertMenu): | |
2970 * intl-auto-encap-win32.c (qxeSetProp): | |
2971 * intl-auto-encap-win32.c (qxeEnumICMProfiles): | |
2972 * intl-auto-encap-win32.c (qxeExtTextOut): | |
2973 * intl-auto-encap-win32.c (qxeSetICMProfile): | |
2974 * intl-auto-encap-win32.c (qxeTextOut): | |
2975 * intl-auto-encap-win32.c (qxeSHGetPathFromIDList): | |
2976 * intl-auto-encap-win32.c (qxeFindText): | |
2977 * intl-auto-encap-win32.c (qxeReplaceText): | |
2978 * intl-auto-encap-win32.c (qxeImmInstallIME): | |
2979 * intl-auto-encap-win32.c (qxeImmGetDescription): | |
2980 * intl-auto-encap-win32.c (qxeImmGetIMEFileName): | |
2981 * intl-auto-encap-win32.c (qxeImmGetCompositionString): | |
2982 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount): | |
2983 * intl-auto-encap-win32.c (qxeImmGetCandidateList): | |
2984 * intl-auto-encap-win32.c (qxeImmGetGuideLine): | |
2985 * intl-auto-encap-win32.c (qxeImmConfigureIME): | |
2986 * intl-auto-encap-win32.c (qxeImmEscape): | |
2987 * intl-auto-encap-win32.c (qxeImmGetConversionList): | |
2988 * intl-auto-encap-win32.c (qxeImmRegisterWord): | |
2989 * intl-auto-encap-win32.c (qxeImmUnregisterWord): | |
2990 * intl-auto-encap-win32.c (qxeImmEnumRegisterWord): | |
2991 * intl-auto-encap-win32.c (qxesndPlaySound): | |
2992 * intl-auto-encap-win32.c (qxePlaySound): | |
2993 * intl-auto-encap-win32.c (qxewaveOutGetErrorText): | |
2994 * intl-auto-encap-win32.c (qxewaveInGetErrorText): | |
2995 * intl-auto-encap-win32.c (qxemidiOutGetErrorText): | |
2996 * intl-auto-encap-win32.c (qxemidiInGetErrorText): | |
2997 * intl-auto-encap-win32.c (qxemmioStringToFOURCC): | |
2998 * intl-auto-encap-win32.c (qxemmioInstallIOProc): | |
2999 * intl-auto-encap-win32.c (qxemmioOpen): | |
3000 * intl-auto-encap-win32.c (qxemmioRename): | |
3001 * intl-auto-encap-win32.c (qxemciSendCommand): | |
3002 * intl-auto-encap-win32.c (qxemciSendString): | |
3003 * intl-auto-encap-win32.c (qxemciGetDeviceID): | |
3004 * intl-auto-encap-win32.c (qxemciGetErrorString): | |
3005 * intl-auto-encap-win32.h: | |
3006 * intl-auto-encap-win32.h (qxemciGetErrorString): | |
3007 Regenerate these files from Cygwin headers. | |
3008 | |
3009 * intl-encap-win32.c: | |
3010 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems | |
3011 when building --with-msw=no on Cygwin. | |
3012 | |
3013 Fixes for Cygwin headers: | |
3014 -- Comment out IME.H, non-existent in Cygwin. | |
3015 -- Make MessageBoxIndirect a `no' (don't encapsulate but generate | |
3016 error if used) because it has a structure parameter that needs | |
3017 to be A/W split but is declared as FOO*, and our parser can't | |
3018 split this. | |
3019 | |
3020 2010-01-15 Ben Wing <ben@xemacs.org> | |
3021 | |
3022 * Makefile.in.in: | |
3023 Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY) | |
3024 instead of only when we build support for the GUI portion of | |
3025 MS-Windows (HAVE_MS_WINDOWS). | |
3026 | |
3027 Cosmetic: Use WIN32_ANY in place of equivalent | |
3028 (WIN32_NATIVE or CYGWIN). | |
3029 | |
3030 2010-01-15 Ben Wing <ben@xemacs.org> | |
3031 | |
3032 * emacs.c: | |
3033 * emacs.c (debug_can_access_memory): | |
3034 When checking for bad memory, we need to read all bytes from memory; | |
3035 try even harder to avoid the possibility that a super-optimizing | |
3036 compiler will optimize away the memory reads. | |
3037 | |
3038 2010-01-15 Ben Wing <ben@xemacs.org> | |
3039 | |
3040 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): | |
3041 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN): | |
3042 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT): | |
3043 Declare some temporary pointer variables const to avoid compile | |
3044 errors under C++ and/or Visual Studio 6. | |
3045 | |
3046 2010-01-27 Ben Wing <ben@xemacs.org> | |
3047 | |
3048 * casetab.c: Typo in comment. | |
3049 | |
3050 2010-01-24 Aidan Kehoe <kehoea@parhasard.net> | |
3051 | |
3052 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number): | |
3053 Be more careful to return integers in their canonical forms here, | |
3054 and to give the same answer all the time when treating a rational | |
3055 that is itself is an integer as a ratio. | |
3056 | |
3057 2010-01-24 Aidan Kehoe <kehoea@parhasard.net> | |
3058 | |
3059 Fix problems with #'eql, extended number types, and the hash table | |
3060 implementation; change the Bintegerp bytecode to fixnump semantics | |
3061 even on bignum builds, since #'integerp can have a fast | |
3062 implementation in terms of #'fixnump for most of its extant uses, | |
3063 but not vice-versa. | |
3064 | |
3065 * lisp.h: Always #include number.h; we want the macros provided in | |
3066 it, even if the various number types are not available. | |
3067 * number.h (NON_FIXNUM_NUMBER_P): New macro, giving 1 when its | |
3068 argument is of non-immediate number type. Equivalent to FLOATP if | |
3069 WITH_NUMBER_TYPES is not defined. | |
3070 | |
3071 * elhash.c (lisp_object_eql_equal, lisp_object_eql_hash): | |
3072 Use NON_FIXNUM_NUMBER_P in these functions, instead of FLOATP, | |
3073 giving more correct behaviour in the presence of the extended | |
3074 number types. | |
3075 * bytecode.c (Bfixnump, execute_optimized_program): | |
3076 Rename Bintegerp to Bfixnump; change its semantics to reflect the | |
3077 new name on builds with bignum support. | |
3078 | |
3079 * data.c (Ffixnump, Fintegerp, syms_of_data, vars_of_data): | |
3080 Always make #'fixnump available, even on non-BIGNUM builds; | |
3081 always implement #'integerp in this file, even on BIGNUM builds. | |
3082 Move most-positive-fixnum, most-negative-fixnum here from | |
3083 number.c, so they are Lisp constants even on builds without number | |
3084 types, and attempts to change or bind them error. | |
3085 Use the NUMBERP and INTEGERP macros even on builds without | |
3086 extended number types. | |
3087 * data.c (fixnum_char_or_marker_to_int): | |
3088 Rename this function from integer_char_or_marker_to_int, to better | |
3089 reflect the arguments it accepts. | |
3090 | |
3091 * number.c (Fevenp, Foddp, syms_of_number): | |
3092 Never provide #'integerp in this file. Remove #'oddp, | |
3093 #'evenp; their implementations are overridden by those in cl.el. | |
3094 * number.c (vars_of_number): | |
3095 most-positive-fixnum, most-negative-fixnum are no longer here. | |
3096 | |
3097 2010-01-17 Vin Shelton <acs@xemacs.org> | |
3098 | |
3099 * fileio.c (check_writable): Remove cast from 2010-01-14 | |
3100 | |
3101 * syswindows.h: Use consts in macros where appropriate in lieu of | |
3102 cast in check_writable(). Patch from Ben Wing. | |
3103 | |
3104 2010-01-16 Aidan Kehoe <kehoea@parhasard.net> | |
3105 | |
3106 * config.h.in: | |
3107 * floatfns.c (emacs_rint): | |
3108 Don't look for rint in configure, always use our own | |
3109 implementation that rounds to the even number in the case of | |
3110 ambiguity, for consistency with the bignum code. | |
3111 | |
3112 2010-01-14 Vin Shelton <acs@xemacs.org> | |
3113 | |
3114 * fileio.c (check_writable): Fix compilation error under Visual | |
3115 Studio 6. | |
3116 | |
3117 * sysfile.h: | |
3118 Add conditional definition for EOVERFLOW, which isn't defined | |
3119 under Visual Studio 6. | |
3120 | |
3121 2010-01-14 Didier Verna <didier@xemacs.org> | |
3122 | |
3123 * faces.c (complex_vars_of_faces): change X11 bgcolor fallback of | |
3124 default face to match that of gui element face. | |
3125 | |
3126 2010-01-14 Ben Wing <ben@xemacs.org> | |
3127 | |
3128 * buffer.h: | |
3129 * compiler.h: | |
3130 Don't use USED_IF_MULE_OR_CHECK_TEXT in buffer.h. Eliminate since | |
3131 not used anywhere any more. | |
3132 | |
3133 * font-mgr.c (fontset_to_list): | |
3134 * font-mgr.c (Ffc_config_substitute): | |
3135 Don't use Fsignal() as it may return. Use signal_error() instead | |
3136 or a more specific function such as invalid_state() or wtaerror(). | |
3137 | |
3138 2010-01-14 Ben Wing <ben@xemacs.org> | |
3139 | |
3140 * syswindows.h: Don't define CYGWIN_HEADERS here. | |
3141 | |
3142 2010-01-14 Ben Wing <ben@xemacs.org> | |
3143 | |
3144 * s/cygwin32.h: | |
3145 * s/mingw32.h: | |
3146 Define here instead so it's available in all files. Fixes | |
3147 compile problems in database.c in some cases. | |
3148 | |
3149 2010-01-14 Ben Wing <ben@xemacs.org> | |
3150 | |
3151 * glyphs-eimage.c: | |
3152 Turn on fixes for conflicts between jmorecfg.h and windows.h on | |
3153 Cygwin, too. | |
3154 | |
3155 * emacs.c (debug_can_access_memory): | |
3156 * lisp.h: | |
3157 Declare function const void * to avoid warnings. | |
3158 | |
3159 * sysfile.h: | |
3160 Include syswindows.h on Windows to avoid problems using things like | |
3161 PATHNAME_CONVERT_OUT. | |
3162 | |
3163 * sysfile.h (X_OK): | |
3164 * dialog-msw.c (handle_directory_proc): | |
3165 * dialog-msw.c (handle_directory_dialog_box): | |
3166 * nt.c (Fmswindows_short_file_name): | |
3167 * sysdep.c (qxe_allocating_getcwd): | |
3168 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): | |
3169 * unexcw.c (unexec): | |
3170 * unexnt.c (_start): | |
3171 * win32.c (mswindows_read_link_1): | |
3172 Rename PATH_MAX_EXTERNAL to PATH_MAX_TSTR to reflect its actual | |
3173 semantics. | |
3174 | |
3175 * unexcw.c: | |
3176 Remove include of syswindows.h that had been added because | |
3177 sysfile.h didn't include it. | |
3178 | |
3179 2010-01-13 Ben Wing <ben@xemacs.org> | |
3180 | |
3181 * specifier.c (specifier_instance_from_inst_list): | |
3182 Don't declare an unused variable, (void) 0 is enough. | |
3183 | |
3184 * text.h: | |
3185 Don't use USED_IF_MULE_OR_CHECK_TEXT(). | |
3186 | |
3187 2010-01-13 Ben Wing <ben@xemacs.org> | |
3188 | |
3189 * debug.c (vars_of_debug): | |
3190 Provide `debug-xemacs' to signal we have a debug build; | |
3191 must do this to get previoug `debug-on-error' change to work. | |
3192 | |
3193 2010-01-13 Jerry James <james@xemacs.org> | |
3194 | |
3195 * font-mgr.c (Ffc_config_app_font_add_file): Fix parentheses. | |
3196 (Ffc_config_app_font_add_dir): Ditto. | |
3197 | |
3198 2010-01-13 Jerry James <james@xemacs.org> | |
3199 | |
3200 * Makefile.in.in: Remove CYGWIN && !PDUMP section. | |
3201 * depend: Regenerated. | |
3202 * s/cygwin.sc: Removed. | |
3203 * s/cygwin32.h (UNEXEC): Do not define. | |
3204 | |
3205 2010-01-13 Ben Wing <ben@xemacs.org> | |
3206 | |
3207 * print.c: | |
3208 * print.c (internal_object_printer): | |
3209 * print.c (enum printing_badness): | |
3210 * print.c (printing_major_badness): | |
3211 * print.c (print_internal): | |
3212 Clean up the part of the code that looks for things that might | |
3213 lead to crashing in the print code: | |
3214 -- Make the "badness" messages more consistent. | |
3215 -- Move the checks for circularities after the checks for bad | |
3216 memory, since the checks for circularities involve accessing | |
3217 memory (which could be bad). | |
3218 -- Add an extra check to see if the object's implementation structure | |
3219 is bad memory. | |
3220 -- Add extra check for object itself being a null pointer or | |
3221 implementation pointer being null. | |
3222 -- Add some extra comments to help in maintaining the code. | |
3223 | |
3224 2010-01-13 Ben Wing <ben@xemacs.org> | |
3225 | |
3226 * casetab.c (print_case_table): | |
3227 * console.c (print_console): | |
3228 * data.c (print_weak_list): | |
3229 * data.c (print_weak_box): | |
3230 * data.c (print_ephemeron): | |
3231 * data.c (ephemeron_equal): | |
3232 * database.c (print_database): | |
3233 * device-msw.c (print_devmode): | |
3234 * device.c (print_device): | |
3235 * eval.c: | |
3236 * file-coding.c (print_coding_system): | |
3237 * frame.c (print_frame): | |
3238 * glyphs.c (print_image_instance): | |
3239 * glyphs.c (print_glyph): | |
3240 * gui.c: | |
3241 * gui.c (print_gui_item): | |
3242 * keymap.c (print_keymap): | |
3243 * lisp.h: | |
3244 * mule-charset.c (print_charset): | |
3245 * objects.c (print_color_instance): | |
3246 * objects.c (print_font_instance): | |
3247 * print.c: | |
3248 * print.c (printing_unreadable_object): | |
3249 * print.c (printing_unreadable_lcrecord): | |
3250 * print.c (default_object_printer): | |
3251 * process.c (print_process): | |
3252 * tooltalk.c: | |
3253 * tooltalk.c (print_tooltalk_message): | |
3254 * tooltalk.c (print_tooltalk_pattern): | |
3255 * ui-gtk.c (ffi_object_printer): | |
3256 * ui-gtk.c (emacs_gtk_object_printer): | |
3257 * ui-gtk.c (emacs_gtk_boxed_printer): | |
3258 * window.c (print_window): | |
3259 New function printing_unreadable_lcrecord(). Automatically | |
3260 prints the type name and pointer value of the object. Use it | |
3261 instead of printing_unreadable_object(); make that latter | |
3262 function local to print.c. | |
3263 | |
3264 * window.c (print_window): | |
3265 During creation, window may have Qt as its buffer. Don't | |
3266 crash if trying to print such a window. | |
3267 | |
3268 2010-01-13 Ben Wing <ben@xemacs.org> | |
3269 | |
3270 * dynarr.c: | |
3271 Add comment explaining Dynarr_largest() use. | |
3272 | |
3273 * dynarr.c (Dynarr_insert_many): | |
3274 In Dynarr_insert_many(), don't call Dynarr_resize() unless we | |
3275 actually need to resize, and note that an assert() that we are | |
3276 inserting at or below the current end could be wrong if code | |
3277 wants to access stuff between `len' and `largest'. | |
3278 | |
3279 * dynarr.c (stack_like_malloc): | |
3280 Don't just Dynarr_resize() to the right size; instead use | |
3281 Dynarr_reset() then Dynarr_add_many(), so that the 'len' and | |
3282 'largest' and such get set properly. | |
3283 | |
3284 * dynarr.c (Dynarr_insert_many): | |
3285 * dynarr.c (Dynarr_delete_many): | |
3286 * dynarr.c (Dynarr_memory_usage): | |
3287 * dynarr.c (stack_like_free): | |
3288 * faces.c (add_face_cachel): | |
3289 * gutter.c (output_gutter): | |
3290 * lisp.h: | |
3291 * lisp.h (Dynarr_declare): | |
3292 * lisp.h (Dynarr_length): | |
3293 * lisp.h (Dynarr_add): | |
3294 * lisp.h (Dynarr_increment): | |
3295 * lisp.h (Dynarr_pop): | |
3296 * lread.c (define_structure_type): | |
3297 * lread.c (define_structure_type_keyword): | |
3298 * lrecord.h: | |
3299 * lrecord.h (XD_DYNARR_DESC): | |
3300 * lrecord.h (XD_LISP_DYNARR_DESC): | |
3301 * redisplay-output.c (compare_display_blocks): | |
3302 * redisplay-output.c (output_display_line): | |
3303 * redisplay.c (add_ichar_rune_1): | |
3304 * redisplay.c (create_text_block): | |
3305 * redisplay.c (generate_formatted_string_db): | |
3306 * redisplay.c (create_string_text_block): | |
3307 * redisplay.c (point_visible): | |
3308 * redisplay.c (mark_glyph_block_dynarr): | |
3309 * redisplay.c (mark_redisplay_structs): | |
3310 * redisplay.c (line_start_cache_end): | |
3311 * redisplay.c (update_line_start_cache): | |
3312 * redisplay.c (glyph_to_pixel_translation): | |
3313 * redisplay.c (pixel_to_glyph_translation): | |
3314 Rename Dynarr member 'cur' to 'len' since it's the length of | |
3315 the dynarr, not really a pointer to a "current insertion point". | |
3316 | |
3317 Use type_checking_assert() instead of just assert() in some places. | |
3318 | |
3319 | |
3320 Add additional assertions (Dynarr_verify*()) to check that we're | |
3321 being given positions within range. Use them in Dynarr_at, | |
3322 Dynarr_atp, etc. New Dynarr_atp_allow_end() for retrieving a | |
3323 pointer to a position that might be the element past the last one. | |
3324 New Dynarr_past_lastp() to retrieve a pointer to the position | |
3325 past the last one, using Dynarr_atp_allow_end(). Change code | |
3326 appropriately to use it. | |
3327 | |
3328 Rename Dynarr_end() to Dynarr_lastp() (pointer to the last | |
3329 element) for clarity, and change code appropriately to use it. | |
3330 | |
3331 Change code appropriately to use Dynarr_begin(). | |
3332 | |
3333 Rewrite Dynarr_add_many(). New version can accept a NULL pointer | |
3334 to mean "reserve space but don't put anything in it". Used by | |
3335 stack_like_malloc(). | |
3336 | |
3337 | |
3338 2010-01-13 Ben Wing <ben@xemacs.org> | |
3339 | |
3340 * lisp.h: | |
3341 * lisp.h (inline_type_checking_assert): | |
3342 Add structure_checking_assert(), gc_checking_assert(), etc. for | |
3343 all types of error-checking. Also FOO_checking_assert_with_message() | |
3344 and inline_FOO_checking_assert() -- the latter for use in an inline | |
3345 function where you want the calling function's line/file to be reported | |
3346 (requires some conspiracy with the function itself). | |
3347 | |
3348 Add disabled_assert(), disabled_assert_at_line(), | |
3349 disabled_assert_with_message(), for what to do when an assert is | |
3350 disabled. Formerly, we used to do ((void) 0), but now we do | |
3351 ((void) x), so the variable appears used and any side effects of the | |
3352 expression do get done. In Unicode-internal, the standard assert() | |
3353 uses this, but not yet in this workspace. | |
3354 | |
3355 2010-01-13 Ben Wing <ben@xemacs.org> | |
3356 | |
3357 * cmdloop.c: | |
3358 During really-early-error-handler, exit to the debugger and abort | |
3359 if an error occurs and | |
3360 * lisp.h: extern Vdebug_on_error. | |
3361 | |
3362 2010-01-12 Ben Wing <ben@xemacs.org> | |
3363 | |
3364 * sheap.c: | |
3365 * sheap.c (more_static_core): | |
3366 Increase STATIC_HEAP_SLOP. | |
3367 Change heap-exhausted error message to mention the computed | |
3368 static heap size. | |
3369 | |
3370 * unexcw.c: Include syswindows.h to avoid compile error. | |
3371 | |
3372 * file-coding.c (default_query_method): Single = is intended. | |
3373 Rewrite using comma operator to make this clearer and avoid | |
3374 dependency on the value of an enum. | |
3375 | |
3376 2010-01-11 Ben Wing <ben@xemacs.org> | |
3377 | |
3378 * database.c: | |
3379 * intl-encap-win32.c (qxeUpdateICMRegKey): | |
3380 Cosmetic fixes. | |
3381 | |
3382 * device-x.c (signal_if_x_error): | |
3383 * editfns.c (Fformat_time_string): | |
3384 * editfns.c (Fencode_time): | |
3385 * editfns.c (Fcurrent_time_zone): | |
3386 * editfns.c (Fset_time_zone_rule): | |
3387 * event-gtk.c (gtk_reset_key_mapping): | |
3388 * fileio.c (Fsysnetunam): | |
3389 * font-mgr.c: | |
3390 * font-mgr.c (Ffc_config_app_font_add_dir): | |
3391 * font-mgr.c (Ffc_config_filename): | |
3392 * glyphs-eimage.c (my_jpeg_output_message): | |
3393 * glyphs-eimage.c (jpeg_instantiate): | |
3394 * glyphs-shared.c (read_bitmap_data_from_file): | |
3395 * glyphs-x.c (x_redisplay_widget): | |
3396 * glyphs-x.c (x_widget_instantiate): | |
3397 * glyphs-x.c (x_widget_property): | |
3398 * glyphs-x.c (x_tab_control_redisplay): | |
3399 * hpplay.c (player_error_internal): | |
3400 * hpplay.c (play_sound_file): | |
3401 * hpplay.c (play_sound_data): | |
3402 * process-unix.c: | |
3403 * process-unix.c (unix_canonicalize_host_name): | |
3404 * process.c (init_xemacs_process): | |
3405 * sound.h (sound_perror): | |
3406 * sysdep.c: | |
3407 * sysdep.c (qxe_execve): | |
3408 * sysdep.c (copy_in_passwd): | |
3409 * sysdep.c (qxe_getpwnam): | |
3410 * sysdep.c (qxe_ctime): | |
3411 * sysdll.c (dll_error): | |
3412 * sysdll.c (dll_open): | |
3413 * tooltalk.c (check_status): | |
3414 * tooltalk.c (Fadd_tooltalk_message_arg): | |
3415 * tooltalk.c (Fadd_tooltalk_pattern_attribute): | |
3416 * tooltalk.c (Fadd_tooltalk_pattern_arg): | |
3417 Change all occurrences of Qnative to some more specific encoding. | |
3418 Create Qtime_function_encoding, Qtime_zone_encoding, | |
3419 Quser_name_encoding, Qerror_message_encoding, | |
3420 Qjpeg_error_message_encoding, Qtooltalk_encoding, Qgtk_encoding, | |
3421 Qx_error_message_encoding. | |
3422 | |
3423 * intl-win32.c (init_intl_win32): | |
3424 Provide cygwin-use-utf-8 if this is the case. | |
3425 | |
3426 * fileio.c (Ffile_truename): | |
3427 * realpath.c: | |
3428 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): | |
3429 * syswindows.h (TSTR_TO_LOCAL_FILE_FORMAT): | |
3430 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN): | |
3431 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT): | |
3432 * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR): | |
3433 * win32.c (urlify_filename): | |
3434 * win32.c (tstr_to_local_file_format): | |
3435 * win32.c (Fmswindows_cygwin_to_win32_path): | |
3436 Rename LOCAL_FILE_FORMAT_TO_INTERNAL_WIN32 and | |
3437 INTERNAL_WIN32_TO_LOCAL_FILE_FORMAT to | |
3438 LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN and | |
3439 INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT, since "win32" is a misnomer. | |
3440 | |
3441 2010-01-11 Ben Wing <ben@xemacs.org> | |
3442 | |
3443 * config.h.in: | |
3444 Add def for HAVE_CYGWIN_CONV_PATH. | |
3445 | |
3446 * dialog-msw.c (handle_directory_dialog_box): | |
3447 * dialog-msw.c (handle_file_dialog_box): | |
3448 * fileio.c: | |
3449 * fileio.c (Ffile_truename): | |
3450 * syswindows.h: | |
3451 * syswindows.h (CCP_POSIX_TO_WIN_T): | |
3452 * syswindows.h (LISP_LOCAL_FILE_FORMAT_TO_TSTR): | |
3453 * syswindows.h (INTERNAL_WIN32_TO_LOCAL_FILE_FORMAT): | |
3454 * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR): | |
3455 * win32.c (urlify_filename): | |
3456 * win32.c (tstr_to_local_file_format): | |
3457 * win32.c (Fmswindows_shell_execute): | |
3458 * win32.c (Fmswindows_cygwin_to_win32_path): | |
3459 Rename LOCAL_FILE_FORMAT_TO_TSTR to LISP_LOCAL_FILE_FORMAT_TO_TSTR. | |
3460 Rename LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR to | |
3461 LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR. Both of these renames | |
3462 reflect the fact that their 'in' argument is a Lisp object. | |
3463 | |
3464 Create new LOCAL_FILE_FORMAT_TO_TSTR that accepts an Ibyte *. | |
3465 | |
3466 Rename LOCAL_TO_WIN32_FILE_FORMAT to | |
3467 LOCAL_FILE_FORMAT_TO_INTERNAL_WIN32; rename WIN32_TO_LOCAL_FILE_FORMAT | |
3468 to INTERNAL_WIN32_TO_LOCAL_FILE_FORMAT similarly. | |
3469 This clarifies the fact that the result is a file in MS-Windows format | |
3470 rather than POSIX format, but still in internal-format instead of | |
3471 UTF-16. | |
3472 | |
3473 Fix up the *LOCAL_FILE_FORMAT* functions to use cygwin_conv_path() | |
3474 if available. This converts between a UTF-8 POSIX path and a | |
3475 UTF-16 Windows path (or ANSI Windows path, in the increasingly | |
3476 unlikely situation that we're using Windows 9x). Previously, we | |
3477 used an old API and operated on internal-format data, because the | |
3478 external format was unpredictable. This doesn't work any more, | |
3479 even with the old API (it tries to convert to UTF-8). So instead, | |
3480 when the new API is available we use the new API and operate on | |
3481 external-format data. This necessitates that if we want to convert | |
3482 to/from internal-format Windows-style paths, we need to first convert | |
3483 to external format, do the conversion, and convert back to | |
3484 internal format. To avoid this, we change some callers of the | |
3485 macros to use the right version (internal or external format | |
3486 destination) and avoid doing the internal/external conversions | |
3487 themselves. | |
3488 | |
3489 * realpath.c: | |
3490 * fileio.c (check_writable): | |
3491 Cosmetic fixes to check_writable. | |
3492 | |
3493 Avoid directly calling cygwin_conv_to_full_win32_path | |
3494 (fileio.c:check_writable did this) or cygwin_posix_to_win32_path_list | |
3495 (realpath.c:readlink_or_correct_case did this); use the | |
3496 *LOCAL_FILE_FORMAT* macros instead. | |
3497 | |
3498 * fileio.c (Ffile_exists_p): | |
3499 * glyphs-msw.c (mswindows_resource_instantiate): | |
3500 * sysdll.c (dll_open): | |
3501 * sysfile.h: | |
3502 * sysfile.h (PATHNAME_CONVERT_OUT_TSTR): | |
3503 Add PATHNAME_CONVERT_OUT_TSTR and PATHNAME_CONVERT_OUT_UTF_8 for | |
3504 conversion involving specified coding systems rather than `file-name'. | |
3505 Use them in *LOCAL_FILE_FORMAT* macros. | |
3506 | |
3507 * emacs.c (main_1): | |
3508 * symsinit.h: | |
3509 * unicode.c: | |
3510 New function complex_vars_of_unicode(). In it, create the utf-8 | |
3511 coding system. Call it appropriately in emacs.c. Sort the | |
3512 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic | |
3513 reasons. | |
3514 | |
3515 | |
3516 2010-01-11 Ben Wing <ben@xemacs.org> | |
3517 | |
3518 * regex.c (re_compile_fastmap): | |
3519 The code to compute the fastmap in charset_mule_not was totally | |
3520 messed up. I'm surprised it hasn't led to more visible bugs. | |
3521 | |
3522 2010-01-11 Ben Wing <ben@xemacs.org> | |
3523 | |
3524 * rangetab.c: | |
3525 * rangetab.c (external_to_internal_adjust_ends): | |
3526 * rangetab.c (put_range_table): | |
3527 * rangetab.c (Fmap_range_table): | |
3528 * rangetab.c (struct unified_range_table): | |
3529 * rangetab.c (unified_range_table_copy_data): | |
3530 * rangetab.c (unified_range_table_get_range): | |
3531 Add an entry to unified range tables to keep track of their type. | |
3532 Factor out code to adjust the endpoints of ranges between the | |
3533 external format (either end can be open or closed) and internal | |
3534 format (always closed/open). Use code also when returning | |
3535 ranges out of unified range tables. Fixes an off-by-one error | |
3536 in regex.c where it was getting ranges with an end one greater | |
3537 than expected, since it creates closed-closed range tables and | |
3538 was getting passed the internal-format ranges. | |
3539 | |
3540 2010-01-11 Ben Wing <ben@xemacs.org> | |
3541 | |
3542 * config.h.in: | |
3543 * config.h.in (ERROR_CHECK_GLYPHS): | |
3544 Trying to avoid link errors referring to the ERROR_CHECK_TYPES | |
3545 functions, either in eldap.o (if we don't include references to | |
3546 ERROR_CHECK_TYPES in xemacs.def.in.in) or xemacs-export.o (if | |
3547 we do include such references): | |
3548 | |
3549 Add line for USE_GPLUSPLUS, set by configure. | |
3550 Define INLINE_HEADERS_ARE_STATIC when we add static to inline headers. | |
3551 (Possibly used when setting NEED_ERROR_CHECK_TYPES_INLINES.) | |
3552 Currently, set NEED_ERROR_CHECK_TYPES_INLINES when ERROR_CHECK_TYPES | |
3553 and USE_GPLUSPLUS. | |
3554 | |
3555 * xemacs.def.in.in: | |
3556 Use NEED_ERROR_CHECK_TYPES_INLINES here to bracket things like | |
3557 `error_check_cons' instead of just ERROR_CHECK_TYPES. | |
3558 | |
3559 * faces.c (complex_vars_of_faces): | |
3560 Bracket various font variables with defined(USE_XFT or MULE) to | |
3561 avoid warnings. | |
3562 | |
3563 * fileio.c: | |
3564 Make sure the `expand-file-name' handler returns a string, to | |
3565 avoid a potential crash. | |
3566 | |
3567 * floatfns.c (round_one_bigfloat_1): | |
3568 #if-0 out an assert that can never be triggered and which | |
3569 generates warnings "dereferencing type-punned pointer will break | |
3570 strict-aliasing rules". | |
3571 | |
3572 * redisplay-x.c (separate_textual_runs_nomule): | |
3573 Remove unused variable in non-Mule case. | |
3574 | |
3575 * specifier.c (charset_matches_specifier_tag_set_p): | |
3576 Variable CHARSET is unused when not Mule. | |
3577 | |
3578 * specifier.c (specifier_instance_from_inst_list): | |
3579 Add a comment questioning why font-specific stuff is littering | |
3580 specifier.c. | |
3581 | |
3582 * syswindows.h: | |
3583 Expand on the comments on a #if 0 I added in a previous patch. | |
3584 | |
3585 * vdb-win32.c: | |
3586 * vdb-win32.c (win32_fault_handler): | |
3587 * vdb-win32.c (vdb_install_signal_handler): | |
3588 Change return type to LONG instead of DWORD to avoid warning or | |
3589 error. | |
3590 | |
3591 2010-01-11 Ben Wing <ben@xemacs.org> | |
3592 | |
3593 * database.c: Cygwin prototypes in ndbm.h are incomplete and | |
3594 cause C++ compile errors; fix them. | |
3595 | |
3596 * fileio.c (check_writable): | |
3597 Fix compile errors. Also move the call to C_STRING_TO_TSTR | |
3598 earlier, which is probably wrong, but fixed in a later patch. | |
3599 | |
3600 * intl-encap-win32.c (qxeGetICMProfile): | |
3601 Ifdef out a fix to work around a previous bogosity in Cygwin | |
3602 header files which has now been fixed. Keeping in the fix | |
3603 led to compile errors. #### Proper way to do it is to figure | |
3604 out when it got fixed, perhaps put in a configure test, but it | |
3605 seems not worth it. | |
3606 | |
3607 * intl-encap-win32.c (qxeUpdateICMRegKey): | |
3608 Cosmetic change, undone in a later patch. | |
3609 * mule-charset.c (Fset_charset_ccl_program): | |
3610 Remove unused variable. | |
3611 * nas.c: | |
3612 #if-0 out some unused static code to avoid a warning. | |
3613 * syswindows.h: | |
3614 Don't declare prototypes for GetCurrentFiber and GetFiberData, | |
3615 it causes a compile error. | |
3616 * unicode.c (unicode_query): | |
3617 invalid_lower_limit might have been used uninitted, so initialize it. | |
3618 | |
3619 2010-01-11 Ben Wing <ben@xemacs.org> | |
3620 | |
3621 * config.h.in: | |
3622 Add def for HAVE_CYGWIN_CONV_PATH. | |
3623 | |
3624 * dialog-msw.c (handle_directory_dialog_box): | |
3625 * dialog-msw.c (handle_file_dialog_box): | |
3626 * fileio.c: | |
3627 * fileio.c (Ffile_truename): | |
3628 * syswindows.h: | |
3629 * syswindows.h (CCP_POSIX_TO_WIN_T): | |
3630 * syswindows.h (LISP_LOCAL_FILE_FORMAT_TO_TSTR): | |
3631 * syswindows.h (INTERNAL_WIN32_TO_LOCAL_FILE_FORMAT): | |
3632 * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR): | |
3633 * win32.c (urlify_filename): | |
3634 * win32.c (tstr_to_local_file_format): | |
3635 * win32.c (Fmswindows_shell_execute): | |
3636 * win32.c (Fmswindows_cygwin_to_win32_path): | |
3637 Rename LOCAL_FILE_FORMAT_TO_TSTR to LISP_LOCAL_FILE_FORMAT_TO_TSTR. | |
3638 Rename LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR to | |
3639 LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR. Both of these renames | |
3640 reflect the fact that their 'in' argument is a Lisp object. | |
3641 | |
3642 Create new LOCAL_FILE_FORMAT_TO_TSTR that accepts an Ibyte *. | |
3643 | |
3644 Rename LOCAL_TO_WIN32_FILE_FORMAT to | |
3645 LOCAL_FILE_FORMAT_TO_INTERNAL_WIN32; rename WIN32_TO_LOCAL_FILE_FORMAT | |
3646 to INTERNAL_WIN32_TO_LOCAL_FILE_FORMAT similarly. | |
3647 This clarifies the fact that the result is a file in MS-Windows format | |
3648 rather than POSIX format, but still in internal-format instead of | |
3649 UTF-16. | |
3650 | |
3651 Fix up the *LOCAL_FILE_FORMAT* functions to use cygwin_conv_path() | |
3652 if available. This converts between a UTF-8 POSIX path and a | |
3653 UTF-16 Windows path (or ANSI Windows path, in the increasingly | |
3654 unlikely situation that we're using Windows 9x). Previously, we | |
3655 used an old API and operated on internal-format data, because the | |
3656 external format was unpredictable. This doesn't work any more, | |
3657 even with the old API (it tries to convert to UTF-8). So instead, | |
3658 when the new API is available we use the new API and operate on | |
3659 external-format data. This necessitates that if we want to convert | |
3660 to/from internal-format Windows-style paths, we need to first convert | |
3661 to external format, do the conversion, and convert back to | |
3662 internal format. To avoid this, we change some callers of the | |
3663 macros to use the right version (internal or external format | |
3664 destination) and avoid doing the internal/external conversions | |
3665 themselves. | |
3666 | |
3667 * realpath.c: | |
3668 * fileio.c (check_writable): | |
3669 Cosmetic fixes to check_writable. | |
3670 | |
3671 Avoid directly calling cygwin_conv_to_full_win32_path | |
3672 (fileio.c:check_writable did this) or cygwin_posix_to_win32_path_list | |
3673 (realpath.c:readlink_or_correct_case did this); use the | |
3674 *LOCAL_FILE_FORMAT* macros instead. | |
3675 | |
3676 * fileio.c (Ffile_exists_p): | |
3677 * glyphs-msw.c (mswindows_resource_instantiate): | |
3678 * sysdll.c (dll_open): | |
3679 * sysfile.h: | |
3680 * sysfile.h (PATHNAME_CONVERT_OUT_TSTR): | |
3681 Add PATHNAME_CONVERT_OUT_TSTR and PATHNAME_CONVERT_OUT_UTF_8 for | |
3682 conversion involving specified coding systems rather than `file-name'. | |
3683 Use them in *LOCAL_FILE_FORMAT* macros. | |
3684 | |
3685 * emacs.c (main_1): | |
3686 * symsinit.h: | |
3687 * unicode.c: | |
3688 New function complex_vars_of_unicode(). In it, create the utf-8 | |
3689 coding system. Call it appropriately in emacs.c. Sort the | |
3690 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic | |
3691 reasons. | |
3692 | |
3693 | |
3694 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | |
3695 | |
3696 * fns.c (split_string_by_ichar_1): Extend this to take UNESCAPE | |
3697 and ESCAPECHAR arguments. | |
3698 (split_external_path, split_env_path, Fsplit_string_by_char) | |
3699 (Fsplit_path): | |
3700 Pass the new arguments to split_string_by_ichar_1(); take a new | |
3701 optional argument, ESCAPE-CHAR, in #'split-string-by-char, | |
3702 allowing SEPCHAR to be escaped. | |
3703 | |
3704 2010-01-09 Didier Verna <didier@xemacs.org> | |
3705 | |
3706 * glyphs.c (query_string_font): Use proper domain for cachel | |
3707 updating. | |
3708 | |
3709 2010-01-09 Didier Verna <didier@xemacs.org> | |
3710 | |
3711 Fix query_string_geometry lookup domain. | |
3712 * redisplay.c (redisplay_window_text_width_ichar_string): Formerly | |
3713 named redisplay_text_width_ichar_string. | |
3714 * redisplay.c (redisplay_window_text_width_string): Formerly named | |
3715 redisplay_text_width_string. Make static. | |
3716 * redisplay.c (redisplay_text_width_string): Formerly named | |
3717 redisplay_frame_text_width_string. Generalize to accept any | |
3718 Lisp_Object domain argument (instead of only frames). | |
3719 * redisplay.c (add_ichar_rune_1): Update funcalls for the above | |
3720 renaming. | |
3721 * redisplay.c (generate_fstring_runes): Ditto. | |
3722 * redisplay.h: Ditto. | |
3723 * glyphs.c (query_string_geometry): Use proper domain for cachel | |
3724 updating and in generalized version of redisplay_text_width_string. | |
3725 | |
3726 2010-01-08 Aidan Kehoe <kehoea@parhasard.net> | |
3727 | |
3728 * mule-charset.c (Fmake_charset): | |
3729 Change build_string with an Ibyte argument to build_intstring, | |
3730 fixing the build on Visual C++. Thank you for the report, Vin. | |
3731 | |
3732 2010-01-07 Jerry James <james@xemacs.org> | |
3733 | |
3734 * font-mgr.c (Ffc_font_match): Initialize result to FcResultMatch | |
3735 before calling FcFontMatch. | |
3736 * objects-xlike-inc.c (xft_find_charset_font): Ditto. | |
3737 | |
3738 2010-01-07 Henrique Martins <xemacs@martins.cc> | |
3739 | |
3740 * dired.c (file_name_completion): If a file is too big to stat(), | |
3741 ignore the error, since we don't use the size. | |
3742 | |
3743 2010-01-07 Aidan Kehoe <kehoea@parhasard.net> | |
3744 | |
3745 * mule-charset.c: | |
3746 (syms_of_mule_charset, complex_vars_of_mule_charset): | |
3747 * lisp.h: | |
3748 Restore the creation of arabic-iso8859-6 in C, having it in Lisp | |
3749 isn't sufficient for X11 input to work. | |
3750 | |
3751 2010-01-06 Jerry James <james@xemacs.org> | |
3752 | |
3753 * emacs.c (main_1): Only call reinit_vars_of_number if | |
3754 WITH_NUMBER_TYPES. | |
3755 | |
3756 2010-01-06 Jerry James <james@xemacs.org> | |
3757 | |
3758 * alloc.c: Include valgrind header if USE_VALGRIND. | |
3759 (Fvalgrind_leak_check): New function. | |
3760 (Fvalgrind_quick_leak_check): New function. | |
3761 (syms_of_alloc): Declare the new functions. | |
3762 * config.h.in (USE_VALGRIND): New define. | |
3763 | |
3764 2010-01-06 Jerry James <james@xemacs.org> | |
3765 | |
3766 * emacs.c: Fix FSF address. | |
3767 (main_1): Call reinit_vars_of_number. | |
3768 * number-gmp.c: Fix FSF address. | |
3769 * number-gmp.h: Ditto. | |
3770 * number-mp.c: Ditto. | |
3771 * number-mp.h: Ditto. | |
3772 * number.h: Ditto. | |
3773 * number.c: Ditto. | |
3774 (bignum_finalize): New function. | |
3775 (ratio_finalize): New function. | |
3776 (bigfloat_finalize): New function. | |
3777 (vars_of_number): Don't create a bignum here. | |
3778 (reinit_vars_of_number): New function; create a bignum here. | |
3779 (init_number): Call reinit_vars_of_number if !PDUMP. | |
3780 * symsinit.h: Fix FSF address. Declare reinit_vars_of_number. | |
3781 | |
3782 2010-01-05 Jerry James <james@xemacs.org> | |
3783 | |
3784 * font-mgr.c (Ffc_name_unparse): Return value of FcNameUnparse | |
3785 must be freed. | |
3786 | |
3787 2009-12-31 Aidan Kehoe <kehoea@parhasard.net> | |
3788 | |
3789 * eval.c (Ffunctionp): | |
3790 Special forms no longer give t in this function, in accordance | |
3791 with recent GNU Emacs and with Common Lisp. | |
3792 | |
235 2009-12-21 Jerry James <james@xemacs.org> | 3793 2009-12-21 Jerry James <james@xemacs.org> |
236 | 3794 |
237 * config.h.in: Remove OffiX support. | 3795 * config.h.in: Remove OffiX support. |
238 * device-x.c: Ditto. | 3796 * device-x.c: Ditto. |
239 * dragdrop.c: Ditto. | 3797 * dragdrop.c: Ditto. |
258 * nt.c (mswindows_getdcwd): Check first whether drive is valid | 3816 * nt.c (mswindows_getdcwd): Check first whether drive is valid |
259 with _getdrives() to avoid crash in _wgetdcwd(...) when linking | 3817 with _getdrives() to avoid crash in _wgetdcwd(...) when linking |
260 against msvcrt8. This fix was taken from the Mozilla project | 3818 against msvcrt8. This fix was taken from the Mozilla project |
261 which experienced the same problem. | 3819 which experienced the same problem. |
262 | 3820 |
3821 2009-12-19 Aidan Kehoe <kehoea@parhasard.net> | |
3822 | |
3823 * symbols.c (reject_constant_symbols): | |
3824 Indicate that accepting attempted modification of keywords is a | |
3825 temporary thing. | |
3826 | |
3827 2009-12-23 Stephen J. Turnbull <stephen@xemacs.org> | |
3828 | |
3829 * fns.c (Fcompare_strings): Coerce bounds to be within strings. | |
3830 | |
263 2009-12-18 Jerry James <james@xemacs.org> | 3831 2009-12-18 Jerry James <james@xemacs.org> |
264 | 3832 |
265 * ppc.ldscript: Remove, obsolete. | 3833 * ppc.ldscript: Remove, obsolete. |
266 | 3834 |
267 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> | 3835 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> |
323 * frame-x.c: Ditto. Always include editres code. | 3891 * frame-x.c: Ditto. Always include editres code. |
324 * xmu.c: Removed, obsolete. | 3892 * xmu.c: Removed, obsolete. |
325 * xmu.h: Ditto. | 3893 * xmu.h: Ditto. |
326 * depend: Regenerate. | 3894 * depend: Regenerate. |
327 | 3895 |
3896 2010-01-01 Aidan Kehoe <kehoea@parhasard.net> | |
3897 | |
3898 * mule-charset.c (Fmake_charset): | |
3899 Don't intern the symbols used to refer to temporary character | |
3900 sets, that doesn't bring us anything. | |
3901 | |
328 2009-12-05 Stephen J. Turnbull <stephen@xemacs.org> | 3902 2009-12-05 Stephen J. Turnbull <stephen@xemacs.org> |
329 | 3903 |
330 * faces.c (complex_vars_of_faces): Explain why "*" isn't rewritten | 3904 * faces.c (complex_vars_of_faces): Explain why "*" isn't rewritten |
331 as a full XLFD. | 3905 as a full XLFD. |
3906 | |
3907 2010-01-09 Aidan Kehoe <kehoea@parhasard.net> | |
3908 | |
3909 * elhash.c: | |
3910 (print_hash_table, print_hash_table_data) | |
3911 (hash_table_instantiate) | |
3912 (structure_type_create_hash_table_structure_name): | |
3913 (syms_of_elhash): | |
3914 Use keywords, not ordinary symbols, in the hash table read syntax, | |
3915 for compatibility with Common Lisp and recent GNU Emacs. Accept | |
3916 the non-keyword syntax, but don't allow mixing of the two styles. | |
332 | 3917 |
333 2009-11-19 Vin Shelton <acs@xemacs.org> | 3918 2009-11-19 Vin Shelton <acs@xemacs.org> |
334 | 3919 |
335 * sysdep.c (sys_subshell): Restore sys_subshell(); it's necessary | 3920 * sysdep.c (sys_subshell): Restore sys_subshell(); it's necessary |
336 on Windows native builds. | 3921 on Windows native builds. |