Araq
0b0baece89
fixes #6980
2017-12-27 21:26:37 +01:00
Yuriy Glukhov
e49f18801c
Fixed compilation error ( #6979 )
2017-12-27 17:35:57 +01:00
Dominik Picheta
eea08381d7
Merge pull request #6977 from moigagoo/issue-6976
...
Tables: make `toCountTable` actually count the elements of the input openArray.
2017-12-27 15:02:25 +00:00
Konstantin Molchanov
a8b0a8a92d
Changelog: Document toCountTable behaviour change.
2017-12-27 17:29:39 +04:00
Andreas Rumpf
c19c6b1fae
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-27 12:23:17 +01:00
Andreas Rumpf
7b5448c755
introduce 'core' as an alias for 'compilerproc'
2017-12-27 12:23:12 +01:00
Andreas Rumpf
a74dfcfd00
DFA: code cleanups and some support for consuming operations
2017-12-27 12:22:47 +01:00
Konstantin Molchanov
b592f069bb
Tables: toCountTable: Update docs.
2017-12-27 13:44:47 +04:00
Araq
b3732e2371
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-27 10:34:31 +01:00
Konstantin Molchanov
c36d7ffc7c
Tables: make toCountTable actually count the elements of the input openArray.
2017-12-27 13:30:32 +04:00
Araq
5c08092b88
minor todo.txt update
2017-12-27 10:25:45 +01:00
Araq
b103b4d3f2
manual: clarify the rules for integer literals
2017-12-27 10:23:57 +01:00
cooldome
53cf0b2c24
Allow noreturn procs with void type ( #6973 )
2017-12-27 10:09:24 +01:00
cooldome
2b3ec0a7c6
Implement language feature #6885 ( #6954 )
2017-12-24 22:22:03 +01:00
Mathias Stearn
6bd3a2826f
cmp(x, y: string) now uses memcmp rather than strcmp ( #6869 ) ( #6968 )
2017-12-24 15:23:17 +01:00
Andreas Rumpf
8e7829ff82
DFA attempt to capture the essence of linear types
2017-12-23 19:50:15 +01:00
Dominik Picheta
ca9f3b47d4
Add link to #6934 in changelog.md
2017-12-23 14:08:47 +00:00
Dominik Picheta
7937e38423
Merge pull request #6394 from FedericoCeratto/code-block-check
...
Add check for broken code-block in docs
2017-12-22 18:47:33 +00:00
Dominik Picheta
89b6f0318b
Merge pull request #6957 from cheatfate/fix6906
...
Fix #6906
2017-12-22 15:33:22 +00:00
Dominik Picheta
8d992c4176
Merge pull request #6725 from FedericoCeratto/unittest-5114
...
Add unittest suite/test name filters
2017-12-22 15:26:45 +00:00
Andreas Rumpf
c2d91771bc
DFA works for simple examples
2017-12-21 19:05:23 +01:00
Andreas Rumpf
6b321d0650
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-21 17:16:31 +01:00
Andreas Rumpf
b96213d559
Merge branch 'pyokagan-compile-deps' into devel
2017-12-21 17:15:59 +01:00
Andreas Rumpf
da90657317
make the new --genDeps feature optional since it makes compilations slower
2017-12-21 17:14:31 +01:00
Andreas Rumpf
5516fee1a7
Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into pyokagan-compile-deps
2017-12-21 17:00:54 +01:00
skilchen
a89b81eb96
fixes #6353 ( #6951 )
2017-12-21 16:32:26 +01:00
cheatfate
b22d9e4339
Fix #6906
2017-12-21 16:45:42 +02:00
Dominik Picheta
8c0e73479e
Merge pull request #6944 from alehander42/fix-discardable
...
Make asyncjs Future[void] play nicely with last line discardable calls & forward declaration
2017-12-21 12:25:29 +00:00
Araq
e0e1241a54
move securehash back into the stdlib
2017-12-21 12:34:38 +01:00
Araq
0181253eea
fixes #6949
2017-12-21 12:34:38 +01:00
konqoro
3495c0a46d
Fix json generation logic ( #6909 )
2017-12-21 11:26:02 +01:00
Dmitry Atamanov
63403b31ad
Modified behavior of walkDirRec ( #6952 )
2017-12-21 11:15:19 +01:00
Zahary Karadjov
2ceee884fe
fix #6462
2017-12-21 11:08:45 +01:00
Zahary Karadjov
057d5789ba
fix #6277
2017-12-21 11:06:36 +01:00
Zahary Karadjov
70380882c5
fix #6108
2017-12-21 11:04:05 +01:00
Araq
765116d547
testament html generation improvements; merged #6667 manually
2017-12-21 10:49:09 +01:00
Araq
18508cdcc3
testament: use splitWhitespace instead of split
2017-12-21 10:23:21 +01:00
Araq
77d56aaff6
cleanup times.nim
2017-12-21 10:11:45 +01:00
Araq
218679fc95
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-21 10:03:56 +01:00
Araq
ee67a67ac4
first steps in adding template/macro calls to stack traces
2017-12-21 10:03:33 +01:00
Mathias Stearn
af1404c85d
Minor fixes to strformat docs ( #6953 )
2017-12-21 09:58:24 +01:00
skilchen
47d00eb397
add missing math.trunc for js backend ( #6950 )
2017-12-20 22:26:22 +01:00
Alexander Ivanov
eba544996d
Fix docs!
2017-12-20 14:11:22 +02:00
Alexander Ivanov
7b495e23d4
Fix the forward test
2017-12-20 14:09:02 +02:00
Alexander Ivanov
b3dfc93bee
Fix forward
2017-12-19 20:50:37 +02:00
Alexander Ivanov
7f6afa9e9b
Make asyncjs Future[void] play nicely with last line discardable calls
2017-12-19 13:57:37 +02:00
Andreas Rumpf
85ac3130aa
make asyncdispatch.poll completing all opterations that can be comple… ( #6911 )
...
introduce asyncdispatch.drain that completes all operations that can be completed immediately; implements #6523
2017-12-19 12:39:50 +01:00
Yuriy Glukhov
3de81af44d
Added a couple of procs for RSA verification ( #6942 )
2017-12-19 11:04:42 +01:00
Alexander Ivanov
a9ba02e8c9
added asyncjs standard library module ( #6841 )
2017-12-19 00:34:54 +01:00
GULPF
a879973081
Better times module ( #6552 )
...
* First work on better timezones
* Update tests to new api.
Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead).
* Deprecate getLocaltime & getGmTime
* Add `now()` as a shorthand for GetTIme().inZone(Local)
* Add FedericoCeratto's timezone tests (#6548 )
* Run more tests in all timezones
* Make month enum start at 1 instead of 0
* Deprecate getDayOfWeekJulian
* Fix issues with gc safety
* Rename TimeInfo => DateTime
* Fixes #6465
* Improve isLeapYear
* FIx handling negative adjTime
* Cleanup:
- deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float)
- added missing doc comments
- removed some unnecessary JS specific implementations
* Fix misstake in JS `-` for Time
* Update usage of TimeEffect
* Removed unecessary use of `difftime`
* JS fix for local tz
* Fix subtraction of months
* Fix `days` field in `toTimeInterval`
* Style and docs
* Fix getDayOfYear for real this time...
* Fix handling of adding/subtracting time across dst transitions
* Fix some bad usage of the times module in the stdlib
* Revert to use proper time resoultion for seeding in random.nim
* Move deprecated procs to bottom of file
* Always use `epochTime` in `randomize`
* Remove TimeInterval normalization
* Fixes #6905
* Fix getDayOfWeek for year < 1
* Export toEpochDay/fromEpochDay and change year/month/monthday order
* Add asserts for checking that the monthday is valid
* Fix some remaining ambiguous references to `Time`
* Fix ambiguous reference to Time
2017-12-18 23:11:28 +01:00