Commit graph

  • 16d8c4c9d1 More progress in migration to dual Python 2&3. Just 2 tests left. Sei Lisa 2020-11-10 00:15:48 +01:00
  • f8cf78dfac Progress towards dual Python 2 & 3 Sei Lisa 2020-11-09 02:28:57 +01:00
  • dde9577cea Additions for strutil: xrange, python2, python3, any2str Sei Lisa 2020-11-09 02:12:29 +01:00
  • 4fd4bf71aa Use frozenset more consistently Sei Lisa 2020-11-09 02:06:37 +01:00
  • d9938f1a37 Misc small non-user-visible fixes Sei Lisa 2020-11-09 01:51:24 +01:00
  • 59c3f9fc71 Add newest llGetEnv settings Sei Lisa 2020-11-09 01:27:13 +01:00
  • 4c49e87f4c Add -y to test entries without an .err file; improve consistency Pedro Gimeno 2020-11-08 19:07:07 +01:00
  • f1d5905d7e Process arguments as str instead of bytes Pedro Gimeno 2020-11-08 15:25:01 +01:00
  • 5e88adcff3 Update to latest pcpp, remove expression evaluator Sei Lisa 2020-10-29 20:24:00 +01:00
  • 8db8872dbe Import the changes to cpreproc.py from the preprocessor branch Sei Lisa 2020-10-29 20:58:11 +01:00
  • 13e48ff956 Improve +processpre directive parsing to include #warning Sei Lisa 2020-10-29 20:17:50 +01:00
  • d5b83d50c4 Fix test case in the last commit Sei Lisa 2020-11-02 11:14:32 +01:00
  • 90fddf9dcd Report EParseCodePathWithoutRet at a more meaningful position Sei Lisa 2020-10-11 16:31:49 +02:00
  • 9e5f6e928d Improve compatibility of llToLower/llToUpper Sei Lisa 2020-09-23 01:11:21 +02:00
  • 1e22a21074 New upstream version of builtins.txt Sei Lisa 2020-06-12 21:02:07 +02:00
  • f3037df055 Forgot to add the test case for the previous commit Sei Lisa 2020-06-01 20:56:31 +02:00
  • d6bf0c390e Fix two issues in the dead code removal module Sei Lisa 2020-06-01 20:49:48 +02:00
  • 0affbf13dd Fix "" + list_expr producing list_expr Sei Lisa 2020-04-23 13:39:34 +02:00
  • 4d75f0f792 Future-proof of list-plus-elem.lsl and list-plus-elem.out Sei Lisa 2020-04-23 13:29:06 +02:00
  • c8a0a21823 Add llLinear2sRGB / llsRGB2Linear implementations Sei Lisa 2020-04-23 00:36:08 +02:00
  • 5755bb1c30 Explain the origin of the PCPP License that applies to the excerpt used Sei Lisa 2020-04-23 00:35:13 +02:00
  • 234b9b23a3 Bump copyright year Sei Lisa 2020-04-23 00:34:12 +02:00
  • 2b07c13498 Update to latest kwdb from upstream Sei Lisa 2020-04-22 21:16:59 +02:00
  • be06ffe1f2 New upstream version of builtins.txt Sei Lisa 2020-02-29 17:02:00 +01:00
  • be850e69cc Move comment Sei Lisa 2019-11-03 01:08:53 +01:00
  • a8d8c14c79 Fix NULL_KEY being optimized to "" in UDFs; do some minor changes Sei Lisa 2019-11-03 00:49:32 +01:00
  • 2408e6e6fe Raise resource limits; raise them again in case of exception Sei Lisa 2019-10-11 20:15:52 +02:00
  • 6d959f6f90 Handle llGetLinkName with invalid values Sei Lisa 2019-10-11 19:38:28 +02:00
  • 980b588986 Add FIXME and TODO Sei Lisa 2019-10-11 19:38:05 +02:00
  • c02998518a Rename FoldCond -> FoldAsBool which better expresses the idea Sei Lisa 2019-07-25 17:44:10 +02:00
  • 1ab9dd69b4 Fix optimization of fn > -1 and fn < 0 when fn's minimum is -1 in conditions Sei Lisa 2019-07-16 01:58:19 +02:00
  • 1bdaff32ab When optimizing nonconst * const, cast the result to the type of the operator. Sei Lisa 2019-07-02 15:40:20 +02:00
  • 750465f17b New upstream version of builtins.txt, new OBJECT_* constants Sei Lisa 2019-06-23 13:33:02 +02:00
  • 00b103c8aa Simplify v*q, make q*q more accurate, add q*q and q/q unit tests Sei Lisa 2019-05-23 01:48:13 +02:00
  • ec509b3840 Fix parenthesization of unary minus Sei Lisa 2019-05-04 23:07:45 +02:00
  • 9d540798b4 Allow returning void expressions where state changes are allowed Sei Lisa 2019-05-01 04:03:58 +02:00
  • 3cfbbb923c The encoding of sys.stderr can exist and be None. Sei Lisa 2019-05-01 01:22:54 +02:00
  • 2c94905f1e Add regression test for the keyerror bug Sei Lisa 2019-02-26 02:28:21 +01:00
  • 73bc2c29a8 Fix a couple of slips that can cause crashes Sei Lisa 2019-02-25 19:59:59 +01:00
  • 985b9c4ef1 New upstream version of builtins.txt Sei Lisa 2019-02-23 02:06:03 +01:00
  • 7589d72572 Add missing functions to fndata.txt Sei Lisa 2019-02-08 18:30:33 +01:00
  • 4b83ae6c4e More upstream changes to builtins.txt Sei Lisa 2019-02-07 14:46:53 +01:00
  • f2aa2ed231 New upstream version of builtins.txt adding INVENTORY_SETTING Sei Lisa 2019-02-06 18:54:40 +01:00
  • 7282e539d0 Add a directory that is important for tests Sei Lisa 2019-02-04 19:05:08 +01:00
  • 2ade2804df Bug fix: include 'emap' attribute in UniConvScript Sei Lisa 2019-02-04 19:03:46 +01:00
  • 8cfcdd090a Fix --emap output when the error is not in the main file Sei Lisa 2019-02-04 17:51:15 +01:00
  • 68c8726a64 Option to output error messages suitable for automated processing Sei Lisa 2019-02-04 17:20:12 +01:00
  • f0068dd3bc Style fixes Sei Lisa 2019-01-18 23:41:45 +01:00
  • 09556d5fbc 'backslashreplace' makes no sense for str.decode() Sei Lisa 2019-01-18 20:33:02 +01:00
  • 128005e889 Fix bug in inlining of empty for() initializer Sei Lisa 2019-02-02 00:47:04 +01:00
  • 65f217afa8 Fix codec problem on MSW Sei Lisa 2019-01-31 11:49:31 +01:00
  • 326091624c Fix non-compliance problem with octal/hex literals without U suffix Sei Lisa 2019-01-21 16:22:10 +01:00
  • dc41b36ace Update to latest pcpp (fixes __LINE__) Sei Lisa 2019-01-18 16:46:12 +01:00
  • 36ed90c9ba Revert _Pragma operator Sei Lisa 2019-01-17 20:26:46 +01:00
  • fba40123e1 Only include BOM if it isn't already present. Sei Lisa 2019-01-17 12:55:49 +01:00
  • b5092c0be2 More Unicode vs str fixes Sei Lisa 2019-01-16 20:24:31 +01:00
  • 173a12be15 New feature: add preprocessor params before or after system's Sei Lisa 2019-01-16 19:19:27 +01:00
  • 44ba2e2a8a Add digraph support to the default mcpp command line Sei Lisa 2019-01-16 19:05:24 +01:00
  • fe2dd9a721 First baby steps towards dual Python2+3 compatibility Sei Lisa 2019-01-15 20:27:02 +01:00
  • 789eb85bfe Add the outfile.tmp file generated by a test to .gitignore Sei Lisa 2019-01-15 23:22:02 +01:00
  • 8c1dc90cc8 Add a routine used to generate some of the test cases Sei Lisa 2019-01-15 23:19:02 +01:00
  • d394adf45a Add a test case to the infinity vector conversion Sei Lisa 2019-01-15 23:18:10 +01:00
  • e261ac2121 Add unit test for the _Pragma operator Sei Lisa 2019-01-15 20:38:19 +01:00
  • 7fd7eae56c Add *- to gitignore Sei Lisa 2019-01-15 20:37:07 +01:00
  • 8043cb7c9f Add two forgotten files from the inline tests Sei Lisa 2019-01-15 20:35:17 +01:00
  • bb841eb65a Remove obsolete test programs Sei Lisa 2019-01-15 18:47:10 +01:00
  • 138d042b2e Fix bug in type conciliation function Sei Lisa 2019-01-15 01:22:44 +01:00
  • 6dfbd804d0 Update PCPP with latest fixes Sei Lisa 2019-01-13 19:33:13 +01:00
  • 31fcb331c7 Add support for C11-style _Pragma operator on processpre Sei Lisa 2019-01-13 19:02:09 +01:00
  • 4a9cc9e20f Add support for comment passthrough to expression evaluator Sei Lisa 2019-01-13 04:10:52 +01:00
  • a1b5f1bb45 Avoid exposing our sint/uint class outside Sei Lisa 2019-01-13 03:33:45 +01:00
  • 01d45191ae Minor fixes in encoding handling Sei Lisa 2019-01-13 00:25:28 +01:00
  • f958b1cdf9 Append --preargs options at the end of the command line Sei Lisa 2019-01-12 21:16:35 +01:00
  • 7dcd7aa315 Add link to ned14/pcpp, moving the long link further down. Sei Lisa 2019-01-12 20:35:10 +01:00
  • 67164f4fbe Don't report pcpp as modified if it has untracked files Sei Lisa 2019-01-12 20:33:52 +01:00
  • d2c25c7812 Simplify a comparison in cpreproc.c Sei Lisa 2019-01-12 00:29:06 +01:00
  • c0168c8a34 Add files necessary to add an internal preprocessor (not implemented yet) Sei Lisa 2019-01-11 21:21:36 +01:00
  • 352f410d12 Add forgotten unit tests for the identifier substitution fiasco Sei Lisa 2019-01-11 21:18:25 +01:00
  • 0877f8c7e6 Forgot unit_tests/__init__.py necessary to run the JSON test Sei Lisa 2019-01-11 17:34:10 +01:00
  • 42f47d38f0 Fix swaps and other misoptimizations Sei Lisa 2019-01-11 02:07:54 +01:00
  • c3bb056f05 Revert the optimization re-added in 1946acf3a4 Sei Lisa 2019-01-10 23:26:58 +01:00
  • 06f8370886 Add a reference to the author name's origin Sei Lisa 2019-01-10 21:52:54 +01:00
  • 1b3c8a4d89 Check min and max to determine truth value of condition Sei Lisa 2019-01-06 23:49:33 +01:00
  • 5bfb218505 Perform redundant jump elimination in lastpass Sei Lisa 2019-01-06 22:32:19 +01:00
  • b1300fee94 'inline' is disabled by default and is available in pragmas Sei Lisa 2019-01-06 02:29:18 +01:00
  • 574f92d08e Allow #pragma OPT inline Sei Lisa 2019-01-06 02:20:34 +01:00
  • 74d5a1031a Remove caveat on conditions Sei Lisa 2019-01-06 02:08:58 +01:00
  • c5fd4932f1 Finish inlining for all loop conditions Sei Lisa 2019-01-06 01:59:36 +01:00
  • 0ffe823c18 Move symbol existence check and creation to newId Sei Lisa 2019-01-06 01:33:49 +01:00
  • 41515f338a Disable inline by default, due to the impact it has on WHILE/FOR loops Sei Lisa 2019-01-06 00:41:50 +01:00
  • 852fec2f26 Inliner: Add and use newSymtab() and newId() Sei Lisa 2019-01-06 00:19:38 +01:00
  • a800604632 Add a request to change the usage text if the GPL version is changed Sei Lisa 2019-01-05 23:30:19 +01:00
  • 55cb941234 Fix inlining of functions in conditions in DO loops Sei Lisa 2019-01-05 23:21:24 +01:00
  • 47a324f4a6 Coverage test lsloutput-1 is prone to exceptions. Activate -y. Sei Lisa 2019-01-06 00:45:46 +01:00
  • ddec4c464e Inline functions in 'do' loop conditions have been fixed Sei Lisa 2019-01-05 23:10:01 +01:00
  • cf5ee2793a Make mismatches fail with assertTrue instead of assertEqual Sei Lisa 2019-01-05 22:50:12 +01:00
  • 1a83213a40 Explain the states in the argument parser Sei Lisa 2019-01-05 00:45:25 +01:00
  • 40cd88e9f7 Minor pickiness Sei Lisa 2019-01-05 00:09:50 +01:00
  • 054539adf9 Make .fail files replace the docstring in order to be visible Sei Lisa 2019-01-04 22:29:15 +01:00
  • 1867dc78e7 Add the new test suite. Sei Lisa 2019-01-04 20:26:26 +01:00