Check-in [02c9bea55c]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Rename directory HTML to HTML-DOCS. Move plain-text docs from base directory to TEXT-DOCS. Amend README.txt accordingly. Move management scripts to directory fossil-tools. Amend the scripts accordingly.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:02c9bea55c93017f0c72abbc173eadea262f5864a908b8d0ba7dd03e1b95981d
User & Date: kjnash 2018-06-26 00:48:05
Context
2018-06-27
10:07
Adapt docs to fossil header check-in: 64364bf43d user: kjnash tags: trunk
2018-06-26
01:42
Create new branch named "core-3-0-1-branch" check-in: 0d316d82a3 user: kjnash tags: core-3-0-1-branch
00:48
Rename directory HTML to HTML-DOCS. Move plain-text docs from base directory to TEXT-DOCS. Amend README.txt accordingly. Move management scripts to directory fossil-tools. Amend the scripts accordingly. check-in: 02c9bea55c user: kjnash tags: trunk
00:00
Rename directory BWman to HTML. Amend README.txt accordingly. check-in: 5b262b587a user: kjnash tags: trunk
Changes

Name change from HTML/ArrowButton.html to HTML-DOCS/ArrowButton.html.

Name change from HTML/Button.html to HTML-DOCS/Button.html.

Name change from HTML/ButtonBox.html to HTML-DOCS/ButtonBox.html.

Name change from HTML/ComboBox.html to HTML-DOCS/ComboBox.html.

Name change from HTML/Dialog.html to HTML-DOCS/Dialog.html.

Name change from HTML/DragSite.html to HTML-DOCS/DragSite.html.

Name change from HTML/DropSite.html to HTML-DOCS/DropSite.html.

Name change from HTML/DynamicHelp.html to HTML-DOCS/DynamicHelp.html.

Name change from HTML/Entry.html to HTML-DOCS/Entry.html.

Name change from HTML/Label.html to HTML-DOCS/Label.html.

Name change from HTML/LabelEntry.html to HTML-DOCS/LabelEntry.html.

Name change from HTML/LabelFrame.html to HTML-DOCS/LabelFrame.html.

Name change from HTML/ListBox.html to HTML-DOCS/ListBox.html.

Name change from HTML/MainFrame.html to HTML-DOCS/MainFrame.html.

Name change from HTML/MessageDlg.html to HTML-DOCS/MessageDlg.html.

Name change from HTML/NoteBook.html to HTML-DOCS/NoteBook.html.

Name change from HTML/PagesManager.html to HTML-DOCS/PagesManager.html.

Name change from HTML/PanedWindow.html to HTML-DOCS/PanedWindow.html.

Name change from HTML/PanelFrame.html to HTML-DOCS/PanelFrame.html.

Name change from HTML/PasswdDlg.html to HTML-DOCS/PasswdDlg.html.

Name change from HTML/ProgressBar.html to HTML-DOCS/ProgressBar.html.

Name change from HTML/ProgressDlg.html to HTML-DOCS/ProgressDlg.html.

Name change from HTML/ScrollView.html to HTML-DOCS/ScrollView.html.

Name change from HTML/ScrollableFrame.html to HTML-DOCS/ScrollableFrame.html.

Name change from HTML/ScrolledWindow.html to HTML-DOCS/ScrolledWindow.html.

Name change from HTML/SelectColor.html to HTML-DOCS/SelectColor.html.

Name change from HTML/SelectFont.html to HTML-DOCS/SelectFont.html.

Name change from HTML/Separator.html to HTML-DOCS/Separator.html.

Name change from HTML/SpinBox.html to HTML-DOCS/SpinBox.html.

Name change from HTML/StatusBar.html to HTML-DOCS/StatusBar.html.

Name change from HTML/TitleFrame.html to HTML-DOCS/TitleFrame.html.

Name change from HTML/Tree.html to HTML-DOCS/Tree.html.

Name change from HTML/Utilities.html to HTML-DOCS/Utilities.html.

Name change from HTML/Widget.html to HTML-DOCS/Widget.html.

Name change from HTML/contents.html to HTML-DOCS/contents.html.

Name change from HTML/index.html to HTML-DOCS/index.html.

Name change from HTML/navtree.html to HTML-DOCS/navtree.html.

Name change from HTML/options.htm to HTML-DOCS/options.htm.

Name change from HTML/slab.html to HTML-DOCS/slab.html.

Name change from HTML/slabconfig.html to HTML-DOCS/slabconfig.html.

Name change from CHANGES-OLDER.txt to TEXT-DOCS/CHANGES-OLDER.txt.

Name change from ChangeLog to TEXT-DOCS/ChangeLog.

Name change from LICENSE.txt to TEXT-DOCS/LICENSE.txt.

1
2
3

4
5
6
7
8
9
10
BWidget ToolKit
Copyright (c) 1998-1999 UNIFIX. 
Copyright (c) 2001-2002 ActiveState Corp. 


The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
|


>







1
2
3
4
5
6
7
8
9
10
11
Slab ToolKit
Copyright (c) 1998-1999 UNIFIX. 
Copyright (c) 2001-2002 ActiveState Corp. 
Copyright (c) 2017-2018 CitizenEarth Internet Ltd.

