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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
|
2013-02-01 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.15 ========================
*
2011-12-13 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.14 ========================
*
2011-01-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.13 ========================
*
2009-12-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.12 ========================
*
2008-12-12 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.11.1 ========================
*
2008-10-16 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.11 ========================
*
2008-06-12 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* fileutil_magic_cfront.pcx: New file. Syntax definitions for the
* fileutil_magic_cgen.pcx: public commands of the fileutil::magic
* fileutil_magic_filetype.pcx: packages.
* fileutil_magic_mimetype.pcx:
* fileutil_magic_rt.pcx:
2008-03-24 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* cfront.man: Fixed typo in the new documentation.
2008-03-21 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* rtcore.man: Added documentation for the runtime package
* cgen.man: 'fileutil::magic::rt', and the two compiler packages
* cfront.man: 'fileutil::magic::cgen' and 'fileutil::magic::cfront'.
* cfront.tcl: Fixed a typo in the export clause.
2007-09-12 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.10 ========================
*
2007-09-12 Andreas Kupries <andreask@activestate.com>
* filetypes.man: Fixed typos in the documentation, incomplete
* mimetypes.man: command names. Fixes [SF Bug 1791379].
2007-06-22 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* cfront.tcl: Replaced deprecated {expand} syntax in comments with
* cgen.tcl: {*}.
2007-03-21 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* mimetypes.man: Fixed all warnings due to use of now deprecated
* filetypes.man: commands. Added a section about how to give feedback.
2006-10-03 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.9 ========================
*
2006-09-27 Andreas Kupries <andreask@activestate.com>
* filetypes.tcl: [SF Tcllib Bug 1329207]. Extended commands with
* mimetypes.tcl: hardwired check for directory as that cannot be
* filetypes.man: done by the generated code. Bumped version to
* mimetypes.man: 1.0.2.
* filetypes.test:
* mimetypes.test:
* pkgIndex.tcl:
2006-09-19 Andreas Kupries <andreask@activestate.com>
* mimetypes.man: Bumped versions to 1.0.1
* mimetypes.tcl:
* filetypes.man:
* filetypes.tcl:
* pkgIndex.tcl:
2006-01-28 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* filetypes.test: Fixed usage of temp. files by the testsuites.
* mimetypes.test:
* fumagic.testsupport: New file, common definitions for the testsuite.
2006-01-22 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* filestypes.test: More boilerplate simplified via use of test support.
* mimetypes.test:
* filetypes.tcl: Added proper set up of the package namespace,
* mimetypes.tcl: paranoid code, 'rtcore' should have done it already.
2006-01-19 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* filetypes.test: Hooked into the new common test support code.
* mimetypes.test:
2005-12-09 Andreas Kupries <andreask@activestate.com>
* mimetypes.man: Corrected package names used in the
* filetypes.man: manpage headings.
2005-10-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.8 ========================
*
2005-09-19 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* filetypes.test (fumagic.filetype-1.2): Modified test result to
* mimetypes.test (fumagic.mimetype-1.2): make it independent of
the exact channel handle listed in the error message. Has
changed with Tcl 8.5.
2005-03-16 Andreas Kupries <andreask@activestate.com>
* Fixed typos in the manpage headers.
2005-02-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* tmc: Added basic magic compiler, and script to
* regenerate.sh: regenerate the recognizers.
* filetypes.tcl: Added general recognizer for file types,
* filetypes.man: tests, and documentation for it.
* filetypes.test: WARNING. This recognizer is LARGE.
2005-02-16 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* rtcore.tcl: Added the Nvx, Nx, and Sx commands to handle the
generation of location data for use by the R command for the
handling of relative addressing.
* cgen.tcl:
* rtcore.tcl: Rewritten the intialization of the typemap, fixing
bugs in the definition of the types using native byteorder
instead of explicitly specified big/little endian.
* mimetypes,man: Added REFERENCES section, and olisted url where
Colin found the sources of file(1) and of the magic files used.
2005-02-15 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* rtcore.tcl: Added commands I, R, and L to support indirect and
relative adressing.
* cgen.tcl: Rewrote the whole offset handling in the generator, to
support all types of offsets, i.e relative, indirect and
indirect relative ones. A new stage now parses all offsets into
standard components. The treegen stage then assembles proper
base handling using new rtcore commands (I, R). Also now saving
indicators about which branches actually need saving of field
locations for relative adressing, this is used to optimize usage
of check commands with saving (Nx, Sx, Nvx), and when to
regenerate the level information (L). The latter is an implicit
variable in the generated recognizer procedure, accessed via
'upvar 1' from the runtime commands.
2005-02-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* cfront.tcl: More fixes and 8.5 feature removal for the
* cgen.tcl: compiler packages.
2005-02-10 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* cgen.tcl: Removed usage of catch 8.5 feature.
* cfront.tcl: Fixed bad reference to file/scope local
command. Repaced usage 0f 8.5 feature 'lrepeat' with forward
compatibility command provided by 'struct::list'.
* cgen.tcl: Moved the 'provide' definition to the front, so that
* cfront.tcl: sak recognizes it and registers the provision of a
* mimetypes.tcl: package when validating the module.
* mimetypes.man: Basic documentation for the main recognizer
command.
* mimetypes.test: Copied the filetype tests from fileutil over for
use by the mimetype command, and adapted the results. Only four
places where the result can be said to be bogus
* mimetypes.tcl: Added code to remove duplicates from the output
of the low-level recognizer.
* rtcore.tcl: Added 'resultv' command which does not stop
processing in the caller as well. Needed by our wrapper.
* mimetypes.tcl: Moved code in 'magic.tcl' to
* magic.tcl: 'mimetypes.tcl'. There is no need for a highlevel
package loading all the different recognizers. Each recognizer
is fully in its own package now. That makes the addition of more
recognizers easier, without causing the wrapper to load more and
more unneeded code. Things are large as they are, no need to
make them larger. Deleted "magic.tcl".
2005-02-09 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* New module 'fumagic'. file(1) magic(5) based file type
recognition, in pure Tcl. Basic packages: runtime core,
mime-type engine, and a command wrapping the functionality for
easy access. The mime-type engine is not exactly so, it is
possible for to produce non-mime strings. We keep it for now
until the compiler has been put into this module as well.
* rtcore.tcl: Runtime core.
* magic-mime.tcl: Mime engine
* magic.tcl: Wrapper.
* Compiler packages now present as well
* cgen.tcl: Backend, tree-based code generator
* cfront.tcl: Frontend, parsing of magic(5) files.
|