Andreas Rumpf
4e72e71284
Merge pull request #4264 from oderwat/add-unicode-rune-offsets
...
Add unicode rune offsets
2016-06-03 19:26:53 +02:00
Dominik Picheta
f73dd02787
Fix broken asyncnet module.
2016-06-03 14:21:37 +01:00
Dominik Picheta
5390c25b60
Modified #3472 to make its API more idiomatic.
2016-06-03 13:22:18 +01:00
Dominik Picheta
c1706463dc
Merge branch 'tls-psk' of https://github.com/zielmicha/nim into zielmicha-tls-psk
2016-06-03 11:52:11 +01:00
Dominik Picheta
f440bb7064
Merge pull request #4243 from moigagoo/devel
...
Stdlib: asyncdispatch: `all` proc: Add support of varargs, fix issues, add tests.
2016-06-03 11:48:32 +01:00
Rostyslav Dzinko
d91b0cbc2b
Implemented SKIPPED test status
2016-06-03 12:02:38 +03:00
Константин Молчанов
3538e00fc7
stdlib: asyncdispatch: all: Docs updated.
2016-06-02 22:23:27 +03:00
Dominik Picheta
cc80eac84b
Add missing httpcore module.
2016-06-02 20:16:25 +01:00
Dominik Picheta
ca7dd345da
Fixes #3847 .
2016-06-02 19:51:16 +01:00
Dominik Picheta
9df1704aa1
Let asynchttpserver pass control of socket to cb for upgrades.
2016-06-02 19:19:47 +01:00
Dominik Picheta
b33fbedec0
httpclient now uses httpcore.HttpHeaders
2016-06-02 18:40:13 +01:00
Dominik Picheta
3074973f54
The asynchttpserver module now uses a HttpHeaders object.
2016-06-02 18:31:22 +01:00
Dominik Picheta
2b162c04b1
Implements tables.clear.
2016-06-02 18:25:10 +01:00
Hans Raaf
2791915d7f
Optimized end offsets and added tests.
...
I hope this also shows that there are use cases. I still think the user
should get warned about performance issues with those procs, which I
added to the doc comments.
2016-06-02 17:47:33 +02:00
Hans Raaf
ac6de565ec
More work in optimizing, names and added substr().
...
This is work in progress. I added an unicode substring. Tried to handle
edgecases more consistent too.
2016-06-02 17:43:10 +02:00
Hans Raaf
1138cf5234
Some procs to deal with Rune position base indexing.
...
It can't be perfect but at least one can index on rune position
efficiently.
2016-06-02 17:43:10 +02:00
Andreas Rumpf
e8d507c859
system. for cstrings uses value comparisons, not reference comparisons
2016-06-02 16:38:20 +02:00
Константин Молчанов
83af9888f5
stdlib: asyncdispatch: all: Redundant closure removed.
2016-06-02 17:20:46 +03:00
Andreas Rumpf
99be6dce81
Merge pull request #4157 from flaviut/update-nre-docs
...
Generate NRE docs for website
2016-06-02 15:30:16 +02:00
Dominik Picheta
b4d0ea6634
Merge pull request #4263 from abudden/4255-json-doc
...
Corrected comments in json pretty/ugly procedures (fixes #4255 ).
2016-06-02 13:46:52 +01:00
A. S. Budden
9150645103
Corrected comments in json pretty/ugly procedures ( fixes #4255 ).
2016-06-02 13:38:43 +01:00
Andreas Rumpf
c5b47628e4
Merge pull request #4261 from abudden/4197-formatEng
...
Implemented string formatting functions for engineering format
2016-06-02 13:55:57 +02:00
A. S. Budden
47b707cd32
Implemented string formatting functions for engineering format ( fixes #4197 ).
2016-06-02 10:27:55 +01:00
A. S. Budden
d16f864b7b
Added missing noSideEffect pragma
2016-06-02 10:25:51 +01:00
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
Konstantin Molchanov
a29f8df5bb
stdlib: asyncdispatch: all: Tests now pass; import sequtils removed; Future[void] case optimized.
2016-06-01 00:54:49 +04:00
Konstantin Molchanov
f44e065356
sttdlib: asyncdispatch: all: Add Future[void] support.
2016-05-31 22:33:51 +04: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
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
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