The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this

Name change from README-Slab.txt to TEXT-DOCS/README-Slab.txt.

Name change from README.txt to TEXT-DOCS/README.txt.

100
101
102
103
104
105
106

107
108
109
110






111
112
113
114
115
116
117
  To launch the demo :
      Double click on demo.tcl in the demo subdirectory


The Slab distribution contains these directories:

Slab-<version>  Root directory and Tcl source for Slab module

   HTML         HTML manual pages
   demo         Demo sources
   Slab         Tcl sources for modules Slab::*
   tests        Slab test suite







--------------------------------------------------------------------------

DOCUMENTATION

HTML manual pages are available in the HTML subdirectory.  Point to
index.html for frame version with tree navigation, or to contents.html







>
|



>
>
>
>
>
>







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
  To launch the demo :
      Double click on demo.tcl in the demo subdirectory


The Slab distribution contains these directories:

Slab-<version>  Root directory and Tcl source for Slab module
   TEXT-DOCS    Plain text documentation (including this file)
   HTML-DOCS    HTML manual pages
   demo         Demo sources
   Slab         Tcl sources for modules Slab::*
   tests        Slab test suite
   fossil-tools Scripts useful in a fossil working copy, for renumbering
                module files and tagging a release

The Slab library itself consists of the file Slab-<version>.tm and the
contents of the directory Slab.  The library will function correctly if
these files alone are installed to the Tcl Module Path.

--------------------------------------------------------------------------

DOCUMENTATION

HTML manual pages are available in the HTML subdirectory.  Point to
index.html for frame version with tree navigation, or to contents.html

Name change from SlabVersion.txt to fossil-tools/SlabVersion.txt.

Name change from setslabversion to fossil-tools/setslabversion.

1
2
3


4
5
6
7
8
9
10
11
12
13
14





15
16
17
18
19
20
21
..
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
..
92
93
94
95
96
97
98



99
100
101
102
103
104
105
#!/bin/bash

# ------------------------------------------------------------------------------


# Script for changing the version numbers of files in the tree rooted at the
# directory of the script.  Its `pwd` is irrelevant.
#
# Filenames that contain the string FOO have that string replaced with BAR.
# - If called as "setslabversion", FOO is 999 and BAR is the string fetched
#   from file SlabVersion.txt (in the script's directory).
# - If called as "unsetslabversion", BAR is 999 and FOO is the string fetched
#   from file SlabVersion.txt (in the script's directory).
# - The scripts are useful when a repository holds files with a (fixed) default
#   version number (here, "999"), but tagged releases have a different
#   (and variable) version number.





# ------------------------------------------------------------------------------


# ------------------------------------------------------------------------------
# For testing.
# ------------------------------------------------------------------------------

................................................................................
        echo "$@" >&2
    fi
    exit 1
}

usage() {
    echo "Usage: ./$BASENAME ?-f|--force?" >&2
    echo "Renumbers all files in the tree rooted at the command's own directory." >&2
    echo "$DOC" >&2
    exit 1
}


# ------------------------------------------------------------------------------
# CHECK the command name, command arguments, version file, new and old versions,
................................................................................
cd "$(dirname "$0")"

test -f "$VERFILE" || die "version file \"$VERFILE\" does not exist"

FILEVER=`cat "$VERFILE"`

test -n "$FILEVER" || die "version file \"$VERFILE\" is empty"




# Define the name change required:

if [ "$BASENAME" == "$SETTCMD" ]
then
    OLDNUM=$DUMVER
    NEWNUM=$FILEVER



>
>

|









>
>
>
>
>







 







|







 







>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
..
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#!/bin/bash

# ------------------------------------------------------------------------------
# fossil-tools/setslabversion  -  Slab Project
# ------------------------------------------------------------------------------
# Script for changing the version numbers of files in the tree rooted at the
# parent of the directory of the script.  The `pwd` of the script is irrelevant.
#
# Filenames that contain the string FOO have that string replaced with BAR.
# - If called as "setslabversion", FOO is 999 and BAR is the string fetched
#   from file SlabVersion.txt (in the script's directory).
# - If called as "unsetslabversion", BAR is 999 and FOO is the string fetched
#   from file SlabVersion.txt (in the script's directory).
# - The scripts are useful when a repository holds files with a (fixed) default
#   version number (here, "999"), but tagged releases have a different
#   (and variable) version number.
#
# - These files should be in the same child directory of the working copy:
#   setslabversion   (this script)
#   unsetslabversion (symlink to this script)
#   SlabVersion.txt  (data file with the version number to be branched & tagged)
# ------------------------------------------------------------------------------


# ------------------------------------------------------------------------------
# For testing.
# ------------------------------------------------------------------------------

................................................................................
        echo "$@" >&2
    fi
    exit 1
}

usage() {
    echo "Usage: ./$BASENAME ?-f|--force?" >&2
    echo "Renumbers all files in the tree rooted at the command's parent directory." >&2
    echo "$DOC" >&2
    exit 1
}


# ------------------------------------------------------------------------------
# CHECK the command name, command arguments, version file, new and old versions,
................................................................................
cd "$(dirname "$0")"

