Commit Graph

  • 3274b6f0b6 fix: document Fiber.abort null behavior and add Fiber.try/error docs aaronduino 2017-09-17 04:38:35 +00:00
  • de5802b6ad chore: remove obsolete comment block about foreign method return behavior in wren.h Brian Slesinsky 2017-05-29 19:02:50 +00:00
  • c332ca35fd fix: remove duplicate floating_point.wren test file that was identical to integer range tests Bob Nystrom 2017-04-08 19:53:33 +00:00
  • 3f148df007 chore: remove msvc2013 projects and add vs2017 solution with x64 support Bob Nystrom 2017-04-08 19:48:47 +00:00
  • c749d3a9a2 fix: correct grammar in module loader documentation sentence Bob Nystrom 2017-04-08 19:40:31 +00:00
  • 1f4c0975d0 fix: free dynamically allocated module source strings after compilation Bob Nystrom 2017-04-08 19:38:36 +00:00
  • 29b512c812 fix: correct grammar in module loader documentation sentence Nathan Hourt 2017-04-04 20:23:16 +00:00
  • 560053aa0d fix: correct typos in documentation for foreign method binding and bitwise or description Bob Nystrom 2017-04-04 14:07:57 +00:00
  • 3b448427fb fix: propagate error through nested fiber callers in try blocks Andew Jones 2017-03-31 01:57:29 +00:00
  • 811b1afc89 fix: correct typo "askes" to "asks" in calling-c-from-wren documentation Nathan Hourt 2017-03-31 01:20:02 +00:00
  • 67ca0e04f6 fix: correct bitwise or documentation to describe or instead of and behavior Nathan Hourt 2017-03-30 22:45:12 +00:00
  • 6d0b9e62d5 chore: remove entire util/msvc2013 directory with VS 2013 solution and project files Johann Muszynski 2017-03-28 19:02:13 +00:00
  • 6ddc5c49f0 feat: add Visual Studio 2017 solution and project files for Windows builds Johann Muszynski 2017-03-28 18:45:29 +00:00
  • 5803c8bb58 feat: add wren.hpp convenience header for C++ users linking to C Wren library Bob Nystrom 2017-03-25 17:05:33 +00:00
  • 479bf3b1a8 docs: add Blondie instance construction example to functions documentation Bob Nystrom 2017-03-24 04:22:07 +00:00
  • 184126372c fix: set token type to TOKEN_ERROR after invalid character to prevent compiler loop Bob Nystrom 2017-03-24 04:19:20 +00:00
  • 9b0d2aefb6 feat: add user_data API test and reorder WrenErrorFn vm parameter to first position Bob Nystrom 2017-03-22 14:26:19 +00:00
  • 6c756c0c67 feat: add userData field and pass WrenVM* to error callback Bob Nystrom 2017-03-22 14:12:26 +00:00
  • dad494093e feat: add validation to skip/take and rename split parameter for clarity Bob Nystrom 2017-03-15 14:22:44 +00:00
  • 38b92435bf feat: add lazy skip and take methods to Sequence with SkipSequence and TakeSequence classes Bob Nystrom 2017-03-15 14:15:00 +00:00
  • 10928fb5de chore: replace C++-style comments with C-style in callForeign function Bob Nystrom 2017-03-15 14:10:23 +00:00
  • cb2f45487b fix: restore apiStack after foreign method calls instead of setting to NULL Bob Nystrom 2017-03-15 14:09:31 +00:00
  • 996ba2b2cd fix: correct typo "seperator" to "separator" in string.markdown docs Bob Nystrom 2017-03-15 14:06:07 +00:00
  • f96d2e3b8b feat: add split and replace methods to String class with tests and docs Bob Nystrom 2017-03-15 14:04:56 +00:00
  • 6fa769beeb feat: add split and replace methods to String class with tests and docs Andew Jones 2017-03-08 02:12:03 +00:00
  • 414df30cdc test: add wrenSetSlotNull call and verify slot type in setSlots test Bob Nystrom 2017-03-03 15:57:50 +00:00
  • 8e926f12d8 docs: document libm linking requirement for Wren on BSD/Linux platforms Bob Nystrom 2017-03-02 15:17:03 +00:00
  • 4f9034fc8e docs: proofread configuring-the-vm guide for clarity and consistency Bob Nystrom 2017-02-12 22:58:16 +00:00
  • ecf3b7081b docs: replace placeholder TODO with full VM configuration documentation and fix typo in wren.h Bob Nystrom 2017-02-12 19:04:38 +00:00
  • 63f46adf06 docs: revise embedding docs with foreign methods and tighten existing pages Bob Nystrom 2017-02-12 18:14:37 +00:00
  • bbc8f9c0d2 fix: add missing WrenVM* parameter to reportError signature in vm.c scott 2017-01-20 03:58:52 +00:00
  • b2b187ab07 feat: add user-defined state data pointer and accessors to WrenVM scott 2017-01-20 03:54:25 +00:00
  • 651dd48128 fix: restore apiStack to saved value instead of NULL in callForeign and createForeign Daniel Larimer 2016-10-26 17:45:35 +00:00
  • 4555a47465 feat: add lazy Sequence.skip and Sequence.take methods with SkipSequence and TakeSequence classes Thorbjørn Lindeijer 2015-04-06 15:54:04 +00:00
  • 65d4481fae docs: add documentation for Num.log and Num.pow() methods in core module Bob Nystrom 2017-01-20 15:24:46 +00:00
  • be7682a656 feat: add log and pow methods to Num class with tests Bob Nystrom 2017-01-20 15:20:55 +00:00
  • 08a868ce3f fix: remove negative number bitwise not tests relying on undefined C behavior Bob Nystrom 2017-01-13 06:17:33 +00:00
  • b73b5e562a docs: add comment clarifying ci targets are used by Travis CI in Makefile Bob Nystrom 2017-01-13 05:55:35 +00:00
  • 1b635d029a fix: replace strtol with strtoll for 64-bit hex literal parsing on 32-bit platforms Bob Nystrom 2017-01-13 05:53:21 +00:00
  • cd6b97d341 chore: remove debug prints and add app path to test status line Bob Nystrom 2017-01-13 05:38:06 +00:00
  • 2620b34c8e fix: replace fpclassify with isnan/isinf for C++98 compatibility in wrenNumToString Bob Nystrom 2017-01-13 05:34:11 +00:00
  • 54bc22efc0 fix: replace decimal u32 overflow test values with hex literals and remove undefined-behavior tests Bob Nystrom 2017-01-13 05:32:50 +00:00
  • e9c337e2a5 feat: add multi-arch CI matrix with osx/linux, nan-tagging toggle, and 32/64-bit test targets Bob Nystrom 2017-01-13 04:19:52 +00:00
  • 8fa482c9ca fix: correct nextGC calculation to use additive heap growth instead of multiplicative Bob Nystrom 2017-01-13 02:53:14 +00:00
  • 054fbd2f6c docs: clarify single-expression block restrictions and statement workaround Bob Nystrom 2017-01-12 19:05:03 +00:00
  • 2294046b74 docs: improve clarity and flow in embedding documentation Bob Nystrom 2017-01-12 15:11:01 +00:00
  • 25b1afcd2b docs: expand calling-c-from-wren with foreign method/class details and fix typo in slots-and-handles Bob Nystrom 2017-01-12 15:10:19 +00:00
  • a86e8158e4 feat: add natural logarithm method to Num class with C binding and test underscorediscovery 2016-10-31 19:52:32 +00:00
  • 8b9f99663b feat: add pow(_) primitive to Num class for exponentiation underscorediscovery 2016-10-31 19:52:13 +00:00
  • 84a14cde08 chore: add Sven Bergström to AUTHORS file for project contributions underscorediscovery 2016-10-31 19:51:55 +00:00
  • cb0dcaefc3 fix: correct GC next threshold calculation to prevent infinite GC on 32-bit builds Will Speak 2016-10-09 16:59:58 +00:00
  • 2d578e0051 feat: add multi-arch CI matrix with nan-tagging toggle and 32-bit test suite Will Speak 2016-10-09 08:18:27 +00:00
  • ca3cbf9a88 fix: correct GC next threshold calculation to prevent infinite collections on 32-bit builds Will Speak 2016-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 Nystrom 2016-11-01 15:40:16 +00:00
  • 77f7f759ff fix: free libuv request data before resuming fiber on error in handleRequestError Bob Nystrom 2016-11-01 15:39:30 +00:00
  • d50275eae0 fix: correct variable reference in chained assignment test assertion Bob Nystrom 2016-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 Nystrom 2016-08-28 15:23:27 +00:00
  • a82c4d7263 fix: parenthesize macro parameter in BOOL_VAL to prevent operator precedence bugs Bob Nystrom 2016-08-28 04:44:39 +00:00
  • 17777ef0ce feat: add --version flag to CLI main entry point printing WREN_VERSION_STRING Bob Nystrom 2016-08-28 00:38:14 +00:00
  • c29f3e694f fix: replace DBL_EPSILON with DBL_MIN for Num.smallest in wren_core.c Bob Nystrom 2016-08-28 00:25:32 +00:00
  • 5f6e06e1b5 feat: add Num.largest and Num.smallest static properties for float limits Bob Nystrom 2016-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 Nystrom 2016-08-26 14:11:50 +00:00
  • 53b1120f90 fix: add const qualifier to SymbolTable parameter in wrenSymbolTableFind Bob Nystrom 2016-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 Nystrom 2016-08-16 14:43:34 +00:00
  • 3ff11eb9f3 feat: deduplicate constants in addConstant to reuse existing values Bob Nystrom 2016-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 Muszynski 2016-08-04 18:17:45 +00:00
  • f2077844b3 feat: rename Num highest/lowest/epsilon to largest/smallest and update primitives Johann Muszynski 2016-08-04 18:15:55 +00:00
  • 5703a8dfa2 docs: add List.filled and List.new constructors to core module docs Bob Nystrom 2016-08-04 13:28:41 +00:00
  • bfb109473e feat: remove List.new(_) constructor and consolidate into List.filled(_,_) Bob Nystrom 2016-08-04 05:42:31 +00:00
  • 85ab5d2aec feat: add List.new(_) and List.filled(_,_) constructors with size and default value Bob Nystrom 2016-08-04 05:34:08 +00:00
  • 59a6fc1bcc feat: add negative start support and validate index in String.indexOf(_,_) Bob Nystrom 2016-08-04 05:19:34 +00:00
  • 48b69a7c43 feat: add startIndex parameter to string indexOf and update internal find function Bob Nystrom 2016-08-04 04:51:46 +00:00
  • 0e4503726e fix: correct bytecode offset calculation in debug dump macro Bob Nystrom 2016-08-04 04:45:09 +00:00
  • 5f8794fdc2 refactor: rename list C API functions and remove Slot suffix for consistency Bob Nystrom 2016-07-28 15:06:36 +00:00
  • 21a0eef834 feat: add wrenGetSlotListSize and wrenGetSlotListValue API functions for list introspection Bob Nystrom 2016-07-28 14:53:19 +00:00
  • 02c2981d36 feat: rename List.new(_,_) to List.filled(_,_) for clarity root 2016-07-17 02:24:19 +00:00
  • 89037e397a feat: add list constructors with size and default value arguments root 2016-07-17 02:01:50 +00:00
  • 0b1a3cc3e5 feat: add string indexOf with startIndex parameter and update wrenStringFind signature underscorediscovery 2016-07-14 03:53:01 +00:00
  • c563d7d8ee fix: update bytecode offset calculation to use code.data field minirop 2016-07-12 20:59:02 +00:00
  • a53a86f469 docs: document Num.highest, Num.lowest, and Num.epsilon properties in core num module Johann Muszynski 2016-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 Muszynski 2016-07-06 17:08:00 +00:00
  • 4d1215697e feat: add MapEntry class and make Map a Sequence for direct iteration Bob Nystrom 2016-07-06 14:17:07 +00:00
  • a05f50ee24 feat: add VERBOSE=1 support to suppress @ prefix in Makefile targets Bob Nystrom 2016-07-06 13:51:12 +00:00
  • ff9764bc4d fix: return false instead of NULL in findEntry for empty map capacity check Bob Nystrom 2016-07-06 13:46:35 +00:00
  • c2da44aa62 fix: return false instead of NULL in findEntry for zero-capacity map lookup Paul 2016-07-02 11:40:00 +00:00
  • cf53736a97 feat: add conditional VERBOSE variable to Makefiles for suppressing @ prefix Baptiste Fontaine 2016-07-02 09:17:14 +00:00
  • d955842cf9 perf: add hashBits mixing function to fix integer hash collisions in map Bob Nystrom 2016-06-27 15:13:45 +00:00
  • adad9f4b26 fix: prevent duplicate keys by reusing tombstones in map probe sequence Bob Nystrom 2016-06-27 14:14:52 +00:00
  • a44b210191 fix: allow optional module loading when host omits loadModuleFn Bob Nystrom 2016-06-27 14:08:08 +00:00
  • b7de67aa20 fix: move tty reset inside stdin stream guard to avoid resetting when stream not owned Bob Nystrom 2016-05-27 14:01:10 +00:00
  • 72a0d8cf51 fix: reset TTY mode before closing stdin stream in shutdownStdin Bob Nystrom 2016-05-27 13:59:43 +00:00
  • 15eb651d1f refactor: extract character handling into separate method and add ANSI fallback support Bob Nystrom 2016-05-24 02:59:01 +00:00
  • 69498a4893 feat: add tab-completion in REPL and Meta.getModuleVariables API Bob Nystrom 2016-05-22 22:32:17 +00:00
  • 38462ba4ed feat: add ctrl-b/f/k/l/u/n/p shortcuts to repl line editor Bob Nystrom 2016-05-21 17:33:36 +00:00
  • 5207686395 feat: add command history with up/down arrow navigation to REPL Bob Nystrom 2016-05-21 17:05:28 +00:00
  • c726845c42 feat: implement expression evaluation and statement detection in REPL with Meta.compileExpression Bob Nystrom 2016-05-21 06:03:05 +00:00
  • 33c211f7c2 feat: implement interactive REPL with line editing and syntax highlighting in Wren Bob Nystrom 2016-05-21 03:30:09 +00:00
  • 1de17224e8 feat: add wrenAbortFiber() API to abort current fiber with runtime error object Bob Nystrom 2016-06-10 02:14:21 +00:00
  • 78fa150869 fix: correct broken range documentation link to point to values section Bob Nystrom 2016-05-27 14:23:41 +00:00
  • b845ff49c9 docs: fix relative link to iterator protocol in string.markdown Bob Nystrom 2016-05-27 14:23:07 +00:00