Gareth Rees
1e97a6a193
Turn on -wextra -wwrite-strings when compiling with gcc or clang.
...
Add missing initializer to mps_args_none.
Change "char *" to "const char *" where necessary.
Copied from Perforce
Change: 183494
ServerID: perforce.ravenbrook.com
2013-09-30 17:18:52 +01:00
Gareth Rees
559703b2ca
Fix handling of -i and -o options.
...
Copied from Perforce
Change: 182634
ServerID: perforce.ravenbrook.com
2013-06-08 16:29:04 +01:00
Gareth Rees
296ac3bccf
Improve the usability of the test suite:
...
1. "make test" now reports the name of the test case before running it, so that when you look back through the test output you can see which test case failed.
2. "make test" now collects the standard output from all the tests to a log file in /tmp, so that this does not clutter the user's terminal, and so that nothing is lost if the output exceeds the terminal's scrollback.
3. Each test case now prints a success message ("Conclusion: Failed to find any defects.") to standard output (not standard error) so that these messages do not clutter up the terminal when running "make test".
4. Each test case now uses its result code (not the printed message) to indicate whether it succeeded or failed.
5. More of the diagnostic messages from the test cases now start by printing argv[0] so that it is easier to tell which test case was running.
Copied from Perforce
Change: 181071
ServerID: perforce.ravenbrook.com
2013-03-07 13:13:32 +00:00
Gareth Rees
5c9edb0a0e
Avoid error "variable 'res' set but not used" from gcc.
...
Copied from Perforce
Change: 180905
ServerID: perforce.ravenbrook.com
2013-02-04 17:32:13 +00:00
Nick Barnes
6bddce8382
Get eventcnv/txt/sql working on fri3gc.
...
Copied from Perforce
Change: 180887
ServerID: perforce.ravenbrook.com
2013-01-31 14:54:35 +00:00
Nick Barnes
2d9c5608d3
Port eventsql and friends to windows 7.
...
Copied from Perforce
Change: 180885
ServerID: perforce.ravenbrook.com
2013-01-30 16:06:59 +00:00
Nick Barnes
3dd02c563b
Exit(exit_success) after usage message.
...
Copied from Perforce
Change: 180484
ServerID: perforce.ravenbrook.com
2012-11-16 10:22:29 +00:00
Nick Barnes
5a5f96782e
Tidy up the event pipeline.
...
Copied from Perforce
Change: 180460
ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Nick Barnes
ed914cd37f
Further simplify the eventcnv text output format.
...
Copied from Perforce
Change: 180054
ServerID: perforce.ravenbrook.com
2012-10-24 16:10:46 +01:00
Nick Barnes
14276e6fec
Better table existence test.
...
Copied from Perforce
Change: 179985
ServerID: perforce.ravenbrook.com
2012-10-20 20:34:30 +01:00
Nick Barnes
34201ad727
Add event_param glue table.
...
Copied from Perforce
Change: 179953
ServerID: perforce.ravenbrook.com
2012-10-19 07:32:40 +01:00
Nick Barnes
6fa7f5de61
Re-jigged eventsql so it uses plain-text intermediate files and handles stdin ok.
...
Copied from Perforce
Change: 179947
ServerID: perforce.ravenbrook.com
2012-10-18 17:00:31 +01:00
Nick Barnes
57c07a0885
Added long explanatory comment, and license, to eventsql.c. removed eventsql.h (what was i thinking?).
...
Copied from Perforce
Change: 179915
ServerID: perforce.ravenbrook.com
2012-10-17 14:49:00 +01:00
Nick Barnes
027e918347
Add command-line controls to eventsql.
...
Copied from Perforce
Change: 179908
ServerID: perforce.ravenbrook.com
2012-10-17 03:03:54 +01:00
Nick Barnes
9cb9f7797a
Eventsql goes hundreds of times faster (because all event inserts are now in a single transaction).
...
Copied from Perforce
Change: 179904
ServerID: perforce.ravenbrook.com
2012-10-16 22:19:54 +01:00
Nick Barnes
1fd23cdd7a
Functioning event/sql interface.
...
Copied from Perforce
Change: 179880
ServerID: perforce.ravenbrook.com
2012-10-15 00:32:37 +01:00
Nick Barnes
04c5aca708
Event sql interface now creates a table for each type of event.
...
Copied from Perforce
Change: 179868
ServerID: perforce.ravenbrook.com
2012-10-13 12:16:24 +01:00
Nick Barnes
d148dc3d00
Very first draft of sqlite code; this barely compiles and is really just a proof-of-concept that i can write code to create, read, and write sqlite databases.
...
Copied from Perforce
Change: 179853
ServerID: perforce.ravenbrook.com
2012-10-12 15:09:20 +01:00