PMunch
4f1725ad61
Add column number to instantiation info ( #7376 )
...
* Add column number to instantiation info
Instantiation info left out column number for no good reason. This adds
it in as the third element of the tuple.
* Fix test that failed and added change to changelog
An assertion test failed because it was declaring a type that was
expected to be populated by instantiationInfo with the old signature.
Also added the changes to the changelog as it is a breaking change.
2018-04-12 20:02:04 +02:00
genotrance
c3cc52087f
Added a few useful os calls to VM ( #7440 )
2018-04-12 13:59:14 +02:00
Arne Döring
6baca58693
Get symbol kind ( #7491 )
2018-04-11 16:48:01 +02:00
genotrance
f6c8f97fe8
Add a few useful os calls to nimscript ( #7442 )
2018-04-10 18:50:23 +02:00
cooldome
16c1a90857
Cpp codegen: handling of imported exceptions. Fixes #3571 ( #7360 )
2018-04-10 12:14:59 +02:00
Araq
212fdc5946
added the 'x.p[:T]' notation for explicit generic instantiations in combination with the ddot calling syntax
2018-04-06 22:05:57 +02:00
Araq
0872e7a27e
renamed future.nim to sugar.nim
2018-04-06 11:59:49 +02:00
Dominik Picheta
06a4505305
Merge pull request #7483 from GULPF/cookies-timezones
...
Don't assume UTC in cookies.setCookie
2018-04-04 22:37:37 +01:00
Arne Döring
5d46e1eaa2
Fixes #7473 ( #7475 )
...
* removed code duplication
* changelog entry, adopt tests for changes
2018-04-04 15:37:07 +02:00
Oscar Nihlgård
97565826ef
Don't assume UTC in cookies.setCookie
2018-04-03 12:15:01 +02:00
Araq
1d9343080d
added toOpenArray builtin for zero-copy slices; syntax sugar yet to come
2018-03-24 20:26:34 +01:00
Dominik Picheta
a1879cae57
Remove bugfixes heading from changelog
...
This heading is for the automatically generated list of issues fixed.
2018-03-19 09:10:01 +00:00
Araq
4301744e49
raise the max instruction count for the VM to one billion
2018-03-18 11:04:53 +01:00
PMunch
5003942256
Renamed jsondoc2 to jsondoc, similar to doc2 ( #7279 )
...
* Update information about jsondoc/jsondoc2
Manual was missing information about jsondoc2 which made it seem like
it didn't exist at all. This commit adds mention of the jsondoc2
command along with an example.
* Renamed jsondoc2 similar to doc2 and updated docs
doc2 was recently renamed to doc while doc was renamed to doc0. This
commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave
tha same way. The documentation for doc/jsondoc was also lagging behind
this change which has also been fixed. I interpreted this as a soft
deprecation of doc and jsondoc and therefore removed them from the
auto-complete lists.
2018-03-08 15:11:45 +01:00
zah
cbd059aa85
Fix #6415 ( #7281 )
...
* hangle static generic params when used in the importcpp pragma
* importcpp works for generic types with fields; fixes #6415
* revert a too agressive safety check that ended up breaking the tests
2018-03-08 15:10:45 +01:00
Andreas Rumpf
e2094bc6f4
make re.split consistent with strutils.split and other programming languages; refs #7278
2018-03-05 21:39:13 +01:00
Araq
86c3832201
development version is 0.18.1
2018-03-05 17:02:19 +01:00
Araq
ce1047f2ae
added -d:nimNoArrayToString define to allow easier porting to 0.18
2018-03-01 09:42:25 +01:00
Andreas Rumpf
51935c47b0
deprecate parseopt2 stdlib module
2018-02-28 23:00:52 +01:00
Dominik Picheta
91cab6dbd3
Add bugfixes list to changelog.
2018-02-28 16:36:18 +00:00
Dominik Picheta
e3e17009ff
Sort changelog into appropriate headings.
2018-02-28 15:43:08 +00:00
Vindaar
a897371797
move readPasswordFromStdin from rdstdin to terminal ( #7266 )
2018-02-27 17:49:35 +01:00
Andreas Rumpf
3dab0877da
fixes #7247
2018-02-23 11:42:19 +01:00
Dominik Picheta
c74a65662a
Revert "Fixes #4265."
...
This reverts commit fe6fddb9d8 .
2018-02-17 22:24:43 +00:00
Dominik Picheta
fe6fddb9d8
Fixes #4265 .
2018-02-17 22:15:28 +00:00
Dominik Picheta
5476a82c47
Move joyent_http_parser out of stdlib.
2018-02-17 17:53:32 +00:00
Dominik Picheta
fe204a5e73
Fixes #5786 .
2018-02-17 17:46:22 +00:00
Dominik Picheta
1a2351f95f
Fixes #4995 . ( #7157 )
2018-02-13 11:08:37 +01:00
Andreas Rumpf
cddc389784
disable the undocumented 'import ' feature; allow import std / strutils; fixes #2819 ; refs #6700
2018-02-12 16:40:27 +01:00
Andreas Rumpf
94141b8f68
fixes #7200
2018-02-10 16:41:48 +01:00
Andreas Rumpf
70e8640244
move new sha1 module into the new 'std' namespace
2018-02-06 17:40:31 +01:00
Andreas Rumpf
212457f5e0
the .deprecated pragma for procs now supports a user-definable deprecation message
2018-02-02 12:53:38 +01:00
Andreas Rumpf
bd1dfa4b38
better type inference for numerical types; prerequisitive for version 1
2018-02-02 09:29:05 +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
Andreas Rumpf
80caca15bd
fixes #7089
2018-01-24 20:08:17 +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
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
Dmitry Atamanov
7ce38122e8
Support truecolor for the terminal stdlib module ( #6936 )
2018-01-18 18:48:59 +01:00
Dominik Picheta
47d05b3f2e
Merge branch 'devel' into async-improvements
2018-01-17 16:28:00 +00:00
cooldome
2c9e56a783
Implement custom annotations ( #6987 )
2018-01-09 15:25:22 +01:00
Dmitry Atamanov
ce983383fc
Add a notes about integer casting to the changelog ( #6996 )
2018-01-03 12:42:09 +01:00
Dominik Picheta
caecd60e25
Add more info in changelog about the #6223 change.
2017-12-28 13:52:23 +00:00
Konstantin Molchanov
a8b0a8a92d
Changelog: Document toCountTable behaviour change.
2017-12-27 17:29:39 +04:00
cooldome
2b3ec0a7c6
Implement language feature #6885 ( #6954 )
2017-12-24 22:22:03 +01:00
Dominik Picheta
ca9f3b47d4
Add link to #6934 in changelog.md
2017-12-23 14:08:47 +00:00
Araq
e0e1241a54
move securehash back into the stdlib
2017-12-21 12:34:38 +01:00
Alexander Ivanov
a9ba02e8c9
added asyncjs standard library module ( #6841 )
2017-12-19 00:34:54 +01:00
Araq
26198e4ee7
added new stdlib module 'strformat'; refs #5600 ; refs #6507
2017-12-17 13:58:40 +01:00
Araq
e0591d4941
fixes #6626
2017-12-15 15:33:43 +01:00