- 14 Feb, 2017 1 commit
-
-
Leon Arnott authored
-
- 17 Jan, 2017 1 commit
-
-
Leon Arnott authored
-
- 26 Nov, 2016 1 commit
-
-
Leon Arnott authored
This makes it compatible with a copy of Harlowe 2.0.0 in the same TwineJS program.
-
- 02 Nov, 2016 1 commit
-
-
Leon Arnott authored
This eliminates one instance of the non-character U+FFFE appearing in the output, which caused some servers to error. Also brought down d628d45dd90e's change from the 2.0.0 branch.
-
- 07 Aug, 2016 1 commit
-
-
Leon Arnott authored
-
- 02 Aug, 2016 1 commit
-
-
Leon Arnott authored
Also specified that 1.2.3 requires jQuery 2.x.
-
- 14 Jul, 2016 1 commit
-
-
Leon Arnott authored
* Also wrapped it in the mathFilter function to filter out NaNs. * Also fixed a small documentation mistake.
-
- 08 Jun, 2016 1 commit
-
-
Leon Arnott authored
Also updated uglifyjs's options for extra compression.
-
- 18 Mar, 2016 1 commit
-
-
Leon Arnott authored
Also: * Fixed a bug where changer commands couldn't be added together more than once without the possibility of some of the added commands being lost. * Raised the version number to 1.2.3.
-
- 04 Mar, 2016 1 commit
-
-
Leon Arnott authored
Now, the 'outline' style should use the dominant background colour as its text colour, instead of transparent. (Obviously this effect won't be perfect if a background image is used, but such is the limitations of this CSS technique.)
-
- 16 Feb, 2016 1 commit
-
-
Leon Arnott authored
Previously, you had to create these directories manually.
-
- 15 Feb, 2016 1 commit
-
-
Leon Arnott authored
-
- 01 Feb, 2016 1 commit
-
-
Leon Arnott authored
I wonder if this kind of non-falsy type-check should be part of Macros's type-signature menagerie.
-
- 30 Jan, 2016 1 commit
-
-
Leon Arnott authored
* Fixed a bug where nested hooks 2 or more deep didn't have the correct background colour. * Now, placing the cursor on a syntactic token (such as a variable, or an entire hook) will underline the full expanse of that token. This provides a means to, for instance, match brackets/closers of hooks or macros. * Also, placing the cursor on a $variable will highlight all other occurrences of that variable in the text, showing immediate uses of that variable and potentially assisting in catching typos. * Placing the cursor on a ?hookRef will highlight other same-named hookrefs, and highlight the tags of hooks which it refers to. * Nested macros' backgrounds now have cumulative background colours, like hooks do. * Added syntax styling for ^^sup^^ markup.
-
- 09 Dec, 2015 1 commit
-
-
Leon Arnott authored
Fixed a bug where a string containing an unmatched ")" inside a macro would abruptly terminate the macro. Also added a test to confirm this.
-
- 03 Dec, 2015 1 commit
-
-
Leon Arnott authored
This fixes #13.
-
- 02 Dec, 2015 2 commits
-
-
Leon Arnott authored
Fixed a long-standing bug where spreading datasets did not, in fact, arrange their values in sort order, but instead in parameter order.
-
Leon Arnott authored
This fixes #12. Also: * The test HTML file has been updated to allow testing of both the raw ES6 source, the compiled harlowe-min.js, file and the concatenated format.js file. * Updated the license expression in the package.json file.
-
- 29 Nov, 2015 1 commit
-
-
Leon Arnott authored
Also updated the README to note the recent fixes.
-
- 28 Nov, 2015 1 commit
-
-
Leon Arnott authored
Also updated the (move:) tests to confirm this change.
-
- 25 Nov, 2015 1 commit
-
-
Leon Arnott authored
Also changed the Twine 1 macro error message to be more accurate.
-
- 24 Nov, 2015 1 commit
-
-
Leon Arnott authored
Also updated the version number to 1.2.2.
-
- 21 Nov, 2015 2 commits
-
-
Leon Arnott authored
-
Leon Arnott authored
-
- 19 Nov, 2015 3 commits
-
-
Leon Arnott authored
-
Leon Arnott authored
-
Leon Arnott authored
Also fixed the tests which didn't check for this necessary behaviour.
-
- 17 Nov, 2015 1 commit
-
-
Leon Arnott authored
Also fixed some issues with the package.json file.
-
- 15 Nov, 2015 1 commit
-
-
Leon Arnott authored
-
- 08 Nov, 2015 1 commit
-
-
Leon Arnott authored
This was formerly removed in 6f68c369ce69, because the change in 4022efc59d4c that made (set:) return a special object instead of a string can be leveraged to supply the debug notification without passing it directly to userland code. This is fortunate indeed. * Updated the README to list version 1.2 details, and changed the version numbers. * Removed the still-in-development (enchant:) macro for now.
-
- 07 Nov, 2015 2 commits
-
-
Leon Arnott authored
Since I've decided to release a 1.1.2 version in place of 2.0.0 for now, this sadly must once again be included.
-
Leon Arnott authored
This prevented these links from being navigated to using the keyboard.
-
- 20 Aug, 2015 1 commit
-
-
Leon Arnott authored
This checks that modifications to data structures do not cause past turns' variables to be altered.
-
- 19 Aug, 2015 1 commit
-
-
Leon Arnott authored
Also added some tests confirming the efficacy of (move:) with data structures' elements.
-
- 17 Aug, 2015 1 commit
-
-
Leon Arnott authored
This toolshift should result in better running times for basic tasks, and a somewhat cleaner build script. Also, as a consequence, proper jshintrc files have been created in each codebase (the Harlowe source, and the test specs). However, due to the loss of grunt-contrib-jshint, a custom jshint reporter adapted from it must be included to retain its desirable reporting messages.
-
- 13 Aug, 2015 1 commit
-
-
Leon Arnott authored
Now, the (move:) macro should again correctly delete the value from the source after copying it to the destination. Also, new semantics for deleting a hook reference have been implemented: (move: ?a to $a) will, after copying, replace ?a's content with the empty string. Tests for the above have also been added.
-
- 08 Aug, 2015 1 commit
-
-
Leon Arnott authored
* Now, authors can supply an array of property names to the "'s" and "of" property syntax to obtain a "slice" of the container. For instance, "(a: 'A','B','C')'s (a: 1,2)" will evaluate to a subarray of the first array, containing just 'A' and 'B'. * As well as creating subarrays, you can also get a slice of the values in a datamap - in effect, a subarray of the datamap's datavalues. You can do "(datamap:'Hat','Beret','Shoe','Clog','Sock','Long')'s (a: 'Hat','Sock')" to obtain an array "(a: 'Beret','Long')". * Additionally, you can obtain characters from a string - "abcde"'s (a: 2,4) becomes the string "bd". Note that for convenience, slices of strings are also strings, not arrays of characters. * Combined this with the (range:) macro, this essentially obsoletes the (subarray:) and (substring:) macros. However, those will remain for compatibility reasons for now. * Also added several more tests related to this and property indexing in general.
-
- 28 Jul, 2015 1 commit
-
-
Leon Arnott authored
Also added a single test for a specific debug mode feature.
-
- 27 Jul, 2015 1 commit
-
-
Leon Arnott authored
This change, a TODO for awhile, provides the following benefits: 1) authors are warned when their (if:) isn't attached to a hook, 2) it allows (if:) to be composed with other changers, such as (text-style:). However, there is, I admit, a potential problem: On creating a composed changer using, say, (if: $poweredUp), changing the value of $poweredUp won't change the value of the composed changer. This can be seen as functional side-effect hygeine, but it may be puzzling to authors. Also fixed the <audio> tests to work on browsers which lack Ogg support.
-
- 26 Jul, 2015 1 commit
-
-
Leon Arnott authored
* Fixed a bug where (align:) commands didn't have structural equality with each other - (align:"==>") didn't equal another (align:"==>"). * Added structural equality tests for several other changer command macros. * Now, (set:) and (put:) commands, as well as AssignmentRequests, are no longer accepted by macros that have an Any type-signature. Only passage prose (for the former) and (set:)/(put:) (for the latter) is a valid place for them. * Now, setting a markup string to a ?hookSet will cause that markup to be rendered in the hookset, instead of being used as raw text. Also, it is now an error to set a ?hookSet to a non-string.
-