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
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