summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix overload resolution for pragmas evaluation (#8902)LemonBoy2018-10-098-33/+66
| | | | Fixes #6448 Fixes #4384
* Field checks for everybody (#8957)LemonBoy2018-10-0910-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)LemonBoy2018-10-094-8/+77
| | | | | | * Try/Catch support for native JS exceptions * Better tests
* Fix transformation of yield in inline context (#9135)LemonBoy2018-10-092-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 Picheta2018-10-092-2/+24
| | | | | | * Fixes #8994. FutureStream read procedure data loss no longer occurs. * Optimises the fix for #8994.
* fix for #9082 (#9089)Arne Döring2018-10-091-14/+16
|
* Fixes #8841 (#9101)Yasuhiro Horimoto2018-10-091-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 Cour2018-10-092-49/+88
|
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-0912-64/+60
| | | Closes #9068
* Fixes some minor typos in nimsuggest.rst (#9223)technicallyagd2018-10-091-3/+3
| | | | | | * Fix Minor typo in nimsuggest.rst * Fixes two more typo in nimsuggest.rst
* asyncmacro: add nnkSym support for getName() (#9204)alaviss2018-10-092-1/+15
| | | Fixes #9201
* Fix range type construction in the VM (#9205)LemonBoy2018-10-092-2/+29
| | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194
* os: use unlink() to remove file (#9220)alaviss2018-10-092-3/+10
| | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200
* Fix typo in an algorithm runnableExamples (#9260)Kaushal Modi2018-10-091-1/+1
| | | | | | Fixes the 'koch docs' build failure. Ref: https://github.com/nim-lang/Nim/commit/b90b45b01bba1f3fc241a96abd4ae5c8c314bb92
* fixes #9222 (#9224)cooldome2018-10-093-1/+32
|
* [os] clarify docs for existsDir (#9212)Timothee Cour2018-10-091-1/+1
| | | | | | * Update os.nim * Update os.nim
* nim doc can run code blocks (#9228)LemonBoy2018-10-091-24/+32
|
* Codegen fix for procs taking type(nil) (#9231)xzfc2018-10-092-1/+7
|
* Prevent the construction of recursive tyStatic types (#9256)LemonBoy2018-10-092-4/+20
| | | Fixes #9255
* Add checks for except: body blocks (#9191)Dheepak Krishnamurthy2018-10-094-2/+42
|
* fixes #4435 (#9185)jcosborn2018-10-092-1/+22
|
* Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. (#8778)pqflx32018-10-091-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 Carlos2018-10-091-5/+42
| | | | marquee, picture, slot, summary (#9252)
* Replace the sha1 implementation w/ a working one (#9242)LemonBoy2018-10-091-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.1Araq2018-10-091-1/+1
|
* [cleanup] remove web folder (#9233)Miran2018-10-08120-7024/+0
| | | Closes #7577
* build_all.sh fix bug introduced in https://github.com/nim-lang/Nim/pull/9145Timothee Cour2018-10-081-1/+1
| | | /cc @valtron printf doesn't include trailing newline, unlike echo
* define NIM_NIL nullptr when __cplusplus >= 201103LTimothee Cour2018-10-081-1/+7
|
* Merges #8451 manually. Fixes #8099.Dominik Picheta2018-10-031-1/+1
|
* Merge pull request #9171 from flaviut/fix-9053Dominik Picheta2018-10-031-41/+57
|\ | | | | Use runnableExamples for nre example code where possible
| * Use runnableExamples for example nre codeFlaviu Tamas2018-10-031-41/+57
| |
* | Update macros.nim (#9182)Timothee Cour2018-10-031-1/+3
| | | | | | | | | | | | * Update macros.nim * Update macros.nim
* | koch tools: build Nimble in release modeAndreas Rumpf2018-10-031-1/+1
| |
* | Merge pull request #9168 from timotheecour/patch-4Andreas Rumpf2018-10-031-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.mdTimothee Cour2018-10-031-1/+1
| | |
* | | Merge pull request #9167 from LemonBoy/fix-asyncmacro-regressionAndreas Rumpf2018-10-032-1/+12
|\ \ \ | |/ / |/| | Fix regression w/ templates defined in async proc
| * | Fix regression w/ templates defined in async procLemonBoy2018-10-032-1/+12
|/ /
* | [docs/json]: expands existing examples + shows {} operator in action (#9157)Steve Kellock2018-10-021-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-scriptsDominik Picheta2018-10-022-12/+0
|\ \ | | | | | | Remove install_nimble.nims, install_tools.nims as per #4934
| * | Remove install_nimble.nims, install_tools.nims as per #4934mike stedman2018-10-012-12/+0
| | |
* | | attempt to fix the .line pragmaAraq2018-10-031-12/+1
| | |
* | | closes #5868Araq2018-10-031-0/+19
| | |
* | | nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't ↵Araq2018-10-031-1/+1
| | | | | | | | | | | | know nullptr
* | | fixes #5015Araq2018-10-032-3/+22
| | |
* | | fixes #7092Araq2018-10-022-3/+13
| | |
* | | fixes #5479Araq2018-10-023-9/+31
| | |
* | | fixes #6533Araq2018-10-022-2/+9
| | |
* | | closes #6249Araq2018-10-021-0/+22
| | |
* | | nimsuggest docs: minor update; v2 of the protocol is now the defaultAraq2018-10-021-1/+1
| | |
* | | C++ codegen: emit correctly typed code for closures in 'const'; refs #7870Araq2018-10-021-3/+9
| | |