-
Notifications
You must be signed in to change notification settings - Fork 7
/
ChangeLog
490 lines (436 loc) · 18.4 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
ChangeLog
*********
2014-07-29 Enrico M. Crisostomo <[email protected]>
* .gitignore:
- Remove explicit filters for automatically generated GNU Build
System files and use config/ instead.
- Add filter for files automatically generated by libtool.
* ChangeLog: Updated:
* Makefile.am:
- Add Automake flags.
- Add libtool configuration.
- Add libfsw module.
- Link fsw against libfsw.
- Add flag to link fsw against libfsw statically.
* configure.ac:
- Bump v. 1.4.0.
- Add separate module configuration for libfsw.
- Add libtool configuration.
* configure-debug.sh: Add basic configure scripts for release and
debug builds.
* configure-debug-static.sh: Add different scripts for debug dynamic
and static builds.
* configure-release.sh: Add basic configure scripts for release and
debug builds.
* event.cpp: Move to libfsw.
* event.h: Move to libfsw.
* fsevent_monitor.cpp: Move to libfsw.
* fsevent_monitor.h: Move to libfsw.
* fsw.cpp: Free memory allocated by ::realpath.
* inotify_monitor.cpp: Move to libfsw.
* inotify_monitor.h: Move to libfsw.
* kqueue_monitor.cpp: Move to libfsw.
* kqueue_monitor.h: Move to libfsw.
* monitor.cpp: Move to libfsw.
* monitor.h: Move to libfsw.
* poll_monitor.cpp: Move to libfsw.
* poll_monitor.h: Move to libfsw.
2014-07-27 Enrico M. Crisostomo <[email protected]>
* ChangeLog: Updated.
* configure.ac: Bump v. 1.3.9.
* fsevent_monitor.cpp:
- Check filters only on the file path and not on scanned parent
directories.
* fsw.7:
- Move -i option to -I.
- Add -i, --include option and basic implementation to support the
use of an include regexp.
* fsw.cpp:
- Move -i option to -I.
- Add -i, --include option and basic implementation to support the
use of an include regexp.
- Change the filter rules so that the first wins, no matter whether
it's an exclusion or an inclusion filter.
* kqueue_monitor.cpp:
- Check filters only on the file path and not on scanned parent
directories for the kqueue monitor.
- Refactor kqueue monitor directory scanning implementation.
* monitor.cpp:
- Add -i, --include option and basic implementation to support the
use of an include regexp.
* monitor.cpp:
- Add -i, --include option and basic implementation to support the
use of an include regexp.
- Change the filter rules so that the first wins, no matter whether
it's an exclusion or an inclusion filter.
* monitor.h:
- Add -i, --include option and basic implementation to support the
use of an include regexp.
- Change the filter rules so that the first wins, no matter whether
it's an exclusion or an inclusion filter.
* poll_monitor.cpp:
- Refactor poll monitor directory scanning implementation.
- Directory names must be filtered when events are fired because
they are not filtered while scanning.
2014-07-27 Enrico M. Crisostomo <[email protected]>
* ChangeLog: Update.
* configure.ac:
- Bump v. 1.3.8.
* inotify_monitor.cpp:
- Print diagnostic messages in verbose mode only.
2014-06-20 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.4.0:
* ChangeLog: Update.
* Makefile.am:
- Add fswatch-run to the script installation list.
- Create install-exec-hook.
- Link the shell-specific wrapper to fswatch-run.
* configure.ac:
- Check if ZSH and Bash are available.
- Prepare Automake variable to link fswatch-run with the correct
wrapper.
* fsevent_monitor.cpp: Remove usages of C++11 initializer lists so that
fswatch builds with older compilers.
* fsw.7: Update man page.
* fsw.cpp:
- Add -o/--one-per-batch option to print a single message with the
number of change events in the current batch.
- Write usage to standard error when invalid arguments are specified.
* README.md:
- Add link to the release page (Issue 22).
- Add section about compatibility issues with v. 0.x.
- Add information about fswatch-run in README.
* scripts/fswatch-run-bash: Add fswatch-run wrapper for Bash.
* scripts/fswatch-run-zsh: Add fswatch-run wrapper for ZSH.
2014-03-18 Enrico M. Crisostomo <[email protected]>
* ChangeLog:
- Update.
* configure.ac:
- Bump version to 1.4.0.
- Add AC_CHECK_HEADERS([sys/inotify.h]).
* inotify_monitor.cpp:
- Add inotify monitor.
* inotify_monitor.h:
- Add inotify monitor.
* README:
- Update to reflect the addition of the inotify monitor.
2014-03-18 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.3.1:
* .gitignore:
- Ignore NetBeans project files.
* ChangeLog:
- Update.
* configure.ac:
- Bump version to 1.3.1.
- Remove error on failed kqueue check.
- Check for struct stat.st_mtime and struct stat.st_mtimespec.
* event.cpp:
- Reformat.
* fsevent_monitor.cpp:
- Reformat.
* fsevent_monitor.h:
- Reformat.
* fsw.7:
- Replace watcher with monitor in the docs.
* fsw.cpp:
- Reformat.
* fsw.h:
- Define FSW_EXIT_ENFILE.
* fsw_exception.cpp:
- Reformat.
* fsw_exception.h:
- Reformat.
* kqueue_monitor.cpp:
- Fix bug in kqueue_monitor resulting in event loss when a child
directory of an observed directory was deleted.
- Reformat.
* kqueue_monitor.h:
- Reformat.
* Makefile.am:
- Add README.* files to dist_doc_DATA.
* monitor.cpp:
- Reformat.
* monitor.h:
- Reformat.
* path_utils.cpp:
- Exit with FSW_EXIT_ENFILE when no file descriptors are left either
at the process or system level.
* path_utils.cpp:
- Reformat.
* poll_monitor.cpp:
- Reformat.
- Update code to use FSW_MTIME and FSW_CTIME.
* poll_monitor.h:
- Reformat.
- Add FSW_MTIME and FSW_CTIME preprocessor macro to use the correct
struct stat time fields.
* README:
- Remove file and create a symbolic link to README.md.
- Replace watcher with monitor in the docs.
* README.bsd:
- Replace watcher with monitor in the docs.
* README.freebsd:
- Replace watcher with monitor in the docs.
* README.md:
- Replace watcher with monitor in the docs.
2014-03-02 Enrico M. Crisostomo <[email protected]>
release: stable minor release 1.3.0:
* ChangeLog:
- Update.
* configure.ac:
- Bump version to 1.3.0.
- Add AC_CONFIG_AUX_DIR to segregate configuration utilities in an
auxiliary directory.
- Add AC_CHECK_FUNCS([regcomp]) to check for the availability of the
regcomp function in <regex.h>.
- Remove the check of having either CoreServices or sys/event.h for
fsw to compile.
* event.cpp:
- Remove using namespace statements from header files.
* event.h:
- Update events so that their ordinals are a bit mask.
- Remove using namespace statements from header files.
* fseventwatcher.cpp:
- Remove using namespace statements from header files.
* fseventwatcher.h:
- Remove using namespace statements from header files.
* fsw.7:
- Update man page.
* fsw.cpp:
- Optionally support exclude filters and regular expressions (-i, -e
and -E) only if regcomp is available (HAVE_REGCOMP is defined).
- Add -0/--print0 to use the ASCII NUL character (\0) as a line
separator.
- Use ostringstream to concatecate strings.
- Fix bug when getopt_long is not available.
- Reimplement -n/--numeric to dump platform independent event codes.
- Add -x/--event-flags to print event flags.
- Update -n/--numeric so that it turns -x on.
- Add -L/--follow-links to follow symbolic links.
- Update after name refactoring.
* fsw.h:
- Remove using namespace statements from header files.
* fsw_exception.h
- Remove using namespace statements from header files.
* fsw_map.h:
- Remove using namespace statements from header files.
* fsw_monitor.cpp:
- Rename from fsw_watcher.cpp.
- Update after name refactoring.
* fsw_monitor.h:
- Rename from fsw_watcher.h.
- Update after name refactoring.
* fsw_set.h:
- Remove using namespace statements from header files.
* kqueue_monitor.cpp
- Remane from kqueue_watcher.cpp.
- Update after name refactoring.
- Use ::fstat instead of ::stat if a file descriptor is available.
- Reimplement -n/--numeric to dump platform independent event codes.
- Remove using namespace statements from header files.
- Implement -L/--follow-links to follow symbolic links.
* kqueue_monitor.h:
- Rename from kqueue_watcher.h
- Update after name refactoring.
- Remove using namespace statements from header files.
* Makefile.am:
- Update rename files.
* monitor.cpp:
- Rename from watcher.cpp.
- Optionally support exclude filters and regular expressions (-i, -e
and -E) only if regcomp is available (HAVE_REGCOMP is defined).
- Fix missing import.
- Remove using namespace statements from header files.
- Implement -L/--follow-links to follow symbolic links.
* monitor.h:
- Rename from watcher.h.
- Optionally support exclude filters and regular expressions (-i, -e
and -E) only if regcomp is available (HAVE_REGCOMP is defined).
- Fix missing import.
- Remove using namespace statements from header files.
- Implement -L/--follow-links to follow symbolic links.
* NEWS:
- Update.
* path_utils.h:
- Remove using namespace statements from header files.
* poll_monitor.cpp:
- Rename from poll_watcher.cpp.
- Update after name refactoring.
- Use ::fstat instead of ::stat if a file descriptor is available.
- Reimplement -n/--numeric to dump platform independent event codes.
- Fix missing import.
- Remove using namespace statements from header files.
- Implement -L/--follow-links to follow symbolic links.
* poll_monitor.h:
- Rename from poll_watcher.h.
- Update after name refactoring.
- Remove using namespace statements from header files.
* README:
- Update memory requirement description.
* README.md:
- Update memory requirement description.
2014-02-25 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.2.2:
* configure.ac:
- Bump version to 1.2.2.
- Add AC_CHECK_HEADERS([unordered_set]).
* fsevent_watcher.cpp: check paths with exclude filters.
* fsw.cpp: add -e/--exclude option to define exclude filters with
regular expressions.
* fsw_set: typedef fsw_set to std::unordered_set when available,
otherwise to std::set.
* kqueue_watcher.cpp:
- Check paths with exclude filters.
- Use sets instead of maps when feasible.
* kqueue_watcher.h: use sets instead of maps when feasible.
* Makefile.am: added fsw_set.h to fsw_SOURCES.
* poll_watcher.cpp: check paths with exclude filters.
* watcher.cpp: add accept_path() method to check if a path should be
accepted according to the exclude filters.
* watcher.h: add accept_path() method to check if a path should be
accepted according to the exclude filters.
2014-02-24 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.2.1:
* configure.ac: bump version to 1.2.1.
* fsw.7: updated.
* m4/ax_cxx_namespaces.m4: added to check for C++ compiler namespace
support.
* poll_watcher.cpp: optimise internal storage to reduce memory
requirements.
* poll_watcher.h: optimise internal storage to reduce memory
requirements.
* README:
- Updated.
- Use markdown syntax.
* README.md: updated.
2014-02-20 Enrico M. Crisostomo <[email protected]>
release: stable minor release 1.2.0:
* ChangeLog: updated.
* configure.ac: add AC_CHECK_HEADERS([unordered_map]).
* fsw.7: updated.
* fsw_map.h: define fsw_hash_map as an std::unordered_map if this type
exists otherwise as std::map.
* Makefile.am:
- Add poll_watcher.cpp and poll_watcher.h to fsw_SOURCES.
- Add fsw_map.h to fsw_SOURCES.
* NEWS: updated.
* path_utils.cpp: added.
* path_utils.h: added.
* poll_watcher.cpp: added.
* poll_watcher.h: added.
2014-02-20 Enrico M. Crisostomo <[email protected]>
release: stable minor release 1.1.0:
* autogen.sh: add script to bootstrap the GNU Build System.
* ChangeLog: updated.
* configure.ac:
- Bump version to 1.1.0.
- Check for either FSEvents (CoreServices/CoreServices.h) or kqueue
(sys/event.h) to be available.
- Remove OS check and check for available headers instead.
- Require strict C++11 conformance mode for the compiler.
- Search for clang++ and g++ compilers.
- Add AC_PROG_CC after autoscan complains.
- Add sys/time.h to the list of AC_CHECK_HEADERS.
- Add AC_TYPE_UINT32_T.
- Add AC_CHECK_FUNCS([modf],,AC_MSG_ERROR([...])).
- Add AC_TYPE_MOD_T.
- Add AC_CHECK_FUNCS([realpath]) and fail if missing.
* fsevent_watcher.cpp:
- Check for all the existing FSEventFlagName flags.
- Map platform-specific event flags to generic event flags.
* fsw.7: updated.
* fsw.cpp:
- Use watcher base class.
- Fix includes so that fsw builds on FreeBSD (v. 10.0 was checked).
- Use static linkage whenever possible.
- Add -r/--recursive option.
- Normalize paths with ::realpath.
- Add -k/--kqueue option to use a kqueue watcher when more than one
kind of watcher is available.
* fsw_log.cpp: added wrapper function triggering perror() only if the
application is in verbose mode.
* fsw_log.h: added wrapper function triggering perror() only if the
application is in verbose mode.
* kqueue_watcher.cpp:
- Add kqueue-based watcher for systems with kqueue.
- Map platform-specific event flags to generic event flags.
- Check presence of the EV_ERROR event flag and print an error if
found.
- Implement -r/--recursive directory walking.
- Look for EV_ERROR in struct kevent::flags.
* kqueue_watcher.h: add kqueue-based watcher for systems with kqueue.
* Makefile.am:
- Add new files.
- Use conditional to use the -framework linker flag on OS X.
* NEWS: updated.
* README: updated.
* README.bsd: added.
* README.freebsd: added.
* README.gnu-build-system: added.
* README.osx: added.
* watcher.cpp: add watcher base class.
* watcher.h: add watcher base class.
2014-02-14 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.7.
* configure.ac: bump version number to 1.0.7.
* fsevent_watcher.cpp: throw fsw_exception instead of int.
* fsw.cpp:
- Define fsw_exception.
- Throw fsw_exception instead of int.
* fsw.h: declare fsw_exception.
2014-02-11 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.6.
* configure.ac: bump version number to 1.0.6.
* fsw_log.cpp: rename from log.cpp.
* fsw_log.h: rename from log.h.
2014-02-10 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.5.
* configure.ac: bump version number to 1.0.5.
* Makefile.am: add fsw man page.
* fsevent_watcher.h: add class to encapsulate watcher logic.
* fsevent_watcher.cpp: add class to encapsulate watcher logic.
* fsw.cpp: move watcher code into fsevent_watcher class and refactor.
2014-02-10 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.4.
* configure.ac: bump version number to 1.0.4.
* fsw.cpp:
- Format date with user-specified format with -t/--time-format.
- Convert time to UTC time with -u/--utc-time.
2014-02-10 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.3.
* configure.ac: bump version number to 1.0.3.
* fsw.cpp:
- Improve the event flag printing function.
- Add verbose output with -v/--verbose.
* fsw.h: export definition of bool is_verbose().
* log.cpp:
- Add.
- Implement fsw_log(const char *) writing to stdout.
* log.h:
- Add.
- Export definition of void fsw_log(const char *).
2014-02-10 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.2.
* configure.ac:
- Bump version number to 1.0.2.
- Check that host_os >= darwin 10.0 and fails otherwise.
- Add stdlib.h to AC_CHECK_HEADERS.
- Add AC_FUNC_STRTOD.
* fsw.cpp: add support for latency configuration with -l/--latency.
* fsw.cpp: reorganize code.
* fsw.h: add.
* fsw.h: define exit codes.
2014-02-10 Enrico M. Crisostomo <[email protected]>
release: stable micro release 1.0.1.
* configure.ac: bump version number to 1.0.1.
* AUTHORS: update.
* ChangeLog: update.
* COPYING: update.
* INSTALL: add.
* NEWS: update.
* README: update.
2014-02-09 Enrico M. Crisostomo <[email protected]>
release: stable minor release 1.0.0.
* configure.ac: add initial version.
* Makefile.am: add initial version.
* fsw.cpp: add initial version.