1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 12:20:17 -08:00
Commit graph

21 commits

Author SHA1 Message Date
Gareth Rees
d934afafc5 Catch-up merge from master sources to branch/2014-03-21/pellesc.
Copied from Perforce
 Change: 185074
 ServerID: perforce.ravenbrook.com
2014-03-28 13:54:30 +00:00
Gareth Rees
68edf84c3b Remove #pragma warning(disable: ...) for microsoft visual c/c++ warnings that are no longer generated by the code, so that we get the maximum checking from this compiler.
Copied from Perforce
 Change: 185072
 ServerID: perforce.ravenbrook.com
2014-03-28 13:09:14 +00:00
Gareth Rees
9aef4157fd Fix review comments from dl <https://info.ravenbrook.com/mail/2014/03/25/17-44-56/0/>.
Add __attribute__((__format__(printf))) to functions that take a printf-compatible format string (when building using GCC or Clang), so that format string mistakes can be detected statically.

Copied from Perforce
 Change: 185021
 ServerID: perforce.ravenbrook.com
2014-03-26 12:27:35 +00:00
Gareth Rees
a3c7ed0cab 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
66ffa42fd2 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
8dc0d72a8d 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
51b123525e 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
7dc00c2912 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
164f0a8a92 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
ba28c7a10d 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
686ee38101 Tidy up the event pipeline.
Copied from Perforce
 Change: 180460
 ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Nick Barnes
750d515233 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
1822b23637 Better table existence test.
Copied from Perforce
 Change: 179985
 ServerID: perforce.ravenbrook.com
2012-10-20 20:34:30 +01:00
Nick Barnes
f0757a1640 Add event_param glue table.
Copied from Perforce
 Change: 179953
 ServerID: perforce.ravenbrook.com
2012-10-19 07:32:40 +01:00
Nick Barnes
efdc6b4018 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
2dd20913e4 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
fa8cda3e9c 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
a47d640fe8 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
fc5acb36a7 Functioning event/sql interface.
Copied from Perforce
 Change: 179880
 ServerID: perforce.ravenbrook.com
2012-10-15 00:32:37 +01:00
Nick Barnes
54a4a5568f 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
d26c0518f1 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