Commit Graph

  • 7768d1c9cd feat: add Platform.isWindows static method to check for Windows OS Bob Nystrom 2016-05-21 19:53:21 +00:00
  • 67bf74777c feat: add Stdin.isTerminal method to detect TTY connection Bob Nystrom 2016-05-21 19:51:11 +00:00
  • 95ef1a2814 feat: rename process module to os and add Platform class with name and isPosix methods Bob Nystrom 2016-05-21 19:44:17 +00:00
  • c5e1c2e57f feat: add versioning infrastructure and bump to 0.1.0 Bob Nystrom 2016-05-21 17:53:05 +00:00
  • caee692c32 docs: rename WrenValue to WrenHandle across embedding docs and C API Bob Nystrom 2016-05-21 03:55:28 +00:00
  • aa6f105a53 fix: correct broken link to ranges introduction in Range class docs Sven Bergström 2016-05-21 02:54:41 +00:00
  • 995fc241e6 docs: fix iterator protocol link to use relative path from core/ module docs Sven Bergström 2016-05-21 02:51:47 +00:00
  • efa97cdccf feat: add Stdin.isRaw property to query and set terminal raw mode on stdin Bob Nystrom 2016-05-20 22:19:18 +00:00
  • 6394e1c486 feat: add Stdin.readByte() method for reading single byte from stdin Bob Nystrom 2016-05-20 18:50:14 +00:00
  • bdc8e1f409 docs: add subreddit link and wiki reference to contributing guide Bob Nystrom 2016-05-20 17:02:57 +00:00
  • e8d17172f4 docs: add comprehensive guide for calling Wren from C with wrenCall API Bob Nystrom 2016-05-19 23:01:54 +00:00
  • 44be247762 feat: add wrenGetSlotListSize and wrenGetSlotListValue API for list element access Damien Radtke 2016-05-19 18:26:01 +00:00
  • ad05bb2cde fix: apply white-space pre-wrap to pre blocks for Firefox line wrapping Bob Nystrom 2016-05-19 16:30:38 +00:00
  • 2bb999127a docs: restructure embedding API docs into multi-page section with slots, lifecycle, and C interop guides Bob Nystrom 2016-05-16 15:09:14 +00:00
  • 27f308a6ad fix: correct word order in error-handling documentation sentence Bob Nystrom 2016-05-04 20:29:59 +00:00
  • 4f931f7eb8 fix: correct word order in runtime error documentation sentence Rob Warner 2016-05-04 17:17:20 +00:00
  • d717f0f174 fix: count subscript parameters in wrenMakeCallHandle for bracket signatures Bob Nystrom 2016-05-04 13:29:44 +00:00
  • 1c08148cc8 fix: correct typo and clarify gc heapGrowthPercentage documentation in wren.h Bob Nystrom 2016-05-03 19:27:16 +00:00
  • 34b0ab4e6c fix: correct typo "intpolations" to "interpolations" in values documentation Bob Nystrom 2016-05-03 19:26:39 +00:00
  • ba9502f986 fix: correct spelling of "interpolations" in values documentation Rob Warner 2016-05-03 18:43:59 +00:00
  • 9413fd0167 fix: correct typo "collecto" to "collect" and reword gc heapGrowthPercentage doc Chris Sawczuk 2016-05-03 17:48:08 +00:00
  • 143aaaf519 fix: correct spelling of "executable" in src/README.md documentation Bob Nystrom 2016-05-03 17:19:10 +00:00
  • 3f701512e6 fix: correct spelling of "executable" in src/README.md documentation Andrew Murray 2016-05-03 14:16:02 +00:00
  • c608f094ab docs: fix grammatical inversion in getting-started doc Bob Nystrom 2016-05-03 04:54:42 +00:00
  • bd055a356b fix: correct argument order in list.insert example in method-calls docs Bob Nystrom 2016-05-02 23:23:56 +00:00
  • 07613f4eb0 style: align pointer asterisk to type name in MapEntry declarations across wren_value.c Bob Nystrom 2016-05-02 23:23:52 +00:00
  • 112bb5ca7c fix: correct C++ standardization year from 89 to 98 in embedding-api docs Bob Nystrom 2016-05-02 23:23:08 +00:00
  • 3504f07579 fix: correct grammatical inversion in getting-started doc Dan Chen 2016-05-01 22:09:11 +00:00
  • 9bfdb6acd8 fix: correct argument order in list.insert example in method-calls documentation Bob Nystrom 2016-04-15 14:13:54 +00:00
  • d7e7428b85 fix: correct argument order in list.insert example within method-calls documentation Ian Mackenzie 2016-04-15 05:16:24 +00:00
  • 06748ba454 test: add test verifying closures of same code are unequal Bob Nystrom 2016-03-26 21:22:38 +00:00
  • 19fc5e7534 feat: always wrap functions in closures to simplify VM and improve invocation performance Bob Nystrom 2016-03-26 21:00:17 +00:00
  • 82103a64f9 refactor: replace eager optional module loading with lazy source and foreign method hooks Bob Nystrom 2016-03-17 14:49:43 +00:00
  • 7e72462d90 feat: add WrenErrorType enum and route runtime errors through config errorFn callback Bob Nystrom 2016-03-17 14:17:03 +00:00
  • 63e462bb84 chore: remove unused stdarg.h, stdio.h, and stdlib.h includes from wren_compiler.c and wren_value.c Bob Nystrom 2016-03-17 14:04:09 +00:00
  • d9ec3627cf feat: add WrenErrorFn callback to WrenConfiguration for custom error reporting Bob Nystrom 2016-03-16 15:04:03 +00:00
  • f16e5c775f feat: report undefined variable errors on the line where they are used Bob Nystrom 2016-03-16 15:00:28 +00:00
  • 8fb291517d chore: add explanatory comments for Windows platform flag mappings and remove O_SYNC guard Bob Nystrom 2016-03-16 14:27:03 +00:00
  • 5ce4698605 feat: add Windows platform compatibility defines for file operations in io.c Bob Nystrom 2016-03-16 14:23:24 +00:00
  • f09b4f75d9 style: fix indentation and add comment for libuv library linking in wren.mk Bob Nystrom 2016-03-16 14:22:18 +00:00
  • 336cf4d1df fix: add Windows compatibility defines for file mode and sync flags in io.c RallyTronics 2016-03-15 20:52:09 +00:00
  • d15981644a fix: guard O_SYNC flag with ifdef and add mingw32 libuv link libs Yasuhiro Matsumoto 2016-03-08 13:05:39 +00:00
  • 5d42ce9ad6 refactor: extract duplicate method detection into declareMethod helper and rename instanceMethods buffer to methods Bob Nystrom 2016-03-15 14:15:55 +00:00
  • 1d546cf840 feat: prevent duplicate method definitions in class compilation Bob Nystrom 2016-03-15 13:54:49 +00:00
  • c33dc205c3 chore: remove unused DUP opcode from compiler, debug, opcodes, and VM interpreter Bob Nystrom 2016-03-14 05:11:21 +00:00
  • 7913424c1c feat: replace generic BufferFind with dedicated hasMethod for duplicate detection Stephen Belanger 2016-03-13 03:14:19 +00:00
  • b9b9611a8c fix: replace SymbolTable with IntBuffer for per-scope duplicate method detection Stephen Belanger 2016-02-28 20:53:34 +00:00
  • ed94957e91 feat: add duplicate method detection in class compiler with error reporting Stephen Belanger 2016-02-24 06:07:08 +00:00
  • c30ee8a297 refactor: consolidate compile error formatting into single printError helper Bob Nystrom 2016-03-12 05:30:54 +00:00
  • 51d1bb6b3a refactor: move shebang detection into default case and remove separate '#' branch Bob Nystrom 2016-03-12 01:23:31 +00:00
  • 78c4969cc4 feat: add Python 3 compatibility and formatted output to metrics script Bob Nystrom 2016-03-07 15:56:44 +00:00
  • d9f608fa3f fix: correct variable naming and constructor syntax in FAQ code examples Bob Nystrom 2016-03-07 15:41:00 +00:00
  • 0f18db0097 refactor: move compiler function state directly into ObjFn to eliminate copying on completion Bob Nystrom 2016-03-04 15:49:34 +00:00
  • 53f4cb15c9 fix: remove wrenSetCompiler and fix compiler root not being popped on error Bob Nystrom 2016-03-04 01:48:47 +00:00
  • d4df37703d refactor: replace manual error assignment with RETURN_ERROR and RETURN_ERROR_FMT macros across validation and fiber functions Bob Nystrom 2016-03-04 01:11:52 +00:00
  • db5223d14d feat: unify Fiber.try() error messages with call/transfer by adding verb parameter to runFiber Bob Nystrom 2016-03-04 01:00:33 +00:00
  • 1ef9b77842 refactor: rename allowAssignment to canAssign and simplify parsePrecedence signature in wren_compiler.c Bob Nystrom 2016-03-04 00:30:48 +00:00
  • b2469990c0 test: add test for creating a VM with null config and fix wrenNewVM to handle NULL config Bob Nystrom 2016-03-03 22:31:47 +00:00
  • 1fed0800d1 fix: add NULL config check and fallback to defaults in wrenNewVM MADGameStudio 2016-03-03 16:58:50 +00:00
  • 443749b55d fix: correct typo 'wrenUpwrapClosure' to 'wrenUnwrapClosure' across multiple files Bob Nystrom 2016-02-28 00:23:48 +00:00
  • 06dad18184 docs: fix grammar and formatting in Wren VM comments and code Bob Nystrom 2016-02-28 00:05:50 +00:00
  • bbafbfd50a feat: add File.realPath() to resolve symlinks and normalize paths Bob Nystrom 2016-02-27 23:53:02 +00:00
  • 7265935df4 fix: correct operator precedence table in syntax docs to match actual implementation Bob Nystrom 2016-02-27 18:14:09 +00:00
  • 030d8df612 chore: bump libuv version from v1.6.1 to v1.8.0 in util/libuv.py Bob Nystrom 2016-02-27 17:19:56 +00:00
  • 0fde331974 refactor: replace import opcodes with core method calls for module loading Bob Nystrom 2016-02-27 06:43:54 +00:00
  • aca69b34e6 refactor: merge block() into statement() and remove redundant curly-block parsing Bob Nystrom 2016-02-25 15:04:48 +00:00
  • b301e9f119 feat: implement eager * operator for String and List to repeat content by integer count Bob Nystrom 2016-02-24 15:48:03 +00:00
  • c9390c624b fix: add missing code block marker in list docs and simplify parens increment in compiler Bob Nystrom 2016-02-24 14:52:12 +00:00
  • 217763a51d fix: correct map doc to remove nonexistent iterate/iteratorValue and fix remove param formatting Bob Nystrom 2016-02-22 15:48:53 +00:00
  • 1973934fa2 feat: add Stat.isFile, Stat.isDirectory, File.exists, and Directory.exists methods Bob Nystrom 2016-02-21 20:23:33 +00:00
  • 7f744565fc feat: convert Stat from Wren class with list fields to foreign class with native C accessors Bob Nystrom 2016-02-21 19:34:10 +00:00
  • 42ba73b03b feat: add stat instance method to File class returning Stat object Bob Nystrom 2016-02-21 18:18:45 +00:00
  • e87cd41c32 fix: replace hardcoded OS-specific file flags with portable bitmask mapping in io.c and io.wren Bob Nystrom 2016-02-21 01:25:41 +00:00
  • d53f9fa477 fix: include stdio.h for printf usage under debug trace flags in wren_vm.c Bob Nystrom 2016-02-20 21:36:22 +00:00
  • 60fc3ff59c feat: add file create, delete, writeBytes and FileFlags class to IO module Bob Nystrom 2016-02-20 17:23:42 +00:00
  • 38f48fbce1 feat: add separate make targets for shared and static library builds Bob Nystrom 2016-02-19 15:22:10 +00:00
  • fe3997f825 feat: add wrenGetSlotType API to query low-level type of object in a slot Bob Nystrom 2016-02-19 15:18:00 +00:00
  • 5d04ed2aed fix: add overflow check for jump distance in patchJump and emit error on too much code Bob Nystrom 2016-02-19 14:57:38 +00:00
  • b1924d34d3 fix: skip skynet example in tests to prevent timeout on slow CI runners Bob Nystrom 2016-02-15 06:28:14 +00:00
  • f3c68323bd fix: increase test timeout from 2 to 5 seconds and add skynet fiber benchmark example Bob Nystrom 2016-02-15 06:21:50 +00:00
  • dff44de30b fix: add explicit constructor to Foo class and fix abs example syntax in docs Bob Nystrom 2016-02-15 06:18:53 +00:00
  • f33d85ca05 fix: correct two code samples in error-handling and num documentation Bob Nystrom 2016-02-12 18:35:40 +00:00
  • cdf3b64ab2 refactor: replace classSlot int with Variable struct in defineMethod and method Bob Nystrom 2016-02-12 15:43:44 +00:00
  • 6367195722 perf: replace strncmp with memcmp in variable declaration and resolution Bob Nystrom 2016-02-12 15:27:42 +00:00
  • 18bedf45e1 feat: introduce Variable struct to replace raw index and load instruction pair Bob Nystrom 2016-02-12 15:16:41 +00:00
  • daac291a06 fix: add missing constructor to Foo class in error-handling doc sample Mathieu Gagnon 2016-02-11 23:06:51 +00:00
  • 0e138c8b0a fix: correct abs code sample in num docs to show proper precedence with parentheses Mathieu Gagnon 2016-02-11 22:58:09 +00:00
  • c1bbd74416 docs: simplify wrenInterpret example by removing source path parameter Bob Nystrom 2016-02-09 15:24:55 +00:00
  • 19d7215412 feat: add sample(list) and sample(list, count) methods to Random class with two sampling algorithms Bob Nystrom 2016-02-09 15:24:45 +00:00
  • edf3717eb0 docs: remove source path parameter from wrenInterpret example in embedding-api docs Bob Nystrom 2016-02-09 01:43:05 +00:00
  • e9bde95f74 docs: simplify wrenInterpret example by removing source path parameter Mathieu Gagnon 2016-02-08 13:34:56 +00:00
  • 813594b14c feat: add Random.shuffle() method using Fisher-Yates algorithm Bob Nystrom 2016-02-07 18:38:39 +00:00
  • f1babe5ad4 feat: move File.stat to Stat.path and update all references across docs, source, and tests Bob Nystrom 2016-02-07 17:56:16 +00:00
  • c1d21ee099 docs: remove community page and redirect content to contributing page with wiki references Bob Nystrom 2016-01-24 23:39:35 +00:00
  • 87334da1df feat: replace wrenAllocateForeign with wrenSetSlotNewForeign supporting arbitrary slot and class selection Bob Nystrom 2016-01-24 17:25:04 +00:00
  • 885570f0b6 feat: add process module with arguments and allArguments static methods Bob Nystrom 2016-01-22 15:57:26 +00:00
  • d8fef617ec fix: remove -fwhole-program flag from wren binary link step Bob Nystrom 2016-01-22 15:01:56 +00:00
  • 6b153f2a33 chore: update copyright year range in LICENSE from 2013-2015 to 2013-2016 Bob Nystrom 2016-01-22 14:42:16 +00:00
  • 98efeb301d fix: disable -flto flag in wren.mk to avoid LLVM gold linker plugin error on clang builds Bob Nystrom 2016-01-22 14:42:01 +00:00
  • 58c7c735ed docs: add System.print calls to list examples, reword map docs, update method-calls and performance benchmarks Bob Nystrom 2016-01-22 05:38:27 +00:00