Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix overload resolution for pragmas evaluation (#8902) | LemonBoy | 2018-10-09 | 8 | -33/+66 |
| | | | | Fixes #6448 Fixes #4384 | ||||
* | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 10 | -44/+224 |
| | | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend | ||||
* | Try/Catch support for native JS exceptions (#8955) | LemonBoy | 2018-10-09 | 4 | -8/+77 |
| | | | | | | * Try/Catch support for native JS exceptions * Better tests | ||||
* | Fix transformation of yield in inline context (#9135) | LemonBoy | 2018-10-09 | 2 | -15/+63 |
| | | | | | | When the loop variables are part of the envP block it is not safe to use a nkFastAsgn. Fixes #2656 | ||||
* | Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183) | Dominik Picheta | 2018-10-09 | 2 | -2/+24 |
| | | | | | | * Fixes #8994. FutureStream read procedure data loss no longer occurs. * Optimises the fix for #8994. | ||||
* | fix for #9082 (#9089) | Arne Döring | 2018-10-09 | 1 | -14/+16 |
| | |||||
* | Fixes #8841 (#9101) | Yasuhiro Horimoto | 2018-10-09 | 1 | -2/+2 |
| | | | Modify comments for readChar and peekChar to the same as the comment for them in the source code. | ||||
* | fix #8341: add lastPathPart (#9116) | Timothee Cour | 2018-10-09 | 2 | -49/+88 |
| | |||||
* | Make the registered passes local to the ModuleGraph (#9259) | LemonBoy | 2018-10-09 | 12 | -64/+60 |
| | | | Closes #9068 | ||||
* | Fixes some minor typos in nimsuggest.rst (#9223) | technicallyagd | 2018-10-09 | 1 | -3/+3 |
| | | | | | | * Fix Minor typo in nimsuggest.rst * Fixes two more typo in nimsuggest.rst | ||||
* | asyncmacro: add nnkSym support for getName() (#9204) | alaviss | 2018-10-09 | 2 | -1/+15 |
| | | | Fixes #9201 | ||||
* | Fix range type construction in the VM (#9205) | LemonBoy | 2018-10-09 | 2 | -2/+29 |
| | | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194 | ||||
* | os: use unlink() to remove file (#9220) | alaviss | 2018-10-09 | 2 | -3/+10 |
| | | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200 | ||||
* | Fix typo in an algorithm runnableExamples (#9260) | Kaushal Modi | 2018-10-09 | 1 | -1/+1 |
| | | | | | | Fixes the 'koch docs' build failure. Ref: https://github.com/nim-lang/Nim/commit/b90b45b01bba1f3fc241a96abd4ae5c8c314bb92 | ||||
* | fixes #9222 (#9224) | cooldome | 2018-10-09 | 3 | -1/+32 |
| | |||||
* | [os] clarify docs for existsDir (#9212) | Timothee Cour | 2018-10-09 | 1 | -1/+1 |
| | | | | | | * Update os.nim * Update os.nim | ||||
* | nim doc can run code blocks (#9228) | LemonBoy | 2018-10-09 | 1 | -24/+32 |
| | |||||
* | Codegen fix for procs taking type(nil) (#9231) | xzfc | 2018-10-09 | 2 | -1/+7 |
| | |||||
* | Prevent the construction of recursive tyStatic types (#9256) | LemonBoy | 2018-10-09 | 2 | -4/+20 |
| | | | Fixes #9255 | ||||
* | Add checks for except: body blocks (#9191) | Dheepak Krishnamurthy | 2018-10-09 | 4 | -2/+42 |
| | |||||
* | fixes #4435 (#9185) | jcosborn | 2018-10-09 | 2 | -1/+22 |
| | |||||
* | Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. (#8778) | pqflx3 | 2018-10-09 | 1 | -7/+31 |
| | | | | | | * Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. Fixes 8684. * Change signatures to 'func'. Improve overload sort doc comments | ||||
* | HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, ↵ | Juan Carlos | 2018-10-09 | 1 | -5/+42 |
| | | | | marquee, picture, slot, summary (#9252) | ||||
* | Replace the sha1 implementation w/ a working one (#9242) | LemonBoy | 2018-10-09 | 1 | -160/+167 |
| | | | | | | | | | As #9239 points out the old implementation had some serious flaws. The new implementation is a port of the MIT-licensed one used by Chromium OS and has been tested against the FIPS-provided vectors and by generating huge files like the ones mentioned in the issue above. While I tried my best to take into account the existence of BE machines the code has only been tested on a LE one. | ||||
* | development version is 0.19.1 | Araq | 2018-10-09 | 1 | -1/+1 |
| | |||||
* | [cleanup] remove web folder (#9233) | Miran | 2018-10-08 | 120 | -7024/+0 |
| | | | Closes #7577 | ||||
* | build_all.sh fix bug introduced in https://github.com/nim-lang/Nim/pull/9145 | Timothee Cour | 2018-10-08 | 1 | -1/+1 |
| | | | /cc @valtron printf doesn't include trailing newline, unlike echo | ||||
* | define NIM_NIL nullptr when __cplusplus >= 201103L | Timothee Cour | 2018-10-08 | 1 | -1/+7 |
| | |||||
* | Merges #8451 manually. Fixes #8099. | Dominik Picheta | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9171 from flaviut/fix-9053 | Dominik Picheta | 2018-10-03 | 1 | -41/+57 |
|\ | | | | | Use runnableExamples for nre example code where possible | ||||
| * | Use runnableExamples for example nre code | Flaviu Tamas | 2018-10-03 | 1 | -41/+57 |
| | | |||||
* | | Update macros.nim (#9182) | Timothee Cour | 2018-10-03 | 1 | -1/+3 |
| | | | | | | | | | | | | * Update macros.nim * Update macros.nim | ||||
* | | koch tools: build Nimble in release mode | Andreas Rumpf | 2018-10-03 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #9168 from timotheecour/patch-4 | Andreas Rumpf | 2018-10-03 | 1 | -1/+1 |
|\ \ | | | | | | | add link to https://nim-lang.github.io/Nim/ in readme.md | ||||
| * | | add link to https://nim-lang.github.io/Nim/ in readme.md | Timothee Cour | 2018-10-03 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #9167 from LemonBoy/fix-asyncmacro-regression | Andreas Rumpf | 2018-10-03 | 2 | -1/+12 |
|\ \ \ | |/ / |/| | | Fix regression w/ templates defined in async proc | ||||
| * | | Fix regression w/ templates defined in async proc | LemonBoy | 2018-10-03 | 2 | -1/+12 |
|/ / | |||||
* | | [docs/json]: expands existing examples + shows {} operator in action (#9157) | Steve Kellock | 2018-10-02 | 1 | -28/+74 |
| | | | | | | | | | | | | * [docs/json]: expands existing examples + shows {} operator in action * adds import stmt and fixes butchered syntax in json examples | ||||
* | | Merge pull request #9152 from barbeque/4934-remove-old-install-scripts | Dominik Picheta | 2018-10-02 | 2 | -12/+0 |
|\ \ | | | | | | | Remove install_nimble.nims, install_tools.nims as per #4934 | ||||
| * | | Remove install_nimble.nims, install_tools.nims as per #4934 | mike stedman | 2018-10-01 | 2 | -12/+0 |
| | | | |||||
* | | | attempt to fix the .line pragma | Araq | 2018-10-03 | 1 | -12/+1 |
| | | | |||||
* | | | closes #5868 | Araq | 2018-10-03 | 1 | -0/+19 |
| | | | |||||
* | | | nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't ↵ | Araq | 2018-10-03 | 1 | -1/+1 |
| | | | | | | | | | | | | know nullptr | ||||
* | | | fixes #5015 | Araq | 2018-10-03 | 2 | -3/+22 |
| | | | |||||
* | | | fixes #7092 | Araq | 2018-10-02 | 2 | -3/+13 |
| | | | |||||
* | | | fixes #5479 | Araq | 2018-10-02 | 3 | -9/+31 |
| | | | |||||
* | | | fixes #6533 | Araq | 2018-10-02 | 2 | -2/+9 |
| | | | |||||
* | | | closes #6249 | Araq | 2018-10-02 | 1 | -0/+22 |
| | | | |||||
* | | | nimsuggest docs: minor update; v2 of the protocol is now the default | Araq | 2018-10-02 | 1 | -1/+1 |
| | | | |||||
* | | | C++ codegen: emit correctly typed code for closures in 'const'; refs #7870 | Araq | 2018-10-02 | 1 | -3/+9 |
| | | |