Commit Graph

5693 Commits

Author SHA1 Message Date
Andreas Rumpf
89782460a3 fixes #7215 2018-02-14 10:09:35 +01:00
Dominik Picheta
1a2351f95f Fixes #4995. (#7157) 2018-02-13 11:08:37 +01:00
cooldome
d24b6667c6 genTryCpp to catch by Nim type, ready for first review (#7196)
* Rewrite genTryCpp

* correction

* Implement polymorphic raise in cpp

* revert backticks in emit

* Cleanp a comment

* revert test changes

* better handling of <new> header
2018-02-12 21:23:34 +01:00
Imran Hendley
df4f707743 add more functionality from sets to intsets (#7185)
* add more functionality from sets to intsets

* remove -+-

* < and == performance

* don't hardcode s.a.len

* remove shortcuts from < and ==
2018-02-12 21:20:17 +01:00
Dominik Picheta
23d272f652 Merge pull request #7205 from GULPF/json-to-fix
Fix `json.to` for types with generic parameters
2018-02-12 09:22:35 +00:00
Oscar Nihlgård
8247323860 Fix json.to for types with generic parameters 2018-02-11 23:15:04 +01:00
Oscar Nihlgård
7847cd8759 Add parseHtml overload for string (#7198) 2018-02-10 22:47:20 +01:00
Dennis Felsing
29226ce5b2 Enable mariadb shared libs for mysql as well (#7199) 2018-02-10 16:42:13 +01:00
Andreas Rumpf
94141b8f68 fixes #7200 2018-02-10 16:41:48 +01:00
Araq
45437eb113 fixes #4220 2018-02-10 14:20:31 +01:00
Araq
7b2b0ebf7f OpenSSL: 32bit DLL names on Windows lack the -x32 suffix 2018-02-09 16:47:30 +01:00
Araq
b565c0234c Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-02-09 16:38:53 +01:00
Araq
6dc8bedb98 OpenSSL: use modern DLLs on Windows; export DLLSSLName and DLLUtilName for modules that need to expand on the openssl wrapper 2018-02-09 16:38:39 +01:00
Volodymyr Melnychuk
40e3b5798a Fix undefined reference with MinGw (#7175)
* fix undefined reference with mingw
* use fseek, ftell for x86 and _fseeki64, _ftelli64 for amd64
2018-02-09 09:34:26 +01:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
49ad131fe2 mark Nim version with .intdefine 2018-02-05 21:12:56 +01:00
Andreas Rumpf
4f9ae61695 fixes #6939 2018-02-02 17:35:04 +01:00
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
pqflx3
8d8df5807b Fixes #7121 (#7148)
* Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko

* disable large file test
2018-01-31 16:38:37 +01:00
Yuriy Glukhov
a37e47d069 Undeprecate readChar. Closes #7072 (#7156) 2018-01-30 15:55:11 +01:00
Andreas Rumpf
4f08ed63cf M&S GC: collect earlier under memory pressure 2018-01-30 10:30:43 +01:00
Andreas Rumpf
8fdc291936 fixes the tracking of 'occupied memory' 2018-01-30 10:30:18 +01:00
Dominik Picheta
fcd4cd82c3 Merge pull request #6796 from nim-lang/async-improvements
Async improvements
2018-01-28 19:11:17 +00:00
Dominik Picheta
86fb8bf723 Revert 3db460f504 as requested by @Araq. 2018-01-28 17:13:08 +00:00
Dominik Picheta
6c035379fe Merge pull request #6597 from pgkos/uri-allow-no-authority
Allow parsing URIs without authority
2018-01-28 17:00:33 +00:00
Andreas Rumpf
85411fab71 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-27 16:04:57 +01:00
Andreas Rumpf
68dfd1729e fixes #6989 2018-01-27 07:59:40 +01:00
Dominik Picheta
1a565d7b20 Merge pull request #6517 from FedericoCeratto/hexstr
Add string-to-hex and back conversions
2018-01-26 15:32:28 +00:00
Yuriy Glukhov
0b9c1da1c0 Fixes #6741 (#7131) 2018-01-25 04:26:40 +01:00
Andreas Rumpf
cd26d02882 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-22 14:07:11 +01:00
Andreas Rumpf
0dd1811344 make C++ tests green again 2018-01-22 14:06:53 +01:00
Yuriy Glukhov
ecbbefcc83 Fallback to doNothing if /proc/loadavg cant be opened (#7123) 2018-01-22 13:52:22 +01:00
Andreas Rumpf
6e145d4269 GC: also report total GC'ed heap size ignoring losses due to fragmentation 2018-01-21 23:51:54 +01:00
Andreas Rumpf
6266c68ab6 writeStackTrace now officially has no IO effect anymore for more convenient debugging 2018-01-21 21:08:51 +01:00
Andreas Rumpf
8c98277d5a M&S GC: minor code cleanup 2018-01-21 21:06:31 +01:00
Andreas Rumpf
5f603144b2 GC: fixes size computation for leak detection 2018-01-21 20:59:25 +01:00
Andreas Rumpf
81195fc362 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-21 10:59:18 +01:00
Andreas Rumpf
e5af08cc12 GC add 'string' to dumpNumberOfInstances 2018-01-21 10:59:09 +01:00
Dominik Picheta
cdc54bec6f Add note about OpenSSL 1.0.x support to openssl module. 2018-01-20 17:36:38 +00:00
Ruslan Mustakov
be2db6d67a Allow static linking with OpenSSL 1.0.x
This commit basically returns the code that was removed in
a78d7a31f7, but under 'openssl10'
define symbol. OpenSSL 1.0.2 is still actively maintained, so there is
no point in dropping support of it.
2018-01-20 19:26:00 +07:00
Andreas Rumpf
7adf3bf476 Mark&Sweep GC: introduce nimTracing define for debugging 2018-01-19 18:11:46 +01:00
Andreas Rumpf
00295366b5 fixes size computations for 'dumpNumberOfInstances' 2018-01-19 16:32:48 +01:00
Andreas Rumpf
0b52466bb8 bugfix: do not call memcmp for nil strings 2018-01-19 09:26:11 +01:00
Andreas Rumpf
fea66497b4 terminal.nim: code cleanup 2018-01-18 19:34:46 +01:00
Dmitry Atamanov
7ce38122e8 Support truecolor for the terminal stdlib module (#6936) 2018-01-18 18:48:59 +01:00
Yuriy Glukhov
1b3f640188 Fixed crash in rand (#7103) 2018-01-18 18:47:58 +01:00
Dominik Picheta
ef19634065 Workaround 'defer' issue in httpclient.downloadFile. Refs #3877. (#7101) 2018-01-18 14:08:35 +01:00
Andreas Rumpf
090d22c715 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-18 11:40:30 +01:00
Andreas Rumpf
76df554dc4 make MySQL client work with MariaDB; prefer newer versions over older 2018-01-18 11:32:43 +01:00
Andreas Rumpf
6f6551d77d leak detector: sort type based entries by total used bytes 2018-01-18 11:11:16 +01:00