test -f "$VERFILE" || die "version file \"$VERFILE\" does not exist"

FILEVER=`cat "$VERFILE"`

test -n "$FILEVER" || die "version file \"$VERFILE\" is empty"

# Now we've scraped $VERFILE, go to the parent directory.
cd ..

# Define the name change required:

if [ "$BASENAME" == "$SETTCMD" ]
then
    OLDNUM=$DUMVER
    NEWNUM=$FILEVER

Name change from tagrelease to fossil-tools/tagrelease.

1
2
3


4
5

6
7
8
9





10
11
12
13
14
15
16
..
89
90
91
92
93
94
95





96
97
98
99
100
101
102
...
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
#!/bin/bash

# ------------------------------------------------------------------------------


# Script for creating a release, with a branch, a tag, and a tarball, from the
# repository of the current checkout.

#
# - The script is useful when a repository holds files with a (fixed) default
#   version number (here, "999"), but tagged releases have a different
#   (and variable) version number.





# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
# Project-specific constants.
# ------------------------------------------------------------------------------

VERFILE="SlabVersion.txt"
................................................................................
cd "$(dirname "$0")"

test -f "$VERFILE" || die "version file \"$VERFILE\" does not exist"

FILEVER=$(cat "$VERFILE")

test -n "$FILEVER" || die "version file \"$VERFILE\" is empty"






OLDNUM=999
NEWNUM=$FILEVER

# CHECK versions are not the same:

test "$OLDNUM" != "$NEWNUM" || die "version \"$OLDNUM\" is prohibited."
................................................................................
# Exit at first error:
set -o -e > /dev/null

$ECHO fossil branch new "${TAGLABEL}-branch" "$(checkout)"
$ECHO mkdir "../${TAGLABEL}"
$ECHO cd    "../${TAGLABEL}"
$ECHO fossil open "$REPO" "${TAGLABEL}-branch"
$ECHO ./setslabversion -f
$ECHO fossil commit -m "Set version to ${NEWNUM}"
$ECHO fossil tag add "${TAGLABEL}" "$(checkout)"
$ECHO fossil tag add --raw closed  "$(checkout)"
$ECHO fossil push
$ECHO cd ..
$ECHO cp -a "${TAGLABEL}" "${PROJECT}-${NEWNUM}"
$ECHO cd "${PROJECT}-${NEWNUM}"
$ECHO fossil close
$ECHO cd ..
$ECHO tar -czf "${PROJECT}-${NEWNUM}.tar.gz" "${PROJECT}-${NEWNUM}"



>
>

|
>




>
>
>
>
>







 







>
>
>
>
>







 







|










1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
..
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
...
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
#!/bin/bash

# ------------------------------------------------------------------------------
# fossil-tools/tagrelease  -  Slab Project
# ------------------------------------------------------------------------------
# Script for creating a release, with a branch, a tag, and a tarball, from the
# fossil repository of the current checkout.  The `pwd` of the script is
# irrelevant.
#
# - The script is useful when a repository holds files with a (fixed) default
#   version number (here, "999"), but tagged releases have a different
#   (and variable) version number.
#
# - These files should be in the same child directory of the working copy:
#   tagrelease      (this script)
#   setslabversion  (script that does renumbering)
#   SlabVersion.txt (data file with the version number to be branched & tagged)
# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
# Project-specific constants.
# ------------------------------------------------------------------------------

VERFILE="SlabVersion.txt"
................................................................................
cd "$(dirname "$0")"

test -f "$VERFILE" || die "version file \"$VERFILE\" does not exist"

FILEVER=$(cat "$VERFILE")

test -n "$FILEVER" || die "version file \"$VERFILE\" is empty"

SCRIPTDIR=$(basename "$(pwd)")

# Now we've scraped $VERFILE, go to the parent directory.
cd ..

OLDNUM=999
NEWNUM=$FILEVER

# CHECK versions are not the same:

test "$OLDNUM" != "$NEWNUM" || die "version \"$OLDNUM\" is prohibited."
................................................................................
# Exit at first error:
set -o -e > /dev/null

$ECHO fossil branch new "${TAGLABEL}-branch" "$(checkout)"
$ECHO mkdir "../${TAGLABEL}"
$ECHO cd    "../${TAGLABEL}"
$ECHO fossil open "$REPO" "${TAGLABEL}-branch"
$ECHO "./${SCRIPTDIR}/setslabversion" -f
$ECHO fossil commit -m "Set version to ${NEWNUM}"
$ECHO fossil tag add "${TAGLABEL}" "$(checkout)"
$ECHO fossil tag add --raw closed  "$(checkout)"
$ECHO fossil push
$ECHO cd ..
$ECHO cp -a "${TAGLABEL}" "${PROJECT}-${NEWNUM}"
$ECHO cd "${PROJECT}-${NEWNUM}"
$ECHO fossil close
$ECHO cd ..
$ECHO tar -czf "${PROJECT}-${NEWNUM}.tar.gz" "${PROJECT}-${NEWNUM}"

Name change from unsetslabversion to fossil-tools/unsetslabversion.