Commit Graph

693 Commits

Author SHA1 Message Date
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
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
Lynn C. Rees
43cac7f174 Use of deprecated object name (#6256) 2017-08-19 08:48:03 +02:00
Araq
6b3af6a5d7 WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00
Arne Döring
54808ab12f don't filter '\0' characters in string generation 2017-08-07 18:21:21 +02:00
James Cowgill
fed1b0a077 Add mips64 and mips64el CPU platforms (#5866) 2017-08-03 18:37:02 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Arne Döring
11914a23be prevent null characters in $ on collections of char 2017-07-24 23:55:30 +02:00
Arne Döring
ddea990a70 removed newString proc again, reverted some unnecesary changes 2017-07-24 23:21:51 +02:00
Arne Döring
0852be2dec remove $ for ptr/ref, prefer using string over array of char 2017-07-24 23:21:51 +02:00
Arne Döring
1f7fc7f279 arrays can now be printed 2017-07-24 23:21:51 +02:00
Andreas Rumpf
ad608838bf closures have an object type field so that we can perform correct deepCopy() for the BoehmGC target 2017-07-22 11:10:52 +02:00
Andreas Rumpf
ebba9f06ae fixes #5871 2017-07-20 18:42:08 +02:00
Andreas Rumpf
f5e4f8c324 fixes a typo 2017-07-09 01:01:37 +02:00
nonylene
6c708038c1 system.nim: Fix documentation ( 7 div 5 == 1 ) (#6057) 2017-07-06 08:03:24 +02:00
impbox
1ddf10b23b Create system.nim
Fix `deepCopy` incorrect argument description.
2017-06-13 23:21:38 +10:00
zah
39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00
Araq
3c129b7fe5 make development version odd 2017-05-31 14:35:45 +02:00