Mercurial > hg > xemacs-beta
diff src/ChangeLog @ 5118:e0db3c197671 ben-lisp-object
merge up to latest default branch, doesn't compile yet
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 26 Dec 2009 21:18:49 -0600 |
parents | 3742ea8250b5 bc4f2511bbea |
children | fc85923c49af |
line wrap: on
line diff
--- a/src/ChangeLog Sat Dec 26 00:20:27 2009 -0600 +++ b/src/ChangeLog Sat Dec 26 21:18:49 2009 -0600 @@ -1,6 +1,3515 @@ +<<<<<<< local 2005-11-22 Ben Wing <ben@xemacs.org> +======= +2009-12-21 Jerry James <james@xemacs.org> + + * config.h.in: Remove OffiX support. + * device-x.c: Ditto. + * dragdrop.c: Ditto. + (vars_of_dragrop): Ditto + * event-Xt.c: Ditto. + (x_event_to_emacs_event): Ditto. + * frame.c (vars_of_frame): Ditto + * frame-x.c: Ditto. + (Foffix_start_drag_internal): Remove. + (syms_of_frame_x): Remove OffiX support.. + * Makefile.in.in: Ditto. + * event-gtk.c: Don't include OffiX headers. + * offix.c: Remove. + * offic.h: Remove. + * offix-cursors.h: Remove. + * offix-types.h: Remove. + * text.h (Qoffix_dnd_encoding): Remove, twice. + * depend: Regenerate. + +2009-11-27 Adrian Aichner <adrian@xemacs.org> + + * nt.c (mswindows_getdcwd): Check first whether drive is valid + with _getdrives() to avoid crash in _wgetdcwd(...) when linking + against msvcrt8. This fix was taken from the Mozilla project + which experienced the same problem. + +2009-12-18 Jerry James <james@xemacs.org> + + * ppc.ldscript: Remove, obsolete. + +2009-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * events.h (character_to_event_meta_behavior): New enumeration, + describing what character_to_event should do with characters in + the range ?\x80-?\xFF, and passed as the third argument to + character_to_event instead of the binary use_console_meta_flag. + * events.c (character_to_event, Fcharacter_to_event): + * event-unixoid.c (read_event_from_tty_or_stream_desc): + * event-stream.c (maybe_kbd_translate, maybe_kbd_translate): + * event-msw.c (mswindows_need_event): + Use the new enumeration. + * event-Xt.c (x_to_emacs_keysym): + Call character_to_event when we receive XLookupChars events, + passing latin_1_maps_to_itself as the meta_behavior flag, + addressing the problem FKtPp sees in 87bpi9mwpu.fsf@yahoo.com.cn + +2009-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): + That last change was wrong in theory though not in practice; we're + comparing function pointers, not enumeration values. + +2009-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): + Cast the enumeration values here to integers before comparing + them, fixing the build on VC++. Thank you Vin! + +2009-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): + New macro, giving a default value for a hash table's rehash + threshold given its size and test function. + (print_hash_table): Print the hash table's rehash threshold if it + has a non-default value. Ditto for its rehash size. + (Fmake_hash_table): Supply the keyword arguments in a format + understood by #'function-arglist. + +2009-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * alloc.c (resize_string): + Don't attempt to free dumped data in this function, avoiding an + assertion failure. + +2009-12-13 Stephen J. Turnbull <stephen@xemacs.org> + + * unicode.c (unicode_query): Add missing return type. + Thanks to 'mnewsam' on the tracker. + +2009-12-09 Jerry James <james@xemacs.org> + + * config.h.in: Remove HAVE_XMU. + * s/windowsnt.h: Ditto. + * device-x.c: Include needed Xmu headers instead of obsolete xmu.h. + * EmacsFrame.c: Ditto. + * glyphs-x.c: Ditto. + * frame-x.c: Ditto. Always include editres code. + * xmu.c: Removed, obsolete. + * xmu.h: Ditto. + * depend: Regenerate. + +2009-12-05 Stephen J. Turnbull <stephen@xemacs.org> + + * faces.c (complex_vars_of_faces): Explain why "*" isn't rewritten + as a full XLFD. + +2009-11-19 Vin Shelton <acs@xemacs.org> + + * sysdep.c (sys_subshell): Restore sys_subshell(); it's necessary + on Windows native builds. + +2009-11-10 Jerry James <james@xemacs.org> + + * Makefile.in.in: Drop support for dynodump and OSF1. + * alloca.s: Drop support for old systems, namely hp9000s300, wicat, + ns16000, ns32000, sequent, pyramid, att3b5, and Xenix. + * broken-sun.h: Remove, unused. + * compiler.h: Drop support for OSF1. + * config.h.in: Modify comments about obsolete systems. Drop NeXTstep + and SunOS4 support. + (DYNODUMP): Removed. + * console.h: Remove reference to NeXTstep in a comment. + * data.c (sign_extend_temp): Removed, unused. + (sign_extend_lisp_int): Ditto. + * depend: Regenerate. + * ecrt0.c: Remove reference to DONT_NEED_ENVIRON, which is not defined + by any supported system. Remove support for obsolete systems. Remove + comments that refer to obsolete systems. + * emacs.c (main_1): Remove NeXT support. Remove references to + EXTRA_INITIALIZE and NO_SUBPROCESSES, which are not defined by any + supported system. + * faces.c (complex_vars_of_faces): Remove comment that refers to + NeXTstep. + * fileio.c: Drop support for ancient versions of HP/UX. + * getloadavg.c: Remove symbols defined only by obsolete systems from + comment at the top listing symbols of interest. Remove support for + obsolete systems. + (getloadavg): Drop code blocks specific to obsolete systems. + * getpagesize.h: Remove reference to NBPC, which is not used by any + supported system. + * gmalloc.c: Remove reference to GMALLOC_NEEDS_SBRK_DECL, which is not + used by any supported system. + * hftctl.c: Remove, used only by ancient versions of AIX. + * hpplay.c: Remove includes for HP/UX versions less than 11. + * libsst.h: Remove support for SunOS 4. + * m/arm.h: Remove comment about Xenix. + * m/ibmrs6000.h: Remove hftctl support, which is only for very old + versions of AIX. + * m/intel386.h: Remove references to obsolete systems. + * m/mips.h: Ditto. + * nsselect.m: Remove (devoid of content) NeXT support file. + * process-unix.c: Remove references to NO_SUBPROCESSES, SKTPAIR, and + CONNECT_NEEDS_SLOWED_INTERRUPTS, which are not defined by any + supported system. + * process.c: Remove reference to NO_SUBPROCESSES. + * process.h: Ditto. + * regex.c: Remove reference to SWITCH_ENUM_BUG, which is not defined + by an supported system, and hence SWITCH_ENUM_CAST as well. + * s/aix4-2.h: Merge older include files in, and drop #define/#undef + pairs. + * s/bsd4-3.h: Ditto. + * s/hpux11.h: Ditto. + * s/irix6-0.h: Ditto. + * s/usg5-4.h: Ditto. + * s/hpux11-shr.h: Remove references to deleted version of HP/UX. + * s/template.h: Remove references to ancient BSD versions. + * strcmp.c: Removed, unused. + * strcpy.c: Ditto. + * sunOS-fix.c: Ditto. + * sunplay.c (init_device): Remove SunOS4.0.3 code. + * syntax.c (scan_sexps_forward): Remove comment about Apollo, but + leave the code the way it is, because I prefer it this way. + * sysdep.c: Remove code guarded by preprocessor symbols that are not + defined on any supported system, namely ISC4_0, AIXHFT, IBMRTAIX, + NO_SUBPROCESSES, RTU, USG_JOBCTRL, USE_GETOBAUD, _CX_UX, DGUX, ultrix, + F_SETOWN_SOCK_NEG, SET_LINE_DISCIPLINE, BROKEN_CLOSEDIR, HPUX9, and + NeXT. + (sys_subshell): Remove, unused. + * sysfile.h: Remove reference to hftctl.c. + * sysproc.h: Remove code guarded by preprocessor symbols that are not + defined on any supported system, namely NO_SUBPROCESSES, IRIS, + NEED_NET_ERRNO_H, and USG_JOBCTRL. + * syssignal.h: Remove reference to NeXT. + * systty.h: Remove support for obsolete systems. Remove support for + BROKEN_TIOCGWINSZ, which is no longer needed. + * unexaix.c (unrelocate_symbols): Remove code only needed on ancient + versions of AIX. + * unexec.c: Remove references to COFF_ENCAPSULATE and + SECTION_ALIGNMENT, which are not needed on any supported system. + Remove references to obsolete systems. + + * m/7300.h: + * m/acorn.h: + * m/alliant-2800.h: + * m/alliant.h: + * m/alliant1.h: + * m/alliant4.h: + * m/alpha.h: + * m/altos.h: + * m/amdahl.h: + * m/apollo.h: + * m/att3b.h: + * m/aviion.h: + * m/celerity.h: + * m/clipper.h: + * m/cnvrgnt.h: + * m/convex.h: + * m/cydra5.h: + * m/delta.h: + * m/delta88k.h: + * m/dpx2.h: + * m/dual.h: + * m/elxsi.h: + * m/ews4800r.h: + * m/gould-np1.h: + * m/gould.h: + * m/hp300bsd.h: + * m/hp9000s300.h: + * m/i860.h: + * m/ibm370aix.h: + * m/ibmps2-aix.h: + * m/ibmrt-aix.h: + * m/ibmrt.h: + * m/iris4d.h: + * m/iris5d.h: + * m/iris6d.h: + * m/irist.h: + * m/is386.h: + * m/isi-ov.h: + * m/luna88k.h: + * m/masscomp.h: + * m/mega68.h: + * m/mg1.h: + * m/mips-nec.h: + * m/mips-siemens.h: + * m/mips4.h: + * m/ncr386.h: + * m/news-risc.h: + * m/news.h: + * m/next.h: + * m/nh3000.h: + * m/nh4000.h: + * m/ns16000.h: + * m/ns32000.h: + * m/nu.h: + * m/orion.h: + * m/orion105.h: + * m/paragon.h: + * m/pfa50.h: + * m/plexus.h: + * m/pmax.h: + * m/pyramid.h: + * m/pyrmips.h: + * m/sequent-ptx.h: + * m/sequent.h: + * m/sgi-challenge.h: + * m/sgi3000.h: + * m/sps7.h: + * m/stride.h: + * m/sun1.h: + * m/sun2.h: + * m/sun3-68881.h: + * m/sun3-fpa.h: + * m/sun3-soft.h: + * m/sun3.h: + * m/sun386.h: + * m/symmetry.h: + * m/tad68k.h: + * m/tahoe.h: + * m/tandem-s2.h: + * m/targon31.h: + * m/tek4300.h: + * m/tekxd88.h: + * m/tower32.h: + * m/tower32v3.h: + * m/ustation.h: + * m/vax.h: + * m/wicat.h: + * m/xps100.h: + * s/3700.h: + * s/386-ix.h: + * s/386bsd.h: + * s/aix3-1.h: + * s/aix3-2-5.h: + * s/aix3-2.h: + * s/aix4-1.h: + * s/aix4.h: + * s/alliant-2800.h: + * s/alliant.h: + * s/altos.h: + * s/amdahl.h: + * s/bsd386.h: + * s/bsd4-1.h: + * s/bsd4-2.h: + * s/bsdos2-1.h: + * s/bsdos2.h: + * s/bsdos3.h: + * s/bsdos4.h: + * s/cxux.h: + * s/cxux7.h: + * s/decosf1-2.h: + * s/decosf1-3.h: + * s/decosf3-1.h: + * s/decosf3-2.h: + * s/decosf4-0.h: + * s/dgux.h: + * s/dgux5-4r2.h: + * s/dgux5-4r3.h: + * s/dgux5-4r4.h: + * s/domain.h: + * s/esix.h: + * s/esix5r4.h: + * s/ewsux5r4.h: + * s/hpux.h: + * s/hpux10-shr.h: + * s/hpux10.h: + * s/hpux8-shr.h: + * s/hpux8.h: + * s/hpux9-shr.h: + * s/hpux9-x11r4.h: + * s/hpux9.h: + * s/hpux9shxr4.h: + * s/iris3-5.h: + * s/iris3-6.h: + * s/irix3-3.h: + * s/irix4-0.h: + * s/irix5-0.h: + * s/irix5-1.h: + * s/irix5-2.h: + * s/irix5-3.h: + * s/isc2-2.h: + * s/isc3-0.h: + * s/isc4-0.h: + * s/isc4-1.h: + * s/linux.h: + * s/newsos5.h: + * s/nextstep.h: + * s/osf1.h: + * s/ptx.h: + * s/riscix1-1.h: + * s/riscix1-2.h: + * s/riscos5.h: + * s/rtu.h: + * s/sco4.h: + * s/sco5-shr.h: + * s/sco5.h: + * s/sunos4-0-shr.h: + * s/sunos4-0.h: + * s/sunos4-1-1.h: + * s/sunos4-1-2-shr.h: + * s/sunos4-1-2.h: + * s/sunos4-1-3-shr.h: + * s/sunos4-1-3.h: + * s/sunos4-1-4-shr.h: + * s/sunos4-1-4.h: + * s/sunos4-1-shr.h: + * s/sunos4-1.h: + * s/ultrix.h: + * s/ultrix4-3.h: + * s/umax.h: + * s/umips.h: + * s/unipl5-0.h: + * s/unipl5-2.h: + * s/usg5-0.h: + * s/usg5-2-2.h: + * s/usg5-2.h: + * s/usg5-3.h: + * s/xenix.h: + * unexapollo.c: + * unexconvex.c: + * unexelfsgi.c: + * unexencap.c: + * unexenix.c: + * unexfreebsd.c: + * unexfx2800.c: + * unexhp9k3.c: + * unexmips.c: + * unexnext.c: + * unexsni.c: + * unexsol2.c: + * unexsunos4.c: Removed. + +2009-11-18 Stephen J. Turnbull <stephen@xemacs.org> + + Assorted cleanups. + + * font-mgr.h (CHECKING_LANG): Remove redundant conversion. + + * font-mgr.c: Update copyright notice and author headers. + Reorder some functions. + + * objects-xlike-inc.c (xft_find_charset_font): Check for freeing NULL. + + Implement more of fontconfig API. + + * font-mgr.c: (Ffc_default_substitute): + (Ffc_config_substitute): + (Ffc_font_render_prepare): + New functions. + (Ffc_font_match): + Gets optional argument CONFIG. + (Ffc_config_destroy): + Fix a typo. + + Reimplement FCSTRLIST_TO_LISP_USING as a function. + + (FCSTRLIST_TO_LISP_USING): Removed. + (fcstrlist_to_lisp_using): New function. + (Ffc_config_get_config_dirs): + (Ffc_config_get_font_dirs): + (Ffc_config_get_config_files): + Replace FCSTRLIST_TO_LISP_USING with fcstrlist_to_lisp_using. + + Comment cleanups. + + * objects-xlike-inc.c (charset_reporter): Document RFC 3066. + (xft_find_charset_font): Remove obsolete comment. + +2009-10-18 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.h (PRINT_XFT_PATTERN): + Cast away some warnings. + + * font-mgr.h (PRINT_XFT_PATTERN): + * objects-x.c (x_font_instance_truename): + * objects-xlike-inc.c (xft_find_charset_font): + * objects.c (font_instance_truename_internal): + Improve error checking and reporting for Xft fonts. + + * font-mgr.c (vars_of_font_mgr): + Set xft-debug-level to 0. + +2008-07-23 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-xlike-inc.c (charset_table): Add names and ISO 639 codes + for Arabic, Russian, and Thai. Regional variants are lower-cased. + +2009-11-16 Stephen J. Turnbull <stephen@xemacs.org> + + Remove C asserts from test-format-data-conversion. + See also changes in test-harness.el and c-tests.el in tests/automated. + + * tests.c + (Ftest_hash_tables): + (Ftest_data_format_conversion): + Each now collects a list of test results and returns it. + Update docstrings. + (DFC_INITIALIZE): + (DFC_CHECK_LENGTH): + (DFC_CHECK_CONTENT): + (DFC_RESULT_PASS): + New macros. + (DFC_CHECK_DATA_NUL): + (DFC_CHECK_DATA): + Use the new macros. + Add an argument for the test description. + (DFC_CHECK_DATA_COND_EOL_NUL) + (DFC_CHECK_DATA_COND_EOL) + (DFC_CHECK_DATA_COND_MULE_NUL): + (DFC_CHECK_DATA_COND_MULE): + Add an argument for the test description. + +2009-11-17 Stephen J. Turnbull <stephen@xemacs.org> + + Fix issue630. + + * regex.c (regex_compile): + Sync treatment of normal_char to GNU Emacs 22.1. + Thanks to Aidan Kehoe for the diagnosis and suggestion. + (print_partial_compiled_pattern): + Avoid buffer overrun in case of /exactn/0. + +2009-11-15 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (setup_ccl_program): + Fix the union build, thank you Robert Delius Royar. + +2009-11-15 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Assert that we always + have a symbol in this macro. + (setup_ccl_program): Ensure we're not allocating unreachable + memory in this function; all symbols must have been resolved in a + given CCL program before this function is called. + (find_ccl_program): New function, return a CCL program with all + its symbols resolved if it is valid (possibly allocating memory), + Qnil otherwise. + (get_ccl_program): New function, exported to other files; call + find_ccl_program, and error if it gives nil. + (Fccl_program_p): Call find_ccl_program from this function instead + of implementing the bulk of it here. + (Fccl_execute): Call get_ccl_program instead of implementing the + bulk of it here. + (Fccl_execute_on_string): Ditto. + * mule-ccl.h (Vfont_ccl_encoder_alist): Remove this declaration, + it hasn't been used in years. + (get_ccl_program): Declare this function. + * mule-coding.c (ccl_putprop): Use get_ccl_program on any + specified encode or decode CCL program property. + (fixed_width_putprop): Ditto. + * mule-charset.c (Fmake_charset): Use get_ccl_program on any + specified ccl-program. + (Fset_charset_ccl_program): Ditto. + +2009-11-15 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (Fquote_maybe): + Move this function here from callint.c; make it more comprehensive + about which types are self-quoting. + * lisp.h: Declare Fquote_maybe here, since it's now used in + callint.c and defined in eval.c + * callint.c (Fquote_maybe): Remove this function from this file. + +2009-11-11 Stephen Turnbull <stephen@xemacs.org> + + * darwin.h: Remove. Functionality implemented in configure.ac. + * config.h.in (USE_PARAM_H): New. Used by Darwin to #define BSD. + +2009-11-09 Aidan Kehoe <kehoea@parhasard.net> + + * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): + Move the WIN32_NATIVE definition inside the #ifdef emacs + conditional, clear up the comment after #else; thanks for the + build failure report, Vin! + Cast DEFAULT_DIRECTORY_FALLBACK to (const CIbyte *) by default, + which better reflects its contents. + * editfns.c (get_home_directory): + * buffer.c (init_initial_directory): + Cast DEFAULT_DIRECTORY_FALLBACK to (Ibyte *) with functions that + take that type, now that is necessary. + +2009-11-09 Jerry James <james@xemacs.org> + + * Makefile.in.in: Remove support for malloc.c ("old" GNU malloc). Do + not define GNU_MALLOC, which was only used to distinguish between + "old" and "new" GNU malloc. + * alloc.c (malloced_storage_size): Drop support for old GNU malloc, + and recast the remaining test in terms of SYSTEM_MALLOC. + * config.h.in (GNU_MALLOC): Remove. + * depend: Regenerate. + * emacs.c (main_1): Clean up old, now irrelevant, commented-out + preprocessor checks. Convert GNU_MALLOC test into an equivalent + SYSTEM_MALLOC test. + (voodoo_free_hook): Convert GNU_MALLOC test into an equivalent + SYSTEM_MALLOC test. + (Fkill_emacs): Ditto. + * gc.h: Ditto. + * malloc.c: Remove. + * s/sunos4-0-shr.h: Defining GNU_MALLOC is no longer necessary. + +2009-11-08 Aidan Kehoe <kehoea@parhasard.net> + + * window.c (Fsave_window_excursion, save_window_excursion_unwind): + Remove these functions, the first was masked by + #'save-window-excursion in window.el, and the second can be easily + replaced with Lisp primitives. + * bytecode.c (Bsave_window_excursion) : Don't pass + save_window_excursion_unwind to record_unwind_protect, now the + former is gone. + * event-stream.c (execute_help_form): + Ditto. + +2009-11-08 Aidan Kehoe <kehoea@parhasard.net> + + * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): + New #define, "/" on Unix and "C:\\" on Win32 native, a directory + that should "always" be available. + * fileio.c (Fexpand_file_name): Use DEFAULT_DIRECTORY_FALLBACK + here, instead of conditionalising on WIN32_NATIVE. + * editfns.c (get_home_directory): + Use DEFAULT_DIRECTORY_FALLBACK if looking up the home directory + fails, on both Windows and Unix. + * buffer.c (init_initial_directory): + Don't give a fatal error if the current directory doesn't exist, + chdir to DEFAULT_DIRECTORY_FALLBACK instead. + +2009-11-02 Stephen Turnbull <stephen@xemacs.org> + + Fix issue145. + + * process.c: Remove abbreviated comments on exported Lisp + variables, and point to docstrings. + (init_process_io_handles): Allow Vdefault_network_coding_system + and Vdefault_process_coding_system to be nil. + (Vdefault_network_coding_system): + (Vdefault_process_coding_system): + Document that these variables may be nil. + +2009-10-26 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in (REALPATH_CORRECTS_CASE): + New #define, available on Darwin. + * realpath.c (readlink_or_correct_case): + On Darwin, use realpath(3)'s case correction to get the canonical + case for a file; thank you Robert Delius Royar! + +2009-10-16 Michael Sperber <mike@xemacs.org> + + * buffer.c (set_buffer_internal): Synchronize the window point + with the current point when switching to another buffer. + +2009-10-11 Michael Sperber <mike@xemacs.org> + + * event-stream.c (post_command_hook): Run `post-command-hook' + without INHIBIT_EXISTING_PERMANENT_DISPLAY_OBJECT_DELETION - + deleting other windows off that hook is legitimate. + +2009-10-08 Jerry James <james@xemacs.org> + + * bytecode.c (bytecode_arithop): Make divide-by-zero errors + noncontinuable. + * floatfns.c (arith_error2): New macro for signaling divide-by-zero. + (ceiling_two_fixnum): Handle a value returned from a continuable error. + (ceiling_two_bignum): Ditto. + (ceiling_two_ratio): Ditto. + (ceiling_two_bigfloat): Ditto. + (ceiling_two_float): Ditto. + (floor_two_fixnum): Ditto. + (floor_two_bignum): Ditto. + (floor_two_ratio): Ditto. + (floor_two_bigfloat): Ditto. + (floor_two_float): Ditto. + (round_two_fixnum): Ditto. + (round_two_bignum): Ditto. + (round_two_ratio): Ditto. + (round_two_bigfloat): Ditto. + (round_two_float): Ditto. + (truncate_two_fixnum): Ditto. + (truncate_two_bignum): Ditto. + (truncate_two_ratio): Ditto. + (truncate_two_bigfloat): Ditto. + (truncate_two_float): Ditto. + (truncate_one_ratio): Truncating zero should result in zero. + +2009-10-10 Aidan Kehoe <kehoea@parhasard.net> + + * rangetab.c (Frange_table_type): + Correct the docstring for this function, don't reuse that of + Frange_table_p. + +2009-10-05 Jerry James <james@xemacs.org> + + * emacs.c (main_1): Check the return value of dup() to quiet gcc. + * input-method-xlib.c (describe_Window): Check the return value of + system() to quiet gcc. + * objects-tty.c (UNUSED_IF_NEW_GC): New macro. + (tty_finalize_color_instance): Use it to quiet gcc. + (tty_finalize_font_instance): Ditto. + * syntax.c (UNUSED_IF_NEW_GC): New macro. + (uninit_buffer_syntax_cache): Use it to quiet gcc. + +2009-10-05 Jerry James <james@xemacs.org> + + * glade.c: Add GPL v2 or later notice with explicit permission of + Bill Perry (private email). + * gtk-glue.c: Ditto. + * gtk-xemacs.c: Ditto. + * gtk-xemacs.h: Ditto. + * ui-byhand.c: Ditto. + * ui-gtk.c: Ditto. + * ui-gtk.h: Ditto. + * unexfx2800.c: Fix malformed comment. + +2009-10-05 Jerry James <james@xemacs.org> + + * Makefile.in.in: Remove internal GIF object files from link. + * dgif_lib.c: Removed. + * gif_io.c: Removed. + * gifrlib.h: Removed. + * glyphs-eimage.c: Use external giflib instead of internal GIF + support. + (gif_instantiate_unwind): Use giflib's FreeSavedImages call + instead of the defunct GifFree. + (gif_read_from_memory): Adapt signature to giflib. + (gif_error_func): Removed. + (gif_memory_close): Removed. + (gif_decode_error_string): New function. + (gif_instantiate): Adapt to giflib API. + * libinterface.h: Include external giflib header instead of + internal GIF header. + +2009-06-28 Stephen J. Turnbull <stephen@xemacs.org> + + * Makefile.in.in (mostlyclean): + (versionclean): + (extraclean-noconfig): + (extraclean): + Clean certain build and debug products. + +2009-10-01 Mike Sperber <mike@xemacs.org> + + * frame-x.c (x_focus_on_frame): Use correct timestamp with + XSetInputFocus. + +2009-09-30 Aidan Kehoe <kehoea@parhasard.net> + + * mule-coding.c (fixed_width_putprop): + Register any CCL programs, avoiding crashes described by Robert + Delius Royar. Though it's unclear why, I'll try to investigate + once I'm on a 32-bit Unix machine regularly again. + +2009-09-29 Mike Sperber <mike@xemacs.org> + + * minibuf.c (Ftry_completion): If the collection is a list, allow + plain elements instead of cons cells. (As in GNU Emacs.) + +2009-09-23 Stephen Turnbull <stephen@xemacs.org> + + * glyphs-eimage.c (png_instantiate): + Clean up PNG handling. Fixes crash in issue570. + + Pad eimage buffer to handle overrun in libpng (fix crash). + Reorder libpng setup and call png_read_update_info (display + images with transparency correctly). + Make background handling code prettier. + Make comment style more consistent. + Remove some obsolete comments and #ifdefs. + +2009-09-20 Aidan Kehoe <kehoea@parhasard.net> + + * alloc.c (Flist): + (Fvector): + (Fbit_vector): + (Fmake_byte_code): + (Fstring): + * data.c (Feqlsign): + (Flss): + (Fgtr): + (Fleq): + (Fgeq): + (Fneq): + (Fgtr): + (Fplus): + (Fminus): + (Ftimes): + (Fdiv): + (Fquo): + (Fmax): + (Fmin): + (Flogand): + (Flogior): + (Flogxor): + * editfns.c (Fsave_excursion): + (Fsave_current_buffer): + (Fencode_time): + (Finsert): + (Finsert_before_markers): + (Fsave_restriction): + (Fformat): + * elhash.c (Fmake_hash_table): + * eval.c (Fdefun): + (Fdefmacro): + (Fcatch): + (Funwind_protect): + (Fcall_with_condition_handler): + (Ffuncall): + (Fapply): + (Frun_hooks): + * fns.c (Fappend): + (Fconcat): + (Fvconcat): + (Fbvconcat): + (Fnconc): + * print.c (Fwith_output_to_temp_buffer): + * process.c (Fstart_process_internal): + * window.c (Fsave_window_excursion): + * widget.c (Fwidget_apply): + Add argument information, in a form understood by + #'function-arglist, to all these MANY or UNEVALLED (that is to + say, special-operator) built-in functions. + +2009-09-20 Aidan Kehoe <kehoea@parhasard.net> + + * general-slots.h: + * mule-coding.c (syms_of_mule_coding): + * mule-charset.c (syms_of_mule_charset): + Move Qfrom_unicode to general-slots.h, now it's used in more than + one file. Fixes the native Win32 build; thank you Vin! + +2009-09-19 Aidan Kehoe <kehoea@parhasard.net> + + Move the #'query-coding-region implementation to C. + + This is necessary because there is no reasonable way to access the + corresponding mswindows-multibyte functionality from Lisp, and we + need such functionality if we're going to have a reliable and + portable #'query-coding-region implementation. However, this + change doesn't yet provide #'query-coding-region for the + mswindow-multibyte coding systems, there should be no functional + differences between an XEmacs with this change and one without it. + + * mule-coding.c (struct fixed_width_coding_system): + Add a new coding system type, fixed_width, and implement it. It + uses the CCL infrastructure but has a much simpler creation API, + and its own query_method, formerly in lisp/mule/mule-coding.el. + * unicode.c: + Move the Unicode query method implementation here from + unicode.el. + * lisp.h: Declare Fmake_coding_system_internal, Fcopy_range_table + here. + * intl-win32.c (complex_vars_of_intl_win32): + Use Fmake_coding_system_internal, not Fmake_coding_system. + * general-slots.h: Add Qsucceeded, Qunencodable, Qinvalid_sequence + here. + * file-coding.h (enum coding_system_variant): + Add fixed_width_coding_system here. + (struct coding_system_methods): + Add query_method and query_lstream_method to the coding system + methods. + Provide flags for the query methods. + Declare the default query method; initialise it correctly in + INITIALIZE_CODING_SYSTEM_TYPE. + * file-coding.c (default_query_method): + New function, the default query method for coding systems that do + not set it. Moved from coding.el. + (make_coding_system_1): + Accept new elements in PROPS in #'make-coding-system; aliases, a + list of aliases; safe-chars and safe-charsets (these were + previously accepted but not saved); and category. + (Fmake_coding_system_internal): + New function, what used to be #'make-coding-system--on Mule + builds, we've now moved some of the functionality of this to + Lisp. + (Fcoding_system_canonical_name_p): + Move this earlier in the file, since it's now called from within + make_coding_system_1. + (Fquery_coding_region): + Move the implementation of this here, from coding.el. + (complex_vars_of_file_coding): + Call Fmake_coding_system_internal, not Fmake_coding_system; + specify safe-charsets properties when we're a mule build. + * extents.h (mouse_highlight_priority, Fset_extent_priority, + Fset_extent_face, Fmap_extents): + Make these available to other C files. + +2009-09-11 Aidan Kehoe <kehoea@parhasard.net> + + * unicode.c (unicode_convert): + Fix a bug with error sequences and very short input strings. + +2009-08-31 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (For, Fand): + Don't declare val as REGISTER in these functions, for some reason + it breaks the non-DEBUG union build. These functions are only + called from interpreted code, the performance implication doesn't + matter. Thank you Robert Delius Royar! + * eval.c (Fmultiple_value_list_internal): + Error on too many arguments. + +2009-08-24 Jerry James <james@xemacs.org> + + * lisp.h (INT_64_BIT): define as __int64 on WIN32. + * glyphs-eimage.c (tiff_instantiate): cast argument of + xnew_binbytes to size_t (guaranteed to fit because of immediately + preceding check). + +2009-08-11 Aidan Kehoe <kehoea@parhasard.net> + + * floatfns.c (ROUNDING_CONVERT, CONVERT_WITH_NUMBER_TYPES) + (CONVERT_WITHOUT_NUMBER_TYPES, MAYBE_TWO_ARGS_BIGNUM) + (MAYBE_ONE_ARG_BIGNUM, MAYBE_TWO_ARGS_RATIO) + (MAYBE_ONE_ARG_RATIO, MAYBE_TWO_ARGS_BIGFLOAT) + (MAYBE_ONE_ARG_BIGFLOAT, MAYBE_EFF, MAYBE_CHAR_OR_MARKER): + New macros, used in the implementation of the rounding functions. + (ceiling_two_fixnum, ceiling_two_bignum, ceiling_two_ratio) + (ceiling_two_bigfloat, ceiling_one_ratio, ceiling_one_bigfloat) + (ceiling_two_float, ceiling_one_float, ceiling_one_mundane_arg) + (floor_two_fixnum, floor_two_bignum, floor_two_ratio) + (floor_two_bigfloat, floor_one_ratio, floor_one_bigfloat) + (floor_two_float, floor_one_mundane_arg, round_two_fixnum) + (round_two_bignum_1, round_two_bignum, round_two_ratio) + (round_one_bigfloat_1, round_two_bigfloat, round_one_ratio) + (round_one_bigfloat, round_two_float, round_one_float) + (round_one_mundane_arg, truncate_two_fixnum) + (truncate_two_bignum, truncate_two_ratio, truncate_two_bigfloat) + (truncate_one_ratio, truncate_one_bigfloat, truncate_two_float) + (truncate_one_float, truncate_one_mundane_arg): + New functions, used in the implementation of the rounding + functions. + (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor) + (Ffround, Fftruncate): + Revise to fully support Common Lisp conventions. This means: + -- All functions have optional DIVISOR arguments + -- All functions return multiple values; see #'values + -- All functions do their arithmetic with the correct number types + according to the contamination rules. + -- #'round and #'fround always round towards the even number + in ambiguous cases. + * doprnt.c (emacs_doprnt_1): + * number.c (internal_coerce_number): + Call Ftruncate with two arguments, not one. + * floatfns.c (Ffloat): + Correct this, if NUMBER is a bignum. + * lisp.h: + Declare Ftruncate as taking two arguments. + * number.c: + Provide scratch_ratio2, init it appropriately. + * number.h: + Make scratch_ratio2 available. + * number.h (BIGFLOAT_ARITH_RETURN): + * number.h (BIGFLOAT_ARITH_RETURN1): + Correct these functions. + +2009-08-11 Aidan Kehoe <kehoea@parhasard.net> + + * bytecode.c (enum Opcode /* Byte codes */): + Add four new bytecodes, to deal with multiple values. + (POP_WITH_MULTIPLE_VALUES): New macro. + (POP): Modify this macro to ignore multiple values. + (DISCARD_PRESERVING_MULTIPLE_VALUES): New macro. + (DISCARD): Modify this macro to ignore multiple values. + (TOP_WITH_MULTIPLE_VALUES): New macro. + (TOP_ADDRESS): New macro. + (TOP): Modify this macro to ignore multiple values. + (TOP_LVALUE): New macro. + (Bcall): Ignore multiple values where appropriate. + (Breturn): Pass back multiple values. + (Bdup): Preserve multiple values. + Use TOP_LVALUE with most bytecodes that assign anything to + anything. + (Bbind_multiple_value_limits, Bmultiple_value_call, + Bmultiple_value_list_internal, Bthrow): Implement the new + bytecodes. + (Bgotoifnilelsepop, Bgotoifnonnilelsepop, BRgotoifnilelsepop, + BRgotoifnonnilelsepop): + Discard any multiple values. + * callint.c (Fcall_interactively): + Ignore multiple values when calling #'eval, in two places. + * device-x.c (x_IO_error_handler): + * macros.c (pop_kbd_macro_event): + * eval.c (Fsignal): + * eval.c (flagged_a_squirmer): + Call throw_or_bomb_out, not Fthrow, now that the latter is a + special form. + * eval.c: + Make Qthrow, Qobsolete_throw available as symbols. + Provide multiple_value_current_limit, multiple-values-limit (the + latter as specified by Common Lisp. + * eval.c (For): + Ignore multiple values when comparing with Qnil, but pass any + multiple values back for the last arg. + * eval.c (Fand): + Ditto. + * eval.c (Fif): + Ignore multiple values when examining the result of the + condition. + * eval.c (Fcond): + Ignore multiple values when comparing what the clauses give, but + pass them back if a clause gave non-nil. + * eval.c (Fprog2): + Never pass back multiple values. + * eval.c (FletX, Flet): + Ignore multiple when evaluating what exactly symbols should be + bound to. + * eval.c (Fwhile): + Ignore multiple values when evaluating the test. + * eval.c (Fsetq, Fdefvar, Fdefconst): + Ignore multiple values. + * eval.c (Fthrow): + Declare this as a special form; ignore multiple values for TAG, + preserve them for VALUE. + * eval.c (throw_or_bomb_out): + Make this available to other files, now Fthrow is a special form. + * eval.c (Feval): + Ignore multiple values when calling a compiled function, a + non-special-form subr, or a lambda expression. + * eval.c (Ffuncall): + If we attempt to call #'throw (now a special form) as a function, + don't error, call #'obsolete-throw instead. + * eval.c (make_multiple_value, multiple_value_aset) + (multiple_value_aref, print_multiple_value, mark_multiple_value) + (size_multiple_value): + Implement the multiple_value type. Add a long comment describing + our implementation. + * eval.c (bind_multiple_value_limits): + New function, used by the bytecode and by #'multiple-value-call, + #'multiple-value-list-internal. + * eval.c (multiple_value_call): + New function, used by the bytecode and #'multiple-value-call. + * eval.c (Fmultiple_value_call): + New special form. + * eval.c (multiple_value_list_internal): + New function, used by the byte code and + #'multiple-value-list-internal. + * eval.c (Fmultiple_value_list_internal, Fmultiple_value_prog1): + New special forms. + * eval.c (Fvalues, Fvalues_list): + New Lisp functions. + * eval.c (values2): + New function, for C code returning multiple values. + * eval.c (syms_of_eval): + Make our new Lisp functions and symbols available. + * eval.c (multiple-values-limit): + Make this available to Lisp. + * event-msw.c (dde_eval_string): + * event-stream.c (execute_help_form): + * glade.c (connector): + * glyphs-widget.c (glyph_instantiator_to_glyph): + * glyphs.c (evaluate_xpm_color_symbols): + * gui-x.c (wv_set_evalable_slot, button_item_to_widget_value): + * gui.c (gui_item_value, gui_item_display_flush_left): + * lread.c (check_if_suppressed): + * menubar-gtk.c (menu_convert, menu_descriptor_to_widget_1): + * menubar-msw.c (populate_menu_add_item): + * print.c (Fwith_output_to_temp_buffer): + * symbols.c (Fsetq_default): + Ignore multiple values when calling Feval. + * symeval.h: + Add the header declarations necessary for the multiple-values + implementation. + * inline.c: + #include symeval.h, now that it has some inline functions. + * lisp.h: + Update Fthrow's declaration. Make throw_or_bomb_out available to + all files. + * lrecord.h (enum lrecord_type): + Add the multiple_value type here. + +2009-07-31 Stephen Turnbull <stephen@xemacs.org> + + * glyphs-gtk.c (gtk_xpm_instantiate): Image instance pixmap + hotspot coordinates are Lisp integers; make it so. + Thanks to Karl Kleinpaste for reporting. + +2009-07-31 Stephen Turnbull <stephen@xemacs.org> + + * config.h.in (HAVE_DBM): + * database.c (HAVE_DBM): + Use gdbm/ndbm.h if needed (via NDBM_H_FILE). + Thanks to Karl Kleinpaste for the report. + +2009-07-28 Stephen Turnbull <stephen@xemacs.org> + + * faces.c (ensure_face_cachel_contains_charset): + (add_face_cachel): + (update_face_cachel_data): + Fix typos in comments and otherwise improve them. + +2009-07-27 Stephen J. Turnbull <stephen@xemacs.org> + + * eval.c (debug-on-error): Document interaction with process filters. + +2009-07-15 Aidan Kehoe <kehoea@parhasard.net> + + * syntax.c (complex_vars_of_syntax): + ?\012 is whitespace, as it always should have been, thank you Karl + Kleinpaste and the Gnus team! + +2009-07-11 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c (undecided_canonicalize_after_coding): + If no data have been seen, or if + coding_stream_canonicalize_after_coding gives nil, pass back + str->codesys, which will be of type undecided (the same as the old + behaviour) but will reflect any CODESYS argument passed to + make_coding_input_stream. See also the change in lisp/code-files.el + +2009-06-09 Jerry James <james@xemacs.org> + + * glyphs-eimage.c (jpeg_instantiate): + (gif_instantiate): + (png_instantiate): + (tiff_instantiate): Check for integer overflow before allocating + memory for an image. + +2009-06-20 Stephen Turnbull <stephen@xemacs.org> + + * callint.c (Finteractive): Document that (interactive) must + appear at the "top level" of a function definition to be effective. + +2009-06-14 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (For): + * eval.c (Fand): + * eval.c (Fif): + * eval.c (Fwhen): + * eval.c (Fcond): + * eval.c (Fprogn): + * eval.c (Fprog1): + * eval.c (Fprog2): + * eval.c (FletX): + * eval.c (Flet): + * eval.c (Fwhile): + * eval.c (Fdefvar): + * eval.c (Fdefconst): + * eval.c (Frun_hooks): + * eval.c (Frun_hooks_with_args): + * eval.c (Frun_hooks_with_args_until_success): + * eval.c (Frun_hooks_with_args_until_failure): + Add arguments information, understood by #'function-arglist, to + all these special forms, functions and macros. Remove the + argument information that was already there that was not + understood by #'function-arglist. + +2009-06-02 Ron Isaacson <Ron.Isaacson@morganstanley.com> + + * nt.c (mswindows_link): Fix off-by-one bug in mswindows_link: + need to include trailing NUL in length of file name. + +2009-05-18 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.29 "garbanzo" is released. + +2009-03-08 Ville Skyttä <scop@xemacs.org> + + * glyphs-gtk.c (init_image_instance_from_gdk_pixmap): Apply the + 2008-03-05 change from Dominique Quatravaux here as well even + though the code is not enabled at the moment. + +2009-02-04 Stephen J. Turnbull <stephen@xemacs.org> + + * eval.c (skip_debugger): Fix typo in preceding comment. + +2009-02-11 Jerry James <james@xemacs.org> + + * number-gmp.c (bigfloat_to_string): Fix broken string conversion. + +2009-02-10 Aidan Kehoe <kehoea@parhasard.net> + + * lread.c (Fload_internal): + Make load-file-name-internal readonly for Lisp code; make + load-file-name a modifiable copy. + (init_lread): + Initialised Vload_file_name_internal, Vload_file_name to nil on + each post-dump start. + +2009-02-02 Stephen J. Turnbull <stephen@xemacs.org> + + * frame-x.c (x_init_frame_2): Update comment per new info from HT. + +2009-02-02 Stephen J. Turnbull <stephen@xemacs.org> + + * frame-x.c (x_init_frame_2): Placate openbox by calling + update_frame_icon. Suggested by Henry S. Thompson + <ht@inf.ed.ac.uk> in <f5btz7ghm5k@hildegard.inf.ed.ac.uk>. + +2009-01-31 Aidan Kehoe <kehoea@parhasard.net> + + * unicode.c (unicode_convert): + Correct little-endian UTF-16 surrogate handling. + +2009-01-16 Aidan Kehoe <kehoea@parhasard.net> + + * chartab.c (print_table_entry): + Print char table values correctly, eliminating some confusion + between symbols and strings. + +2009-01-10 Aidan Kehoe <kehoea@parhasard.net> + + * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): + Accept msprinter as well as mswindows devices here. + +2008-12-30 Aidan Kehoe <kehoea@parhasard.net> + + * device-x.c (Fx_get_font_path): + Free the font path once we're finished with it. + +2008-12-28 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c (Fmake_coding_system): + Document our use of the safe-chars and safe-charsets properties, + and the differences compared to GNU. + (make_coding_system_1): Don't drop the safe-chars and + safe-charsets properties. + (Fcoding_system_property): Return the safe-chars and safe-charsets + properties when asked for them. + * file-coding.h (CODING_SYSTEM_SAFE_CHARSETS): + * coding-system-slots.h: + Make the safe-chars and safe-charsets slots available in these + headers. + +2008-12-27 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c (Fbuilt_in_symbol_file): + Return a subr's filename immediately if we've found it. Check for + compiled function and compiled macro docstrings in DOC too, and + return them if they exist. + The branch of the if statement focused on functions may have + executed, but we may still want to check variable bindings; an + else clause isn't appropriate. + +2008-12-27 Vin Shelton <acs@xemacs.org> + + * syswindows.h: Don't define wide character interfaces for Cygwin + 1.7 and up. + +2008-12-22 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fdefine_function): + * eval.c (define_function): + Record explicitly that we're defining a function in the load + history, in both these files. + +2008-12-22 Aidan Kehoe <kehoea@parhasard.net> + + * faces.c (Fbuilt_in_face_specifiers): + Document that we're returning a copy. + +2008-12-21 Aidan Kehoe <kehoea@parhasard.net> + + * faces.c (Fbuilt_in_face_specifiers): + Don't simply warn the user not to modify + Vbuilt_in_face_specifiers, enforce this by returning a copy of the + list. + +2008-11-02 Stephen J. Turnbull <stephen@xemacs.org> + + G++ 4.3 complains a lot about implicit conversions of string + literals (const char *) to char *. Shut it up. + + * console-x.h: + * EmacsFrame.c: + * EmacsManager.c: + * EmacsShell-sub.c: + #include ../lwlib/xt-wrappers.h. + Cast class name to String. + Cast action names to String. + Rewrite resources to use Xt_RESOURCE. + + * console-x.h: + Move Xt_SET_VALUE and Xt_GET_VALUE to ../lwlib/xt-wrappers.h. + + * console-x.h (describe_XRectangle): + * input-method-xlib.c (describe_XRectangle): + * emacs.c (argmatch): + * emacs.c (check_compatible_window_system): + * emodules.c (Fload_module): + * emodules.c (Funload_module): + * event-stream.c (external_debugging_print_event): + * file-coding.h (struct subsidiary_type): + * file-coding.c (struct subsidiary_type): + * file-coding.c (setup_eol_coding_systems): + * file-coding.c (make_coding_system_1): + * file-coding.c (make_internal_coding_system): + * gif_io.c (GifErrorString: + * gif_io.c (GetGifError): + * input-method-xlib.c (XIM_init_frame): + * mule-coding.c (ccl_putprop): + * print.c (printing_major_badness): + * redisplay.c (generate_fstring_runes): + Declare String or char * argument or variable as const. + + * EmacsFrame.c (EmacsFrameSetCharSize): + * EmacsShell-sub.c (update_size_hints_internal): + * EmacsShell-sub.c (SuperClassRootGeometryManager): + * device-x.c (emacs_options): + * device-x.c (compute_x_app_name): + * device-x.c (have_xemacs_resources_in_xrdb): + * device-x.c (x_init_device): + * event-Xt.c (x_fallback_resources): + * event-Xt.c (widgetActionsList): + * event-Xt.c (emacs_Xt_event_add_widget_actions): + * frame-x.c (x_wm_set_cell_size): + * frame-x.c (x_wm_set_variable_size): + * frame-x.c (x_set_frame_text_value): + * frame-x.c (x_initialize_frame_size): + * frame-x.c (x_create_widgets): + * frame-x.c (x_set_frame_icon): + * frame-x.c (x_set_frame_position): + * frame-x.c (x_update_frame_external_traits): + * glyphs-x.c (x_redisplay_widget): + * glyphs-x.c (update_tab_widget_face): + * glyphs-x.c (x_widget_instantiate): + * glyphs-x.c (x_button_instantiate): + * glyphs-x.c (x_progress_gauge_redisplay): + * glyphs-x.c (x_tab_control_redisplay): + * menubar-x.c (make_dummy_xbutton_event): + Use Xt_SET_ARG, Xt_SET_VALUE, and Xt_GET_VALUE instead of raw Xt + equivalents. + Declare String or char * argument or local variable as const. + Cast string literals to char* (or equivalent). + + * input-method-xlib.c: + Use Xt_RESOURCE. + +2008-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * elhash.c (hash_table_data_validate): + * elhash.c (decode_hash_table_rehash_size): + * elhash.c (decode_hash_table_rehash_threshold): + Document side effects used in these functions. + +2008-11-20 Stephen J. Turnbull <stephen@xemacs.org> + + * console-x-impl.h (struct x_frame): Clarify comment. + +2008-11-01 Stephen J. Turnbull <stephen@xemacs.org> + + * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos. + From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>. + +2008-11-01 Stephen J. Turnbull <stephen@xemacs.org> + + * mule-ccl.c (ccl_driver): Fix off-by-one error. + By Julian Bradfield in <18691.16568.526264.972026@krk.inf.ed.ac.uk>. + +2008-10-25 Stephen J. Turnbull <stephen@xemacs.org> + + * lisp.h (static_pro): Cast out a warning. + g++ 4.3 complains about the conversion of const char to char. + These end up in a dynarray, so we would need to define a whole new + class of dynarray just to handle the const char stuff. + +2008-08-27 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fuser_variable_p): + (map_varalias_chain): + Use EQ() and !EQ(), don't compare two Lisp_Objects using == and + !=. Fixes the union build, thank you Robert Delius Royar. + +2008-08-23 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (Fuser_variable_p): Moved to symbols.c + * symbols.c (Fcustom_variable_p): Moved here from custom.el. + (user_variable_alias_check_fun): Mapper function used in + `user-variable-p'. + (Fuser_variable_p): Moved here from eval.c, to allow it to examine + the variable alias chain. Expanded to check each entry in the + variable alias chain for signs of being a user variable; + documentation updated, noting the differences between GNU's + behaviour and ours (ours is a little more sensible) + (map_varalias_chain): New. + Given a C function, call it at least once for each symbol in a + symbol's varalias chain, signalling an error if there's a cycle, + and returning immediately if the function returns something other + than Qzero. + (Fdefvaralias): Correct the use of the word "alias" in the + docstring and in the argument name. Motivate this in a + comment. Add support for a DOCSTRING argument, something GNU has + too, and document this + * gc.c (vars_of_gc): Start the docstring of + `garbage-collection-messages' with an asterisk, to indicate that + it's a user variable. + +2008-08-09 Aidan Kehoe <kehoea@parhasard.net> + + Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change, + which can allow much better performace with some stupid + filesystems: + * fileio.c (write_region_inhibit_fsync): New variable. + (Fwrite_region): Use it to skip call to fsync. + (syms_of_fileio): Initialize it. + +2008-08-10 Aidan Kehoe <kehoea@parhasard.net> + + * objects-xlike-inc.c (charset_table): Remove the entry for + Vcharset_arabic_iso8859_7, thank you Robert Delius Royar. + +2008-08-05 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c (complex_vars_of_mule_charset): + Remove Vcharset_arabic_iso8859_7. + * lisp.h: Remove Vcharset_arabic_iso8859_7. + See commentary in lisp/mule/iso-with-esc.el for motivation. + +2008-08-03 Mats Lidell <matsl@xemacs.org> + + * config.h.in: Renamed USE_XFT_GAUGE to USE_XFT_GAUGES in sync + with configure.ac. + +2008-07-20 John Paul Wallington <jpw@pobox.com> + + * nt.c (Fmswindows_short_file_name, Fmswindows_long_file_name): + Remove their interactive specs; they shouldn't be called interactively. + +2008-07-17 Aidan Kehoe <kehoea@parhasard.net> + + * redisplay.c (init_redisplay): + Don't set window-system to 'stream if running noninteractively, + revert to the documented behaviour. + +2008-07-16 Aidan Kehoe <kehoea@parhasard.net> + + * lread.c (read_escape): + Error if we're handed an over-long hex character escape, something + which arises reasonably frequently in code written for GNU. + +2008-07-07 Aidan Kehoe <kehoea@parhasard.net> + + Patch to make it up to the device-specific code whether + various Lisp functions should be called during device creation, + not relying on the startup code to decide this. Also, rename + initial-window-system to initial-device-type (which makes more + sense in this scheme), always set it. + + * redisplay.c (Vinitial_device_type): New. + (Vinitial_window_system): Removed. + Rename initial-window-system to initial-device type, making it + a stream if we're noninteractive. Update its docstring. + + * device-x.c (Qmake_device_early_x_entry_point, + Qmake_device_late_x_entry_point): New. + Rename Qinit_pre_x_win, Qinit_post_x_win. + (x_init_device): Call #'make-device-early-x-entry-point earlier, + now we rely on it to find the application class and the + app-defaults directory. + (x_finish_init_device): Call #'make-device-late-x-entry-point with + the created device. + (Vx_app_defaults_directory): Always make this available, to + simplify code in x-init.el. + + * device-tty.c (Qmake_device_early_tty_entry_point): New. + Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to + frame-tty.c as Qmake_frame_after_init_entry_point. + (tty_init_device): Call #'make-device-early-tty-entry-point before + doing anything. + * frame-tty.c (Qmake_frame_after_init_entry_point): New. + * frame-tty.c (tty_after_init_frame): Have it call the + better-named #'make-frame-after-init-entry-point function + instead of #'init-post-tty-win (since it's called after frame, not + device, creation). + + * device-msw.c (Qmake_device_early_mswindows_entry_point, + Qmake_device_late_mswindows_entry_point): New. + Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win. + (mswindows_init_device): Call + #'make-device-early-mswindows-entry-point here, instead of having + its predecessor call us. + (mswindows_finish_init_device): Call + #'make-device-early-mswindows-entry-point, for symmetry with the + other device types (though it's an empty function). + + * device-gtk.c (Qmake_device_early_gtk_entry_point, + Qmake_device_late_gtk_entry_point): New. + Rename Qinit_pre_gtk_win, Qinit_post_gtk_win. + (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't + load ~/.xemacs/gtk-options.el ourselves, leave that to lisp. + (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point + with the created device as an argument. + +2008-07-10 Aidan Kehoe <kehoea@parhasard.net> + + * redisplay-msw.c (mswindows_text_width_single_run): + Explicitly check for the null font instance, and return zero if + so. Avoids the crash documented in + http://mid.gmane.org/18473.32468.712317.149457@parhasard.net . + +2008-05-27 Aidan Kehoe <kehoea@parhasard.net> + + * editfns.c (Ftranslate_region): + Correct a thinko in the last commit; I meant #'get-char-table, not + #'put-char-table. + +2008-05-25 Aidan Kehoe <kehoea@parhasard.net> + + * chartab.c (Fmake_char_table): + Document the default return values for the various char table + types. + * editfns.c (Ftranslate_region): Document why `generic' char tables + are preferable to `char' char tables for this function. + +2008-05-21 Aidan Kehoe <kehoea@parhasard.net> + + * fileio.c (Fmake_symbolic_link): + Document behaviour when the underlying OS doesn't support symbolic + links. + +2008-05-13 Aidan Kehoe <kehoea@parhasard.net> + + * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): + Use WEXTSTRING separately on the two concatenated strings, + avoiding an error on Win32. + +2008-05-13 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in (_CRT_NONSTDC_NO_DEPRECATE): + Define this, to avoid warnings about using standard POSIX and C9X + functions on Win32; fixes part of Matthew Persico's problems of + 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com . + +2008-01-20 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in: Add SHEBANG_PROGNAME. + * emacs.c (main_1): + If we've been called using SHEBANG_PROGNAME, rewrite our arguments + to add a --script argument. + Also, handle the --script argument by setting noninteractive and + vanilla. + * lread.c (Fload_internal): + If the first two characters of a file are #!, replace them with ;! + before they get to the Lisp reader. + +2008-04-26 Mike Sperber <mike@xemacs.org> + + * window.c (set_window_pixsize): Round up when we're shrinking, + down when we're growing * to make sure that pairs of grow / shrink + meant to * cancel out actually do cancel out. This fixes a + problem with `resize-minibuffer-mode' where successive grow/shrink + actions are meant to cancel out, but previously didn't. + +2008-04-05 Aidan Kehoe <kehoea@parhasard.net> + + * depend: + Regenerate with LF line endings, not CRLF. + +2008-03-15 Michael Sperber <mike@xemacs.org> + + * lread.c (read1): Signal an error on ?\<newline>, thus preventing + an assertion failure higher up. + +2008-03-11 Stephen J. Turnbull <stephen@xemacs.org> + + * specifier.c (CHECK_INSTANCE_ENTRY): Fix typo in comment. + +2008-03-05 Dominique Quatravaux <domq@cpan.org> + + * glyphs-gtk.c (init_image_instance_from_gdk_image): + (gtk_colorize_image_instance): + Use IMAGE_INSTANCE_PIXMAP_MASK (an lvalue), not + IMAGE_INSTANCE_GTK_MASK (an rvalue). + +2008-03-05 Dominique Quatravaux <domq@cpan.org> + + * console-gtk.c (gtk_perhaps_init_unseen_key_defaults): Fix typo. + +2008-02-28 Didier Verna <didier@xemacs.org> + + * specifier.h (struct specifier_methods): Fix instantiate_method + prototype to match the changes below. + +2008-02-26 Didier Verna <didier@xemacs.org> + + * specifier.c (CHECK_INSTANCE_ENTRY): See below. + * specifier.c (specifier_instance_1): Propagate the no_fallback + flag to ... + * specifier.c (specifier_instance_from_inst_list): ... here, and + in turn propagate it to the <specifier>_instantiate methods. + * glyphs.c (image_instantiate): Handle the no_fallback flag. + * objects.c (color_instantiate): Ditto. + * objects.c (font_instantiate): Ditto. + * objects.c (face_boolean_instantiate): Ditto. + * specifier.c (specifier_matching_foo_from_inst_list): Update call + to specifier_instance_from_inst_list accordingly. + +2008-02-11 Aidan Kehoe <kehoea@parhasard.net> + + * search.c (search_buffer): + In the event that a character is not representable in the buffer, + fail immediately. Prevents an assertion failure in the code to + deal with whether Boyer-Moore search can be used for such + characters. + +2008-02-03 Jerry James <james@xemacs.org> + + * redisplay.c (generate_displayable_area): If a line has been + generated in place in the dynarray, use Dynarr_increment instead + of Dynarr_add. + * redisplay.c (regenerate_window): Ditto. + +2008-02-01 Jerry James <james@xemacs.org> + + * event-Xt.c (emacs_Xt_event_handler): Remove unnecessary call to + SET_EVENT_MAGIC_X_EVENT. See xemacs-beta message + <870180fe080131201011b191ae5g1d70cbd2136f570c@mail.gmail.com>. + +2008-01-30 Aidan Kehoe <kehoea@parhasard.net> + + * search.c (debug-xemacs-searches): + New variable, available on debug builds. Used in + tests/automated/case-tests.el. + (search_buffer): Only store the charset_base for characters with + translations. Correct some comments, correct some checks. If + debug_xemacs_searches is non-zero, record which search was used. + (boyer_moore): Remove an assertion that was incorrect. Remove its + documentation. Correct an assertion dealing with equivalence + tables; we may end up looking through the equivalence table if a + non-ASCII non-case character was searched for. + +2008-01-25 Michael Sperber <mike@xemacs.org> + + * emacs.c (vars_of_emacs): Zap mention of CVS. + +2008-01-24 Mike Sperber <mike@xemacs.org> + + * make-src-depend (PrintDeps): Fix Perl code that no longer works + with Perl 5.10. + +2008-01-21 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (Fputhash): Document the return value. + (Fclrhash): Ditto. + +2007-12-26 Aidan Kehoe <kehoea@parhasard.net> + + * casetab.c: + Extend and correct some case table documentation. + * search.c (search_buffer): + Correct a bug where only the first entry for a character in the + case equivalence table was examined in determining if the + Boyer-Moore search algorithm is appropriate. + + If there are case mappings outside of the charset and row of the + characters specified in the search string, those case mappings can + be safely ignored (and Boyer-Moore search can be used) if we know + from the buffer statistics that the corresponding characters cannot + occur. + + * search.c (boyer_moore): + Assert that we haven't been passed a string with varying + characters sets or rows within character sets. That's what + simple_search is for. + + In the very rare event that a character in the search string has a + canonical case mapping that is not in the same character set and + row, don't try to search for the canonical character, search for + some other character that is in the the desired character set and + row. Assert that the case table isn't corrupt. + + Do not search for any character case mappings that cannot possibly + occur in the buffer, given the buffer metadata about its + contents. + +2008-01-19 Aidan Kehoe <kehoea@parhasard.net> + + * dired.c (Ffile_attributes): If bignums are available, use them + for the file size when necessary. If they are not, be clearer + about the check for whether the file size can fit in a Lisp + integer. + +2008-01-18 Jerry James <james@xemacs.org> + + * device-x.c (x_init_device): Don't write to path or read from + format when neither has been initialized. + +2008-01-16 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (internal_hash): + Make short lists with the same contents in a different order hash + distinctly. Gives better performance for things like three-element + lists describing colours. Thank you Sebastian Freundt! + +2008-01-15 Aidan Kehoe <kehoea@parhasard.net> + + * print.c (prin1_to_string): New. + The guts of Fprin1_to_string, without resetting + Vprint_gensym_alist. + (Fprin1_to_string): + Call prin1_to_string, wrapped with RESET_PRINT_GENSYM calls. + * doprnt.c (emacs_doprnt_1): + Call prin1_to_string, not Fprin1_to_string (dos veces). Avoids an + inappropriate reset of print-gensym-alist. + +2008-01-12 Aidan Kehoe <kehoea@parhasard.net> + + * rangetab.c (Fmap_range_table): + Clarify docstring. (If FUNCTION doesn't touch any range-table + entry, things will also be correct.) + +2008-01-09 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in: + Check that __STDC_VERSION__ is defined before examining its + value. Eliminates a Cygwin warning. + +2008-01-08 Aidan Kehoe <kehoea@parhasard.net> + + * text.h (MAX_XETCHAR_SIZE): Remove, eliminating a redefinition + warning on Win32. + * dumper.c (pdump_load): + Don't use PATH_MAX_EXTERNAL, instead allocate enough for the path + + DUMP_SLACK (space for .dmp and version information), already + used on Win32 and #defined to be 100. + +2008-01-08 Jerry James <james@xemacs.org> + + * config.h.in (INLINE_HEADER): adapt to C99 inline semantics. + +2008-01-07 Jerry James <james@xemacs.org> + + * xemacs.def.in.in: Clarify the copyright and license. + +2008-01-03 Aidan Kehoe <kehoea@parhasard.net> + + * fileio.c (Fmake_temp_name): Correct the comment to cross + reference to make-temp-file, and not to this function. + +2008-01-03 Stephen J. Turnbull <stephen@xemacs.org> + + * doc.c (Fbuilt_in_symbol_file): Improve style. + +2008-01-02 Aidan Kehoe <kehoea@parhasard.net> + + * emacs.c (main_1): + Call the new vars_of_console_gtk function. + * console-gtk.c (vars_of_console_gtk): New. + * console-gtk.c (gtk_perhaps_init_unseen_key_defaults): + Correct the initialisation of the hash table, on the model of the + MSW and TTY builds. + +2008-01-02 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c (Fbuilt_in_symbol_file): + Don't check is fun zero in the condition, check that it's not + nil. Fixes the union build; thank you Stephen. + +2008-01-02 Mike Sperber <mike@xemacs.org> + + * window.c (set_window_pixsize): Factor in the modeline when + looking at window_min_width. Remove obsolete comment about + incorrect use of `default_face_height_and_width'. + (change_window_height): Remove obsolete comment about + incorrect use of `default_face_height_and_width'. + +2007-12-30 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c (Fbuilt_in_symbol_file): + Take a new TYPE argument, specifying whether the function or + variable definition of the symbol should be searched for. + Handle built-in macros correctly. + +2007-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * event-xlike-inc.c (x_keysym_to_character): + * event-xlike-inc.c (gtk_keysym_to_character): + Unify the typed character if possible, following the current value + for the unicode precedence list. + +2007-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fintern_soft): + Provide a new optional third argument, DEFAULT, for those who want + to check if "nil" is a symbol or not. (More realistically, general + code that may get handed "nil" should probably use this argument.) + +2007-12-23 Aidan Kehoe <kehoea@parhasard.net> + + * objects-tty.c (tty_find_charset_font): + * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): + * objects-msw.c (mswindows_font_spec_matches_charset_stage_1): + * objects-xlike-inc.c (x_font_spec_matches_charset): + * objects-xlike-inc.c (gtk_font_spec_matches_charset): + If the charset is not specified when calling the + font_spec_matches_charset device method, its value is Qnil, not + Qunbound. See + http://mid.gmane.org/E1EfbmW-00029r-5G@iwi191.iwi.uni-sb.de and + Ben Wing's patch of + http://mid.gmane.org/439FA06B.3090007@xemacs.org. + +2007-12-22 Aidan Kehoe <kehoea@parhasard.net> + + * database.c (Fopen_database): + Actually respect the CODESYS argument; don't require EOL + autodetection from the coding system, because autodetection mostly + fails with reads of small amounts of data. It might be possible + with an implicit #'map-database on open, though I don't think + that's a great idea. + * database.c (print_database): + Give the coding system used for text conversion when printing a + database object. + +2007-12-20 Jerry James <james@xemacs.org> + + * sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND. + +2007-12-18 Kenny Chien <Kenny.Chien@morganstanley.com> + + * extw-Xt.c (extw_wait_for_response): Don't use undocumented + internal Xt functions, avoiding inconsistent behavior between + different Solaris versions. + +2007-12-18 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fspecial_form_p): + Following commentary from Jerry James, don't error if not passed a + subr. + + Flesh out the docstring; give details of what a subr is, what a + special form is, and why one should probably not write special + forms oneself. + +2007-12-18 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fspecial_form_p): New. + For the use of advice.el, and perhaps other files; is SUBR a + special form? + +2007-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * doprnt.c (emacs_doprnt_1): + Add support for formatted printing of both longs and bignums as + base 2. + * editfns.c (Fformat): + Document the new %b escape for #'format. + * lisp.h: + Make ulong_to_bit_string available beside long_to_string. + * lread.c: + Fix a bug where the integer base was being ignored in certain + contexts; thank you Sebastian Freundt. This is necessary for + correct behaviour of #'integer-to-bit-vector and + #'bit-vector-to-integer, just added to subr.el + * print.c (ulong_to_bit_string): New. + Analagous to long_to_string, but used all the time when %b is + encountered, since we can't pass that to sprintf. + +2007-12-12 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in: + Make the results of the checks for + FcConfigGetRescanInterval, FcConfigSetRescanInterval + available. + * font-mgr.h: + If FcConfigSetRescanInterval and FcConfigGetRescanInterval are not + available as functions, #define them to map to their old + misspelled names. + * font-mgr.c (Ffc_config_get_rescan_interval): + * font-mgr.c (Ffc_config_set_rescan_interval): + Use the correct spelling in + FcConfigGetRescanInterval, FcConfigSetRescanInterval + +2007-12-11 Aidan Kehoe <kehoea@parhasard.net> + + * glyphs-eimage.c: + Merge Ron Isaacson's patch of + 3ggprxj7ifh.wl_Ron.Isaacson@morganstanley.com , originally from + Gennady Khokhorin. Prevents library incompatibilities on Win32. + +2007-12-11 Aidan Kehoe <kehoea@parhasard.net> + + * fileio.c (Fsubstitute_in_file_name): + On encountering non-existent environment variables or incorrect + syntax for specifying environment variables (as is routine on + Windows) don't error, instead pass the original strings through. + +2007-12-05 Stephen J. Turnbull <stephen@xemacs.org> + + * search.c (simple_search): Fix underrun in reverse search. + (search_buffer): Clarify decision to use boyer_moore or not. + +2007-12-06 Aidan Kehoe <kehoea@parhasard.net> + + * tests.c (Ftest_data_format_conversion): + Move those tests that expect that iso-8859-2 is ISO + 2022-compatible to testing iso-latin-2-with-esc instead. + +2007-12-02 Ron Isaacson <ron.isaacson@morganstanley.com> + + * frame.c (change_frame_size): + (change_frame_size_1): + Must reset pending flag per-frame, so do it in the latter. + +2007-12-04 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c: + * file-coding.c (find_coding_system): + C-accessible version of #'find-coding-system that doesn't + necessarily call the autoload code, for use in + #'autoload-coding-system (which we allow to overwrite autoloaded + coding systems) and make_coding_system_1 (which has to). + * file-coding.c (Ffind_coding_system): + Move the implementation to find_coding_system; call that function + with a do_autoloads argument of 1. + * file-coding.c (Fautoload_coding_system): + New. + * file-coding.c (add_coding_system_to_list_mapper): + When returning a list of coding systems, don't call the autoload + code. + * file-coding.c (make_coding_system_1): + * file-coding.c (Fcopy_coding_system): + * file-coding.c (syms_of_file_coding): + + Implement autoloaded coding systems. The form to be evaluated to + load a given coding system is stored as the value in + Vcoding_system_hash_table; this form is evaluated if + find-coding-system is called with the symbol name of the coding + system as its argument. + + This is also tied in with the POSIX locale infrastructure by means + of posix-charset-to-coding-system-hash. + +2007-11-29 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (ccl_driver): + Take out a static variable I was using for debugging. + +2007-11-26 Aidan Kehoe <kehoea@parhasard.net> + + * doprnt.c: + Default to a buffer size of 350 for the sprintf call, but increase + it if the precision and minwidth indicate that it should be + bigger. Issue reported by Hans de Graaff; bug originally fixed by + Sebastian Freundt in SXEmacs following the change I merged on + 2006-11-28. Forks have their disadvantages. + +2007-11-11 Mats Lidell <matsl@xemacs.org> + + * events.h: Based on SXEmacs patch. Support for mouse button 6 to + 26. + * keymap.h: Ditto. + * keymap.c: Ditto. + +2007-11-15 Aidan Kehoe <kehoea@parhasard.net> + + * unicode.c (coding_system_type_create_unicode): + * unicode.c (vars_of_unicode): + Move the initialisation of Vnumber_of_jit_charsets, + Vlast_jit_charset_final, Vcharset_descr to an #ifdef MULE block in + vars_of_unicode. Fixes a build failure reported by Vin + Shelton--thank you Vin! + +2007-11-14 Aidan Kehoe <kehoea@parhasard.net> + + * lread.c (read_unicode_escape): + Correct the range check for Unicode characters specified with + source-level escapes. + * unicode.c: + * unicode.c (unicode_to_ichar): + * unicode.c (coding_system_type_create_unicode): + Correct the dump behaviour for just-in-time Unicode code + points. Update the docstring for #'unicode-to-char to indicate + that code points will run out above around 400,000 in a session. + +2007-11-14 Aidan Kehoe <kehoea@parhasard.net> + + * editfns.c (vars_of_editfns): + Correct the docstring of user-full-name. + * fileio.c: + * fileio.c (Fmake_temp_name): + Document that make-temp-file is available and the best approach to + this. + * fileio.c (Fwrite_region_internal): + Take a new arg, MUSTBENEW, to error if the file to be written + already exists. + * fileio.c (auto_save_1): + Update a call to Fwrite_region_internal to pass the new argument. + * fileio.c (syms_of_fileio): + Provide 'excl as a symbol, for the calls to + write-region-internal. + +2007-11-05 Didier Verna <didier@xemacs.org> + + * glyphs.c (potential_pixmap_file_instanciator): Fix comment + describing its behavior. + * glyphs.c (xbm_mask_file_munging): Update semantics of file and + mask_file arguments to reflect recent changes in + potential_pixmap_file_instanciator (see patch below). + * glyphs-x.c (autodetect_normalize): Update call to + xbm_mask_file_munging to reflect the above change. + * glyphs-gtk.c (autodetect_normalize): Ditto. + +2007-10-10 Didier Verna <didier@xemacs.org> + + * glyphs.c (potential_pixmap_file_instantiator): Make a difference + between not being able to locate a pixmap file, and not having a + console method to do so. + * glyphs.c (simple_image_type_normalize): Notice that difference, + and don't err when the method is unavailable. + * glyphs.c (xbm_normalize): Ditto. + * glyphs.c (xface_normalize): Ditto. + * glyphs.c (xpm_normalize): Ditto. + * glyphs-shared.c (shared_resource_normalize): Ditto. + * glyphs-x.c (x_locate_pixmap_file): Recognize ~ pathnames as + fully qualified. + +2007-10-03 Didier Verna <didier@xemacs.org> + + * faces.c (reset_face_cachels): Check for noninteractive mode in + the assertions below, in which case the cache is unused. + +2007-10-03 Didier Verna <didier@xemacs.org> + + * faces.c (reset_face_cachels): Assert correct order of built-in + faces additions to the face cache, as per suggestion from Aidan. + +2007-10-03 Didier Verna <didier@xemacs.org> + + Again, fix some DEFAULT_INDEX == 0 assumptions. Actually, properly + initialize display_line structures. + + * redisplay.h (DISPLAY_LINE_INIT): New macro. Properly initialize + the default_index field to DEFAULT_INDEX. + * frame.c (init_frame): Use it. + * redisplay.c (ensure_modeline_generated): Ditto. + * redisplay.c (generate_displayable_area): Ditto. + * redisplay.c (regenerate_window): Ditto. + * redisplay-output.c (sync_display_line_structs): Ditto. + * redisplay-output.c (redisplay_output_layout): Ditto. + +2004-12-08 Shyamal Prasad <shyamal@member.fsf.org> + + * editfns.c: + * editfns.c (Fformat_time_string): + Added documentation for %z, %g, %G and %V specifiers. This synchs + up the set of % specifiers for format-time-string with Emacs + 21.3.1. Make copy of static buffer returned by localtime(). + + * strftime.c: + * strftime.c (strftime): + Implemented %z, %g, %G and %V in a style similar to existing + implementation of other specifiers. + +2007-09-30 Stephen J. Turnbull <stephen@xemacs.org> + + * search.c (Freplace_match): Improve range-checking on STRBUFFER. + +2007-09-22 Stephen J. Turnbull <stephen@xemacs.org> + + * search.c (Freplace_match): Allow STRBUFFER to specify a + subexpression when the source is a string. + +2007-09-30 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c: + * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): + * mule-ccl.c (ccl_driver): + Merge Kenichi Handa's 2004-06-12 GNU bugfix, handling EOF in + ccl_driver correctly. + +2007-09-26 Didier Verna <didier@xemacs.org> + + More fixes similar to previous patch: + + * faces.c (reset_face_cachels): Add informative comment about the + order of faces cache addition. + * redisplay.h: Ditto. + * redisplay-output.c (output_display_line): Don't rely on + DEFAULT_INDEX being 0. + * redisplay.c (create_string_text_block): Ditto. + +2007-09-26 Didier Verna <didier@xemacs.org> + + * gutter.c (calculate_gutter_size): Don't hardwire face index to + 0: use DEFAULT_INDEX instead. + +2006-11-26 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (Fcommand_execute): + * eval.c (Feval): + * eval.c (Ffuncall): + Use the PROFILE_DECLARE macro instead of declaring `struct + backtrace backtrace' by hand. + * profile.h: + * profile.h (PROFILE_EXIT_FUNCTION): + * profile.h (PROFILE_ENTER_FUNCTION): + Check do_backtrace before passing the backtrace structure to + profile_record_about_to_call, profile_record_just_called. + +2007-08-28 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (ccl_driver): + Revert the last change to mule-ccl.c, on objection from SL + Baur. The change to lisp.h in the same commit sufficed. + +2007-08-17 Marcus Crestani <crestani@xemacs.org> + + * buffer.c (Fkill_buffer): + * objects-tty.c (tty_finalize_color_instance): + * objects-tty.c (tty_finalize_font_instance): + * objects-tty.c (console_type_create_objects_tty): + * syntax.c (uninit_buffer_syntax_cache): Keep functions that do + nothing for NEW_GC instead of removing them. + +2007-08-18 Vin Shelton <acs@xemacs.org> + + * frame-msw.c (mswindows_init_frame_3): Restore extra call to + ShowWindow so that cygwin's run command can be used to open an + XEmacs session. Without this, no frame appears when the XEmacs + process starts up. + +2006-10-26 Nix <nix@esperi.org.uk> + + * dumper.c (pdump_load): Statically allocate a large enough + exe_path for all conceivable uses. Fixes a buffer overrun. + * text.h (MAX_XETCHAR_SIZE): Define, for PATH_MAX_EXTERNAL. + +2007-08-21 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (ccl_driver): + Don't pass XCHAR_OR_INT an argument of which the evaluation has + side effects; thank you Mike Fabian. + * lisp.h: + Redundantly, don't multiply evaluate the argument to XCHAR_OR_INT; + this should prevent the same error in the future. + +2007-08-17 Marcus Crestani <crestani@xemacs.org> + + * mc-alloc.c (L1_INDEX): + * mc-alloc.c (PAGE_SIZE_ALIGNMENT): + * mc-alloc.c (set_bit): + * mc-alloc.c (init_mc_allocator): Use EMACS_UINT with bit + shifting. + +2007-08-15 Marcus Crestani <crestani@xemacs.org> + + * database.c (dbm_map): Add typecast. + * database.c (dbm_get): Add typecast. + * gc.c (gc_state_type): Declare type. + * objects-tty.c (tty_find_charset_font): Add typecast. + * objects-xlike-inc.c (count_hyphens): Add typecast. + * objects-xlike-inc.c (endif): Add typecast. + +2007-08-15 Marcus Crestani <crestani@xemacs.org> + + * input-method-xlib.c (EmacsFreeXIMStyles): + * lisp.h: + * process-unix.c (connect_to_file_descriptor): + * process-unix.c (create_bidirectional_pipe): + * process-unix.c (unix_create_process): + * process-unix.c (unix_open_network_stream): + * process-unix.c (unix_open_multicast_group): Convert pointers to + EMACS_INTs instead of ints. + * vdb.c (Ftest_vdb): Print adresses as pointers. + +2007-08-14 Marcus Crestani <crestani@xemacs.org> + + * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10. + +2007-08-15 Marcus Crestani <crestani@xemacs.org> + + * buffer.c (Fkill_buffer): + * console-tty.c (free_tty_console_struct): + * device-gtk.c (free_gtk_device_struct): + * device-msw.c (mswindows_delete_device): + * device-msw.c (msprinter_delete_device): + * device-x.c (free_x_device_struct): + * device-x.c (x_delete_device): + * dynarr.c (Dynarr_lisp_realloc): + * dynarr.c (Dynarr_free): + * elhash.c: + * elhash.c (finalize_hash_table): + * elhash.c (resize_hash_table): + * elhash.c (pdump_reorganize_hash_table): + * extents.c (gap_array_delete_marker): + * frame-gtk.c (gtk_delete_frame): + * frame-msw.c (mswindows_delete_frame): + * frame-x.c (x_delete_frame): + * glyphs.c (check_for_ignored_expose): + * mc-alloc.c (mc_realloc_1): + * mc-alloc.h: + * objects-tty.c (tty_finalize_color_instance): + * objects-tty.c (tty_finalize_font_instance): + * objects-tty.c (console_type_create_objects_tty): + * syntax.c: + * syntax.c (uninit_buffer_syntax_cache): + * vdb.c (Ftest_vdb): Remove all calls to mc_free. + +2006-12-29 Nix <nix@esperi.org.uk> + + * gc.c (recompute_need_to_garbage_collect): Avoid numeric + overflow in percentage calculation. + +2007-08-04 Stephen J. Turnbull <stephen@xemacs.org> + + * sunpro.c (Fut_log_text): Fix mismatched parentheses, reorganize. + Thanks to Paul Keusemann (for a suggested patch) and Rob McMahon + for reporting the issue. + +2007-08-08 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (Feval): Fix, stick with original error messages instead + of referring to the indirected function. + + From Sebastian Freundt's mail + nhtfy9sitjf.fsf@muck.math.tu-berlin.de , Tue Jan 30 12:30:07 UTC + 2007; complements 18005.16378.980760.860724@parhasard.net . + + This reverts the error message when M-: (no-such-function t) RET + is called to the old "Symbol's function definition is void: ..." + rather than the recent "Invalid function: #<INTERNAL OBJECT ..." + +2007-07-31 Mike Sperber <mike@xemacs.org> + + * file-coding.c (undecided_convert): Kludge to prevent infinite + recursion. + * file-coding.c (detected_coding_system): Change default from + raw-text to binary. + +2007-08-04 Aidan Kehoe <kehoea@parhasard.net> + + * charset.h: + * charset.h (enum unicode_type): + Add UNICODE_UTF_32. + * lisp.h: + Add Qutf_32. + * lread.c (read_unicode_escape): + Error on an invalid Unicode escape; error on no mapping, as GNU does. + + * mule-coding.c: + * mule-coding.c (dynarr_add_2022_one_dimension): + * mule-coding.c (dynarr_add_2022_two_dimensions): + * mule-coding.c (struct iso2022_coding_stream): + * mule-coding.c (decode_unicode_char): + * mule-coding.c (indicate_invalid_utf_8): + * mule-coding.c (iso2022_decode): + * unicode.c: + * unicode.c (struct unicode_coding_stream): + * unicode.c (decode_unicode_char): + * unicode.c (DECODE_ERROR_OCTET): + * unicode.c (indicate_invalid_utf_8): + * unicode.c (encode_unicode_char_1): + * unicode.c (encode_unicode_char): + * unicode.c (unicode_convert): + * unicode.c (unicode_putprop): + * unicode.c (unicode_getprop): + * unicode.c (syms_of_unicode): + Make UTF-8 and UTF-16 handling more robust; indicate error + sequences when decoding, passing the octets as distinct from the + corresponding ISO8859-1 characters, and (by default) writing them + to disk on encoding. Don't accept over-long UTF-8 sequences, codes + >= #x110000, or UTF-16 surrogates on reading in the utf-8 coding + system; represent them as error sequences. + + Do accept code points above #x110000 in the ISO IR 196 handling, + since we decode Unicode error sequences to "Unicode" code points + starting at 0x200000, and will need to save them as such in + escape-quoted. Do not accept over-long UTF-8 sequences or UTF-16 + surrogates in escape-quoted. + + This change means that when a non-UTF-8 file is opened as UTF-8, + one change made, and immediately saved, the non-ASCII characters + are not corrupted. In Europe, this is a distinct win. + + Add UCS-4, UTF-32 as coding systems. + +2007-07-26 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (ccl_driver): + op is an integer, not a Lisp_Object; don't use it to temporarily + store a Lisp_Object. This change fixes the union build; thank you + for the report, Robert Delius Royar. + +2007-07-23 Aidan Kehoe <kehoea@parhasard.net> + + * text.c: + Backslash a parenthesis at the start of a line, for the sake of + our font lock engine. + +2007-07-21 Aidan Kehoe <kehoea@parhasard.net> + + * elhash.c (struct Lisp_Hash_Table): + * elhash.c (HTENTRY_CLEAR_P): + * elhash.c (find_htentry): + * elhash.h: + * elhash.h (htentry): + Move struct Lisp_Hash_Table, HTENTRY_CLEAR_P, struct htentry to + elhash.h, since mule-ccl.c needs to use them. Ditto adding a + declaration for find_htentry to elhash.h, and removing the static + from its declaration in elhash.c + + * file-coding.c: + Add a backslash at the beginning of a line starting with a + parenthesis, for the sake of our font lock engine. + + * mule-ccl.c: + * mule-ccl.c (CCL_LookupIntConstTbl): + * mule-ccl.c (CCL_WRITE_STRING): + * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): + Fix a bug where the charset ID of ASCII was not recognised as + being a possible leading byte. + * mule-ccl.c (CCL_MAKE_CHAR): + Take Mule character arguments in the same format as GNU. + * mule-ccl.c (CCL_DEBUG): + * mule-ccl.c (ccl_driver): + * mule-ccl.c (resolve_symbol_ccl_program): + * mule-ccl.c (Fccl_execute): + * mule-ccl.c (vars_of_mule_ccl): + Add Dave Love's hash table lookup CCL code, which has been in GNU + for years. + + Move mule-to-unicode to accept its argument in the same format as + write-multibyte-character. + + Move to accepting characters as well as integers in lots of + places; with XEmacs (and even with GNU Emacs), where the + character-integer map is not constant from one invocation to the + next, it makes sense for CCL programs with character literals to + accept those literals as characters, not integers. + + If we're a debug build, allow access to ccl-program-table from + Lisp, which can make debugging things easier. + + Take out font-ccl-encoder-alist, since it was never implemented, + and was not ever a stellar idea. + + Provide translation-hash-table-vector, as in GNU. + +2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * event-unixoid.c (event_stream_unixoid_create_io_streams): + * process-unix.c (unix_init_process_io_handles): + Cast out bogus warnings about 64-bit value truncation. + +2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and + a typo fix. + +2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * sysdep.h (environ): Needs to be in C_DECLS for C++ build. + +2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * compiler.h: Try to use USED with more compilers. Thanks, Jerry! + +2007-06-22 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (restore_int): + * eval.c (record_unwind_protect_restoring_int): + Conditionalise the munging of a C integer into a void pointer on + whether it's necessary at compile time, using INT_VALBITS (which + describes how many value bits a Lisp integer has) and INTBITS + (describing how many value bits a C integer has). + +2007-05-24 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c (Feval): + Small optimisations from Sebastian Freundt's SXEmacs work; don't + do the unnecessary book-keeping in the trivial cases, only look + for an indirect function if the stored function is a bound + symbol. + +2007-05-24 Aidan Kehoe <kehoea@parhasard.net> + + * free-hook.c (check_free): + * lisp.h: + * lisp.h (xfree): + Inspired by some of Sebastian Freundt's SXEmacs work, use a 64-bit + constant on 64-bit platforms when making sure pointers haven't + been freed twice. + +2007-05-22 Ville Skyttä <scop@xemacs.org> + + * Makefile.in.in ($(LISP)/finder-inf.el): Set lisp-directory + to $(LISP) to ensure we're working with the correct finder*. + +2007-05-21 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.28 "fuki" is released. + +2007-05-13 Adrian Aichner <adrian@xemacs.org> + + * abbrev.c: Sort abbreviations by name, similar to GNU Emacs. + * abbrev.c (write_abbrev): Losely ported from GNU Emacs. + * abbrev.c (describe_abbrev): Ditto. + * abbrev.c (Finsert_abbrev_table_description): Ditto. + +2007-05-03 Vin Shelton <acs@xemacs.org> + + * dumper.c (pdump): Don't close an already-closed file + descriptor. Patch from Steve Higham. + +2007-05-17 Vin Shelton <acs@xemacs.org> + + * linuxplay.c (linux_play_data_or_file): Fix playing sound on + 64-bit linux. Pathc from Hans de Graaff. + +2007-05-18 Stephen J. Turnbull <stephen@xemacs.org> + + * config.h.in (ERROR_CHECK_BYTE_CODE): Alphabetize ERROR_CHECK_*. + +2007-04-30 Aidan Kehoe <kehoea@parhasard.net> + + * unicode.c: + * unicode.c (encode_unicode_char_1): + * unicode.c (unicode_convert): + Support non-BMP characters in UTF-16. + +2007-05-12 Aidan Kehoe <kehoea@parhasard.net> + + * event-Xt.c (x_reset_modifier_mapping): + * event-gtk.c (gtk_reset_modifier_mapping): + Zero out the device's modifier map once we've freed it, to prevent + a double free on a re-entrant call. + +2007-05-01 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.c (Qfontsetp): Remove unused declaration. + + * font-mgr.c (xft-version): Make it a DEFVAR_CONST_INT. + + * font-mgr.c (fc-version): New: fontconfig.h version. + +2007-01-02 Aidan Kehoe <kehoea@parhasard.net> + + * faces.c: + * faces.c (syms_of_faces): + * faces.c (complex_vars_of_faces): + New symbol and corresponding specifier tag, + x-coverage-instantiator, used to group those fonts used for their + extensive coverage for obscure characters in x-faces.el. + +2007-04-16 Stephen J. Turnbull <stephen@xemacs.org> + + * redisplay-x.c (separate_textual_runs_nomule): Oops. We agreed + that memcpy didn't work, and used it anyway. Fix it. + +2007-04-15 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.c (DestroyFontsetP): New enum. + * font-mgr.c (fontset_to_list): Add destroyp argument of that type. + * font-mgr.c (Ffc_font_list): Add argument. + * font-mgr.c (Ffc_font_sort): Add argument. + + * font-mgr.h (fc_config): Declare new Lisp object type. + * font-mgr.c (print_fc_config): + * font-mgr.c (finalize_fc_config): + * font-mgr.c (fc_config_p): + * font-mgr.c (Qfc_configp): + Implement it. + * font-mgr.c (syms_of_font_mgr): + * font-mgr.c (complex_vars_of_font_mgr): + * lrecord.h (lrecord_type_fc_config): + Initialize it. + + * font-mgr.c (fc_config_create_using): New helper function. + * font-mgr.c (FCSTRLIST_TO_LISP_USING): New helper macro. + * font-mgr.c (Vfc_config_weak_list): Manage references to FcConfigs. + + * font-mgr.c (Ffc_get_version): + * font-mgr.c (Ffc_config_create): + * font-mgr.c (Ffc_config_get_current): + * font-mgr.c (Ffc_config_set_current): + * font-mgr.c (Ffc_config_up_to_date): + * font-mgr.c (Ffc_config_build_fonts): + * font-mgr.c (Ffc_config_get_config_dirs): + * font-mgr.c (Ffc_config_get_font_dirs): + * font-mgr.c (Ffc_config_get_config_files): + * font-mgr.c (Ffc_config_get_cache): + * font-mgr.c (Ffc_config_get_rescan_interval): + * font-mgr.c (Ffc_config_set_rescan_interval): + * font-mgr.c (Ffc_config_app_font_add_file): + * font-mgr.c (Ffc_config_app_font_add_dir): + * font-mgr.c (Ffc_config_app_font_clear): + * font-mgr.c (Ffc_config_filename): + * font-mgr.c (Ffc_init_load_config): + * font-mgr.c (Ffc_init_load_config_and_fonts): + * font-mgr.c (Ffc_init): + * font-mgr.c (Ffc_init_reinitialize): + Implemented operations. + + * font-mgr.c (Ffc_config_destroy): + * font-mgr.c (Ffc_config_get_blanks): + Stub operations. + +2007-04-15 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.c: Update FSF copyrights. + + * font-mgr.c (print_fc_pattern): New facility for fc-pattern + objects. Comment on need/implementation for equal/hash. + + * font-mgr.c (build_fcapi_string): New convenience macro. + * font-mgr.c (Ffc_name_unparse): + * font-mgr.c (Ffc_pattern_get): + Use it. + + * font-mgr.c (Ffc_name_parse): + * font-mgr.c (Ffc_font_match): + Remove incorrect comments about memory leaks. + +2007-04-01 Stephen J. Turnbull <stephen@xemacs.org> + + Thanks to OG for review and Aidan Kehoe for useful comments. + + * redisplay-x.c (separate_textual_runs_mule): Reorganize and document. + + (separate_textual_runs): + (separate_textual_runs_mule): + (separate_textual_runs_xft_nomule): + Update or add "theory of operation" header comments. + + (separate_textual_runs_xft_mule): Trailing whitespace removal. + +2007-03-30 Olivier Galibert <galibert@pobox.com> + + * redisplay-x.c (separate_textual_runs_xft_mule): Create. + (separate_textual_runs_xft_nomule): Create. + (separate_textual_runs_mule): Create. + (separate_textual_runs_nomule): Create. + (separate_textual_runs): Split the ifdef mess into 4 separate + functions and simplify each. + +2007-03-26 Stephen J. Turnbull <stephen@xemacs.org> + + * chartab.c (Fcopy_char_table): Use EQ, not ==. + +2007-03-24 Olivier Galibert <galibert@pobox.com> + + * chartab.c (Fcopy_char_table): Simplify the mirror table + handling: never copy a mirror table, just make a new one and mark + it dirty. Fixes http://article.gmane.org/gmane.emacs.xemacs.beta/17353 + +2007-01-22 Stephen J. Turnbull <stephen@xemacs.org> + + * eval.c (quote): + (function): + * fns.c (Frequire): + Improve docstrings. + +2007-02-21 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-tty.c (tty_font_spec_matches_charset): Use Aidan's enum. + + * objects-xlike-inc.c (xft_find_charset_font): FC_WIDTH is obsolete + and may be undefined. + + * sysdll.c (image_for_address): const cleanliness for Darwin. + + * fileio.c (Finsert_file_contents_internal): Remove unused gcpro5. + +2007-02-17 Stephen J. Turnbull <stephen@xemacs.org> + + * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion. + (png_instantiate): Initialize setjmp_buffer early, and avoid + recursive entry to error handler. + +2007-02-19 Stephen J. Turnbull <stephen@xemacs.org> + + * specifier.c (Fdevice_matching_specifier_tag_list): + Don't take XCDR of possible non-cons. Avoids crash in VM introduced + or unmasked by Aidan's 2007-02-06 patch. + + (setup_device_initial_specifier_tags): Nuke unused variable. + +2007-02-18 Stephen J. Turnbull <stephen@xemacs.org> + + Code by Mike FABIAN <mfabian@suse.de>, Takashi Iwai <tiwai@suse.de>. + See xemacs-beta <s3thctmf46c.fsf@magellan.suse.de>. Thanks! + Documentation marshalled by me. + + * select-x.c (x_get_window_property): + The buffer for property data in 32-bit format is an array of longs, + which need not be 32-bit. Compute residual from partial reads and + buffer sizes correctly for sizeof(long) == 8. + + * select-common.h: Refer to documentation in select-x.c. + +2007-02-16 Stephen J. Turnbull <stephen@xemacs.org> + + * config.h.in: Move CANNA_NEW_WCHAR_AWARE here from canna_api.c. + Remove crufty CANNA2 define, we can't support CANNA1 (IROHA). + +2007-02-06 Aidan Kehoe <kehoea@parhasard.net> + + * specifier.c (setup_device_initial_specifier_tags): + Fix a bug where the mswindows specifier tag was matching X11 + devices, because the format of the DEVICE_USER_SPECIFIED_TAGS list + wasn't being respected correctly. + +2007-02-06 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c (complex_vars_of_mule_charset): + iso8859-2 is not the X11 charset registry for the iso8859-4 + charset, my mistake. + +2007-02-05 Mike Sperber <mike@xemacs.org> + + * fileio.c (Finsert_file_contents_internal): Clean up dead + `handler' variable. + +2007-01-27 Mike Sperber <mike@xemacs.org> + + * faces.c (complex_vars_of_faces): Move declarations of fontptr + and fonts out of #ifdef MULE, unbreaking the non-MULE Xft build. + +2007-01-20 Aidan Kehoe <kehoea@parhasard.net> + + * eval.c: + Document in more detail what happens with byte-compilation, + `function', and `quote'. + * fns.c: + Mention that `require' is evaluated both at byte-compile time and + at runtime. + +2007-01-06 Vin Shelton <acs@xemacs.org> + + * fileio.c (check_writable): Check old-style readonly bit first. + +2006-12-21 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c: + Update the make-coding-system docstring to reflect unicode-type + * general-slots.h: + New symbol, unicode-type, since 'type was being overridden when + accessing a coding system's Unicode subtype. + * intl-win32.c: + Backslash a few parentheses, to help fontification along. + * intl-win32.c (complex_vars_of_intl_win32): + Use the 'unicode-type symbol, not 'type, when creating the + Microsoft Unicode coding system. + * unicode.c (unicode_putprop): + * unicode.c (unicode_getprop): + * unicode.c (unicode_print): + Using 'type as the property name when working out what Unicode + subtype a given coding system is was broken, since there's a + general coding system property called 'type. Change the former to + use 'unicode-type instead. + +2006-12-27 Malcolm Purvis <malcolmp@xemacs.org> + + * s/linux.h: Enable SYSTEM_MALLOC on ppc64, alpha and ia64 + systems. + +2006-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * faces.c (complex_vars_of_faces): + Don't use server-side fallbacks when building with XFT support. + +2006-12-06 Dr. Volker Zell <Dr.Volker.Zell@oracle.com> + + * config.h.in: New HAVE_U_INT*_T defines. + * database.c: Only use u_int*_t typedefs if not already + defined. + +2006-12-08 Aidan Kehoe <kehoea@parhasard.net> + + * specifier.c (charset_matches_specifier_tag_set_p): + A charset's entry in Vcharset_tag_lists may be nil, if, when that + charset was created, no tags with associated charset predicates + existed. Accept this possibility, treat it as the tag not matching + that charset. + +2006-12-11 Aidan Kehoe <kehoea@parhasard.net> + + * event-tty.c: + * event-tty.c (emacs_tty_event_pending_p): + * event-tty.c (reinit_vars_of_event_tty): + Pay attention to the dispatch event queue, and input pending + signals in emacs_tty_event_pending_p. Makes pure TTY builds more + responsive. + +2006-12-11 Aidan Kehoe <kehoea@parhasard.net> + + * glyphs-eimage.c (png_warning_func): + * glyphs-eimage.c (png_instantiate): + * glyphs-eimage.c (tiff_warning_func): + Decode external binary data as such before passing it to + warn_when_safe(). + +2006-12-09 Vin Shelton <acs@xemacs.org> + + * sound.c (init_native_sound): Fix typo in call to GTK_DEVICE + macro. + +2006-12-07 Vin Shelton <acs@xemacs.org> + + * fileio.c: Added cast to qxeGetNamedSecurityInfofix call to fix + VC6 build. + +2006-11-24 Benson Margulies <benson@dchbk.us> + + * fileio.c: Change check_writable to use the full Win32 mechanism + to check access. + * intl-auto-encap-win32.c: Add GetNamedSecurityInfo + * intl-auto-encap-win32.h: Add GetNamedSecurityInfo + * intl-auto-encap-win32.h Add qxeGetNamedSecurityInfo. + * intl-encap-win32.c: Add aclapi.h : GetNamedSecurityInfo + * syswindows.h: Add aclapi.h + +2006-12-06 Aidan Kehoe <kehoea@parhasard.net> + + * text.c (Fsplit_char): + Make split-char available on non-Mule builds, taking out a + superfluous call to get-charset to make that possible. + +2006-11-30 Mike Sperber <mike@xemacs.org> + + * fileio.c (Finsert_file_contents_internal): Don't call the + file-name handler for `insert-file-contents' from here, which is + too late. Instead, do it from Lisp.SSper + +2006-11-29 Dr. Volker Zell <Dr.Volker.Zell@oracle.com> + + * sysdir.h: Revert workaround missing d_ino field from 'struct + dirent' for Cygwin as it's back in again. + +2006-11-29 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c (Fset_charset_registries): + Add an optional argument FORCE, to allow specifying badly-formed + CHARSET_REGISTRY-CHARSET_ENCODING combinations. Re-enables the + sort of hacks described in 96wt67fa3f.fsf@mo.msk.ru from Ilya + Golubev. + +2006-11-29 Aidan Kehoe <kehoea@parhasard.net> + + * sound.c (init_native_sound): + Only X11 and GTK devices can possibly not be on the console of the + associated machine. Fixes a crash when init_native_sound is called + on a msprinter device. + +2006-11-28 Aidan Kehoe <kehoea@parhasard.net> + + * device-x.c: + * device-x.c (coding_system_of_xrm_database): + Cache the last db argument and resulting coding system, and return + them--instead of calling Lisp--if the DB is the same pointer + arument as last time. + * faces.c (default_face_font_info): + * window.c (window_displayed_height): + Behave more gracefully if called when we have no information about + the dimensions of the default face and window. + +2006-11-28 Aidan Kehoe <kehoea@parhasard.net> + + * doprnt.c (emacs_doprnt_1): + Ibyte -> Ascbyte, for the sake of the MSVC build. Thank you Vin. + +2006-11-28 Aidan Kehoe <kehoea@parhasard.net> + + * doprnt.c (emacs_doprnt_1): + Integrate Sebastian Freundt's SXEmacs bug fix for cases where a + format specifier overflows the allocated buffer with a float + format string. + +2006-11-23 Robert Pluim <rpluim@gmail.com> + + * sysdep.c (strlwr): Don't intermix declarations and code. + (wcslen): ditto + +2006-11-23 Aidan Kehoe <kehoea@parhasard.net> + + * mule-coding.c (iso2022_decode): + Only take the lower seven bits of any eight-bit character that + would be illegal in UTF-8, when handling ISO/IR 196 escapes. + +2006-11-14 Stephen J. Turnbull <stephen@xemacs.org> + + * buffer.c (buffer-file-name): Document invariant. + (buffer-file-truename): Sync wording to buffer-file-name. + Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report + and discussion. + +2006-11-20 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c (CCL_MAKE_CHAR): + * mule-ccl.c (ccl_driver): + Eliminate a CCL bug with control-1 chars and + write-multibyte-character--thank you for the report, Ilya--and + eliminate a crash when a non-existent charset ID is specified for + a mule-to-unicode call. + +2006-11-18 Mike Sperber <mike@xemacs.org> + + * redisplay-x.c (separate_textual_runs): Don't try to call + ichar_to_unicode on non-MULE. + +2006-11-18 Mike Sperber <mike@xemacs.org> + + * window.c (window_pixel_height_to_char_height): Cater to the + possibility that defheight may be 0. + +2006-11-15 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c: + * mule-charset.c (Fcharsets_in_region): + Added a charsets-in-region implementation in C. + +2006-11-14 Aidan Kehoe <kehoea@parhasard.net> + + * objects-xlike-inc.c (x_find_charset_font): + Move the warn_when_safe call to where GCing is irrelevant; as + things are it doesn't GC, but I'm more comfortable without that + being relevant. + * specifier.c (define_specifier_tag): + Remove a couple of lines added for the sake of debugging; add a + GCPRO1 for the allocated vector, since the call_trapping_problems + can GC. + +2006-11-12 Aidan Kehoe <kehoea@parhasard.net> + + * charset.h: + * mule-charset.c (set_charset_registries): + Provide a C-accessible version of set-charset-registries that + doesn't error. Called from x_find_charset_font. + + * faces.c (ensure_face_cachel_contains_charset): + Correct my spelling. + + * faces.c (update_EmacsFrame): + Don't update the frame if it isn't live. + + * faces.h: + Add some documentation on FACE_FONT. + + * frame-gtk.c (gtk_update_frame_external_traits): + * frame-x.c (x_update_frame_external_traits): + In the event that FACE_FONT has deleted the frame, don't + manipulate it further in update_frame_external_traits. + + * mule-charset.c: + + * mule-charset.c (Fset_charset_registries): + Don't allow XLFD wildcards in charset registries. Call the + factored-out C-callable version instead of implementing the guts + of the function here. + + * objects-gtk.c: + #include "charset.h" + + * objects-xlike-inc.c (x_find_charset_font, + gtk_find_charset_font): In the event that the charset is ASCII and + we haven't matched anything up to now, even with a pattern of "*", + add "iso8859-1" to the charset's registry and try again. + + * window.c (window_pixel_width_to_char_width): + The default width of a face may be zero; only divide by it if it's + nonzero. + +2006-11-11 Aidan Kehoe <kehoea@parhasard.net> + + * specifier.c: + Update the specifier-matching-instance documentation to reflect + the new format of font-specifier MATCHSPECs. + +2006-11-11 Aidan Kehoe <kehoea@parhasard.net> + + * specifier.c: + VM calls device-matching-specifier-tag-list; my taking it out of + non-debug builds was misjudged, this change puts it back in. I've + also reverted a couple of incidental and wrong whitespace changes. + +2006-11-09 Aidan Kehoe <kehoea@parhasard.net> + + * specifier.c (specifier_instance_from_inst_list): + Accept symbols as well as charset objects as the cons of a + font-related specifier matchspec. Thank you Ilya. + +2006-11-07 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c: + Take the Qfinal declaration out of mule-charset.c; fixes the MSVC + build. Sorry Vin! + +2006-11-06 Aidan Kehoe <kehoea@parhasard.net> + + * mule-charset.c (Fmake_charset): + * objects-msw.c (mswindows_font_spec_matches_charset): + * specifier.c (syms_of_specifier): + Three changes to prevent the build dying with MSVC and with + DEBUG_XEMACS turned off--thank you Vin. + +2006-11-05 Aidan Kehoe <kehoea@parhasard.net> + + * charset.h: + Prefer the charset-registries property to the charset-registry + property; accept the latter for compatibility, warning when its + regexp functionality is used. + + * charset.h (XCHARSET_CCL_PROGRAM): + * charset.h (XCHARSET_NAME): + Make dummy versions of these available in non-Mule. + + * console-impl.h: + * console-impl.h (struct console_methods): + Rename the last parameter to a couple of methods; reformat their + declarations. + + * faces.c: + * faces.c (face_property_matching_instance): + * faces.c (ensure_face_cachel_contains_charset): + * faces.c (merge_face_cachel_data): + * faces.c (reset_face_cachel): + * faces.c (mark_face_cachels_as_not_updated): + * faces.c (syms_of_faces): + * faces.c (vars_of_faces): + * faces.c (complex_vars_of_faces): + Provide a DEBUG_FACES macro; use it to make debugging output + available in debug builds. + Implement multi-stage font lookup, assigning the stages names, not + numbers. + Re-implement the cachel->font_specified cache using the + infrastructure for Lisp bit vectors. + + * faces.h: + * faces.h (struct face_cachel): + * faces.h (FACE_CACHEL_FONT_UPDATED): + * faces.h (FACE_FONT): + Re-implement the cachel->font_specified cache using the + infrastructure for Lisp bit vectors. + + * font-mgr.h: + Move some XFT debug macros here from objects-x.c. + + * general-slots.h: + Provide a few new symbols for the multi-stage font resolution + process. + + * intl.c (init_intl): + Correct a comment. + + * lisp.h: + Provide a macro to declare an inline lisp bit vector where the + size is fixed. + Make Qregistries available all over, not Qregistry. + + * mule-charset.c: + * mule-charset.c (mark_charset): + * mule-charset.c (print_charset): + * mule-charset.c (make_charset): + * mule-charset.c (Fmake_charset): + * mule-charset.c (Fcharset_property): + * mule-charset.c (Fset_charset_ccl_program): + * mule-charset.c (syms_of_mule_charset): + * mule-charset.c (complex_vars_of_mule_charset): + * mule-charset.c (CHINESE_CNS_PLANE): + Prefer the charset-registries property to the charset-registry + property; accept the latter for compatibility, warning when its + regexp functionality is used. + + * objects-gtk.c: + * objects-gtk.c (gtk_font_spec_matches_charset): + * objects-gtk.c (gtk_find_charset_font): + * objects-msw.c (mswindows_find_charset_font): + * objects-tty.c (tty_find_charset_font): + Redeclare various functions to work with the multi-stage lookup + process. Include objects-xlike-inc. + + * objects-x.c: + Provide a DEBUG_OBJECTS macro; use it to make debugging output + available in debug builds. + + * objects-x.c (x_initialize_font_instance): + * objects-x.c (x_print_font_instance): + * objects-x.c (xlistfonts_checking_charset): + * objects-x.c (vars_of_objects_x): + Don't regex match on the output of XListFonts; instead, use the + fixed strings of the charset-registries to comparatively limit the + IPC that will happen. Include objects-xlike-inc.c + + * objects-xlike-inc.c: + * objects-xlike-inc.c (count_hyphens): + New. How many ASCII minus characters in a string? + + * objects-xlike-inc.c (xlistfonts_checking_charset): + * objects-xlike-inc.c (mule_to_fc_charset): + * objects-xlike-inc.c (xft_find_charset_font): + * objects-x.c (x_find_charset_font): + Move some methods here to share them with GTK. + + * objects.c (print_font_instance): + * objects.c (font_spec_matches_charset): + * objects.c (font_validate_matchspec): + * objects.c (font_instantiate): + Redeclare some methods to take enums rather than numeric stages. + + * objects.h (EXFUN): + Make Fregexp_quote available to mule-charset.c + + * redisplay-x.c: + * redisplay-x.c (separate_textual_runs): + Make this slightly faster, cleaner. Make it accept a face cachel + pointer argument, and check it as to whether a given charset + should be translated to UCS-2 before redisplay. + + * specifier.c: + * specifier.c (charset_matches_specifier_tag_set_p): + * specifier.c (define_specifier_tag): + * specifier.c (Fdefine_specifier_tag): + * specifier.c (setup_device_initial_specifier_tags): + * specifier.c (setup_charset_initial_specifier_tags): + * specifier.c (specifier_instance_from_inst_list): + * specifier.c (syms_of_specifier): + * specifier.c (vars_of_specifier): + * specifier.h: + Extend specifiers to allow limiting their applicability by using + charset predicates. Document this. + Run indent-region on the file, at Stephen's suggestion. + + * unicode.c (unicode_to_ichar): + * unicode.c (syms_of_unicode): + * unicode.c (vars_of_unicode): + Use unicode-registries, a dumped vector, as the charset-registries + of the on-the-fly JIT charsets. + +2006-11-01 Adrian Aichner <adrian@xemacs.org> + + * sysdep.c (wcslen): Check for NULL pointer. + * sysdep.c (strlwr): Ditto. + * nt.c (mswindows_getdcwd): Ditto (actual cause of reported + crash). + * intl-win32.c (wcscmp): Ditto. + * intl-win32.c (wcslen): Ditto. + * intl-win32.c (wcsncpy): Ditto. + * intl-win32.c (wcscpy): Ditto. + * intl-win32.c (wcsdup): Ditto. + * fileio.c (Ffile_name_directory): Return Qnil when + mswindows_getdcwd returns NULL working directory. + +2006-10-30 Malcolm Purvis <malcolmp@xemacs.org> + + * device-x.c (x_init_device): Look in more directories when + searching for the locale specific app-defaults files. + +2006-10-28 Aidan Kehoe <kehoea@parhasard.net> + + * event-xlike-inc.c: + Rework the X11 keysym support to allow the use of Cyrillic keysyms + that are not in ISO-8859-5. + +2006-10-27 Aidan Kehoe <kehoea@parhasard.net> + + * fileio.c (Finsert_file_contents_internal) : Clarify that we + follow a more correct but more expensive design for buffers where + the on-disk representation doesn't correspond directly to the + XEmacs internal representation. + +2006-08-29 Stephen J. Turnbull <stephen@xemacs.org> + + * eval.c (Fcatch): Correct syntax of `throw' in docstring. + + * cmds.c (Fforward_line): Document that return can be negative. + +2006-08-11 Stephen J. Turnbull <stephen@xemacs.org> + + * frame.c (mouse-motion-handler): Document relation to hooks. + +2006-08-24 Aidan Kehoe <kehoea@parhasard.net> + + * console-tty-impl.h (struct tty_console): + New flag; multiple_width, specifying whether East Asian characters + take up two columns on this terminal. The macro to access it + expands to a constant under non-Mule, so anything conditionalising + on it will be optimised away. + + * console-tty.c: + * console-tty.c (tty_init_console): + Initialise tty_con->multiple_width; zero on non-Mule, one on Mule. + + * console-tty.c (Fconsole_tty_multiple_width): New. + * console-tty.c (Fset_console_tty_multiple_width): New. + * console-tty.c (syms_of_console_tty): Make them available outside + console-tty.c. + + * redisplay-tty.c (tty_text_width): + * redisplay-tty.c (tty_output_ibyte_string): + Check that the relevant console has multiple-width characters + before using something other than the number of characters in a + string for the text width of that string. + + * text.c: + * text.c (ibyte_string_displayed_columns): + * text.c (ichar_string_displayed_columns): + Remove some Mule conditionals; add some sanity-checking. + +2006-08-23 Aidan Kehoe <kehoea@parhasard.net> + + * syntax.c (complex_vars_of_syntax): + Guillemets are now punctuation, not parentheses. AucTeX does this, + and it's infinitely less annoying if you're dealing with German + text or mixed German and French. + +2006-08-03 Jerry James <james@xemacs.org> + + * keymap.c (where_is_recursive_mapper): Use the freshly allocated + storage instead of leaking it. + +2006-08-06 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c (Fsnarf_documentation): + Add an assertion and a comment, rather than crashing in the + 76584th call of hash_string when someone's using a DOC file that + doesn't conform to format. + +2006-08-05 Aidan Kehoe <kehoea@parhasard.net> + + * syntax.c (complex_vars_of_syntax): + String literals are char[], not unsigned char[]. Cast them when + passing to a function that takes UExtbyte *. + +2006-08-05 Aidan Kehoe <kehoea@parhasard.net> + + * lread.c (read_unicode_escape): + Refactor this code out from read_escape, since it's now called + from read_string as well. + * lread.c (read_escape): + Call read_unicode_escape instead of using inline code, + * lread.c (read_string): + Refactor out from read1, provide raw and honor_unicode options. + * lread.c (read_raw_string): + Added, a function that calls read_string with the correct + arguments for a raw string. + * lread.c (read1): + Pass raw strings to read_raw_string; pass strings to read_string. + +2006-08-04 Aidan Kehoe <kehoea@parhasard.net> + + * event-tty.c (emacs_tty_next_event): + Check dispatch_event_queue for pending events, since we add to + that in drain_tty_devices(). Fixes dropped key sequences on TTY + builds. + +2006-08-04 Aidan Kehoe <kehoea@parhasard.net> + + * syntax.c (Fsyntax_table_p): + Make the docstring better reflect the code. + * syntax.c (define_standard_syntax): + Take a const UExtbyte * as the first argument, not a const char * + + * syntax.c (complex_vars_of_syntax): + Use a macro instead of repeating code; don't redundantly set the + syntax of the alphanumeric characters to ?w; define syntax for + Latin 1 characters here instead of in Lisp; guillemets are string + delimiters, not parentheses. + + +2006-07-18 Marcus Crestani <crestani@xemacs.org> + + * .cvsignore: Add .dbxrc.in and .gdbinit.in. + +2006-07-18 Marcus Crestani <crestani@xemacs.org> + + * gc.c (kkcc_backtrace): Print adresses as pointers. + * vdb-posix.c (vdb_fault_handler): Print adresses as pointers. + +2006-07-18 Marcus Crestani <crestani@xemacs.org> + + * alloc.c: Fix typo in string_direct_data_description. + +2006-07-07 Jerry James <james@xemacs.org> + + * sound.c (init_native_sound): Make the target of a strcpy be + exactly the right size to hold the copied string. + +2006-07-08 Aidan Kehoe <kehoea@parhasard.net> + + * lisp.h: + * redisplay.c (add_octal_runes): + * syntax.h: + * text.c + Change some comments to reflect a 21-bit character space. + * text.c (non_ascii_valid_ichar_p): + Check that no character value is greater than 2^^21, not + 2^^19. This fixes the Mule build when error-checking is turned on. + +2006-07-08 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fsubr_name): + Use the CHECK_SUBR macro instead of the GNU code's explicit if + statement. + +2006-07-08 Aidan Kehoe <kehoea@parhasard.net> + + * charset.h: + Move to 7 bits instead of 5 for the first field of a character. + +2006-07-07 Aidan Kehoe <kehoea@parhasard.net> + + * config.h.in: + Don't declare inline macros as `extern' if we're building a + standalone program, because their extern definitions in inline.c + are unlikely to be included. + +2006-06-24 Stephen J. Turnbull <stephen@xemacs.org> + + * gc.c (gc_mark_root_set): Quiet GCC 4 whining about unused values. + +2006-06-29 Jerry James <james@xemacs.org> + + * scrollbar-gtk.c (gtk_free_scrollbar_instance): Compare + instance->scrollbar_data against NULL before using it. + * scrollbar-msw.c (mswindows_free_scrollbar_instance): Compare + sb->scrollbar_data against NULL before using it. + +2006-06-22 Jerry James <james@xemacs.org> + + * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak. + Don't create the buffer if there is nothing to do. + * redisplay-msw.c (mswindows_output_display_block): Ditto. + * redisplay-output.c (redisplay_output_layout): Ditto. + * redisplay-tty.c (tty_output_display_block): Ditto. + * redisplay-x.c (x_output_display_block): Ditto. + +2006-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.c (extract_fcapi_string): + (fc_intern): + (Ffc_name_parse): + (Ffc_name_unparse): + (Ffc_pattern_add): + (Ffc_pattern_del): + (Ffc_pattern_get): + (string_list_to_fcobjectset): + fc_intern and extract_fcapi_string should return + [const] Extbyte *. Make it so, update callers. + +2006-05-26 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_initialize_font_instance): + (x_font_instance_truename): + (charset_table): + (x_find_charset_font): + Pander to GCC4 signed character paranoia. + +2006-06-19 Jerry James <james@xemacs.org> + + * device-x.c (x_IO_error_handler): Do not dereference d if it is + NULL. + * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then + dereference it, not the other way around. + * emacs.c (main_1): restart is always 0 here. + * extents.c (detach_all_extents): Call extent_list_delete_all with + a non-NULL parameter only. + * glyphs-widget.c (widget_query_geometry): Guard against possibly + NULL width and height. + * window.c (change_window_height): Restore use of CURCHARSIZE + removed by 2006-06-16 change, to preserve the abstraction. + +2006-06-19 Jerry James <james@xemacs.org> + + * frame-x.c (x_set_frame_properties): Remove casts to silence GCC + warnings about a missing sentinel. + +2006-06-16 Jerry James <james@xemacs.org> + + * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before + checking if it is NULL. Also fix a memory leak. + * fileio.c (Finsert_file_contents_internal): Remove dead code. + * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or + xic before checking if they are NULL. + * md5.c (Fmd5): Check whether Lstream_read encountered an error. + * nas.c (Err): Fix a memory leak. + * scrollbar-x.c (x_free_scrollbar_instance): Do not dereference + instance->scrollbar_data before checking if it is NULL. + * text.c (eicmp_1): Move assertions to before the point where they + must be true for correctness. + * vdb-posix.c (vdb_fault_handler): Guard against a return from + ABORT(). + * window.c (change_window_height): Skip always true comparison in + the expansion of CURCHARSIZE. + +2006-06-16 Jerry James <james@xemacs.org> + + * alloc.c: Don't add MODULE_DEFINABLE_TYPE_COUNT to + countof (lrecord_implementations_table); the latter is already big + enough. + +2006-06-18 Aidan Kehoe <kehoea@parhasard.net> + + * event-xlike-inc.c: + Add support for three publishing keysyms with clear Unicode + mappings. They would have been included in my commit of 2005-06-26 + had Markus Kuhn known about them. + +2006-06-13 Jerry James <james@xemacs.org> + + * lisp-union.h: Cast away bit restrictions on values retrieved + from the Lisp_Object union. + +2006-06-14 Aidan Kehoe <kehoea@parhasard.net> + + * mule-ccl.c: + Don't declare ccl-program as a symbol here, leave that to + general-slots.h. + * unicode.c (unicode_to_ichar): + Use qxesprintf, not snprintf, change some types to allow + complilation on Win32. + +2006-06-03 Aidan Kehoe <kehoea@parhasard.net> + + * charset.h: + * charset.h (struct Lisp_Charset): + * charset.h (CHARSET_ENCODE_AS_UTF_8): + * charset.h (XCHARSET_ENCODE_AS_UTF_8): + Add a flag `encode-as-utf-8' to the Mule charset structure; if + set, it's an indication to ISO 2022-oriented coding systems that + the characters of that charset should be encoded using the ISO-IR + 196 UTF-8 escape syntax, since they're not members of any other + well-known character set we're aware of. + + Make enum unicode_type, encode_unicode_char and Funicode_to_char + available outside of unicode.c + + * lread.c: + * event-xlike-inc.c: + Use the charset.h declaration of Funicode_to_char, don't declare + it ourselves. + + My XFree86 installation has taken to passing me ASCII characters + using the Unicode keysyms; accept them too. + + * general-slots.h: + Make `ccl-program' and `encode-as-utf-8' available as symbols + generally. + + * mule-ccl.c: + Add CCL_MuleToUnicode, CCL_UnicodeToMule, implement them, enable + and debug CCL_MAKE_CHAR, have CCL_WriteMultibyteChar2 segfault + less, fix some grammar. + + * mule-charset.c (make_charset): + * mule-charset.c (Fmake_charset): + * mule-charset.c (Fcharset_property): + * mule-charset.c (complex_vars_of_mule_charset): + Require the encode_as_utf_8 property when calling make_charset (); + accept it when creating a charset from Lisp in Fmake_charset. + + * mule-coding.c: + * mule-coding.c (dynarr_add_2022_one_dimension): + * mule-coding.c (dynarr_add_2022_two_dimensions): + Add two convenience functions for iso2022_decode, to abstract out + writing UTF-8 a little. + + * mule-coding.c (enum iso_esc_flag): + Add one more state to reflect the existence of the UTF-8 escape. + + * mule-coding.c (struct iso2022_coding_stream): + Add a counter variable to the state to permit handling + variable-length UTF-8. + + * mule-coding.c (parse_iso2022_esc): + Update the function to work with ISO_STATE_UTF_8; only the ESC % @ + escape is processed in that state, everything else is ignored and + passed through by the error handler. + + * mule-coding.c (iso2022_decode): + * mule-coding.c (iso2022_designate): + * mule-coding.c (iso2022_encode): + Handle the UTF-8 escape sequences in reading and in writing ISO + 2022. + + * redisplay-x.c (separate_textual_runs): + Add a comment to the effect that the dimension stuff breaks when + using CCL programs and registries to map to a bigger charset. + + * unicode.c: + Add support for creating new characters on the fly as unknown + Unicode code points are encountered. + + * unicode.c (get_free_codepoint): New. + * unicode.c (unicode_to_ichar): Reworked to create new code points + on the fly. + * unicode.c (Funicode_to_char): Update the docstring. + * unicode.c (struct unicode_coding_system): + Move enum unicode_type into charset.h. + + * unicode.c (encode_unicode_char): + encode_unicode_char isn't static any longer, mule-coding.c uses + it. + * unicode.c (syms_of_unicode): + Make a couple of symbols available to unicode.c + * unicode.c (vars_of_unicode): + Tell the garbage collector about current_jit_charset, initialise + it. + +2006-05-25 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): Keep local names local; wrap + the spurious declaration in a block, don't move it. + +2006-05-25 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c (output_bytes_in_ascii_and_hex): + I installed GCC 4.0 (which may not even have been necesssary, + -pedantic might have done it) and it showed me that the problem my + last commit intended to address was in eistr_ext rather than + stderr_out. + +2006-05-16 Andrey Slusar <anrays@gmail.com> + + * objects-x.c (x_find_charset_font): Fix build with gcc 2.95. + +2006-05-23 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c (output_bytes_in_ascii_and_hex): + Fix a Win32 build failure introduced by my last commit. + +2006-05-23 Stephen J. Turnbull <stephen@xemacs.org> + + * .gdbinit.in: Moved to etc. + * .dbxrc.in: Moved to etc. + +2006-05-20 Stephen J. Turnbull <stephen@xemacs.org> + + * tests.c (Ftest_data_format_conversion): Fix no-mule autodetect + bugs. Update FSF copyright. + +2006-05-23 Aidan Kehoe <kehoea@parhasard.net> + + * frame-x.c (x_set_frame_properties): + Check that the frame is live and that the device is not being + deleted before attempting anything. Avoids calling X code if + x_IO_error_handler has seen a broken pipe. + +2006-05-22 Aidan Kehoe <kehoea@parhasard.net> + + * file-coding.c (output_bytes_in_ascii_and_hex): + Pass stderr_out internally-formatted data, don't use an external + format. + +2006-05-21 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c (extract_object_file_name): + * doc.c (unparesseuxify_doc_string): + Leave sufficient space for the '\0' sentinel when reading into the + buffer. The bug in unparesseuxify_doc_string had been there for + ten years at least, but it was Fabrice Popineau's investigation of + the code on the same model in extract_object_file_name that + provoked its discovery. Thank you Fabrice! + +2006-05-16 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.27 "fiddleheads" is released. + +2006-02-27 Joachim Schrod <jschrod@acm.org> + + * mule-coding.c (iso2022_detect): Handle Latin-1 encoded files + that have several high-byte chars in a row. + +2006-05-08 Jerry James <james@xemacs.org> + + * number.c (Fcanonicalize_number): Use EMACS_INT instead of int, + which fixes bignum arithmetic on 64-bit platforms. + * number.h (bignum_fits_emacs_int_p): New macro. + * number.h (bignum_to_emacs_int): New macro. + +2006-03-30 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_initialize_font_instance): + Ensure that duplicative X font gets freed if we have an Xft font. + Remove some redundant debug output. + Comment on frequency of calls to this function. + +2006-05-08 Stephen J. Turnbull <stephen@xemacs.org> + + * EmacsShell-sub.c (RootGeometryManager): + Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT. + Based on a suggestion by Francois L'Archeveque. + +2006-05-02 Stephen J. Turnbull <stephen@xemacs.org> + + * doc.c (extract_object_file_name): Fix buffer overrun. + +2006-04-30 Stephen J. Turnbull <stephen@xemacs.org> + + Move geometry management from EmacsFrameResize to x_set_frame_size. + Should fix "metacity maximization" bug. + Provide (deprecated, temporary) backward compatibility option. + + * EmacsFrame.c (EmacsFrameResize): + * frame-x.c (x_set_frame_size): + Move call of EmacsManagerChangeSize. + Don't bogusly notify WM about size changes the WM asked for. + + * console-x.c (wedge-metacity): New builtin Boolean Lisp variable. + * console-x-impl.h (wedge_metacity): Declare C variable. + * console-x.c (vars_of_console_x): New function to initialize it. + * symsinit.h (vars_of_console_x): declare it. + * emacs.c (main_1): Call vars_of_console_x. + + * EmacsFrameP.h (struct EmacsFrame): + * EmacsManager.c (EmacsManagerChangeSize): + * EmacsShell-sub.c (SuperClassRootGeometryManager): + * console-x-impl.h (wedge_metacity): + Various comments, some improved documentation, mostly sad comments + on the state of the art of Xt programming. + + * frame-x.c (defi): #undef it. (Random code cleanliness.) + +2006-05-06 Aidan Kehoe <kehoea@parhasard.net> + + * lisp.h (struct Lisp_Subr): + Document that prompt, doc, and name should not be char *. + * symbols.c (Fsubr_name): + Cast name to const Ibyte * before returning it. + * sysfile.h: + Make versions of DIRECTORY_SEP, IS_DIRECTORY_SEP and IS_ANY_SEP + available to make-docfile and other non-emacs processes on win32. + +2006-04-30 Stephen J. Turnbull <stephen@xemacs.org> + + * font-mgr.c (string_list_to_fcobjectset): Remove debugging output. + +2006-04-29 Aidan Kehoe <kehoea@parhasard.net> + + * symbols.c (Fsubr_name): New. + Taken from the FSF. Needed to find the real name of a possibly + aliased subr, in order to get its docstring. + * sysfile.h: + Make various file name primitives available to make-docfile and + other non-emacs environments; define a constant that says how long + a source filename can be in lib-src/DOC. + +2006-04-29 Aidan Kehoe <kehoea@parhasard.net> + + * doc.c: + * doc.c (extract_object_file_name): + * doc.c (get_object_file_name): + * doc.c (Fbuilt_in_symbol_file): + Support saving and recovering the source file name of a built-in + symbol (that is, one created in C.) + +2006-04-29 Aidan Kehoe <kehoea@parhasard.net> + + * lread.c: + * lread.c (read_escape): + Support \uABCD and \U00ABCDEF for specifying characters by their + Unicode code point. + +2006-04-25 Stephen J. Turnbull <stephen@xemacs.org> + + Repair busted commit, plus some gratuitous doc improvements. + + * emacs.c (main_1): Initialize display_use to NULL for clarity. + + * objects-x.c (x_color_list): + (x_initialize_font_instance): + (x_font_instance_truename): + (x_find_charset_font): + * font-mgr.h (Qfc_font_name_encoding): + Qxft_font_name_encoding -> Qfc_font_name_encoding. + + * console.h (header comment): + * font-mgr.c (vars_of_font_mgr): + * redisplay.c (Vwindow_system): + Improve comments. + +2006-04-22 Jerry James <james@xemacs.org> + + * event-stream.c (copy_command_builder): Also copy the console. + +2006-04-23 Aidan Kehoe <kehoea@parhasard.net> +>>>>>>> other * alloc.c: +<<<<<<< local * alloc.c (assert_proper_sizing): * alloc.c (alloc_sized_lrecord_1): * alloc.c (alloc_sized_lrecord): @@ -14,7 +3523,429 @@ * buffer.c (DEFVAR_BUFFER_LOCAL_1): * buffer.c (common_init_complex_vars_of_buffer): * casetab.c (allocate_case_table): +======= + * data.c: + * data.c (Fconsp): + * data.c (Flistp): + Take on board feedback from Stephen on my last change; move the + explanation of what a cons is to the cons docstring, add cross + references to that from the consp and atomp docstrings. + +2006-04-23 Stephen J. Turnbull <stephen@xemacs.org> + + * Makefile.in.in (x_objs): Change xft-fonts.o to font-mgr.o. + +2006-04-17 Stephen J. Turnbull <stephen@xemacs.org> + + * config.h.in: New symbol HAVE_FONTCONFIG. + +2006-04-22 Stephen J. Turnbull <stephen@xemacs.org> + + Rename xft-fonts.{c,h} to font-mgr.{c,h}. + + * font-mgr.c: + * emacs.c: + * symsinit.h: + (syms_of_font_mgr): + (vars_of_font_mgr): + (reinit_vars_of_font_mgr): + (complex_vars_of_font_mgr): + Renamed from *_xft_fonts versions. + + * font-mgr.c: + * inline.c: + * objects-x.c: + Update #includes and comments to refer to font-mgr.h. + N.B. The feature provided by objects-x.c is still "xft-fonts", + which is separate from the font management by fontconfig (from + font-mgr.*). + +2006-04-15 Stephen J. Turnbull <stephen@xemacs.org> + + * console-x.h (<X11/Xft/Xft.h>): Don't cater to Xft v.1. + +2006-04-17 Stephen J. Turnbull <stephen@xemacs.org> + + * unicode.c: Improve comment on to/from_unicode table design. + +2006-04-18 Jerry James <james@xemacs.org> + + * alsaplay.c: Explicitly include ALSA's version.h for older + versions of the library. Thanks to Ilya Golubev. + +2006-04-16 Aidan Kehoe <kehoea@parhasard.net> + + * data.c (Fconsp): + * data.c (Fsymbolp): + * data.c (Fcar): + * data.c (Flistp): + * data.c (Fsetcar): + * data.c (Fsetcdr): + * data.c (Flss): + * data.c (Fgtr): + Short docstring clarifications to make life easier for people who + are learning Lisp; explain what a cons is in the consp docstring, + what a symbol is in the symbolp docstring, and so forth. Thank you + Alan Mackenzie on emacs-devel. + Expand on "monotonically increasing" and "monotonically + decreasing" in the Flss and Fgtr docstrings. + +2006-04-10 Jerry James <james@xemacs.org> + + * alsaplay.c: Support pre-1.0.10 versions of the ALSA library. + +2006-03-23 Tony Bennett <tbennett@nvidia.com> + + * process-unix.c (unix_send_process): Reduce timeout for + Faccept_process_output to 10ms. This dramatically speeds up many + functions that read from processes, eg, inferior interpreter + processes as in ilisp or python-mode. + +2006-03-31 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.26 "endive" is released. + +2006-03-30 Adrian Aichner <adrian@xemacs.org> + + * lisp.h (Dynarr_add): Add local variable imp to avoid VC6 + internal compiler error. + +2006-03-26 Marcus Crestani <crestani@xemacs.org> + + * gc.c: Remove functions for explicitly-freed statistics + (the need to explicitly free went away with the asynchronous + finalization patch). + * gc.c (struct gc_state): EMACS_INT -> double, remove + explicitly-freed statistics. + * gc.c (Fgc_stats): Remove explicitly-freed statistics. + * gc.c (PL): Use make_float. + * gc.h: Remove prototypes and macros for explicitly-freed + statistics. + +2006-03-24 Jerry James <james@xemacs.org> + + * alsaplay.c: New file providing support for sound with ALSA. + * config.h.in: New symbol HAVE_ALSA_SOUND + * sound.c: Add ALSA support. + +2006-03-27 Mike Fabian <mfabian@suse.de> + + * vdb-posix.c (vdb_install_signal_handler): Correct memset. + +2006-03-26 Marcus Crestani <crestani@xemacs.org> + + * alloc.c (malloc_warning): Move function into scope of + MALLOC_END, add MALLOC_END. + * alloc.c (memory_full): Add memory shortage indication, adjust + error messages. + * mc-alloc.c: Add memory_shortage. + * mc-alloc.c (expand_heap): If memory is short, allocate only the + needed pages, not more. + * mc-alloc.h: Add memory_shortage. + +2006-03-26 Marcus Crestani <crestani@xemacs.org> + + * alloc.c (make_uninit_string): Use set_lispstringp_direct. + * lisp.h (set_lispstringp_direct): New. + +2006-03-21 Marcus Crestani <crestani@xemacs.org> + + * mc-alloc.c (visit_all_used_page_headers): + * mc-alloc.c (finalize_page_for_disksave): + * mc-alloc.c (mc_finalize_for_disksave): + * mc-alloc.c (sweep_page): + * mc-alloc.c (mc_sweep): + * mc-alloc.c (protect_heap_page): + * mc-alloc.c (protect_heap_pages): + * mc-alloc.c (unprotect_heap_page): + * mc-alloc.c (unprotect_heap_pages): + * mc-alloc.h: Return number of pages processed. + * vdb.c (vdb_start_dirty_bits_recording): Adjust size of + page_fault_table to its upper bound (= number of pages that + contain BLACK objects) in advance, to avoid malloc in the signal + handler. + +2006-03-24 Stephen J. Turnbull <stephen@xemacs.org> + + * file-coding.c (decode-coding-region, encode-coding-region): + Convert to interactive commands, and adjust docstrings. + +2006-03-21 Malcolm Purvis <malcolmp@xemacs.org> + + * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the + current values found in GNU Emacs. + +2006-03-20 Marcus Crestani <crestani@xemacs.org> + + * dynarr.c (Dynarr_realloc): Malloc correct size. + * lisp.h: Dynamic array cleanup, remove duplicate code. + +2006-03-17 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_font_instance_truename): + Eliminate bogus pointer to nowhere. + +2006-03-09 Jerry James <james@xemacs.org> + + * profile.h (RETURN_UNGCPRO_EXIT_PROFILING): Add missing do. + +2006-03-02 Marcus Crestani <crestani@xemacs.org> + + * gc.c (show_gc_cursor_and_message): New. + * gc.c (remove_gc_cursor_and_message): New. + * gc.c (gc_prepare): Move mouse pointer code to + show_gc_cursor_and_message. + * gc.c (gc_finish): Move mouse pointer code to + remove_gc_cursor_and_message. + * gc.c (gc): Call show/remove_gc_cursor_and_message. + * gc.c (garbage_collect_1): Call + show/remove_gc_cursor_and_message. + +2006-02-22 Marcus Crestani <crestani@xemacs.org> + + Asynchronous finalization: + + * Makefile.in.in: Remove mc-alloc, replace with newgc. + * alloc.c (alloc_lrecord): Add object that has a finalizer + to Vall_finalizable_objs. + * alloc.c (noseeum_alloc_lrecord): Add object that has a finalizer + to Vall_finalizable_objs. + * alloc.c (alloc_lrecord_array): Add object that has a finalizer + to Vall_finalizable_objs. + * alloc.c (free_lrecord): Disable manual free. + * dumper.c (pdump_register_object): Objects with finalizers cannot + be dumped. + * eval.c (Ffuncall): Add call to run_finalizers. + * gc.c (finalize_elem): New. + * gc.c (add_finalizable_object): New. + * gc.c (register_for_finalization): New. + * gc.c (gc_finalize): Call register_for_finalization. + * gc.c (gc_1): Move kkcc_gc_stack_free after finalization. + * gc.c (common_init_gc_early): Add asynchronous finalization + variables. + * gc.c (init_gc_early): Add asynchronous finalization variables. + * gc.c (vars_of_gc): Add asynchronous finalization variables. + * gc.h: Add asynchronous finalization prototypes. + * mc-alloc.c (finalize_heap): Remove. + * mc-alloc.c (mc_free): Disable manual free. + + * elhash.c (finalize_hash_table): Remove unneeded finalizer for + NEW_GC + * extents.c (finalize_extent_info): Remove unneeded finalizer for + NEW_GC. + * file-coding.c (finalize_coding_system): Remove unneeded + finalizer for NEW_GC. + * gui.c (finalize_gui_item): Remove unneeded finalizer. + * specifier.c (finalize_specifier): Remove unneeded finalizer for + NEW_GC. + + Merge #ifdef MC_ALLOC into #ifdef NEW_GC, remove no longer needed + MC_ALLOC specific code in all files: + * alloc.c: + * buffer.c: + * bytecode.c: + * bytecode.h: + * config.h.in: + * console-stream.c: + * console.c: + * dumper.c: + * dumper.h: + * elhash.c: + * emacs.c: + * event-msw.c: + * event-stream.c: + * extents.c: + * extents.c: + * faces.h: + * file-coding.c: + * gc.c: + * glyphs.h: + * lisp.h: + * lrecord.h: + * lstream.c: + * marker.c: + * mc-alloc.c: + * mc-alloc.h: + * opaque.c: + * print.c: + * ralloc.c: + * specifier.c: + * symbols.c: + * symeval.h: + * symsinit.h: + * tests.c: + * xemacs.def.in.in: + +2006-02-26 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.25 "eggplant" is released. + +2006-02-22 Stephen J. Turnbull <stephen@xemacs.org> + + * syntax.c: Move static functions in syntax_cache page to top. + +2006-02-19 Stephen J. Turnbull <stephen@xemacs.org> + + Fix crash (cf. Holger Schauer <yxz7j7xzk97.fsf@gimli.holgi.priv>). + Improve nomenclature (some identifiers were misnamed with + "syntax_table" although they are purely related to syntax cache). + Add lots of comments explaining logic and use of arguments. + + * syntax.c (setup_syntax_cache): Fix broken logic that + initialized prev_change and next_change members to Qnil for syntax + caches associated with buffers, triggering an assertion because + the update functions expect those members to markers. + + * syntax.c (signal_syntax_cache_extent_changed): + * syntax.c (reset_buffer_syntax_cache_range): + Rename reset_buffer_cache_range to reset_buffer_syntax_cache_range. + + * lisp.h (signal_syntax_cache_extent_changed): + * syntax.c (signal_syntax_cache_extent_changed) + * syntax.c (update_syntax_cache): + * extents.c (signal_single_extent_changed): + Rename signal_syntax_table_extent_changed to + signal_syntax_cache_extent_changed. + + * lisp.h (signal_syntax_cache_extent_adjust): + * syntax.c (signal_syntax_cache_extent_adjust): + * insdel.c (buffer_delete_range, buffer_insert_string_1): + Rename signal_syntax_table_extent_adjust to + signal_syntax_cache_extent_adjust. + + * syntax.h (update_syntax_cache): Fix typo in comment. + +2006-02-16 Marcus Crestani <crestani@xemacs.org> + + * xgccache.c (gc_cache_lookup): Remove "Cache full" warning. + +2006-01-21 Marcus Crestani <crestani@xemacs.org> + + * mc-alloc.c (init_mc_allocator): Cygwin claims to have a 64k + page size, add it. + +2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com> + + * sysdir.h: Workaround missing d_ino field from 'struct dirent'. + +2006-01-19 Marcus Crestani <crestani@xemacs.org> + + * dynarr.c (Dynarr_realloc): Determine size of memory region to + copy correctly, fix types. + * dynarr.c (Dynarr_lisp_realloc): Determine size of memory region + to copy correctly. + * dynarr.c (Dynarr_resize): Call Dynarr_realloc with number of + elements instead of memory region size. + +2006-01-19 Marcus Crestani <crestani@xemacs.org> + + * objects-x.c (x_find_charset_font): Add cast to fix C++ build. + +2005-11-25 Mike Sperber <mike@xemacs.org> + + * nt.c (init_mswindows_environment): Add EMACSEARLYPACKAGES, + EMACSLATEPACKAGES, EMACSLASTPACKAGES. + + * config.h.in: + (PATH_EARLY_PACKAGE_DIRECTORIES, PATH_LATE_PACKAGE_DIRECTORIES) + (PATH_LAST_PACKAGE_DIRECTORIES): Add. + + * paths.h.in: + (PATH_EARLY_PACKAGE_DIRECTORIES, PATH_LATE_PACKAGE_DIRECTORIES) + (PATH_LAST_PACKAGE_DIRECTORIES): Add. + + * emacs.c: Add Vconfigure_early_package_directories, + Vconfigure_late_package_directories, + Vconfigure_last_package_directories. + (complex_vars_of_emacs): Set them. + +2005-12-25 Aidan Kehoe <kehoea@parhasard.net> + + * alloc.c: + * alloc.c (malloc_warning): + * alloc.c (MALLOC_BEGIN): + * alloc.c (FREE_OR_REALLOC_BEGIN): + Revert the alloc warning bugfix, in response to Stephen's mail + 87acepzl6e.fsf@tleepslib.sk.tsukuba.ac.jp . + +2005-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * objects-x.c (x_font_instance_truename): + * objects-x.c (x_find_charset_font): + Reintroduce my change of 2005-12-20 and Stephen's of 2005-12-23, + which my last commit overrode. + +2005-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * event-Xt.c: + Add two new lisp variables, x-us-keymap-description and + x-us-keymap-first-keycode to better provide a fallback to the US + layout with keyboards where typing the Roman alphabet and those + punctuation symbols that have command bindings associated with + them is difficult. + * event-Xt.c (x_event_to_emacs_event): + Use those two Lisp variables to improve Russian C-x processing. + * event-stream.c (command_builder_find_leaf): + Make a comment more readable. + +2005-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * alloc.c (MALLOC_BEGIN): + Assert that we're either not in malloc, or warning about memory + being low. + * alloc.c (MALLOC_WARNING_BEGIN, MALLOC_WARNING_END): + Add two clauses to set and clear a flag that we're in a low-memory + warning situation. + * alloc.c (malloc_warning): + Move it after the definition of MALLOC_WARNING_BEGIN, + MALLOC_WARNING_END + +2005-12-24 Aidan Kehoe <kehoea@parhasard.net> + + * objects-gtk.c (MAX_FONT_COUNT): + * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000 + to INT_MAX. Applies to both the X and GTK platforms. + +2005-12-23 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): More mule-ization. + +2005-12-23 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_font_instance_truename): Mule-ize handling of + font name (Xft names are UTF-8). Fixes crash. + +2005-12-20 Aidan Kehoe <kehoea@parhasard.net> + + * objects-x.c (x_find_charset_font): + Return Qnil on no match, not Qunbound. Fixes performance issues + based on the use of this return value in + objects.c:font_instantiate + +2005-12-18 Aidan Kehoe <kehoea@parhasard.net> + + * syntax.c (charset_syntax): + * syntax.c (update_just_this_syntax_table): + * syntax.c (complex_vars_of_syntax): + To my embarrassment, my previous change didn't actually work. This + change makes + (char-syntax (make-char 'chinese-cns11643-1 50 50)) + give ?w, the expected result after the last change. + +2005-12-18 Stephen J. Turnbull <stephen@xemacs.org> + + * XEmacs 21.5.24 "dandelion" is released. + +2005-12-14 Malcolm Purvis <malcolmp@xemacs.org> + + * console.c (stuff_buffered_input): Compile body only if + HAVE_TTY. + +2005-12-18 Aidan Kehoe <kehoea@parhasard.net> + +>>>>>>> other * chartab.c (Fmake_char_table): +<<<<<<< local * chartab.c (make_char_table_entry): * chartab.c (copy_char_table_entry): * chartab.c (Fcopy_char_table): @@ -28,8 +3959,738 @@ * device-msw.c (allocate_devmode): * device.c (allocate_device): * dialog-msw.c (handle_question_dialog_box): +======= + Set the default character class to word, not whitespace. + +2005-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * buffer.c: + standard-syntax-table and standard-category-table are not + available from Lisp any more, don't mention as Lisp variables. + +2005-12-17 Aidan Kehoe <kehoea@parhasard.net> + + * console-x.c (x_perhaps_init_unseen_key_defaults): + If the key name is a single character, and the keysym is NoSymbol, + give it a default binding, if that is possible. This addresses the + problem Zhang Wei points out in <871x118lc4.fsf@gmail.com> + * event-Xt.c (x_to_emacs_keysym): + Print the characters of a keysym's name directly if it's printable + ASCII, or as an octal escape if it's not. + + Use keyboard-coding-system rather than undecided for decoding the + keysym name passed to us by an input method. + * file-coding.c (vars_of_file_coding): + Document that keyboard-coding-system is also used for X11. + +2005-11-29 Marcus Crestani <crestani@xemacs.org> + + * xemacs.def.in.in: Condition error_check_* symbols on + ERROR_CHECK_TYPES. + +2005-11-29 Stephen J. Turnbull <stephen@xemacs.org> + + * xemacs.def.in.in (error_check_cons, error_check_ldap): + (error_check_opaque_ptr, error_check_pgconn, error_check_pgresult): + (error_check_string, wrap_record_1, XINT_1): Add. Patch by Rick + Rankin <20051129041305.35172.qmail@web61022.mail.yahoo.com>. + +2005-11-29 Stephen J. Turnbull <stephen@xemacs.org> + + * xemacs.def.in.in (lrecord_uid_counter): Add it. Patch by Rick + Rankin <20051120054349.52906.qmail@web61019.mail.yahoo.com>. + +2005-11-26 Stephen J. Turnbull <stephen@xemacs.org> + + * dumper.c: Move comment to where it apparently belongs. + +2005-11-27 Marcus Crestani <crestani@xemacs.org> + + * lrecord.h: Remove NEWGC junk. + +2005-11-27 Stephen J. Turnbull <stephen@xemacs.org> + + Build fixes and dead code removal. + + * xft-fonts.c (Ffc_pattern_destroy): Delete. + (syms_of_xft_fonts): Delete Ffc_pattern_destroy and comment out + Fxft_name_unparse. + + * objects-x.c (DECLARE_DEBUG_FONTNAME): Renamed improved + SET_DEBUG_FONTNAME. Remove redundant debug level checks. + +2004-12-19 Stephen J. Turnbull <stephen@xemacs.org> + + * keymap.c (Fwhere_is_internal): Rewrite docstring. + +2005-11-26 Stephen J. Turnbull <stephen@xemacs.org> + + Merge Xft. + + 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c: Improve comments. + + 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.h: + * xft-fonts.c: + * redisplay-x.c: + Remove or comment out dead code. + + 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): Encapsulate debug print in macro. + + 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.h: + * xft-fonts.c: + * objects-x.c: + Xft font names are encoded in UTF-8 (Qxft_font_name_encoding). + + 2005-11-06 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.h: + * xft-fonts.c: + Substitute new *LCRECORD* macros for #ifdef MC_ALLOC. + + 2005-09-10 Clemens Fruhwirth <clemens@endorphin.org> + + * glyphs-x.c (update_widget_face): Wrap error checking of rf in an + #ifdef USE_XFT. + + 2005-09-25 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_initialize_font_instance): Must encode extname + twice, Qxft_font_name_encoding != Qx_font_name_encoding. + + 2005-09-25 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_finalize_font_instance): Add newline to message. + + 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): Give user more control of + debug verbosity. Reduce verbosity at debug_xft=1. Reduce + verbosity of truename by removing properties that are rarely + specified from fontconfig font name. + + 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): Work around buggy return + value in FcInit(). + + 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c: Improve various header comments. + (x_font_instance_truename): Remove obsolete #ifdef 0 code. + + 2005-09-06 Stephen J. Turnbull <stephen@xemacs.org> + + * console-x-impl.h (struct x_frame): Rewrite comment. + + * redisplay-x.c (x_output_string): + * frame-x.c (x_delete_frame): + Improve style, let compiler optimize. + + 2005-09-05 Daniel Pittman <daniel@rimspace.net> + + * console-x-impl.h (struct x_frame): New member xftDraw. + (FRAME_X_XFTDRAW): Accessor for xftDraw member. + + * redisplay-x.c (x_output_string): Lazily initialize frame's + xftDraw member, and don't destroy it here. + + * frame-x.c (x_delete_frame): Destroy xftDraw here. + + 2005-08-17 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c (Ffc_pattern_create): Improve docstring, remove todo. + (fc_intern): Add todo. + + 2005-08-04 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c (finalize_fc_pattern): New static function. + Add it to lcrecord implementation of fc_pattern. + + * xft-fonts.c (Ffc_pattern_destroy): Disable with #if 0. + + 2005-08-03 Stephen J. Turnbull <stephen@xemacs.org> + + -- Minor cleanups. -- + + * xft-fonts.c (Ffc_font_real_pattern): + Update FIXME at top. + (Ffc_font_sort): + (Ffc_font_match): + Improve docstrings. + + * xft-fonts.c (Ffc_pattern_destroy): + Partially protect against double frees. + + -- Eliminate Lisp fc_fontset objects. -- + + * xft-fonts.c (fontset_to_list): New helper function. + (Ffc_list_fonts_pattern_objects): + (Ffc_font_sort): + Made to use `fontset_to_list' and return list. Updated docstrings. + + * xft-fonts.h (struct fc_pattern): Removed fc_fontset member. + (fc_fontset): Removed struct and lrecord declarations and typedef. + (XFCFONTSET): + (wrap_fcfontset): + (FCFONTSETP): + (CHECK_FCFONTSET): + (CONCHECK_FCFONTSET): + (XFCFONTSET_PTR): + Removed macros. + + * xft-fonts.c (fcfontset_description): + (fc_fontset): + (Ffc_fontset_p): + (Ffc_fontset_count): + (Ffc_fontset_destroy): + (Ffc_fontset_ref): + Removed unused functions. + (fcpattern_description): Removed fc_fontset member. + (Ffc_pattern_create): + (Ffc_name_parse): + (Ffc_pattern_duplicate): + (Ffc_pattern_destroy): + (Ffc_font_match): + (Ffc_font_real_pattern): + Removed reference to fc_fontset member. + (syms_of_xft_fonts): Removed DEFSYMBOLs, DEFSUBRs for fc_fontset. + + * lrecord.h (enum lrecord_type): Removed lrecord_fc_fontset. + Removed indicies, which depended on #ifdefs so can't be accurate. + + 2005-07-31 Daniel Pittman <daniel@rimspace.net> + + * xft-fonts.c: Update Ffc_list_fonts_pattern_objects to use the + FontConfig API nicely, preventing it from rebuilding the list of + available fonts on *every* access. + + 2005-06-16 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c: MC_ALLOC-ify. + * xft-fonts.h: MC_ALLOC-ify. + + 2005-04-16 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c: Improve comment on property name hash table. + + (Ffc_list_fonts_pattern_objects): + (Ffc_font_sort): + (reinit_vars_of_xft_fonts): + Call FcInit only once in reinit_vars_of_xft_fonts. + + (Ffc_list_fonts_pattern_objects): + (Ffc_font_sort): + Signal error if returned FcFontSet object is NULL. + + (string_list_to_fcobjectset): Use fc_intern. + + * objects-x.c (): Move declaration of `name' out of #ifdef. + + 2005-04-14 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c (fc_intern): val is const. + (xft_get_color): Use dead_wrong_type_argument. + + * objects-x.c (Qxft_font_name_encoding): New documentary #define. + (truename_via_XListFonts): Improve comments. + + Followup on Aidan's partial cleanup/Mulization. + + * objects-x.c (DEBUG_XFT0): + (DEBUG_XFT1): + (DEBUG_XFT2): + (PRINT_XFT_PATTERN): + (CHECKING_LANG): + Move to top of font object block. + (DEBUG_XFT3): + (DEBUG_XFT4): + New. + (x_initialize_font_instance): + (x_finalize_font_instance): + Use them. + + (x_font_instance_truename): Comment complaint about structure. + Clarify variable usage by moving declaration inside block. + + (x_find_charset_font): Clarify block structure by eliminating + early returns. Remove bogus "must free" comments. Free FcPattern + objects that were leaking. Use block structure to indicate + lifetimes of FcPattern objects. Use "font" rather than "pattern" + in names of FcPatterns that name fonts rather than search + criteria. Use shortnames more consistently in debug messages. + #ifdef shortname vs longname return values. Correct comment to + note that FcCharSets are Unparsed to ASCII. Don't ever fall + through to X core fonts if we had an Xft font (it should be NULL + anyway). Use Qxft_font_name_encoding; this means we have to parse + FONT separately for Qx_font_name_encoding. + + 2005-04-10 Stephen J. Turnbull <stephen@xemacs.org> + + Xft/fontconfig assumes that strings used as object names are + statically allocated. Implement a hash table to keep track of + them: + + * xft-fonts.c (reinit_vars_of_xft_fonts): Initialize hash table. + (fc_intern): + New static functions. + + (fc_property_name_hash_table): + (fc_standard_properties): + New static variables. + + * symsinit.h (reinit_vars_of_xft_fonts): Declare it. + + * emacs.c (main_1): Call it. Reorder complex_vars_of_xft_fonts. + + Renaming and reorganization: + + * xft-fonts.c: Group FcPattern stuff separately from FcFontSet in + preparation for removing latter from LISP visibility. Use + "pattern" for Lisp_Objects, reserve "fcpat" for FcPatterns. + Similarly change "object" to "property". + + (Ffc_pattern_destroy): + (Ffc_fontset_destroy): + Deprecate these; they should not be LISP-visible. + + (Ffc_pattern_print): Removed. + + (extract_fcapi_string): Make this a macro, because + in C "inline" is a hint. But this _must_ be a macro because it + implicitly uses alloca. + + 2005-04-09 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c (fc-pattern-get-antialias): + (fc-pattern-get-dpi): + (fc-pattern-get-family): + (fc-pattern-get-file): + (fc-pattern-get-foundry): + (fc-pattern-get-minspace): + (fc-pattern-get-outline): + (fc-pattern-get-pixelsize): + (fc-pattern-get-rasterizer): + (fc-pattern-get-scalable): + (fc-pattern-get-scale): + (fc-pattern-get-size): + (fc-pattern-get-style): + (fc-pattern-get-xlfd): + (xft-pattern-get-core): + (xft-pattern-get-encoding): + (xft-pattern-get-render): + (fc_get_pattern_bool): + (fc_get_pattern_double): + (fc_get_pattern_integer): + (fc_get_pattern_string): + (xft_font_open_name): + Delete definitions of long-unused functions. + + (syms_of_xft_fonts): + Delete references. + + * xft-fonts.h (fc_get_pattern_bool): + (fc_get_pattern_double): + (fc_get_pattern_integer): + (fc_get_pattern_string): + Delete declarations of long-unused helper functions. + + * xft-fonts.c (Ffc_font_match): s/poosible/possible/ in docstring. + + 2005-04-01 Aidan Kehoe <kehoea@parhasard.net> + + * objects-x.c: + * objects-x.c (x_initialize_font_instance): + * objects-x.c (CHECKING_LANG): + General mule-sanity cleanup for the debug messages, to eliminate + the issue Giacomo Boffi saw in + 16970.44359.621213.994821@boffi95.stru.polimi.it. + + * objects-x.c (x_find_charset_font): + Font names are also treated as UTF-8; relatedly, when passing back + the font's full name, the character coverage bitmap isn't included + any more, because that would make it an invalid UTF-8 string. + + 2005-03-10 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (charset_table): Fix ISO 639 code for Greek. Reported + by Stefan Holst <holst@mathematik.uni-mainz.de>. + (charset_table): Add information for Hebrew, whine about ISO prices. + + 2005-03-09 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_font_instance_truename): Try to fix XListFonts + crash by not handing random Xft results to core Xlib functions. + Replace bizarre gymnastics with simple FcNameUnparse. + + 2005-03-07 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x-impl.h: Include lwlib-fonts.h + + * objects-x.c (x_font_instance_truename): + * glyphs-x.c (update_widget_face): + * frame-x.c (x_update_frame_external_traits): + Use the correct variant of FONT_INSTANCE_{X,XFT}_FONT. + Protect against access of uninitialized objects. + + * redisplay-x.c (x_get_gc): Fix typo. + * (x_output_string): Add comments, clarify logic slightly. + + 2005-03-05 Stephen J. Turnbull <stephen@xemacs.org> + + Refactor language/charset checking in Xft. + + * objects-x.c (struct charset_reporter): New type. + (charset_table): New internal table. + (DEBUG_XFT0): + (DEBUG_XFT1): + (DEBUG_XFT2): + (PRINT_XFT_PATTERN): + (CHECKING_LANG): + New debugging macros. + (mule_to_fc_charset): New function. + (x_find_charset_font): Completely rewrite Xft part using the above. + + Cache knowledge of charset in font instances. + + * objects-impl.h (struct Lisp_Font_Instance): New member charset. + Update comment on use of truename. + * objects.c (syms_of_objects): DEFSUBR Ffont_instance_charset. + (Ffont_instance_charset): New accessor. + (Fmake_font_instance): New argument CHARSET, update charset member. + (font_instantiate): Update call to Fmake_font_instance. + (font_instance_description): Add charset member. + * objects.h (Fmake_font_instance): Update EXFUN. + (Ffont_instance_charset): New EXFUN. + + Make Xft debug level adjustable from Lisp. + + * xft-fonts.c (vars_of_xft_fonts): New DEFVAR_INT + xft-debug-level (from debug_xft), adjust style of xft-version. + * xft-fonts.h (debug_xft): Now Lisp-visible, change declaration. + + Miscellaneous. + + * lisp.h (Vcharset_iso8859_15): Export it. + * faces.h (struct face_cachel): Update comment on space usage. + * faces.c: Comment proposed changes to improve font handling. + * frame-x.c: + * EmacsShell-sub.c: + Disable geometry debugging. + + 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.h: + * xft-fonts.c: + Update copyright notices. + + * xft.fonts.h (string_list_to_fcobjectset): + (extract_fcapi_string): + Delete; static function declarations don't belong in headers. + + * xft.fonts.c (string_list_to_fcobjectset): + (extract_fcapi_string): + Declare. + + 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_find_charset_font): ConfigSubstitute in the + _pattern_ before matching. + + 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org> + + * faces.c (complex_vars_of_faces): Default to monospace-12 for + Xft. (Suggestion by Aidan Kehoe.) + + 2005-02-24 Hrvoje Niksic <hniksic@xemacs.org> + + * xgccache.h (XE_GCONTEXT): Move out of DEBUG_XEMACS block. + + 2005-02-22 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.c (debug_xft): Suppress all debug output for now. + + 2005-02-21 Stephen J. Turnbull <stephen@xemacs.org> + + * emacs.c (xemacs-release-date): New version info variable. + * config.h.in (XEMACS_RELEASE_DATE): New config.h macro. + + * emacs.c (inhibit-early-packages): + (inhibit-all-packages): + (xemacs-extra-name): Improve docstrings. + + 2005-02-21 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_finalize_font_instance): Improve debug message. + + 2005-02-20 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_initialize_font_instance): Estimate average cell + width based on dimensions of "representative" string. Suppress + some excessive debug output. Get rid of spurious tests. + + 2005-02-11 Eric Knauel <eric@xemacs.org> + + * xft-fonts.c: throw away old code that was wrapped inside + comments + + 2005-02-11 Eric Knauel <eric@xemacs.org> + + * xft-fonts.h: New prototype + + * xft-fonts.c (Ffc_name_parse, Ffc_pattern_add, Ffc_pattern_del) + (Ffc_pattern_get, fc_font_real_pattern) + (string_list_to_fcobjectset): Use extract_fcapi_string() + (extract_fcapi_string): New function + + 2005-02-09 Eric Knauel <eric@xemacs.org> + + * xft-fonts.c (string_list_to_fcobjectset): Use loop macro instead + of for. + + 2005-02-03 Eric Knauel <eric@xemacs.org> + + * lrecord.h (enum lrecord_type): remove lrecord for FcObjectSets + + * xft-fonts.h (struct fc_fontset): remove lrecord for FcObjectSets + + * xft-fonts.c (DEFINE_LRECORD_IMPLEMENTATION): + (Ffc_objectset_create, Ffc_objectset_p, Ffc_objectset_add) + (Ffc_objectset_destroy): remove lrecord for FcObjectSets + (Ffc_list_fonts_pattern_objects): adapt for new representation of + FcObjectSets + (string_list_to_fcobjectset): New utility function + + 2005-02-01 Stephen J. Turnbull <stephen@xemacs.org> + + * redisplay-x.c (separate_textual_runs): Check for MULE properly. + + 2005-01-28 Stephen J. Turnbull <stephen@xemacs.org> + + * glyphs-widget.c (Fwidget_logical_to_character_height): + (Fwidget_logical_to_character_width): + (layout_query_geometry): + (widget_update): + Fix typos in docstrings and preceding comments. + + 2005-01-26 Stephen J. Turnbull <stephen@xemacs.org> + + * redisplay-x.c (x_output_string): Position strikethru by dl + geometry. Kludge to fix remnants from antialiased underscores. + + 2004-12-19 Stephen J. Turnbull <stephen@xemacs.org> + + * compiler.h (UNUSED): Document make-docfile.c hack. + + 2004-12-19 Stephen J. Turnbull <stephen@xemacs.org> + + * glyphs-x.c,objects-x.c: Deemphasize warnings (to debug or alert). + + * redisplay-x.c: Don't abort() when ichar_to_unicode returns error. + + 2004-12-17 Stephen J. Turnbull <stephen@xemacs.org> + + * regex.c (re_match_2_internal): DEBUG_PRINT "can match null". + + 2004-12-10 Stephen J. Turnbull <stephen@xemacs.org> + + * redisplay-x.c (x_text_width_single_run): Whitespace improvement. + + 2004-12-09 Stephen J. Turnbull <stephen@xemacs.org> + + * glyphs-widget.c (image_instantiator_progress_gauge): + (image_instantiator_format_create_glyphs_widget): + Fix typo guage->gauge. + + * emacs.c (main_1): Casting out devils (size_t). + + * compiler.h (USED_IF_XFT): New variant. + * objects-x.c (x_font_spec_matches_charset): + * redisplay-x.c (x_text_width_single_run): + Use it. + + * config.h.in: Support USE_XFT_TABS and USE_XFT_GAUGE. + + 2004-11-28 Stephen J. Turnbull <stephen@xemacs.org> + + * objects-x.c (x_initialize_font_instance): Make sure + FONT_INSTANCE_X_FONT is cleared for Xft fonts. Add comments. + Fiddle whitespace. + (x_print_font_instance): Clarify printed font instance. + + 2004-11-27 Stephen J. Turnbull <stephen@xemacs.org> + + * xft-fonts.h: Declare debug_xft. + + * objects-x.c (x_font_instance_truename): + Convert Xft* identifiers to Fc* versions. + + (x_initialize_font_instance): + (x_find_charset_font): + Condition debugging on debug_xft. Get rid of unneeded "#### + debug" markers. Change fprintf to stderr_out. + + (x_find_charset_font): Restore missing argument to + DebugFcTypeOfValue. Remove nonworking debug cruft. + + (FcResultToString): + (FcTypeOfValueToString): + (x_find_charset_font): + Change DebugFc* to Fc*ToString. + + 2004-11-20 Stephen J. Turnbull <stephen@xemacs.org> + + Xft branch based on "Xft reloaded #3" patch by Eric Knauel and + Mathias Neuebaur, and other contributors. + + * xft-fonts.h: New file. Declares new Lisp objects wrapping + FcPattern, FcFontSet, and FcObjectSet. + * xft-fonts.c: New file. Implements new Lisp objects wrapping + FcPattern, FcFontSet, and FcObjectSet. + * objects-x-impl.h: Declare XftFont component of font instance. + * objects-x.c: Implement XftFont component of font instance. + * redisplay-x.c: Implement drawing via Xft. + +2005-11-21 Marcus Crestani <crestani@xemacs.org> + + Incremental Garbage Collector + + * .cvsignore: Add .dbxrc and .gdbinit. + + * .dbxrc: Remove. + * .dbxrc.in: New, used to generate .dbxrc: If newgc is enabled, do + not break on SIGBUS and SIGSEGV. + * .gdbinit: Remove. + * .gdbinit: New, used to generate .gdbinit: If newgc is enabled, + do not break on SIGBUS and SIGSEGV. + + * Makefile.in.in: Add gc.c, newgc_objs and vdb_objs. + + * alloc.c: Move the GC related code to gc.c: marking, gc hooks, + garbage_collect_1, GC related Lisp functions and variables. Left + in alloc.c are the allocation functions, the definition of + lrecords, the sweep functions of the old garbage collector, and + root-set code like staticpro and mcpro. Remove + lrecord_string_data_stats. + * alloc.c (DECREMENT_CONS_COUNTER): Remove call to + recompute_need_to_garbage_collect. + * alloc.c (init_lrecord_stats): Remove additionally allocated + memory statistics, i.e. statistics for string data. + * alloc.c (alloc_lrecord_array): New. + * alloc.c (free_lrecord): Do not explicitly free during gc. Add + recompute_need_to_garbage_collect. + * alloc.c (make_compiled_function): Field arguments is now a Lisp + object, thus init it to Qnil rather than NULL. + * alloc.c (struct string_chars_block): + * alloc.c (finalize_string): + * alloc.c (struct string_chars): + * alloc.c (make_uninit_string): + * alloc.c (resize_string): + * alloc.c (make_string_nocopy): + String data is now a Lisp object. Remove code that handled string + data specially. + * alloc.c (init_lrecord_stats): Remove lrecord_string_data_stats. + * alloc.c (common_init_alloc_early): + * alloc.c (init_alloc_once_early): + * alloc.c (syms_of_alloc): + * alloc.c (vars_of_alloc): + * alloc.c (complex_vars_of_alloc): + Move init code to gc.c's inizializers. + + * buffer.c: + * buffer.c (syms_of_buffer): + * buffer.h: + * buffer.h (struct buffer_text): Add new Lisp object: buffer_text. + + * bytecode.c: + * bytecode.c (make_compiled_function_args): + * bytecode.c (optimize_compiled_function): + * bytecode.c (mark_compiled_function): + * bytecode.c (finalize_compiled_function): + * bytecode.c (syms_of_bytecode): + * bytecode.h: + * bytecode.h (struct compiled_function_args): + * bytecode.h (struct Lisp_Compiled_Function): Add new Lisp object: + compiled_function_args. + + * config.h.in: Add NEW_GC symbol, add VDB_* symbols, and symbols + for functions and structs checked for vdb. + + * console-gtk-impl.h: + * console-gtk-impl.h (struct gtk_device): + * console-gtk-impl.h (struct gtk_frame): + * console-msw-impl.h: + * console-msw-impl.h (struct mswindows_device): + * console-msw-impl.h (struct msprinter_device): + * console-msw-impl.h (struct mswindows_frame): + * console-stream-impl.h: + * console-stream-impl.h (struct stream_console): + * console-stream.c: + * console-stream.c (stream_init_console): + * console-stream.c (stream_delete_console): + * console-stream.h: + * console-tty-impl.h: + * console-tty-impl.h (struct tty_console): + * console-tty-impl.h (struct tty_device): + * console-tty.c: + * console-tty.c (allocate_tty_console_struct): + * console-tty.c (free_tty_console_struct): + * console-x-impl.h: + * console-x-impl.h (struct x_device): + * console-x-impl.h (struct x_frame): + * console.c: + * console.c (syms_of_console): Add new Lisp objects: tty_console, + stream_consle. + + * device-gtk.c: + * device-gtk.c (allocate_gtk_device_struct): + * device-gtk.c (free_gtk_device_struct): + * device-gtk.c (syms_of_device_gtk): + * device-msw.c: + * device-msw.c (mswindows_init_device): + * device-msw.c (mswindows_delete_device): + * device-msw.c (msprinter_init_device): + * device-msw.c (msprinter_delete_device): + * device-msw.c (syms_of_device_mswindows): + * device-tty.c: + * device-tty.c (free_tty_device_struct): + * device-tty.c (syms_of_device_tty): + * device-x.c: + * device-x.c (allocate_x_device_struct): + * device-x.c (free_x_device_struct): + * device-x.c (syms_of_device_x): + * device.c: Add new Lisp objects: x_device, gtk_device, + tty_device, mswindows_device, msprinter_device. + + * dumper.c: + * dumper.c (pdump_register_sub): Add XD_LISP_OBJECT_PTR. + * dumper.c (pdump_register_object_array): New. + * dumper.c (pdump_store_new_pointer_offsets): Add XD_LISP_OBJECT_PTR. + * dumper.c (pdump_scan_lisp_objects_by_alignment): Remove assert, + XD_LISP_OBJECT_PTR may occur as arrays. + * dumper.c (pdump_reloc_one_mc): Add XD_LISP_OBJECT_PTR. + * dumper.c (pdump_dump_rtables): Dump arrays. + * dumper.c (pdump_load_finish): Store and restore state of + allow_incremental_gc. Remove lrecord_string_data_stats. + + * dynarr.c: + * dynarr.c (Dynarr_lisp_newf): Special case dynamic Lisp array. + * dynarr.c (Dynarr_resize): Special case dynamic Lisp array. + * dynarr.c (Dynarr_free): Add dynamic Lisp array. + + * elhash.c: + * elhash.c (htentry): +>>>>>>> other * elhash.c (make_general_lisp_hash_table): * elhash.c (Fcopy_hash_table): +<<<<<<< local * emacs.c (main_1): * event-stream.c: * event-stream.c (allocate_command_builder): @@ -75,11 +4736,234 @@ * ui-gtk.c (allocate_ffi_data): * ui-gtk.c (allocate_emacs_gtk_object_data): * ui-gtk.c (allocate_emacs_gtk_boxed_data): +======= + * elhash.c (resize_hash_table): + * elhash.c (pdump_reorganize_hash_table): + * elhash.c (init_elhash_once_early): + * elhash.h: Add new Lisp object: hash_table_entry. Make + hash_table_entries Lisp objects. + + * emacs.c (main_1): Install platform's vdb signal handler, add GC + init, add syms of GC and vdb, . + * emacs.c: Replace garbage_collect_1 calls with gc_full calls. + * emacs.c (fatal_error_signal): With vdb enabled, convert SIGSEGV + and SIGBUS to SIGABRT. + + * eval.c (Fsignal): Incremental GC may always run, changes are + caught by the write barrier. + * eval.c (handle_compiled_function_with_and_rest): + * eval.c (funcall_compiled_function): + * eval.c (Feval): Invoke incremental GC if need to GC. + * eval.c (Ffuncall): Invoke incremental GC if need to GC. + * eval.c (run_hook_with_args_in_buffer): Add new Lisp object: + compiled_function_args. + + * event-msw.c (mswindows_wnd_proc): Incremental GC may always run, + changes are caught by the write barrier. + * events.c (reinit_vars_of_events): Vevent_resource now + collectible, staticpro it. + + * extents.c: + * extents.c (gap_array_marker): + * extents.c (gap_array): + * extents.c (extent_list_marker): + * extents.c (extent_list): + * extents.c (stack_of_extents): + * extents.c (gap_array_make_gap): + * extents.c (gap_array_make_marker): + * extents.c (gap_array_delete_marker): + * extents.c (gap_array_delete_all_markers): + * extents.c (make_gap_array): + * extents.c (free_gap_array): + * extents.c (extent_list_insert): + * extents.c (extent_list_make_marker): + * extents.c (extent_list_delete_marker): + * extents.c (allocate_extent_list): + * extents.c (free_extent_list): + * extents.c (finalize_extent_info): + * extents.c (flush_cached_extent_info): + * extents.c (uninit_buffer_extents): + * extents.c (allocate_soe): + * extents.c (free_soe): + * extents.c (syms_of_extents): + * extents.h: Add new Lisp object: gap_array_marker, gap_array, + extent_list_marker, extent_list, and stack_of_extents. + + * faces.h: + * faces.h (struct face_cachel): Add new Lisp object: face cachel. + + * frame-gtk.c: + * frame-gtk.c (allocate_gtk_frame_struct): + * frame-gtk.c (gtk_delete_frame): + * frame-gtk.c (syms_of_frame_gtk): + * frame-msw.c: + * frame-msw.c (mswindows_init_frame_1): + * frame-msw.c (mswindows_delete_frame): + * frame-msw.c (syms_of_frame_mswindows): + * frame-x.c: + * frame-x.c (allocate_x_frame_struct): + * frame-x.c (x_delete_frame): + * frame-x.c (syms_of_frame_x): + * frame.c: + * frame.c (change_frame_size): + * frame.c (syms_of_frame): Add new Lisp object: gtk_console, + mswindows_console, and x_console. + + * glyphs.c (struct expose_ignore_blocktype): + * glyphs.c (check_for_ignored_expose): + * glyphs.c (register_ignored_expose): + * glyphs.c (reinit_vars_of_glyphs): + * glyphs.h: + * glyphs.h (struct glyph_cachel): + * glyphs.h (struct expose_ignore): Add new Lisp object: + glyph_cachel and expose_ignore. + + * lisp.h: Move dynamic array definition down after lrecord + inclusion. Add dynamic lisp array macros. Add direct and + indirect string data. Add string accessors. Remove + lrecord_string_data_stats. + * lisp.h (struct Lisp_String_Direct_Data): New. + * lisp.h (struct Lisp_String_Indirect_Data): New. + * lisp.h (struct Lisp_String): Add indirect flag and Lisp object + data. + + * lrecord.h: Remove lrecord_type numbering. + * lrecord.h (enum lrecord_type): Add new Lisp objects. + * lrecord.h (MC_ALLOC_CALL_FINALIZER): Add GC statistics. + * lrecord.h (enum memory_description_type): Add + XD_LISP_OBJECT_BLOCK_PTR. + * lrecord.h (XD_LISP_DYNARR_DESC): New. + * lrecord.h (alloc_lrecord_array): New. + + * mc-alloc.c: + * mc-alloc.c (MIN_HEAP_INCREASE): + * mc-alloc.c (free_link): + * mc-alloc.c (page_header): + * mc-alloc.c (FREE_HEAP_PAGES): + * mc-alloc.c (PH_BLACK_BIT): + * mc-alloc.c (get_mark_bit_index): + * mc-alloc.c (add_pages_to_lookup_table): + * mc-alloc.c (alloc_bit_array): + * mc-alloc.c (get_bit): + * mc-alloc.c (set_bit): + * mc-alloc.c (USE_PNTR_MARK_BITS): + * mc-alloc.c (GET_BIT_WORD): + * mc-alloc.c (SET_BIT_WORD): + * mc-alloc.c (ZERO_MARK_BITS_PNTR): + * mc-alloc.c (alloc_mark_bits): + * mc-alloc.c (free_mark_bits): + * mc-alloc.c (set_mark_bit): + * mc-alloc.c (alloc_page_header): + * mc-alloc.c (free_page_header): + * mc-alloc.c (get_used_list_index): + * mc-alloc.c (get_free_list_index): + * mc-alloc.c (install_cell_free_list): + * mc-alloc.c (install_page_in_used_list): + * mc-alloc.c (remove_page_from_used_list): + * mc-alloc.c (allocate_new_page): + * mc-alloc.c (mc_alloc_1): + * mc-alloc.c (mc_alloc_array): + * mc-alloc.c (mc_alloc): + * mc-alloc.c (mark_free_list): + * mc-alloc.c (finalize_page): + * mc-alloc.c (finalize_page_for_disksave): + * mc-alloc.c (sweep_page): + * mc-alloc.c (mc_free): + * mc-alloc.c (mc_realloc_1): + * mc-alloc.c (mc_realloc_array): + * mc-alloc.c (init_mc_allocator): + * mc-alloc.c (Fmc_alloc_memory_usage): + * mc-alloc.c (maybe_mark_black): + * mc-alloc.h: Add incremental garbage collector support, various + cleanups. + + * objects-tty-impl.h: + * objects-tty-impl.h (struct tty_color_instance_data): + * objects-tty-impl.h (struct tty_font_instance_data): + * objects-tty.c: + * objects-tty.c (tty_initialize_color_instance): + * objects-tty.c (tty_finalize_color_instance): + * objects-tty.c (tty_initialize_font_instance): + * objects-tty.c (tty_finalize_font_instance): + * objects-tty.c (syms_of_objects_tty): + * objects.c: New Lisp objects: color_instance_data and + font_instance_data. + + * print.c (print_internal): New Lisp object: string_data. + + * specifier.c: + * specifier.c (finalize_specifier): + * specifier.c (set_specifier_caching): + * specifier.c (syms_of_specifier): + * specifier.h: + * specifier.h (struct specifier_caching): New Lisp object: + specifier caching. + + * syntax.c: + * syntax.c (init_buffer_syntax_cache): + * syntax.c (uninit_buffer_syntax_cache): + * syntax.c (syms_of_syntax): + * syntax.h: + * syntax.h (struct syntax_cache): New Lisp object: syntax_cache. + + * window.c: +>>>>>>> other * window.c (allocate_window): +<<<<<<< local * window.c (new_window_mirror): +======= +>>>>>>> other * window.c (make_dummy_parent): +<<<<<<< local Create a simpler interface (ALLOC_LCRECORD) for allocating +======= + * window.c (syms_of_window): New Lisp objects: face_cachel, + fache_cachel_dynarr, glyph_cachel, and glyph_cachel_dynarr. + + + New files: + * gc.c: Moved code from alloc.c. Split up garbage_collect_1 in a + couple of smaller functions. + * gc.h: Incremental Garbage Collector + + * vdb-fake.c: Virtual dirty bit fake implementation. + * vdb-mach.c: Virtual dirty bit implementation for Mach systems. + * vdb-posix.c: Virtual dirty bit implementation for POSIX systems. + * vdb-win32.c: Virtual dirty bit implementation for Win32 systems. + + * vdb.c: + * vdb.h: Platform independent virtual dirty bit implementation. + + + Remove files: + * .dbxrc: + * .gdbinit: Now generated by configure script. + +2005-11-22 Malcolm Purvis <malcolmp@xemacs.org> + + * frame-gtk.c (gtk_internal_frame_property_p): + * glyphs-gtk.c (image_instance_convert_to_pointer): + * glyphs-gtk.c (gtk_xpm_instantiate): + * glyphs-gtk.h (IMAGE_INSTANCE_GTK_MASK): + * gtk-xemacs.c (gtk_xemacs_expose): + * redisplay-gtk.c (gtk_output_vertical_divider): + Fix compilation errors and warnings that have appeared over the + last few months. + +2005-11-22 Stephen J. Turnbull <stephen@xemacs.org> + + * keymap.c (Fdefine_key): More focused docstring. + +2005-11-20 Marcus Crestani <crestani@xemacs.org> + + * lisp.h: Add default_object_printer prototype. + * print.c (default_object_printer): Remove static. + * print.c (print_internal): Use internal_object_printer if a + object has no print method. + * toolbar.c: Use default_object_printer for toolbar-button. + +>>>>>>> other 2005-11-22 Ben Wing <ben@xemacs.org> * mule-coding.c (FROB): @@ -94,7 +4978,7 @@ * window.c (change_window_height): Have change_window_height change the window width when requested to do so; fixes bugs and - error messages with VM, BBDB. + error messages with VM, BBDB. 2005-11-16 Stephen J. Turnbull <stephen@xemacs.org> @@ -126,15 +5010,15 @@ set_lheader_implementation() -- that way, even non-MC-ALLOC builds get useful uid's in their bare lrecords. Redo related code for strings so the non-ascii count that is stored in the uid isn't hosed. - + * events.c: * events.c (deinitialize_event): * events.c (zero_event): Save and restore the uid around event zeroing/deadbeefing. - + * lisp.h: Set the correct value of MAX_STRING_ASCII_BEGIN under MC_ALLOC. - + * lisp.h (ZEROP): * lisp.h (XINT): * lisp.h (CHECK_INT): @@ -153,7 +5037,7 @@ XCHAR and CHARP have additional error-checking in that they check to make sure that the value in question is not just a character but a valid character (i.e. its numeric value is valid). - + * print.c: * print.c (debug_p4): debug_p4 now has a useful UID in all cases and uses it; but it also prints @@ -402,7 +5286,7 @@ * frame-msw.c: * frame-msw.c (decode_mswindows_frame): New function, like decode_x_frame. - + * frame-msw.c (mswindows_window_id): * frame-msw.c (mswindows_frame_property): * frame-msw.c (mswindows_internal_frame_property_p): @@ -610,7 +5494,7 @@ 2005-10-10 Andrey Slusar <anrays@gmail.com> * unexelf.c: define `Elfw(type)' for FreeBSD alpha and all _LP64 - archs. + archs. From Dejan Lesjak <dejan.lesjak@ijs.si> 2005-10-04 Stephen J. Turnbull <stephen@xemacs.org> @@ -1115,9 +5999,9 @@ New lrecord allocation and free functions: * alloc.c (alloc_lrecord): New. Allocates an lrecord, includes - type checking and initializing of the lrecord_header. + type checking and initializing of the lrecord_header. * alloc.c (noseeum_alloc_lrecord): Same as above, but increments - the NOSEEUM cons counter. + the NOSEEUM cons counter. * alloc.c (free_lrecord): New. Calls the finalizer and frees the lrecord. * lrecord.h: Add lrecord allocation prototypes and comments. @@ -1147,7 +6031,7 @@ Allocate old lrecords with new allocator: * alloc.c: DECLARE_FIXED_TYPE_ALLOC removed for all lrecords - defined in alloc.c. + defined in alloc.c. * alloc.c (Fcons): Allocate with new allocator. * alloc.c (noseeum_cons): Allocate with new allocator. * alloc.c (make_float): Allocate with new allocator. @@ -1214,8 +6098,8 @@ * alloc.c (free_marker): Use new allocator to free. * alloc.c (garbage_collect_1): Remove release_breathing_space. * alloc.c (gc_sweep): Remove all the old lcrecord and lrecord - related stuff. Sweeping now works like this: compact string - chars, finalize, sweep. + related stuff. Sweeping now works like this: compact string + chars, finalize, sweep. * alloc.c (common_init_alloc_early): Remove old lrecord initializations, remove breathing_space. * emacs.c (Fdump_emacs): Remove release_breathing_space. @@ -1235,39 +6119,39 @@ These changes build the interface to mc-alloc: * lrecord.h (MC_ALLOC_CALL_FINALIZER): Tell mc-alloc how to - finalize lrecords. + finalize lrecords. * lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE): Tell - mc-alloc how to finalize for disksave. - - Unify lrecords and lcrecords: + mc-alloc how to finalize for disksave. + + Unify lrecords and lcrecords: * lisp.h (struct Lisp_String): Adjust string union hack to - new lrecord header. + new lrecord header. * lrecord.h: Adjust comments. * lrecord.h (struct lrecord_header): The new lrecord header - includes type, lisp-readonly, free, and uid. + includes type, lisp-readonly, free, and uid. * lrecord.h (set_lheader_implementation): Adjust to new - lrecord_header. + lrecord_header. * lrecord.h (struct lrecord_implementation): The field basic_p - for indication of an old lrecord is not needed anymore, remove. + for indication of an old lrecord is not needed anymore, remove. * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): Remove basic_p. * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Remove - basic_p. + basic_p. * lrecord.h (copy_sized_lrecord): Remove distinction between - old lrecords and lcrecords. + old lrecords and lcrecords. * lrecord.h (copy_lrecord): Remove distinction between old - lrecords and lcrecords. + lrecords and lcrecords. * lrecord.h (zero_sized_lrecord): Remove distinction between - old lrecords and lcrecords. + old lrecords and lcrecords. * lrecord.h (zero_lrecord): Remove distinction between old - lrecords and lcrecords. + lrecords and lcrecords. Remove lcrecords and lcrecord lists: * alloc.c (basic_alloc_lcrecord): Not needed anymore, remove. * alloc.c (very_old_free_lcrecord): Not needed anymore, remove. * alloc.c (copy_lisp_object): No more distinction between - lrecords and lcrecords. + lrecords and lcrecords. * alloc.c (all_lcrecords): Not needed anymore, remove. * alloc.c (make_vector_internal): Allocate as lrecord. * alloc.c (make_bit_vector_internal): Allocate as lrecord. @@ -1288,13 +6172,13 @@ * alloc.c (kkcc_marking): Remove XD_FLAG_FREE_LISP_OBJECT * alloc.c (sweep_lcrecords_1): Remove. * alloc.c (common_init_alloc_early): Remove everything related - to lcrecords, remove old lrecord initializations, + to lcrecords, remove old lrecord initializations, * alloc.c (init_lcrecord_lists): Not needed anymore, remove. * alloc.c (reinit_alloc_early): Remove everything related to lcrecords. * alloc.c (init_alloc_once_early): Remove everything related to lcrecords. - * buffer.c (allocate_buffer): Allocate as lrecord. + * buffer.c (allocate_buffer): Allocate as lrecord. * buffer.c (nuke_all_buffer_slots): Use lrecord functions. * buffer.c (common_init_complex_vars_of_buffer): Allocate as lrecord. @@ -1336,7 +6220,7 @@ * event-stream.c (allocate_command_builder): Allocate as lrecord. * event-stream.c (free_command_builder): Use lrecord functions. * event-stream.c (event_stream_generate_wakeup): Allocate as - lrecord. + lrecord. * event-stream.c (event_stream_resignal_wakeup): Use lrecord functions. * event-stream.c (event_stream_disable_wakeup): Use lrecord @@ -1388,7 +6272,7 @@ * emacs.c (main_1): Remove lstream initialization. * mule-charset.c (make_charset): Allocate as lrecord. * objects-impl.h (struct Lisp_Color_Instance): Add - lrecord_header. + lrecord_header. * objects-impl.h (struct Lisp_Font_Instance): Add lrecord_header. * objects.c (Fmake_color_instance): Allocate as lrecord. * objects.c (Fmake_font_instance): Allocate as lrecord. @@ -1451,11 +6335,11 @@ * scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage): Get storage size from new allocator. * scrollbar-x.c (x_compute_scrollbar_instance_usage): Get - storage size from new allocator. + storage size from new allocator. * scrollbar.c (compute_scrollbar_instance_usage): Get storage - size from new allocator. + size from new allocator. * unicode.c (compute_from_unicode_table_size_1): Get storage - size from new allocator. + size from new allocator. * unicode.c (compute_to_unicode_table_size_1): Get storage size from new allocator. * window.c (compute_window_mirror_usage): Get storage size from @@ -1480,7 +6364,7 @@ Strings: - * alloc.c (Fmake_string): Initialize ascii_begin to zero. + * alloc.c (Fmake_string): Initialize ascii_begin to zero. * alloc.c (gc_count_num_short_string_in_use): Remove. * alloc.c (gc_count_string_total_size): Remove. * alloc.c (gc_count_short_string_total_size): Remove. @@ -1492,7 +6376,7 @@ * alloc.c (c_readonly): Not needed anymore, remove. * alloc.c (GC_CHECK_LHEADER_INVARIANTS): Remove some obsolete - lheader invariants assertions. + lheader invariants assertions. * buffer.c (DEFVAR_BUFFER_LOCAL_1): Allocate dynamically. * console.c (DEFVAR_CONSOLE_LOCAL_1): Allocate dynamically. * gpmevent.c: Indirection via MC_ALLOC_Freceive_gpm_event. @@ -1501,9 +6385,9 @@ * lisp.h (C_READONLY): Not needed anymore, remove. * lisp.h (DEFUN): Allocate dynamically. * lrecord.h (C_READONLY_RECORD_HEADER_P): Not needed anymore, - remove. + remove. * lrecord.h (SET_C_READONLY_RECORD_HEADER): Not needed anymore, - remove. + remove. * symbols.c (guts_of_unbound_marker): * symeval.h (defsubr): Allocate dynamically. * symeval.h (DEFSUBR_MACRO): Allocate dynamically. @@ -1514,7 +6398,7 @@ * lisp.h: Add mcpro prototypes. * alloc.c (common_init_alloc_early): Add initialization for - mcpros. + mcpros. * alloc.c (mcpro_description_1): New. * alloc.c (mcpro_description): New. * alloc.c (mcpros_description_1): New. @@ -1576,14 +6460,14 @@ * config.h.in: Add new flag `DUMP_IN_EXEC' * emacs.c: Condition dump-data.h on DUMP_IN_EXEC. * emacs.c (main_1): Flag `-si' only works if dump image is - written into executable. + written into executable. Miscellanious * lrecord.h (enum lrecord_type): Added numbers to all types, - very handy for debugging. + very handy for debugging. * xemacs.def.in.in: Add mc-alloc functions to make them visible - to the modules. + to the modules. 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org> @@ -1624,7 +6508,7 @@ 2005-02-24 Andrey Slusar <anrays@gmail.com> - * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64. + * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64. 2005-03-25 Marcus Crestani <crestani@xemacs.org> @@ -1719,7 +6603,7 @@ 2005-03-02 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * redisplay.h (struct rune): make type field an int, to fix - KKCC marking of unions. + KKCC marking of unions. 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org> @@ -1786,9 +6670,9 @@ 2005-02-26 Aidan Kehoe <kehoea@parhasard.net> * select-x.c (x_reply_selection_request): Use XtRegisterDrawable - to tell Xt not to drop PropertyChange events destined for the - selection request target window. This makes incremental selection - transfer work, instead of looping until interrupted. + to tell Xt not to drop PropertyChange events destined for the + selection request target window. This makes incremental selection + transfer work, instead of looping until interrupted. 2005-01-06 Andrey Slusar <anrays@gmail.com> @@ -2539,7 +7423,9 @@ 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org> - * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo. + * EmacsManager.c (EmacsManagerChangeSize): + Respect XtGeometryNo, and exit immediately if geometry change + refused. Fixes notorious metacity maximize bug. 2004-12-07 Malcolm Purvis <malcolmp@xemacs.org> @@ -2681,11 +7567,11 @@ 2004-10-27 Ben Wing <ben@xemacs.org> --------------------------------------------------------------- - MULE-RELATED WORK: + MULE-RELATED WORK: --------------------------------------------------------------- --------------------------- - byte-char conversion + byte-char conversion --------------------------- * buffer.c: @@ -2980,7 +7866,7 @@ int -> Bytecount. --------------------------- - Mule-izing + Mule-izing --------------------------- * device-x.c: @@ -3081,7 +7967,7 @@ use in Mule-ization work in frame-x.c etc. --------------------------- - Freshening + Freshening --------------------------- * intl-auto-encap-win32.c: @@ -3491,7 +8377,7 @@ Regenerate. --------------------------- - Unicode-work + Unicode-work --------------------------- * intl-win32.c (convert_multibyte_to_unicode_malloc): @@ -3524,7 +8410,7 @@ Dump the blank tables as well. --------------------------------------------------------------- - DOCUMENTATION, MOSTLY MULE-RELATED: + DOCUMENTATION, MOSTLY MULE-RELATED: --------------------------------------------------------------- * EmacsFrame.c (Xt_StringToScrollBarPlacement): @@ -3625,7 +8511,7 @@ @@#### comments are out-of-date. --------------------------------------------------------------- - PDUMP WORK (MOTIVATED BY UNICODE CHANGES) + PDUMP WORK (MOTIVATED BY UNICODE CHANGES) --------------------------------------------------------------- * alloc.c (lispdesc_block_size_1): @@ -3703,7 +8589,7 @@ remove incorrect comment about pdump problems with gap array. --------------------------------------------------------------- - ALLOCATION + ALLOCATION --------------------------------------------------------------- * abbrev.c (abbrev_oblookup): @@ -3837,7 +8723,7 @@ the alloca() kinds. --------------------------------------------------------------- - ERROR-CHECKING + ERROR-CHECKING --------------------------------------------------------------- * text.h (eicpy_c): @@ -3850,7 +8736,7 @@ --------------------------------------------------------------- - MACROS IN LISP.H + MACROS IN LISP.H --------------------------------------------------------------- * lisp.h (GCDECL1): @@ -3909,7 +8795,7 @@ --------------------------------------------------------------- - SPACING FIXES + SPACING FIXES --------------------------------------------------------------- * callint.c (Fcall_interactively): @@ -3920,7 +8806,7 @@ --------------------------------------------------------------- - FIX FOR GEOMETRY PROBLEM IN FIRST FRAME + FIX FOR GEOMETRY PROBLEM IN FIRST FRAME --------------------------------------------------------------- * unicode.c (init_charset_unicode_tables): @@ -3931,7 +8817,7 @@ will be overridden by my other ws. --------------------------------------------------------------- - FIX FOR LEAKING PROCESS HANDLES: + FIX FOR LEAKING PROCESS HANDLES: --------------------------------------------------------------- @@ -3947,7 +8833,7 @@ <adrian@xemacs.org>. --------------------------------------------------------------- - FIX FOR CYGWIN BUG (Unicode-related): + FIX FOR CYGWIN BUG (Unicode-related): --------------------------------------------------------------- * unicode.c (init_charset_unicode_tables): @@ -3955,7 +8841,7 @@ release 1.5.12 of Cygwin]. --------------------------------------------------------------- - WARNING FIXES: + WARNING FIXES: --------------------------------------------------------------- * console-stream.c (init_console_stream): @@ -3974,7 +8860,7 @@ Gather includes together to avoid warning. --------------------------------------------------------------- - CHANGES TO INITIALIZATION ROUTINES: + CHANGES TO INITIALIZATION ROUTINES: --------------------------------------------------------------- * buffer.c (vars_of_buffer): @@ -4030,7 +8916,7 @@ in the latter calls. --------------------------------------------------------------- - ARMAGEDDON: + ARMAGEDDON: --------------------------------------------------------------- * alloc.c: @@ -4064,7 +8950,7 @@ in places where problems would arise. --------------------------------------------------------------- - CHANGES TO THE BUILD PROCEDURE: + CHANGES TO THE BUILD PROCEDURE: --------------------------------------------------------------- * config.h.in: @@ -4777,9 +9663,9 @@ * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to replace symbolic color entries with the real colors specified in xpm-color-symbols, before passing the XPM to gtk. - * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks, - instead of a GTK specific field, so that it is used in by generic - code. + * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks, + instead of a GTK specific field, so that it is used in by generic + code. 2004-05-15 Malcolm Purvis <malcolmp@xemacs.org> @@ -6020,25 +10906,25 @@ 2003-04-24 Matthew O. Persico <persicom@acedsl.com> - * unicode.c: Removed trailing commas in some enums; older - (Solaris 2.7 cc) compiler produced volumous warnings. - - * text.c: Replaced char initialization of static Ibyte - strcasecmp_charmap[] with octal numeric init. Apparently older - (Solaris 2.7 cc) compiler treats quoted octals as signed, - causing 256 signed-assigned-to-unsigned warnings. - - * lrecord.h: Removed trailing commas in some enums; older - (Solaris 2.7 cc) compiler produced volumous warnings. - - * lisp.h: Removed trailing commas in some enums; older - (Solaris 2.7 cc) compiler produced volumous warnings. - - * frame.c: Removed trailing commas in some enums; older - (Solaris 2.7 cc) compiler produced volumous warnings. - - * file-coding.h: Removed trailing commas in some enums; older - (Solaris 2.7 cc) compiler produced volumous warnings. + * unicode.c: Removed trailing commas in some enums; older + (Solaris 2.7 cc) compiler produced volumous warnings. + + * text.c: Replaced char initialization of static Ibyte + strcasecmp_charmap[] with octal numeric init. Apparently older + (Solaris 2.7 cc) compiler treats quoted octals as signed, + causing 256 signed-assigned-to-unsigned warnings. + + * lrecord.h: Removed trailing commas in some enums; older + (Solaris 2.7 cc) compiler produced volumous warnings. + + * lisp.h: Removed trailing commas in some enums; older + (Solaris 2.7 cc) compiler produced volumous warnings. + + * frame.c: Removed trailing commas in some enums; older + (Solaris 2.7 cc) compiler produced volumous warnings. + + * file-coding.h: Removed trailing commas in some enums; older + (Solaris 2.7 cc) compiler produced volumous warnings. 2003-04-17 Stephen J. Turnbull <stephen@xemacs.org> @@ -7377,7 +12263,7 @@ 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU> - * sysdll.c: Included lisp.h to define needed alloca_array. + * sysdll.c: Included lisp.h to define needed alloca_array. 2003-02-07 Jerry James <james@xemacs.org> @@ -7457,7 +12343,7 @@ * event-stream.c (event_stream_select_process): * event-stream.c (event_stream_unselect_process): * event-stream.c (event_stream_create_io_streams): - * event-stream.c (event_stream_delete_io_streams): + * event-stream.c (event_stream_delete_io_streams): * event-stream.c (event_stream_current_event_timestamp): * event-stream.c (event_stream_next_event): Remove unused parameter to check_event_stream_ok() and change @@ -9101,8 +13987,8 @@ 2002-08-06 Jerry James <james@xemacs.org> - * window.c (Fsplit_window): Count only half of the divider width - against the left window when splitting horizontally. + * window.c (Fsplit_window): Count only half of the divider width + against the left window when splitting horizontally. 2002-07-29 Jerry James <james@xemacs.org> @@ -9207,7 +14093,7 @@ * tooltalk.c: tooltalk_message_description tooltalk_pattern_description * ui-gtk.c: emacs_ffi_description - emacs_gtk_object_description + emacs_gtk_object_description * events.c: * events.h: @@ -9243,7 +14129,7 @@ * device-impl.h (struct device): added enum console_variant devtype * objects.c: image_instance_description - font_instance_description + font_instance_description (Fmake_color_instance): added variant initialization (Fmake_font_instance): added variant initialization * objects-impl.h (struct Lisp_Color_Instance): added color_instance_type @@ -9479,7 +14365,7 @@ Jens Müller <jmueller@informatik.uni-tuebingen.de> Mike Sperber <mike@xemacs.org> - * lrecord.h (lrecord_type): add lrecord_type_ephemeron + * lrecord.h (lrecord_type): add lrecord_type_ephemeron to lrecord_type enumeration. * lisp.h (XEPHEMERON): @@ -9493,25 +14379,25 @@ (EPHEMERONP): (CHECK_EPHEMERON): (CONCHECK_EPHEMERON): - (struct ephemeron): Add representation of ephemerons. - - * alloc.c (garbage_collect_1): - (finish_marking_ephemerons): - (prune_ephemerons): Call. - - * data.c: - (finish_marking_ephemerons): - (prune_ephemerons): - (mark_ephemeron): - (print_ephemeron): - (ephemeron_equal) - (ephemeron_hash):: - (make_ephemeron): - (Fmake_ephemeron): - (Fephemeronp): - (Fephemeron_ref): - (syms_of_data): - (vars_of_data): Add implementation of ephemerons + (struct ephemeron): Add representation of ephemerons. + + * alloc.c (garbage_collect_1): + (finish_marking_ephemerons): + (prune_ephemerons): Call. + + * data.c: + (finish_marking_ephemerons): + (prune_ephemerons): + (mark_ephemeron): + (print_ephemeron): + (ephemeron_equal) + (ephemeron_hash):: + (make_ephemeron): + (Fmake_ephemeron): + (Fephemeronp): + (Fephemeron_ref): + (syms_of_data): + (vars_of_data): Add implementation of ephemerons 2002-06-28 Steve Youngs <youngs@xemacs.org> @@ -11051,7 +15937,7 @@ 2002-05-28 Ben Wing <ben@xemacs.org> ================================================================ - ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES + ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES ================================================================ Standard output and standard error can be processed separately in @@ -11059,13 +15945,13 @@ and its filter function. You can specify a separate buffer for stderr in `start-process' to get things started, or use the new primitives: - set-process-stderr-buffer - process-stderr-buffer + set-process-stderr-buffer + process-stderr-buffer process-stderr-mark - set-process-stderr-filter + set-process-stderr-filter process-stderr-filter - Also, process-send-region takes a 4th optional arg, a buffer. + Also, process-send-region takes a 4th optional arg, a buffer. Currently always uses a pipe() under Unix to read the error output. (#### Would a PTY be better?) @@ -11186,14 +16072,14 @@ * gpmevent.c (Fgpm_enable): * tooltalk.c: * tooltalk.c (init_tooltalk): - set_process_filter takes an argument for stderr. + set_process_filter takes an argument for stderr. ================================================================ - NEW ERROR-TRAPPING MECHANISM + NEW ERROR-TRAPPING MECHANISM ================================================================ - Totally rewrite error trapping code to be unified and support more - features. Basic function is call_trapping_problems(), which lets + Totally rewrite error trapping code to be unified and support more + features. Basic function is call_trapping_problems(), which lets you specify, by means of flags, what sorts of problems you want trapped. these can include @@ -11245,7 +16131,7 @@ internal_catch takes another arg. * eval.c: - Add long comments describing the "five lists" used to maintain + Add long comments describing the "five lists" used to maintain state (backtrace, gcpro, specbind, etc.) in the Lisp engine. * backtrace.h: @@ -11360,12 +16246,12 @@ * glyphs-widget.c (widget_query_geometry): * glyphs-widget.c (layout_query_geometry): * redisplay.h: - Protect calling Lisp in redisplay. + Protect calling Lisp in redisplay. * insdel.c (signal_first_change): * insdel.c (signal_before_change): * insdel.c (signal_after_change): - Protect hooks against deleting existing buffers. + Protect hooks against deleting existing buffers. * frame-msw.c (mswindows_init_frame_1): Use EQ, not EQUAL in hash tables whose keys are just numbers. @@ -11373,7 +16259,7 @@ internal_equal() can QUIT. ================================================================ - SIGNAL, C-G CHANGES + SIGNAL, C-G CHANGES ================================================================ Here we change the way that C-g interacts with event reading. The @@ -11385,7 +16271,7 @@ involving enqueue/dequeue of a C-g and interaction with Vquit_flag -- and it didn't work. - Now, we simply enclose all code where we want C-g read as an event + Now, we simply enclose all code where we want C-g read as an event with {begin/end}_dont_check_for_quit(). This completely turns off the mechanism that checks (and may remove or alter) C-g in the read-ahead queues, so we just get the C-g normal. @@ -11393,8 +16279,8 @@ Signal.c documents this very carefully. * cmdloop.c (Fcommand_loop_1): - Correct use of dont_check_for_quit to new scheme, remove old - out-of-date comments. + Correct use of dont_check_for_quit to new scheme, remove old + out-of-date comments. * event-stream.c (maybe_echo_keys): * event-stream.c (enqueue_command_event_1): @@ -11423,20 +16309,20 @@ * signal.c (check_what_happened): * signal.c (begin_dont_check_for_quit): * signal.c (check_quit): - Cleanup. Add large descriptive comment. + Cleanup. Add large descriptive comment. * process-unix.c (unix_open_network_stream): * process-unix.c (unix_open_multicast_group): * process-nt.c (nt_open_network_stream): * sysdep.c (retry_read_1): * sysdep.c (retry_write_1): - Use QUIT instead of REALLY_QUIT. - It's not necessary to use REALLY_QUIT and just confuses the issue. + Use QUIT instead of REALLY_QUIT. + It's not necessary to use REALLY_QUIT and just confuses the issue. * lisp.h (INTERNAL_QUITP): Comment quit handlers. ================================================================ - CONS CHANGES + CONS CHANGES ================================================================ free_cons() now takes a Lisp_Object not the result of XCONS(). @@ -11468,18 +16354,18 @@ * lread.c (various): * lisp.h (struct Lisp_Cons): * lisp.h (cons_car): - Correct free_cons calling convention: now takes Lisp_Object, - not Lisp_Cons + Correct free_cons calling convention: now takes Lisp_Object, + not Lisp_Cons * chartab.c (word_boundary_p): - Eliminate direct use of ->car, ->cdr, should be black box. + Eliminate direct use of ->car, ->cdr, should be black box. * callint.c (quotify_args): - Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons. + Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons. ================================================================ - USE INTERNAL-BIND-* + USE INTERNAL-BIND-* ================================================================ * eval.c (restore_lisp_object): @@ -11515,17 +16401,17 @@ * redisplay.c (redisplay_without_hooks): * menubar-x.c (pre_activate_callback): * macros.c (Fexecute_kbd_macro): - Rewrote to use internal_bind_int() and internal_bind_lisp_object() + Rewrote to use internal_bind_int() and internal_bind_lisp_object() in place of whatever varied and cumbersome mechanisms were formerly there. ================================================================ - SPECBIND SANITY + SPECBIND SANITY ================================================================ * backtrace.h: - - Improved comments + - Improved comments * backtrace.h (SPECBIND): * backtrace.h (SPECBIND_FAST_UNSAFE): @@ -11539,12 +16425,12 @@ * eval.c (record_unwind_protect): * eval.c (unbind_to_1): * eval.c (unbind_to_hairy): - Add new mechanism check_specbind_stack_sanity() for sanity + Add new mechanism check_specbind_stack_sanity() for sanity checking code each time the catchlist or specbind stack change. Removed older prototype of same mechanism. ================================================================ - MISC + MISC ================================================================ * lisp.h: @@ -11560,13 +16446,13 @@ * print.c (debug_print_no_newline): * print.c (debug_backtrace): - Be more careful when not initialized or in fatal error handling. + Be more careful when not initialized or in fatal error handling. * search.c (looking_at_1): * search.c (string_match_1): * search.c (search_buffer): * search.c (Fstore_match_data): - Eliminate running_asynch_code, an FSF holdover. + Eliminate running_asynch_code, an FSF holdover. * alloc.c (vars_of_alloc): * alloc.c: @@ -11582,7 +16468,7 @@ * lisp-disunion.h: * lisp-union.h: - Added warnings on use of VOID_TO_LISP(). + Added warnings on use of VOID_TO_LISP(). * lisp.h: Use ERROR_CHECK_STRUCTURES to turn on @@ -11598,7 +16484,7 @@ but it required manual twiddling the gcpro structure.) * lisp.h: - Add prototypes for new functions defined elsewhere. + Add prototypes for new functions defined elsewhere. 2002-05-23 Ben Wing <ben@xemacs.org> @@ -11870,10 +16756,10 @@ 2002-04-23 Jerry James <james@xemacs.org> * select.c (Fown_selection_internal): Document connection with - interprogram-cut-function. + interprogram-cut-function. * select.c (Fget_selection_internal): return Qnil if XEmacs owns - the selection and it does not need coercion. - Document connection with interprogram-paste-function. + the selection and it does not need coercion. + Document connection with interprogram-paste-function. 2002-05-06 Jonathan Harris <jonathan@xemacs.org> @@ -12732,7 +17618,7 @@ 2002-04-30 Charles G. Waldman <cgw@xemacs.org> - * sysdep.c (sys_siglist): change "signum" to "signal" + * sysdep.c (sys_siglist): change "signum" to "signal" 2001-04-21 Martin Buchholz <martin@xemacs.org> @@ -12743,7 +17629,7 @@ * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x which use lib64 for 64-bit libs. - (START_FILES): Likewise. + (START_FILES): Likewise. 2002-02-11 Mike Sperber <mike@xemacs.org> @@ -12850,7 +17736,7 @@ 2002-04-30 Charles G. Waldman <cgw@xemacs.org> - * sysdep.c (sys_siglist): change "signum" to "signal" + * sysdep.c (sys_siglist): change "signum" to "signal" 2002-04-24 Andy Piper <andy@xemacs.org> @@ -14606,61 +19492,61 @@ 2002-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org> - * unicode.c (add_charsets_to_precedence_list): Fix passing wrong - argument to XCHARSET_LEADING_BYTE. + * unicode.c (add_charsets_to_precedence_list): Fix passing wrong + argument to XCHARSET_LEADING_BYTE. 2002-03-15 Jonathan Harris <jhar@tardis.ed.ac.uk> - * intl-encap-win32.c (copy_shfileinfoa_to_shfileinfow): - Take size parameter and assert it's big enough. - * intl-encap-win32.c (qxeSHGetFileInfo): - Deal with the case where no fileinfo structure is passed in. + * intl-encap-win32.c (copy_shfileinfoa_to_shfileinfow): + Take size parameter and assert it's big enough. + * intl-encap-win32.c (qxeSHGetFileInfo): + Deal with the case where no fileinfo structure is passed in. 2002-03-14 Jonathan Harris <jhar@tardis.ed.ac.uk> - * intl-encap-win32.c: Remove EncryptFile, DecryptFile & - mciGetDeviceIDFromElementID - APIs are not available on Win98 - * intl-auto-encap-win32.c: ditto - * intl-auto-encap-win32.h: ditto - * intl-encap-win32.c: Remove 'dir' command. + * intl-encap-win32.c: Remove EncryptFile, DecryptFile & + mciGetDeviceIDFromElementID - APIs are not available on Win98 + * intl-auto-encap-win32.c: ditto + * intl-auto-encap-win32.h: ditto + * intl-encap-win32.c: Remove 'dir' command. 2002-03-13 William M. Perry <wmperry@gnu.org> - * ui-gtk.c (__allocate_object_storage): Make static to avoid - warnings. - (type_to_marshaller_type): Ditto. - - * symsinit.h: Added some missing *_gtk_* functions to avoid - warnings. - - * select-gtk.c: Add extern definitions of lisp_to_time and - time_to_lisp to avoid warnings. - - * redisplay-gtk.c (gtk_flash): reorder select/poll stuff to avoid - warning about 'poll' being implicitly defined. Mirrors change - made to redisplay-x.c some time ago. - (gtk_bevel_area): Fix unused variable warning. - - * gtk-xemacs.c (smash_face_fallbacks): ifdef this out to avoid - warnings. - - * glyphs-gtk.c (write_lisp_string_to_temp_file): Fix 'grpro3' - typo. - (gtk_locate_pixmap_file): Use split_external_path instead of - decode_path. - - * gccache-gtk.c (gc_cache_hash): Fix signed/unsigned warning. - - * event-gtk.c: event-mods.h no longer needed. event-gtk.h is. - - * emacs-marshals.c (our_string_hash): Make this function static to - avoid warnings. - - * device-gtk.c (gtk_event_name): Fix signed/unsigned warning. - - * event-gtk.h: New header file to hold declarations from - event-gtk.c that are used in other files. The quest to remove - compilation warnings from GTK files begins. + * ui-gtk.c (__allocate_object_storage): Make static to avoid + warnings. + (type_to_marshaller_type): Ditto. + + * symsinit.h: Added some missing *_gtk_* functions to avoid + warnings. + + * select-gtk.c: Add extern definitions of lisp_to_time and + time_to_lisp to avoid warnings. + + * redisplay-gtk.c (gtk_flash): reorder select/poll stuff to avoid + warning about 'poll' being implicitly defined. Mirrors change + made to redisplay-x.c some time ago. + (gtk_bevel_area): Fix unused variable warning. + + * gtk-xemacs.c (smash_face_fallbacks): ifdef this out to avoid + warnings. + + * glyphs-gtk.c (write_lisp_string_to_temp_file): Fix 'grpro3' + typo. + (gtk_locate_pixmap_file): Use split_external_path instead of + decode_path. + + * gccache-gtk.c (gc_cache_hash): Fix signed/unsigned warning. + + * event-gtk.c: event-mods.h no longer needed. event-gtk.h is. + + * emacs-marshals.c (our_string_hash): Make this function static to + avoid warnings. + + * device-gtk.c (gtk_event_name): Fix signed/unsigned warning. + + * event-gtk.h: New header file to hold declarations from + event-gtk.c that are used in other files. The quest to remove + compilation warnings from GTK files begins. 2002-03-15 Ben Wing <ben@xemacs.org> @@ -14698,7 +19584,8 @@ 2002-03-12 Ben Wing <ben@xemacs.org> - * The Great Mule Merge: placeholder. + * The Great Mule Merge of March 2002: + see node by that name in the Internals Manual. 2002-01-31 John H. Palmieri <palmieri@math.washington.edu> @@ -16695,7 +21582,7 @@ 2001-06-17 Ben Wing <ben@xemacs.org> --------------------------------------------------------------- - DOCUMENTATION FIXES: + DOCUMENTATION FIXES: --------------------------------------------------------------- * eval.c (Ffunction_min_args): @@ -16705,7 +21592,7 @@ * elhash.c (Fremhash): Doc correction. --------------------------------------------------------------- - LISP OBJECT CLEANUP: + LISP OBJECT CLEANUP: --------------------------------------------------------------- * bytecode.h (wrap_compiled_function): @@ -16859,7 +21746,7 @@ Use internal_object_printer, since this object should not escape. --------------------------------------------------------------- - FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR): + FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR): --------------------------------------------------------------- * eval.c (unwind_to_catch): @@ -16969,7 +21856,7 @@ Update comments about correct marking. --------------------------------------------------------------- - ISSUES BROUGHT UP BY MARTIN: + ISSUES BROUGHT UP BY MARTIN: --------------------------------------------------------------- * buffer.h (DFC_C_STRING_ALLOCA_USE_CONVERTED_DATA): @@ -18893,24 +23780,24 @@ 2001-05-12 Craig Lanning <CraigL@Knology.net> - * s\mingw32.h: - Properly find MinGW's <process.h> inside Cygwin's restructured - include directories. Don't try to include <cygwin/version.h> - since we are dropping support for MinGW in versions of Cygwin - earlier than b21. + * s\mingw32.h: + Properly find MinGW's <process.h> inside Cygwin's restructured + include directories. Don't try to include <cygwin/version.h> + since we are dropping support for MinGW in versions of Cygwin + earlier than b21. 2001-05-12 Craig Lanning <CraigL@Knology.net> - * nt.c: - Drop support for MinGW in versions of Cygwin before b21. - * sysdep.c: - Properly find MinGW's <process.h> inside Cygwin's restructured - include directories. - * syswindows.h: - Drop support for MinGW in versions of Cygwin before b21. - * unexcw.c: - Even though a.out.h is no longer detected by configure, allow - MinGW to use it until we figure out how to do the job with Win32. + * nt.c: + Drop support for MinGW in versions of Cygwin before b21. + * sysdep.c: + Properly find MinGW's <process.h> inside Cygwin's restructured + include directories. + * syswindows.h: + Drop support for MinGW in versions of Cygwin before b21. + * unexcw.c: + Even though a.out.h is no longer detected by configure, allow + MinGW to use it until we figure out how to do the job with Win32. 2001-05-19 Ben Wing <ben@xemacs.org> @@ -22586,7 +27473,7 @@ * fns.c: Include <sys/loadavg.h> if available. Don't declare our own getloadavg() if HAVE_GETLOADAVG. - * config.h.in: Group together getloadavg()-related macros. + * config.h.in: Group together getloadavg()-related macros. Use only configure-time tests to detect getloadavg(). 2000-07-30 Martin Buchholz <martin@xemacs.org> @@ -22809,12 +27696,12 @@ 2000-07-15 Ben Wing <ben@xemacs.org> - * s/cygwin32.h: - * s/cygwin32.h (CYGWIN_CONV_PATH): - Add missing logb prototype for v1.1. - Use post-b20 names and alias to pre-b20 names when pre-b20. - - * s/windowsnt.h: [5]. + * s/cygwin32.h: + * s/cygwin32.h (CYGWIN_CONV_PATH): + Add missing logb prototype for v1.1. + Use post-b20 names and alias to pre-b20 names when pre-b20. + + * s/windowsnt.h: [5]. 2000-07-15 Ben Wing <ben@xemacs.org> @@ -22823,18 +27710,18 @@ * Makefile.in.in (objs): added win32.o, cosmetic cleanups. - * alloc.c (Fmake_byte_code): - [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, - etc. macros which declare their own args now. - - * alloc.c (syms_of_alloc): - [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends. - - * buffer.c: - Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. - - * buffer.c (Fget_file_buffer): - Fixed GCPRO problem. + * alloc.c (Fmake_byte_code): + [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, + etc. macros which declare their own args now. + + * alloc.c (syms_of_alloc): + [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends. + + * buffer.c: + Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. + + * buffer.c (Fget_file_buffer): + Fixed GCPRO problem. * glyphs-msw.c (bmp_normalize): (mswindows_resource_normalize): add dest_mask so that it can be @@ -23144,446 +28031,446 @@ * events.c (Fevent_modifier_bits): Doc fix. - * buffer.c (get_truename_buffer): Fixed comment about GC + * buffer.c (get_truename_buffer): Fixed comment about GC checking. * events.c (Fevent_modifiers): Major doc addition. * events.c (event_x_y_pixel_internal): Typo fix. * events.c (syms_of_events): Declare new primitives. - * buffer.c (syms_of_buffer): - Undeclared those dedicated frame funs. - [2]. - - * buffer.h: - Define convenience macros for internal/external conversions. + * buffer.c (syms_of_buffer): + Undeclared those dedicated frame funs. + [2]. + + * buffer.h: + Define convenience macros for internal/external conversions. [[[3]]]: Define codesys aliases Qcommand_argument_encoding - and Qenvironment_variable_encoding for cleaner code. - - * bufslots.h: - Remove dedicated-frame; in lisp. - - * bytecode.c (funcall_compiled_function): - [1]. - - * bytecode.c (syms_of_bytecode): - [2]. - - * console-msw.c: - * console-msw.c (mswindows_show_console): Rewrote. - - * console-msw.c (Fmswindows_debugging_output): New. - Sends to OutputDebugString (special MSWin debugger interface). - - * console-msw.c (Fmswindows_message_box): - Fixed stupid bugs so it works when called from kill-emacs. - - * console-msw.c (syms_of_console_mswindows): - Declare Fmswindows_debugging_output. - - * console-msw.h: - New MSWin prototypes. - - * console-msw.h (struct mswindows_frame): - New entry last-click-mods for improved button-modifier support. - - * console-msw.h (FRAME_MSWINDOWS_POPUP): - New struct entry `popup' with corresponding accessor. - - * console-x.c: - * console-x.c (split_up_display_spec): - * console-x.c (get_display_arg_connection): - * console-x.c (x_semi_canonicalize_console_connection): - * console-x.c (x_canonicalize_device_connection): - [[[6]]]: Change char to more specific type. - [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4]; - - * console-x.c (x_semi_canonicalize_console_connection): - * console-x.c (x_canonicalize_device_connection): - [[[9]]]: Fix up error signalling to use new structured error system. - - * console-x.h: - [[[4]]]: Define codesys aliases: - Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding, - Qx_color_name_encoding, Qx_display_name_encoding. - - * console.h (struct console_methods): - New method make_dialog_box_internal supersedes older - popup_dialog_box method. - - * data.c: - Define many new errors, part of new structured errors. - - * data.c (init_errors_once_early): - * data.c (syms_of_data): - [2]. - - * device-msw.c (mswindows_init_device): - [[[5]]]: Cleanup to support NT 3.51. - - * device-msw.c (decode_devmode): Cleanup. - - * device-msw.c (mswindows_handle_print_setup_dialog_box): - * device-msw.c (mswindows_handle_print_dialog_box): - * device-msw.c (mswindows_handle_page_setup_dialog_box): - * device-msw.c (syms_of_device_mswindows): - Delete the dialog box primitives recently introduced by Kirill and + and Qenvironment_variable_encoding for cleaner code. + + * bufslots.h: + Remove dedicated-frame; in lisp. + + * bytecode.c (funcall_compiled_function): + [1]. + + * bytecode.c (syms_of_bytecode): + [2]. + + * console-msw.c: + * console-msw.c (mswindows_show_console): Rewrote. + + * console-msw.c (Fmswindows_debugging_output): New. + Sends to OutputDebugString (special MSWin debugger interface). + + * console-msw.c (Fmswindows_message_box): + Fixed stupid bugs so it works when called from kill-emacs. + + * console-msw.c (syms_of_console_mswindows): + Declare Fmswindows_debugging_output. + + * console-msw.h: + New MSWin prototypes. + + * console-msw.h (struct mswindows_frame): + New entry last-click-mods for improved button-modifier support. + + * console-msw.h (FRAME_MSWINDOWS_POPUP): + New struct entry `popup' with corresponding accessor. + + * console-x.c: + * console-x.c (split_up_display_spec): + * console-x.c (get_display_arg_connection): + * console-x.c (x_semi_canonicalize_console_connection): + * console-x.c (x_canonicalize_device_connection): + [[[6]]]: Change char to more specific type. + [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4]; + + * console-x.c (x_semi_canonicalize_console_connection): + * console-x.c (x_canonicalize_device_connection): + [[[9]]]: Fix up error signalling to use new structured error system. + + * console-x.h: + [[[4]]]: Define codesys aliases: + Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding, + Qx_color_name_encoding, Qx_display_name_encoding. + + * console.h (struct console_methods): + New method make_dialog_box_internal supersedes older + popup_dialog_box method. + + * data.c: + Define many new errors, part of new structured errors. + + * data.c (init_errors_once_early): + * data.c (syms_of_data): + [2]. + + * device-msw.c (mswindows_init_device): + [[[5]]]: Cleanup to support NT 3.51. + + * device-msw.c (decode_devmode): Cleanup. + + * device-msw.c (mswindows_handle_print_setup_dialog_box): + * device-msw.c (mswindows_handle_print_dialog_box): + * device-msw.c (mswindows_handle_page_setup_dialog_box): + * device-msw.c (syms_of_device_mswindows): + Delete the dialog box primitives recently introduced by Kirill and instead interface to general dialog box interface. - * device-x.c: - * device-x.c (compute_x_app_name): - * device-x.c (x_init_device): - * device-x.c (Fx_valid_keysym_name_p): - * device-x.c (Fx_set_font_path): - [6]. - [7]. - - First of its kind; meant to replace XSETDEVICE. - - * dialog-msw.c: Many file-dialog symbols. - - * dialog-msw.c (mswindows_register_popup_frame): New. - * dialog-msw.c (mswindows_is_dialog_msg): New. - For supporting kbd traversal in dialog boxes. - - * dialog-msw.c (dialog_proc): - Support hitting ESC in dialogs. - - * dialog-msw.c (struct): - Common dialog box errors. - - * dialog-msw.c (handle_file_dialog_box): New. - Add file dialog code. - - * dialog-msw.c (handle_question_dialog_box): - Redo existing code to support new question dialog syntax. - - * dialog-msw.c (console_type_create_dialog_mswindows): - We support new dialog console method. - - * dialog-msw.c (syms_of_dialog_mswindows): - * dialog-msw.c (vars_of_dialog_mswindows): - New file dialog symbols, vars. - - * dialog-x.c: - * dialog-x.c (maybe_run_dbox_text_callback): - * dialog-x.c (dbox_descriptor_to_widget_value): - * dialog-x.c (x_make_dialog_box_internal): - * dialog-x.c (console_type_create_dialog_x): - Mule-ize entire file. - Redo to support question dialog syntax. - [6]. - - * dialog.c: - * dialog.c (Fmake_dialog_box_internal): - * dialog.c (syms_of_dialog): - Kill old popup-dialog-box, replace with new primitive. - Just call device method or signal error. - - * eldap.c (Fldap_open): - * eldap.c (Fldap_search_basic): - * eldap.c (Fldap_add): - * eldap.c (Fldap_modify): - [1]. - [7]. - - * emacs.c: - * emacs.c (make_arg_list_1): - * emacs.c (make_arg_list): - Mule-ize call to dll_init(). - [6]. - [8]. - - * emacs.c (make_argc_argv): - * emacs.c (free_argc_argv): - * emacs.c (init_cmdargs): - * emacs.c (main_1): - * emacs.c (Fkill_emacs): - * emacs.c (Fdump_emacs): - Update comments about what can be used in syms_* etc. - Call init_win32() when necessary. - Fix up MS Win dialog box in kill-buffer to actually work right. - [7]. - - * eval.c: - * eval.c (For): - * eval.c (Fand): - * eval.c (Fprogn): - * eval.c (Fprog1): - * eval.c (Fprog2): - * eval.c (FletX): - * eval.c (Flet): - * eval.c (condition_case_3): - * eval.c (Feval): - * eval.c (function_argcount): - * eval.c (funcall_lambda): - [1]. - - * eval.c (type_error): New. - * eval.c (maybe_type_error): New. - * eval.c (continuable_type_error): New. - * eval.c (maybe_continuable_type_error): New. - * eval.c (type_error_with_frob): New. - * eval.c (maybe_type_error_with_frob): New. - * eval.c (continuable_type_error_with_frob): New. - * eval.c (maybe_continuable_type_error_with_frob): New. - New functions for use with structured errors. - - * event-Xt.c: - * event-Xt.c (x_event_to_emacs_event): - Buttons are now modifiers too. - - * event-Xt.c (emacs_Xt_current_event_timestamp): - Implement new event method. - * event-Xt.c (reinit_vars_of_event_Xt): Set it. - - * event-msw.c: - * event-msw.c (ntpipe_shove_writer): [5]. - * event-msw.c (mswindows_enqueue_mouse_button_event): - * event-msw.c (mswindows_drain_windows_queue): - * event-msw.c (mswindows_wnd_proc): [7]. - * event-msw.c (mswindows_current_layout_has_AltGr): [5]. - * event-msw.c (mswindows_modifier_state): - Throughout: support new button modifiers. - - * event-msw.c (emacs_mswindows_current_event_timestamp): - Implement new event method. - * event-msw.c (reinit_vars_of_event_mswindows): Set it. - - * event-stream.c: - * event-stream.c (event_stream_current_event_timestamp): New. - * event-stream.c (maybe_kbd_translate): New functionality. - * event-stream.c (vars_of_event_stream): - Document new kbd-translate-table functionality. - - * event-stream.c (Fcurrent_event_timestamp): New. - New primitive for use in fabricated events. - * event-stream.c (syms_of_event_stream): [2]. Declare new primitive. - - * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers. - - * events.c: - * events.c (Fmake_event): - * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): - [1]. - [9]. - - * events.c (format_event_object): fix gcc warnings. - - * events.c (Fevent_timestamp): Document new primitives. - - * events.c (TIMESTAMP_HALFSPACE): New. - - * events.c (Fevent_timestamp_lessp): New. New primitive for + * device-x.c: + * device-x.c (compute_x_app_name): + * device-x.c (x_init_device): + * device-x.c (Fx_valid_keysym_name_p): + * device-x.c (Fx_set_font_path): + [6]. + [7]. + + First of its kind; meant to replace XSETDEVICE. + + * dialog-msw.c: Many file-dialog symbols. + + * dialog-msw.c (mswindows_register_popup_frame): New. + * dialog-msw.c (mswindows_is_dialog_msg): New. + For supporting kbd traversal in dialog boxes. + + * dialog-msw.c (dialog_proc): + Support hitting ESC in dialogs. + + * dialog-msw.c (struct): + Common dialog box errors. + + * dialog-msw.c (handle_file_dialog_box): New. + Add file dialog code. + + * dialog-msw.c (handle_question_dialog_box): + Redo existing code to support new question dialog syntax. + + * dialog-msw.c (console_type_create_dialog_mswindows): + We support new dialog console method. + + * dialog-msw.c (syms_of_dialog_mswindows): + * dialog-msw.c (vars_of_dialog_mswindows): + New file dialog symbols, vars. + + * dialog-x.c: + * dialog-x.c (maybe_run_dbox_text_callback): + * dialog-x.c (dbox_descriptor_to_widget_value): + * dialog-x.c (x_make_dialog_box_internal): + * dialog-x.c (console_type_create_dialog_x): + Mule-ize entire file. + Redo to support question dialog syntax. + [6]. + + * dialog.c: + * dialog.c (Fmake_dialog_box_internal): + * dialog.c (syms_of_dialog): + Kill old popup-dialog-box, replace with new primitive. + Just call device method or signal error. + + * eldap.c (Fldap_open): + * eldap.c (Fldap_search_basic): + * eldap.c (Fldap_add): + * eldap.c (Fldap_modify): + [1]. + [7]. + + * emacs.c: + * emacs.c (make_arg_list_1): + * emacs.c (make_arg_list): + Mule-ize call to dll_init(). + [6]. + [8]. + + * emacs.c (make_argc_argv): + * emacs.c (free_argc_argv): + * emacs.c (init_cmdargs): + * emacs.c (main_1): + * emacs.c (Fkill_emacs): + * emacs.c (Fdump_emacs): + Update comments about what can be used in syms_* etc. + Call init_win32() when necessary. + Fix up MS Win dialog box in kill-buffer to actually work right. + [7]. + + * eval.c: + * eval.c (For): + * eval.c (Fand): + * eval.c (Fprogn): + * eval.c (Fprog1): + * eval.c (Fprog2): + * eval.c (FletX): + * eval.c (Flet): + * eval.c (condition_case_3): + * eval.c (Feval): + * eval.c (function_argcount): + * eval.c (funcall_lambda): + [1]. + + * eval.c (type_error): New. + * eval.c (maybe_type_error): New. + * eval.c (continuable_type_error): New. + * eval.c (maybe_continuable_type_error): New. + * eval.c (type_error_with_frob): New. + * eval.c (maybe_type_error_with_frob): New. + * eval.c (continuable_type_error_with_frob): New. + * eval.c (maybe_continuable_type_error_with_frob): New. + New functions for use with structured errors. + + * event-Xt.c: + * event-Xt.c (x_event_to_emacs_event): + Buttons are now modifiers too. + + * event-Xt.c (emacs_Xt_current_event_timestamp): + Implement new event method. + * event-Xt.c (reinit_vars_of_event_Xt): Set it. + + * event-msw.c: + * event-msw.c (ntpipe_shove_writer): [5]. + * event-msw.c (mswindows_enqueue_mouse_button_event): + * event-msw.c (mswindows_drain_windows_queue): + * event-msw.c (mswindows_wnd_proc): [7]. + * event-msw.c (mswindows_current_layout_has_AltGr): [5]. + * event-msw.c (mswindows_modifier_state): + Throughout: support new button modifiers. + + * event-msw.c (emacs_mswindows_current_event_timestamp): + Implement new event method. + * event-msw.c (reinit_vars_of_event_mswindows): Set it. + + * event-stream.c: + * event-stream.c (event_stream_current_event_timestamp): New. + * event-stream.c (maybe_kbd_translate): New functionality. + * event-stream.c (vars_of_event_stream): + Document new kbd-translate-table functionality. + + * event-stream.c (Fcurrent_event_timestamp): New. + New primitive for use in fabricated events. + * event-stream.c (syms_of_event_stream): [2]. Declare new primitive. + + * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers. + + * events.c: + * events.c (Fmake_event): + * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): + [1]. + [9]. + + * events.c (format_event_object): fix gcc warnings. + + * events.c (Fevent_timestamp): Document new primitives. + + * events.c (TIMESTAMP_HALFSPACE): New. + + * events.c (Fevent_timestamp_lessp): New. New primitive for comparing timestamps correctly (half-space algorithm). - * events.c (Fevent_modifier_bits): Doc fix. - - * events.c (Fevent_modifiers): Major doc addition. - * events.c (event_x_y_pixel_internal): Typo fix. - * events.c (syms_of_events): Declare new primitives. - - * events.h: - Update long comment for button modifiers, timestamps. - - * events.h (struct event_stream): - New current_event_timestamp method. - - * extents.c: - * extents.c (extent_in_region_p): - * extents.c (decode_extent): - * extents.c (Fset_extent_parent): - * extents.c (decode_map_extents_flags): - Fix gcc warnings. - [9]. - - * extents.c (struct extent_at_arg): - * extents.c (decode_extent_at_flag): - * extents.c (extent_at_mapper): - * extents.c (extent_at_bytind): - * extents.c (Fextent_at): Adapt to new lower-level interface. [9]. - * extents.c (Fextents_at): New primitive. [9]. - * extents.c (symbol_to_glyph_layout): [9]. - Support new primitive `extents-at'. - - - * extents.c (get_text_property_bytind): - extent_at_bytind has another arg. - [9]. - - * extents.c (syms_of_extents): New primitive. - - * file-coding.c (Fmake_coding_system): [1]. - * file-coding.c (subsidiary_coding_system): fix gcc warning - * file-coding.c (syms_of_file_coding): [2]. - - * fileio.c (Fexpand_file_name): - * fileio.c (Fsysnetunam): - * fileio.c (Ffile_exists_p): - * fileio.c (Ffile_executable_p): - * fileio.c (Fverify_visited_file_modtime): - Clean up GCPROing. - - * fileio.c (syms_of_fileio): [2]. - - * filelock.c (lock_file_1): - * filelock.c (current_lock_owner): - * filelock.c (lock_if_free): - * filelock.c (lock_file): - * filelock.c (unlock_file): - Clean up GCPROing. - - * fns.c (concat): Fix gcc warning. - - * fns.c (Fmember): - * fns.c (Fold_member): - * fns.c (Fmemq): - * fns.c (Fold_memq): - * fns.c (memq_no_quit): - * fns.c (Fassoc): - * fns.c (Fold_assoc): - * fns.c (Fassq): - * fns.c (Fold_assq): - * fns.c (assq_no_quit): - * fns.c (Frassoc): - * fns.c (Fold_rassoc): - * fns.c (Frassq): - * fns.c (Fold_rassq): - * fns.c (rassq_no_quit): - * fns.c (Fdelete): - * fns.c (Fold_delete): - * fns.c (Fdelq): - * fns.c (Fold_delq): - * fns.c (delq_no_quit): - * fns.c (Fremassoc): - * fns.c (Fremassq): - * fns.c (remassq_no_quit): - * fns.c (Fremrassoc): - * fns.c (Fremrassq): - * fns.c (remrassq_no_quit): - * fns.c (Freverse): - * fns.c (mapcar1): - [1]. - - * frame-msw.c (mswindows_init_frame_1): - * frame-msw.c (mswindows_delete_frame): - Register popups with dialog code so keyboard traversing works. - - * frame-tty.c (tty_raise_frame_no_select): [1]. - - * frame-x.c: - * frame-x.c (x_set_frame_text_value): - * frame-x.c (x_set_frame_properties): - * frame-x.c (x_create_widgets): - [7]. - - * frame.c: - * frame.c (Fmouse_pixel_position): Minor doc fixes. - - Macro like wrap_device. - - * general.c: - * general.c (SYMBOL): - * general.c (syms_of_general): - Major reorg. This is now just a wrapper and symbols themselves - are listed in general-slots.h. - - * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning. - * glyphs-msw.c (mswindows_resource_instantiate): [5]. - - * glyphs-msw.c (mswindows_native_layout_instantiate): - Add DS_CONTROL so keyboard traversal will work. - - * glyphs-widget.c: - * glyphs-widget.c (syms_of_glyphs_widget): - Move some symbols to general-slots.h. - - * glyphs-x.c: - * glyphs-x.c (xbm_instantiate_1): - * glyphs-x.c (x_xbm_instantiate): - * glyphs-x.c (x_xface_instantiate): - * glyphs-x.c (autodetect_instantiate): - * glyphs-x.c (cursor_font_instantiate): - * glyphs-x.c (x_update_widget): - * glyphs-x.c (x_widget_instantiate): - * glyphs.c (bitmap_to_lisp_data): - * glyphs.c (pixmap_to_lisp_data): - [7]. - - * glyphs.c (syms_of_glyphs): - [2]. - - * gui-x.c: - * gui-x.c (print_widget_value): - * gui-x.c (menu_separator_style_and_to_external): - * gui-x.c (add_accel_and_to_external): - * gui-x.c (button_item_to_widget_value): - * gui-x.c (gui_items_to_widget_values_1): - * gui-x.c (gui_items_to_widget_values): - * gui-x.c (syms_of_gui_x): - * gui-x.c (vars_of_gui_x): - Mule-ize entire file. Move menu-no-selection-hook to gui.c. - [9]. - - * gui-x.h: - Muleize, prototype changes matching gui-x.c. - - * gui.c: - * gui.c (separator_string_p): - * gui.c (gui_item_add_keyval_pair): - * gui.c (make_gui_item_from_keywords_internal): - * gui.c (signal_too_long_error): - * gui.c (parse_gui_item_tree_item): - * gui.c (syms_of_gui): - * gui.c (vars_of_gui): - * gui.h: - menu-no-selection-hook moved here (used by MSWin). - Move some symbols to general-slots.h. - [6]. - [9]. - - * insdel.c (get_buffer_pos_char): - * insdel.c (get_buffer_range_char): - Add GC comments. - - * keymap.c (keymap_lookup_directly): - * keymap.c (keymap_store): - * keymap.c (ensure_meta_prefix_char_keymapp): - * keymap.c (describe_map): - * keymap.h: - Support new button modifiers. - - * lisp-disunion.h (XSETOBJ): - Rename make_obj to wrap_object. - - * lisp-union.h: - * lisp-union.h (make_int): - * lisp-union.h (make_char): - Support wrap_object. - - * lisp.h: - * lisp.h (LIST_LOOP): - * lisp.h (EXTERNAL_LIST_LOOP): - * lisp.h (LIST_LOOP_2): - * lisp.h (EXTERNAL_LIST_LOOP_1): - * lisp.h (EXTERNAL_LIST_LOOP_2): - * lisp.h (EXTERNAL_LIST_LOOP_3): - * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE): - * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): - * lisp.h (GET_EXTERNAL_LIST_LENGTH): - * lisp.h (EXTERNAL_ALIST_LOOP_5): - * lisp.h (EXTERNAL_ALIST_LOOP_6): - * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE): - * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE): - * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7): - * lisp.h (struct Lisp_Symbol): - * lisp.h (maybe_continuable_error_with_frob): - Fix up section comments. - Add new types for char to indicate usage. - Delete symbols auto-generated from general-slots.h. - Add prototypes for structured error functions. - Add long comments describing looping macros and change interface - so that lvalues are automatically declared. + * events.c (Fevent_modifier_bits): Doc fix. + + * events.c (Fevent_modifiers): Major doc addition. + * events.c (event_x_y_pixel_internal): Typo fix. + * events.c (syms_of_events): Declare new primitives. + + * events.h: + Update long comment for button modifiers, timestamps. + + * events.h (struct event_stream): + New current_event_timestamp method. + + * extents.c: + * extents.c (extent_in_region_p): + * extents.c (decode_extent): + * extents.c (Fset_extent_parent): + * extents.c (decode_map_extents_flags): + Fix gcc warnings. + [9]. + + * extents.c (struct extent_at_arg): + * extents.c (decode_extent_at_flag): + * extents.c (extent_at_mapper): + * extents.c (extent_at_bytind): + * extents.c (Fextent_at): Adapt to new lower-level interface. [9]. + * extents.c (Fextents_at): New primitive. [9]. + * extents.c (symbol_to_glyph_layout): [9]. + Support new primitive `extents-at'. + + + * extents.c (get_text_property_bytind): + extent_at_bytind has another arg. + [9]. + + * extents.c (syms_of_extents): New primitive. + + * file-coding.c (Fmake_coding_system): [1]. + * file-coding.c (subsidiary_coding_system): fix gcc warning + * file-coding.c (syms_of_file_coding): [2]. + + * fileio.c (Fexpand_file_name): + * fileio.c (Fsysnetunam): + * fileio.c (Ffile_exists_p): + * fileio.c (Ffile_executable_p): + * fileio.c (Fverify_visited_file_modtime): + Clean up GCPROing. + + * fileio.c (syms_of_fileio): [2]. + + * filelock.c (lock_file_1): + * filelock.c (current_lock_owner): + * filelock.c (lock_if_free): + * filelock.c (lock_file): + * filelock.c (unlock_file): + Clean up GCPROing. + + * fns.c (concat): Fix gcc warning. + + * fns.c (Fmember): + * fns.c (Fold_member): + * fns.c (Fmemq): + * fns.c (Fold_memq): + * fns.c (memq_no_quit): + * fns.c (Fassoc): + * fns.c (Fold_assoc): + * fns.c (Fassq): + * fns.c (Fold_assq): + * fns.c (assq_no_quit): + * fns.c (Frassoc): + * fns.c (Fold_rassoc): + * fns.c (Frassq): + * fns.c (Fold_rassq): + * fns.c (rassq_no_quit): + * fns.c (Fdelete): + * fns.c (Fold_delete): + * fns.c (Fdelq): + * fns.c (Fold_delq): + * fns.c (delq_no_quit): + * fns.c (Fremassoc): + * fns.c (Fremassq): + * fns.c (remassq_no_quit): + * fns.c (Fremrassoc): + * fns.c (Fremrassq): + * fns.c (remrassq_no_quit): + * fns.c (Freverse): + * fns.c (mapcar1): + [1]. + + * frame-msw.c (mswindows_init_frame_1): + * frame-msw.c (mswindows_delete_frame): + Register popups with dialog code so keyboard traversing works. + + * frame-tty.c (tty_raise_frame_no_select): [1]. + + * frame-x.c: + * frame-x.c (x_set_frame_text_value): + * frame-x.c (x_set_frame_properties): + * frame-x.c (x_create_widgets): + [7]. + + * frame.c: + * frame.c (Fmouse_pixel_position): Minor doc fixes. + + Macro like wrap_device. + + * general.c: + * general.c (SYMBOL): + * general.c (syms_of_general): + Major reorg. This is now just a wrapper and symbols themselves + are listed in general-slots.h. + + * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning. + * glyphs-msw.c (mswindows_resource_instantiate): [5]. + + * glyphs-msw.c (mswindows_native_layout_instantiate): + Add DS_CONTROL so keyboard traversal will work. + + * glyphs-widget.c: + * glyphs-widget.c (syms_of_glyphs_widget): + Move some symbols to general-slots.h. + + * glyphs-x.c: + * glyphs-x.c (xbm_instantiate_1): + * glyphs-x.c (x_xbm_instantiate): + * glyphs-x.c (x_xface_instantiate): + * glyphs-x.c (autodetect_instantiate): + * glyphs-x.c (cursor_font_instantiate): + * glyphs-x.c (x_update_widget): + * glyphs-x.c (x_widget_instantiate): + * glyphs.c (bitmap_to_lisp_data): + * glyphs.c (pixmap_to_lisp_data): + [7]. + + * glyphs.c (syms_of_glyphs): + [2]. + + * gui-x.c: + * gui-x.c (print_widget_value): + * gui-x.c (menu_separator_style_and_to_external): + * gui-x.c (add_accel_and_to_external): + * gui-x.c (button_item_to_widget_value): + * gui-x.c (gui_items_to_widget_values_1): + * gui-x.c (gui_items_to_widget_values): + * gui-x.c (syms_of_gui_x): + * gui-x.c (vars_of_gui_x): + Mule-ize entire file. Move menu-no-selection-hook to gui.c. + [9]. + + * gui-x.h: + Muleize, prototype changes matching gui-x.c. + + * gui.c: + * gui.c (separator_string_p): + * gui.c (gui_item_add_keyval_pair): + * gui.c (make_gui_item_from_keywords_internal): + * gui.c (signal_too_long_error): + * gui.c (parse_gui_item_tree_item): + * gui.c (syms_of_gui): + * gui.c (vars_of_gui): + * gui.h: + menu-no-selection-hook moved here (used by MSWin). + Move some symbols to general-slots.h. + [6]. + [9]. + + * insdel.c (get_buffer_pos_char): + * insdel.c (get_buffer_range_char): + Add GC comments. + + * keymap.c (keymap_lookup_directly): + * keymap.c (keymap_store): + * keymap.c (ensure_meta_prefix_char_keymapp): + * keymap.c (describe_map): + * keymap.h: + Support new button modifiers. + + * lisp-disunion.h (XSETOBJ): + Rename make_obj to wrap_object. + + * lisp-union.h: + * lisp-union.h (make_int): + * lisp-union.h (make_char): + Support wrap_object. + + * lisp.h: + * lisp.h (LIST_LOOP): + * lisp.h (EXTERNAL_LIST_LOOP): + * lisp.h (LIST_LOOP_2): + * lisp.h (EXTERNAL_LIST_LOOP_1): + * lisp.h (EXTERNAL_LIST_LOOP_2): + * lisp.h (EXTERNAL_LIST_LOOP_3): + * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE): + * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): + * lisp.h (GET_EXTERNAL_LIST_LENGTH): + * lisp.h (EXTERNAL_ALIST_LOOP_5): + * lisp.h (EXTERNAL_ALIST_LOOP_6): + * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE): + * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE): + * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7): + * lisp.h (struct Lisp_Symbol): + * lisp.h (maybe_continuable_error_with_frob): + Fix up section comments. + Add new types for char to indicate usage. + Delete symbols auto-generated from general-slots.h. + Add prototypes for structured error functions. + Add long comments describing looping macros and change interface + so that lvalues are automatically declared. * events.h: Update long comment for button modifiers, timestamps. @@ -26761,7 +31648,7 @@ * alloc.c (pdump_reloc_one): Minor cleanups. - * console-msw.c: + * console-msw.c: * console-msw.c (GetConsoleHwnd): * console-msw.c (msw_hide_console): * console-msw.c (msw_show_console): @@ -28788,14 +33675,14 @@ should be extended. Assumption that .bss section should be outside the PT_LOADable - segment. On IRIX with version 6.2 and above, .bss (or .sbss, if - it's present) is inside the 'data' segment. This would fail the - test which was used to find a segment to grow and cover new - heap. Instead of this assumption, I created another one - on IRIX - the segment to grow should start below .bss and it's address - should extent above the end of .bss. Once this segment is - identified, it's grown to accommodate the new heap and new - zero-length .bss section is added at the end of .data2. + segment. On IRIX with version 6.2 and above, .bss (or .sbss, if + it's present) is inside the 'data' segment. This would fail the + test which was used to find a segment to grow and cover new + heap. Instead of this assumption, I created another one - on IRIX + the segment to grow should start below .bss and it's address + should extent above the end of .bss. Once this segment is + identified, it's grown to accommodate the new heap and new + zero-length .bss section is added at the end of .data2. 2000-01-25 Martin Buchholz <martin@xemacs.org> @@ -29672,12 +34559,12 @@ * configure.in: * configure.usage: - Clean up Athena widget support: + Clean up Athena widget support: - Add `with-athena' to select a variant. - Remove all `athena3d' options. - Robust detection of Athena libraries and headers. - - Refuse to build with mismatched library and headers. - - Only build a 3d Athena if the user asks for it. + - Refuse to build with mismatched library and headers. + - Only build a 3d Athena if the user asks for it. 1999-12-21 Andy Piper <andy@xemacs.org> @@ -30123,27 +35010,27 @@ 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp> - * input-method-xlib.c: Added new lisp object Qxim_xlib. - New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str). - All the valid stderr_out were changed to those macros. - (IMDestroyCallback): Don't test the XIC if the frame is not X - frame. - (IMInstantiateCallback): Treat the client_data as "device" not - "frame" because the caller changed from frame to device. - Here initializes XIM and activates XICs for each frame which - doesn't have XIC. - (XIM_init_device): Register the XIM instantiation callback which - had been performed by XIM_init_frame() before. - (XIM_delete_frame): Added a test for the XIM before clearing XIC. - (XIM_init_frame): Placed an actual code for XIC activation which - was moved from IMInstantiateCallback. - (syms_of_input_method_xlib): New function which includes a symbol - Qxim_xlib that uses in emacs.c. - - * emacs.c: Added a function entry "syms_of_input_method_xlib" for - input_method_xlib. - - * symsinit.h: Added a declaration of "syms_of_input_method_xlib". + * input-method-xlib.c: Added new lisp object Qxim_xlib. + New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str). + All the valid stderr_out were changed to those macros. + (IMDestroyCallback): Don't test the XIC if the frame is not X + frame. + (IMInstantiateCallback): Treat the client_data as "device" not + "frame" because the caller changed from frame to device. + Here initializes XIM and activates XICs for each frame which + doesn't have XIC. + (XIM_init_device): Register the XIM instantiation callback which + had been performed by XIM_init_frame() before. + (XIM_delete_frame): Added a test for the XIM before clearing XIC. + (XIM_init_frame): Placed an actual code for XIC activation which + was moved from IMInstantiateCallback. + (syms_of_input_method_xlib): New function which includes a symbol + Qxim_xlib that uses in emacs.c. + + * emacs.c: Added a function entry "syms_of_input_method_xlib" for + input_method_xlib. + + * symsinit.h: Added a declaration of "syms_of_input_method_xlib". 1999-11-05 Robert Pluim <rpluim@bigfoot.com> @@ -30214,7 +35101,7 @@ * alloc.c (reinit_alloc_once_early): Move purify_flag init... * emacs.c (main_1): ...here, to get the correct value even with - the portable dumper. + the portable dumper. 1999-11-17 Martin Buchholz <martin@xemacs.org> @@ -30289,7 +35176,7 @@ 1999-10-30 Olivier Galibert <galibert@pobox.com> * alloc.c (pdump_dump_rtables): Don't forget to dump the last - registered type. + registered type. (pdump): Ditto. 1999-10-25 Olivier Galibert <galibert@pobox.com> @@ -30323,25 +35210,25 @@ * bufslots.h: Add defines with first and last slot names. * buffer.c (common_init_complex_vars_of_buffer): Renamed from - reinit_complex_vars_of_buffer + reinit_complex_vars_of_buffer (reinit_complex_vars_of_buffer): Reset the slots to the dumped - value. + value. (complex_vars_of_buffer): Dump the slots values. * console.c (common_init_complex_vars_of_console): Renamed from - reinit_complex_vars_of_console + reinit_complex_vars_of_console (reinit_complex_vars_of_console): Reset the slots to the dumped - value. + value. (complex_vars_of_console): Dump the slots values. * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to - pdump_rt_list and move them at the beginning of the file. + pdump_rt_list and move them at the beginning of the file. (gc_sweep): Unmark pdumped objects after the sweep phase. (pdump_dump_rtables): Change a bare 256 to - last_lrecord_type_index_assigned. Add a separator between the - adresses or lrecords and the ones of C structs in the dump file. + last_lrecord_type_index_assigned. Add a separator between the + adresses or lrecords and the ones of C structs in the dump file. (pdump_load): Cope with the new separator and the renamings. Stop - looking for the hash tables list after it has been found (duh!). + looking for the hash tables list after it has been found (duh!). 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at> @@ -30374,18 +35261,18 @@ 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch> - * unexelf.c (unexec): Only copy the global offset - table from memory on sgi machines. + * unexelf.c (unexec): Only copy the global offset + table from memory on sgi machines. 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org> - * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by - adding support for an sbss section. Get IRIX 5.2 to build using - unexelf.c. - - * m/iris4d.h: Use unexelf.o for unexec. - - * m/iris5d.h: Use unexelf.o for unexec. + * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by + adding support for an sbss section. Get IRIX 5.2 to build using + unexelf.c. + + * m/iris4d.h: Use unexelf.o for unexec. + + * m/iris5d.h: Use unexelf.o for unexec. 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch> @@ -30398,7 +35285,7 @@ 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com> * window.c (window_truncation_on): Always return 0 for minibuffer - windows, to enable auto scrolling. + windows, to enable auto scrolling. 1999-10-24 Neal Becker <nbecker@fred.net> * process.h: Unix98 PTY support @@ -30411,28 +35298,28 @@ 1999-08-19 Stephen Tse <stephent@sfu.ca> * process-unix.c (unix_open_network_stream): Add udp network - support; rename variable Qtcpip to Qtcp, parameter family to - protocol for consistency with Qudp. + support; rename variable Qtcpip to Qtcp, parameter family to + protocol for consistency with Qudp. * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to - Qtcp, parameter family to protocol for consistency with Qudp. + Qtcp, parameter family to protocol for consistency with Qudp. * process.c (global_variables): Add a new variable Qudp for udp - network support; rename variable Qtcpip to Qtcp for consistency - with Qudp. + network support; rename variable Qtcpip to Qtcp for consistency + with Qudp. (Fopen_network_stream_internal): Rename parameter FAMILY to - PROTOCOL for consistency; fix a minor typo and add an explanation - in docstring for udp programming. + PROTOCOL for consistency; fix a minor typo and add an explanation + in docstring for udp programming. (Fopen_multicast_group_internal): Fix a minor typo in docstring. (syms_of_process): Add a new variable Qudp for udp network - support; rename variable Qtcpip to Qtcp for consistency with Qudp. + support; rename variable Qtcpip to Qtcp for consistency with Qudp. * process.h (extern_variables): Add a new variable Qudp for udp - network support; rename variable Qtcpip to Qtcp for consistency - with Qudp. + network support; rename variable Qtcpip to Qtcp for consistency + with Qudp. * procimpl.h: Add a new variable Qudp for udp network support; - rename variable Qtcpip to Qtcp for consistency with Qudp. + rename variable Qtcpip to Qtcp for consistency with Qudp. (struct process_methods): Rename parameter family to protocol. @@ -30451,29 +35338,29 @@ * alloc.c: Removed hash_next linked list pointer. * *.c *.h: Removed markobj and mark_object parameters, removed GC_ - and XGC macros. + and XGC macros. 1999-10-14 Andy Piper <andy@xemacs.org> * redisplay-x.c (x_output_shadows): fix dodgy maths for border - calculations. + calculations. * gutter.c (output_gutter): be more accurate about the area to be - cleared since X seems to manage to do the clear after drawing the - border. + cleared since X seems to manage to do the clear after drawing the + border. * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting - redisplay flags as a group. + redisplay flags as a group. (RESET_CHANGED_SET_FLAGS): ditto. (CLASS_RESET_CHANGED_FLAGS): ditto. (GLOBAL_RESET_CHANGED_FLAGS): ditto. (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags - as a group. + as a group. (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto. (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto. * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS - instead of setting flags individually. + instead of setting flags individually. (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP. (redisplay_device): ditto. (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS. @@ -30486,50 +35373,50 @@ (x_output_blank): ditto. * redisplay-output.c (redisplay_output_display_block): don't unmap - subwindows in case layout optimization can avoid it. + subwindows in case layout optimization can avoid it. (redisplay_output_subwindow): unmap subwindows in the area. (redisplay_output_layout): optimize the output of layouts - only - output glyphs that have changed if nothing else of redisplay - significance has occurred. + output glyphs that have changed if nothing else of redisplay + significance has occurred. (redisplay_output_pixmap): change args to - redisplay_clear_clipped_region. + redisplay_clear_clipped_region. (redisplay_clear_clipped_region): allow the clipped region to be - cleared of all subwindows except the one passed in. + cleared of all subwindows except the one passed in. * redisplay-msw.c (mswindows_output_blank): unmap subwindows in - the area. + the area. (mswindows_output_cursor): ditto. (mswindows_output_string): ditto. * gutter.c (calculate_gutter_size): if the window buffer is nil - then don't continue. + then don't continue. (update_frame_gutters): be more lenient about when we actually - update the gutter. Layout optimization makes this - non-costly. Cache redisplay flags that we want to temporarily - ignore. + update the gutter. Layout optimization makes this + non-costly. Cache redisplay flags that we want to temporarily + ignore. * glyphs.c (Fglyph_animated_timeout_handler): handle image - specific timeouts rather than iterating over the instance cache. + specific timeouts rather than iterating over the instance cache. (glyph_animated_timeout_mapper): deleted. (add_glyph_animated_timeout): use a weak list to hold onto the - image so that it can be GC'ed. + image so that it can be GC'ed. (disable_glyph_animated_timeout): disable a specific timeout. (vars_of_glyphs): disable-animated-pixmaps is a new boolean for - controlling whether pixmaps are animated or not. + controlling whether pixmaps are animated or not. * glyphs-msw.c (mswindows_finalize_image_instance): make sure the image timeout gets disabled when the image gets freed. * glyphs-eimage.c (gif_instantiate): remove meaningless - comment. Cope with timeouts specified in the gif extension block. + comment. Cope with timeouts specified in the gif extension block. * event-msw.c (vars_of_event_mswindows): new variable - mswindows-meta-activates-menu. + mswindows-meta-activates-menu. (mswindows_wnd_proc): only goto defproc with VK_MENU if the user - wants it. + wants it. * glyphs-x.c (x_finalize_image_instance): delete mask first so - that we can compare with image. + that we can compare with image. 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk> @@ -30597,29 +35484,29 @@ * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it. * glyphs.c: Add the ii_keyword_entry and related descriptions. - Fix the image_instantiator_methods one. + Fix the image_instantiator_methods one. * file-coding.c: Plonk all data that needs to be dumped in a - dynamically allocated structure. + dynamically allocated structure. * extents.c (reinit_vars_of_extents): Extracted from - vars_of_extents. + vars_of_extents. * event-stream.c (vars_of_event_stream): Don't staticpro when - pdump_wire is enough. + pdump_wire is enough. * event-msw.c (reinit_vars_of_event_mswindows): Extracted from - vars_of_event_mswindows. + vars_of_event_mswindows. * event-Xt.c (reinit_vars_of_event_Xt): Extracted from - vars_of_event_Xt. + vars_of_event_Xt. * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough. * emacs.c (main_1): Added some reinit calls. * device-x.c (reinit_console_type_create_device_x): Extracted from - console_type_create_device_x. + console_type_create_device_x. * console.h: Declare the console_type_entry_dynarr description. @@ -30632,48 +35519,48 @@ * symsinit.h: Updated declarations, see other ChangeLog entries. * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from - complex_vars_of_minibuf. + complex_vars_of_minibuf. * lrecord.h: Removed XD_PARENT_INDIRECT (unused and - unimplemented), added XD_LO_LINK. + unimplemented), added XD_LO_LINK. * lisp.h (pdump_wire_list): Add declaration. * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy. (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug. (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the - stupid bug fixed. + stupid bug fixed. * glyphs.c (reinit_image_instantiator_format_create): Remove. * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): - Remove. + Remove. * glyphs-widget.c - (reinit_image_instantiator_format_create_glyphs_widget): Remove. + (reinit_image_instantiator_format_create_glyphs_widget): Remove. * glyphs-msw.c - (reinit_image_instantiator_format_create_glyphs_mswindows): - Remove. + (reinit_image_instantiator_format_create_glyphs_mswindows): + Remove. * glyphs-eimage.c - (reinit_image_instantiator_format_create_glyphs_eimage): Remove. + (reinit_image_instantiator_format_create_glyphs_eimage): Remove. * frame.c (Fmake_frame): Don't reset the face cache when using the - stream device. + stream device. * file-coding.c: Dumped the_codesys_prop_dynarr and added all - relevant descriptions. + relevant descriptions. * events.c (reinit_vars_of_events): Extracted from vars_of_events. * eval.c: The subr is _not_ a lcrecord. * emacs.c (main_1): Call vars_of_specifier early before any - specifier creation (e.g in vars_of_glyphs, at least). Remove the - useless reinit_image_instantiator_format*. Add - reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add - calls to lstream_type_create* and process_type_create*. + specifier creation (e.g in vars_of_glyphs, at least). Remove the + useless reinit_image_instantiator_format*. Add + reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add + calls to lstream_type_create* and process_type_create*. * elhash.c: Dump Vall_weak_hash_tables correctly. @@ -30682,28 +35569,28 @@ * console.c: Fix description. * console-stream.c (init_console_stream): Do initializations - correctly in the pdump case. + correctly in the pdump case. * chartab.c: Fix description. Dump Vall_syntax_tables correctly. (Fcopy_char_table): Link into Vall_syntax_tables. * alloc.c (pdump_wire_list): Added. (Fgarbage_collect): Fix loop in stats couting missing the last - lrecord type. + lrecord type. (pdump_register_sub): Added XD_LO_LINK. (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the - counter. + counter. (pdump_reloc_one): Ditto. (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned - instead of 256. + instead of 256. (pdump_dump_wired): Added lists. (pdump): Use last_lrecord_type_index_assigned instead of 256. - Dump last_lrecord_type_index_assigned value. Fix minor bugs. + Dump last_lrecord_type_index_assigned value. Fix minor bugs. 1999-10-07 Andy Piper <andy@xemacs.org> * glyphs-msw.c (mswindows_finalize_image_instance): zero out - bitmap slices. + bitmap slices. * glyphs-x.c (x_finalize_image_instance): fix FMW problem. @@ -30718,37 +35605,37 @@ 1999-10-06 Andy Piper <andy@xemacs.org> * glyphs.c (Fset_image_instance_property): mark glyphs as dirty - after setting an image instance property. + after setting an image instance property. 1999-10-05 Andy Piper <andy@xemacs.org> * gutter.c (update_frame_gutters): output gutters if - windows_changed is set. This is the only way of catching changes - in selected window which obviously can affect the specifiers. + windows_changed is set. This is the only way of catching changes + in selected window which obviously can affect the specifiers. * redisplay.c: new state flags, subwindows_state_changed and - subwindows_state_changed set. + subwindows_state_changed set. (redisplay_window): use them. (redisplay_device): ditto. (redisplay_without_hooks): ditto. (redisplay_frame): ditto. Reset subwindow cachels if - subwindows_changed is set. + subwindows_changed is set. (redisplay_window): call mark_glyph_cachels_as_clean after - redisplaying. + redisplaying. * redisplay-x.c (x_output_x_pixmap): select correct - pixmap image for display depending on the currently selected - slice. + pixmap image for display depending on the currently selected + slice. * redisplay-output.c (compare_runes): check dirtiness when - checking RUNE_DGLYPH runes. + checking RUNE_DGLYPH runes. (compare_display_blocks): relax invalidation of display blocks - since we can now detect whether individual glyphs have changed or - not. + since we can now detect whether individual glyphs have changed or + not. * redisplay-msw.c (mswindows_output_dibitmap): select correct - bitmap image for display depending on the currently selected - slice. + bitmap image for display depending on the currently selected + slice. * glyphs.h (struct Lisp_Image_Instance): add a dirty flag. (IMAGE_INSTANCE_DIRTYP): new macro. @@ -30761,17 +35648,17 @@ (struct glyph_cachel): add a dirty flag. * glyphs.c (update_frame_subwindows): Don't update on - glyphs_changed. + glyphs_changed. (glyph_animated_timeout_mapper): new function. Map over the - instance cache lookinng for animated images to update. + instance cache lookinng for animated images to update. (Fglyph_animated_timeout_handler): new function. Lisp callback for - handling animated image timeout events. + handling animated image timeout events. (disable_glyph_animated_timeout): new function. Add the animated - image timeout. + image timeout. (disable_glyph_animated_timeout): new function. Remove the - animated image timeout. + animated image timeout. (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and - friends. + friends. (vars_of_glyphs): initialize Vglyph_animated_ticker. (image_instance_equal): add the currently displayed slice. (image_instance_hash): ditto. @@ -30779,16 +35666,16 @@ (glyph_width): rename glyph -> glyph_or_image. (glyph_height_internal): ditto. (glyph_dirty_p): new function. Determine whether the image - instance in the domain and/or glyph is dirty. + instance in the domain and/or glyph is dirty. (set_glyph_dirty_p): set the dirtiness. (update_glyph_cachel_data): take dirtiness into account. Pass the - image instance we are interested in to glyph_width and friends. + image instance we are interested in to glyph_width and friends. (get_glyph_cachel_index): make non-static. Always call - update_glyph_cachel_data. + update_glyph_cachel_data. (mark_glyph_cachels_as_not_updated): meaningless formatting - change. + change. (mark_glyph_cachels_as_clean): new function. Clean dirtiness from - glyph cachels. + glyph cachels. * glyphs-x.h (struct x_image_instance_data): change pixmap to a list of pixmaps. @@ -30798,93 +35685,93 @@ (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto. * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap - images get deleted properly. + images get deleted properly. (init_image_instance_from_x_image): add slices paramater and use - it to initialize x_image_instance_data correctly. + it to initialize x_image_instance_data correctly. (image_instance_add_x_image): new function. Add new pixmaps to our - set of instantiated pixmaps for an image. Used by animated images. + set of instantiated pixmaps for an image. Used by animated images. (x_init_image_instance_from_eimage): add a slices - parameter. Instantiate all images from the eimage. + parameter. Instantiate all images from the eimage. (x_xpm_instantiate): update use of - init_image_instance_from_x_image. + init_image_instance_from_x_image. (init_image_instance_from_xbm_inline): ditto. (x_initialize_pixmap_image_instance): add slices paramater and use - it to allocate x_image_instance_data correctly. + it to allocate x_image_instance_data correctly. * glyphs-msw.h (struct mswindows_image_instance_data): change - bitmap to a list of bitmaps. + bitmap to a list of bitmaps. (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro. (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto. (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. * glyphs-msw.c (init_image_instance_from_dibitmap): add slices - paramater and use it to initialize mswindows_image_instance_data - correctly. + paramater and use it to initialize mswindows_image_instance_data + correctly. (image_instance_add_dibitmap): new function. Add new bitmaps to - our set of instantiated bitmaps for an image. Used by animated - images. + our set of instantiated bitmaps for an image. Used by animated + images. (mswindows_init_image_instance_from_eimage): add a slices - parameter. Instantiate all images from the eimage. + parameter. Instantiate all images from the eimage. (mswindows_xpm_instantiate): update use of - init_image_instance_from_dibitmap. + init_image_instance_from_dibitmap. (bmp_instantiate): ditto. (init_image_instance_from_xbm_inline): ditto. (mswindows_finalize_image_instance): make sure all the bitmap - slices get deleted. + slices get deleted. (mswindows_initialize_dibitmap_image_instance): add slices - paramater and use it to allocate mswindows_image_instance_data - correctly. + paramater and use it to allocate mswindows_image_instance_data + correctly. * glyphs-eimage.c (jpeg_instantiate): give extra paramter to - init_image_instance_from_eimage. + init_image_instance_from_eimage. (png_instantiate): ditto. (tiff_instantiate): ditto. (gif_instantiate): allocate bitmaps for all gif slices not just - the first one. + the first one. * device.h (struct device): add subwindows_state_changed flag. (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro. (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto. * console.h (struct console_methods): add a slice parameter to - init_image_instance_from_eimage_method. + init_image_instance_from_eimage_method. * redisplay.c (create_string_text_block): Allow buffer to be nil - without crashing. + without crashing. 1999-09-24 Andy Piper <andy@xemacs.org> * glyphs-x.c: only include gui-x.h if we are building with - widgets. + widgets. * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups. 1999-09-28 Lee Kindness <lkindness@csl.co.uk> * objects-x.c (allocate_nearest_color): will return 0 (failure) - when the colormap is full and the color it has computed to be the - 'nearest' has been allocated read/write. + when the colormap is full and the color it has computed to be the + 'nearest' has been allocated read/write. 1999-10-02 Olivier Galibert <galibert@pobox.com> * search.c (reinit_vars_of_search): Reinit the search cache - correctly. + correctly. * elhash.h: Make the description visible. Declare - resize_hash_table. + resize_hash_table. * elhash.c (resize_hash_table): Extracted from enlarge_hash_table - to generalize the hash table reorganization. + to generalize the hash table reorganization. (reorganize_hash_table): Added. (enlarge_hash_table): Uses resize_has_table. * casetab.c (complex_vars_of_casetab): staticpro the mule mirror - tables. + tables. * alloc.c: Add correct management of blocks of structures. - Reorganize hash tables at reload since the hash values can change - with the pointers. + Reorganize hash tables at reload since the hash values can change + with the pointers. 1999-10-01 Olivier Galibert <galibert@pobox.com> @@ -30898,8 +35785,8 @@ (pdump): Support it * glyphs-msw.c - (reinit_image_instantiator_format_create_glyphs_mswindows): Fix - macro calls. + (reinit_image_instantiator_format_create_glyphs_mswindows): Fix + macro calls. 1999-09-28 Olivier Galibert <galibert@pobox.com> @@ -30908,72 +35795,72 @@ * symeval.h: Added defsymbol_nodump declaration. * symbols.c (find_symbol_value): Lame attempt at making the - startup go further. + startup go further. (defsymbol_nodump): Added. * mule-charset.c: Collapsed global lisp objects arrays in one - dumpable structure. + dumpable structure. * lrecord.h: Added some flags. * lisp.h: Added dumped flag to dynarrs. Added dumpstruct - declaration. + declaration. * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't - staticpro dynamic variables. + staticpro dynamic variables. * glyphs.c (reinit_specifier_type_create_image): Added. (image_instantiator_format_create): Dump image instantiator format - dynarr. + dynarr. (reinit_image_instantiator_format_create): Added. * emacs.c (main_1): Added reinits calls. * dynarr.c: Protect dumped dynarrays from going berzek in free or - realloc. + realloc. * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic - variables. + variables. * specifier.c (specifier_type_create): Dump the specifier type - dynarr. + dynarr. (reinit_specifier_type_create): Added. * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic - variables. + variables. * console.c (console_type_create): Dump the console type dynarr. (reinit_vars_of_console): Extracted from vars_of_console. (reinit_complex_vars_of_console): Extracted from - complex_vars_of_console + complex_vars_of_console * window.c (reinit_vars_of_window): Extracted from vars_of_window. * toolbar.c (reinit_specifier_type_create_toolbar): Added. * search.c (reinit_vars_of_search): Extracted from vars_of_search. * objects.c (reinit_specifier_type_create_objects): Added. (reinit_vars_of_objects): Extracted from vars_of_objects. * lstream.c (reinit_vars_of_lstream): Extracted from - vars_of_lstream. + vars_of_lstream. * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread. * gutter.c (reinit_specifier_type_create_gutter): Added. * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): - Added. + Added. * glyphs-widget.c - (reinit_image_instantiator_format_create_glyphs_widget): Added + (reinit_image_instantiator_format_create_glyphs_widget): Added * glyphs-msw.c - (reinit_image_instantiator_format_create_glyphs_mswindows): Added. + (reinit_image_instantiator_format_create_glyphs_mswindows): Added. * glyphs-eimage.c - (reinit_image_instantiator_format_create_glyphs_eimage): Added. + (reinit_image_instantiator_format_create_glyphs_eimage): Added. * event-stream.c (reinit_vars_of_event_stream): Extracted from - vars_of_event_stream + vars_of_event_stream * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval. * device.c (reinit_vars_of_device): Extracted from vars_of_device. * console-x.c (reinit_console_type_create_x): Added. * console-tty.c (reinit_console_type_create_tty): Added * console-stream.c (reinit_console_type_create_stream): Added. (init_console_stream): If PDUMP, always reinitialise basic - devices. + devices. * console-msw.c (reinit_console_type_create_mswindows): Added. * buffer.c (reinit_vars_of_buffer): Extracted from - init_vars_of_buffer. + init_vars_of_buffer. (reinit_complex_vars_of_buffer): Extracted from - complex_vars_of_buffer + complex_vars_of_buffer * alloc.c: Further with the portable dumping, the revenge. (dumpstruct): Added. @@ -31097,12 +35984,12 @@ 1999-09-24 Andy Piper <andy@xemacs.org> * redisplay-output.c (output_display_line): only clear the borders - if we are not displaying the gutter. + if we are not displaying the gutter. 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch> * frame-x.c (x_any_window_to_frame): Let Xt find the widget and - then use x_any_widget_or_parent_to_frame(). + then use x_any_widget_or_parent_to_frame(). (x_find_frame_for_window): remove special cases. 1999-09-24 Andy Piper <andy@xemacs.org> @@ -31241,25 +36128,25 @@ 1999-09-22 Andy Piper <andy@xemacs.org> * redisplay.c (redisplay_frame): reset the gutter display lines - when we reset the subwindows. + when we reset the subwindows. * gutter.c (reset_gutter_display_lines): new function. * window.c (Flast_nonminibuf_window): new function equivalent to - FRAME_LAST_NONMINIBUF_WINDOW (). + FRAME_LAST_NONMINIBUF_WINDOW (). (syms_of_window): declare it. * redisplay.c (create_string_text_block): don't add bogus eol - markers to gutter display lines. + markers to gutter display lines. * glyphs.c (reset_subwindow_cachels): make sure we unmap - subwindows using unmap_subwindow so that expose events get - registered correctly. + subwindows using unmap_subwindow so that expose events get + registered correctly. * window.c (window_scroll): use Vwindow_pixel_scroll_increment to - determine how much to scroll the window. + determine how much to scroll the window. (vars_of_window): Vwindow_pixel_scroll_increment is a new - variable. + variable. 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com> @@ -31273,19 +36160,19 @@ 1999-09-19 Andy Piper <andy@xemacs.org> * glyphs.c (update_frame_subwindows): update if faces have - changed. + changed. * glyphs-x.c (x_widget_instantiate): create the clip widget using - lwlib rather than directly. + lwlib rather than directly. (x_finalize_image_instance): delete the clip widget using lwlib. (x_update_subwindow): update widget faces. (update_widget_face): new function for updating the face - properties of a widget. + properties of a widget. (x_widget_set_property): update widget faces. * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to - manage the clip widgets using lwlib so that we can delete them in - a safe manner. + manage the clip widgets using lwlib so that we can delete them in + a safe manner. 1999-09-16 Martin Buchholz <martin@xemacs.org> @@ -31308,64 +36195,64 @@ 1999-09-16 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_output_subwindow): clip subwindows - that don't completely fit on-screen rather than just unmapping - them. + that don't completely fit on-screen rather than just unmapping + them. * glyphs.h: change signature of map_subwindow. * glyphs.c (map_subwindow): add display_glyph_area to the - signature. make sure the mapped area saved in the subwindow_cachel - reflects this. + signature. make sure the mapped area saved in the subwindow_cachel + reflects this. (Fforce_subwindow_map): make a no-op. I don't think this does - anything useful. + anything useful. * glyphs-x.h (struct x_subwindow_data): save the Display rather - than the Screen. Add a clipwindow and clipwidget handle. + than the Screen. Add a clipwindow and clipwidget handle. (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor. (IMAGE_INSTANCE_X_CLIPWIDGET): ditto. (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto. (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto. * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget - as well as the widget itself. + as well as the widget itself. (x_unmap_subwindow): unmap the clipwindow and clipwidget rather - than the widgets and subwindows themselves. move the widget inside - the clipwidget. + than the widgets and subwindows themselves. move the widget inside + the clipwidget. (x_subwindow_instantiate): hold onto the Display rather than the - Screen. allocate a clipwindow to put the subwindow inside. + Screen. allocate a clipwindow to put the subwindow inside. (x_resize_subwindow): use saved Display directly. (x_widget_instantiate): allocate a clipwidget of type EmacsManager - to put widgets inside. + to put widgets inside. * glyphs-widget.c: remove group stuff. * glyphs-msw.h (struct mswindows_subwindow_data): new structure to - hold the clipwindow. + hold the clipwindow. (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor. (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto. * glyphs-msw.c: remove group stuff. (mswindows_finalize_image_instance): destroy clipwindow as well as - the widget itself. + the widget itself. (mswindows_unmap_subwindow): unmap the clipwindow rather than the - widget. + widget. (mswindows_map_subwindow): ditto. move the widget within the - clipwindow. + clipwindow. (mswindows_subwindow_instantiate): allocate and initialize - mswindows_subwindow_data. allocate a clipwindow with the subwindow - as a child. + mswindows_subwindow_data. allocate a clipwindow with the subwindow + as a child. (mswindows_widget_instantiate): ditto. (mswindows_control_wnd_proc): new function that allows us to - propagate events from the widget to the main windows control loop. + propagate events from the widget to the main windows control loop. * device-msw.c (mswindows_init_device): register new widget clip window - class. + class. * console.h (struct console_methods): add display_glyph_area to - map_window. + map_window. * console-msw.h: declare new window class and wnd proc for - widgets. + widgets. 1999-09-14 Martin Buchholz <martin@xemacs.org> @@ -31432,47 +36319,47 @@ 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk> * redisplay-x.c (x_output_vertical_divider): make sure - shadow_thickness is positive. + shadow_thickness is positive. 1999-09-10 Julian Back <jback@rudd.compulink.co.uk> * process-nt.c (nt_create_process): fixup to cope with - Vprocess_environment. + Vprocess_environment. 1999-09-02 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_output_layout): call output - routines with clear_clip false. output layout borders with text - correctly. + routines with clear_clip false. output layout borders with text + correctly. * redisplay-msw.c (mswindows_output_blank): call output routines - with clear_clip true. + with clear_clip true. (mswindows_output_string): ditto. (mswindows_output_display_block): ditto. * redisplay-x.c (x_output_display_block): call output routines - with clear_clip true. + with clear_clip true. * redisplay.h: fix output routines for clear_clip parameter. * redisplay-output.c (redisplay_output_layout): cope with glyphs - in the border. + in the border. * glyphs-widget.c (layout_instantiate): deal with border glyphs. (check_valid_glyph_or_instantiator): renamed from - check_valid_glyph_or_image. + check_valid_glyph_or_image. (check_valid_border): allow glyphs or their instantiators. (check_valid_glyph_or_instantiator_list): renamed from - check_valid_glyph_or_image_list, + check_valid_glyph_or_image_list, (glyph_instantiator_to_glyph): new function. make sure a glyph is - a glyph and not an instantiator. + a glyph and not an instantiator. (substitute_keyword_value): new function. replace a keyword value - with a new one. + with a new one. 1999-09-01 Andy Piper <andy@xemacs.org> * glyphs.c (string_set_property): new function to set the data of - a string. + a string. (image_instantiator_format_create): use it. 1999-09-07 Hrvoje Niksic <hniksic@srce.hr> @@ -31482,10 +36369,10 @@ 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu> * ntheap.h: CONST (semantically constant) name field of file_data - struct + struct * unexnt.c (open_output_file): match function definition with - function declaration + function declaration * editfns.c: #include "sysfile.h" for getcwd() prototype @@ -31563,7 +36450,7 @@ 1999-09-02 Hrvoje Niksic <hniksic@srce.hr> * extents.c (extent_remprop): Get extent's plist address - correctly. + correctly. 1999-08-31 Andy Piper <andy@xemacs.org> @@ -31591,22 +36478,22 @@ 1999-08-31 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_normalize_glyph_area): make sure - the clip offset doesn't exceed the height we have available to - show. + the clip offset doesn't exceed the height we have available to + show. * window.h (struct window): add top_yoffset and left_xoffset for - pixel scrolling. + pixel scrolling. (WINDOW_TEXT_TOP_CLIP): new macro. * window.c (window_scroll): add behaviour for pixel-scrolling of - tall lines. + tall lines. * redisplay.h (struct display_line): add top_clip. (DISPLAY_LINE_HEIGHT): adjust for top_clip. (DISPLAY_LINE_YPOS): ditto. * redisplay.c (position_redisplay_data_type): add - start_col_xoffset to prepare for pixel-based h-scrolling. + start_col_xoffset to prepare for pixel-based h-scrolling. (WINDOW_SCROLLED): new macro. (next_tab_position): use it. (add_glyph_rune): use new hscoll vars. @@ -31617,21 +36504,21 @@ (regenerate_window_incrementally): ditto. * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS, - DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. + DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. (x_output_string): ditto. (x_output_blank): ditto. (x_output_hline): ditto. (x_output_eol_cursor): ditto. * redisplay-output.c (output_display_line): allow for - top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and - DISPLAY_LINE_YEND macros. + top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and + DISPLAY_LINE_YEND macros. (redisplay_output_layout): output strings in layouts correctly. (redisplay_clear_clipped_region): allow for top_clip. (redisplay_calculate_display_boxes): ditto. * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS, - DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. + DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. (mswindows_output_cursor): ditto. (mswindows_output_string): ditto. (mswindows_redraw_exposed_window): ditto. @@ -31641,34 +36528,34 @@ (gutter_size_validate): validate gutter-size specifier. (Fgutter_size_specifier_p): predicate for gutter-size. (Fredisplay_gutter_area): allow the gutter area to be redisplayed - under user contol, like Fredisplay_echo_area. + under user contol, like Fredisplay_echo_area. (syms_of_gutter): add new functions. (specifier_type_create_gutter): add new specifier. (specifier_vars_of_gutter): change specifier types of *-height to - gutter-size. + gutter-size. * glyphs.c (glyph_width): make work with image instances. * console.h (struct console_methods): change api of output_string. * glyphs-x.c (x_map_subwindow): move before mapping as reported by - Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> + Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> 1999-08-30 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK - for assignment. + for assignment. (init_image_instance_from_x_image): ditto. (x_xpm_instantiate): ditto. (x_colorize_image_instance): ditto. Reported by Richard Cognot - <cognot@ensg.u-nancy.fr> + <cognot@ensg.u-nancy.fr> 1999-08-29 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_widget_instantiate): move font initialisation so - that it doesn't get saved in the user defined args. + that it doesn't get saved in the user defined args. (x_tab_control_instantiate): Set the fg color of the tab's - children. + children. (x_tab_control_set_property): ditto. 1999-08-27 Damon Lipparelli <lipp@primus.com> @@ -31742,28 +36629,28 @@ 1999-08-23 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_update_subwindow): make sure the widget size is - maintained after an update. + maintained after an update. * event-Xt.c (emacs_Xt_handle_magic_event): use - find_matching_subwindow to check whether the exposure is totally - inside a subwindow, if it is then ignore it. + find_matching_subwindow to check whether the exposure is totally + inside a subwindow, if it is then ignore it. * glyphs.c (find_matching_subwindow): new function. * toolbar-x.c (x_draw_blank_toolbar_button): use new - x_output_shadows signature. + x_output_shadows signature. (x_output_toolbar_button): use new x_output_x_pixmap signature. * redisplay.h (struct display_box): new structure. (struct display_glyph_area): ditto. - declare new display_box functions. + declare new display_box functions. * redisplay-x.c (x_output_pixmap): update for new display - box stuff. + box stuff. (x_bevel_area): update to allow multiple edge styles and border - segments. + segments. (x_output_display_block): update for new display_box stuff and - signatures. + signatures. (x_clear_region): ditto. (x_output_x_pixmap): ditto. adjust offsets rather than clip. (console_type_create_redisplay_x): declare new console methods. @@ -31771,38 +36658,38 @@ (x_output_shadows): update to allow selective drawing of edges. * redisplay-tty.c (tty_output_display_block): do nothing for - layouts. + layouts. * redisplay-output.c (redisplay_output_subwindow): convert to use - display_box structure, this allows us to put subwindows anywhere - with any offset, useful for layout glyphs. + display_box structure, this allows us to put subwindows anywhere + with any offset, useful for layout glyphs. (redisplay_output_layout): new function. output a layout and its - sub-glyphs. + sub-glyphs. (redisplay_output_pixmap): new modular function combining generic - parts of the X and mswindows versions. convert to use display_box - structures. + parts of the X and mswindows versions. convert to use display_box + structures. (redisplay_clear_clipped_region): new function. clear the area a - glyph is going into. + glyph is going into. (redisplay_normalize_glyph_area): new function. calculate the - bounds of a display_glyph_area given a display_box. + bounds of a display_glyph_area given a display_box. (redisplay_normalize_display_box): new function. shrink a - display_box to enclose a display_glyph_area. + display_box to enclose a display_glyph_area. (redisplay_display_boxes_in_window_p): check whether the input - display_box and display_glyph_area are actually in a window. + display_box and display_glyph_area are actually in a window. (redisplay_calculate_display_boxes): calculate display boxes based - on conventional display_line metrics. + on conventional display_line metrics. (bevel_modeline): update for new bevel_area signature. * redisplay-msw.c (mswindows_output_blank): update for new - display_box stuff. + display_box stuff. (mswindows_output_string): ditto. (mswindows_output_dibitmap): ditto. (mswindows_output_dibitmap_region): ditto. (mswindows_output_pixmap): ditto. (mswindows_bevel_area): update to allow multiple edge styles and - border segments. + border segments. (mswindows_output_display_block): update for new display_box stuff - and signatures. + and signatures. (mswindows_clear_region): ditto. (console_type_create_redisplay_mswindows): declare new console methods. @@ -31816,7 +36703,7 @@ (LAYOUT_IMAGE_INSTANCEP): new macro. (CHECK_LAYOUT_IMAGE_INSTANCE): ditto. (struct Lisp_Image_Instance): add offsets for layout and the - layout type itself. move mask here also. + layout type itself. move mask here also. (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro. (IMAGE_INSTANCE_LAYOUT_BORDER): ditto. (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto. @@ -31840,9 +36727,9 @@ (IMAGE_INSTANCE_X_MASK): update. * glyphs-x.c (x_label_instantiate): new function. instantiate a - label. + label. (image_instantiator_format_create_glyphs_x): initialise new layout - glyph type. + glyph type. * glyphs-widget.c: new layout type. (check_valid_orientation): new keyword checker for layouts. @@ -31854,10 +36741,10 @@ (layout_instantiate): ditto. (syms_of_glyphs_widget): new keywords for layout. (image_instantiator_format_create_glyphs_widget): initialise the - layout glyph type. + layout glyph type. * glyphs-msw.h (struct mswindows_image_instance_data): remove mask - argument. + argument. (IMAGE_INSTANCE_MSWINDOWS_MASK): update. * glyphs-msw.c: declare layout format. @@ -31866,22 +36753,22 @@ * general.c: new symbols for layouts. * console.h (struct console_methods): new console methods for - outputting pixmaps and strings. + outputting pixmaps and strings. 1999-08-23 Didier Verna <didier@xemacs.org> * sound.c: revert the renaming of `bell_volume' to `Vbell_volume' - and `bell_inhibit_time' to `Vbell_inhibit_time'. + and `bell_inhibit_time' to `Vbell_inhibit_time'. 1999-08-18 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_output_subwindow): disable - clipping attempt. + clipping attempt. 1999-08-17 Andy Piper <andy@xemacs.org> * gutter.c (redraw_exposed_gutter): handle degenerate case of no - area to expose or no gutter to display. + area to expose or no gutter to display. 1999-08-16 Charles G Waldman <cgw@fnal.gov> @@ -31897,7 +36784,7 @@ 1999-08-17 Andy Piper <andy@xemacs.org> * gui-x.c (button_item_to_widget_value): xstrdup name so that - deleting it is ok. + deleting it is ok. 1999-08-16 Jeff Miller <jmiller@smart.net> @@ -31906,15 +36793,15 @@ 1999-08-16 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_output_subwindow): try and be more - relaxed about clipping possibilities. + relaxed about clipping possibilities. * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree - rather than just the widget_value. + rather than just the widget_value. (x_update_subwindow): ditto. (x_widget_instantiate): ditto. * gutter.c (output_gutter): shrink current display lines if - required. + required. 1999-08-15 Andy Piper <andy@xemacs.org> @@ -31923,7 +36810,7 @@ * redisplay.c (free_display_lines): make non-static. * gutter.c (free_frame_gutters): use free_display_lines instead of - Dynarr_free. + Dynarr_free. (calculate_gutter_size): ditto. 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch> @@ -31937,8 +36824,8 @@ 1999-08-04 Mike Woolley <mike@bulsara.com> * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed - problem in wheelmouse code occurring when the horizontal scrollbar - is enabled but not visible. + problem in wheelmouse code occurring when the horizontal scrollbar + is enabled but not visible. 1999-08-08 Andy Piper <andyp@beasys.com> @@ -31948,22 +36835,22 @@ * glyphs.c (Fset_image_instance_property): fiddly reorganisation. * redisplay-output.c (redisplay_output_display_block): unmap - subwindows in the block area before outputting the block. + subwindows in the block area before outputting the block. * event-msw.c (mswindows_wnd_proc): check the update rect before - painting and disable expose registration while painting. + painting and disable expose registration while painting. * glyphs.c (register_ignored_expose): check - hold_ignored_expose_registration before registering expose events. + hold_ignored_expose_registration before registering expose events. * redisplay.c (redisplay_frame): reset the subwindow cache before - displaying the gutter. + displaying the gutter. * glyphs-msw.c (mswindows_map_subwindow): move the window before - mapping. + mapping. * gutter.c (update_frame_gutters): check for glyphs_changed as if - it is the subwindow cache will have been reset. + it is the subwindow cache will have been reset. 1999-08-06 Andy Piper <andyp@beasys.com> @@ -31973,16 +36860,16 @@ (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro. * glyphs-x.c (x_combo_box_instantiate): do generic initialization - here. remove dead code. + here. remove dead code. (image_instantiator_format_create_glyphs_x): enable combo boxes - for Motif 2.0. + for Motif 2.0. * glyphs-widget.c (widget_instantiate_1): make non-static. (tree_view_instantiate): renamed from combo_box_instantiate. (image_instantiator_format_create_glyphs_widget): use new/changed methods. * glyphs-msw.c (mswindows_combo_box_instantiate): do generic - initialization here. + initialization here. * lwlib-Xm.c (xm_update_combo_box): new function. (xm_update_one_widget): call it. @@ -31990,18 +36877,18 @@ (xm_create_combo_box): create a drop-down combo box. * toolbar-msw.c (mswindows_output_toolbar): call - mswindows_move_toolbar. + mswindows_move_toolbar. 1999-08-05 Andy Piper <andyp@beasys.com> * window.c (Fcurrent_pixel_column): new function. use display - lines to calculate pixel position of point. + lines to calculate pixel position of point. * window.c (syms_of_window): declare it. 1999-08-05 Andy Piper <andy@xemacs.org> * glyphs.c (check_for_ignored_expose): ignore exposures wholly - contained in our ignore list. + contained in our ignore list. * buffer.c (Frecord_buffer): add call to record-buffer-hook. (syms_of_buffer): declare record-buffer-hook. @@ -32028,44 +36915,44 @@ 1999-08-04 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_finalize_image_instance): only free pixels if we - have that type of image. + have that type of image. 1999-07-30 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_unmap_subwindows): add comparison - subwindow to not unmap if required. + subwindow to not unmap if required. (redisplay_unmap_subwindows_maybe): comparison is Qnil. (redisplay_unmap_subwindows_except_us): new function. (redisplay_output_subwindow): use it to unmap windows in the area - we are displaying into. + we are displaying into. * glyphs.c (update_subwindow_cachel_data): always update as we - only ever get called when an update is required. + only ever get called when an update is required. (update_subwindow_cachel): new function. sync a subwindow with its - cachel. + cachel. (Fresize_subwindow): use it. (register_ignored_expose): make sure we set the tail correctly. 1999-07-28 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_clear_bottom_of_window): remove - unneeded device. + unneeded device. * gutter.c (redraw_exposed_gutter): unmap subwindows from the - whole gutter. + whole gutter. * gui.h: declare parse_gui_item_tree_list and - parse_gui_item_tree_children. + parse_gui_item_tree_children. * gui.c (parse_gui_item_tree_item): new function for parsing item - lists into gui-item trees. + lists into gui-item trees. (parse_gui_item_tree_children): ditto. (parse_gui_item_tree_list): ditto. * gui-x.h: declare gui_items_to_widget_values. * gui-x.c (gui_items_to_widget_values_1): new function for - recursively parsing gui-items into widget_values. + recursively parsing gui-items into widget_values. (gui_item_children_to_widget_values): ditto. (gui_items_to_widget_values): ditto. (sanity_check_lwlib): add widgets macrolets. @@ -32075,24 +36962,24 @@ (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM. (XIMAGE_INSTANCE_WIDGET_ITEM): ditto. (struct expose_ignore): new structure for storing ignorable expose - events. + events. * glyphs.c (valid_image_instantiator_format_p): fix so that using - a console-type as a locale works. + a console-type as a locale works. (mark_image_instance): ITEM->ITEMS. (image_instance_equal): ditto. (image_instance_hash): ditto. (struct expose_ignore_blocktype): new blocktype. (check_for_ignored_expose): new function. checks frame exposure - list for events to ignore. + list for events to ignore. (register_ignored_expose): new function. registers an expose event - as ignorable. + as ignorable. (unmap_subwindow): register the expose event as ignorable. (vars_of_glyphs): initialise the exposure blocktype. * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget. (x_update_subwindow): modify all widgets using widget_value tree - rather than just a single widget value. + rather than just a single widget value. (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF. make sure widgets don't resize themselves. (x_tab_control_instantiate): new function. use lwlib tab functions. @@ -32100,31 +36987,31 @@ (image_instantiator_format_create_glyphs_x): add tab_control. * glyphs-widget.c (widget_text_to_pixel_conversion): calculate - slightly more sensibly. + slightly more sensibly. (initialize_widget_image_instance): ITEM->ITEMS. (widget_instantiate_1): parse gui items generically into the ITEMS - entry. + entry. * glyphs-msw.c (mswindows_update_subwindow): replace - SINGLE_ITEM->ITEM. + SINGLE_ITEM->ITEM. (mswindows_register_widget_instance): ditto. (add_tree_item): modify to use new pre-initialised gui-item - structure. + structure. (add_tab_item): ditto. (mswindows_tab_control_instantiate): ditto. (mswindows_tab_control_set_property): ditto. (image_instantiator_format_create_glyphs_mswindows): predicate - existence of widgets on HAVE_WIDGETS. + existence of widgets on HAVE_WIDGETS. * frame.h (struct frame): add subwindow_exposures variables. * frame.c (allocate_frame_core): reset subwindow_exposures links. * event-msw.c (mswindows_wnd_proc): check for ignored - expose events before redrawing. + expose events before redrawing. * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored - expose events before redrawing. + expose events before redrawing. 1999-07-30 SL Baur <steve@xemacs.org> @@ -32254,7 +37141,7 @@ 1999-07-19 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_resize_subwindow): cope with widgets as well as - subwindows. + subwindows. * gutter.c (gutter_validate): new function for the gutter specifier. (specifier_type_create_gutter): declare specifier validator. @@ -32266,27 +37153,27 @@ * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data. * glyphs-msw.c (console_type_create_glyphs_mswindows): add - resize_subwindow. + resize_subwindow. (mswindows_resize_subwindow): new function. * gutter.c (redraw_exposed_gutter): only reset the - current_display_lines if non-zero. + current_display_lines if non-zero. (Fgutter_pixel_height): new function. (Fgutter_pixel_width): new function. * event-msw.c (mswindows_wnd_proc): set the mask of the parameter - we want to retrive from the tab control. + we want to retrive from the tab control. 1999-07-17 Andy Piper <andy@xemacs.org> * window.c (change_window_height): mark gutters changed when we're - done. + done. * gutter.c (specifier_vars_of_gutter): make defaults more - sensible. + sensible. * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0 - height gutter. + height gutter. (DEFAULT_GUTTER_WIDTH): change. (DEFAULT_GUTTER_BORDER_WIDTH): change. @@ -32299,28 +37186,28 @@ * frame.c (Fmake_frame): call init_frame_gutters(). * redisplay.c (add_emchar_rune): use string functions if we are - working with a string. + working with a string. (position_redisplay_data_type): add string element. 1999-07-15 Andy Piper <andy@xemacs.org> * winslots.h: add real_gutter_size slots to hold the actual gutter - size. This is important for autodetected sizes. + size. This is important for autodetected sizes. * gutter.c (calculate_gutter_size): calculate size for gutters - that have 'autodetect size. + that have 'autodetect size. * redisplay-msw.c (mswindows_output_vertical_divider): adjust - extent of divider for gutters. + extent of divider for gutters. * redisplay-x.c (x_output_vertical_divider): adjust extent of - divider for gutters. + divider for gutters. * scrollbar.c (update_scrollbar_instance): adjust scrollbar - position to take into account the gutters. + position to take into account the gutters. * redisplay.c (generate_modeline): adjust modeline position to - take into account the gutters. + take into account the gutters. 1999-07-14 Andy Piper <andy@xemacs.org> @@ -32332,23 +37219,23 @@ 1999-07-13 Andy Piper <andy@xemacs.org> * redisplay.c (calculate_display_line_boundaries): use text - boundaries so that gutters get handled properly. + boundaries so that gutters get handled properly. 1999-07-12 Andy Piper <andy@xemacs.org> * glyphs-x.c (x_widget_instantiate): set the font Motif-style if - we're using Motif. + we're using Motif. * redisplay-output.c (redisplay_clear_to_window_end): generalised - from redisplay-x.c + from redisplay-x.c * redisplay-x.c (redisplay_clear_to_window_end): moved to - redisplay.c + redisplay.c * redisplay-msw.c (redisplay_clear_to_window_end): deleted. * gutter.c: new file - implements gutters. All new functions are - semantically equivalent to the toolbar functions. + semantically equivalent to the toolbar functions. (gutter_was_visible): new function. (get_gutter_coords): ditto. (output_gutter): ditto. @@ -32377,7 +37264,7 @@ (specifier_vars_of_gutter): ditto. * gutter.h: new file. Contains gutter constants and sizing macros - similar to those for the toolbar. + similar to those for the toolbar. * winslots.h: add gutter variables. @@ -32399,20 +37286,20 @@ * search.c (bi_find_next_emchar_in_string): new function. * scrollbar.c (update_scrollbar_instance): remove reference to - window_bottom_toolbar_height which did nothing. + window_bottom_toolbar_height which did nothing. * redisplay.h (struct display_line): add face indices for - overriding defaults in output_display_line. + overriding defaults in output_display_line. Add gutter_changed flags and declarations. * redisplay.c (create_string_text_block): new function, similar to - create_text_block but for strings. Display tables etc are used - from the currently selected window. + create_text_block but for strings. Display tables etc are used + from the currently selected window. (generate_string_display_line): ditto. Similar to - generate_display_line. + generate_display_line. (generate_displayable_area): generate display lines for a given - area on a frame. Input is the string, with associated extents, to - display. + area on a frame. Input is the string, with associated extents, to + display. (redisplay_frame): add gutter_changed check. (redisplay_device): ditto. (redisplay_without_hooks): ditto. @@ -32425,39 +37312,39 @@ (x_output_vertical_divider): use bevel_area. * redisplay-output.c (output_display_line): check display_lines - for face information before using defaults. + for face information before using defaults. (bevel_modeline): new function, calls bevel_area with appropriate - values. + values. * redisplay-msw.c (bevel_modeline): moved to redisplay.c. (mswindows_redraw_exposed_area): redraw exposed gutters. (mswindows_bevel_area): new redisplay device method. (console_type_create_redisplay_mswindows): add bevel_area device - method. + method. * indent.c (string_column_at_point): add column_at_point but for - strings. + strings. * glyphs-x.c (image_instantiator_format_create_glyphs_x): only - instantiate widgets that we have a toolkit for. + instantiate widgets that we have a toolkit for. * general.c: add Qgutter. * frame.h (struct frame): add display lines for gutters and - visibility flags. + visibility flags. * frame.c (set_frame_selected_window): mark gutters changed. * emacs.c (main_1): add gutter initialisation. * device.h (struct device): add gutter_changed flag and macros to - manipulate it. + manipulate it. * console.h (struct console_methods): new bevel area redisplay - method. + method. * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as - REAL_INC_BYTIND is for buffers. + REAL_INC_BYTIND is for buffers. (INC_CHARPTR): ditto. * Makefile.in.in (objs): add gutter.o @@ -32504,32 +37391,32 @@ * console.h: ditto. * console-tty.c (image_instantiator_format_create_glyphs_tty): new - function. validate appropriate image formats for tty. + function. validate appropriate image formats for tty. * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): - initialize consoles parameter. + initialize consoles parameter. (struct image_instantiator_methods): add consoles parameter. (IIFORMAT_VALID_CONSOLE): new function. validate the format on the - console. + console. (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given - console. + console. * glyphs-msw.c: declare instantiators for later use. (image_instantiator_format_create_glyphs_mswindows): validate xpm - and friends on the mswindows console. + and friends on the mswindows console. * glyphs-x.c: ditto. * glyphs.c (valid_image_instantiator_format_p): disallow glyphs - that have not been registered on the supplied device. + that have not been registered on the supplied device. (Fvalid_image_instantiator_format_p): add locale argument. (instantiate_image_instantiator): valid image instantiator on the - device. + device. * symsinit.h: add image_instantiator_format_create_glyphs_tty() - declaration. + declaration. * emacs.c (main_1): add call to - image_instantiator_format_create_glyphs_tty(). + image_instantiator_format_create_glyphs_tty(). 1999-06-29 Olivier Galibert <galibert@pobox.com> @@ -32562,10 +37449,10 @@ 1999-06-28 Andy Piper <andy@xemacs.org> * glyphs-x.c: change tree -> tree-view, progress -> - progress_gauge, edit -> edit-field, tab -> tab-control, combo -> - combo-box. + progress_gauge, edit -> edit-field, tab -> tab-control, combo -> + combo-box. (complex_vars_of_glyphs_x): provide-on-console the implemented - widget types. + widget types. * glyphs-msw.c: ditto. (complex_vars_of_glyphs_mswindows): ditto. @@ -32574,11 +37461,11 @@ * fns.c (Ffeaturep): add extra optional console argument. (Fprovide_on_console): like Fprovide but provides only on the - specified console-type. + specified console-type. (Frequire): check console-features as well as global features. * console.c (Fconsole_features): new function. return features for - this console. + this console. (syms_of_console): add Fconsole_features. * console.h (CONMETH_FEATURES): new function for accessing features. @@ -32589,32 +37476,32 @@ 1999-06-28 Andy Piper <andy@xemacs.org> * event-Xt.c (handle_focus_event_1): conditionally compile for - X11R5. + X11R5. * s/cygwin32.h: fix me website address. * event-msw.c: add NMHDR for pre b20 cygwin builds. * gui-x.c (button_item_to_widget_value): only add callback if it - is non-nil. + is non-nil. * glyphs-x.c: add progress, edit and combo instantiators. (x_widget_set_property): new function. uses lwlib to set widget - values. + values. (x_widget_property): new function. uses lwlib to get widget - values. + values. (x_button_instantiate): support images in buttons. (x_button_property): new function. use lwlib to get the selected - state. + state. (x_progress_instantiate): new function for instantiating progress - gauges. + gauges. (x_progress_set_property): new function. sets the progress gauge - position. + position. (x_edit_instantiate): new function. for instantiating edit fields. (x_combo_instantiate): new function. for instantiating combo - boxes. + boxes. (image_instantiator_format_create_glyphs_x): add new device ii - formats. + formats. * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var. @@ -32625,7 +37512,7 @@ 1999-06-25 Andy Piper <andy@xemacs.org> * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new - gui functions. + gui functions. * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h @@ -32640,39 +37527,39 @@ (gui_name_accelerator): new function stolen from gui-x.c * gui-x.c (popup_selection_callback): always define. mark - subwindows changed after calling a callback. + subwindows changed after calling a callback. (menu_name_to_accelerator): deleted. (button_item_to_widget_value): forward gui_item things to gui_item - functions. + functions. * glyphs-x.h (struct x_subwindow_data): add data for widgets. add - appropriate accesors. + appropriate accesors. * glyphs-x.c: declare new glyph formats. (x_finalize_image_instance): unmanage and destroy widgets if they - exist. + exist. (x_unmap_subwindow): handle widgets specially. (x_map_subwindow): ditto. offset display of widgets by offset of - text widget within container. + text widget within container. (x_update_subwindow): new function. call lw_modify_all_widgets - when we are a widget. + when we are a widget. (x_widget_instantiate): new function for generically creating - widgets-glyphs. toolkit specifics forwarded to lwlib. + widgets-glyphs. toolkit specifics forwarded to lwlib. (x_button_instantiate): new function for instantiating - widgets-glyph buttons. + widgets-glyph buttons. (console_type_create_glyphs_x): register update_subwindow. (image_instantiator_format_create_glyphs_x): register widget and - button types. + button types. * event-msw.c (mswindows_wnd_proc): remove redundant variable. * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1 - when we get a button press in case we do not have the focus. + when we get a button press in case we do not have the focus. (handle_focus_event_1): set the keyboard focus to the text widget - if we do not have it. + if we do not have it. * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item - functions. + functions. 1999-06-24 SL Baur <steve@miho.m17n.org> @@ -32700,7 +37587,7 @@ * lrecord.h: Added basic external description system. * symbols.c: Added symbol, symbol-value-buffer-local, - symbol-value-lisp-magic and symbol-value-varalias description. + symbol-value-lisp-magic and symbol-value-varalias description. * mule-charset.c: Added charset description. * marker.c: Added marker description. * keymap.c: Added keymap description. @@ -32739,8 +37626,8 @@ 1999-06-18 Olivier Galibert <galibert@pobox.com> * lrecord.h: Added description as a placehold in the lrecord - implementation structures. Added the parameter to all constructor - defines. + implementation structures. Added the parameter to all constructor + defines. * alloc.c: Added placeholders. * buffer.c: Ditto. @@ -32851,58 +37738,58 @@ * event-msw.c (mswindows_need_event): assert badly_p status. (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with - callbacks in tree-view and tab-control widgets. + callbacks in tree-view and tab-control widgets. (emacs_mswindows_next_event): modify use of - mswindows_dequeue_dispatch_event. + mswindows_dequeue_dispatch_event. * dialog-msw.c (mswindows_popup_dialog_box): modify for new - lisp-based gui_items. + lisp-based gui_items. * glyphs-msw.c (mswindows_update_subwindow): update use of - gui_items. + gui_items. (mswindows_register_gui_item): new function. (mswindows_register_gui_item): fix to use lisp gui_items. (mswindows_widget_instantiate): ditto. (mswindows_button_instantiate): ditto. (add_tree_item): new function to recursively add tree view - elements. + elements. (add_tree_item_list): ditto. (mswindows_tree_instantiate): new function. instantiate tree view - controls. + controls. (add_tab_item): new function to add tabs to a tab control. (mswindows_tab_instantiate): new function. instantiate tab - controls. + controls. (image_instantiator_format_create_glyphs_mswindows): add tree view - and tab controls. + and tab controls. (vars_of_glyphs_mswindows): ditto. * glyphs-widget.c (check_valid_item_list_1): allow nested lists in - item lists. + item lists. (check_valid_item_list): ditto. (initialize_widget_image_instance): fix to use new lisp gui_item. (widget_instantiate_1): allow the setting of default textwidth in - characters. + characters. (widget_instantiate): change to use new widget_instantiate_1 - signature. + signature. (combo_instantiate): ditto. (static_instantiate): ditto. (tab_instantiate): new function for tab widgets. (image_instantiator_format_create_glyphs_widget): add tab and tree - view widgets. + view widgets. * menubar-msw.c (displayable_menu_item): convert to use lisp - gui_items. + gui_items. (populate_menu_add_item): ditto. (populate_or_checksum_helper): ditto. * menubar.c (menu_parse_submenu_keywords): convert to use lisp - gui_items. + gui_items. (Fmenu_find_real_submenu): ditto. * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct. * gui.c (gui_item_add_keyval_pair): gui_items are now lisp - objects, convert functions that use them accordingly. + objects, convert functions that use them accordingly. (gui_item_init): ditto. (gui_item_active_p): ditto. (gui_item_selected_p): ditto. @@ -32912,7 +37799,7 @@ (mark_gui_item): ditto. (allocate_gui_item): new function to create a gui_item. (make_gui_item_from_keywords_internal): ditto. create and return a - gui_item as well as setting keywords. + gui_item as well as setting keywords. (gui_parse_item_keywords): ditto. (gui_parse_item_keywords_no_errors): ditto. (gui_add_item_keywords_to_plist): new function, not yet used. @@ -32928,9 +37815,9 @@ 1999-06-10 Andy Piper <andy@xemacs.org> * select-msw.c (mswindows_own_selection): only set the clipboard - if asked. + if asked. (mswindows_get_foreign_selection): only get the clipboard if - asked. + asked. (mswindows_disown_selection): only disown the clipboard if asked. 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp> @@ -32957,7 +37844,7 @@ 1999-06-06 Hrvoje Niksic <hniksic@srce.hr> * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and - base64.el. + base64.el. (base64_decode_1): Signal errors instead of returning -1. 1999-06-07 Hrvoje Niksic <hniksic@srce.hr> @@ -32971,7 +37858,7 @@ 1999-06-05 Hrvoje Niksic <hniksic@srce.hr> * fns.c (base64_decode_1): Allow and ignore any non-base64 - characters in input. + characters in input. 1999-05-27 Olivier Galibert <galibert@pobox.com> @@ -33028,7 +37915,7 @@ 1999-05-27 Hrvoje Niksic <hniksic@srce.hr> * fns.c (Fsubstring): Don't traverse the same region twice with - charcount_to_bytecount(). + charcount_to_bytecount(). 1999-06-03 SL Baur <steve@steve1.m17n.org> @@ -33083,7 +37970,7 @@ 1999-05-27 Hrvoje Niksic <hniksic@srce.hr> * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and - ARG2. + ARG2. 1999-05-21 Andy Piper <andy@xemacs.org> @@ -33092,43 +37979,43 @@ * symsinit.h: declare select initialisation. * select.h: new file. declare commonly used select functions and - variables. + variables. * select.c: new file. generalised from xselect.c. (clean_local_selection_data): moved from xselect.c. (get_local_selection): ditto. device specific pieces called via a - devmeth. + devmeth. (handle_selection_clear): ditto. (Fown_selection_internal): renamed and generalised from - Fx_own_selection_internal. moved from xselect.c. + Fx_own_selection_internal. moved from xselect.c. (Fdisown_selection_internal): ditto. (Fselection_owner_p): ditto. (Fselection_exists_p): ditto. (Fget_selection_internal): ditto. (syms_of_select): new function. QXXXX values moved from xselect.c (vars_of_select): new function. selection_converter_alist, - lost_selection_hooks moved and renamed from xselect.c + lost_selection_hooks moved and renamed from xselect.c * select-x.c: renamed from xselect.c. - (x_own_selection): converted to device specific. non-X-specific - bits moved to select.c. + (x_own_selection): converted to device specific. non-X-specific + bits moved to select.c. (x_get_foreign_selection): ditto. (x_disown_selection): ditto. (x_selection_exists_p): ditto. (console_type_create_select_x): new function. * select-msw.c (mswindows_own_selection): new device method to set - the clipboard when we 'own' the selection. + the clipboard when we 'own' the selection. (mswindows_get_foreign_selection): new device method to get the - clipboard. + clipboard. (mswindows_disown_selection): new device method to delete the - selection when we 'disown' it. + selection when we 'disown' it. (console_type_create_select_mswindows): new function. * emacs.c (main_1): add select to things to initialise. * console.h (struct console_methods): new console methods for - selection. + selection. * Makefile.in.in (x_objs): xselect.c renamed to select-x.c @@ -33139,7 +38026,7 @@ 1999-05-16 Andy Piper <andy@xemacs.org> * ntproc.c (syms_of_ntproc): default - win32-start-process-share-console to t. + win32-start-process-share-console to t. 1999-05-14 Hrvoje Niksic <hniksic@srce.hr> @@ -33150,7 +38037,7 @@ 1999-05-14 Andy Piper <andy@xemacs.org> * toolbar-msw.c (mswindows_output_toolbar): hash on something - hashable. + hashable. 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org> @@ -33193,7 +38080,7 @@ 1999-05-11 Andy Piper <andy@xemacs.org> * ntproc.c (sys_spawnve): actually assign argv[0] instead of the - first character. + first character. 1999-05-10 Hrvoje Niksic <hniksic@srce.hr> @@ -33255,9 +38142,9 @@ * ntproc.c: remove many warnings. (_sys_read_ahead): moved from nt.c and made static. (rva_to_section): moved from unexnt.c but not defined under - mingw32. + mingw32. (win32_executable_type): implement what we can for mingw32 - headers. + headers. (sys_spawnve): fix bad MULE/GCPRO bug in filename handling. * ntheap.h: remove declarations of functions that are now static. @@ -33282,7 +38169,7 @@ * systty.h: ditto. * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because - some systems don't have all of the encapsulated system calls. + some systems don't have all of the encapsulated system calls. * callproc.c: warning elimination. * dired-msw.c: ditto. @@ -33336,7 +38223,7 @@ * lisp.h (struct Lisp_Symbol): Removed .obarray field. * symbols.c (init_symbols_once_early): Removed - Vpure_uninterned_symbol_table. + Vpure_uninterned_symbol_table. (Fintern): Don't store to ->obarray field. 1999-04-22 Hrvoje Niksic <hniksic@srce.hr> @@ -33347,7 +38234,7 @@ 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to - retrieve the distinguished names of entries + retrieve the distinguished names of entries 1999-03-08 Martin Buchholz <martin@xemacs.org> @@ -33364,7 +38251,7 @@ * gdbinit: Ditto. * lrecord.h: Make gung-ho mandatory. Remove pure flag and add - c_readonly and lisp_readonly. Remove implementation arrays. + c_readonly and lisp_readonly. Remove implementation arrays. (C_READONLY_RECORD_HEADER_P): Added. (LISP_READONLY_RECORD_HEADER_P): Added. (SET_C_READONLY_RECORD_HEADER): Added. @@ -33380,18 +38267,18 @@ * lisp-disunion.h: Ditto. * alloc.c: Kill everything purespace/non gung-ho related. Fix all - set_lheader_implementation calls. + set_lheader_implementation calls. (c_readonly): Added. (lisp_readonly): Added. (make_string_nocopy): Added. (Fpurecopy): Changed to do nothing. Kept the old documentation - for reference purposes for the next patches. + for reference purposes for the next patches. (sweep_lcrecords_1): Don't free C readonly lcrecords. (sweep_bit_vectors_1): Don't free C readonly bitvectors. (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords. * fns.c: Make gung-ho mandatory. - (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. + (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. (Fremprop): Ditto. (Ffillarray): Ditto. @@ -33404,8 +38291,8 @@ (Faset): Ditto. * symbols.c: Make gung-ho mandatory. make_pure_pname -> - make_string or make_string_nocopy. Fix various - alloc_lcrecord_type. + make_string or make_string_nocopy. Fix various + alloc_lcrecord_type. * lread.c: Remove everything purespace related. (Flocate_file_clear_hashing): purified -> c_readonly. @@ -33413,7 +38300,7 @@ (read_atom): make_pure_pname -> make_string. * emacs.c (Frun_emacs_from_temacs): Remove purespace stats - reporting. + reporting. (Fdump_emacs): Ditto. * print.c (print_internal): Make gung-ho mandatory. @@ -33422,10 +38309,10 @@ * symeval.h (symbol_value_forward_lheader_initializer): Ditto. * sheap.c (more_static_core): Remove puresize-adjust.h from - message. + message. * syntax.c (complex_vars_of_syntax): make_pure_string -> - make_string_nocopy. + make_string_nocopy. * keymap.c (make_keymap): Fix alloc_lcrecord_type. (vars_of_keymap): make_pure_string -> make_string_nocopy. * events.c (deinitialize_event): Fix set_lheader_implementation. @@ -33468,7 +38355,7 @@ (Fcurrent_window_configuration): Fix alloc_lcrecord. (vars_of_window): Fix make_lcrecord_list. * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list -> - Flist. + Flist. * lstream.c (Lstream_new): Fix make_lcrecord_list. * opaque.c (make_opaque): Fix alloc_lrecord. (make_opaque_list): Fix alloc_lrecord_type. @@ -33478,25 +38365,25 @@ * process.c (Fstart_process_internal): Ditto. * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling - locate_file(). + locate_file(). * glyphs-x.c (x_locate_pixmap_file): Ditto. * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to - locate_file(). + locate_file(). * emodules.c (vars_of_module): New variable Vmodule_extensions. (emodules_load): Use it when calling locate_file(). * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling - locate_file(). + locate_file(). * callproc.c: Vlisp_EXEC_SUFFIXES: New variable. (vars_of_callproc): Initialize it. (Fcall_process_internal): Use it when calling locate_file(). * alloc.c (disksave_object_finalization): Use - Flocate_file_clear_hashing(). + Flocate_file_clear_hashing(). * lread.c (Flocate_file_clear_hashing): Clear all hasing when given `t' as argument. @@ -33517,14 +38404,14 @@ (locate_file_map_suffixes): New function. (locate_file_in_directory_mapper): New function. (locate_file_in_directory): Use locate_file_in_directory_mapper() - and locate_file_map_suffixes(). + and locate_file_map_suffixes(). (locate_file_construct_suffixed_files): Use - locate_file_map_suffixes(). + locate_file_map_suffixes(). (locate_file_without_hash): Don't GCPRO path. (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP. (syms_of_lread): Remove Qlocate_file_hash_table. (locate_file_find_directory_hash_table): Use - Vlocate_file_hash_table. + Vlocate_file_hash_table. (locate_file_refresh_hashing): Ditto. * lread.c: Renamed read_objects to Vread_objects. @@ -33532,9 +38419,9 @@ 1999-04-16 Olivier Galibert <galibert@pobox.com> * mule-charset.c: Generally resync with fsf 20.3 charset - interface. + interface. (make_charset): Add long and short name. Use id instead of - leading byte. + leading byte. (Fmake_charset): Ditto. (Fmake_reverse_direction_charset): Ditto. (Fcharset_property): Ditto. @@ -33545,7 +38432,7 @@ (complex_vars_of_mule_charset): Synced charsets. * mule-charset.h: Removed leading byte (uses id instead), added - short and long name. + short and long name. 1999-04-15 Hrvoje Niksic <hniksic@srce.hr> @@ -33554,7 +38441,7 @@ 1999-04-08 Olivier Galibert <galibert@pobox.com> * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859 - and -ascii fonts for displaying ascii instead of iso8859-1 only. + and -ascii fonts for displaying ascii instead of iso8859-1 only. 1998-12-14 Hrvoje Niksic <hniksic@srce.hr> @@ -33567,9 +38454,9 @@ (user_name_completion): Use xmalloc/xrealloc/xfree. (user_name_completion): Use DO_REALLOC. (user_name_completion): Cut down the number of static variables; - use a structure. + use a structure. (user_name_completion): Username completion is always - case-sensitive. + case-sensitive. 1998-12-06 Hrvoje Niksic <hniksic@srce.hr> @@ -33588,7 +38475,7 @@ (Fbase64_encode_region): If buffer is read-only, bail out early. (Fbase64_decode_region): Ditto. (Fbase64_encode_region): Initialize SPECCOUNT to pacify the - compiler. + compiler. (Fbase64_encode_string): Ditto. (Fbase64_decode_region): Ditto. (Fbase64_decode_string): Ditto. @@ -33604,13 +38491,13 @@ 1999-03-05 Philip Aston <philipa@parallax.co.uk> * device-msw.c: Fix DEFVAR format - Death to phantom quote, and - add magic newline. + add magic newline. 1999-03-05 Philip Aston <philipa@parallax.co.uk> * toolbar-msw.c Consider captions when deciding whether to rebuild - toolbar. This fixes the initial toolbar display for those of us - who don't like captions. These patches applied by Andy Piper. + toolbar. This fixes the initial toolbar display for those of us + who don't like captions. These patches applied by Andy Piper. 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org> @@ -33914,7 +38801,7 @@ 1999-03-02 Andy Piper <andy@xemacs.org> * event-stream.c (init_event_stream): make sure native mswindows - gets an appropriate event loop. + gets an appropriate event loop. 1999-02-22 Andy Piper <andy@xemacs.org> @@ -33966,7 +38853,7 @@ 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu> * process-nt.c (nt_send_process): - Fix for process-send-region/process-send-string breaking when size + Fix for process-send-region/process-send-string breaking when size of the input > 128 chars: change maximum chunk size for process stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer succeeds. @@ -33992,15 +38879,15 @@ * glyphs-msw.c: add xface support. (mswindows_xface_instantiate): new function copied from glyphs-x.c (image_instantiator_format_create_glyphs_mswindows): do device - specific initialisation for xfaces. + specific initialisation for xfaces. (xbm_create_bitmap_from_data): line data must be padded to a word - boundary. + boundary. * glyphs-x.c (xface_validate): moved to glyphs.c (xface_normalize): ditto. (xface_possible_dest_types): ditto. (image_instantiator_format_create_glyphs_x): do device specific - initialisation for xfaces. + initialisation for xfaces. * glyphs.h: declare xface symbol. @@ -34009,7 +38896,7 @@ (xface_normalize): ditto. (xface_possible_dest_types): ditto. (image_instantiator_format_create): xface declarations moved from - glyphs-x.c. + glyphs-x.c. 1999-01-14 Adrian Aichner <adrian@xemacs.org> @@ -34034,12 +38921,12 @@ 1999-01-12 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_update_line): backout change that - shouldn't have gone ine. + shouldn't have gone ine. 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may - collide with ldap.el + collide with ldap.el 1999-01-11 Andy Piper <andy@xemacs.org> @@ -34051,15 +38938,15 @@ (mswindows_output_display_block): ditto. * redisplay-output.c (redisplay_output_display_block): new - function. just call the devmeth, maybe insert some generic code - here later. + function. just call the devmeth, maybe insert some generic code + here later. (compare_display_blocks): use it. (output_display_line): ditto. (redisplay_unmap_subwindows_maybe): new function. potentially - unmap subwindows in the given area. + unmap subwindows in the given area. * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are - resetting. + resetting. 1999-01-10 J. Kean Johnston <jkj@sco.com> @@ -34146,26 +39033,26 @@ 1998-12-18 Jim Radford <radford@robby.caltech.edu> * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions - so that packages that distribute their own fonts can access them. + so that packages that distribute their own fonts can access them. 1998-12-28 Andy Piper <andy@xemacs.org> * glyphs-msw.c (mswindows_button_instantiate): cope with buttons - that have an image provided. + that have an image provided. * glyphs.h: add Q_image decl. * glyphs-widget.c new functionality allowing images in - widgets. - (check_valid_glyph_or_image): new function to validate - glyphs passed in through :image. + widgets. + (check_valid_glyph_or_image): new function to validate + glyphs passed in through :image. (widget_normalize): new function. convert :image parameters into - real glyphs if not already so. + real glyphs if not already so. (widget_instantiate_1): mess with size parameters to be similar to - :image if provided. + :image if provided. (syms_of_glyphs_widget): new keyword :image. (image_instantiator_format_create_glyphs_widget): normalize - buttons and allow :image. + buttons and allow :image. 1998-12-27 Andy Piper <andy@xemacs.org> @@ -34176,22 +39063,22 @@ (check_valid_symbol): as it sounds. (check_valid_string_or_vector): ditto. (widget_validate): modified for descriptors that are vectors or - sequences of keyword/val pairs. + sequences of keyword/val pairs. (widget_instantiate_1): ditto. (image_instantiator_format_create_glyphs_widget): allow gui_item - keywords in the instantiator. + keywords in the instantiator. * gui.c (gui_parse_item_keywords_internal): renamed from - gui_parse_item_keywords but taking error behaviour. + gui_parse_item_keywords but taking error behaviour. (gui_parse_item_keywords): use it. (gui_parse_item_keywords_no_errors): ditto. (gui_item_add_keyval_pair): add Error_behavior flag and only - signal invalid keywords if required. + signal invalid keywords if required. * gui.h: new gui signatures. * menubar.c (menu_parse_submenu_keywords): use new - gui_item_add_keyval_pair signature. + gui_item_add_keyval_pair signature. * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings. @@ -34304,7 +39191,7 @@ 1998-12-22 Andy Piper <andy@xemacs.org> * redisplay-output.c (redisplay_clear_region): make sure that - fg/bg colors get set even when we are in the border area. + fg/bg colors get set even when we are in the border area. 1998-12-13 Martin Buchholz <martin@xemacs.org> @@ -34510,22 +39397,22 @@ (widget_set_property): ditto. * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well - as setting the class cursor so that GC actually changes the - cursor. + as setting the class cursor so that GC actually changes the + cursor. * config.h: don't undef MAIL_USE_POP. 1998-12-13 Andy Piper <andy@xemacs.org> * glyphs-msw.c - (image_instantiator_format_create_glyphs_mswindows): line -> - label. + (image_instantiator_format_create_glyphs_mswindows): line -> + label. (mswindows_label_instantiate): ditto. Play with window flags. (image_instantiator_format_create_glyphs_mswindows): ditto. (vars_of_glyphs_mswindows): provide Qlabel as we support it now. * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to - cope with lines and labels. + cope with lines and labels. (static_instantiate): use widget_instantiate_1. line -> label. (image_instantiator_format_create_glyphs_widget): ditto. @@ -34537,21 +39424,21 @@ 1998-12-10 Andy Piper <andy@xemacs.org> * gui.c: adjust defines of HAVE_POPUPS so that we can build with - no window system. + no window system. 1998-12-09 Andy Piper <andy@xemacs.org> * glyphs.c (finalize_image_instance): mark glyphs changed when an - image instance is removed so that the subwindow cache gets reset - and thus destroyed images get GC'd. + image instance is removed so that the subwindow cache gets reset + and thus destroyed images get GC'd. 1998-12-08 Andy Piper <andy@xemacs.org> * gui-msw.c (mswindows_handle_gui_wm_command): call - MARK_SUBWINDOWS_CHANGED. + MARK_SUBWINDOWS_CHANGED. * glyphs-msw.c (mswindows_finalize_image_instance): make sure - subwindows really get deleted. + subwindows really get deleted. * redisplay.c: new variable subwindows_changed[_set]. (redisplay_window): use it. @@ -34560,7 +39447,7 @@ (redisplay_without_hooks): ditto. * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for - subwindows redisplay as per glyphs equivalent. + subwindows redisplay as per glyphs equivalent. * redisplay.h: ditto. (MARK_SUBWINDOWS_CHANGED): ditto. (RESET_CHANGED_SET_FLAGS): ditto. @@ -34569,55 +39456,55 @@ 1998-12-07 Andy Piper <andy@xemacs.org> * frame.c (Fmake_frame): reset subwindow cachels on non-stream - frames. + frames. * redisplay.c (redisplay_frame): invalidate subwindow cachels. * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* - messages and paint widget glyphs as appropriate with their face fg - & bg. + messages and paint widget glyphs as appropriate with their face fg + & bg. 1998-12-06 Andy Piper <andy@xemacs.org> * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types - here rather than in glyphs-widget - do this because we only want - to provide what is really available. + here rather than in glyphs-widget - do this because we only want + to provide what is really available. * glyphs.c (Fimage_instance_property): new function to get the - properties of image instances. wires through to console specific - methods and then to widget specific methods. + properties of image instances. wires through to console specific + methods and then to widget specific methods. (Fset_image_instance_property): ditto but for setting widget properties. (check_valid_face): make extern so that it can be used elsewhere. * glyphs-widget.c (widget_property): new function. gets the - properties of widgets in general and wires the function through to - widget specific ones. + properties of widgets in general and wires the function through to + widget specific ones. (widget_set_property): ditto but for setting widget properties. * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to - add items to the list. Play with window styles a bit to get the - desired effect. + add items to the list. Play with window styles a bit to get the + desired effect. (mswindows_widget_property): break out specific widget properties. (mswindows_button_property): new function. gets the checked state - of a button. + of a button. (mswindows_combo_property): new function. gets the current - selection in the combo box. + selection in the combo box. (mswindows_widget_set_property): new function. sets specific - properties of specific widgets. + properties of specific widgets. * glyphs-widget.c (check_valid_item_list): new function. check - that items for a combo-box are just a list of strings. + that items for a combo-box are just a list of strings. (combo_validate): new function. check there is an item list. (widget_instantiate_1): new function. renamed from - widget_instantiate so that we can do slightly different things for - other widgets. + widget_instantiate so that we can do slightly different things for + other widgets. (widget_instantiate): call widget_instantiate_1. (combo_instantiate): new function to instantiate combo boxes, - defaults height to the pixel height of the number of items in the - box. + defaults height to the pixel height of the number of items in the + box. (syms_of_glyphs_widget): move widget keywords here. (image_instantiator_format_create_glyphs_widget): use new combo - functions. + functions. 1998-12-04 Andy Piper <andy@xemacs.org> @@ -34632,117 +39519,117 @@ (mswindows_widget_set_property): ditto. * redisplay-output.c (redisplay_output_subwindow): don't show - subwindows if they are obscured at the edge of the frame, emacs - gets into some sort of redisplay loop otherwise. + subwindows if they are obscured at the edge of the frame, emacs + gets into some sort of redisplay loop otherwise. * gui.h: prototype gui_item_selected_p. * gui.c (gui_item_selected_p): new function to determine the - selected state of a gui_item. + selected state of a gui_item. * frame.h (struct frame): add subwindows_changed flag. * redisplay.c (redisplay_frame): call update_frame_subwindows (). * glyphs.c (update_subwindow): new function to update a - subwindow's state. + subwindow's state. (update_frame_subwindows): new function to update all the - subwindows on a frame. + subwindows on a frame. * console.h (struct console_methods): add update_subwindow. * glyphs-msw.c (mswindows_widget_property): return selected state - for selected property. + for selected property. (mswindows_update_subwindow): new function. updates widget glyphs - in redisplay as per menubars or toolbars e.g. selected state. + in redisplay as per menubars or toolbars e.g. selected state. (console_type_create_glyphs_mswindows): add update_subwindow. 1998-12-03 Andy Piper <andy@xemacs.org> * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since - tty coding system things are such. + tty coding system things are such. * glyphs-widget.c (widget_face_font_info): new function for - pulling out height and width metrics for a widget's face. + pulling out height and width metrics for a widget's face. (widget_text_to_pixel_conversion): calculate pixel sizes of text - for widgets. + for widgets. * event-msw.c (mswindows_drain_windows_queue): translate messages - that are destined for subwindows. This makes edit fields interact - with the keyboard correctly. + that are destined for subwindows. This makes edit fields interact + with the keyboard correctly. nuke warnings by #ifndef'ing out stuff not required by msg select(). * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new - macro defining the iiforma without the symbol required by widget. + macro defining the iiforma without the symbol required by widget. (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it. * general.c (syms_of_general): add Qwidget, Qselected. * faces.c (complex_vars_of_faces): add widget face inheriting from - gui-element face. + gui-element face. 1998-11-09 Andy Piper <andy@xemacs.org> * window.h (struct window): add a cache of subwindows on a - per-window basis. + per-window basis. * window.c (mark_window): mark the subwindow_instance_cache. (allocate_window): initialise the subwindow instance_cache. * toolbar-x.c (x_output_toolbar): call redisplay_clear_region - instead of the devmeth. + instead of the devmeth. (x_clear_toolbar): ditto. * redisplay-x.c (x_output_display_block): call - redisplay_output_subwindow for subwindows and widgets. + redisplay_output_subwindow for subwindows and widgets. * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to - types to do nothing for. + types to do nothing for. * lisp.h: declare new widget/subwindow symbols. * glyphs.c (image_instantiate): cache subwindows on a per-window - basis. + basis. (subwindow_possible_dest_types): new function for subwindow dest - types. + types. (subwindow_instantiate): generic instantiation of a - subwindow. specialised by device multi-methods. + subwindow. specialised by device multi-methods. (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based - subwindows. + subwindows. (Fimage_instance_subwindow_id): ditto. (Fresize_subwindow): ditto. (Fforce_subwindow_map): ditto. * glyphs-x.c (x_print_image_instance): remove subwindow - stuff. Handled genrically in glyphs.c. + stuff. Handled genrically in glyphs.c. (x_image_instance_equal): ditto. (x_image_instance_hash): ditto. (x_finalize_image_instance): delete subwindows when required. (mark_subwindow) (print_subwindow) (finalize_subwindow) - (subwindow_hash) (Fmake_subwindow): deleted because of new, - glyph-based, subwindow implementation. + (subwindow_hash) (Fmake_subwindow): deleted because of new, + glyph-based, subwindow implementation. (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased - in glyphs.el + in glyphs.el (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to - glyphs.c. + glyphs.c. (x_unmap_subwindow): new function to unmap X subwindows. (x_map_subwindow): new function to map X subwindows. (x_subwindow_instantiate): new function to instantiate X - subwindows. + subwindows. (x_resize_subwindow): new function to resize X subwindows. (console_type_create_glyphs_x): add subwindow functions. (image_instantiator_format_create_glyphs_x): add device - multi-methods for xpm, xbm and subwindow. + multi-methods for xpm, xbm and subwindow. * glyphs.el (subwindow-xid): old alias for new subwindow functions. (subwindow-width): ditto. (subwindow-height): ditto. * glyphs-msw.c (mswindows_widget_instantiate): new function for - generally instantiating ms subwindows. Used by - mswindows_*_instantiate. + generally instantiating ms subwindows. Used by + mswindows_*_instantiate. (mswindows_edit_instantiate): instantiate an edit field on a - mswindows frame. + mswindows frame. 1998-11-04 Andy Piper <andy@xemacs.org> @@ -34751,65 +39638,65 @@ * redisplay.h: declare new functions. * redisplay-x.c (x_output_display_block): call - redisplay_clear_region rather than x_clear_region. + redisplay_clear_region rather than x_clear_region. (x_output_string): ditto. (x_output_pixmap): ditto. (x_clear_to_window_end): ditto. (x_output_eol_cursor): ditto. (x_clear_region): only do X specific things. other duties handled - in redisplay_clear_region. + in redisplay_clear_region. * redisplay-tty.c (tty_clear_region): do tty specific things - some - duties moved to redisplay_clear_region. + duties moved to redisplay_clear_region. * redisplay-output.c (clear_left_border): use - redisplay_clear_region instead of device method. + redisplay_clear_region instead of device method. (clear_right_border): ditto. (output_display_line): ditto. (redisplay_output_subwindow): ditto. (redisplay_clear_top_of_window): ditto. (redisplay_clear_region): perform duties previously handled by - device methods. call the appropriate device method at the - end. unmap subwindows if necessary. + device methods. call the appropriate device method at the + end. unmap subwindows if necessary. * redisplay-msw.c (mswindows_output_string): use - redisplay_clear_region instead of mswindows_clear_region. + redisplay_clear_region instead of mswindows_clear_region. (mswindows_clear_to_window_end): ditto. (mswindows_output_display_block): output subwindows when required. (mswindows_clear_region): only do mswindows specific things, - everything else is now handled in redisplay_clear_region. + everything else is now handled in redisplay_clear_region. * gui.h: add item id hash defines and declare function prototypes. * gui.c (mark_gui_item): new function for marking gui_items. (gui_item_hash): generic hash function for generating command ids - for gui_items. + for gui_items. * gui-msw.c: new file. (mswindows_handle_gui_wm_command): new function to handle widget - callbacks. + callbacks. * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device - multi-methods. + multi-methods. (IIFORMAT_HAS_SHARED_METHOD): ditto. (DEFINE_DEVICE_IIFORMAT): ditto. (INITIALIZE_DEVICE_IIFORMAT): ditto. (struct Lisp_Image_Instance): add widget and subwindow data plus - appropriate access functions. + appropriate access functions. * glyphs.c (decode_device_ii_format): new function for decoding - image instantiator functions based on a device type as well as an - image format. + image instantiator functions based on a device type as well as an + image format. (decode_image_instantiator_format): just call - decode_device_ii_format with nil device. + decode_device_ii_format with nil device. (add_entry_to_device_ii_format_list): new function for per device - method instances. + method instances. (add_entry_to_image_instantiator_format_list): just call - add_entry_to_device_ii_format_list with nil device. + add_entry_to_device_ii_format_list with nil device. (check_valid_vector): new function. (instantiate_image_instantiator): instantiate using per-format - method and then per-format-per-device method (device - multi-methods). signal an error if neither is possible. + method and then per-format-per-device method (device + multi-methods). signal an error if neither is possible. (mark_image_instance): cope with subwindows and widgets. (print_image_instance): ditto. (image_instance_equal): ditto. @@ -34819,83 +39706,83 @@ (glyph_height_internal): ditto. (xpm_instantiate): removed because of device multi-methods. (mark_subwindow_cachels): new cachel functions for caching - instantiated subwindows on a per-frame basis. mostly copied from - glyph cachel functions. + instantiated subwindows on a per-frame basis. mostly copied from + glyph cachel functions. (update_subwindow_cachel_data): ditto. (add_subwindow_cachel): ditto. (get_subwindow_cachel_index): ditto. (reset_subwindow_cachels): ditto. (mark_subwindow_cachels_as_not_updated): ditto. (unmap_subwindow): generic unmapping of subwindows based on cachel - data. + data. (map_subwindow): ditto. (initialize_subwindow_image_instance): generic initialisation of - subwindow data. + subwindow data. (syms_of_glyphs): add widget keywords. * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to - x_subwindow_data. + x_subwindow_data. 1998-11-04 Andy Piper <andy@xemacs.org> * glyphs-widget.c: new file for instantiating widget type glyphs. (widget_possible_dest_types): new general dest type function for - widgets. + widgets. (widget_validate): ditto. (initialize_widget_image_instance): ditto (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing - before handing on control to device multi-methods. + before handing on control to device multi-methods. (syms_of_glyphs_widget): new function. (image_instantiator_format_create_glyphs_widget): new function, - added placeholders for button, edit, combo, scrollbar + added placeholders for button, edit, combo, scrollbar (vars_of_glyphs_widget): new function. * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for - storing window ids of widgets. + storing window ids of widgets. * glyphs-msw.c (mswindows_finalize_image_instance): cope with - deletion of widget and subwindow glyphs. + deletion of widget and subwindow glyphs. (mswindows_unmap_subwindow): new device function for unmapping - subwindows on a msw frame. + subwindows on a msw frame. (mswindows_map_subwindow): ditto. (mswindows_register_image_instance): register instantiated widgets - with the widget hashtable. + with the widget hashtable. (mswindows_button_instantiate): instantiate a button type widget - on an msw frame. + on an msw frame. (mswindows_subwindow_instantiate): instanttiate a subwindow on a - mswindows frame. + mswindows frame. (image_instantiator_format_create_glyphs_mswindows): add device - multi-methods for xbm, xpm, subwindow, edit and button. + multi-methods for xbm, xpm, subwindow, edit and button. * frame.h (struct frame): add subwindow_cachels dynarr for caching - information about subwindows visible on the current frame. used by - redisplay_clear_region to unmap subwindows as required. + information about subwindows visible on the current frame. used by + redisplay_clear_region to unmap subwindows as required. * frame.c (mark_frame): mark subwindow_cachels. (allocate_frame_core): instantiate subwindow_cachels. * frame-msw.c (mswindows_init_frame_1): instntiate and mark the - widget hashtable. + widget hashtable. * event-msw.c (mswindows_wnd_proc): add call to - mswindows_handle_gui_wm_command to handle widget callbacks. + mswindows_handle_gui_wm_command to handle widget callbacks. * emacs.c (main_1): add calls to glyphs-widget initialisation - routines. + routines. * console.h (struct console_methods): add - unmap/map_subwindow_method for use be redisplay_clear_region to - map and unmap subwindows. Remove xpm and xbm stuff - now dealt - with by image instantiator multi-methods. Add - resize_subwindow_method. + unmap/map_subwindow_method for use be redisplay_clear_region to + map and unmap subwindows. Remove xpm and xbm stuff - now dealt + with by image instantiator multi-methods. Add + resize_subwindow_method. * console-stream.c (stream_clear_region): change signature to - match new generic clear region function. + match new generic clear region function. * Makefile.in.in: add glyphs-widget.o to list of objects. * console-msw.h (struct mswindows_frame): add widget hashtable for - wiring command ids to callbacks. + wiring command ids to callbacks. 1998-12-16 Andy Piper <andy@xemacs.org> @@ -34959,7 +39846,7 @@ 1998-12-09 Andy Piper <andy@xemacs.org> * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use - XSETINT for assigning lisp objects. + XSETINT for assigning lisp objects. 1998-12-07 Martin Buchholz <martin@xemacs.org> @@ -34989,7 +39876,7 @@ 1998-12-09 Andy Piper <andy@xemacs.org> * menubar-msw.c (mswindows_handle_wm_command): add back in checks - that got removed in the merge + that got removed in the merge 1998-11-30 Greg Klanderman <greg@alphatech.com> @@ -35955,7 +40842,7 @@ * config.h.in: ditto. * s/cygwin32.h: rearrange declarations to cope with cygwin - b20. Include cygwin32/version.h if it exists. + b20. Include cygwin32/version.h if it exists. 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> @@ -36108,7 +40995,7 @@ 1998-08-28 Hrvoje Niksic <hniksic@srce.hr> * event-Xt.c (emacs_Xt_mapping_action): Check for device being - deleted. + deleted. (x_event_to_emacs_event): Ditto. (emacs_Xt_handle_focus_event): Ditto. (emacs_Xt_handle_magic_event): Ditto. @@ -36162,7 +41049,7 @@ 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> * undo.c (undo_prelude): Test last-undo-buffer against base - buffer. + buffer. * insdel.c (MAP_INDIRECT_BUFFERS): Use it. @@ -36283,7 +41170,7 @@ 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp> * glyphs-eimage.c (png_instantiate): Add proper handling for background - colors taken from the default face. Also correct a thinko in + colors taken from the default face. Also correct a thinko in transparency (not alpha) handling. 1998-07-23 Martin Buchholz <martin@xemacs.org> @@ -36736,7 +41623,7 @@ 1998-06-12 Hrvoje Niksic <hniksic@srce.hr> * alloc.c (make_float): Remove useless initialization of `next' - field. + field. (make_pure_float): Ditto. * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. @@ -37092,7 +41979,7 @@ to request returning motion in pixels. (Fvertical_motion_pixels): Remove, functionality merged into Fvertical_motion. - * window.c (window_scroll): call Fvertical_motion with 3 arguments. + * window.c (window_scroll): call Fvertical_motion with 3 arguments. (Fmove_to_window_line): ditto. * lisp.h: Change declaration for Fvertical_motion. @@ -38479,7 +43366,7 @@ 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind. - Delete the stream. + Delete the stream. (Finsert_file_contents_internal): Delete STREAM after use. (Fmake_temp_name): Improve randomness of generated file names. (Fmake_temp_name): Don't initialize COUNT if in temacs. @@ -38979,7 +43866,7 @@ * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event stream tye callbacks and select() on events rather than MWFMO. - Added event handling for tooltip messages. If you have this + Added event handling for tooltip messages. If you have this special select then all process support works under cygwin. * frame-msw.c: add support for four toolbars. @@ -40835,7 +45722,7 @@ 1998-03-16 Hrvoje Niksic <hniksic@srce.hr> * lread.c: New macro, to avoid exposing an lstream to Lisp error - handlers. + handlers. (reader_nextchar): Use it. (read1): Ditto. @@ -41006,7 +45893,7 @@ angle brackets. Use RTLD_GLOBAL as an open flag if it exists. -1998-03-09 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> +1998-03-09 Martin Buchholz <martin@xemacs.org> * eldap.c (Fldap_search_internal): call garbage_collect_1 instead of Fgarbage_collect. The two are identical except the latter @@ -41173,7 +46060,7 @@ * editfns.c (Ftemp_directory): Use build_ext_string. -1998-03-02 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> +1998-03-02 Martin Buchholz <martin@xemacs.org> * symsinit.h: add prototype for syms_of_dlopen @@ -41414,8 +46301,8 @@ Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk> * Makefile.in.in: make sure clean removes msw executables. This - prevents the build stalling after puresize has been adjusted. Add - file-coding.o to list of objects. + prevents the build stalling after puresize has been adjusted. Add + file-coding.o to list of objects. * buffer.c: * buffer.h: @@ -41441,15 +46328,15 @@ * file-coding.h: * file-coding.c: new files. copies of mule-coding.h and - mule-coding.c. The mule case is unchanged. The non-mule case - removes coding relating to other charsets - iso2022, big5, sjis, - ccl. (setup_eol_coding_systems) add the eol type to the subsidiary - coding system mnemonics so that it shows on the modeline, - currently (B) for unix style (T) for mac and dos styles. + mule-coding.c. The mule case is unchanged. The non-mule case + removes coding relating to other charsets - iso2022, big5, sjis, + ccl. (setup_eol_coding_systems) add the eol type to the subsidiary + coding system mnemonics so that it shows on the modeline, + currently (B) for unix style (T) for mac and dos styles. * fileio.c: remove #ifdef MULE's from stuff that relates to - file-coding. include file-coding.h rather than mule-coding.h where - applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is + file-coding. include file-coding.h rather than mule-coding.h where + applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is always on. * sheap.c: (more_static_core) remove spurious \n's from error @@ -41473,7 +46360,7 @@ 1998-02-21 Greg Klanderman <greg@alphatech.com> * device-x.c (x_init_device): allow `x-emacs-application-class' to - be nil prior to connecting to the X server. When this is the + be nil prior to connecting to the X server. When this is the case, the application class is chosen based on whether the user has any resources with application class `XEmacs' set in the resource database. @@ -41591,7 +46478,7 @@ 1998-02-18 Didier Verna <didier@xemacs.org> * redisplay.c: - (generate_formatted_string_db): new flag to distinguish a modeline + (generate_formatted_string_db): new flag to distinguish a modeline string from a title or icon one, plus use a negative first pos to indicate the modeline hscroll amount. (add_string_to_fstring_db_runes): completely rewrote this function @@ -41949,7 +46836,7 @@ * device-msw.c: * event-msw.c: - * frame-msw.c: + * frame-msw.c: Added file-based drag and drop support. The "System/Open" DDE command is also implemented as if it were a drag and drop operation. @@ -41997,7 +46884,7 @@ the code. * mule-ccl.c (ccl_driver): Set initial values of variables to shut up - the compiler and to give better error message if a quit happens before + the compiler and to give better error message if a quit happens before any ccl_code is generated. 1998-01-28 SL Baur <steve@altair.xemacs.org> @@ -42215,12 +47102,12 @@ 1998-01-12 Hrvoje Niksic <hniksic@srce.hr> * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a - Dynarr. + Dynarr. 1998-01-13 Hrvoje Niksic <hniksic@srce.hr> * profile.c (vars_of_profile): New variable - `call-count-profile-table'. + `call-count-profile-table'. (Fclear_profiling_info): Clear call-count-profile-table. * eval.c (funcall_recording_as): Use it. @@ -42308,10 +47195,10 @@ 1998-01-08 Andy Piper <andyp@parallax.co.uk> * lread.c: guess load path if its not set just like the dumped - version does. + version does. * doc.c: guess doc path if its not set just like the dumped - version does + version does Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk> @@ -42628,7 +47515,7 @@ * abbrev.c (Fexpand_abbrev): Ditto. * dired.c (file_name_completion): Use Qzero instead of - make_int(0). + make_int(0). * fileio.c (Finsert_file_contents_internal): Use report_file_error() to report reading error. @@ -42638,7 +47525,7 @@ FSF 20.2. * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF - 20.2. + 20.2. 1997-12-16 Hrvoje Niksic <hniksic@srce.hr> @@ -42661,7 +47548,7 @@ 1997-12-15 Hrvoje Niksic <hniksic@srce.hr> * fileio.c (Finsert_file_contents_internal): Use make_int when - checking for overflow. + checking for overflow. (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP. (Ffind_file_name_handler): Ditto. @@ -42742,7 +47629,7 @@ * msw-proc.c: added emulation for middle mouse button by chording left and right buttons * event-msw.c: added lisp variables for resize behavior and middle - button emulation thresholds + button emulation thresholds * msw-proc.c: {un}map-frame-hook now are not called directly from the window procedure, rather from magic event handler. * Formulated golden rule for calling lisp from window procedure: @@ -42780,7 +47667,7 @@ 1997-12-12 Hrvoje Niksic <hniksic@srce.hr> * callint.c (quotify_arg): Don't quotify vectors, keywords, - bit-vectors and lambdas. + bit-vectors and lambdas. (Fquote_maybe): New subr, from quotify_arg. (quotify_args): Use it. (Fcall_interactively): Ditto. @@ -42801,15 +47688,15 @@ (pixmap_to_lisp_data): Ditto for Fbuffer_substring. * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer() - when calling functions that use decode_buffer() internally -- it - is faster. + when calling functions that use decode_buffer() internally -- it + is faster. Change done for Fgoto_char, Fchar_after, Ffollowing_char, - Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp, - Fforward_char, Fforward_word, Fskip_chars_forward, - Fskip_chars_backward, Fforward_line, Fbuffer_substring, - Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase - and Fdowncase. + Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp, + Fforward_char, Fforward_word, Fskip_chars_forward, + Fskip_chars_backward, Fforward_line, Fbuffer_substring, + Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase + and Fdowncase. 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru> @@ -42941,7 +47828,7 @@ 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk> * event-msw.c, faces.c, msw-proc.c: - Frame resizing happens in multiples of the default character size. + Frame resizing happens in multiples of the default character size. * frame-msw.c: mswindows_set_frame_size() and mswindows_set_frame_properties() now call AdjustWindowRect to @@ -42976,7 +47863,7 @@ menubars are used. * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to - #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF + #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF around code for incremental menu build. * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in @@ -43003,7 +47890,7 @@ 1997-12-01 Hrvoje Niksic <hniksic@srce.hr> * cmdloop.c (default_error_handler): Respect - errors-deactivate-region; use display-error. + errors-deactivate-region; use display-error. * editfns.c (vars_of_editfns): New variable user-full-name. (init_editfns): Initialize it. @@ -43011,7 +47898,7 @@ (vars_of_editfns): Docfixes. * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of - FORMAT_BINARY. + FORMAT_BINARY. (make_directory_hash_table): Ditto. (file_name_completion): Bind `completion-ignore-case' to t under MS Windows. @@ -43021,7 +47908,7 @@ 1997-11-30 Hrvoje Niksic <hniksic@srce.hr> * doc.c (Fsubstitute_command_keys): Don't use - Vprin1_to_string_buffer. + Vprin1_to_string_buffer. * keymap.c (describe_map_tree): Accept a BUFFER argument. (describe_map): Ditto. @@ -43034,7 +47921,7 @@ (signal_after_change): Ditto. * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer - specially. + specially. (complex_vars_of_buffer): Ditto. * print.c (Ferror_message_string): Use Vprin1_to_string_stream. @@ -43068,7 +47955,7 @@ (file_name_completion): Allow errors. * line-number.c (invalidate_line_number_cache): Would lose in - precence of Finsert_before_markers. + precence of Finsert_before_markers. (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty. (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand. (buffer_line_number): Would ignore LINE_NUMBER_FAR. @@ -43248,7 +48135,7 @@ 1997-11-19 Didier Verna <didier@xemacs.org> * emacs.c (main_1): Added the missing argmatch call to check - for the '-h' option. + for the '-h' option. 1997-11-18 SL Baur <steve@altair.xemacs.org> @@ -43434,10 +48321,10 @@ * mule-charset.c: Added preliminary support for charset Ids. * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2 - ccl API. + ccl API. * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl - API. + API. * mule-coding.c: Synched with FSF 20.2 ccl API. @@ -43576,7 +48463,7 @@ * redisplay.c (window_line_number): Restored. * line-number.c (allocate_line_number_cache): Account for - narrowing. + narrowing. (buffer_line_number): New function. * line-number.c (get_nearest_line_number): New function. @@ -43592,7 +48479,7 @@ (save_restriction_restore): Ditto. * insdel.c (buffer_insert_string_1): Invalidate cache for - insertion. + insertion. (buffer_delete_range): Invalidate cache for deletion. * line-number.c: New file. @@ -43698,7 +48585,7 @@ * events.c (Fevent_modeline_position): Return nil if event is not over modeline, as the docstring says. -1997-11-05 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> +1997-11-05 Martin Buchholz <martin@xemacs.org> * s/aix3-1.h: Remove ^L character wich confuses AIX make. @@ -43811,14 +48698,14 @@ * dired.c (make_directory_hash_table): Ditto. * fileio.c (Ffile_truename): Use `make_ext_string' instead of - `make_string'. + `make_string'. 1997-11-01 Hrvoje Niksic <hniksic@srce.hr> * database.c (CONCHECK_DATABASE): Define. * dired.c (Fdirectory_files): Use `make_ext_string' instead of - `make_string', to avoid crashes under Mule. + `make_string', to avoid crashes under Mule. (file_name_completion): Use `make_ext_string'. * database.c (new_database): Renamed to `allocate_database', as @@ -43845,7 +48732,7 @@ 1997-11-01 Hrvoje Niksic <hniksic@srce.hr> * fileio.c (Finsert_file_contents_internal): Fix misleading - comment. + comment. 1997-10-31 Kyle Jones <kyle_jones@wonderworks.com> @@ -44172,7 +49059,7 @@ 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections - are supported since unexelfsgi.c upgrade. + are supported since unexelfsgi.c upgrade. 1997-10-16 Kyle Jones <kyle_jones@wonderworks.com> @@ -44213,7 +49100,7 @@ 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding - DEFUN_n macros. + DEFUN_n macros. 1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> @@ -44385,7 +49272,7 @@ 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com> * fns.c: Add some cross references between destructive and - non-destructive versions of similar functions. + non-destructive versions of similar functions. Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com> @@ -44476,10 +49363,10 @@ (stream_canonicalize_console_connection): Ditto. * fns.c (Fmember): Use internal_equal, to avoid a necessary - funcall and NILP check. + funcall and NILP check. (Fold_member): Ditto for internal_old_equal. (Fassoc): Use XCAR when we know we deal with a cons. Use - internal_equal. Removed tem. + internal_equal. Removed tem. (Fold_assoc): Ditto. (Fassq): Use XCAR. (Frassoc): Use internal_equal; remove tem. @@ -44640,7 +49527,7 @@ 1997-09-10 Hrvoje Niksic <hniksic@srce.hr> * event-stream.c (inhibit_input_event_recording): New boolean - variable. + variable. (Fnext_event): Use it. 1997-09-13 Hrvoje Niksic <hniksic@srce.hr> @@ -44735,7 +49622,7 @@ 1997-07-25 P E Jareth Hein <jareth@camelot-soft.com> * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug - where a possibly MULEified string was getting freed before use. + where a possibly MULEified string was getting freed before use. 1997-07-21 SL Baur <steve@altair.xemacs.org> @@ -44771,7 +49658,7 @@ 1997-07-10 Hrvoje Niksic <hniksic@srce.hr> * fileio.c (Finsert_file_contents_internal): Handle non-regular - files. + files. 1997-07-12 Steven L Baur <steve@altair.xemacs.org> @@ -44957,7 +49844,7 @@ 1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> - * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c: + * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c: Make 64 bit clean. 1997-06-19 Martin Buchholz <mrb@eng.sun.com> @@ -45260,8 +50147,8 @@ Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com> * frame.c (change_frame_size_1): - Drop code that returns immediately if the old frame - size is equal to the new. + Drop code that returns immediately if the old frame + size is equal to the new. Leave the minibuffer height the same if the frame has been initialized, and the minibuffer height is tall enough to display at least one line of text in the default @@ -45292,13 +50179,13 @@ 1997-05-21 Steven L Baur <steve@altair.xemacs.org> * editfns.c (format-time-string): Update DOCstring. Make time - parameter optional. + parameter optional. Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com> * insdel.c (signal_first_change): - record the current buffer for the unwind instead of the - buffer that's about to become the current buffer. + record the current buffer for the unwind instead of the + buffer that's about to become the current buffer. Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org> @@ -45415,7 +50302,7 @@ * menubar-x.c (pre_activate_hook): set in_menu_callback around call to call to - menu_item_descriptor_to_widget_value. + menu_item_descriptor_to_widget_value. * event-stream.c (Fnext_event): signal error if in_menu_callback non-nil to avoid @@ -45482,8 +50369,8 @@ Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM> * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all - image *_instantiate functions so that the domsin is available to - specifier lookups in the various instantiator functions. Passed + image *_instantiate functions so that the domsin is available to + specifier lookups in the various instantiator functions. Passed domain argument to extract_xpm_color_names for the Fspecifier_instance call. @@ -45529,7 +50416,7 @@ Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu> * xmu.c: Renamed local `initialized' variable to `hex_initialized' - and don't assign to static, as some compilers crash. + and don't assign to static, as some compilers crash. (initHexTable): Use it. (XmuReadBitmapData): Use it. @@ -45671,7 +50558,7 @@ (POP_BACKTRACE): Ditto. * eval.c (Fcommand_execute): Use them and fix problem with - backtrace_list build ordering requirements for profiling code. + backtrace_list build ordering requirements for profiling code. (Feval): Ditto. (funcall_recording_as): Ditto. @@ -45711,7 +50598,7 @@ the buffer. * insdel.c (prepare_to_modify_buffer): GC protect against - lock_file() killing the buffer. + lock_file() killing the buffer. Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org> @@ -45753,7 +50640,7 @@ Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu> * fileio.c (Fdo_auto_save): Protect against file handlers which - may kill the buffer being saved or otherwise modify Vbuffer_alist. + may kill the buffer being saved or otherwise modify Vbuffer_alist. Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org> @@ -45802,7 +50689,7 @@ Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org> * minibuf.c (regexp_ignore_completion_p): Reverse meaning of - completion-regexp-list. + completion-regexp-list. Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org>