Commit Graph

8449 Commits

Author SHA1 Message Date
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
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
Dominik Picheta
188da1b31f Merge pull request #4260 from abudden/formatSizeNoSideEffect
Added missing noSideEffect pragma
2016-06-02 11:54:19 +01: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
ca6986b89c Merge pull request #4258 from Parashurama/add_unicode_escape
adds support for unicode hexcode in string literals.
2016-06-02 09:55:27 +02: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
Parashurama
8ce9739f11 adds support for unicode hexcode in string literals. 2016-06-01 23:36:46 +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
Andreas Rumpf
a1291a3187 fixes #375 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
5f4ffc6813 Merge pull request #4248 from vegansk/msg_improve
Improve error message for exported generated types
2016-06-01 12:39:59 +02:00
Anatoly Galiulin
88c99ad37c Improve error message for exported generated types 2016-06-01 15:33:00 +06:00
Andreas Rumpf
f7f3d70a68 bugfix: make visibility more robust for macros 2016-06-01 11:01:03 +02:00
Andreas Rumpf
041054e038 fixes #4207 2016-06-01 11:01:03 +02:00
Andreas Rumpf
660cd7ed70 fixes #3532 2016-06-01 11:01:03 +02:00
Andreas Rumpf
65c95e01e4 fixes #1611 2016-06-01 11:01:03 +02: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
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
Yuriy Glukhov
ed96b09e61 Fix dollar for non printable/accessible fields. Fixes #4236. 2016-05-31 12:38:25 +03:00
Andreas Rumpf
f3fdad0eda hotfix: --noNimblePath wasn't working when in a config file 2016-05-31 09:59:17 +02: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