summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Try/Catch support for native JS exceptions (#8955)LemonBoy2018-10-091-0/+11
| | | | | | * Try/Catch support for native JS exceptions * Better tests
* Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183)Dominik Picheta2018-10-091-2/+4
| | | | | | * 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-091-30/+46
|
* asyncmacro: add nnkSym support for getName() (#9204)alaviss2018-10-091-1/+1
| | | Fixes #9201
* os: use unlink() to remove file (#9220)alaviss2018-10-091-3/+1
| | | | | 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
* [os] clarify docs for existsDir (#9212)Timothee Cour2018-10-091-1/+1
| | | | | | * Update os.nim * Update os.nim
* 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
|
* 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
* | Fix regression w/ templates defined in async procLemonBoy2018-10-031-1/+1
| |
* | [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
* | nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't ↵Araq2018-10-031-1/+1
| | | | | | | | know nullptr
* | C++ codegen: map nil to nullptrAraq2018-10-021-1/+1
| |
* | Merge pull request #9151 from flaviut/fix-9053Dominik Picheta2018-10-011-6/+6
|\| | | | | Fix option documentation in nre (fixes #9053)
| * Fix option documentation in nre (fixes #9053)Flaviu Tamas2018-10-011-6/+6
| |
* | Merge branch 'devel' into fix_issues_9126Andreas Rumpf2018-10-015-14/+30
|\ \
| * | fixes #9126Araq2018-10-011-1/+1
| | |
| * | Merge pull request #9115 from mashingan/fix-json-aliasedAndreas Rumpf2018-09-291-1/+15
| |\ \ | | | | | | | | Fix #9111; error when parsing to aliased type field
| | * | Fix #9111; error when parsing to aliased type fieldmashingan2018-09-291-1/+15
| | | |
| * | | docs: remove most stale links; refs #9109Araq2018-09-292-10/+7
| |/ /
| * | Don't prevent ',' from getting escaped in theindex.htmlKaushal Modi2018-09-282-3/+8
| | | | | | | | | | | | | | | | | | - Enable escaping of links in theindex.html - Fixes https://github.com/nim-lang/Nim/issues/9107. - Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
* | | Fix #9126: use splitPath instead of substrYasuhiro Horimoto2018-09-301-2/+2
|/ /
* | Allocate OpenSSL memory outside of the thread heapLemonBoy2018-09-271-5/+5
| | | | | | | | | | | | | | Prevent spurious segfaults when OpenSSL is used in multithreaded environments since the library isn't able to handle thread-local memory. Fixes #9016
* | Merge pull request #9057 from LemonBoy/fix-9055Dominik Picheta2018-09-251-7/+4
|\ \ | | | | | | Make getSockDomain work with AF_UNIX sockets
| * | Make getSockDomain work with AF_UNIX socketsLemonBoy2018-09-241-7/+4
| |/ | | | | | | Fixes #9055
* | Merge pull request #9065 from alaviss/haiku-32bit-fixAndreas Rumpf2018-09-251-3/+3
|\ \ | | | | | | cpuinfo: fix compilation for 32bit Haiku
| * | cpuinfo: fix compilation for 32bit HaikuLeorize2018-09-251-3/+3
| | |
* | | update version to 0.19Andreas Rumpf2018-09-251-2/+2
| | |
* | | Merge pull request #9059 from Vindaar/onSignalModAndreas Rumpf2018-09-251-5/+12
|\ \ \ | |/ / |/| | fix `posix.onSignal` example, inject current signal as `s`
| * | inject `sig` from anonymous proc instead of for loopSebastian Schmidt2018-09-241-4/+5
| | |
| * | fix `posix.onSignal` example, inject current signal as `s`Vindaar2018-09-241-5/+11
| |/
* | .error for routines now can also have a custom error message; improve error ↵Araq2018-09-251-2/+10
| | | | | | | | message for 'nil' strings
* | math.nim: document what to use instead of 'fmod'Araq2018-09-251-2/+2
| |
* | os: add getAppFilename() implementation for HaikuLeorize2018-09-241-0/+20
| |
* | os.nim: allow walkDir to work on hierarchies with dangling symbolic links; ↵Andreas Rumpf2018-09-241-5/+1
|/ | | | refs #9034
* Merge pull request #9035 from LemonBoy/fix-3075Andreas Rumpf2018-09-221-0/+3
|\ | | | | Skip nested procedures in .async. macro
| * Skip nested procedures in .async. macroLemonBoy2018-09-221-0/+3
| | | | | | | | Fixes #3075
* | ioselectors_poll: don't pollRemove() if not neededLeorize2018-09-221-2/+3
|/ | | | pollAdd() is called only if events set isn't empty.
* Merge pull request #9015 from LemonBoy/fix-9013Andreas Rumpf2018-09-191-1/+5
|\ | | | | Fix linking issue in cpp codegen
| * Fix linking issue in cpp codegenLemonBoy2018-09-191-1/+5
| | | | | | | | | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013
* | Merge pull request #9011 from LemonBoy/fix-9008Andreas Rumpf2018-09-1910-60/+56
|\ \ | | | | | | Convert *_family fields to cushort