Commit graph

2157 commits

Author SHA1 Message Date
Dale Weiler
0b0b6423ba Use hashtable for macro definitions in the preprocessor, this speeds up the search for them, and the removal of them making it O(1) instead of O(n). This also makes my 30 second xonotic compiles take only 13 seconds 2013-04-17 10:51:33 +00:00
Wolfgang Bumiller
4d394494b6 don't call ftepp_finish on a freed ftepp struct 2013-04-17 11:36:45 +02:00
Dale Weiler
d7be99c9dd More perliminary reworking for threading 2013-04-17 06:30:09 +00:00
Dale Weiler
21c6079b7a Fix compile for windows. 2013-04-17 04:27:00 +00:00
Dale Weiler
1f0a1b8140 Perliminary parser reworking, required for the proposed multithreading. 2013-04-17 00:52:52 +00:00
Dale Weiler
b82efcf0ce Fix typo in kate syntax highlighting installation documentation. 2013-04-16 20:27:01 +00:00
Dale Weiler
a61c9c6d89 Added syntax highlighting configuration files (with documentation on how to install them) for nano, kate and geany. 2013-04-16 20:24:33 +00:00
Wolfgang Bumiller
992c6fbfb8 lex_try_pragma: free the buffers 2013-04-16 14:14:15 +02:00
Dale Weiler
1c51fb80eb Fix memdump printing 2013-04-16 09:13:22 +00:00
Dale Weiler
f2b21158d8 Rewrote memory tracking, now prints highest water mark (most used memory at a given time during compile). Changes all byte representation to MB representation. Added ability to print the contents of the leaked memory to the console when -debug is on (infact the lost messages only print during -debug), -memchk simply reports the memory info at the end (it is also printed when -debug). You can set the memory dump columns with -memdumpcols=# where # is the number of columns you want (default is 16) 2013-04-15 20:54:53 +00:00
Wolfgang Bumiller
1a9c82483c fix macro parameters 2013-04-15 21:07:44 +02:00
Wolfgang Bumiller
1f667c4b35 ast_expression_delete: delete varparam if it is set - fixes another leak 2013-04-15 21:05:59 +02:00
Wolfgang Bumiller
d5e90a17f9 fix memleak in ast_local_codegen 2013-04-15 20:56:48 +02:00
Wolfgang Bumiller
1caf1b3ebe util_strdup: don't use util_memory_a with -DNOTRACK 2013-04-15 20:53:53 +02:00
Dale Weiler
c2b5a95961 GCC specific stuff compile flags. 2013-04-15 06:23:13 +00:00
Dale Weiler
ef528d6710 Added tracing to strdup for allocations, fixed some memleaks, this isn't pretty (trying to track down some weird memory leak issues) 2013-04-14 23:51:16 +00: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
752409417f Remove one more external function 2013-04-14 01:29:50 +00:00
Dale Weiler
4591b3a4fa More flattening. I don't know why I turned off buffering, that makes output to console even slower due to all the flushes, which actually slows down compilation. 2013-04-14 01:26:40 +00:00
Dale Weiler
eb2a74f7e7 Flatten more external functions 2013-04-14 01:25:11 +00:00
Dale Weiler
a25bd052d7 More function flatening 2013-04-14 01:16:35 +00:00
Dale Weiler
ccc2eb3298 More function flatening 2013-04-14 01:14:14 +00:00
Dale Weiler
3e7340c52c More external function flatening (less external symbols) 2013-04-14 01:07:39 +00:00
Dale Weiler
3f546df677 Revert that trans stuff 2013-04-14 01:03:22 +00:00
Dale Weiler
48d6375817 flatten the use of strcpy, 90% of the cases we already knew the length of the string either at compile-time, or already within the scope we where, thus letting us use strncpy, which can be further optimized (unrolled if static) 2013-04-14 01:00:25 +00:00
Dale Weiler
3f40fcb965 Fix possible buffer overflows. 2013-04-13 18:17:15 +00:00
Dale Weiler
95172861f5 Fix possible bug 2013-04-13 18:04:07 +00:00
Dale Weiler
c62d88cb57 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-04-13 18:01:41 +00:00
Dale Weiler
c74889f648 Fix some memory leaks. 2013-04-13 18:01:26 +00:00
Wolfgang Bumiller
cb0169a784 Merge pull request #103 from matthiaskrgr/cooking
fix arch pkgbuilds
2013-04-13 03:50:57 -07:00
Matthias Krüger
7b3bbf05b9 gitignore: ignore pkg.tar.xz packages in distro/arch{linux/bsd} 2013-04-13 11:23:10 +02:00
Matthias Krüger
f5ba2e825f PKGBUILD: release: fix sha1sum, minor cleanup 2013-04-13 11:19:48 +02:00
Matthias Krüger
5bb10260b3 PKGBUILD: git: fix for pacman 4.1.0 2013-04-12 22:08:10 +02:00
Matthias Krüger
47ebf7c84c .gitignore: add /pak 2013-04-12 21:51:55 +02:00
Wolfgang Bumiller
a6ac90215b we changed the prefix... there too 2013-04-02 23:40:26 +02:00
Wolfgang Bumiller
c01ad2bfcf we changed the prefix... 2013-04-02 23:39:42 +02:00
Dale Weiler
50e8618b64 Merge pull request #102 from matthiaskrgr/cooking
gource stuff
2013-03-27 13:15:00 -07:00
matthiaskrgr
54c89e485a make: gource flags: add
--key
    --camera-mode overview
    --highlight-all-users
    --file-idle-time 0
    --hide progress,mouse
    --stop-at-end
    --max-files 99999999999
    --max-file-lag 0.000001
    --bloom-multiplier 1.3
2013-03-27 20:05:43 +01:00
matthiaskrgr
8e122d78be Makefile: split up 'make gource' into 'make gource' (render only) and 'make gource-record' (record using ffmpeg) 2013-03-27 19:50:39 +01:00
Dale Weiler
58a04a04e5 Make variable for flexibility 2013-03-21 06:17:50 +00:00
Dale Weiler
6900e50289 Uploadability from package building using dropbox API (all inside a makefile with magics) 2013-03-21 06:01:34 +00:00
Dale Weiler
c42a853e0b Some protection for cross arch package building 2013-03-21 04:47:46 +00:00
Dale Weiler
1b02a5204a Cross architecture stuff for distro build scripts. If you have an x86_64 capable system with a compiler and make (the OS doesn't even matter), simply changing to "distro" directory and typing "make" is sufficent to make archlinux i686/x86_64, and debian i686/x86_64 packages. 2013-03-21 02:02:41 +00:00
Dale Weiler
66b5cf29ba While we're at it, fix that one too. 2013-03-15 22:56:45 +00:00
Dale Weiler
6a0f9d3cb2 *sigh* 2013-03-15 22:56:09 +00:00
Dale Weiler
11255058cf SPACES PEOPLE 2013-03-15 22:53:00 +00:00
Dale Weiler
dfca3743f9 Added gource rule to makefile 2013-03-15 22:51:40 +00:00
Dale Weiler
a798859a7a Added isnan compiler builtin, documented what each compiler builtin does as well. 2013-03-09 09:20:54 +00:00
Dale Weiler
d4785ad6e3 fix comment 2013-03-09 08:59:12 +00:00