84a14cde08
chore: add Sven Bergström to AUTHORS file for project contributions
underscorediscovery2016-10-31 19:51:55 +00:00
cb0dcaefc3
fix: correct GC next threshold calculation to prevent infinite GC on 32-bit builds
Will Speak2016-10-09 16:59:58 +00:00
2d578e0051
feat: add multi-arch CI matrix with nan-tagging toggle and 32-bit test suite
Will Speak2016-10-09 08:18:27 +00:00
ca3cbf9a88
fix: correct GC next threshold calculation to prevent infinite collections on 32-bit builds
Will Speak2016-10-09 16:59:58 +00:00
6e8a798959
fix: reset API stack to NULL when fiber is aborted in wrenCall to prevent broken state on reuse
Bob Nystrom2016-11-01 15:40:16 +00:00
77f7f759ff
fix: free libuv request data before resuming fiber on error in handleRequestError
Bob Nystrom2016-11-01 15:39:30 +00:00
d50275eae0
fix: correct variable reference in chained assignment test assertion
Bob Nystrom2016-10-08 17:51:19 +00:00
8d3a7eabb9
fix: reset apiStack to NULL after foreign constructor returns to prevent broken state on subsequent wrenCall
Bob Nystrom2016-08-28 15:23:27 +00:00
a82c4d7263
fix: parenthesize macro parameter in BOOL_VAL to prevent operator precedence bugs
Bob Nystrom2016-08-28 04:44:39 +00:00
17777ef0ce
feat: add --version flag to CLI main entry point printing WREN_VERSION_STRING
Bob Nystrom2016-08-28 00:38:14 +00:00
c29f3e694f
fix: replace DBL_EPSILON with DBL_MIN for Num.smallest in wren_core.c
Bob Nystrom2016-08-28 00:25:32 +00:00
5f6e06e1b5
feat: add Num.largest and Num.smallest static properties for float limits
Bob Nystrom2016-08-28 00:18:21 +00:00
879eac5d82
docs: reword embedding docs for clarity and consistency across slot, handle, and C-calling-Wren pages
Bob Nystrom2016-08-26 14:11:50 +00:00
53b1120f90
fix: add const qualifier to SymbolTable parameter in wrenSymbolTableFind
Bob Nystrom2016-08-16 14:43:54 +00:00
409873c382
perf: replace O(n) linear scan with O(1) map lookup for constant deduplication in compiler
Bob Nystrom2016-08-16 14:43:34 +00:00
3ff11eb9f3
feat: deduplicate constants in addConstant to reuse existing values
Bob Nystrom2016-08-16 14:24:04 +00:00
4050e7128b
docs: rename Num.highest to Num.largest and Num.lowest to Num.smallest in core module docs
Johann Muszynski2016-08-04 18:17:45 +00:00
f2077844b3
feat: rename Num highest/lowest/epsilon to largest/smallest and update primitives
Johann Muszynski2016-08-04 18:15:55 +00:00
5703a8dfa2
docs: add List.filled and List.new constructors to core module docs
Bob Nystrom2016-08-04 13:28:41 +00:00
bfb109473e
feat: remove List.new(_) constructor and consolidate into List.filled(_,_)
Bob Nystrom2016-08-04 05:42:31 +00:00
85ab5d2aec
feat: add List.new(_) and List.filled(_,_) constructors with size and default value
Bob Nystrom2016-08-04 05:34:08 +00:00
59a6fc1bcc
feat: add negative start support and validate index in String.indexOf(_,_)
Bob Nystrom2016-08-04 05:19:34 +00:00
48b69a7c43
feat: add startIndex parameter to string indexOf and update internal find function
Bob Nystrom2016-08-04 04:51:46 +00:00
0e4503726e
fix: correct bytecode offset calculation in debug dump macro
Bob Nystrom2016-08-04 04:45:09 +00:00
5f8794fdc2
refactor: rename list C API functions and remove Slot suffix for consistency
Bob Nystrom2016-07-28 15:06:36 +00:00
21a0eef834
feat: add wrenGetSlotListSize and wrenGetSlotListValue API functions for list introspection
Bob Nystrom2016-07-28 14:53:19 +00:00
02c2981d36
feat: rename List.new(_,_) to List.filled(_,_) for clarity
root2016-07-17 02:24:19 +00:00
89037e397a
feat: add list constructors with size and default value arguments
root2016-07-17 02:01:50 +00:00
0b1a3cc3e5
feat: add string indexOf with startIndex parameter and update wrenStringFind signature
underscorediscovery2016-07-14 03:53:01 +00:00
c563d7d8ee
fix: update bytecode offset calculation to use code.data field
minirop2016-07-12 20:59:02 +00:00
a53a86f469
docs: document Num.highest, Num.lowest, and Num.epsilon properties in core num module
Johann Muszynski2016-07-10 20:26:23 +00:00
38b7ad62ad
feat: add highest, lowest, and epsilon static properties to Num class using DBL_MAX and DBL_EPSILON
Johann Muszynski2016-07-06 17:08:00 +00:00
4d1215697e
feat: add MapEntry class and make Map a Sequence for direct iteration
Bob Nystrom2016-07-06 14:17:07 +00:00
a05f50ee24
feat: add VERBOSE=1 support to suppress @ prefix in Makefile targets
Bob Nystrom2016-07-06 13:51:12 +00:00
ff9764bc4d
fix: return false instead of NULL in findEntry for empty map capacity check
Bob Nystrom2016-07-06 13:46:35 +00:00
c2da44aa62
fix: return false instead of NULL in findEntry for zero-capacity map lookup
Paul2016-07-02 11:40:00 +00:00
cf53736a97
feat: add conditional VERBOSE variable to Makefiles for suppressing @ prefix
Baptiste Fontaine2016-07-02 09:17:14 +00:00
d955842cf9
perf: add hashBits mixing function to fix integer hash collisions in map
Bob Nystrom2016-06-27 15:13:45 +00:00
adad9f4b26
fix: prevent duplicate keys by reusing tombstones in map probe sequence
Bob Nystrom2016-06-27 14:14:52 +00:00
a44b210191
fix: allow optional module loading when host omits loadModuleFn
Bob Nystrom2016-06-27 14:08:08 +00:00
b7de67aa20
fix: move tty reset inside stdin stream guard to avoid resetting when stream not owned
Bob Nystrom2016-05-27 14:01:10 +00:00
72a0d8cf51
fix: reset TTY mode before closing stdin stream in shutdownStdin
Bob Nystrom2016-05-27 13:59:43 +00:00
15eb651d1f
refactor: extract character handling into separate method and add ANSI fallback support
Bob Nystrom2016-05-24 02:59:01 +00:00
69498a4893
feat: add tab-completion in REPL and Meta.getModuleVariables API
Bob Nystrom2016-05-22 22:32:17 +00:00
38462ba4ed
feat: add ctrl-b/f/k/l/u/n/p shortcuts to repl line editor
Bob Nystrom2016-05-21 17:33:36 +00:00
5207686395
feat: add command history with up/down arrow navigation to REPL
Bob Nystrom2016-05-21 17:05:28 +00:00
c726845c42
feat: implement expression evaluation and statement detection in REPL with Meta.compileExpression
Bob Nystrom2016-05-21 06:03:05 +00:00
33c211f7c2
feat: implement interactive REPL with line editing and syntax highlighting in Wren
Bob Nystrom2016-05-21 03:30:09 +00:00
1de17224e8
feat: add wrenAbortFiber() API to abort current fiber with runtime error object
Bob Nystrom2016-06-10 02:14:21 +00:00
78fa150869
fix: correct broken range documentation link to point to values section
Bob Nystrom2016-05-27 14:23:41 +00:00
b845ff49c9
docs: fix relative link to iterator protocol in string.markdown
Bob Nystrom2016-05-27 14:23:07 +00:00