Commit graph

2318 commits

Author SHA1 Message Date
Wolfgang Bumiller
e59d50ee5d Merge branch 'master' of git://github.com/graphitemaster/gmqcc 2013-01-06 16:37:05 +01:00
Wolfgang Bumiller
2531a3695f fixup qcvm parameter handling, now progs.dat can be specified anywhere not just at the end 2013-01-06 16:37:02 +01:00
Dale Weiler
985a177288 Pipe stderr from makedepend for depend rule in makefile to /dev/null 2013-01-06 15:27:39 +00:00
Dale Weiler
ecb83404ab Add test alias to check for make file 2013-01-06 15:12:46 +00:00
Dale Weiler
8ac6bcdad7 Add splint rule to makefile 2013-01-06 12:43:46 +00:00
Dale Weiler
4f873e1d9d remove never reached return 2013-01-06 12:39:37 +00:00
Dale Weiler
7cc7e912e7 Enable corrector by default 2013-01-06 12:29:25 +00:00
Dale Weiler
72f056a4d7 Merge branch 'screwaround' 2013-01-06 12:29:07 +00:00
Dale Weiler
ac5cc49840 remove a the 2013-01-06 12:28:27 +00:00
Dale Weiler
9a4e215179 Document the awesome hack 2013-01-06 12:24:05 +00:00
Wolfgang Bumiller
9c8ddb3771 An evil optimization to the trie, now has a fixed amount of branches and uses a char-to-index map to index into the branches... 2013-01-06 13:07:28 +01:00
Dale Weiler
1e17b5f696 Cleaner transformation calls (one less size_t for agruments). We can coalesce it in correct_edit. 2013-01-06 11:02:39 +00:00
Dale Weiler
3fa771f51d Leave a space here for makedepend 2013-01-06 10:56:25 +00:00
Dale Weiler
4afe61060d Add a "depend" rule for the makefile. It uses makedepend to generate dependinces that are catted to the current Makefile. 2013-01-06 10:55:22 +00:00
Dale Weiler
0f4090402d No need to +1 for comparision in correct_known_resize 2013-01-06 10:37:09 +00:00
Dale Weiler
cfdeaf4786 Fix comments 2013-01-06 10:35:43 +00:00
Dale Weiler
056779d3b8 Remove trailing shitspace 2013-01-06 10:33:09 +00:00
Dale Weiler
6f5a20e76b Use -O2 by default 2013-01-06 10:29:29 +00:00
Dale Weiler
a4c1e63637 Less pointer dereferences 2013-01-06 05:17:30 +00:00
Dale Weiler
cc7e1a3363 Screw you clang :-) 2013-01-06 05:14:57 +00:00
Dale Weiler
ee33b4e5cc A little faster, plus some more research 2013-01-06 05:13:19 +00:00
Dale Weiler
0c59274c54 This is a work of art, it deserve nice comments :) 2013-01-06 04:09:12 +00:00
Dale Weiler
d98cc564b1 Fixes and more documentation 2013-01-06 04:06:38 +00:00
Dale Weiler
44a7154f58 Add a notice 2013-01-06 03:52:37 +00:00
Dale Weiler
106db76b9d Use memcmp with strlen for correct_exists (it's a hell of a lot faster) 2013-01-06 03:34:56 +00:00
Dale Weiler
cc8558025b No more uninitialized 2013-01-06 03:33:21 +00:00
Dale Weiler
9841240aab Some more nicer loops 2013-01-06 03:29:55 +00:00
Dale Weiler
e2e4907b60 Nicer loops 2013-01-06 03:26:09 +00:00
Dale Weiler
7e87c61d78 Cleanups and documentation 2013-01-06 03:06:56 +00:00
Dale Weiler
294870c5ba Remove override macros 2013-01-06 02:41:15 +00:00
Dale Weiler
efecd160ca Remove an illegal mem_d 2013-01-06 02:40:36 +00:00
Dale Weiler
0fb089fbb7 Cleanup the pool system for correct.c. Use blubs correct_resize stuff. 2013-01-06 02:39:07 +00:00
Dale Weiler
682c43973e Don't use notices 2013-01-05 20:44:53 +00:00
Dale Weiler
726d163631 Better IRC hook 2013-01-05 20:43:47 +00:00
Dale Weiler
7a5bb20778 notifications 2013-01-05 20:39:50 +00:00
Dale Weiler
caa44e82e0 Add irc to travis 2013-01-05 20:39:17 +00:00
Dale Weiler
41a01c08e1 Add travis.yml 2013-01-05 20:31:17 +00:00
Wolfgang Bumiller
8bc9d4b427 Committing an evil allocator and a trie to speed up the correction stuff 2013-01-05 19:09:36 +01:00
Wolfgang Bumiller
b8d238d76b Merge branch 'master' of git://github.com/graphitemaster/gmqcc 2013-01-04 14:52:00 +01:00
Wolfgang Bumiller
0e3bb0e4f4 Get rid of correct_strndup and correct_concat altogether, reduces each generated edit to a single alloc 2013-01-04 14:50:50 +01:00
Dale Weiler
ec4cd0d258 Disable enhanced diagnostics as they're too slow. 2013-01-04 12:26:44 +00:00
Dale Weiler
793547a132 Implemented -f[no]enhanced-diagnostics, to enable/disable the usage of enhanced diagnostics. 2013-01-04 12:07:42 +00:00
Dale Weiler
5377835f1e Remove constant string literal for correction check, use parse_tokval of the current parser state instead. Accidently left it behind from debugging. 2013-01-04 11:58:27 +00:00
Dale Weiler
2d96b2a3ec Merge branch 'correct' 2013-01-04 11:56:07 +00:00
Dale Weiler
36d02d010e Got rid of all the memleaks. We can now merge with master. 2013-01-04 11:53:40 +00:00
Dale Weiler
18b9473cf8 Itegration of corrector. Seems to be some leaks in the score keeping for the probability system. 2013-01-04 11:44:25 +00:00
Dale Weiler
d97e032fcf Cleanups and add the corrector to the makefile. Starting integration with the parser. 2013-01-04 10:05:41 +00:00
Dale Weiler
7ef051f58a Fix all the memleaks in the corrector. Holy shit, the amount of hours I wasted trying to find out where I left out ONE little free. 2013-01-04 09:46:22 +00:00
Dale Weiler
ab64706cc3 Fix another two leaks 2013-01-03 21:38:07 +00:00
Dale Weiler
2189dd4b85 Remove some memory leaks in the corrector. There is still some memory leaks that are proving impossible to fix. 2013-01-03 21:25:35 +00:00