Oscar Nihlgård
f6df2d9956
Sub second time resolution ( #6978 )
...
* Add deprecation warnings to recently deprecated procs
* Fix bad usage of the times module
* Introduce sub second resolution
* Fix usage of C's time()
* Switch to nanosecond resolution
* Make Time & Duration opaque again and fix some errors
* Change back to TimeInterval for shorthands
* Fix JS test
* Fix build error for windows
* Undeprecate epochTime
* Documentation and minor changes
* Lots of bugfixes and doc comments
* Attempt to make travis & appveyor green
* Fix edge cases for dealing with the local timezone
* Workaround JS backend overflow/underflow bug
* Use better workaround for not knowing the size of time_t
* Use all available timezones for tests
* Fix indentation
* Add procs for accessing the fractional part of a duration
* Order time units from smallest to largest since it makes more sense
* Include months and years in `TimeUnit`
* Review fix
2018-04-13 07:36:30 +02:00
Andreas Rumpf
19a1cc914f
deprecate macros.callsite; fixes #7369
2018-04-12 20:09:44 +02:00
Andreas Rumpf
ea8afebf8c
'func' is now an alias for 'proc .noSideEffect'
2018-04-12 20:09:44 +02:00
Andreas Rumpf
a17d45c2c2
fixes #3948
2018-04-12 20:09:44 +02:00
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
Xiao-Yong
f543388959
unittest: default no color if stdout is not a tty ( #7424 )
...
We accept a new environment variable, NIMTEST_COLOR,
which override the effect of NIMTEST_NO_COLOR.
The environment variable, NIMTEST_COLOR, can be 'never'
or 'always', which set the color output to false or true,
respectively.
2018-04-12 17:57:34 +02:00
treeform
f3db632b1d
Added count(*) support to sql parser. Fixed warnings in sql parser. ( #7490 )
2018-04-12 17:49:24 +02:00
aguspiza
63160855aa
Move RLimit and getrlimit to posix.nim and add setrlimit to easily limit FD allocation ( #7564 )
2018-04-12 17:42:33 +02:00
Jacek Sieka
85e21158db
Cleanups 20180401 ( #7458 )
2018-04-12 17:35:10 +02:00
genotrance
c3cc52087f
Added a few useful os calls to VM ( #7440 )
2018-04-12 13:59:14 +02:00
Arne Döring
84982e5e17
fix deprecation warnings in asyncmacro and htmlgen ( #7573 )
...
* fix deprecation warnings in asyncmacro and htmlgen
* removed todo
2018-04-12 13:54:49 +02:00
cooldome
19aad4f547
quick bug fix ( #7576 )
2018-04-12 08:00:54 +02:00
Andreas Rumpf
29d2c34956
fixes #2779
2018-04-11 23:36:04 +02:00
Andreas Rumpf
4c5351a1eb
fixes #6895
2018-04-11 23:26:20 +02:00
Andreas Rumpf
5e1e1a9145
fixes #7551
2018-04-11 23:26:20 +02:00
Arne Döring
e7edc7ec7f
option optimization ( #6253 )
2018-04-11 16:50:27 +02:00
Arne Döring
6baca58693
Get symbol kind ( #7491 )
2018-04-11 16:48:01 +02:00
Federico Ceratto
1ee5f1e36a
Enable RISC-V 64bit platform ( #7541 )
...
Related to #7417
2018-04-11 16:45:37 +02:00
Andreas Rumpf
4887f64107
concepts: do not report concept parameters as unused
2018-04-11 14:02:24 +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
Oscar Nihlgård
427490a845
Fix compile time set cardinality ( #7558 )
2018-04-10 10:38:16 +02:00
Dominik Picheta
992300b300
Call requestAux not request in httpclient.
2018-04-07 18:16:08 +01:00
Dominik Picheta
c6e08725c1
Merge pull request #7536 from FedericoCeratto/patch-3
...
Allow searching for "rename file" in documentation
2018-04-07 13:03:22 +01:00
Federico Ceratto
56dc7c6f77
Allow searching for "rename file" in documentation
2018-04-07 12:56:16 +01:00
Federico Ceratto
673f5f3534
Add RISC-V (riscv64) support ( #7417 )
2018-04-07 00:40:39 +02:00
Araq
8ae0ac8637
make tests green again
2018-04-07 00:39:33 +02:00
Oscar Nihlgård
d6793ded27
Fix parser bug with type classes ( #7480 )
2018-04-06 22:44:54 +02:00
Araq
8b7c2bd067
fixes #7528
2018-04-06 22:42:25 +02:00
Araq
2d68674338
fixes #7252
2018-04-06 22:25:25 +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
Oscar Nihlgård
651c0e45da
semcheck negative array length ( #7518 )
2018-04-06 17:05:28 +02:00
Araq
7e1f0e28ae
revert the error message
2018-04-06 14:11:11 +02:00
Araq
f9449ef954
improve compiler error message
2018-04-06 14:00:09 +02:00
Araq
19ed4a8e3e
fixes #7522
2018-04-06 13:56:15 +02:00
Araq
aa6353e4fa
fixes #6843
2018-04-06 13:10:22 +02:00
Araq
824092be31
fixes a regression about static object case variant checking
2018-04-06 13:01:24 +02:00
Araq
0872e7a27e
renamed future.nim to sugar.nim
2018-04-06 11:59:49 +02:00
Araq
5a5ee93784
make parseopt2 use the new better deprecated error message
2018-04-06 11:59:49 +02:00
Araq
8518683dc7
the 'deprecated' pragma for modules now supports an error message
2018-04-06 11:59:49 +02:00
cooldome
c34cb101b8
Fixes #7407 ( #7427 )
2018-04-06 10:53:21 +02:00
skilchen
9bacdd64c1
fix issues #6986 and #7501 ( #7513 )
2018-04-06 10:24:58 +02:00
Dmitry Atamanov
cf6d41b51d
Fixes #5281 ( #7489 )
2018-04-06 10:09:05 +02:00
Jacek Sieka
4d6456d029
__NR_gettid as const on amd64 ( #7460 )
2018-04-06 10:07:36 +02:00
skilchen
e336e6609c
include help short option in processCmdLine ( #7515 )
2018-04-06 09:48:03 +02:00
Dominik Picheta
1bd4560986
Merge pull request #7471 from yglukhov/fixed-times-cpp-windows-32
...
Fixed compilation of times.nim with mingw 4.9.2 C++ 32bit
2018-04-05 23:06:38 +01:00
Dominik Picheta
ad230256b6
Merge pull request #7511 from timotheecour/pr_clarify_compileOnly
...
[trivial] [doc] cmd line help: clarify compileOnly vs noLinking
2018-04-05 22:47:50 +01:00
Timothee Cour
aa40c91e6e
cmd line help: clarify compileOnly vs noLinking
2018-04-05 14:34:55 -07: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
Dominik Picheta
58dc8a399e
Merge pull request #7450 from cabhishek/devel
...
Fixes #6902
2018-04-04 22:36:18 +01:00