tisTrace
Check-in [37bc0b181a]
Not logged in

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

Overview
Comment:More markdown testing.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 37bc0b181a5e4013c33d9d87437339ba576d1627
User & Date: jima 2015-11-06 17:43:05.436
Context
2015-11-06
17:44
More markdown fiddling. check-in: ee64cd58b0 user: jima tags: trunk
17:43
More markdown testing. check-in: 37bc0b181a user: jima tags: trunk
17:31
More tweaking related to fossil and markdown. check-in: 2b4a40238b user: jima tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to configure.
5410
5411
5412
5413
5414
5415
5416
5417

5418
5419
5420
5421
5422
5423
5424
5410
5411
5412
5413
5414
5415
5416

5417
5418
5419
5420
5421
5422
5423
5424







-
+







	PKG_STUB_OBJECTS="$PKG_STUB_OBJECTS $j"
    done




    vars="
    generic/trace.tcl
    generic/doc/trace.tcl.md
"
    for i in $vars; do
	# check for existence, be strict because it is installed
	if test ! -f "${srcdir}/$i" ; then
	    as_fn_error $? "could not find tcl source file '${srcdir}/$i'" "$LINENO" 5
	fi
	PKG_TCL_SOURCES="$PKG_TCL_SOURCES $i"
Changes to configure.in.
74
75
76
77
78
79
80
81

82
83
84
85
86
87
88
74
75
76
77
78
79
80

81
82
83
84
85
86
87
88







-
+







TEA_ADD_SOURCES([])
TEA_ADD_HEADERS([])
TEA_ADD_INCLUDES([])
TEA_ADD_LIBS([])
TEA_ADD_CFLAGS([])
TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([
    generic/trace.tcl
    generic/doc/trace.tcl.md
])

#--------------------------------------------------------------------
# __CHANGE__
#
# You can add more files to clean if your extension creates any extra
# files by extending CLEANFILES.
Changes to doc/www/introduction.md.
1
2
3
4
5
6

7
8
9
10
11
12
13











1
2
3
4
5
6
7







8
9
10
11
12
13
14
15
16
17
18






+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
# Introduction.

The package deals with sending stuff to the screen for users to debug.

The operations included here:

* [*on*](../../generic/doc/trace.tcl.md#on)
* *on* - Activate *trace* **invokations** globally.
* *off* - Deactivate *trace* **invokations** globally.
* *do* - Send a message to the screen depending on global settings.
* *yes* - **Invoke** this for tracing no matter the global settings.
* *no* - **Invoke** this for no tracing no matter the global settings.

* *boot* - Activate the package. This is done at *package require* time.
- Activate *trace* **invokations** globally.
* [*off*](../../generic/doc/trace.tcl.md#off)
- Deactivate *trace* **invokations** globally.
* [*do*](../../generic/doc/trace.tcl.md#do)
- Send a message to the screen depending on global settings.
* [*yes*](../../generic/doc/trace.tcl.md#yes)
- **Invoke** this for tracing no matter the global settings.
* [*no*](../../generic/doc/trace.tcl.md#no)
- **Invoke** this for no tracing no matter the global settings.
* [*boot*](../../generic/doc/trace.tcl.md#boot)
- Activate the package. This is done at *package require* time.
Changes to generic/doc/trace.tcl.md.
1
2
3
4
5
6
7
8


9
10
11
12
13
14
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17








+
+







# Trace.

    namespace eval ::tis {

    namespace eval trace {

<!-- { -->

<a name="Really"></a>

## Proc Really.

This is the **proc** that gets invoked to really do the tracing.

Arguments:

* **msg** - Message to be sent to screen.
41
42
43
44
45
46
47


48
49
50
51
52
53
54
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58







+
+







        return
    }

----

<!-- { -->

<a name="on"></a>

## Proc on.

Activates the **invokations** to **proc** *do*.

Arguments:

* None.
70
71
72
73
74
75
76


77
78
79
80
81
82
83
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89







+
+







        return
    }

----

<!-- { -->

<a name="off"></a>

## Proc off.

Deactivates the **invokations** to **proc** *do*.

Arguments:

* None.
96
97
98
99
100
101
102


103
104
105
106
107
108
109
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117







+
+







        proc ::tis::trace::do {args} {}
        return
    }

----

<!-- { -->

<a name="boot"></a>

## Proc boot.

Sets up the tracing subsystem in **tis**.

Arguments:

Changes to pkgIndex.tcl.in.
1
2
3
4






5



6
7
8
1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16




+
+
+
+
+
+
-
+
+
+



#
# Tcl package index file
#
package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ "
    # Preamble to facilitate markdown comments in Tcl code.
    proc ::<!-- {args} {}
    proc ::---- {} {}
    proc ::<a {args} {}

    # Package files.
    [list source [file join $dir trace.tcl]]
    [list source [file join $dir trace.tcl.md]]

    # Boot.
    tis::trace::boot
    package provide @PACKAGE_NAME@ @PACKAGE_VERSION@
"