CommandHelper Builds

View last successful build

Branch # Status Changes Finished
master #3341- Tests passed: 642, ignored: 6
  • Add docs for File_Options and Strict_Mode. Support file options docgen syntax highlighter. Also, added support for using class based styling, instead of style based styling. In the future, I will create a css class to do the styling, but for now, it remains hardcoded. (487fe9 by ladycailin)
3 months ago
master #3340- Tests passed: 642, ignored: 6
  • Finish importing Learning Trail articles (5307cf by ladycailin)
3 months ago
master #3339- Tests passed: 641, ignored: 6
  • Update public-suffix (9993d3 by ladycailin)
4 months ago
master #3338- Tests passed: 641, ignored: 6
  • Add string_contains, to be clearer in code (ef2ca5 by ladycailin)
4 months ago
master #3337- Tests passed: 641, ignored: 6
  • Merge pull request #478 from Pieter12345/lexer_optimization (ceede3 by ladycailin)
  • Fixup commit. (e39570 by pieter12345)
  • Lex + preprocess + compile optimization. Replaced ArrayList usage by a LinkedList. This has the following effect: - get() goes from O(1) to O(n) unless an iterator is used, in which case it remains O(1). - remove() in an iterator over the list goes from O(n) to O(1). This commit also changes all iterations over the list to iterations using an iterator, making both get() and remove() O(1). (320830 by pieter12345)
  • Halved preprocessor runtime. On a local ~140.000 character (3305 line) script, 3000 runs on each script with one untimed run for possible initialization resulted in a runtime of ~1.19ms on average for the old code and ~0.60ms on average for this new code. (86dfce by pieter12345)
  • Removed unnecessary assigns in the lexer. (fafc90 by pieter12345)
  • Lexer file option support+optimization+bugfix. - Fixed a bug where the token for CONCAT_ASSIGNMENT would get assigned string "/=" instead of ".=". - Fixed a bug where ending a file with an unfinished unicode character in a quote would throw an uncaught exception (ending file with '\u). - Optimized the lexer. Using a script from my server, the lex time of 100 runs (with one untimed run before the loop) was ~108ms, this has been improved to ~83ms (~23% runtime decrease). - Added file options support in the lexer. Start with '<!', end with '>' and a literal '>' could be obtained using '\>'. File options are only allowed at the top of a file. (0e8a10 by pieter12345)
  • Git bug - Committing no changes. When undoing this "change", it automatically returns. Committing might be a way to get rid of it so I can use git again. (656db8 by pieter12345)
4 months ago
master #3336- Tests passed: 641, ignored: 6
  • Merge pull request #477 from Pieter12345/extension_event_error_handler (fe865b by ladycailin)
  • Extra error management for event handlers. When CH or a CH extension receives an event it cannot handle due to being binary incompatible with a dependency, the error remained uncaught and was passed to the server software that fired the event. This commit makes sure those errors are caught and logged with useful additional details for a bug report. (3ff3ef by pieter12345)
  • Git bug - Committing no changes. When undoing this "change", it automatically returns. Committing might be a way to get rid of it so I can use git again. (610827 by pieter12345)
4 months ago
master #3335- Tests passed: 641, ignored: 6
  • Cache native types to improve compile time. (ca1b93 by pseudoknight)
  • Further clarify get_entity_vehicle() docs (2bd9c6 by pseudoknight)
  • Fix cslice on strings being off by one (c8ddc4 by pseudoknight)
4 months ago
master #3334- Tests passed: 640, ignored: 6
  • Merge branch 'master' of me.github.com:EngineHub/CommandHelper (30211d by ladycailin)
  • Add utility classes (019dc1 by ladycailin)
4 months ago
master #3333- Tests passed: 639, ignored: 6
  • Fix test (b166c6 by pseudoknight)
4 months ago
master #3332- Tests failed: 1 (1 new), passed: 638, ignored: 6
  • Add clear_peffects() (964309 by pseudoknight)
  • Add clear_pinv() (d7960b by pseudoknight)
  • Fix Husk in spawn_mob() again (370f14 by pseudoknight)
4 months ago
master #3331- Tests passed: 639, ignored: 6
  • Pass FileOptions through the compiler and elsewhere properly Still need to implement the parsing in the lexer, but anyways, once that's done, it should go through the rest of the system just fine. (1259b7 by ladycailin)
4 months ago
master #3330- Tests passed: 639, ignored: 6
  • Create the shaded jar in addition to the non-shaded jar. This allows CH to be independently included by other projects. The biggest difference is that people now need to download the commandhelper-version-SNAPSHOT-full.jar instead of the non -full version. Cmdline users need to re-run install-cmdline to update the bash command, as the name of the jar is encoded in the script. (67dc91 by ladycailin)
4 months ago
master #3329- Tests passed: 639, ignored: 6
  • Merge pull request #475 from Pieter12345/compile_optimization (56c5c2 by ladycailin)
  • Unit tests + static cmd text fix. - Added unit tests for command ambiguity. - Changed "LITERAL" ConstructType check to "STRING" to support static strings and since I did not manage to find an example of something that compiled to a literal in the command descriptor (it becomes either a string or doesn't compile anyways). (732bae by pieter12345)
  • Syntax convention. (a15045 by pietje)
  • BugFix for ambigous command detection. Many commands were not detected as ambigous properly. Examples: - *:/cmd2 $arg AND *:/cmd2 $arg - *:/cmd11 $arg $arg2 AND *:/cmd11 $arg $arg2 [$arg3] - *:/cmd14 arg AND *:/cmd14 $arg - *:/cmd15 arg AND *:/cmd15 [$arg] This commit will cause ambigous commands to throw a compile exception as expected. The previous code caught an IndexOutOfBoundsException, which's fillInStacktrace() costed ~35% runtime spent in AliasCore.LocalPackage.consoleMSA(). This has been replaced with a size check to reduce runtime for MSA compiles by roughly this 35% (as tested with my scripts and setup on my server with 254 defined aliases). (ff404b by pieter12345)
4 months ago
master #3328- Tests passed: 638, ignored: 6
  • Merge branch 'master' of me.github.com:EngineHub/CommandHelper (81f185 by ladycailin)
  • Merge branch 'Lildirt-string_func_optimize' (2f3df3 by ladycailin)
  • Merge branch 'string_func_optimize' of https://github.com/Lildirt/CommandHelper into Lildirt-string_func_optimize (11e778 by ladycailin)
  • Added optimizations to string_starts_with, string_ends_with, and char_is_uppercase as well as example usage. (f7a23c by lildirt)
4 months ago
master #3327- Tests passed: 636, ignored: 6
  • Merge pull request #476 from Pieter12345/compile_optimization2 (78d771 by ladycailin)
  • Keyword compile optimization. Replaced an exception throw + catch with equivalent logic. On my server with my setup, this removes ~6.5% of the total script recompile time. (0e8018 by pieter12345)
4 months ago

Available as:  RSS feed JSON feed