Commit Graph

165 Commits

Author SHA1 Message Date
atlimit8
f9974624c8 VariableExpression: hyphen after digit lexing fix 2017-04-18 15:14:55 -05:00
atlimit8
b0187dd646 Added (Boolean|Integer)Expression subclasses of VariableExpression 2017-04-11 02:52:54 -05:00
atlimit8
e73d3922dd Rename ConditionExpression => VariableExpression 2017-04-11 01:26:38 -05:00
Paul Chote
1c97effbc9 Make ConditionExpression ! return false for negative numbers.
This brings it in line with C/C++ behaviour.
2017-02-23 20:23:40 +00:00
atlimit8
67dcbd1b2c ConditionExpression: added bool constants 2017-02-22 08:54:52 -06:00
atlimit8
f605756351 ConditionExpression: Add arithmetic operations 2017-02-22 08:54:52 -06:00
atlimit8
ac4f73b178 ConditionExpression: Add relation operators 2017-02-22 08:54:52 -06:00
atlimit8
bbea7642fc ConditionExpression: setup operator precedences 2017-02-22 08:54:51 -06:00
atlimit8
0fc2008f10 Added delegate creation & evaluation to ConditionExpression 2017-02-22 08:54:51 -06:00
atlimit8
d752e10799 ConditionExpression: Run syntax checks while lexing 2017-02-22 08:54:51 -06:00
atlimit8
8e6436d71c ConditionExpression: move lexing to Token class. 2017-02-22 08:54:51 -06:00
atlimit8
4537c3c7d0 ConditionExpression: reorganize tokenizer 2017-02-22 08:54:51 -06:00
atlimit8
6e393f99cb ConditionExpression: Replaced Token sub-classing with TokenTypeInfo data. 2017-02-22 08:54:51 -06:00
atlimit8
828b13a11e ConditionExpress: added TokenTypeInfo table 2017-02-22 08:54:51 -06:00
atlimit8
f9e47cd0ca ConditionExpression: Added CharClass enum for tokenizing 2017-02-22 08:54:51 -06:00
atlimit8
c70442b15e Use switch statement for operator tokenization. 2017-02-22 08:54:51 -06:00
atlimit8
73895d07e2 Numeric constants for ConditionExpression 2017-02-22 08:54:50 -06:00
atlimit8
65725efd04 Make ConditionExpression use counts. 2017-02-22 08:54:50 -06:00
atlimit8
d83dae5587 Rename BooleanExpression => ConditionExpression 2017-02-22 08:54:50 -06:00
Paul Chote
11df0216e5 Remove legacy restart behaviour. 2017-02-18 22:37:47 +00:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
3f0b33992c Rewrite UpgradeManager implementation to suit conditions. 2016-11-20 13:55:47 +00:00
Paul Chote
1cc7944437 Add FieldLoader and linter support for BooleanExpression. 2016-11-19 17:19:25 +00:00
Paul Chote
cc34f8e557 Add a boolean expression parser. 2016-11-15 21:45:00 +00:00
Paul Chote
94de961175 Converting dates to string using the InvariantCulture. 2016-09-21 14:52:05 +01:00
Paul Chote
b44d1be554 Timestamp syncreport and exception log files. 2016-09-21 04:57:13 +01:00
RoosterDragon
696d783a67 Improve out-of-memory logging with more details.
Also ensure that when OpenGL gives an out-of-memory error, we throw an OutOfMemoryException so the improved logging is triggered here too.
2016-09-16 07:35:08 +01:00
RoosterDragon
9f1c872340 Improve some exception types. 2016-09-11 15:14:44 +01:00
Paul Chote
3261516b51 Support loading mods from arbitrary locations. 2016-08-08 22:36:08 +01:00
Paul Chote
bf4867909f Rename Manifest.Mod -> Metadata. 2016-08-08 22:36:07 +01:00
Curtis Shmyr
2fc77a315e Add timestamp to exception.log 2016-07-06 13:49:08 -06:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
RoosterDragon
081b40b14f Make Log thread-safe.
Since logging is exposed via static methods, it need to be thread-safe or multiple threads trying to log at the same time will cause bad things to happen.
2016-01-04 19:27:48 +00:00
Matthias Mailänder
d4e842e643 add a benchmark mode 2015-12-25 19:30:15 +01:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
Matthias Mailänder
2df76ad962 add an overload that doesn't use string.Format 2015-09-01 20:59:14 +02:00
Matthias Mailänder
001d2cde30 add the map to the exception.log 2015-08-23 22:27:00 +02:00
Matthias Mailänder
e428e6d8cc remove executable bits from source code 2015-08-06 18:05:50 +02:00
abcdefg30
5e3d600408 Fix a crash in LaunchArguments when switching mods 2015-08-01 13:45:41 +02:00
Matthias Mailänder
7c86519242 organize launch arguments in it's own class 2015-08-01 11:56:45 +02:00
Matthias Mailänder
47b0b4f143 fix a division through zero 2015-06-07 13:38:04 +02:00
abcdefg30
fb8ac18522 Fix the wrong indentation in PerfHistory.cs 2015-03-23 17:27:52 +01:00
abcdefg30
8ca61aa917 Updated all year numbers 2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2 Formatted all files.
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +01:00
Matthias Mailänder
44cd174a8d StyleCop clean OpenRA.Game 2015-01-03 19:00:48 +01:00
Oliver Brakmann
30e42cdc62 Merge pull request #7247 from Hellhake/stylecop-game
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:58:04 +01:00
Hellhake
5a97a4b63b Fix StyleCop warnings in OpenRA.Game 2015-01-02 12:11:01 +01:00