Mercurial > hg > xemacs-beta
view lwlib/ChangeLog @ 2367:ecf1ebac70d8
[xemacs-hg @ 2004-11-04 23:05:23 by ben]
commit mega-patch
configure.in: Turn off -Winline and -Wchar-subscripts.
Use the right set of cflags when compiling modules.
Rewrite ldap configuration to separate the inclusion of lber
(needed in recent Cygwin) from the basic checks for the
needed libraries.
add a function for MAKE_JUNK_C; initially code was added to
generate xemacs.def using this, but it will need to be rewritten.
add an rm -f for junk.c to avoid weird Cygwin bug with cp -f onto
an existing file.
Sort list of auto-detected functions and eliminate unused checks for
stpcpy, setlocale and getwd.
Add autodetection of Cygwin scanf problems
BETA: Rewrite section on configure to indicate what flags are important
and what not.
digest-doc.c, make-dump-id.c, profile.c, sorted-doc.c: Add proper decls for main().
make-msgfile.c: Document that this is old junk.
Move proposal to text.c.
make-msgfile.lex: Move proposal to text.c.
make-mswin-unicode.pl: Convert error-generating code so that the entire message will
be seen as a single unrecognized token.
mule/mule-ccl.el: Update docs.
lispref/mule.texi: Update CCL docs.
ldap/eldap.c: Mule-ize.
Use EXTERNAL_LIST_LOOP_2 instead of deleted EXTERNAL_LIST_LOOP.
* XEmacs 21.5.18 "chestnut" is released.
---------------------------------------------------------------
MULE-RELATED WORK:
---------------------------------------------------------------
---------------------------
byte-char conversion
---------------------------
buffer.c, buffer.h, insdel.c, text.c: Port FSF algorithm for byte-char conversion, replacing broken
previous version. Track the char position of the gap. Add
functions to do char-byte conversion downwards as well as upwards.
Move comments about algorithm workings to internals manual.
---------------------------
work on types
---------------------------
alloc.c, console-x-impl.h, dump-data.c, dump-data.h, dumper.c, dialog-msw.c, dired-msw.c, doc.c, editfns.c, esd.c, event-gtk.h, event-msw.c, events.c, file-coding.c, file-coding.h, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-shared.c, glyphs-x.c, glyphs.c, glyphs.h, gui.c, hpplay.c, imgproc.c, intl-win32.c, lrecord.h, lstream.c, keymap.c, lisp.h, libsst.c, linuxplay.c, miscplay.c, miscplay.h, mule-coding.c, nas.c, nt.c, ntheap.c, ntplay.c, objects-msw.c, objects-tty.c, objects-x.c, print.c, process-nt.c, process.c, redisplay.h, select-common.h, select-gtk.c, select-x.c, sgiplay.c, sound.c, sound.h, sunplay.c, sysfile.h, sysdep.c, syswindows.h, text.c, unexnt.c, win32.c, xgccache.c: Further work on types. This creates a full set of types for all
the basic semantics of `char' that I have so far identified, so that
its semantics can always be identified for the purposes of proper
Mule-safe code, and the raw use of `char' always avoided.
(1) More type renaming, for consistency of naming.
Char_ASCII -> Ascbyte
UChar_ASCII -> UAscbyte
Char_Binary -> CBinbyte
UChar_Binary -> Binbyte
SChar_Binary -> SBinbyte
(2) Introduce Rawbyte, CRawbyte, Boolbyte, Chbyte, UChbyte, and
Bitbyte and use them.
(3) New types Itext, Wexttext and Textcount for separating out
the concepts of bytes and textual units (different under UTF-16
and UTF-32, which are potential internal encodings).
(4) qxestr*_c -> qxestr*_ascii.
lisp.h: New; goes with other qxe() functions. #### Maybe goes in a
different section.
lisp.h: Group generic int-type defs together with EMACS_INT defs.
lisp.h: * lisp.h (WEXTTEXT_IS_WIDE)
New defns.
lisp.h: New type to replace places where int occurs as a boolean.
It's signed because occasionally people may want to use -1 as
an error value, and because unsigned ints are viral -- see comments
in the internals manual against using them.
dynarr.c: int -> Bytecount.
---------------------------
Mule-izing
---------------------------
device-x.c: Partially Mule-ize.
dumper.c, dumper.h: Mule-ize. Use Rawbyte. Use stderr_out not printf. Use wext_*().
sysdep.c, syswindows.h, text.c: New Wexttext API for manipulation of external text that may be
Unicode (e.g. startup code under Windows).
emacs.c: Mule-ize. Properly deal with argv in external encoding.
Use wext_*() and Wexttext. Use Rawbyte.
#if 0 some old junk on SCO that is unlikely to be correct.
Rewrite allocation code in run-temacs.
emacs.c, symsinit.h, win32.c: Rename win32 init function and call it even earlier, to
initialize mswindows_9x_p even earlier, for use in startup code
(XEUNICODE_P).
process.c: Use _wenviron not environ under Windows, to get Unicode environment
variables.
event-Xt.c: Mule-ize drag-n-drop related stuff.
dragdrop.c, dragdrop.h, frame-x.c: Mule-ize.
text.h: Add some more stand-in defines for particular kinds of conversion;
use in Mule-ization work in frame-x.c etc.
---------------------------
Freshening
---------------------------
intl-auto-encap-win32.c, intl-auto-encap-win32.h: Regenerate.
---------------------------
Unicode-work
---------------------------
intl-win32.c, syswindows.h: Factor out common options to MultiByteToWideChar and
WideCharToMultiByte. Add convert_unicode_to_multibyte_malloc()
and convert_unicode_to_multibyte_dynarr() and use. Add stuff for
alloca() conversion of multibyte/unicode.
alloc.c: Use dfc_external_data_len() in case of unicode coding system.
alloc.c, mule-charset.c: Don't zero out and reinit charset Unicode tables. This fucks up
dump-time loading. Anyway, either we load them at dump time or
run time, never both.
unicode.c: Dump the blank tables as well.
---------------------------------------------------------------
DOCUMENTATION, MOSTLY MULE-RELATED:
---------------------------------------------------------------
EmacsFrame.c, emodules.c, event-Xt.c, fileio.c, input-method-xlib.c, mule-wnnfns.c, redisplay-gtk.c, redisplay-tty.c, redisplay-x.c, regex.c, sysdep.c: Add comment about Mule work needed.
text.h: Add more documentation describing why DFC routines were not written
to return their value. Add some other DFC documentation.
console-msw.c, console-msw.h: Add pointer to docs in win32.c.
emacs.c: Add comments on sources of doc info.
text.c, charset.h, unicode.c, intl-win32.c, intl-encap-win32.c, text.h, file-coding.c, mule-coding.c: Collect background comments and related to text matters and
internationalization, and proposals for work to be done, in text.c
or Internals manual, stuff related to specific textual API's in
text.h, and stuff related to internal implementation of Unicode
conversion in unicode.c. Put lots of pointers to the comments to
make them easier to find.
s/mingw32.h, s/win32-common.h, s/win32-native.h, s/windowsnt.h, win32.c: Add bunches of new documentation on the different kinds of
builds and environments under Windows and how they work.
Collect this info in win32.c. Add pointers to these docs in
the relevant s/* files.
emacs.c: Document places with long comments.
Remove comment about exiting, move to internals manual, put
in pointer.
event-stream.c: Move docs about event queues and focus to internals manual, put
in pointer.
events.h: Move docs about event stream callbacks to internals manual, put
in pointer.
profile.c, redisplay.c, signal.c: Move documentation to the Internals manual.
process-nt.c: Add pointer to comment in win32-native.el.
lisp.h: Add comments about some comment conventions.
lisp.h: Add comment about the second argument.
device-msw.c, redisplay-msw.c: @@#### comments are out-of-date.
---------------------------------------------------------------
PDUMP WORK (MOTIVATED BY UNICODE CHANGES)
---------------------------------------------------------------
alloc.c, buffer.c, bytecode.c, console-impl.h, console.c, device.c, dumper.c, lrecord.h, elhash.c, emodules.h, events.c, extents.c, frame.c, glyphs.c, glyphs.h, mule-charset.c, mule-coding.c, objects.c, profile.c, rangetab.c, redisplay.c, specifier.c, specifier.h, window.c, lstream.c, file-coding.h, file-coding.c: PDUMP:
Properly implement dump_add_root_block(), which never worked before,
and is necessary for dumping Unicode tables.
Pdump name changes for accuracy:
XD_STRUCT_PTR -> XD_BLOCK_PTR.
XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY.
XD_C_STRING -> XD_ASCII_STRING.
*_structure_* -> *_block_*.
lrecord.h: some comments added about
dump_add_root_block() vs dump_add_root_block_ptr().
extents.c: remove incorrect comment about pdump problems with gap array.
---------------------------------------------------------------
ALLOCATION
---------------------------------------------------------------
abbrev.c, alloc.c, bytecode.c, casefiddle.c, device-msw.c, device-x.c, dired-msw.c, doc.c, doprnt.c, dragdrop.c, editfns.c, emodules.c, file-coding.c, fileio.c, filelock.c, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-x.c, gui-msw.c, gui-x.c, imgproc.c, intl-win32.c, lread.c, menubar-gtk.c, menubar.c, nt.c, objects-msw.c, objects-x.c, print.c, process-nt.c, process-unix.c, process.c, realpath.c, redisplay.c, search.c, select-common.c, symbols.c, sysdep.c, syswindows.h, text.c, text.h, ui-byhand.c: New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for
more convenient allocation of these commonly requested items.
Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes,
xnew_ibytes, etc. also XREALLOC_ARRAY, xnew.
alloc.c: Rewrite the allocation functions to factor out repeated code.
Add assertions for freeing dumped data.
lisp.h: Moved down and consolidated with other allocation stuff.
lisp.h, dynarr.c: New functions for allocation that's very efficient when mostly in
LIFO order.
lisp.h, text.c, text.h: Factor out some stuff for general use by alloca()-conversion funs.
text.h, lisp.h: Fill out convenience routines for allocating various kinds of
bytes and put them in lisp.h. Use them in place of xmalloc(),
ALLOCA().
text.h: Fill out the convenience functions so the _MALLOC() kinds match
the alloca() kinds.
---------------------------------------------------------------
ERROR-CHECKING
---------------------------------------------------------------
text.h: Create ASSERT_ASCTEXT_ASCII() and ASSERT_ASCTEXT_ASCII_LEN()
from similar Eistring checkers and change the Eistring checkers to
use them instead.
---------------------------------------------------------------
MACROS IN LISP.H
---------------------------------------------------------------
lisp.h: Redo GCPRO declarations. Create a "base" set of functions that can
be used to generate any kind of gcpro sets -- regular, ngcpro,
nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2.
buffer.c, callint.c, chartab.c, console-msw.c, device-x.c, dialog-msw.c, dired.c, extents.c, ui-gtk.c, rangetab.c, nt.c, mule-coding.c, minibuf.c, menubar-msw.c, menubar.c, menubar-gtk.c, lread.c, lisp.h, gutter.c, glyphs.c, glyphs-widget.c, fns.c, fileio.c, file-coding.c, specifier.c: Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities.
Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3
or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2
(new macro). Removed/redid comments on EXTERNAL_LIST_LOOP.
---------------------------------------------------------------
SPACING FIXES
---------------------------------------------------------------
callint.c, hftctl.c, number-gmp.c, process-unix.c: Spacing fixes.
---------------------------------------------------------------
FIX FOR GEOMETRY PROBLEM IN FIRST FRAME
---------------------------------------------------------------
unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by
release 1.5.12 of Cygwin].
toolbar.c: bug fix for problem of initial frame being 77 chars wide on Windows.
will be overridden by my other ws.
---------------------------------------------------------------
FIX FOR LEAKING PROCESS HANDLES:
---------------------------------------------------------------
process-nt.c: Fixes for leaking handles. Inspired by work done by Adrian Aichner
<adrian@xemacs.org>.
---------------------------------------------------------------
FIX FOR CYGWIN BUG (Unicode-related):
---------------------------------------------------------------
unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by
release 1.5.12 of Cygwin].
---------------------------------------------------------------
WARNING FIXES:
---------------------------------------------------------------
console-stream.c: `reinit' is unused.
compiler.h, event-msw.c, frame-msw.c, intl-encap-win32.c, text.h: Add stuff to deal with ANSI-aliasing warnings I got.
regex.c: Gather includes together to avoid warning.
---------------------------------------------------------------
CHANGES TO INITIALIZATION ROUTINES:
---------------------------------------------------------------
buffer.c, emacs.c, console.c, debug.c, device-x.c, device.c, dragdrop.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, font-lock.c, frame-msw.c, glyphs-widget.c, glyphs.c, gui-x.c, insdel.c, lread.c, lstream.c, menubar-gtk.c, menubar-x.c, minibuf.c, mule-wnnfns.c, objects-msw.c, objects.c, print.c, scrollbar-x.c, search.c, select-x.c, text.c, undo.c, unicode.c, window.c, symsinit.h: Call reinit_*() functions directly from emacs.c, for clarity.
Factor out some redundant init code. Move disallowed stuff
that had crept into vars_of_glyphs() into complex_vars_of_glyphs().
Call init_eval_semi_early() from eval.c not in the middle of
vars_of_() in emacs.c since there should be no order dependency
in the latter calls.
---------------------------------------------------------------
ARMAGEDDON:
---------------------------------------------------------------
alloc.c, emacs.c, lisp.h, print.c: Rename inhibit_non_essential_printing_operations to
inhibit_non_essential_conversion_operations.
text.c: Assert on !inhibit_non_essential_conversion_operations.
console-msw.c, print.c: Don't do conversion in SetConsoleTitle or FindWindow to avoid
problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT
in places where problems would arise.
---------------------------------------------------------------
CHANGES TO THE BUILD PROCEDURE:
---------------------------------------------------------------
config.h.in, s/cxux.h, s/usg5-4-2.h, m/powerpc.h: Add comment about correct ordering of this file.
Rearrange everything to follow this -- put all #undefs together
and before the s&m files. Add undefs for HAVE_ALLOCA, C_ALLOCA,
BROKEN_ALLOCA_IN_FUNCTION_CALLS, STACK_DIRECTION. Remove unused
HAVE_STPCPY, HAVE_GETWD, HAVE_SETLOCALE.
m/gec63.h: Deleted; totally broken, not used at all, not in FSF.
m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.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/elxsi.h, m/ews4800r.h, m/gould.h, m/hp300bsd.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, m/intel386.h, m/iris4d.h, m/iris5d.h, m/iris6d.h, m/irist.h, m/isi-ov.h, m/luna88k.h, m/m68k.h, m/masscomp.h, m/mg1.h, m/mips-nec.h, m/mips-siemens.h, m/mips.h, m/news.h, m/nh3000.h, m/nh4000.h, m/ns32000.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pmax.h, m/powerpc.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, m/sgi-challenge.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, m/targon31.h, m/tekxd88.h, m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/xps100.h: Delete C_ALLOCA, HAVE_ALLOCA, STACK_DIRECTION,
BROKEN_ALLOCA_IN_FUNCTION_CALLS. All of this is auto-detected.
When in doubt, I followed recent FSF sources, which also have
these things deleted.
author | ben |
---|---|
date | Thu, 04 Nov 2004 23:08:28 +0000 |
parents | 162083ea139d |
children | bafa01f3cb06 |
line wrap: on
line source
2004-10-22 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.18 "chestnut" is released. 2004-09-27 Jerry James <james@xemacs.org> * lwlib-Xm.c (xm_update_label): (xm_update_progress): (activate_button): (make_dialog): (mark_dead_instance_destroyed): (xm_nosel_callback): Mark more unused parameters with the UNUSED macro. 2004-09-14 Jerry James <james@xemacs.org> * Makefile.in.in (cppflags): Make compiler.h available. * config.h.in: Include compiler.h. * lwlib.c (max): Remove; now defined in compiler.h. (merge_widget_value): Fix misplaced `change' computation. * xlwcheckbox.c (DrawCheck): conditionalize declaration and assignment of variable bw like its use. * xlwtabs.c (TabsResize): Comment out declaration and assignment of variable tab, whose use is commented out. * lwlib-Xaw.c: * lwlib-Xlw.c: * lwlib-Xm.c: * lwlib-utils.c: * lwlib.c: * xlwcheckbox.c: * xlwgauge.c: * xlwgcs.c: * xlwmenu.c: * xlwradio.c: * xlwscrollbar.c: * xlwtabs.c: Mark unused parameters with the UNUSED macro. 2004-09-14 Jerry James <james@xemacs.org> * xlwgauge.c (GaugeConvert): Fix type-punning warning. 2004-04-23 Jerry James <james@xemacs.org> * xlwradio.c (RadioExpose): Do not blindly copy one GC over another. It messes up the ref counts and is wrong for radio buttons in any case. 2004-03-22 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.17 "chayote" is released. 2003-09-22 Stephen J. Turnbull <stephen@xemacs.org> * Makefile.in.in (XE_CFLAGS): New variant on CFLAGS for XEMACS_CC. 2003-09-26 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.16 "celeriac" is released. 2003-09-03 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.15 "celery" is released. 2003-08-28 Jerry James <james@xemacs.org> * lwlib-internal.h: Wrap assert_failed with EXTERN_C for modules. 2003-06-01 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.14 "cassava" is released. 2003-05-10 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.13 "cauliflower" is released. 2003-05-05 Steve Youngs <youngs@xemacs.org> * lwlib-Xm.c (xm_update_one_widget): Only call `xm_update_progress' if `LWLIB_WIDGETS_MOTIF' is defined. 2003-04-24 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.12 "carrot" is released. 2003-03-27 Stephen J. Turnbull <stephen@xemacs.org> * xlwscrollbar.c: Global substitution of .Xresources for .Xdefaults. 2003-02-28 Ben Wing <ben@xemacs.org> * lwlib-Xm.c: Fix compile warning. 2003-02-16 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.11 "cabbage" is released. 2003-02-13 Martin Buchholz <martin@xemacs.org> * xlwmenu.c (xlwMenuClassRec): Use symbolic name `XtExposeCompressMaximal' instead of `TRUE'. 2003-01-31 Martin Buchholz <martin@xemacs.org> * lwlib-Xm.c (xm_update_progress): Don't define unless LWLIB_WIDGETS_MOTIF. 2003-02-05 Ben Wing <ben@xemacs.org> * lwlib-Xm.c: * lwlib-Xm.c (xm_pop_down_callback): * lwlib-Xm.c (xm_pull_down_callback): Fix compile warning. 2002-12-16 Ben Wing <ben@xemacs.org> * lwlib-Xlw.c (xlw_update_one_widget): * lwlib-Xm.c (xm_update_one_widget): * lwlib-Xm.c (xm_update_one_value): * lwlib.c: * lwlib.c (merge_scrollbar_values): * xlwmenu.c: * xlwmenu.c (display_menu): * xlwmenu.c (XlwMenuInitialize): * xlwmenu.c (XlwMenuSetValues): * xlwradio.c: * xlwradio.c (RadioClassPartInit): * xlwradio.c (RadioSet): * xlwradio.c (RadioUnset): class -> class_, new -> new_. 2003-01-04 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.10 "burdock" is released. 2002-08-30 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.9 "brussels sprouts" is released. 2002-07-27 Steve Youngs <youngs@xemacs.org> * XEmacs 21.5.8 "broccoli" is released. 2002-06-07 Andy Piper <andy@xemacs.org> * lwlib-Xm.c: (xm_safe_update_label): new function. Call xm_update_label if the class is appropriate. (make_menu_in_widget): use it. (update_one_menu_entry): ditto. (xm_update_one_widget): ditto. 2002-07-02 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.7 "broccoflower" is released. 2002-06-20 Ben Wing <ben@xemacs.org> * lwlib.c: * lwlib.c (dialog_spec_p): Fix warning. 2002-02-13 Stephen J. Turnbull <stephen@xemacs.org> * lwlib-Xm.c (make_dialog): Fix XmProcessTraversal crash. 2002-04-05 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.6 "bok choi" is released. 2002-03-12 Ben Wing <ben@xemacs.org> * The Great Mule Merge: placeholder. 2002-03-05 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.5 "beets" is released. 2001-12-19 Valdis Kletnieks <Valdis.Kletnieks@vt.edu> * xlwscrollbar.c: Fix Xt translations comment. 2002-01-08 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.4 "bamboo" is released. 2001-09-07 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.3 "asparagus" is released. 2001-06-24 Ben Wing <ben@xemacs.org> * lwlib-Xlw.c (xlw_update_tab_control): * lwlib-utils.c (XtApplyUntilToWidgets): * xlwgauge.c (XawGaugeSetValue): * xlwgauge.c (GaugeMercury): * xlwmenu.c (close_to_reference_time): * xlwtabs.c (TabsSetValues): * xlwtabs.c (TabsSelect): * xlwtabs.c (DrawTabs): Fix unsigned warnings. See src/ChangeLog for details. 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.2 "artichoke" is released. 2001-07-26 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_progress): new function. Set Scale height and width from normal height and width. * lwlib-Xm.c (xm_create_progress): ditto. * lwlib-Xm.c (xm_update_one_widget): call xm_update_progress. * lwlib.c (lw_get_value_arg): new function. Return an argument based on its name. * lwlib.h: declare it. 2001-05-21 Martin Buchholz <martin@xemacs.org> * lwlib-config.c: Remove. * Makefile.in.in: Remove references to lwlib-config. 2001-05-09 Martin Buchholz <martin@xemacs.org> * XEmacs 21.5.1 "anise" is released. 2001-04-28 Ben Wing <ben@xemacs.org> * lwlib-utils.c (destroy_all_children): fix warning reported by Isaac Hollander <ysh@mindspring.com>. 2001-04-18 Martin Buchholz <martin@xemacs.org> * XEmacs 21.5.0 "alfalfa" is released. 2001-03-30 Stephen J. Turnbull <stephen@xemacs.org> * ChangeLog: Restore logs lost in the GTK merge. 2001-03-21 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.46 "Urania" is released. 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org> * xlwradio.c: Revert gratuitous whitespace changes from GTK merge. 2001-02-23 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.45 "Thelxepeia" is released. 2001-02-16 Raymond Toy <toy@rtp.ericsson.se> * lwlib-Xaw.c: Always include ATHENA_AsciiText_h_ to get the text-field widget. (xaw_creation_table): Always include the text-field widget 2001-02-08 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.44 "Thalia" is released. 2001-02-06 Martin Buchholz <martin@xemacs.org> * xlwgauge.c: * xlwgcs.c: * xlwgcs.c (XtAllocateGC): Fix typo for X11R4. * xlwgcs.h: * xlwradio.c (RadioExpose): * xlwcheckbox.c: Remove use of BSD-specific types. s/u_(char|short|int_long)/unsigned $1/g 2001-02-05 Martin Buchholz <martin@xemacs.org> * lwlib-Xm.c (xm_update_one_value): Obey the man page; use XtFree instead of free. 2001-02-02 Martin Buchholz <martin@xemacs.org> * config.h.in: Use "..." to include config.h 2001-01-26 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.43 "Terspichore" is released. 2001-01-20 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.42 "Poseidon" is released. 2001-01-17 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.41 "Polyhymnia" is released. 2001-01-08 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.40 is released. 2001-01-06 Martin Buchholz <martin@xemacs.org> * lwlib-Xaw.c (xaw_creation_table): Make const. * lwlib-Xaw.h (xaw_creation_table): Make const. * lwlib-Xlw.c (xlw_creation_table): Make const. * lwlib-Xlw.h (xlw_creation_table): Make const. * lwlib-Xm.c (xm_creation_table): Make const. * lwlib-Xm.h (xm_creation_table): Make const. * lwlib.c (find_in_table): Use const. 2001-01-02 Andy Piper <andy@xemacs.org> * lwlib.h (_widget_args): add args_changed. Necessary because we reference count args. * lwlib.c (lw_add_widget_value_arg): set args_changed flag. (merge_widget_value_args): mark as changed if args_changed is true. (update_all_widget_values): reset args_changed. (initialize_widget_instance): ditto. 2000-12-31 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.39 is released. 2000-12-30 Andy Piper <andy@xemacs.org> * xlwtabs.c: remove assertion definitions and put them in lwlib-internal.h. This has the effect of enabling assertions which should have been done from the very start. (TabsShuffleRows): fix duff assertion. (PreferredSize3): use dimensions throughout. (PreferredSize2): ditto. (TabLayout): ditto. (DrawFrame): be clever about the enclosing frame if the child height is 0. (TabsResize): don't configure children that are no visible anyway. Make sure geometry calculations don't end up negative. * lwlib-internal.h: put in assertion definitions. 2000-12-05 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.38 is released. 2000-11-30 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until someone fixes it properly. 2000-11-24 Andy Piper <andy@xemacs.org> * xlwtabsP.h: add visible flag, realRows and remove displayChildren. * xlwtabs.c (TabVisible): new macro. Consults visible flag. (TabsInit): remove displayChildren, add realRows. (TabsConstraintInitialize): ditto. (TabsResize): ditto. (TabsGeometryManager): ditto. (TabsChangeManaged): ditto. (TabsSelect): ditto. (TabsPage): ditto. (TabsHighlight): ditto. (DrawTabs): ditto. (TabLayout): Caclulate rows for all children and whether they should be visible or not.. (TabsShuffleRows): shuffle rows based on both real and displayed rows. Adjust visibility of all children. (PreferredSize): ditto. 2000-11-19 Martin Buchholz <martin@xemacs.org> * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead. 2000-11-18 Martin Buchholz <martin@xemacs.org> * xlwmenu.c (make_windows_if_needed): (XlwMenuRealize): The proper type for `mask' is `unsigned long', not `int'. 2000-11-18 Martin Buchholz <martin@xemacs.org> * xlwtabs.c (defaultAccelerators): Add #### to unused var. (TabsResize): Remove unused var. * xlwmenu.c (XlwMenuInitialize): Remove unused vars. * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug. 2000-11-14 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.37 is released. 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org> * lwlib.h: Typo fixes and tiny clarifications. 2000-10-04 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.36 is released. 2000-09-21 Andy Piper <andy@xemacs.org> * lwlib.h: declare copy_widget_value_tree. * lwlib.c (copy_widget_value_tree): make non-static. 2000-09-19 Martin Buchholz <martin@xemacs.org> * *: Spelling mega-patch 2000-09-16 Martin Buchholz <martin@xemacs.org> * lwlib.c (ascii_strcasecmp): New. * lwlib.c (find_in_table): Use ascii_strcasecmp. Avoid using non-standard non-portable strcasecmp. 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org> * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for setting fontList match code. Suggest using same algorithm for X Font Set resources in native lw code. 2000-07-30 Ben Wing <ben@xemacs.org> * lwlib-Xaw.c (xaw_update_one_widget): Remove accelerator specs from buttons, since Athena doesn't handle them. * lwlib.c (lw_remove_accelerator_spec): * lwlib.h: Define function and prototype to do this. 2000-07-15 Ben Wing <ben@xemacs.org> * xlwradioP.h: Remove duplicate definition of streq(). 2000-07-19 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.35 is released. 2000-07-09 Martin Buchholz <martin@xemacs.org> * xlwcheckbox.c: * xlwgauge.h: * xlwgaugeP.h: * xlwradio.h: * xlwradioP.h: * xlwgauge.c: * config.h.in: * xlwradio.c: * lwlib-Xaw.c: Replace SMART_INCLUDE with a dumber, but more reliable method. * xlwmenu.c (parameterize_string): Fix C++ compilation warnings. 2000-06-10 Ben Wing <ben@xemacs.org> * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit. (xaw_update_one_value): fix crash due to incorrect arg count. 2000-05-28 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.34 is released. 2000-05-01 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.33 is released. 2000-04-19 Martin Buchholz <martin@xemacs.org> * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes. * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes. 2000-04-12 Andy Piper <andy@xemacs.org> * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets. (xaw_update_one_value): Get strings safely. (xaw_create_text_field): add some extra properties. 2000-04-05 Andy Piper <andy@xemacs.org> * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as an athena widget. 2000-04-05 Andy Piper <andy@xemacs.org> * xlwradio.c (RadioSetValues): resize if position information has changed. * lwlib-Xm.c (xm_create_text_field): text fields should be enabled even if there is no callback. * lwlib-Xaw.c (xaw_create_text_field): ditto. 2000-04-03 Andy Piper <andy@xemacs.org> * lwlib.c (merge_widget_value_args): only merge when the two args are actually different. 2000-03-21 Didier Verna <didier@xemacs.org> * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to src/config.h.in. * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro. 2000-03-20 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.32 is released. 2000-03-14 Ben Wing <ben@xemacs.org> * xlwmenu.c (massage_resource_name): Handle %_ and %%. 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk> * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP even if we are only 'compatible' with the Motif resources. (XmUNSPECIFIED_PIXMAP): Define unconditionally. 2000-02-23 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.31 is released. 2000-02-22 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_one_widget): set widget args last in case anything messes with them in the meantime. * lwlib-Xlw.c (xlw_update_one_widget): ditto. * lwlib-Xaw.c (xaw_update_one_widget): ditto. 2000-02-21 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.30 is released. 2000-02-21 Andy Piper <andy@xemacs.org> * lwlib.c (merge_widget_value_args): don't delete the args before copying, lw_copy_widget_value_args will do this for us if necessary. (lw_add_widget_value_arg): Allow existing args to be replaced. (free_widget_value_args): Set args to 0 rather than 0xdeadbeef, reference couting works better that way. (lw_copy_widget_value_args): Do the right thing. * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks much better. * lwlib-Xaw.c (xaw_create_progress): ditto. 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch> * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif compatible resource names. * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP even if we are only 'compatible' with the Motif resources. 2000-02-15 Andy Piper <andy@xemacs.org> * xlwgauge.c (GaugeExpose): remove shadows. 2000-02-16 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.29 is released. 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu> * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and old gccs. 2000-02-07 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.28 is released. 2000-01-25 Andy Piper <andy@xemacs.org> * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight widget as well. 2000-01-28 Martin Buchholz <martin@xemacs.org> * xlwgauge.c (GaugeConvert): bcopy ==> memcpy 2000-01-24 Andy Piper <andy@xemacs.org> * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the stacking order. (XawTabsSetHighlight): Don't unhighlight here. 2000-01-22 Martin Buchholz <martin@xemacs.org> * *.h: Use consistent C-standards-approved guard macro names. 2000-01-18 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.27 is released. 2000-01-15 Andy Piper <andy@xemacs.org> * lwlib-Xlw.c (lw_update_one_widget): make sure global properties gets set. 2000-01-07 Martin Buchholz <martin@xemacs.org> * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy. This extends support for gcc 2.6 (e.g. on BSD/OS 2.0) * lwlib.c: Fix up memset calls. * lwlib-Xm.c (xm_update_text): Warning suppression. (xm_update_text_field): Warning suppression. 2000-01-03 Martin Buchholz <martin@xemacs.org> * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash: (yes-or-no-p-dialog-box "Yes or No") 1999-12-31 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.26 is released. 1999-12-29 Andy Piper <andy@xemacs.org> * xlwtabs.c (TabsHighlight): use displayChildren for highlighting not num_children. (TabsPage): ditto. 1999-12-24 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.25 is released. 1999-12-23 Andy Piper <andy@xemacs.org> * lwlib.c (lw_copy_widget_value_args): don't create empty widget_args just because someone might use them later. This makes all widgets look like they've changed. 1999-12-22 Andy Piper <andy@xemacs.org> * xlwtabs.c: Fix for X11R5 from Damon Lipparelli <lipp@primus.com>. 1999-12-21 Martin Buchholz <martin@xemacs.org> * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr) 1999-12-12 Daniel Pittman <daniel@danann.net> * lwlib-Xaw.c: * xlwcheckbox.c: * xlwgauge.h: * xlwgaugeP.h: * xlwradio.c: * xlwradio.h: * xlwradioP.h: Clean up Athena widget support: - Athena headers now use dynamic include paths. 1999-12-08 Andy Piper <andy@xemacs.org> * xlwtabs.c: sync with Tabs 2.2. * xlwtabP.h: ditto. 1999-12-14 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.24 is released. 1999-12-14 Andy Piper <andy@xemacs.org> * xlwtabs.c (TabsResize): reset need_layout so that we don't go into infloop death. 1999-12-14 Andy Piper <andy@xemacs.org> * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed. 1999-12-13 Andy Piper <andy@xemacs.org> * xlwtabs.c (TabsResize): We need to expose the tabs after clearing the window they are in. 1999-12-08 Andy Piper <andy@xemacs.org> * xlwtabs.c: sync with Tabs 2.1. 1999-12-07 Andy Piper <andy@xemacs.org> * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the clip-window as well. 1999-12-07 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.23 is released. 1999-12-05 Andy Piper <andy@xemacs.org> * xlwtabs.c: back up to previous rev to make syncing easier. Fix gcc moans. * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass. 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.22 is released 1999-11-28 Martin Buchholz <martin@xemacs.org> * XEmacs 21.2.21 is released. 1999-11-26 Martin Buchholz <martin@xemacs.org> * xlwtabs.c: Remove unused variables. Fix warnings. 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.20 is released 1999-09-09 Andy Piper <andy@xemacs.org> * xlwtabs.c: updated tabs widget from Ed Falk. * xlwtabs.h: ditto. * xlwtabsP.h: ditto. 1999-09-22 Martin Buchholz <martin@xemacs.org> * lwlib-internal.h: * lwlib-utils.h: Move declaration of destroy_all_children from lwlib-internal.h to lwlib-utils.h, where it belongs. 1999-09-21 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels with text. 1999-09-22 Martin Buchholz <martin@xemacs.org> * xlwtabs.c: Fix C++ compilability. 1999-09-18 Andy Piper <andy@xemacs.org> * xlwtabs.c: Put in tabs sync because clipping should fix useability problems. 1999-09-13 Andy Piper <andy@xemacs.org> * xlwtabs.c: Back out tabs sync because of reported useability problems. 1999-09-09 Andy Piper <andy@xemacs.org> * xlwtabs.c: updated tabs widget from Ed Falk. * xlwtabs.h: ditto. * xlwtabsP.h: ditto. * xlwgcs.c: ditto. * xlwgcs.h: ditto. 1999-09-03 Martin Buchholz <martin@xemacs.org> * xlwgauge.c: Ansify. Include <stdlib.h> to get prototype for atoi(). (GaugeSelect): Call GaugeExpose with the right number of args. (GaugeLoseSel): Call GaugeExpose with the right number of args. (GaugeConvert): This is a XtConvertSelectionProc, so 5th parameter must be of type XtPointer, not XPointer. (GaugeGetValue): This is a XtTimerCallbackProc, so 2nd parameter must be of type XtIntervalId *, not XtIntervalId. 1999-09-01 Martin Buchholz <martin@xemacs.org> * lwlib.c (free_widget_value_contents): Use proper type for cast. * xlwradio.c: Use function prototypes everywhere. * xlwcheckbox.c: * xlwradio.c: * xlwradioP.h: Move declarations of non-static functions defined in xlwradio.c into xlwradioP.h. 1999-09-02 Andy Piper <andy@xemacs.org> * xlwgcs.c: include xmu.h 1999-09-01 Andy Piper <andy@xemacs.org> * xlwgauge.c: rearrange headers yet again. * xlwcheckbox.c: ditto. * xlwradio.c: ditto. * xlwtabs.c: ditto. 1999-09-01 Andy Piper <andy@xemacs.org> * xlwgauge.c: use xmu.h * xlwcheckbox.c: ditto. * xlwradio.c: ditto. 1999-08-31 Andy Piper <andy@xemacs.org> * xlwtabs.c: * xlwgcs.c: * xlwradio.c: * xlwcheckbox.c: * xlwgauge.c: Fix for losing systems without Xmu. 1999-08-31 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage. 1999-08-30 Andy Piper <andy@xemacs.org> * lwlib.c (free_widget_value_contents): be more precise about freeing user defined args. * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not its contents for hierarchies one deep. 1999-08-29 Andy Piper <andy@xemacs.org> * xlwtabs.c: temporary fixes pending a new release. * xlwtabsP.h: ditto. * lwlib-Xm.c (xm_update_one_widget): update user defined args. (xm_create_label): set args after creation as well as before. * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally. (xlw_update_tab_control): actually update the children rather than the parent. * lwlib-Xaw.c (xaw_update_one_widget): update user defined args. (xaw_create_label): set args after creation as well as before. 1999-08-23 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (xm_update_label): don't concatenate value to itself. * lwlib-Xm.c (xm_create_label_field): new function for creating labels. (xm_creation_table): use it. * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels. (xaw_creation_table): use it. 1999-08-16 Andy Piper <andy@xemacs.org> * lwlib.h: declare free_widget_value_tree. * lwlib.c (free_widget_value_tree): make non-static. * lwlib-Xm.c (xm_update_label): free val_string when updating. 1999-08-04 Andy Piper <andy@xemacs.org> * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its defined for widgets. (xm_nosel_callback): ditto. * xlwtabsP.h: sync with 1.5. * xlwtabs.c: sync with 1.18. 1999-07-28 Andy Piper <andy@xemacs.org> * xlwtabs.c: new lucid tabs widget from Ed Falk. * xlwtabs.h: ditto. * xlwtabsP.h: ditto. * xlwgcs.c: GC manipulation for tab widgets. * xlwgcs.h: ditto. * xlwgauge.c: new athena gauge widget from Ed Falk. * xlwgauge.h: ditto. * xlwgaugeP.h: ditto. * xlwradio.c: new athena radio widget from Ed Falk. * xlwradio.h: ditto. * xlwradioP.h: ditto. * xlwcheckbox.c: new athena checkbox widget from Ed Falk. * xlwcheckbox.h: ditto. * xlwcheckboxP.h: ditto. * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c. * lwlib-internal.h: declare destroy_all_children. * lwlib-config.c: add widget checks. * lwlib-Xm.h: declare xm_create_label; * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c. (xm_update_label): enable for widgets. (xm_update_one_widget): ditto. (xm_create_button): rename in line with lwlib-Xaw.c (xm_create_progress): ditto. (xm_create_text_field): ditto. (xm_create_combo_box): ditto. (xm_create_label): new function. (xm_creation_table): rename widget creation functions. (xm_destroy_instance): enable for widgets. (xm_generic_callback): ditto. (xm_generic_callback): ditto. * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special callback that calls the correct function depending on what tab is selected. (xlw_create_tab_control): new function. (build_tabs_in_widget): new function. puts tabs in a tab widget, uses Xaw or Xm depending on how XEmacs was compiled. (xlw_update_tab_control): update the resources for each tab. optionally rebuild the contents of the tab widget. (xlw_creation_table): add tab widget creation function. (lw_lucid_widget_p): add tab widget. (xlw_update_one_widget): ditto. * lwlib-Xaw.h: declare xaw_create_label; * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes. (xaw_update_one_widget): ditto. (xaw_update_one_value): add code from the Xm version. (xaw_generic_callback): add Xm hack for setting command states. beef up lookup of call data. (xaw_create_button): new function. (xaw_create_label): new function for use by tab widget. (xaw_create_progress): new function. (xaw_create_text_field): new function. (xaw_creation_table): add new widget type creation functions. * Makefile.in.in: add dependencies for new lw widgets. 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.19 is released 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.18 is released 1999-07-05 Didier Verna <didier@xemacs.org> * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around call to xm_update_label. 1999-06-28 Andy Piper <andy@xemacs.org> * lwlib-Xm.c: unconditionally enable text field & list code. (make_progress): new function. creates a slider. (make_text_field): new function. creates an edit field. (make_combo_box): new function. creates a combo box. (xm_creation_table): add new widget functions. 1999-06-25 Andy Piper <andy@xemacs.org> * lwlib.h (_widget_value): add arglist slots. declare new functions. * lwlib.c (free_widget_value_contents): handle arglists when freeing. (lw_add_value_args_to_args): new function. add arglist entries from a widget_value structure. * lwlib-Xm.c (make_button): new function, create a motif button for display in a buffer as a glyph. (xm_creation_table): add make_button. 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.17 is released 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.16 is released 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.15 is released 1999-05-17 Jerry James <jerry@cs.ucsb.edu> * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before using it. 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.14 is released 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.13 is released 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org> * XEmacs 21.2.12 is released 1999-02-18 Martin Buchholz <martin@xemacs.org> * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning - Have to toupper ((int) (unsigned char) x) to be portable.