AbigailBuccaneer
4119e669d1
Remove central tracking of SystemTimeStamp
...
SystemTimeStamp used to be an opaque class, as it was provided by
`system_{linux/other/windows}.h`. Because of this, code dealt in
SystemTimeStamp pointers, and getting the current timestamp required a
memory allocation. Now SystemTimeStamp is just a
`std::chrono::time_point`, we can make the code cleaner and faster by
just directly keeping SystemTimeStamp instead of pointers around.
2018-04-20 09:57:10 +01:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
melex750
c03dfc1284
Add escape codes for string literals
2017-07-22 14:29:05 -04:00
krzys-h
28081bfd3e
Fix clang builds
...
see #955
2017-05-24 14:00:34 +02:00
melex750
f80db9e8fb
Fix using negative numbers in default arguments
...
Issue #919
2017-03-03 02:11:10 -05:00
melex750
92a8c48953
Add syntax for parameters with default values
...
Also fixes #642
2017-01-24 15:19:03 -05:00
melex750
baba6081b3
Add checking for return statements in functions
...
issue #30
2017-01-24 14:41:22 -05:00
melex750
2ff8251a81
Fix game crashing with syntax errors
2017-01-24 13:47:00 -05:00
melex750
64bc1f1afb
Fix constructor/destructor and field syntax
2017-01-16 21:16:59 +01:00
melex750
8fc0151444
Fix increment and decrement syntax
2017-01-16 21:16:59 +01:00
piotrwalkusz1
d7fae300b9
Fix crash on class redefinition, closes #703 ( #890 )
2017-01-15 20:28:52 +01:00
krzys-h
191151eb7b
Refactor CBotClass and CBotFunction list to std::list
2016-11-11 19:37:19 +01:00
melex750
9ab7f7d140
Fix access to protected and private variables
2016-09-17 08:00:34 -04:00
melex750
3debfb9182
Fix finding in-class methods when searching by ID
2016-09-17 07:59:34 -04:00
melex750
4a14a44f3f
Add implicit cast and null for passing arguments
2016-09-17 07:58:39 -04:00
melex750
3146d4ef35
Add method chaining for class constructor calls
2016-08-14 16:56:17 -04:00
krzys-h
d411c5ebc0
Allow circular references from different classes ( #814 )
...
Conflicts:
test/unit/CBot/CBot_test.cpp
2016-08-09 21:10:07 +02:00
melex750
71aa7e468b
Add unit tests for circular reference
2016-08-09 14:55:56 -04:00
krzys-h
b9d4d57e33
Syntax sugar: Accessing members of returned objects ( #808 )
...
Conflicts:
src/CBot/CBotInstr/CBotInstrMethode.h
2016-08-09 20:28:37 +02:00
melex750
8b3c4302d2
Add more unit tests for inheritance
2016-08-07 10:01:10 -04:00
melex750
f3bf56d9e3
Add unit tests for returned object member access
2016-08-06 05:22:40 -04:00
melex750
c89e6f4c28
Begin adding unit tests for inheritance
2016-08-04 01:19:56 -04:00
krzys-h
81b7bcc5bc
Moved system modules from app/ to common/system/
2016-07-24 14:38:49 +02:00
krzys-h
11d40197ee
Added some more CBot tests after #793
2016-07-04 12:23:48 +02:00
krzys-h
c304ecd0ca
Changed arrays to use {} when converted to string; added tests
2016-06-21 12:58:43 +02:00
krzys-h
543df84db6
Enabled more tests
...
See https://github.com/colobot/colobot/pull/783#issuecomment-226963085
2016-06-18 22:31:32 +02:00
krzys-h
f0ed20fd67
Enabled working tests after bf2e3cdfae
2016-06-17 22:49:15 +02:00
krzys-h
7b32f6388f
Enabled fixed test
2016-05-28 23:33:49 +02:00
krzys-h
620620fa61
Reenabled working tests after fc7e621471
2016-05-27 11:45:02 +02:00
krzys-h
7c551dc39d
Added unit tests for #768
2016-04-19 21:09:41 +02:00
krzys-h
efc5431da2
Enabled ArraysInClasses test after 1941020993
2016-04-07 21:28:16 +02:00
krzys-h
059a546689
Reenabled unit tests that started working after 14721001e5
2016-04-03 21:09:41 +02:00
krzys-h
33f411371c
Added string arrays unit test
2016-03-20 15:19:08 +01:00
krzys-h
4479a196f9
Fix colobot-lint warnings
2016-03-15 17:39:00 +01:00
krzys-h
967aa22330
Allow assigning to array in initialization from function ( #624 , #728 )
2016-03-13 20:27:10 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
krzys-h
b96305060b
Fix colobot-lint warnings
2016-01-23 21:59:02 +01:00
krzys-h
9ff978155c
Fix crash with CBot string functions out of range ( closes #704 )
2016-01-23 21:07:19 +01:00
krzys-h
048534e89d
Fixed some errors reported by colobot-lint
2016-01-23 20:58:03 +01:00
krzys-h
07a4d6a16b
CBot namespace
2015-12-26 14:29:10 +01:00
krzys-h
d041a16a50
Can't stop testing
2015-12-25 18:31:07 +01:00
krzys-h
30b5f86ebc
You can never have too many tests
2015-12-25 18:10:22 +01:00
krzys-h
09e4919509
More things that should work but don't
2015-12-25 15:23:00 +01:00
krzys-h
5b7638d9f4
More CBot tests
2015-12-25 14:46:39 +01:00
krzys-h
3eb2a2d5ca
Even more tests
2015-12-23 22:10:37 +01:00
krzys-h
b1c4096ccf
Needs MOAR tests!
2015-12-23 21:54:10 +01:00
krzys-h
a18c2c39d9
Added ASSERT() to CBot unit tests
2015-12-23 21:08:36 +01:00
krzys-h
b102f767d0
Compile error testing in CBot
2015-12-23 20:54:35 +01:00
krzys-h
8437a9bdd2
CBot testing framework; fixed a few bugs
2015-12-23 20:39:56 +01:00
krzys-h
d577e7f41b
Tests for CBotToken
2015-12-23 18:44:14 +01:00