Commit graph

701 commits

Author SHA1 Message Date
Araq
8db5b32ff7 make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 2017-12-15 12:16:03 +01:00
Araq
196977f623 many improvements to random.nim; fixes #4726 2017-12-14 21:37:53 +01:00
Araq
da2f689e09 fixes #6033 2017-12-14 20:49:08 +01:00
Fabian Keller
6df6ec27ec Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
Andreas Rumpf
5e43e0d789
Merge branch 'devel' into async-improvements 2017-12-11 15:12:45 +01:00
Araq
17becb8d30 added allocator improvments to the changelog; closes #6031 2017-12-08 08:07:57 +01:00
Araq
255902f9a5 added macros.unpackVarargs 2017-11-30 15:24:30 +01:00
Andreas Rumpf
33814cf63e language change: change how the experimental dot operators work 2017-11-29 13:31:31 +01:00
Andreas Rumpf
5196cc3a54
Merge branch 'devel' into fixes-6223 2017-11-28 21:56:48 +01:00
Dominik Picheta
45821ea2ab Fixes #4377. 2017-11-28 21:55:29 +01:00
Dominik Picheta
b74a5148a9 Fixes #6223. 2017-11-28 14:33:53 +00:00
Araq
5d2e86ea1a the documentation generator now supports ':test:' for the testing of test snippets 2017-11-28 01:15:33 +01:00
Araq
8d1a5dc8e7 the documentation generator now supports system.runnableExamples 2017-11-26 02:51:11 +01:00
Dominik Picheta
325e4520ec Implements `asyncdispatch.getIoHandler` and assert on nil futures. 2017-11-24 16:30:56 +00:00
Dominik Picheta
e5a27c96fb Implements nativesockets.accept. 2017-11-24 16:29:34 +00:00
Dominik Picheta
66d7091b79 setBlocking(false) is called on AsyncFD in newAsyncSocket proc. 2017-11-24 16:27:43 +00:00
Dominik Picheta
d6870f2e89 Multiple improvements to selectors.
* Added ``getFd`` procedure for retrieving the underlying
  selector's FD.
* Selectors module's procedures now accept an ``int`` as well as a
  ``SocketHandle``.
* ReadyKey now contains the error code for Event.Error events.
2017-11-24 16:25:03 +00:00
Dominik Picheta
3db460f504 The AsyncFD type now implies that the underlying FD is registered.
* `asyncdispatch.register` won't attempt to register an
  ``AsyncFD``, but instead assume that it is already registered.
2017-11-24 16:17:48 +00:00
Andreas Rumpf
844e123061 updated changelog to mention the removal of 'generic' and 'atomic' 2017-11-21 11:29:19 +01:00
Andreas Rumpf
5ccf69ffa3 cleaned up macros.nim 2017-11-19 13:23:04 +01:00
Andreas Rumpf
55cdaaef6f added parseutils.parseSaturatedNatural 2017-11-19 02:58:28 +01:00
Andreas Rumpf
908a25a2ca replaced asArray with a much more powerful mapLiterals macro 2017-11-18 14:18:00 +01:00
lcrees
0594a3a70d Consolidate removed package list 2017-11-16 15:24:24 -07:00
Andreas Rumpf
661ce8b8cb added system.getStackTraceEntries 2017-11-16 22:57:27 +01:00
lcrees
6de04da3a5 Removed deprecated numeric and poly module from the stdlib 2017-11-16 12:40:56 -07:00
Andreas Rumpf
a4d40d137e 'nim doc' is now using version 2 of the documentation generator 2017-11-16 12:53:36 +01:00
Lynn C. Rees
25e825df3a Removed deprecated gentabs module from the stdlib (#6748) 2017-11-16 02:44:49 +01:00
Fabian Keller
5e66a7ce59 Modified handling of zero precision in formatFloat (#6719) 2017-11-15 21:23:33 +01:00
Lynn C. Rees
7f4248dc0c Move deprecated romans module from stdlib to Nimble package (#6660) 2017-11-15 17:28:00 +01:00
Andreas Rumpf
d4cdd92bc9 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-11-07 22:14:55 +01:00
Andreas Rumpf
136dbd3c6a breaking change: countup/'..' only take a simple generic T 2017-11-07 11:49:36 +01:00
treeform
4c7dda37a2 Remove libuv from standard library wrappers. (#6624) 2017-11-06 20:31:33 +01:00
Andreas Rumpf
4e4d466d06 minor breaking change: for loop bodies now get their own scope 2017-11-05 16:53:05 +01:00
Araq
742f43e572 fixes #6609; 'if' expressions support multiple statements; minor breaking change 2017-11-05 01:26:04 +01:00
Lynn C. Rees
b4580ad002 remove pdcurses wrapper (#6617) 2017-10-30 23:21:08 +01:00
Andreas Rumpf
0895064983 getEnv now supports a 'default' parameter; refs #6019 2017-10-30 17:21:05 +01:00
Andreas Rumpf
b14cc1e3b2 fixes #6631 2017-10-30 14:45:57 +01:00
Andreas Rumpf
9565da11e5 added typetraits.; merged PR #5839 manually 2017-10-30 09:24:17 +01:00
Daniil Yarancev
560d87f5fd Fix typo 2017-10-30 11:15:47 +03:00
Andreas Rumpf
90c1b94fbe rationals.toRational now uses an algorithm based on continued fractions; refs #4968 2017-10-30 08:54:43 +01:00
Andreas Rumpf
d7a896f19d breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854 2017-10-30 00:27:30 +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
Andreas Rumpf
c17f6c7837 new feature: package level objects 2017-10-29 07:54:39 +01:00
Araq
9c00f6decd fixes #6526 2017-10-27 20:55:36 +02:00
Dominik Picheta
aa96343f1d Remove reExtended from re constructor. Fixes #5627. (#6514)
* Remove reExtended from re constructor. Fixes #5627.

* Implement `rex` procedure as requested by @Araq.
2017-10-20 21:43:34 +02:00
Andreas Rumpf
9485f1c888 make tests green again 2017-10-16 20:29:16 +02:00
Daniil Yarancev
e29e6ec76e [JSON] getBVal -> getBool; getFNum -> getFloat 2017-10-14 15:49:53 +03:00
Andreas Rumpf
3308d26581 breaking change: arrays of char do not convert to cstring; ptr to array of char does 2017-10-10 00:17:20 +02:00
Dominik Picheta
a585748f27 Remove basic2d/basic3d. 2017-10-01 16:09:05 +01:00