Dmitry Atamanov
6cf8a72d49
Windows: fixes getch bug; fixes #6966 ( #7031 )
2018-01-05 17:32:05 +01:00
Andreas Rumpf
67ac1aef59
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-05 12:46:33 +01:00
Mathias Stearn
9f943dbc8e
Don't zeroMem result of boehmAlloc() ( #7029 )
...
From the man page: "Unlike the standard implementations of malloc, GC_malloc
clears the newly allocated storage. GC_malloc_atomic does not."
2018-01-05 08:58:42 +01:00
Andreas Rumpf
3ae434a086
symbol files: do not regenerate method dispatchers for now
2018-01-04 21:08:34 +01:00
Andreas Rumpf
464d037c17
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-04 15:59:10 +01:00
Andreas Rumpf
2e635ab28c
new runtime: added typelayouts.nim
2018-01-04 15:59:03 +01:00
Andreas Rumpf
80fef7c818
allocators.nim: minor typo
2018-01-04 14:16:33 +01:00
Araq
2cf94fe7e7
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-04 00:19:11 +01:00
Araq
05e3a06b6e
nimbase.h: make 'endif' nesting correct
2018-01-04 00:19:04 +01:00
GULPF
30d182e5d6
Unexport epochday procs ( #7024 )
2018-01-03 23:54:36 +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
Andreas Rumpf
64d583d6ca
destroyer pass: disable debug output
2017-12-30 12:55:53 +01: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