Commit Graph

545 Commits

Author SHA1 Message Date
David Anderson
2a46f8f881 Add GetNativeFunction (bug 6200). 2014-07-23 23:36:11 -07:00
David Anderson
88c614c1ba Merge pull request #104 from alliedmodders/fix-structs
Clean up the struct syntax and force it to use newdecls.
2014-07-20 21:19:15 -07:00
David Anderson
686890ec10 Clean up the struct syntax and force it to use newdecls. 2014-07-20 12:16:23 -07:00
David Anderson
51f97d1298 Block off operators for post-transitional compiler. 2014-07-20 01:02:44 -07:00
David Anderson
2ea9ec50b5 Merge pull request #91 from alliedmodders/bug-6183
Show errors for methods that are unused. (bug 6183)
2014-07-13 11:24:51 -07:00
David Anderson
5dd5b5131b Show errors for methods that are unused. (bug 6183) 2014-07-12 10:28:29 -07:00
David Anderson
3d3e5c40c2 Fix and formalize newline and semicolon behavior in methodmaps. (bug 6175) 2014-07-12 00:07:34 -07:00
Ryan Stecker
c38b4a4d1d Give functags their correct types for transitional syntax. 2014-07-10 16:55:22 -05:00
David Anderson
e76f553957 Begin locking down function types. 2014-07-08 00:26:37 -07:00
David Anderson
3fe22687e9 Revert. 2014-07-08 00:06:52 -07:00
David Anderson
2ade122cd2 Merge branch 'master' into fix-null-func
Conflicts:
	sourcepawn/compiler/sc5.scp
