-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathChangeLog
769 lines (769 loc) · 39.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
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
*
* + = Added components
* - = Removed components
* ~ = Bugfix
* % = Change/update
* ! = Performance optimization
*
* v2.6:
*
* - ~ Fixed several minor bugs
* - % Expanded base64 encode/decode maximum input data size to 4GB
* - + SHA224, SHA384, SHA512 and MD5 checksumming extended directives
* - % Clean spaces from math strings before processing
* 2.6.1:
* - + SHA256, MD4, RIPEMD160 hash functions (extended directives)
* - + --enable-crypto option (autotools configure)
* 2.6.2:
* - + Math: Cast string to integer, get integer field byte at offset
* - + -print0 option
* - + iMDB log country,language and screens fields
* - ~ Crash when casting results of certain directives
* - ~ Filesystem traversal: int/float casted string not referencing data
* - + LOM: ~ (set) operator
* - % Renamed options which were not POSIX-compilant
* - ~ Fixed nuked directory string leaking into dirlog
* - ~ Several bugfixes and improvements
* 2.6.3:
* - ~ Precheck compatibility with current version
* - + Fast dupechecking (--ht option, ?h directive)
* - + Made commit hash part of version string
* 2.6.4:
* - + Modify buffered data (?e directive)
* - ! Major performance boost for dirlog rebuild update mode
* - % Cross compile for androideabi (./configure --host arm-linux-androideabi)
* 2.6.5:
* - ~ Stuff already in the dirlog was being added in update mode
* 2.6.6:
* - ~ Critical fix: uninitialized ht settings causing double freeing
* 2.6.7:
* - % Removed 'glconf.h' dependancy when compiling the filesystem search utility
* - ~ Fixed segfault when running dirlog update on a very small log
* - ~ Fixed buffer overrun in LOM math argument processing
*
* v2.5:
*
* - % Changed how field is passed to string matching parameters
* - ~ '?d' was modifying data storage area
* - % Mounting /proc no longer required (read NEWS)
* 2.5.2:
* - ~ Fixed broken legacy macro argument passing (-arg1, -arg2, ..)
* - % Re-open log after fork (before exec), capture stdout (precheck)
* 2.5.3:
* - ~ ?q: parsing broken
* - ~ dirlog rebuild target path string empty in certain cases
* 2.5.5:
* - ! Avoid processing unecessary filters
* 2.5.6:
* - ~ -[post|pre]print[f] overlapping
* 2.5.7:
* - + made altlog dumpable via -q
* 2.5.8:
* - ~ --dupefile option was ignored when calling macros
* 2.5.9:
* - ~ potential buffer overflow (dirlog rebuild)
* 2.5.10:
* - ~ segfault when string matching against non-existant key ('?x' directive)
* 2.5.11:
* - + base64 encoding/decoding (?B/?D extended directives, respectively)
* - + ?s extended directive (see MANUAL)
* 2.5.12:
* - ~ Fix BSD-incompatible include
* - + Implemented --stdlvl <0-32>, added more options to --stdlog
* - % Made -prune: <expr> operator work when rebuilding dirlog (-r)
*
* v2.4:
*
* - + 'user' and 'group' fields, see under FILESYSTEM in DATA_STRUCTURES
* - + 'm:siterootn' field
* - % Got rid of "(MISSING)" messages ('user' and 'group') fields, instead it returns blank when info can't be obtained
* - ~ Segfaulted when looking up 'user' or 'group' fields, in certain cases
* - ~ Called 'md_init' twice when referencing 'user' or 'group' fields (FILESYSTEM)
* - ~ Not showing proper paths on error messages, when unable to open passwd or group files
* - + Libs to translate internal error codes to message strings
* - + Implemented heapsort algorithm
* - + '--loadqa' and '--sortmethod'
* - ~ Legacy sort function inverting order
* - + 'comp' field added to '?q' extended directive (check if log is compressed
* 2.4.1:
* - + Implemented quicksort algorithm (rev. 1_b1)
* - ~ Plugged memory leak (sorting functions) (rev. 1_b1)
* 2.4.2:
* - ~ qsort was broken (rev. 2)
* 2.4.3:
* - ~ Floating point values sorting broken (since 2.4.1) (rev. 3)
* 2.4.4:
* - % Changed default altlog output (rev. 4_b2)
* - ~ 'ipc' generic field broken (was showing PID instead of IPC key) (rev. 4_b3)
* - + Implemented string sorting (rev. 4_b4)
* - % Made --sort <mode> parameter optional (rev. 4_b5)
* 2.4.5:
* - + 'nuser' and 'ngroup' dirlog fields (extra info), see DATA_STRUCTURES (rev. 5_b1)
* - ~ altlog data structure wasn't aligned to 4b (rev. 5_b2)
* - % Changed some altlog properties, update filelog scripts and rebuild filelog if using it (rev. 5)
* 2.4.6:
* - % Made --sort ..,<order> parameter optional (rev. 6_b1)
* - + Implemented insertion sort (rev. 6_b2)
* - % Made quicksort the default sorting algorithm (rev. 6_b3)
* - + Implemented selection sort (rev. 6_b4)
* 2.4.7:
* - % Flush data to disk every so often, to avoid filling up memory buffer (-z) (rev. 7_b1)
* - % Adjusted write buffer limits, added --progress (rev. 7_b2)
* 2.4.8:
* - ~ --nobuffer broken (rev. 8)
* 2.4.9:
* - + Nested parenthesis in math preprocessor (rev. 9_b1)
* - + -preprint and -postprint (see --help) (rev. 9_b1)
* - % Global vars made available in math preprocessor (rev. 9_b2)
* - % Math preprocessor instructions can be used when LOM filtering (rev. 9_b2)
* - + '?p', '?P' and '?L' extended directives (read MANUAL) (rev. 9_b3)
* - ~ Misaligned field reads (accumulator) (rev. 9_b4)
* - + '-print-', '-printf-', '-execv-', '-exec-' (read input from file/stdin) (rev. 9_b5)
* - + 'curtime' global field (math preprocessor) (rev 9_b6)
* - ~ LOM matching broken (with signed integers) (rev. 9_b7)
* - ~ 'isnot' (!=) relational operator broken (LOM) (rev. 9_b9)
* - + gfind, see NEWS file (rev. 9_b9)
* 2.4.11:
* - ~ Comparison operators (and/or between filtering options) broken (rev. 11_b1)
* - % Negate filter parameters with !, old parameters (e.g. iregex) removed, (please read NEWS for more info) (rev. 11_b2)
* - ~ Accumulators affecting match results in certain cases (rev. 11_b3)
* - ~ generic matching routine segfault (rev. 11_b4)
* - ~ Buffer overrun when referencing 'curtime' field (rev. 11_b5)
* - ~ Log lookups had broken matching (glutil-precheck) (rev. 11_b6)
* - % Accumulators processing grouped with general matching routines (had separate routine before) (rev. 11_b7)
* - + 'depth' field (FILESYSTEM), see DATA_STRUCTURES (rev. 11_b7)
* - ~ Left/right LOM math data structures overlapping (rev. 11_b8)
* - + Sort currend directory (-x) (rev. 11_b9)
* - + Write full path to 'pspec2' global before 'path_exec_on_match' (glutil-precheck) (b11)
* - ~ Printing to stdout when forked (glutil-precheck) (b12)
* - ~ 'execute_on_lookup_fail' mode 2 not working (glutil-precheck) (b13)
* - + Write last message to 'pspec1' (b14)
* - + --stdlog (see --help) (b15)
* 2.4.12:
* - + --mroot
* - ~ 'path' and 'dir' couldn't be referenced from per/section 'exec' strings
* 2.4.13:
* - + Global vars can be referenced when regex matching rls strings (precheck) (1)
* - + --shmcflags and --shmro (see --help) (2)
* - ~ Some early errors weren't logged (precheck) (3)
* - % Extended directives recursive execution (4)
* - + 'rlink' field (FILESYSTEM) (4)
* - + '?X' extended directive (5)
* - ~ Fixed an unsafe 'snprintf' call, allowed for injection (5)
* - % Expanded on '?L' directive to include 'else' action (6)
* - ~ 'size' was resolving links instead of reading link size (6)
* - % Automatically typecast between float<->int (math) (7)
* - ~ Use stat instead of relying on readdir to get dt_mode (g_preproc_dm) (8)
* - ~ Fix -execv memory leak (9)
* - + o_lookup_strictness_tvrage added (gconf) (10)
* - + precheck ignores rule if imdb_skip_zero_score > 0 and score = 0 (10)
* - ~ --daemon on command line is passed along to macro (11)
* - ~ '-lom' argument processing bug (12)
* - + --xflags and 'x' log type (see --help) (12)
* - % Removed obsolete 'curtime' field used with '-x' (12)
* - % Gzip disabled by default (to enable compile with --enable-gzip) (12)
* 2.4.14:
* - + Force precedence on match expressions (see --help)
* 2.4.15:
* - ~ 'curtime' returning zero
* 2.4.16:
* - ~ Negative values in LOM expressions failing
* - ~ REGEX extended directives fixed up and features added (see MANUAL)
* - ~ Memory leak (math)
* - + Math operations can be done on input data before formatting ('?t' and '?tl')
* - + Sort by any filesystem field available (-x)
* 2.4.17:
* - ~ Filesystem processor ignoring root path
* - + '--xloop' and '--depth'
* - + 'x' directive (read MANUAL)
* - + 'Q' directive (read MANUAL)
* - + Multi-threaded net engine (disabled by default)
*
* v2.3:
*
* - + Started glutil-precheck, on MKDIR filtering processor, uses imdb/tvrage data logs.
* - + Add loc_dm.sh and loc_cl.sh
* - ~ Fix memory leak in file proc (-x)
* - ~ Clean up resources after done (-x)
* - ~ Filesystem parser ignored elements not of type DT_REG (regular file)
* - % Higher resolution (nanosecond) loop interval can be given to --loop
* - % Log import (-z) ignores # commented lines
* - + Add --xretry
* - % Changed default behaviour: dirlog rebuild imports files on requested depth level (rev. 8)
* - + Add --indepth - scans each import subject recursively (old behaviour) (rev. 8)
* - % Passing '-' as argument to --folders reads from stdin (rev. 8)
* - ~ Full filesystem rescan (dirlog rebuild) not recursing (rev. 8)
* - % Passing '-' as argument to path overrides reads from stdin (rev. 8)
* - ~ Full filesystem rescan (dirlog rebuild) not scanning files (rev. 9)
* - % Changed option name for full dirlog rebuild from '-f' to '--full' (rev. 10)
* - ~ Update in full dirlog rebuild mode fixed (rev. 10)
* - ! Large performance boost in dirlog update mode (rev. 10)
* - ~ Dirlog rebuild update mode broken (-r -u) (rev. 10)
* - ~ Do not retry opening nukelog if it fails the first time (-r) (rev. 11)
* - ~ Filtering options broken when no log existed (-r) (rev. 11)
* - ~ Sparseness ({sparse}) was not calculated properly (rev. 12)
* - ~ Certain stages of SFV rebuild ignoring --nowrite (rev. 12)
* - + SUID/SGID/sticky bit octet support (rev. 13)
* - + Add 'pbits' (first 12 bits of st_mode) (rev. 13)
* - + Add 'st_mode' (rev. 13)
* - + --r[u]sleep log parsing/filesystem walking timeout (rev. 13)
* - ~ --raw dump was displaying stats info (rev. 14)
* - + --stats and --nostats (read --help) (r15)
* - % Disabled statistics after dump and filesystem traversal by default (rev. 15)
* - ~ dirlog rebuild (-r) forced ignore empty dir (rev. 16)
* - % --maxdepth and --mindepth work with dirlog rebuild mode (-r) (rev. 16)
* - ~ Segfault when filters were applied during dirlog update (-r -u) (rev. 16)
* - + Globally available accumulators; source data values can be added up and stored in these
variables, see under GLOBAL in DATA_STRUCTURES for descriptions (rev. 17)
* - + -mlist - list all available macros, support for descriptions embedded in macros (rev. 17)
*
* - % -mlist - optionally increase verbosity (rev. 17_b6)
* - % -mlist - additional optional verbosity increase (rev. 17_b7)
* - % sort/filter argument order affects a dump operation (sort or filter first) (rev. 17_b8)
* - ~ -xdev broken while rebuilding dirlog (rev. 17_b9)
* - + gzip compression support (beta) (rev. 17_b10)
* - ~ Tons of fixes around compression (rev. 17_b12)
* - ~ Fixed latent bug (segfault) when walking directory tree (rev. 17_b13)
* - ~ Rewinding a stream caused gzip breakage (rev. 17_b14)
* - ~ Fix segfault (glutil-precheck) (rev. 17_b15)
* - ~ Initialize glob_*_stor arrays with MAX_GLOB_STOR_AR_COUNT instead of fixed value (rev. 17_b16)
* - %~ Fixed stats output and made it a bit more informative (rev. 18)
*
* - % Automake: --enable-precheck does not disable regular (or chrooted) binary build (rev. 18_b1)
* - ! self_get_path checking read access twice (rev. 18_b2)
* - ~ Blank directory names written during dirlog rebuild (only in certain cases) (rev. 19)
*
* v2.2:
*
* - % Automake
* - ~ -r and -w broken (since 2.2)
* - ~ LREF_ONLINE_H_ used in two different headers (rev. 3)
*
* v2.1:
*
* - + Arithmetic pre-processor (-print[f] only)
* - %! LOM argument processing more efficient (rev. 1)
* - ~ Memleak: -print bytecode header memory not freed (rev. 2)
* - ~ Field values were not interpreted properly (arithmetic pre-processor) (rev. 3)
* - ~ ref_to_val_ptr_gen1 failing to match field name (rev. 4)
* - % Replaced strcmp with strncmp in ref_to_val_macro (rev. 5)
* - + Add GENERIC-4 log (rev. 6)
* - % --raw with -z dumps loaded data to stdout (rev. 7)
* - ~ Default match subject offset misaligned on GE4 (string matching) (rev. 8)
* - ! Optimize enum_dir (rev. 8)
* - ~! {crc32} calculated each time it was requested, instead of just once for a file (rev. 9)
* - % Hexadecimal numbers need to be given with 0x in front (LOM and arithmetic pre-processor) (rev. 9)
* - % #<format> works with arithmetics (extended directive '?m', see MANUAL) (rev. 9)
* - ~ Broke LOM and arithmetic pre-processor args float detection in rev. 9 (rev. 10)
* - ~ Properly align directives and data-type sizes on output (arith. preproc) (rev. 10)
* - % Non-field numerals given to arithmetic pre-processor are forced to same type as first argument (rev. 11)
* - + Arithmetic pre-processor accepts bitwise operators (see MANUAL) (rev. 12)
* - %! Avoid copying and null-terminating strings where not needed (ref_to_val_af) (rev. 13)
* - + ?rs and ?rd - regex string pre-processor (extended directives) (rev. 14)
* - ~ != (isnot) comparison operator broken (LOM) (rev. 15)
*
* v2.0:
*
* - + Extended format/regex/match directives;
* - Apply to -printf, --[i]regex[i] and --[i]match
* - See MANUAL for more information
* - + ref_to_val_lk_generic processes all directives (rev. 1)
* - ~ g_load_strm wrote to restricted memory (rev. 2)
* - ~ dt_rval_x_c was broken, replaced with dt_rval_c (rev. 2)
*
* v1.12:
*
* - %! -exec[v] arguments pre-compile
* - + -print, see --help (rev. 1)
* - ~ Alot of smaller fixes (rev. 1)
* - ~ Fixes and code cleanup (rev. 2)
* - ~ Get file creation time on properly (rev. 3)
* - ~ -exec[v]/-print compiler overflow on input string (rev. 4)
* - ~ Loglevels aligned one place lower than requested (rev. 4)
* - %! Argument processing faster (rev. 4)
* - ~ User file data fetch broken (since 1.11) (rev. 5)
* - ~ x:/xg: reference fields not working (except for dirlog) (since 1.11) (rev. 6)
* - + Add generic fields (:TAB/:NL) (rev. 7)
* - + Add -printf (rev. 7)
* - + --stdin, log parsing (-q,-d,..) reads data from stdin (rev. 9)
* - ~ Made format literal for a printf (rev. 10)
* - ~ {crc32} returning empty strings instead of zeroes (rev. 11)
* - + Add GENERIC-3 log (rev. 12)
* - ~ Fix GENERIC-3 log (rev. 13)
* - % Remove deprecated field in __g_handle (rev. 14)
* - ~ String matcher cmdline arguments segfaulting when empty (since rev.4) (rev. 15)
* - % Slightly changed --version output (rev. 16)
* - ~ Format string compiler exceeding bounds on input (rev. 17)
* - + Implement extended arguments to format directives, first draft (-x only) (rev. 18)
* - + Add character generator to format directives (rev. 19)
* - % Remove unecessary 10240 byte buffer from _g_match (rev. 20)
* - + Format date and time of any signed 32bit field or static value (extended directives) (rev. 20)
* - %! Disable auto log path detection on startup (rev. 20)
* - ~ Format date and time not accepting fmt string in certain cases (rev. 21)
*
* v1.11:
*
* - %! Rewrote matching routines to be more efficient
* - ~ -x --cdir segfaulting (rev. 1)
* - ! Improved performance when searching certain filesystem fields (rev. 2)
* - % Refuse executing macro if no execution priviledges to file (rev. 3)
* - % Impose limit on match filter strings (4096 bytes) (rev 4)
* - % Return --preexec exit code (rev. 5)
* - ! Optimize output performance when traversing logs (rev. 6)
* - % Log output processing remodeled (rev. 6)
* - % Exception notices print to stderr (rev. 6)
* - + Export output (-E) (rev. 7)
* - % --[i]lom accepts hexadecimal values (rev. 8)
* - ~ Some field lookups in GENERIC-2 log were broken (rev. 9)
* - % Returns bad if error opening log (-q) (rev. 9)
* - % --nofq does not affect exit code (rev. 10) (affects scripts, update them)
* - ~ Usage of uninitialized resource (rev. 11)
*
* v1.10:
*
* - + LOM/sorting signed integer processing support
* - + -R shortcut to -recursion (-x) (rev. 1)
*
* v1.9
*
* - + --maxres, --maxhit, --ifres and --ifhit (see --help for details)
* - ~ filtering with --sort not working in certain cases
* - % Various improvements and bugfixes
* - ~ unsafe snprintf calls (rev. 1)
* - ~ online users data (-w) reading always failed (rev. 2)
* - ~ field arguments to string matches colliding with match param (rev. 3)
* - % Logical matching applies during -r and with buffering disabled (rev. 4)
* - % Each open log handle now holds it's own match instruction set (rev. 4)
* - ~ GENERIC-1 log changed field name (was 'time', should have been 'i32') (rev. 4)
* - + Processing records in reverse order (--rev) (rev. 5)
* - ~ matching broken with -x (rev. 6)
* - % Misc addons to -exec field vars (rev. 6)
* - + --execv, uses execv() instead of system() (--exec) (rev. 7)
* - ~ --sort caused --exec[v] not executing (rev. 7)
* - ~ internal argument parsing ignored last char (rev. 8)
* - % Abort rebuild when nothing was filtered (optional, --nofq) (rev. 9)
* - % Rebuild (-e) returns error if --nofq aborted (rev. 10)
* - % Path overrides can be given at macro launch (-m) (rev. 11)
* - ~ --maxhit/maxres ignored when no match given (rev. 12)
* - ~ regex expression compiled for each record (huge performance hit (rev. 13)
* - - Removed unecessary dirlog rebuild regex filter (C preprocessor macro) (rev. 14)
* - ~ SFV generation (rev. 15)
* - % Made GLCONF preprocessor macro in glconf.h unecessary (rev. 16)
* - ~ m:arg<2-3> macro vars were returned as m:arg1 (rev. 17)
* - + --esdir (redirect -execv stdout to file) (rev. 18)
* - % Reduced physical mem consumption (replaced unecessary calloc with malloc) (rev. 19)
* - ~ Fixed an integer overflow on BSD (rev. 20)
* - ~ attempted to free non-allocated memory (-r -f) (rev. 21)
* - ~ --esredir not redirecting (rev. 21)
* - ~ Fixed broken log path detection (rev. 21)
* - ~ automatic log path update wasn't working (rev. 22)
* - ~ regex expression got compiled for regular string matches (rev. 23)
* - + --ifrhe (rev. 24)
* - % Falls back to a default NUKESTR if it's not read from glftpd.conf (rev. 25)
* - % {mode} returns "-1" if lstat fails (rev. 26)
* - + --noglconf, disable reading settings from glftpd.conf (rev. 27)
* - ! - 60-70% faster string match processing for most fields (rev. 28)
* - % Logical/relational matches apply to filesystem objects (-x) (rev. 29)
* - + various file/directory information fields (see MANUAL) (rev. 29)
* - + --maxdepth=<limit> (-x) (rev. 30)
* - + uperm, gperm, operm and isread, iswrite, isexec fields (-x) (rev. 30)
* - + Disable POSIX extended regex (--noereg) (rev. 31)
* - %! Disabled exception tracing helper functions (rev. 31)
* - + --mindepth=<depth> (-x) (rev. 32)
* - + links field (see MANUAL under FILESYSTEM) (-x) (rev. 32)
* - ~ Command line arguments processing stuck in perm loop (some platforms) (rev. 33)
* - % Standardized field names (see MANUAL) (rev.34)
* - + --fd option (-x) (rev. 35)
* - % On error print help before message (rev. 36)
* - ~ Recursor properly follows symlinks upon request (-x [-y]) (rev. 37)
* - - Unecessary 'mode' field with dupefile (rev. 38)
* - + Related filesystem info extraction (x:<field>, see MANUAL) (rev. 39)
* - %! Basedir extraction was too costly (matching/exec) (rev. 39)
* - ! Logic operations perform a bit faster (only in certain cases) (Rev. 40)
* - % --noglconf applies when calling macro (-m) (rev. 41)
* - + --glconf=<file>, overrides default path to glftpd.conf (rev. 41)
* - + --prune, removes exact data record duplicates on import (-z) (rev. 41)
* - % Filesystem loop detection (-x) (rev. 41)
* - ~ build_data_path was broken (since 1.9-41) (rev. 42)
* - + Plot field (imdblog) (rev. 43)
* - ~ Fixed max input length for iMDB synopsis (rev. 44)
* - % --batch shows plot (rev. 45)
* - + crc32 and dec-crc32 fields (-x) (rev. 46)
* - ~ 'xg:' extra reference field was broken globally (rev. 47)
* - ~ Potential overflow when referencing x:<field> (rev. 48)
* - % Reduced default ASCII data file buffer size to 32MB (rev. 49)
* - + --memlimita=<bytes>, overrides default ASCII data buffer size (rev. 49)
* - ~ {director} returning title (imdblog) (rev. 50)
* - % --[i]matchq works in rebuild mode (-e) (rev. 50)
* - ~ Plugged memory leak in file_crc32 (rev. 51)
* - % rtv_q cleans output buffer on error (rev. 52)
* - + 'curtime' field (rev. 53)
* - + Add 'genre', 'country' and 'seasons' fields to --batch output (-h) (rev. 54)
* - ~ Memory leak when searching inside files (rev. 55)
* - % Detect error/eof while reading files (cfg parser) and macros (rev. 56)
* - !% Reduce max. macro line size to 32k (SSD_MAX_LINE_SIZE) (rev. 57)
* - + Add 'startyear', 'endyear' and 'network' fields (tvrage log) (rev. 58)
* - ~ Quit on first match/result failing when parsing (rev. 59)
* - ~ --sort segfaulting in certain cases (rev. 60)
* - ~ Quit on first match/result broken in rebuild mode (-e) (rev. 60)
* - ~ Only the last given 'curtime+/-' field was taken into account (rev. 60)
* - ~ A 'fgets' was called with bigger size than length of destination buffer(rev. 60)
* - + Add 'blocks', 'major', 'minor' fields (FILESYSTEM) (rev. 60)
* - ~ file_crc32 mis-calculated data larger than 26214400 bytes (rev. 61)
* - ! file_crc32 optimized for performance (rev. 61)
* - % Dirlog rebuild (-r) quits if folders file missing, instead of forcing full rescan (rev. 62)
* - ~ sfvgen (--sfv) placed files in parent dirs of target (rev. 63)
* - ~ Fix timestamps to be represented as signed integers (rev. 64)
* - ~ Fix integer type representation relating to various logs (rev. 65)
* - ~ Default log path building was broken (rev. 66)
* - + Add 'ndir' field, see MANUAL (ONLINE users) (rev. 67)
* - ~ Matching comparison logic not taking all params into account in certain cases (rev. 68)
* - % Do not retrieve current time each cycle (-x, 'curtime') (rev. 69)
* - + Add 'sparse' field (FILESYSTEM) (rev. 70)
* - ~ 'curtime' with no math (+-) operators was always 0 (since rev.69) (rev. 71)
* - % Changed 'year' field type from char[8] to unsigned short (rev. 72)
* - %! Text data loading more efficient (rev. 72)
* - + GENERIC-2 log-type (rev. 73)
* - ~ Misaligned imdblog header (since rev.72) (rev. 74)
* - ~ --max[res|hit] not working with --sort (rev. 75)
*
* v1.8
*
* - + Multi-purpose generic log data types (see MANUAL and --help)
* - ~ log path strings not null-terminated on override in some cases (rev. 1)
* - + PID to compact WHO output (rev. 2)
* - ~ data file rebuild wasn't filtering write buffer, filtering works everywhere now (rev. 3)
* - + more levels to force (-ff) (rev. 3)
* - % Improved -z behaviour (rev. 3)
* - ~ readdir() not handling DT_UNKNOWN properly (file type detection failed on certain systems) (rev. 4)
* - ~ full siteroot recursion never flushed buffered data to file (-r) (rev. 5)
* - + --shmem, buffering to shared mem segment (see --help) (rev. 6)
* - ~ tvrage log had no IPC key assigned (--shmem) (rev. 7)
* - % Minor changes (rev. 7)
* - + 'memlimit' and 'glconf' general fields, see MANUAL (rev. 7-8)
* - + nuke status to -n --batch (rev. 8)
* - + Read data from binary source and merge (-z --binary) (rev. 8)
* - ~ full siteroot recursion never flushed buffered data to file (-r -f) (rev. 9)
* - ~ -r was not skipping missing log path detection as it should (rev. 10)
*
* v1.7
*
* - + matching by comparison/relational and logical operators, --[i]lom <expression>
* - -x can pass file {size} along to shell (rev. 1)
* - ~ plugged memory leak when --[i]lom given repeatedly (rev. 1)
* - ~ flag collision (removed -k alias for --nowrite) (rev. 2)
* - ~ LOM strings were getting processed when not requested (rev. 2)
* - ~ -z was not skipping missing log path detection as it should (rev. 3)
* - % --exec {basedir} while parsing imdblog (rev. 3)
* - ~ Shared memory segment weren't read properly (-w) (rev. 4)
* - ~ verbose output loaded records always showed zero (rev. 4)
* - + 'nukestr' global var (rev. 5)
* - + Created new data format (TVRAGE) (rev. 6)
* - + -h (see --help) (rev. 6)
* - ~ variable processing failed in certain cases (rev. 7)
* - ~ -x strange behaviour (rev. 8)
* - % Changed key/token delimiter (from : to @) when extracting config values (rev. 8)
* - + In between match arguments, logical or|and operators apply (rev. 9)
* - ~ logical operators between matches weren't taking inverted match into account (rev. 10)
* - ~ logical operators between matches not processed properly (rev. 11)
* - ~ match argument processing matched LOM when not requested (rev. 12)
* - ~ -e odd return value (rev. 13)
* - ~ extremely wastefull directory tree parsing (rev. 14)
* - + 'mode' field (-x) (rev. 14)
* - + 'mode' field to -d, -n, -i, -a, -h and -k (rev. 14)
*
* v1.6
*
* - + --sort (see --help)
* - ~ extracting fields was broken with -w
* - % Layered matching; multiple --[i]regex[i] and --[i]match params can be used (rev. 1)
* - --[i]match can match against specific log fields same way as --[i]regex[i] (rev. 1)
* - ~ Progress stats showed when not requested (-p) (rev. 2)
* - ~ plugged memory leak when --sort given repeatedly (rev. 2)
* - ~ -x was broken (since 1.6-2) (rev. 3)
* - % Config lines (and tokens) can be passed as <field> to --[i]regex[i] and --[i]match (rev. 3)
* - ~ g_filter didn't check if match requested before starting (rev. 4)
* - ~ --raw spat ASCII junk to stdout (rev. 4)
* - ! Optimized data record formatting functions (rev. 5)
* - ~ g_print_stats persisted nukelog searches after first failure (rev. 6)
*
* v1.5
*
* - Now possible to match against specific binary log fields
* (--[i]regex[i] only, see --help)
* - ~ regex type/match delimiter was broken (rev. 1)
* - ~ --batch was using a conflicting delimiter (rev. 2)
*
* v1.4
*
* - Now possible to write binary records, using only ASCII format input (scripts not
* only recieve binary data, but can write it back to log too)
* - + Created new data format (iMDB log)
* - + -a, -z <log>, --[i]matchq, --dirc (see --help)
* - % Various behaviour changes and improvements + minor bugfixes
* - % Writing records works with dirlog, nukelog and imdblog (rev. 1)
* - ~ some return values were always 0 (rev. 2)
* - ! Optimized -p for speed (rev. 3)
* - ~ Temp file wasn't removed after rebuild (rev. 4)
* - ! Dupe check optimized for speed more (rev. 5)
* - + write support for dupelog, lastonlog and oneliners (-z) (rev. 6)
* - + title, year, rated, released, runtime, actors and director fields to imdb log (rev. 7)
* - % Get self path BSD compatibility (rev. 8)
* - + Created new data format (game log) (rev. 9)
* - + -k (gamelog print) and -b (alias for --backup) (rev. 9)
* - + Priority operations processing logging (rev. 10)
* - % Minor code fixes (rev. 10)
* - % Replaced sprintf with more secure snprintf (rev. 11)
* - % FreeBSD compatibility (compiles with default glconf.h now) (rev. 12)
* - ~ FreeBSD get self path was still broken (rev. 13)
* - % Intercept stupid siteroot config and adapt (rev. 13)
* - ~ buffer overflows in g_handle->path(rev. 14)
*
* v1.3
*
* - Renamed project to 'glutil'
* - + Can extract tokens from user/group files (e.g. {WKUP:3} {ALLUP:1} etc..)
* - + Prints users (-t) / groups (-g), extracts any data from users
* as --exec vars, filters apply (rev. 1)
* - ~ empty config lines weren't properly handled causing segfaults (rev. 2)
* - ~ BSD compatibility (rev. 3)
* - ~ --check was not detecting nuked dirs properly (rev. 4)
* - + --ghost (rev. 4)
* - + stats & progress report for -p (dupecheck) (rev. 5)
* - ~ Progress percentage stats were broken (-p -v) (rev. 6)
* - ~ division by zero (-p -v) (rev. 7)
* - ~ regex matching was ignoring match-beginning-of-line operator (^) (rev. 8)
* - + -x, directory/file parser with --exec (and filter) hooks (rev. 9)
* - ~ -r failed to detect root directories (rev. 10)
* - + --xdev, --xblk (see --help) (rev. 10)
*
* v1.2
*
* - It's now possible to define macros, command execution templates for scripts
* and easily execute them with -m <macro>
* - + --fork (rev. 1)
* - + --match and --imatch (normal text matches) (rev. 2)
* - + --arg<1-3> <argument> (used only with -m, fills variables
* {m:arg<1-3>}) (rev. 3)
* - ~ priority commands processing failed when non-prio arguments were
* given (rev. 3)
* - ~ getting own path was broken (not zero terminated) (rev. 3)
* - ~ priority flags were not always selected first (rev. 5)
* - + --sleep <seconds> (rev. 5)
* - + --preexec and --postexec (see --help) (rev. 6)
* - Optimized memory usage (rev. 7)
* - + --backup <data type>, --nobackup, --[u]sleep <timeout> (rev. 8)
* - Fixed --[pre|post]exec to process variables in command string (rev. 8)
* - Various fixes and improvements (rev. 8)
* - Users data (/users/*) fecthing with argument variables works fully (rev. 9)
* - ~ temp file was not unique, causing collisions when multiple
* processes running at once in rebuild mode (rev. 10)
* - + {usroot} and {logroot} argument variables (rev. 11)
* - Fixed user/group file processing to dump whole lines (argument variables) (rev. 12)
*
* v1.1
*
* - + --loglevel, --logfile, --silent, --ftime (see --help)
* - + Logging system
* - + more logging levels (rev. 1)
* - + init string (rev. 1)
* - ~ memory leaks (rev. 2)
* - ~ more mem leaks (rev. 3)
* - ~ some file handles weren't getting cleaned up (rev. 4)
* - ~ formatted strings were printing in main on raw dump (rev. 5)
*
* v1.0
*
* - FreeBSD compatibility
* - + Reads settings from glftpd.conf
* - % Reverts to default data paths, when defined ones are missing (rev. 1)
* - % Minor fixes (rev. 2)
* - ~ dirlog update was broken (rev. 2)
* - % Flushes write buffer to disk, if it gets too big (> 100000 records) (rev. 3)
* - % --sfv used with -s doesn't modify dirlog anymore (rev .3)
* - ! Performance boost (filesystem dirlog rebuild mode) (rev. 4)
* - % Displays user transfer speed (-w) (rev. 5)
* - % Minor formatting fixes (rev. 5)
* - + Compact WHO view (rows and columns) (./dirupdate -w --comp) (rev. 6)
* - ~ WHO segfaulted (rows and tables were misaligned) (rev. 7)
* - + {rate}, {lupdtime} and {lxfertime} (used with WHO) --exec args (rev. 8)
* - % Exception handling returns errno (rev. 9)
* - + generic -exec args {glroot} and {exe} (full path to executable) (rev. 10)
* - ~ SFV gen with -s was not working properly (rev. 10)
* - ~ SFV gen failed to clean old .sfv files, before entering subdir (rev. 11)
* - + --loop=<interval> and --daemon (see --help) (rev. 12)
* - % Dirlog search takes nuke string into account (reads from glftpd.conf) (rev. 13)
* - ~ shared memory wasn't freed on exit (rev. 14)
* - + --loopexec (rev. 14)
* - % WHO prints status (rev. 14)
* - ~ small memory leaks plugged (rev. 15)
*
* v0.10 RC2:
*
* - + support for dupefile and last-on log (filtering and
* displaying in human readable format) (see --help) (added
* insertable vars for new data-types to --exec)
* - ~ flag collision (rev. 1)
* - + suport for onliners data file (rev. 1)
* - Shared memory segment read support (rev. 2)
* - + -w (dumps from ONLINE data) (rev. 2)
* - + --ipc <key> (rev. 2)
*
* v0.9 RC1:
*
* - Exception signal handlers (with internal trace)
* - + inverted regex match options (--iregex and --iregexi) (rev. 1)
* - --(i)regex(i) and --exec matching applies to -d now too (rev .1)
* - + --raw: used with -d, dumps raw dirlog packets to stdout (filtering
* applies) (rev. 2)
* - Improved exception tracing (rev. 2)
* - --(i)regex(i) and --exec matching applies to --dupechk now too (rev .2)
* - ~ -u (update) was not finding existing nuked folders properly (rev. 3)
* - Various smaller bugfixes (rev. 3)
* - Big performance optimization (~200%) on certain IO routines - much faster
* memory loading and data file writing (except during filesystem rebuild
* mode -r) (rev. 3)
* - + --wbuffer, optional explicit write pre-caching (rev .4)
* - Various smaller bugfixes (rev. 4)
* - ~ repeated slashes in path strings were causing mis-matches (rev. 5)
* - Fixed some performance issues caused in revision 4 (rev. 6)
* - SFV generation attempts to restore modification date after writing (rev. 7)
* - ~ --wbuffer mode was broken (especially when doing -r -u) (rev. 7)
* - File copy procedures now use native IO functions instead of POSIX (rev. 7)
* - ~ backups weren't created before certain operations (rev. 7)
* - ~ Backups were created twice in certain modes (rev. 8)
* - + corrupt dirlog detection to --check (invalid file size) (rev. 8)
* - Filtering works with nukelog dumps (-n) (rev. 8)
* - --fix removes ghost entries (rev. 8)
* - zlib is no longer required (crc32 calculation is built in) (rev. 9)
* - Made explicit write pre-caching default (turns off with --nowbuffer) (rev. 10)
* - --sfv now works standalone too (rev. 10)
* - ~ Backup was not avoiding 0-byte data files (rev. 11)
* - Rebuild (-r) was broken (since rev. 10) (rev. 11)
* - ~ some in-memory searching routines were broken (rev. 11)
* - ~ -s used with --sfv resulted in a recursive import (rev. 12)
* - ~ permissions weren't inherited properly (rev. 13)
* - ~ rebuild update mode (-r -u) failed when no existing dirlog (rev. 13)
* - ~ nukelog dump/filtering was not working properly (rev. 14)
* - ~ removed data records (in memory) were not unlinked properly,
* causing filtering to fail on first record in chain (rev. 14)
*
* v0.8:
*
* - + host and child process signal handlers (CTRL^C from child proc
* is detected too)
* - + dirlog rebuild mode (-e or --rebuild) (rev. 1)
* - + --regex global regex filter (rev. 1)
* - Multiple bugfixes (rev. 2)
* - + --regexi (case insensitive regex filter) (rev. 2)
* - --(i)regex(i) made to work with -r mode (rev. 2)
*
* v0.7:
*
* - + --exec, command hook during certain parsing operations
* - Fixed --exec to skip importing dirlog record, if call returns non-zero
* (rev. 1)
* - + -y, follows symbolic links (default is to skip) (rev. 2)
* - ~ --dupechk wasn't checking if match string lenghts are the same (rev. 3)
* - ~ skipping empty directories was failing (since 0.7-1) ,
* - empty directories weren't getting detected 100% properly (rev. 4)
* - + --batch, outputs dirlog records non-formatted (for easier parsing with
* external tools) (rev. 5)
*
* v0.6:
*
* - + --fix, attempts to correct differences between filesystem and dirlog
* (works together with --check)
* - Various bugfixes
* - Got rid of unecessary explicit dirlog/nukelog IO functions
* (g_fopen/g_close/g_read routines do everything now)
* - ~ -s was broken (since 0.6) (rev. 1)
* - ~ --check was processing nuked releases as non-nuked (since 0.6) (rev. 1)
* - ~ directory nuke status wasn't read properly from nukelog; in cases when
* directory was nuked/unnuked multiple times, multiple records can exist in
* nukelog - only last one should be read (rev. 2)
* - Settings macro's can now be overriden from includes (usefull for storing
* customized settings) (rev .3)
* - Modified --fix to remove empty directories (rev. 4)
* - File seeking 64 bit aligned (rev. 4)
* - Code cleanup (rev .4)
*
* v0.5:
*
* - Dirlog and nukelog now fully buffers into memory (large performance
* improvement); if data file is larger than DB_MAX_SIZE (--memlimit),
* buffering is not used (-v prints notices about this)
* - + --nobuffer, turns off buffering
* - ~ --siteroot didn't have any effect (rev. 2)
* - + --dupechk: looks for duplicate records within dirlog and prints
* to stdout (rev. 3)
* - ~ command line options were not read properly in some cases (rev. 4)
* - + --memlimit, overrides the default max buffer limit defined by
* DB_MAX_SIZE macro (rev. 4)
* - Fixed command line args processing to abort & warn when not enough
* parameters supplied (rev. 5)
* - + -u, updates dirlog instead of rebuilding it (used with -r) (rev. 6)
*
* v0.4:
*
* - + nukelog read capability
* - ~ now sets proper dir status by referencing nukelog,
* instead of setting status based on directory nuke labels
* - + --nukedump - prints nukelog to stdout (formatted)
* - While dumping dirlog (-d), looks up nukelog and prints nuke
* stats, if any
* - Verification (--check) now takes into account the nukelog:
* checks if status flags (dirlog<->nukelog) match,
* warns on missing nukelog entries
* - + --help
* - Now does full siteroot recursion when .folders file is missing or -f
* flag is given (rev. 1)
* - + regex skip filters at dirlog import (PREG_DIR_SKIP macro) (rev. 2)
*
*
* v0.3:
*
* - ~ dirlog data header was misaligned, added support
* for multiple gl versions (determined by GLVERSION var)
* - ~ absolute paths instead of relative to root set used
* in dirname field of the data header
* - ~ nuked dirs imported without proper status set in data
* header
* - + -s option, imports individual folders; use quotation
* marks if adding multiple folders (e.g -s "/dir1 /dir2 /dir3")
* - SFV generation, --sfv option when importing will generate
* new sfv files and remove existing ones
* - + --nowrite, acts normally except it does no actual writing
* (including SFV gen)
* - ~ on some systems, file type was not recognized properly by
* readdir, instead it now gets info from stat function (rev. 1)
* - ~ dirlog data was not displayer properly on 32 bit systems (rev. 2)
* - ~ failed creating new backup when one already existed (rev. 3)
* - + --glroot, --siteroot, --dirlog and --folders options (rev. 4)
* - .folders file now requires paths relative to siteroot (no / needed in
* front) (rev. 4)
* - Requires glconf.h from /bin/sources to determine proper headers, compile from
* that folder or set proper path to glconf.h in dirupdate.c (rev. 4)
* - Command line arguments now use '=' with some options (e.g. glroot=/glftpd)
* (rev. 4)
* - Stats output on write fixed (was not showing properly or not at all) (rev. 5)
* - Output formatting fixed up a bit (rev. 5)
* - ~ --check output formatting was broken (rev. 5)
* - ~ -f (force) overwrite when doing -s was broken (rev. 6)
* - Output formatting fix (rev. 6)
* - Various small bugfixes and improvements in all revisions
*
* v0.2:
*
* - ~ directory handles weren't getting cleaned
* up on recursion, hitting max open handle limit.
* - Flag parser, easy to add new command line arg options
* - + -r option (recursive dirlog generation), reads
* folders and depths from a file specified by DU_FLD
* - Backs up dirlog before modifying it
* - + -v (verbose), -vv (more verbose) and -f
* (force) options
* - + -d (outputs records to stdout, formatted)
* - + --check, compares records in dirlog and filesystem
* and warns on differences
*