Dominik Picheta
b74a5148a9
Fixes #6223 .
2017-11-28 14:33:53 +00:00
Alexander Ivanov
95629acd4d
Exit nodejs with programResult ( #6822 )
2017-11-28 02:30:49 +01:00
Dominik Picheta
06a4dcb17d
Implement doAssertRaises ( #6819 )
2017-11-28 01:57:25 +01:00
Araq
8d1a5dc8e7
the documentation generator now supports system.runnableExamples
2017-11-26 02:51:11 +01:00
Andreas Rumpf
58187f2120
added a warning that the .deprecate statement is unreliable for routines
2017-11-21 11:27:35 +01:00
Andreas Rumpf
e96189c9c3
make '..' work better with mixed integer types for backwards compat
2017-11-18 23:51:54 +01:00
Andreas Rumpf
0d11e09729
fixes #6753
2017-11-18 15:19:06 +01:00
Andreas Rumpf
661ce8b8cb
added system.getStackTraceEntries
2017-11-16 22:57:27 +01:00
Lynn C. Rees
0ab373115c
Trim remaining expr/stmt from stdlib ( #6742 )
2017-11-15 17:34:48 +01:00
Andreas Rumpf
46275f6b8f
fixes #6710
2017-11-08 15:45:26 +01:00
Andreas Rumpf
157d48bc32
make 'nim doc2 system.nim' work again
2017-11-07 15:52:28 +01:00
Andreas Rumpf
bb5bab1b74
make tests green again
2017-11-07 12:57:32 +01:00
Andreas Rumpf
136dbd3c6a
breaking change: countup/'..' only take a simple generic T
2017-11-07 11:49:36 +01:00
Andreas Rumpf
617ba1a209
Merge branch 'devel' into araq
2017-11-07 11:17:20 +01:00
Araq
cd6d734f8b
fixes #6692
2017-11-05 02:51:32 +01:00
Andreas Rumpf
0f5261e971
fixes #6675
2017-11-02 22:09:58 +01:00
Andreas Rumpf
eadba5a345
make countup et al take only a single type parameter in order to prevent type guesses
2017-11-02 19:02:08 +01:00
Andreas Rumpf
30b098fcaf
wip
2017-11-02 15:39:44 +01:00
Simon Krauter
95ec32d124
Extend description of fmWrite
...
Add "Existing files will be cleared!" like in fmReadWriteExisting.
Behavior tested under Linux.
2017-11-01 17:06:17 +01:00
Andreas Rumpf
e58eca8c05
system.'..<' should not be dirty; fixes yet another regression
2017-11-01 14:11:16 +01:00
Andreas Rumpf
f90df170e3
system.nim improvement: make 'len' work with heterogenous slices
2017-11-01 11:53:09 +01:00
Andreas Rumpf
c4b9e683d2
system.nim improvements: make contains for HSlice more flexible; added .inline to the new BackwardsIndex accessors
2017-11-01 11:17:58 +01:00
Fabian Keller
badba83d38
Implementation of high/low for SomeReal ( #6570 )
2017-10-30 17:21:44 +01:00
Andreas Rumpf
b14cc1e3b2
fixes #6631
2017-10-30 14:45:57 +01:00
Andreas Rumpf
8b54db06cb
system.nim: typo
2017-10-29 21:32:42 +01:00
Andreas Rumpf
f1dab39086
remove old implementation of the roof operator; make tests green again; close #6292
2017-10-29 20:36:07 +01:00
Andreas Rumpf
d52a1061b3
work in progress: new implementation for 'a[^1]'
2017-10-29 19:46:17 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Araq
b407f083ba
destructors: work in progress
2017-10-26 00:55:23 +02:00
Araq
9df766491d
default '=sink' and '=destroy' cannot be templates
2017-10-25 17:37:03 +02:00
Emery Hemingway
2ca7b703fb
No implicit quit for Genode ( #6515 )
2017-10-25 13:50:55 +02:00
Araq
45d74f4081
destructors: preparations for upcoming changes
2017-10-17 12:46:49 +02:00
Andreas Rumpf
db0d353281
Merge branch 'stringify-array' of https://github.com/krux02/Nim into krux02-stringify-array
2017-10-09 23:46:24 +02:00
Charlie Barto
d55e02ddf1
fixes to allow the usage of clang on windows with the msvc abi and ms headers ( #6442 )
2017-10-09 17:26:53 +02:00
Andreas Rumpf
2d5fdd288e
system.nim: doc comment fix
2017-10-06 08:14:03 +02:00
Alexander Ivanov
455452e107
Fix node quit ( #6444 )
2017-09-28 08:51:51 +02:00
Andreas Rumpf
f7f3a25be8
first steps of making 'opt' a first class type for Nim
2017-09-25 13:19:36 +02:00
Andreas Rumpf
2e93bac227
Merge branch 'devel' into araq-better-codegen
2017-09-23 20:07:30 +02:00
Andreas Rumpf
c383e4d35e
preparations for string optimizations
2017-09-22 09:57:18 +02:00
ephja
ea47234b35
Array typedesc len ( #6032 )
2017-09-17 15:48:02 +02:00
Andreas Rumpf
28bdf0ac80
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-09-16 10:11:42 +02:00
Emery Hemingway
9258672cee
balance Genode CPU pinning, deadlock at Genode exit ( #6317 )
...
* Genode: balance thread CPU affinities
Genode threads are pinned by defaut to the same CPU as the initial
component entrypoint thread. Thread affinities are also permanent. This
patch pins new threads to CPUs in a round-robin manner. Arbitrary CPU
pinning is not exposed and the 'nimPinToCpu' has no effect.
* Genode: guarantee that 'quit' will not return
On Genode exits are handled by whatever component is acting as parent.
The caller has no guarentee that the parent implementation will halt the
caller's threads, so explicitly deadlock the 'quit' procedure.
2017-09-16 08:02:59 +02:00
Andreas Rumpf
662f043b59
development version is odd
2017-09-15 22:18:39 +02:00
superfunc
387c88d87b
Document inclusiveness of Slices ( #6362 )
2017-09-15 10:47:21 +02:00
Araq
49cc175e4b
version update: 0.17.2
2017-09-06 23:12:41 +02:00
Andreas Rumpf
a08fb61da9
make tests green again
2017-08-31 13:59:25 +02:00
Andreas Rumpf
8d714d2b02
low/high/of are now overloadable operations
2017-08-30 23:14:33 +02:00
Daniil Yarancev
eb8371012c
Fix #6288 ( #6289 was created for wrong branch) ( #6291 )
2017-08-29 15:46:22 +02:00
Daniil Yarancev
a3f82a574f
Fix typo ( #6285 )
2017-08-28 18:14:11 +02:00
Jacek Sieka
22684370b0
remove ArrayDummySize with unchecked arrays ( #5818 )
2017-08-28 15:44:35 +02:00