2014-07-08 00:06:04 -07:00
David Anderson
e57a323dc8 WIP. 2014-07-07 23:31:31 -07:00
Asher Baker
af791a30df Merge pull request #72 from VoiDeD/keyvalue-from-string
Implement StringToKeyValues.
2014-07-07 13:49:24 +01:00
David Anderson
ff31d8df49 Update nominations.sp and improve compiler error messaging. 2014-07-06 23:59:15 -07:00
David Anderson
8e5992685a Merge branch 'master' into redo-noms 2014-07-06 23:49:18 -07:00
David Anderson
af557fdd5e Use setters. 2014-07-06 23:46:45 -07:00
David Anderson
27d5ce45f5 Merge branch 'master' into noms 2014-07-06 23:42:41 -07:00
David Anderson
97e0c84e6d Merge pull request #73 from alliedmodders/nullable
Add nullable types and tighten up some new type system semantics.
2014-07-06 11:45:09 -07:00
Ryan Stecker
312f003031 Fix usage of class keyword in some includes. 2014-07-06 07:15:22 -05:00
David Anderson
dbedd6712a Remove VoteInProgress from Menu map. 2014-07-05 14:36:14 -07:00
David Anderson
f18a83e03e Fix some menu API oddities. 2014-07-05 14:34:32 -07:00
David Anderson
a7de88dd42 Port nominations.sp to the transitional syntax and API. 2014-07-05 14:00:52 -07:00
David Anderson
e5b1b630bb Port some includes to transitional API. 2014-07-05 13:58:07 -07:00
David Anderson
49380620e0 Merge branch 'master' into nullable 2014-07-05 13:24:45 -07:00
David Anderson
9ff38bcf80 Add nulls, and more newdecl and type system features.
New null_t type has a constant "null", which can be assigned to objects.
Methodmaps can now be "nullable", accepting null_t types.
The delete keyword now zaps non-const lvalue inputs.
Fixed some newdecl arguments not accepting references.
Allow functag matching to coerce arguments and return values.
Allow functags to accept new-style types as a return value.
2014-07-05 13:20:06 -07:00
Ryan Stecker
fc54903fd0 Add test. 2014-07-05 12:01:17 -05:00
David Anderson
68ab7f0a12 Merge pull request #61 from VoiDeD/ambuild-disable-auto-versioning
Add an ambuild configure option to disable auto versioning.
2014-07-05 09:39:35 -07:00
David Anderson
da33c79d8b Add #pragma newdecls required|optional. 2014-07-05 01:08:14 -07:00
David Anderson
f62769108c Fix some local declarations not working. 2014-07-04 23:53:16 -07:00
David Anderson
376eb9725e Add support for new-style declarations in local variables. 2014-07-04 21:16:39 -07:00
David Anderson
5d753c2697 Merge pull request #67 from alliedmodders/glbdecls
Add support for new-style declarations in globals.
2014-07-04 17:21:26 -07:00
David Anderson
3cf9e56a19 Fix various bugs in global newdecl support. 2014-07-04 14:31:56 -07:00
Nicholas Hastings
ffa1887c48 Merge pull request #65 from powerlord/master
New functions for SDKTools to get information from game_sound files (r=psychonic).
2014-07-04 17:17:00 -04:00
Ryan Stecker
878a82a6e5 Implement StringToKeyValues. 2014-07-04 12:04:38 -05:00
David Anderson
bdb5ef506b Merge pull request #64 from alliedmodders/newdecl
New declaration syntax: arguments.
2014-07-03 09:18:25 -07:00
Ross Bemrose
d25ab6349c Commit new version of bug 5942: New functions for SDKTools to get information from game_sound files. 2014-07-03 10:20:53 -04:00
David Anderson
438fade64f Bug fixes. 2014-07-03 00:34:11 -07:00
Ryan Stecker
d4f4a7eed0 Add an ambuild configure option to disable auto versioning. 2014-07-02 13:29:59 -05:00
Ryan Stecker
9c1dd0565f sm_reskick_immunity access check should not check for commands. 2014-07-01 09:07:40 -05:00
David Anderson
99f4cdb3e4 New type system. 2014-06-24 23:37:14 -07:00
David Anderson
ec61d4d188 Add a general profiling abstraction layer. 2014-06-24 01:04:13 -07:00
David Anderson
99c0879086 Fix build. 2014-06-23 20:17:40 -07:00
David Anderson
b064556081 Merge pull request #50 from alliedmodders/map-api
Add transitional API for maps (aka tries).
2014-06-23 20:06:42 -07:00
David Anderson
2724659be8 Rename to StringMap. 2014-06-23 20:06:13 -07:00
Nicholas Hastings
3983dc10ed Update non-auto version for 1.7.0 for compiled plugins. 2014-06-23 19:46:26 -04:00
David Anderson
4ee04b8a7b Add transitional API for maps (aka tries). 2014-06-22 22:32:08 -07:00
David Anderson
63ad5eff18 Introduce basic methodmaps (PR #38).
commit 1e5213d43fdd170bb0c30af914a4e40610014b2b
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 04:09:27 2014 -0700

    Quell MSVC C99 bugs.

commit f2e166c5925fda49b5abeadc0aa0f9156b99cf11
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:59:23 2014 -0700

    Fix varying levels of stupid memory errors.

commit b0773d7be45345351ab1c1738681d5215a97f3f3
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:36:39 2014 -0700

    Fix memory leak in parsing some control flow structures.

commit 5aca55713cfc2dd09c5900132fc4a6be51e3e309
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:35:17 2014 -0700

    Fix memory leak in struct parsing.

commit b46ec5cd281b46177e83c4f0a4acac9cc1065c53
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 03:32:03 2014 -0700

    Fix build.

commit 17bbbb9a46bfc00862adca7d3e15369a48e9ac0f
Merge: c083409 2107599
Author: David Anderson <dvander@alliedmods.net>
Date:   Sat Jun 21 01:26:27 2014 -0700

    Merge branch 'master' into methodmaps

commit c083409b569abff13f24d3b8c47f8ff199036840
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 23:49:36 2014 -0700

    Add VS2k13 support.

commit b7993778494d538cb1c1965116030142a7f7765b
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 01:28:08 2014 -0700

    Implement destructors.

commit 1a340dec260d079ed1b79351ed7b50b58a997cea
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 00:08:04 2014 -0700

    Add some tests.

commit 12db52ee64eb009ead9294495e9034c63ab75b09
Author: David Anderson <dvander@alliedmods.net>
Date:   Fri Jun 20 00:05:49 2014 -0700

    Initial implementation of constructors.

commit 074669a658caa2822aa864164b615a244c00a0bc
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:42:35 2014 -0700

    Add simple test harness.

commit 27c1e3cf14e1e6c5cf35c80c792cce2744b804d7
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:15:42 2014 -0700

    Big refactoring for new syntax.

commit f3c37fdc919e76ee0815e2394cbe8d221f9fc0ca
Author: David Anderson <dvander@alliedmods.net>
Date:   Thu Jun 19 22:12:54 2014 -0700

    Refactor tests for the new syntax.

commit 6211f392f8e722b907474cf380cfac4347e46b8e
Author: David Anderson <dvander@alliedmods.net>
Date:   Wed Jun 18 22:25:48 2014 -0700

    Make lexer tokens an enum.

commit 5210b013756b0b00de3a61c6490685c768ff8cbd
Author: David Anderson <dvander@alliedmods.net>
Date:   Tue Jun 17 06:48:15 2014 -0700

    Add comment.

commit 06688ff4aced14077dd21a9cc1db4c26c7420ff3
Author: David Anderson <dvander@alliedmods.net>
Date:   Tue Jun 17 06:46:10 2014 -0700

    Allow |this| to be a base type of the methodmap.

commit 05cf3682020e0e6d9f47b1a0a6727b9edbfe7622
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 22:11:58 2014 -0700

    Unify duplicate typesymbol checking.

commit 09161bf2691c8c1ed25b9b70fda01c336f21aa0b
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 19:53:36 2014 -0700

    Close loophole that allowed methodmaps for enums.

commit 5bb4aeba89fec47a4de7a7532d27830999d1fcb4
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:50:42 2014 -0700

    Add tests and dbi/handle changes.

commit b9203e2491daec2a8073874d6375949483778d14
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:38:29 2014 -0700

    Ensure methodmap tags are fixed.

commit 878b80fd87a2ea500d3a28ce2d53f616d1efe5e8
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:36:04 2014 -0700

    Implement inheritance.

commit 6ba9e004fbae18ad68056368ddd0affdc78659f1
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:31:00 2014 -0700

    Refactor matchtag() to not be insane.

commit 4ede6343b0682c6df98fa869153828e92f891bcc
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:20:50 2014 -0700

    Fix indenting.

commit e3ddef8916e3dd5f4ff0fe571d6e1c3acd163352
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jun 16 01:20:27 2014 -0700

    Initial prototype.
2014-06-21 04:10:15 -07:00
Nicholas Hastings
7553106eee Merge pull request #34 from WildCard65/Spacing
Added spacing to compile.sh (r=psychonic).
2014-06-17 21:44:05 -04:00
FlaminSarge
7a96467045 Update TF_WEAPON enum for June 11, 2014 TF2 Patch. 2014-06-15 00:30:53 -07:00
FlaminSarge
86c1660ee9 Fix line endings in tf2_stocks include. 2014-06-15 00:29:41 -07:00