Andreas Rumpf
1fa1024ddf
typo
2019-09-10 08:36:24 +02:00
Andreas Rumpf
58077450cc
parsejson: typo
2019-09-10 08:36:24 +02:00
Araq
4bbafb47dc
streams.nim: indentation change
2019-09-08 13:08:41 +02:00
pgkos
5a8fddf29b
Fix mode_t posix definitions ( fixes #12119 ) ( #12132 )
...
* fixes #12119
2019-09-06 20:15:07 +02:00
Araq
0882a09986
fixes a subtle tables.nim regression
2019-09-05 16:45:07 +02:00
Andreas Rumpf
58bcf6cd46
fixes #12121 ( #12126 )
2019-09-05 08:21:01 +02:00
Araq
fa5707e7e2
fixes #11713 , fixes #1034
2019-09-04 11:20:30 +02:00
Chris Heller
35f1519ad6
Add delOutputFormatter proc to unittest.nim ( #12032 )
2019-09-03 08:14:19 +01:00
narimiran
545ddf4a4f
mark nimprof as used when profiling
2019-09-02 16:00:26 +02:00
Miran
ab48d7901e
hashes: implement murmur3 ( #12022 )
...
* 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
2019-09-01 00:04:10 +02:00
Andreas Rumpf
d4af0554c4
remove unicode.Rune16 without deprecation period; fixes https://github.com/nim-lang/RFCs/issues/151 ( #12072 )
2019-08-28 10:25:13 +02:00
Vindaar
eff0837ff4
fixes #12015 by also checking kind of typeNode ( #12016 )
...
* 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
2019-08-27 22:23:47 +02:00
Artem V L
d8177a3980
Typos fixed, handleRefillChar() described ( #12062 )
2019-08-27 16:16:32 +02:00
Andreas Rumpf
5a9edb222b
unicode.nim: fixed spacing to something sane
2019-08-26 23:30:35 +02:00
Dominik Picheta
8117a949c5
Remove old and unused parseBody/parseResponse procs in httpclient. ( #11949 )
2019-08-26 20:27:44 +02:00
Palash Nigam
f28a47ea7b
fixes #11834 ( #12000 )
2019-08-23 07:42:33 +02:00
Federico Ceratto
170cb4f4cb
Update OpenSSL example ( #11896 )
...
* Update OpenSSL example
Fix privkey filename.
Bump up RSA key size.
Add ECDSA example.
2019-08-21 20:01:17 +02:00
Andreas Rumpf
7cb31455ee
fixes #11618 ( #11969 )
2019-08-17 21:19:57 +02:00
Araq
bebda3851f
fixes #1188
2019-08-16 13:29:58 +02:00
Araq
c7e77edecc
fixes #11925
2019-08-16 12:33:31 +02:00
pgkos
296dfae8af
Fixes splitfile ( #11918 ) [bugfix]
2019-08-15 15:22:14 +02:00
Dominik Picheta
b095203f28
Fixes regression introduced by #11904 . ( #11948 )
2019-08-15 06:05:38 +02:00
sschwarzer
c9c28bf85e
Update documentation on xmltree.items/mitems ( #11930 )
...
* 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".
2019-08-12 11:12:22 +02:00
Zachary Carter
082c440f13
Fixes effect error in pure/logging.nim ( #11898 )
...
* 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
2019-08-08 22:48:25 +02:00
Andreas Rumpf
e3c0bf48c5
tiny style change [refactoring]
2019-08-08 18:30:10 +02:00
Dmitry Matveyev
756fabb979
Fix typo ( #11910 )
2019-08-08 13:17:53 +02:00
konradmb
addd7b5e20
Fix issue #10726 - HTTP response without Content-Length is not accessible ( #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 >
2019-08-08 08:41:56 +02:00
Andreas Rumpf
c0d240b8cd
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
2019-08-07 22:40:58 +02:00
amzak
f34ae81971
Fixed handling of empty strings for encodings conversions ( #11897 )
2019-08-07 19:56:42 +02:00
Arne Döring
afbcd1b330
int128 on firstOrd, lastOrd and lengthOrd ( #11701 )
...
* fixes #11847
2019-08-07 15:53:16 +02:00
amzak
3d7d5cf121
Fixed utf8<->utf16 conversions on windows ( #11888 )
2019-08-06 03:30:47 -04:00
Jjp137
a906b3952b
random: minor documentation updates ( #11831 )
...
Add docs for the sample procs that take in sets, and clean up a
few other minor things.
2019-08-02 02:42:18 -04:00
Dominik Picheta
bb949a75db
Fixes subtle SSL recvInto bug.
...
This resulted in a "value out of range: -1" exception inside `recvInto`
(on the `copyMem` line). Basically readIntoBuf was returning `-1`.
2019-07-27 19:06:56 +01:00
Giovanni Petrantoni
2fdba334da
Use proper types according to MSDN and fix clang build of windows dynlib ( #11828 )
2019-07-26 10:11:21 +02:00
Miran
3bb6d1916e
fix #11772 , JS random seed was too large ( #11820 )
2019-07-25 04:53:50 -04:00
genotrance
44aadd50cf
Fix #10630 - fix broken separators in nim doc ( #11814 )
2019-07-24 14:45:05 +02:00
narimiran
5484352d26
fix asyncftpclient examples [ci skip]
2019-07-24 11:49:06 +02:00
Timothee Cour
8c93c692b9
run runnableExamples in the module scope ( #11732 ) [feature]
2019-07-22 16:22:57 +02:00
Araq
5a020d641d
style improvements; fixes #11774
2019-07-19 17:25:04 +02:00
Andreas Rumpf
70e8551e37
async macro: general stability improvements [bugfix] ( #11787 )
2019-07-19 16:47:38 +02:00
Araq
07d465ca42
[refactoring] remove unused imports in the compiler and in some stdlib modules
2019-07-18 00:36:03 +02:00
Kaushal Modi
d40872bf9b
[bugfix] Make std/unicode compile with --styleCheck:error ( #11763 )
2019-07-17 19:48:15 +02:00
Kaushal Modi
404b224945
[bugfix] Make std/unittest compile with --styleCheck:error ( #11762 )
2019-07-17 19:47:50 +02:00
Andreas Rumpf
1acb9bae94
Merge pull request #11743 from GULPF/stdlib-monotimes [feature]
...
Use std/monotimes in the stdlib [feature]
2019-07-17 16:06:34 +02:00
Kaushal Modi
44d80dd863
[bugfix] critbits styleCheck fix: consistent var naming ( #11752 )
2019-07-16 21:24:09 +02:00
Kaushal Modi
0b511b15ea
styleCheck fix: type naming: s/outType/OutType/ ( #11749 )
2019-07-16 21:22:34 +02:00
Oscar Nihlgård
1f32498a47
Use std/monotimes in the stdlib
2019-07-16 11:05:42 +02:00
Andreas Rumpf
102b71f42e
Merge pull request #11740 from nim-lang/araq-fixes-11723
...
fixes #11723
2019-07-16 09:08:15 +02:00
Araq
76f9ddb6ab
fixes #11723
2019-07-15 17:22:01 +02:00
Andreas Rumpf
8513f50a8d
Add std/monotimes which implements monotonic timestamps ( #11712 )
...
* [feature] Added std/monotimes
* [other] Minor optimization in times
2019-07-15 13:47:30 +02:00