Andreas Rumpf
c11de219e5
Merge pull request #4250 from abudden/4198-formatSize
...
Reimplementation of formatSize to return a more meaningful value
2016-06-02 09:54:11 +02:00
Andreas Rumpf
86c25a1e54
Merge pull request #4257 from Parashurama/change_rune_type
...
change 'Rune' type in unicode module to 'int32'
2016-06-02 01:01:32 +02:00
Parashurama
a98705dddc
change 'Rune' type in unicode module to 'int32'
2016-06-02 00:02:27 +02:00
A. S. Budden
29c8c83972
Modified trimZeros to modify the passed value.
2016-06-01 20:15:55 +01:00
Andreas Rumpf
a7ff60bf73
Merge pull request #4256 from yglukhov/randomize-fix
...
Time has now reference semantics on js
2016-06-01 19:57:04 +02:00
Andreas Rumpf
f125f2e4ce
make split with strings as separator faster
2016-06-01 19:34:02 +02:00
Andreas Rumpf
7f09d6bf1f
attempt to fix serious asynchttpserver regression
2016-06-01 17:59:58 +02:00
Andreas Rumpf
dc4a30c6b1
adds strutils.toHex variant that knows about the used integer size
2016-06-01 17:59:58 +02:00
Yuriy Glukhov
7389662809
Time has now reference semantics on js
2016-06-01 18:46:58 +03:00
A. S. Budden
1b2c599854
Moved zero trimming into a separate function (code review comment)
2016-06-01 14:30:02 +01:00
A. S. Budden
d855ad7045
Reimplementation of formatSize to return a more meaningful value ( fixes #4198 ).
2016-06-01 12:56:01 +01:00
Andreas Rumpf
24a56a2cb6
Merge pull request #4244 from yglukhov/object-dollar
...
Fix dollar for non printable/accessible fields. Fixes #4236 .
2016-05-31 20:25:18 +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
Yuriy Glukhov
ed96b09e61
Fix dollar for non printable/accessible fields. Fixes #4236 .
2016-05-31 12:38:25 +03:00
Andreas Rumpf
893be3a5a4
changed the compiler's path handling; fixes #546
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
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
Konstantin Molchanov
67ae65064c
Stdlib: asyncdispatch: Add proc all.
2016-05-30 17:30:14 +04: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
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
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
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
ab08ee1ce6
widestrs are always available for better interop
2016-05-28 20:18:11 +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
Andreas Rumpf
eba3355393
adds another 'open' to parsecsv; refs #3695
2016-05-28 19:53:43 +02:00
Andreas Rumpf
48f3054404
Merge pull request #4135 from FedericoCeratto/patch-8
...
Add another JSON example
2016-05-28 19:42:24 +02:00
Andreas Rumpf
4e83a24662
Merge branch 'maxsplit' of https://github.com/mjoud/Nim into mjoud-maxsplit
2016-05-28 17:50:36 +02:00
Andreas Rumpf
426306eeb4
fixes #3882
2016-05-28 17:43:47 +02:00
Andreas Rumpf
d3fe4a2db1
Merge pull request #4113 from jcosborn/gettypeinst
...
getTypeInst
2016-05-28 17:14:52 +02:00
Konstantin Molchanov
6075bd4231
Stdlib: httpclient: export strtabs added.
...
When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs.
Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158
2016-05-28 10:25:36 +04:00
Konstantin Molchanov
4006e0b8b7
Stdlib: nre: Add export options
...
This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
2016-05-27 15:27:35 +04:00
cheatfate
49c50e4e21
Introduce template withValue() for tables.nim too.
2016-05-27 01:00:05 +03:00
cheatfate
a2393d0593
Introduce template withValue()
2016-05-26 15:32:14 +03:00
Andreas Rumpf
301d39b882
Merge pull request #4130 from lihf8515/devel
...
Update parsecfg.nim
2016-05-26 10:51:10 +02:00
Andreas Rumpf
ea0dff3783
Merge pull request #4216 from Parashurama/fix_4212
...
fixes issue 4212 && add test for various valid zero floats.
2016-05-25 17:11:57 +02:00