TclApps Library Source Code
Check-in [56b5b0f9f3]
Not logged in

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

Overview
Comment: * lib/dtglue/dtglue.tcl (::dtglue::getmeta): Force all data on a single line. The code processing the data later are line-based.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 56b5b0f9f32e179a56f860d2f3057e32d6064b23
User & Date: andreas_kupries 2010-06-16 16:36:58.000
Context
2010-09-17
10:13
* tkchat.tcl (::tkchat::checkCommand): A single / at the start of a post is now rejected if it is not a known command. To send a literal slash at the beginning of a post, it has to be doubled. Improved detection and handling of the /tip command. check-in: e4a92bc49b user: rmax tags: trunk
2010-06-16
16:36
* lib/dtglue/dtglue.tcl (::dtglue::getmeta): Force all data on a single line. The code processing the data later are line-based. check-in: 56b5b0f9f3 user: andreas_kupries tags: trunk
2010-06-11
19:27
* lib/meta/meta.tcl (::meta::2xref): Added the page title to the list of things we can reference to in term's etc. dtplite had this for quite some time, the big brother should have it as well. check-in: 340e145a55 user: andreas_kupries tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to apps/dtp/ChangeLog.





1
2
3
4
5
6
7





2010-06-11  Andreas Kupries  <[email protected]>

	* lib/meta/meta.tcl (::meta::2xref): Added the page title to the
	  list of things we can reference to in term's etc. dtplite had
	  this for quite some time, the big brother should have it as
	  well.

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2010-06-16  Andreas Kupries  <[email protected]>

	* lib/dtglue/dtglue.tcl (::dtglue::getmeta): Force all data on a
	  single line. The code processing the data later are line-based.

2010-06-11  Andreas Kupries  <[email protected]>

	* lib/meta/meta.tcl (::meta::2xref): Added the page title to the
	  list of things we can reference to in term's etc. dtplite had
	  this for quite some time, the big brother should have it as
	  well.

Changes to apps/dtp/lib/dtglue/dtglue.tcl.
161
162
163
164
165
166
167











168
169
170
171
172
173
174

	    # Extract basic meta information form manpage.
	    # Also add full path of input file as meta
	    # information before collecting it as part of
	    # the final result.

	    foreach {__ fmeta} [string trim [dt format [tools::getfile $f]]] break











	    lappend fmeta path $f

	    append meta [list manpage $fmeta]\n
	}]} {
	    tools::internalerror
	}
    }







>
>
>
>
>
>
>
>
>
>
>







161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185

	    # Extract basic meta information form manpage.
	    # Also add full path of input file as meta
	    # information before collecting it as part of
	    # the final result.

	    foreach {__ fmeta} [string trim [dt format [tools::getfile $f]]] break

	    set tmp {}
	    foreach {k v} $fmeta {
		# Trim leading/trailing whitespace.
		# And put everything on a single line.

		regsub -all -- "\[ \t\n\]+" $v { } v
                set v [string trim $v]
		lappend tmp $k $v
	    }
	    set     fmeta $tmp
	    lappend fmeta path $f

	    append meta [list manpage $fmeta]\n
	}]} {
	    tools::internalerror
	}
    }