Commit Graph

9782 Commits

Author SHA1 Message Date
Andreas Rumpf
80f2e3ea00 Merge pull request #4245 from abudden/new-formateng
Modification to implementation of round() such that it returns a floa…
2016-05-31 20:23:50 +02:00
A. S. Budden
695b25100c Changed math.nim tests to use newly defined ==~ operator 2016-05-31 15:53:18 +01:00
A. S. Budden
1b9c66d720 Correction to round0 following review. 2016-05-31 15:16:50 +01:00
A. S. Budden
46a2993917 Implemented function to split floating point numbers at the decimal place (equivalent to C's modf function). Fixes #4195. 2016-05-31 13:26:41 +01:00
A. S. Budden
0cc7c9a13c Modification to implementation of round() such that it returns a float and accepts a places argument (fixes #3473).
This also involved moving some functions around to get the hierarchy correct and the documentation for frexp was modified such that it was clear that it can return a float in either the range [-1, -0.5] or [0.5, 1].
2016-05-31 13:17:40 +01:00
Konstantin Molchanov
c821cebf27 stdlib: asyncdispatch: all: typo fixed. 2016-05-31 15:33:41 +04:00
Konstantin Molchanov
6e8053853b stdlib: asyncdispatch: add proc supports varargs now. 2016-05-31 15:32:30 +04:00
Konstantin Molchanov
5a007a84fc Stdlib: asyncdispatch: all proc: Fix incorect counter value issue. 2016-05-31 14:56:45 +04:00
Konstantin Molchanov
fb9fa5f6a3 Stdlib: asyncdispatch: all proc: Replace req with openarray. 2016-05-31 14:51:24 +04:00
Yuriy Glukhov
ed96b09e61 Fix dollar for non printable/accessible fields. Fixes #4236. 2016-05-31 12:38:25 +03:00
Konstantin Molchanov
bea2af7ba2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-05-31 12:34:09 +04:00
Andreas Rumpf
f3fdad0eda hotfix: --noNimblePath wasn't working when in a config file 2016-05-31 09:59:17 +02:00
Konstantin Molchanov
33f0538566 Stdlib: asyncdispatch: Add support of varargs to all. 2016-05-31 10:21:21 +04:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Andreas Rumpf
1e5926458c fixes #3290 2016-05-31 03:04:45 +02:00
Andreas Rumpf
f2d6edd861 fixes #786 2016-05-31 03:04:45 +02:00
Andreas Rumpf
4886cde781 fixes #765 2016-05-31 03:04:45 +02:00
Andreas Rumpf
4ebd7d0744 fixes #1262 2016-05-31 03:04:45 +02:00
Andreas Rumpf
1a88c01f92 documentation build cleaned up 2016-05-31 03:04:45 +02:00
Andreas Rumpf
ca8214a2a2 fixes #2640 2016-05-31 03:04:45 +02:00
Dominik Picheta
ef303e5a10 Merge pull request #4241 from moigagoo/devel
Stdlib: asyncdispatch: Add proc `all`.
2016-05-30 23:36:31 +01:00
Andreas Rumpf
3cedf3e887 make test green 2016-05-30 17:40:13 +02:00
Dominik Picheta
0ef391b4cc Merge pull request #4242 from nim-lang/ARAQ-fixes-4221
fixes #4221
2016-05-30 16:04:25 +01:00
Andreas Rumpf
b3a3f01d19 fixes #4221 2016-05-30 16:28:20 +02:00
Andreas Rumpf
5edbc20e13 fixes #4238 2016-05-30 16:24:52 +02:00
Andreas Rumpf
95bb19a579 moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02:00
Andreas Rumpf
5575cfd3ec added pure Nim random stdlib module 2016-05-30 16:24:52 +02:00
Andreas Rumpf
4180f59b27 fixes #1713 2016-05-30 16:24:52 +02:00
Konstantin Molchanov
67ae65064c Stdlib: asyncdispatch: Add proc all. 2016-05-30 17:30:14 +04:00
Andreas Rumpf
52ab2f86a8 Merge pull request #4239 from cheatfate/i3059
Let getTimezone() to work properly on BSD
2016-05-30 15:20:08 +02:00
cheatfate
2264bd6097 Adding OpenBSD to defines 2016-05-30 14:39:29 +03:00
cheatfate
b7f2058833 Resolve #3059
Make getTimezone() to work properly on FreeBSD and NetBSD.
2016-05-30 13:18:31 +03:00
Andreas Rumpf
6556ec2ce0 fixes Windows builds 2016-05-30 10:52:47 +02:00
Dominik Picheta
ddca807a89 Merge branch 'girvo-unix-sockets' into devel 2016-05-30 09:38:54 +01:00
Dominik Picheta
a484e3f8c2 Merge branch 'unix-sockets' of https://github.com/girvo/Nim into girvo-unix-sockets 2016-05-30 09:38:37 +01:00
Josh Girvin
b662d22ad1 Adding nimdoc comments as per PR comments
As per @dom96 code review comments in PR #3488
2016-05-30 16:29:38 +10:00
Andreas Rumpf
3e8413d2a1 Merge branch 'apense-patch-8' into devel 2016-05-30 02:05:30 +02:00
Andreas Rumpf
0ef7d802ca Merge branch 'patch-8' of https://github.com/apense/Nim into apense-patch-8 2016-05-30 02:04:25 +02:00
Andreas Rumpf
ad1b34dc30 Merge branch 'nanoant-patch/fix-3496-generic-tmpl-args' into devel 2016-05-30 00:59:27 +02:00
Andreas Rumpf
be2efa69ea refactorings 2016-05-30 00:59:02 +02:00
Andreas Rumpf
e52044660d Merge branch 'patch/fix-3496-generic-tmpl-args' of https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args 2016-05-29 23:58:25 +02:00
Andreas Rumpf
d727581430 make SO_REUSEPORT independent of Linux header 2016-05-29 22:31:31 +02:00
Andreas Rumpf
7bf7c4d49e Merge pull request #4235 from cheatfate/nosignal
Solaris dont have MSG_NOSIGNAL
2016-05-29 22:22:05 +02:00
Andreas Rumpf
380524caa8 Merge pull request #3648 from FedericoCeratto/reuse_port
Add SO_REUSEPORT support
2016-05-29 22:21:56 +02:00
cheatfate
afc922942d Solaris dont have MSG_NOSIGNAL 2016-05-29 23:01:46 +03:00
Andreas Rumpf
552b13efe4 fixes #3729 2016-05-29 21:01:15 +02:00
Andreas Rumpf
e65c89ee28 fixes #4177 2016-05-28 22:40:28 +02:00
Andreas Rumpf
ab08ee1ce6 widestrs are always available for better interop 2016-05-28 20:18:11 +02:00
Andreas Rumpf
27a7caf176 Merge branch 'jlp765-db_odbc2' into devel 2016-05-28 20:12:29 +02:00
Andreas Rumpf
2ac265696b Merge branch 'db_odbc2' of https://github.com/jlp765/Nim into jlp765-db_odbc2 2016-05-28 20:11:24 +02:00