1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 03:11:54 -07:00
Commit graph

29 commits

Author SHA1 Message Date
Gareth Rees
5559f36540 Fix indentation of second clause of license. 2020-08-30 10:13:06 +01:00
Gareth Rees
5165d75267 Use https: instead of http: when linking to the ravenbrook web site. 2020-08-30 10:13:03 +01:00
Peter Jackson
1d00afac81 Publish licence updates in code directory.
Publish minor changes to readme and configure files in main directory.
Main directory and code directory licence texts are now fully updated.

Copied from Perforce
 Change: 196994
2020-06-11 17:05:40 +01:00
Gareth Rees
fa3abac8df Improve handling of telemetry events on the critical path:
1. Being on the critical path is a property of the code location where the event is emitted, not of the event type, so indicate this using EVENT_CRITICAL macros rather than a field in the event table.
2. Compile out events on the critical path in hot varieties.
3. Remove TraceFixWhite event (redundant with TraceFixSeg).
4. No need for special handling of PoolFree event -- this are already skipped in hot varieties by dispatching directly to the pool class via PoolFreeMacro.

Copied from Perforce
 Change: 195261
2018-10-15 14:22:16 +01:00
Gareth Rees
6edddcbabb Fix mpseventsql, broken by change 195250.
Copied from Perforce
 Change: 195258
2018-10-15 11:55:51 +01:00
Gareth Rees
af935e8479 Update mpseventsql to handle event parameter documentation.
Copied from Perforce
 Change: 195250
2018-10-14 14:59:01 +01:00
Gareth Rees
716bb331b9 Use the nelems macro to compute the size of arrays.
Copied from Perforce
 Change: 187055
 ServerID: perforce.ravenbrook.com
2014-09-26 21:35:25 +01:00
Gareth Rees
b033a14564 Ensure that mpseventsql compiles with gcc -wmissing-variable-declarations.
Copied from Perforce
 Change: 185473
 ServerID: perforce.ravenbrook.com
2014-04-11 21:18:23 +01:00
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