Oscar Nihlgård
c344fb311d
Allow timezone procs to be closures
2018-01-05 10:07:46 +01:00
Araq
8bcaadc9e4
memfiles: enable test; refs #6361
2018-01-03 13:31:03 +01:00
Araq
9abbd6c880
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-03 13:24:44 +01:00
Araq
e593fef320
memfiles: better error checking for Windows; refs #6361
2018-01-03 13:24:20 +01:00
Eduardo Bart
bbfe6e81ad
Add newSeqUninitialized, closes #6401 ( #6402 )
2018-01-03 12:56:35 +01:00
Dominik Picheta
22cc7c62e5
Fixes times module compilation on cpp backend. ( #7004 )
2018-01-03 12:46:55 +01:00
Mathias Stearn
23c77ffa3a
Faster nimgrep ( #6983 )
...
* compile nimgrep with -d:release
* nimgrep: only parse pattern once at startup
2018-01-03 12:42:39 +01:00
Dmitry Atamanov
ce983383fc
Add a notes about integer casting to the changelog ( #6996 )
2018-01-03 12:42:09 +01:00
Sergey Avseyev
8941f5bd9c
Use safe limit for toRational(float, int) ( #7021 )
...
Current limit `high(int32)` is not safe for 32-bit platforms
and it will overflow (even when running its own test suite).
Similar behaviour would be when try to set limit to `high(int64)`
on 64-bit platforms.
This change selects safe maximum value based on platform
size of int. Safe maximum considered half of int size (for
backward compatiblity).
2018-01-03 12:41:10 +01:00
qqquinta
d5f539dc87
jsgen: bool genConv generates boolean values instead of numeric ( #7016 )
2018-01-03 12:40:19 +01:00
Araq
49a00fe6ff
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-03 02:36:49 +01:00
Araq
720c73e6d5
symbol files: fixes the logic for multi-methods
2018-01-03 02:36:29 +01:00
Dominik Picheta
b7e69e7cbb
Merge pull request #7011 from data-man/shared_docs
...
Add a shared collections to the docs
2018-01-02 13:35:31 +00:00
data-man
37dde55f8d
Add a shared collections to the docs
2018-01-02 01:44:45 +03:00
Sergey Avseyev
3f2636c765
Remove obsolete method analyzeAndConsolidateOutput ( #6998 )
...
After the change, when stacktraces rendered in reversed order (most recent
call first), this method removed all stacktraces in the test failures.
2018-01-01 00:39:55 +01:00
Dominik Picheta
c87d617718
Merge pull request #7005 from GULPF/patch-3
...
Improve deprecation comments in times module
2017-12-31 14:53:10 +00:00
oltolm
42cff6e0c5
add support for building GUI applications with TCC ( #7003 )
2017-12-31 14:49:42 +01:00
GULPF
74fb3e6e6e
Improve deprecation comments in times module
2017-12-31 14:40:46 +01:00
Yuriy Glukhov
d1e10f9aa3
Fixed mutex usage in SharedList and SharedTable. Closes #6988 ( #6990 )
2017-12-31 09:28:51 +01:00
Daniil Yarancev
a521f98392
Add warnings about deprecation to times module ( #7001 )
...
* Add warnings about deprecation to times module
I've added warnings about some procedures being deprecated.
Also I can't find what is the replacement for `getTimezone` proc, please help with that
* Update times.nim
* Update times.nim
2017-12-30 15:15:15 +00:00
Zach Smith
3714e2f871
Add compile-time paragraph to manual
...
Includes a note in the manual entry for case statements clarifying that the branch values must be known at compile time.
2017-12-30 10:50:33 +01:00
Parashurama
26a34d52a0
add tests for integer casting in VM.
2017-12-30 10:30:40 +01:00
Parashurama
41472f0e28
add support cast[integer] in VM
2017-12-30 10:30:40 +01:00
Ruslan Mustakov
3073f08e48
Add hasPendingOperations check to asyncdispatch.drain
2017-12-30 10:27:31 +01:00
Araq
29db57a804
fixes reported 'proc foo(): int = result' codegen problem
2017-12-30 00:29:53 +01:00
Araq
b6eeebd993
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-29 20:02:12 +01:00
Araq
cf259fbd1c
fixes #6972
2017-12-29 20:01:49 +01:00
Andreas Rumpf
5e8ac0792e
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-28 19:55:04 +01:00
Andreas Rumpf
0a3cd6d9ba
fixes a serious poll() regression that caused poll() to ignore the timeout parameter
2017-12-28 19:54:55 +01:00
Andreas Rumpf
e695f9d94e
make Nim compile with older nim versions
2017-12-28 19:48:21 +01:00
Dominik Picheta
caecd60e25
Add more info in changelog about the #6223 change.
2017-12-28 13:52:23 +00:00
Dominik Picheta
7e6dc3679a
Simplify async traceback processing.
2017-12-28 09:21:22 +01:00
Andreas Rumpf
3593a4bdd1
made the logic correct
2017-12-28 09:21:22 +01:00
Araq
1c2dee18d0
attempt to get the stack trace logic right; fix boundaries
2017-12-28 09:21:22 +01:00
Araq
b3055d8735
attempt to get the stack trace logic right
2017-12-28 09:21:22 +01:00
Araq
6cf2fcaaf1
optimized friendly stack traces
2017-12-28 09:21:22 +01:00
Dominik Picheta
383c80971c
No need to recurse now that mergeEntries doesn't do any pattern matching.
2017-12-28 09:21:22 +01:00
Dominik Picheta
6301e33543
Show only detailed async tracebacks.
2017-12-28 09:21:22 +01:00
Dominik Picheta
391f877e6c
Attempt to provide simplified and detailed tracebacks
2017-12-28 09:21:22 +01:00
Dominik Picheta
3a790c9c72
Rename cb0 to asyncProcName_continue + other improvements to async tracebacks.
2017-12-28 09:21:22 +01:00
Dominik Picheta
a9a13e470b
Go through the re-raise stacks for more detailed tracebacks.
2017-12-28 09:21:22 +01:00
Dominik Picheta
9ca6afe73a
Refine the async tracebacks.
2017-12-28 09:21:22 +01:00
Dominik Picheta
f73015ad9e
Implement some simple pattern-based transformation for async tracebacks.
2017-12-28 09:21:22 +01:00
Araq
f3a895f043
fixes #6965
2017-12-28 00:50:45 +01:00
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