jstools changes since 4.0/4.0
(See also
lib/jdoc/jedit-changes.jrt)
Changes from 3.0 to 4.0 are also documented, and
Changes up through version 3.6/3.0 documented as well, albeit a little more haphazardly.
After version 4.0/4.0
1995.11.22
- added
M-/ Emacs bindings in
jedit (specifically,
jedit_bindings.tcl), documented
- added
C-x h binding (select all) in
jtextemacs.tcl, documented (should duplicate for entries)
1995.11.23
- in my
~/.tk/textbindings.tcl, added reformatting code and Emacs fillparagraph (to move to
library)
1995.11.24
- started list support for
jdoc mode (to become
jhtml mode)
- added configuration of list and
<hr> tags in
jdoc
- added support for (one level of) lists and horizontal rules
in
jtagconvert.tcl's HTML generation (still to do: TeX output)
(should this and hypertext support move to a library?)
1995.11.26
- rolled in Josê Bandeira's Portuguese localisation files - found
a bunch of strings that were missing from the
en files (and thus from his translations of them)
- started fixing typos and missing strings in
en and
pt files
(fixed database files for
jedit,
jdoc, and
jabbrevs, and usage in
jstools for
jfs.tcl and
jprefpanel.tcl.)
- fixed hardcoded strings in
jabbrevs script
1995.11.27
- distinguish `Done' (now `Close') on
jmore panel from `Done' on Global Preferences panel (and keys and
Portuguese are different from `Done' in
jedit)
- cleaned up rest of
jstools string database, looked at
jpeople and
jhotlist database
- created new
jhtml mode (almost identical to
jdoc mode except for
mode:jhtml:write)
1995.12.01
- changed documentation for
jldb.tcl to reflect the fact that
app need not be exactly an application name
- changed
jedit:apply_mode in
jedit_modes.tcl to load in modespecific string databases; created those
databases for most modes
- fixed bug where `Done' button on modespecific
jedit prefs panel was causing prefs to be reread from disk, overriding
prefs changed in panel
1995.12.03
- documented `Done' -> `Close' in
jmore and
jmore.tcl
- improved HTML generation - now sometimes distinguishes
<br> from
<p>, and may generate fewer superfluous
<br>'s and
<p>'s
- fixed bug where only first window opened in a mode would be
initialised. (this bug was introduced in fixing the ModeSpecific
Preferences `Done' button.) now the `Done' button doesn't cause
prefs to be reread from disk, but any other invocation of
jedit:apply_mode does (kludge!)
- bumped version number to 4.0/4.1 in
jinit.tcl and documentation
- fixed bug in heading menu commands in
jdoc and
jhtml modes
- documented
jhtml mode; updated
jdoc mode documentation
- regenerated HTML documentation
Released (sort of) version 4.0/4.1, for benefit of people translating
strings.
1995.12.31
- fixed
jprefs.tcl documentation, which still talked about X resource files.
1996.01.06
- added logical HTML styles to
jedit_cmds.tcl,
jedit_tags.tcl,
jedit_menus.tcl, and
jtagconvert.html
NOT YET DOCUMENTED
- modified tagging of lists and anchors in
jdoc-mode.tcl and
jhtml-mode.tcl and cleaned them up a bit
NOT YET DOCUMENTED
1996.01.19
- told
jmore about
.jhtml files
1996.01.25
- modified
jtagconvert.tcl to generate HTML with titles, using (the first line of) the
first level 0 heading
1996.02.11
- modified
jtagconvert.tcl (and
prologue.ps) to allow parameterisation of fonts and sizes (not yet for headings)
in generated PostScript. There's not yet a UI for choosing
them.
1996.04.19
- put new preference routines for dealing with preference modules
and panels in
jprefs.tcl and
jprefpanel.tcl. Documented changes to
jprefs.tcl.
1996.04.20
- changed names of some procedures in
jprefpanel.tcl
- documented (incompletely) addtions to
jprefpanel.tcl.
- added PostScript and screen font preferences to global preferences
in
jprefs.tcl
- added
j:tag:configure_fonts in
jtexttags.tcl; modified
jedit_tags.tcl and
jmore.tcl to use it.
1996.04.27
- added
j:pref:colour_ui (and
j:pref:color_ui); incorporated into
j:pref:create_panel
1996.05.01
- now recognises makefiles as code
1996.05.18
- created
sh-mode
- fixed worddeletion bugs in
jentrykeys.tcl under Tk 4.X; may have introduced bugs under 3.6.
1996.05.19
- finished changing
js@calumet.org to
js@aq.org.
- updated version number to 4.1/4.2.
Released version 4.1/4.2.
1996.05.27
- added recognition of Perl, xbm, and xpm as code by
jedit
- added
-show option to
j:prompt (and
jprompt), documented
- made
jdoc honour user's Web viewer preference
- removed
jpathlib.tcl (which was unused)
- shortened name of
jedit_fix_tkMenuButtonDown.tcl to
jedit_fixMenuBind.tcl
- redid
joptionbutton.tcl to support
-variable and
-command, and
cget and
invoke methods; updated documentation
- modified
jfs.tcl to use new
j:option features
- modified (with considerable trouble - have to get indirect
lists working)
jprefpanel.tcl to use option button
- added
mkdir button in
jfs.tcl, documented
- created
j:hide_pointer and
j:show_pointer (in
jtkutils.tcl, documented
- set
jbindtext.tcl and
jbindentry.tcl up to hide pointer during typing
1996.06.01
- quickanddirty support for a second level of nested lists
(mainly in
jtagconvert.tcl)
1996.06.03
- added (ugly) support for a third level of nested lists in
jhtml-mode.tcl (jtagconvert.tcl's support generalises to arbitrary depth)
- added rudimentary support for
<body bgcolor="xxx" text="xxx"> in HTML generation based on colour tags on first character
in file (jtagconvert.tcl)
1996.06.16
- created
jtail (in
w-in-p) based on code posted by Jan Wieck
<wieck@sapserv.debis.de>. Only works at end of a pipe.
1996.06.17
- added (clumsy) capability to insert literal HTML (jtagconvert.tcl,
jhtml-mode.tcl)
1996.06.21
- added (temporarily)
#000000 and
#ffffff to Background and Foreground menus in
jedit, because Netscape 1.1 chokes on named colours.
1996.07.10
- fixed HTML preamble:
<header> ->
<head>, added
DOCTYPE
1996.08.07
- added Clear button to
j:prompt, documented.
1996.08.10
- continued update to
jprefs.tcl; added
j:pref:panel,
j:pref:read_panel, and
j:pref:write_panel, and renamed a couple of other procedures
- modified
jprefpanel.tcl to use arrays and files associated with panels (rather than
modules). The Save button is now consistently useful. :-)
- modified
jpeople (in
w-in-p) to use new mechanism for its preferences
1996.09.05
- updated version number in
jinit.tcl
- updated version number in documentation
- fixed positioning of
j:option popup
- fixed a few bugs in
sh mode
- documented
sh mode
Released version 4.1/4.3
1996.09.12
- added separate font menu to
jstools; this makes Altkey shortcuts easier
1996.09.13
- changed
j:text:insert_string to
j:text:insert, documented
- created new
jtextcmds.tcl library, documented
- created
j:cmd:text_cut,
j:cmd:text_copy, and
j:cmd:text_paste, which do the right thing depending on whether the current widget
has richtext formatting or not
- modified
jedit_cmds.tcl to use above for Cut/Copy/Paste
- deleted (now superfluous) Rich Cut/Copy/Paste commands in
jedit
- fixed bug where rich paste wouldn't replace selection if
J_PREFS(typeover)
- made new Cut/Copy/Paste use files under
~/.tk if possible, documented
- added new functions for dealing with metainformation to
jtexttags.tcl
-
j:tag:get_metainfo
-
j:tag:set_metainfo
-
j:tag:delete_metainfo
- modified
j:tag:archive_text_widget and
j:tag:restore_text_widget to save and load metainfo
- modified
jtagconvert.tcl to use
title and
bgimage metainfo when generating HTML, if it exists
1996.09.14
- removed some superfluous commands from the HTML menu in
jhtml-mode
- added commands for setting body colour/image attributes to
jhtml-mode (using new
j:tag:set_metainfo)
- made
jhtml-mode set text attributes (foreground, background, link colour, etc.)
based on metainfo
- updated
jtagconvert.tcl to use new text metainfo when generating
<body> tag
1996.09.15
- documented metainfo procedures in
jtexttags.tcl
- added
j:text:get_text_with_tags to use
text dump command to get list of text and tags
- added
j:text:tagged_insert as wrapper around Tk4
text insert command to insert text and tag it
1996.09.15
- updated
jhtml-mode documentation
- updated
jtagconvert.tcl documentation
- documented
j:text:tagged_insert in
jtext.tcl documentation
- write
j:tkversion (in
jtkversion.tcl), documented
- modified
jtextcmds.tcl to use plaintext cutandpaste under Tk 3 (otherwise it would
fail because the Tk 3 text widget
insert command can't handle tags).
- added
-default option to
j:prompt_colour_rgb and
j:prompt_colour_name, documented
- made scales longer in
j:prompt_colour_rgb to improve colour resolution
- made
Return in value field in
j:prompt_colour_rgb do the right thing
- added
-default to
j:tag:get_metainfo, documented
- made
jhtml-mode default to existing colours when specifying body attributes
1996.09.18
- considerable work on a `document properties' (i.e. metainfo)
user interface; working, but not yet incorporated into library
1996.09.21
- cleaned up
jentrykeys.tcl and
jtextkeys.tcl a little bit (parallelism, mainly)
- created
j:mkdir in
jtclutils.tcl, documented
- created
jhistory.tcl
- updated
j:prompt,
j:prompt_tcl, and
j:prompt_unix (in
jprompts.tcl) to use new history mechanism
1996.09.22
- added arrows to
j:prompt panel when history is in use
- updated
jinstall to install
lib/bitmaps directory (used by above)
- documented
jhistory.tcl library
- documented history support in
jprompts.tcl and
jprompt
- modified
j:dialogue (in
jtkutils.tcl) so it always deiconifies and focusses the panel (makes life
slightly simpler in
jprompts.tcl)
1996.10.05
- created
j:tag:move in
jtexttags.tcl to set typing tags based on tags around new insert postion;
modified
j:text:move to use it when the current text widget is rich
Conceptual problem: the
j:tag:move procedure has hardcoded information about properties of particular
tags; there should be some way to provide an applicationspecific
sanitychecking procedure instead
- documented
j:tag:move, but also should have userlevel documentation for typing
- modified `New List Item' command in
jhtml mode so it creates an appropriate list item for the current
list level (looking at the current tag list to determine the list
level)
- added support for horizontal rules to PostScript generation
- added support for unordered lists to PostScript generation
1996.10.10
- bug fix in
j:fs; clicking OK without typing anything in the entry would give
`no such file or directory' when trying to
cd to ``'' on systems where
[file isdirectory {}] is true
- implemented file history for
j:fs (and added the option for directory history, but didn't implement
it)
1996.10.12
- added history support to
j:variable_entry
- added history support to
j:find
1996.10.12
- added
Meta-r binding to find panel
- added `Replace' command to
jedit
1996.10.21
- removed dependency on
auto_execok's return value from hostnamefinding code in
jtkutils.tcl (it broke under 4.2)
1996.10.23
- documented history support in
jmetawidgets.tcl,
jfindpanel.tcl, and the userlevel Find panel documentation
- changed default history size to 30
- documented
jedit's new `Replace' command
- completely localised
jprefs.tcl and
jprefpanel.tcl, fixing a couple of bugs along the way
- changed Return entry binding (all sets of bindings) from
self_insert to
no_op
Inadequate - default button still doesn't get invoked.
I need a whole new mechanism for default and cancel buttons, and
j:ekb:return and
j:tkb:return procedures.
1996.10.25
- added
-embedded,
-command, -buttons flags to
jedit:jedit
PROBLEM - Meta-w to close window still works
1996.10.28
- updated version numbers in documentation and
jinit.tcl
- improved
jinit.tcl documentation
- updated
jedit programming documentation to describe embedding improvements
1996.10.30
- fixed bug with saving preferences when
$env(HOME)/.tk doesn't already exist
Released version 4.1/4.4
1996.11.05
- fixed bug where module names would be duplicated on a preference
panel the second (etc.) time it was displayed
1996.11.06
- added
j:ldb:text and
j:ldb:short_text, because having subsitutions performed is sometimes not what
you want (e.g. filenames that contain dollar signs or brackets);
documented
- updated library routines to use
j:ldb:text and
j:ldb:short_text where possible (this fixes bug where
jmore would die on a filename with a bracket or dollar sign in it)
- created
j:active_window in
jtkutils.tcl; modified
jedit to use it
(UNTESTED UNDER OTHER VERSIONS OF TK/TCL)
1996.11.07
- created
j:parse_boolean_args and
j:parse_boolean_argv, documented
- wrote
j:text:find
- modified
j:find in
jfindpanel.tcl to use new
j:text:find under Tk4.0 and greater
1996.11.08
- made some changes to
j:text:find (and how it's called by
j:find)
- removed
j:find:replace_regexp, which seems never to have worked anyway (for a sensible value
of `worked').
- documented
j:text:find
1996.12.01
- minor changes to
jtextbasic.tcl and
jentrybasic.tcl
- worked on
jfontsel (currently in
w-in-p)
1996.12.08
- added
j:winfo and
j:tlinfo in
jtkutils.tcl
- added
list option to
j:winfo and
j:tlinfo and documented them
- made
jedit use
j:tlinfo for filenames
1996.12.17
- removed
jbrowser (and documentation and supporting files); I wasn't maintaining
it and I haven't heard of people using it
- modified
jfindpanel.tcl to use
j:current_window, so the same find panel can search in multiple documents
(not yet documented)
1996.12.18
- did some work on a new method for richtext conversion (using
conversion to plain text as a simple case)
Fails if there are characters right on the right edge
1996.12.29
- some changes for compatibility with 8.0a1 (e.g. putting braces
around expressions, kludges to work around list bugs, etc) - not
nearly complete yet
- worked on new
jformat.tcl (possibly to be merged with other libraries) - crossapplication
formatting library with font/format/list commands
1997.01.10
- fixed
jperson so it sets
NAME the same way
j:jstools_init does (it had failed under shells that don't set the
USER environment variable)
1997.01.15
- added `wm protocol' handler for
WM_DELETE_WINDOW to handle problem where process wasn't exiting when the last
window was closed if any windows had been closed by the window
manager. (Weird - I thought I'd done that a long time ago!)
- fixed
j:new_toplevel so you can specify a
-class; also fixed behaviour on illegal options
(used to create the widget, but then raise an error without returning
the widget name; now it doesn't create the widget.)
- made
jedit toplevel (main) windows of class
Jedit for convenience in setting X resources (may also be useful
for counting/finding windows)
- added
-width and
-height flags to
jedit and
jedit:jedit; documented
1997.01.20
- very kludgily fixed bug (caused by using
j:ldb:text instead of
j:ldb in various places) that messed up the error message from filtering
text through a Unix command in
jedit
1997.04.01
- added support for HTML anchors and documentinternal links
in
jtagconvert.tcl
1997.04.11
- updated version number in
jinit.tcl; similar minor changes to various files
Released version 4.2/4.5.
After version 4.2/4.5
1998.04.29
- Added a check for Tk 8.0 to
jinit.tcl - not very fancy.
(Also, much functionality still works under 4.2, so maybe it should
just be a warning.)
- simplified
j:buttonbar to use Tk8
-default option (jmetawidgets.tcl)
- fixed
Meta-Key-8 binding in
jhtml mode
- started on better list support (under jedit's Format menu)
- documented (in user documentation, but not
jfindpanel.tcl documentation)
ability of Find panel to search in multiple windows
- In
jedit_*.tcl files, stripped out support for Tk 3
- started on better list support (under
jedit's Format menu)
1998.04.30
- started (in
jhtml-mode.tcl) support for importing HTML
It's pretty crude yet, but it beats retyping all the URLs in links.
1998.05.06
- modified HTML import procedures in
jhtml mode to use
jtexttags.tcl procedures (and a few from
jedit_tags.tcl) and to support lists. (At this point, ordered lists are silently
converted into unordered lists, and other kinds of lists besides
those two aren't handled at all.) Images or other raw HTML
in lists aren't handled properly - they end the list. The document
title shows up as plain text.
- trimmed a bit more Tk4 stuff in
jtkutils.tcl
- made the installer Windows-friendly (mostly)
1998.05.07
- created
pkg directory for the packagized versions of
jstools libraries and put support for it into the preambles of the
(supported) scripts
- incorporated
pkg/jldb.tcl which provides the
jldb package
At this point natural language support is available
both through
lib/jldb.tcl (autoloaded)
and through
pkg/jldb.tcl (package require'd)
- trimmed some Tk 4.x and 3.x stuff out of
j:jstools_init in
jinit.tcl
- added support for
jldb package in
j:jstools_init in
jinit.tcl
- updated
jabout.tcl
-
jabout.tcl now doesn't look up label and title itself in language database
- it expects to be called with the strings that should actually
be displayed
- use new
::jldb procedures for
j:about_*
- updated text a bit (not yet in database, though; just in
defaults in code)
- made
jedit_cmds.tcl and
jdoc_cmds.tcl use new
::jldb stuff for their about boxes
- wrote a new
j:prompt_font that uses the Tcl 8.0
font families command to get the list of fonts - no longer uses
xfontsel.
1998.05.12
- updated error messages (with Tcl
error command) to use new
::jldb::* commands
- made
j:prompt_font not localise its
-prompt argument
- improved
jedit:format:list_item so you can invoke it at the end (or in the middle) of a line,
and the line up to that point will be turned into a list (if it's
not already) and the bullet will be inserted at the beginning.
(Makes typing lists and especially converting text to lists
require less work - you don't have to position the cursor at the
beginning of the line.)
(Problem: it doesn't clear tags for unnecessary list levels when
you go out a level; when you end level 3, there's still a list:3:ul
tag. Don't know how much that matters. Also, the nest-list
and unnest-list commands don't always quite do the right thing
with the bullets.)
- wrote procedures (currently in
jedit_tags.tcl) to make sure list tags are properly configured; modified rich-text
modes (jdoc, jhtml) to use them
- set
jmore up to use
jedit:format:configure_all_list_tags (which has to move and be renamed. :-)
Whoops! I want the borders set in jedit, but not in jdoc and
jmore! Gotta fix that.
BUG: clicking in text widget doesn't focus it if it doesn't already
have the focus.
1998.05.24
- packagized
jparseargs.tcl - have not yet converted other libraries to use packagized
version
1998.07.09
- updated version number in
jinit.tcl
RELEASED VERSION 8.0/4.6
1998.09.16
- changed all occurrences of
j:ldb (autoloaded, non-namespace) procs to
::jldb:: (packagized) procs in
lib and
lib/jeditmodes (not yet
bin)
1998.09.17
- axed remainder of
j:ldb references (in
bin,
w-in-p, and a couple of other places)
- removed
jldb.tcl and old
jldb directory
- more cleanup on HTML documentation for new (packagized)
jldb.tcl.
TO DO: replace any references to jldb.tcl
documentation in documentation of other procedures/facilities
akfsjafkdlsj
1998.09.18
- changed some of the library files to use
jldb shortcuts rather than long forms (not yet done)
- fixed
jmore print panel to substitute printer name
1998.09.19
- fixed
jedit print panel to substitute printer name
- changed up- and down-arrow buttons in
j:variable_entry so they don't take focus (makes tabbing through the find panel
more palatable)
- changed all libraries and scripts to use new packagized parsing
procedures (jparseargs.tcl)
[Had to do this in my ~/.tk/... as well.]
- removed references to
j:tab_ring
- fixed
j:dialogue so it doesn't put windows off-screen
1998.09.21
- tweaked
jhtml-mode.tcl so importing HTML files translates ordered and definition lists
to unordered lists (that's not correct, but better than not doing
anything with them)
- removed commands for working with unordered lists from
jdoc-mode.tcl and
jhtml-mode.tcl, since they're superceded by the list commands on the Format
menu, documented
1998.09.30
- changed version number (in
jinit.tcl) to 1998.09.30, since
jstools is going to be in a sort of transitional phase for a while
and the library APIs are not likely to be backwards-compatible
from release to release.
Package version numbers are going to be more normal; they'll increase
monotonically until all of
jstools is packagized and namespace-savvy, and then they'll all be
standardized.