Dale Weiler
|
0b6269f607
|
column printing for warnings and errors now
|
2013-05-30 19:36:01 +00:00 |
|
Dale Weiler
|
f892b32335
|
Major export cleanup. Anything that was exported but wasn't used outside where it was implemented has been turned into static, and their exports have been removed. This actually makes the compiler compile slightly faster.
|
2013-05-29 03:29:04 +00:00 |
|
Wolfgang Bumiller
|
4c4aa5534c
|
dup is marked as warn-unused-result
|
2013-04-27 17:51:51 +02:00 |
|
Dale Weiler
|
10dd7aacfe
|
Apply some static where it belongs
|
2013-04-25 03:34:42 +00:00 |
|
Wolfgang Bumiller
|
3a4aba0b31
|
Grrrr
|
2013-04-24 17:47:42 +02:00 |
|
Dale Weiler
|
8ffdfbfd97
|
A nicer way of doing this
|
2013-04-24 14:08:58 +00:00 |
|
Dale Weiler
|
5d88216f38
|
remove irrelevant comment
|
2013-04-24 14:06:43 +00:00 |
|
Dale Weiler
|
19c57c03cc
|
free the memory for asprintf
|
2013-04-24 14:05:09 +00:00 |
|
Dale Weiler
|
a0f6b00a15
|
Shitty testsuite support for windows the hacky way because there exists no sane simple way of redirecting pipes without a heafty chunk of code.
|
2013-04-24 14:04:00 +00:00 |
|
Dale Weiler
|
489ad486bc
|
Get it compiling in visual studio again.
|
2013-04-24 01:43:53 +00:00 |
|
Dale Weiler
|
160e7cf7ee
|
Remove trailing whitespace
|
2013-04-21 10:24:55 +00:00 |
|
Dale Weiler
|
07e335fdb8
|
Better output on failure
|
2013-04-21 06:46:39 +00:00 |
|
Dale Weiler
|
e27eebe0f9
|
More preprocessor testsuite support and our first preprocessor test!
|
2013-04-21 06:36:52 +00:00 |
|
Dale Weiler
|
c53fa31a0a
|
More preprocessor testing support for the testsuite.
|
2013-04-21 06:23:40 +00:00 |
|
Dale Weiler
|
79282bfee0
|
Initial preprocessor procedure option for testsuite implemented.
|
2013-04-21 06:20:17 +00:00 |
|
Dale Weiler
|
57d2876021
|
I did it, I did it, I did it, horray!, Thanks Dora .. I mean Hirato.
|
2013-04-21 06:09:20 +00:00 |
|
Dale Weiler
|
485866552d
|
Some work in progress preprocessing test work
|
2013-04-21 05:50:21 +00:00 |
|
Wolfgang Bumiller
|
46752af74b
|
parser_const_string now uses hashtables; hashtables may want to dup an empty string without it becoming NULL - also replacing ir_strdup with the new util_ one
|
2013-04-17 18:23:30 +02:00 |
|
Dale Weiler
|
18fad16a7d
|
cleanups
|
2013-04-14 01:41:13 +00:00 |
|
Dale Weiler
|
7ba7fd5968
|
Fet rid of explicit file stream flushes, streams are flushed on exit, which we can always gurantee.
|
2013-04-14 01:32:29 +00:00 |
|
Dale Weiler
|
ccc2eb3298
|
More function flatening
|
2013-04-14 01:14:14 +00:00 |
|
Dale Weiler
|
bd54fe03b9
|
Get rid of the bullshit log stuff
|
2013-03-07 22:09:14 +00:00 |
|
Dale Weiler
|
f2380a2faa
|
They see me roll 'n, casting, so far they just think I'm implicit casting dirty, implicity casting dirty ..
|
2013-03-07 21:38:46 +00:00 |
|
Dale Weiler
|
9f06e0e017
|
Print the number for the test itself in the test-suite. The log10 can be improved.
|
2013-02-25 10:01:36 +00:00 |
|
Dale Weiler
|
b5ead871ef
|
Consider cppchecks (performance) warnings.
|
2013-02-10 13:47:50 +00:00 |
|
Dale Weiler
|
8d59d7029d
|
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which also contains directory handling stuff). Also cleaned up some stuff, and added proper end comments to conditional inclusion stuff.
|
2013-02-08 12:06:59 +00:00 |
|
Dale Weiler
|
ecd9e3be97
|
Make the testsuite C++ compatible.
|
2013-02-06 10:52:09 +00:00 |
|
Dale Weiler
|
a1fac66587
|
Added definition file for test-suite, used by default by the test system. To override the defs globally, use -defs=file from the command line for the test-suite. To override the defs per-file, use F: -no-defs flag in the test template file.
|
2013-01-30 08:04:56 +00:00 |
|
Dale Weiler
|
835659ac48
|
Don't ignore return result from test_perform.
|
2013-01-30 06:17:57 +00:00 |
|
Dale Weiler
|
36c5722273
|
Rename
|
2013-01-30 05:35:07 +00:00 |
|
Dale Weiler
|
d201cfe6b4
|
Work in progress options cleanup.
|
2013-01-30 05:24:30 +00:00 |
|
Dale Weiler
|
531fbaf28c
|
Remove user-defined success/failure messages for the testsuite. Instead print an aligned to console string containing the tmpl file name. This closes #90.
|
2013-01-27 08:39:42 +00:00 |
|
Dale Weiler
|
c750828632
|
Fix the testsuite bug, and implemented QCFLAGS enviroment variable support for setting the compile flags (the .tmpl rules takes precedence).
|
2013-01-02 22:16:02 +00:00 |
|
Dale Weiler
|
467a4740da
|
Fix some issues
|
2013-01-02 16:34:55 +00:00 |
|
Dale Weiler
|
29db4a44ed
|
Happy new years!
|
2013-01-01 05:08:55 +00:00 |
|
Dale Weiler
|
a6f51264fd
|
Fixed another possible implementation specific bug thanks to this progressive splint idea :)
|
2012-12-28 12:43:08 +00:00 |
|
Dale Weiler
|
e4b8df2dc6
|
Fix another warning
|
2012-12-28 12:36:15 +00:00 |
|
Dale Weiler
|
d51a6ab3db
|
Whitespace
|
2012-12-23 09:10:31 +00:00 |
|
Dale Weiler
|
5bc815c63f
|
Revert "Whitespace fixes"
This reverts commit 4580dcf1ea .
|
2012-12-23 09:10:07 +00:00 |
|
Dale Weiler
|
4580dcf1ea
|
Whitespace fixes
|
2012-12-23 08:42:53 +00:00 |
|
Dale Weiler
|
13003bf6af
|
Wrapper around FILE to take advantage of MSVC "secure" CRT. We don't actually defend bounds checks (we just hack in the few ones to silent MSVC .. and to pass WinRT "native code" rules)
|
2012-12-23 06:05:22 +00:00 |
|
Dale Weiler
|
fa401b6f56
|
Cleanups and make compile with clang again with no warnings.
|
2012-12-22 08:22:50 +00:00 |
|
Dale Weiler
|
7d2a2f2ade
|
cleanups and fixes that cppcheck found
|
2012-12-22 08:07:54 +00:00 |
|
Dale Weiler
|
c9e3c29a25
|
testsuite compiles on windows now (but doesn't work). Still need to implement bidirectional piping on stdout/stderr/stdin.. Which for some reason is incredibly stupidly complicated on windows. You need to setup SECURITY_ATTRIBUTES for each handle, do crazy handle duplication, and forking via CreateThread. Meanwhile the whole "concept" of threading is entierly broken in fundamental design on windows, which means you constantly need to store the current process handles for backup, and "inherit" from child process. It's just stupid, provide unix pipes via close/open and dup. Like normal people (they're simple and sane).
|
2012-12-21 01:59:34 -05:00 |
|
Dale Weiler
|
3c003bc168
|
Get gmqcc/qcvm compiling on windows again. Plus work in progress support for the testsuite on windows (does not compile yet).
|
2012-12-21 01:00:51 -05:00 |
|
Dale Weiler
|
3e8435783c
|
More fixes
|
2012-12-20 08:45:54 +00:00 |
|
Dale Weiler
|
2bf2991ecb
|
Typos
|
2012-12-19 21:37:37 +00:00 |
|
Dale Weiler
|
757617f89f
|
Implemened -fail procedure type for testsuite. Essentially performs compilation on the idea that the compilation should fail, for the test to succeed, otherwise the test actually fails.
|
2012-12-19 21:35:47 +00:00 |
|
Wolfgang (Blub) Bumiller
|
a5e0542f95
|
cmd_options -> opts_cmd_t to make testsuite and executor compile again
|
2012-12-18 11:46:15 +01:00 |
|
Dale Weiler
|
60807b677c
|
Fix testsuite. Also added an additional test to the ternary stuff
|
2012-12-16 22:07:33 +00:00 |
|