Commit graph

1,172 commits

Author SHA1 Message Date
Araq
45437eb113 fixes #4220 2018-02-10 14:20:31 +01:00
Andreas Rumpf
49ad131fe2 mark Nim version with .intdefine 2018-02-05 21:12:56 +01:00
Andreas Rumpf
212457f5e0 the .deprecated pragma for procs now supports a user-definable deprecation message 2018-02-02 12:53:38 +01:00
Yuriy Glukhov
a37e47d069 Undeprecate readChar. Closes #7072 (#7156) 2018-01-30 15:55:11 +01:00
Andreas Rumpf
68dfd1729e fixes #6989 2018-01-27 07:59:40 +01:00
Andreas Rumpf
6266c68ab6 writeStackTrace now officially has no IO effect anymore for more convenient debugging 2018-01-21 21:08:51 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Araq
e316665b7b work in progress: 'sink' and 'lent' types 2018-01-07 10:17:19 +01:00
Eduardo Bart
bbfe6e81ad Add newSeqUninitialized, closes #6401 (#6402) 2018-01-03 12:56:35 +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
Araq
d68be11fea Merge branch 'issue-6805' of https://github.com/Veladus/Nim into Veladus-issue-6805 2017-12-15 16:44:01 +01:00
Fabian Keller
6df6ec27ec Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
Veladus
15f72d0cf1 Now analyzes over magics instead of symbol names; but dosn't compile for me 2017-12-11 21:49:28 +01:00
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