forked from tpircher-zz/pycrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
457 lines (307 loc) · 12.6 KB
/
ChangeLog
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
#
# Version 0.7.11, 2012-??-??
#
2012-02-26 Thomas Pircher <[email protected]>
* crc_symtable.py:
* pycrc.py:
Improved Python3 compatibility. pycrc now requires Python 2.6 or later.
* test/test.py:
Added a test for compiled standard models.
2012-02-26 Thomas Pircher <[email protected]>
* crc_models.py:
Fixed a wrong "check" value of the crc-64-jones model.
* crc_symtable.py:
Don't use snprintf() with c89 code, changed to sprintf().
* test/test.sh:
* test/test.py:
Deleted test.sh shell script and replaced it with test.py.
#
# Version 0.7.10, 2012-02-13
#
2012-02-08 Thomas Pircher <[email protected]>
* crc_symtable.py:
Bad-looking C code generated; make sure the bit-by-bit(fast) code does not
contain two instructions on one line. Thanks to "intgr" for the fix.
* crc_symtable.py:
Some small code clean-up: use set() when appropriate.
2011-12-19 Thomas Pircher <[email protected]>
* crc_models.py:
* doc/pycrc.xml:
Added the models crc-12-3gpp, crc-16-genibus, crc-32-bzip2 and crc-64-xz.
Taken from Greg Cook's Catalogue of parametrised CRC algorithms:
http://regregex.bbcmicro.net/crc-catalogue.htm
2011-12-14 Thomas Pircher <[email protected]>
* doc/pycrc.xml:
Fixed a mistake in the man page that still used the old model name
crc-32mpeg instead of crc-32-mpeg. Thanks to Marek Erban.
#
# Version 0.7.9, 2011-12-08
#
2011-12-08 Thomas Pircher <[email protected]>
* crc_symtable.py:
Fixed a bug in the generated C89 code that included stdint.h.
Thanks to Frank (ftheile).
Closes issue 3454356.
2011-11-08 Thomas Pircher <[email protected]>
* crc_symtable.py:
Fixed a bug in the generated C89 code when using a 64 bit CRC.
* pycrc.py:
Using the --verbose option made pycrc quit without error message.
#
# Version 0.7.8, 2011-07-10
#
2011-07-10 Thomas Pircher <[email protected]>
* crc_symtable.py:
When generating C code for the C89 or ANSI standard, don't include <stdint.h>.
This closes issue 3338930
* crc_symtable.py:
If no output file name is given while generating a C file, then pycrc will
#include a hypothetical pycrc.h file instead of a stdout.h file.
Also, added a comment on that line to make debugging easier.
Closes issue 3325109.
* crc_symtable.py:
Removed unused variable "this_option_optind" in the generated option parser.
#
# Version 0.7.7, 2011-02-11
#
2011-02-11 Thomas Pircher <[email protected]>
* all files:
Updated the copyright year.
Fixed some coding style issues found by pylint and pychecker.
2010-12-13 Thomas Pircher <[email protected]>
* crc_opt.py:
Substituted the deprecated function atoi() with int(). Closes issue 3136566.
Thanks to Tony Smith.
* doc/pycrc.xml:
Updated the documentation using Windows-style calls to the Python interpreter.
#
# Version 0.7.6, 2010-10-21
#
2010-10-21 Thomas Pircher <[email protected]>
* crc_symtable.py:
Fixed a minor bug in the command line parsing of the generated main function.
2010-08-07 Thomas Pircher <[email protected]>
* crc_symtable.py, crc_parser.py, crc_lexer.py:
Rewritten macro parser from scratch. Simplified the macro language.
2010-08-03 Thomas Pircher <[email protected]>
* crc_symtable.py: changed a simple division (/) to a integer division (//)
for Python3 compatibility.
#
# Version 0.7.5, 2010-03-28
#
2010-03-27 Thomas Pircher <[email protected]>
* crc_symtable.py:
C/C++ code can now be generated for the table-driven algorithm with widths
that are not byte-ligned or less than 8.
W A R N I N G: introduced new variable crc_shift, member of the crc_cfg_t
structure, that must be initialised manually when the width
was undefined during C/C++ code generation.
2010-03-27 Thomas Pircher <[email protected]>
* crc_opt.py, crc_algorithms.py:
Python implementation of the table-driven algorithm can handle widths less
than 8.
* crc_symtable.py:
Suppressed warnings of unused cfg structure on partially defined models.
2010-03-26 Thomas Pircher <[email protected]>
* pycrc.py, crc_opt.py, crc_algorithms.py, crc_symtable.py:
Removed half-baken and confusing --direct option.
2010-02-10 Thomas Pircher <[email protected]>
* pycrc.py, crc_opt.py: minor code cleanup.
#
# Version 0.7.4, 2010-01-24
#
2010-01-24 Thomas Pircher <[email protected]>
* crc_models.py: changed the xor-in value of the crc-64-jones model.
* crc_models.py: Set xmodem parameters equal to the zmodem params.
2009-12-29 Thomas Pircher <[email protected]>
* pycrc.py, crc_opt.py, crc_parser: uniform error messages.
* crc_opt.py: added a warning for even polynoms.
2009-11-12 Thomas Pircher <[email protected]>
* crc_models.py: added crc-16-modbus. Closes issue 2896611.
2009-11-07 Thomas Pircher <[email protected]>
* crc_opt.py: Fix for unused variable argv.
Closes issue 2893224. Thanks to Marko von Oppen.
#
# Version 0.7.3, 2009-10-25
#
2009-10-25 Thomas Pircher <[email protected]>
* crc_models.py: renamed crc-32mpeg to crc-32-mpeg.
2009-10-19 Thomas Pircher <[email protected]>
* crc_models.py: added crc-64-jones CRC model. Thanks to Waterspirit.
#
# Version 0.7.2, 2009-09-30
#
2009-09-30 Thomas Pircher <[email protected]>
* pycrc.py: fixed a bug that caused the result of the Python table-driven
code not being evaluated at all.
Closes issue 2870630. Thanks to Ildar Muslukhov.
#
# Version 0.7.1, 2009-04-05
#
2009-03-26 Thomas Pircher <[email protected]>
* crc_models.py: added crc-32mpeg. Thanks to Thomas Edwards.
#
# Version 0.7, 2009-02-27
#
2009-02-15 Thomas Pircher <[email protected]>
* crc_algorithms.py: code tidy-up.
* crc_algorithms.py, crc_opt.py: added --direct option.
* crc_symtable.py: added --direct option for the generated code.
2009-02-03 Thomas Pircher <[email protected]>
* crc_opt.py: added --check-hexstring option. Closes issue 2545183.
Thanks to Arnim Littek.
2009-01-31 Thomas Pircher <[email protected]>
* crc_opt.py: added a check for extra arguments on the command line.
Closes issue 2545185. Thanks to Arnim Littek.
2008-12-24 Thomas Pircher <[email protected]>
* doc/pycrc.xml: Added one more example.
#
# Version 0.6.7, 2008-12-11
#
2008-12-11 Thomas Pircher <[email protected]>
* all files: run Python's 2to3 script on the files.
* all files: check the code on a x64 platform.
* crc_opt.py: fixed a bug that raised an exception when an unknown model
was selected.
#
# Version 0.6.6, 2008-06-05
#
2008-06-05 Thomas Pircher <[email protected]>
* crc_symtable.py: fixed a bug in the print_params function. Closes issue
1985197. Thanks to Artur Lipowski.
2008-03-03 Thomas Pircher <[email protected]>
* pycrc.xml: new license: Creative Commons Attribution-Share Alike 3.0
Unported License.
#
# Version 0.6.5, 2008-03-03
#
2008-03-02 Thomas Pircher <[email protected]>
* crc_models.py: added dallas-1-wire 8 bit CRC.
2008-02-07 Thomas Pircher <[email protected]>
* crc_symtable.py: fixed a problem with the generated code for
bit-by-bit-fast algorithms. Thanks to Hans Bacher.
2007-12-19 Thomas Pircher <[email protected]>
* crc_models.py: added r-crc-16 model (DECT (cordless digital standard)
packets A-field according to ETSI EN 300 175-3 v2.1.1).
Thanks to "raimondo".
2007-12-10 Thomas Pircher <[email protected]>
* crc_symtable.py: added extern "C" declaration to the generated C header
file. Thanks to Nathan Royer.
2007-12-10 Thomas Pircher <[email protected]>
* crc_algorithms.py: changed the API to take the CRC model direct as
parameter. Deleted the need for an obscure "opt" object.
2007-12-09 Thomas Pircher <[email protected]>
* crc_opt.py: added --crc-type and --include-file options.
* crc_models.py: added new file to handle CRC models
#
# Version 0.6.4, 2007-12-05
#
2007-12-05 Thomas Pircher <[email protected]>
* crc_symtable.py: fixed a bug in the code generator for the table-driven
algorithm. Thanks to Tom McDermott. Closes issue 1843774
#
# Version 0.6.3, 2007-10-13
#
2007-10-13 Thomas Pircher <[email protected]>
* crc_symtable.py: fixed some portability problems in the generated code.
Thanks to Helmut Bauer. Closes issue 1812894
2007-09-10 Thomas Pircher <[email protected]>
* crc_opt.py: added new models: crc-5, crc-15, crc-16-usb, crc-24, crc-64.
The new models are taken from Ray Burr's CrcMoose.
* pycrc.py: --check-file works now with --width < 8. Closes issue 1794343
* pycrc.py: Removed unnecessary restriction on the width when using the
bit-by-bit-fast algorithm. Closes issue 1794344
#
# Version 0.6.2, 2007-08-25
#
2007-08-25 Thomas Pircher <[email protected]>
* crc_opt.py: the parameter to --check-string was ignored. Closes issue
1781637
* pycrc.py: the parameter to --check-string was ignored. Closes issue
1781637
2007-08-18 Thomas Pircher <[email protected]>
* crc_symtable.py: simplified the table-driven code. Closes issue 1727128
2007-08-18 Thomas Pircher <[email protected]>
* crc_parser.py: changed the macro language syntax to a better format
* crc_lexer.py: changed the macro language syntax to a better format
* crc_symtable.py: changed the macro language syntax to a better format
* crc_parser.py: Renamed crc_code_gen.py to crc_parser.py
* all files: Documented thge usage of the crc_* modules
#
# Version 0.6.1, 2007-08-12
#
2007-08-12 Thomas Pircher <[email protected]>
* test/test.sh: Added test for C89 compilation
* test/main.c: Added a test case to loop over the input bytes one by one
* crc_symtable.py: Bugfix in the source code generator for C89:
Compilation error due to mismatch of parameters in the crc_finalize
funtion
* crc_symtable.py: Changes related to 919107: Code generator includes
reflect() function even if not needed
2007-07-22 Thomas Pircher <[email protected]>
* crc_symtable.py: Fixed a typo in the C89 source code generator.
Thanks to Helmut Bauer
2007-06-10 Thomas Pircher <[email protected]>
* all files: Tidied up the documentation
* all files: Code cleanup
2007-05-15 Thomas Pircher <[email protected]>
* crc_opt.py: Deleted obsolete options
#
# Version 0.6, 2007-05-21
#
2007-05-15 Thomas Pircher <[email protected]>
* crc_opt.py: Added the --std option to generate C89 (ANSI) compliant code
* crc_symtable.py: Reduced the size of the symbol table by re-arranging
items
2007-05-13 Thomas Pircher <[email protected]>
* test/test.sh: Added a new check to the test script which validate all
possible combination of undefined parameters
* crc_code_gen.py: Made the generated main function cope with command line
arguments
2007-05-12 Thomas Pircher <[email protected]>
* pycrc.py: Added the --generate table option
* pycrc.py: Added a template engine for the code generation. Split up
pycrc.py into smaller modules
2007-04-11 Thomas Pircher <[email protected]>
* pycrc.py: Added obsolete options again tor legacy reasons.
Added a better handling of the --model parameter.
2007-04-07 Thomas Pircher <[email protected]>
* pycrc.py: Changed licence to the MIT licence. This makes the additional
clause for generated source code obsolete.
Changed all command line options with underscores to hyphen (e.g.
table_driven becomes table-driven).
Added the option --generate which obsoletes the old options --generate_c
--generate_h etc.
#
# Version 0.5, 2007-03-25
#
2007-03-25 Thomas Pircher <[email protected]>
* pycrc.py: Fixed bug 1686404: unhandled exception when called with
both options --table_idx_width and --check_file
* pycrc.py: Eliminated useless declaration of crc_reflect, when not used
* pycrc.py: Corrected typos in the documentation
#
# Version 0.4, 2007-01-26
#
2007-01-27 Thomas Pircher <[email protected]>
* pycrc.py: Eliminated needless documentation of not generated functions
2007-01-23 Thomas Pircher <[email protected]>
* pycrc.py: Added more parameter sets (now supported: crc-8, crc-16, citt,
kermit, x-25, xmodem, zmodem, crc-32, crc-32c, posix, jam, xfer) from
http://homepages.tesco.net/~rainstorm/crc-catalogue.htm
* doc/pycrc.xml: Many corrections to the manual (thanks Francesca)
Documented the new parameter sets
* test/test.sh: added some new tests, disabled the random loop
2007-01-21 Thomas Pircher <[email protected]>
* pycrc.py: Added Doxygen documentation strings to the functions.
Added the --symbol_prefix option
Added the --check_file option
* doc/pycrc.xml: Corrected many typos and bad phrasing (still a lot to do)
Documented the --symbol_prefix option
2007-01-17 Thomas Pircher <[email protected]>
* test/test.sh: Added a non-regression test on the generated C source
#
# Version 0.3, 2007-01-14
#
2007-01-14 Thomas Pircher <[email protected]>
* pycrc.py: first public release pycrc v0.3