summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Add delOutputFormatter proc to unittest.nim (#12032)Chris Heller2019-09-031-1/+5
|
* mark nimprof as used when profilingnarimiran2019-09-021-0/+3
|
* hashes: implement murmur3 (#12022)Miran2019-09-011-47/+149
| | | | | | | | * hashes: implement murmur3 * refactoring; there is only one murmurHash and it works at compile-time via VM hooks * fixes JS tests * makes toOpenArrayByte work with C++ * make it bootstrap in C++ mode for 0.20
* remove unicode.Rune16 without deprecation period; fixes ↵Andreas Rumpf2019-08-281-5/+0
| | | | https://github.com/nim-lang/RFCs/issues/151 (#12072)
* fixes #12015 by also checking kind of `typeNode` (#12016)Vindaar2019-08-271-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #12015 by also checking kind of `typeNode` If a tuple field is aliased it'll appear the same as a ref type in a call to `getType` if only for the kind of the resulting `NimNode` is checked (that is a `nnkBracketExpr`) * fix test case due to #12017 and add more realistic test case Adds an additional test case, which includes generics and is closer to the real failure I encountered * remove previous fix and fix differently after all The previous fix was incomplete, because it failed for generics. Note that the `of "tuple"` is not actually needed, the `nnkBracketExpr` branch in the `else` branch would catch it too, but I decided to introduce it for clarity. However, the latter is actually needed, because it seems for aliases of `seq` we end up in it. * update comment about global `%` proc in json test
* Typos fixed, handleRefillChar() described (#12062)Artem V L2019-08-271-3/+4
|
* unicode.nim: fixed spacing to something saneAndreas Rumpf2019-08-261-1/+1
|
* Remove old and unused parseBody/parseResponse procs in httpclient. (#11949)Dominik Picheta2019-08-261-130/+2
|
* fixes #11834 (#12000)Palash Nigam2019-08-231-1/+1
|
* Update OpenSSL example (#11896)Federico Ceratto2019-08-211-1/+5
| | | | | | | | * Update OpenSSL example Fix privkey filename. Bump up RSA key size. Add ECDSA example.
* fixes #11618 (#11969)Andreas Rumpf2019-08-171-3/+6
|
* fixes #1188Araq2019-08-161-2/+8
|
* fixes #11925Araq2019-08-161-1/+1
|
* Fixes splitfile (#11918) [bugfix]pgkos2019-08-151-26/+17
|
* Fixes regression introduced by #11904. (#11948)Dominik Picheta2019-08-151-2/+4
|
* Update documentation on `xmltree.items`/`mitems` (#11930)sschwarzer2019-08-121-2/+2
| | | | | | | | | | * Update documentation on `xmltree.items`/`mitems` So far the documentation on `items` and `mitems` wasn't explicit about whether the iteration recurses down the node's children or not. I assumed recursion, which was wrong. * Improve wording in comment Use the more common and shorter word "direct".
* Fixes effect error in pure/logging.nim (#11898)Zachary Carter2019-08-081-1/+1
| | | | | | | | * Fix effect error in pure/logging.nim Currently calling `logging.log` will produce - `Error: can have an unlisted effect: RootEffect`. Add `RootEffect` to list of tags. * the only tag necessary is RootEffect since all other Effects are descendants of RootEffect
* tiny style change [refactoring]Andreas Rumpf2019-08-081-1/+1
|
* Fix typo (#11910)Dmitry Matveyev2019-08-081-1/+1
|
* Fix issue #10726 - HTTP response without Content-Length is not accessible ↵konradmb2019-08-081-2/+8
| | | | | | | | | | | | (#11904) * Add patch by @xenogenesi * Async test for HTTP/1.1 without Content-Length * Apply suggestions from code review Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
* fixes #11807 (#11900)Andreas Rumpf2019-08-071-0/+5
| | | | | * fixes #11807 * make tests green again
* Fixed handling of empty strings for encodings conversions (#11897)amzak2019-08-071-5/+13
|
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-2/+2
| | | | * fixes #11847
* Fixed utf8<->utf16 conversions on windows (#11888)amzak2019-08-061-39/+108
|
* random: minor documentation updates (#11831)Jjp1372019-08-021-8/+42
| | | | Add docs for the sample procs that take in sets, and clean up a few other minor things.
* Fixes subtle SSL recvInto bug.Dominik Picheta2019-07-271-0/+1
| | | | | This resulted in a "value out of range: -1" exception inside `recvInto` (on the `copyMem` line). Basically readIntoBuf was returning `-1`.
* Use proper types according to MSDN and fix clang build of windows dynlib ↵Giovanni Petrantoni2019-07-261-12/+8
| | | | (#11828)
* fix #11772, JS random seed was too large (#11820)Miran2019-07-251-1/+1
|
* Fix #10630 - fix broken separators in nim doc (#11814)genotrance2019-07-241-95/+77
|
* fix asyncftpclient examples [ci skip]narimiran2019-07-241-29/+29
|
* run runnableExamples in the module scope (#11732) [feature]Timothee Cour2019-07-221-2/+2
|
* style improvements; fixes #11774Araq2019-07-192-2/+2
|
* async macro: general stability improvements [bugfix] (#11787)Andreas Rumpf2019-07-191-10/+13
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-186-12/+6
|
* [bugfix] Make std/unicode compile with --styleCheck:error (#11763)Kaushal Modi2019-07-171-3/+3
|
* [bugfix] Make std/unittest compile with --styleCheck:error (#11762)Kaushal Modi2019-07-171-8/+8
|
* Merge pull request #11743 from GULPF/stdlib-monotimes [feature]Andreas Rumpf2019-07-173-20/+25
|\ | | | | Use std/monotimes in the stdlib [feature]
| * Use std/monotimes in the stdlibOscar Nihlgård2019-07-163-20/+25
| |
* | [bugfix] critbits styleCheck fix: consistent var naming (#11752)Kaushal Modi2019-07-161-8/+8
| |
* | styleCheck fix: type naming: s/outType/OutType/ (#11749)Kaushal Modi2019-07-161-9/+9
| |
* | Merge pull request #11740 from nim-lang/araq-fixes-11723Andreas Rumpf2019-07-161-2/+2
|\ \ | |/ |/| fixes #11723
| * fixes #11723Araq2019-07-151-2/+2
| |
* | Add std/monotimes which implements monotonic timestamps (#11712)Andreas Rumpf2019-07-151-9/+16
|\ \ | |/ |/| | | | | | | * [feature] Added std/monotimes * [other] Minor optimization in times
| * [other] Minor optimization in timesOscar Nihlgård2019-07-121-9/+12
| |
| * [feature] Added std/monotimesOscar Nihlgård2019-07-121-0/+4
| |
* | styleCheck fixes [bugfix]Araq2019-07-151-2/+2
| |
* | newruntime: progress to make 'async' work with --newruntimeAraq2019-07-151-7/+4
| |
* | os: confine osErrorMsg example to Linux (#11725)alaviss2019-07-131-1/+1
| | | | | | | | POSIX does **not** define the exact number for each errors. This caused a failure in docs building on Haiku.
* | times: use posix constant instead of import (#11692)Jacek Sieka2019-07-131-9/+4
|/ | | | | | * times: use posix constant instead of import * simplify clock id usage
* Give NilAccessError a message (#11706)Dominik Picheta2019-07-111-1/+1
|