apense
513423a08d
Corrected various links within documentation
...
Corrected `noSideEffect pragma` links in lib/system
(The newer documentation uses slightly different links)
Corrected `noSideEffect pragma` in types links to match the updated link names
Minor link adjustment in stmts to match the newer link names
2015-05-25 03:15:50 -04:00
Flaviu Tamas
d3ab60c831
Remove Oleah Prypin as author
...
Done on request, see https://github.com/Araq/Nim/pull/2762#issuecomment-105071496
2015-05-24 18:20:37 -04:00
HOLYCOWBATMAN
1dd2379e4c
system.nim -> disabled Uninit warnings
2015-05-24 15:35:24 -04:00
Andreas Rumpf
177129195f
Merge pull request #2671 from rbehrends/fix-register-scan
...
Fix GC scanning of registers on x86_64 architectures.
2015-05-25 00:55:39 +02:00
Andreas Rumpf
28822c431c
Merge pull request #2543 from apense/patch-1
...
Added peeking procedures to streams
2015-05-25 00:52:01 +02:00
Andreas Rumpf
39c00d3dd1
Merge pull request #2733 from apense/patch-4
...
Small sequence fix for algorithm.nim
2015-05-25 00:49:48 +02:00
apense
f610f8c5f0
Added defer statement
...
All peeks should be covered by defer now, I think
2015-05-24 18:36:52 -04:00
apense
d48bcb9873
Rewrote some peeking procedures
...
Use `defer`s and `read...` procs that are already in place. Someone should check that the `defer`s are written correctly. I'm new to using them.
2015-05-21 17:51:41 -04:00
Göran Krampe
0fc53151ba
Tweaked to do commas properly
2015-05-20 12:48:38 +02:00
Philip Witte
c936cf9e8e
Fix bug with asyncdispatch.async and discard statements.
2015-05-20 03:34:48 -07:00
Göran Krampe
2cceaff88a
Fixes #2749 , traverse full inheritance for reprRecord
2015-05-20 11:59:02 +02:00
Flaviu Tamas
caa730127b
Use custom exception for option unpack
2015-05-19 17:47:54 -04:00
Flaviu Tamas
ae0c8573f2
Simplify optionals tests
2015-05-19 16:58:39 -04:00
Flaviu Tamas
a66dcd9d94
Simplify optionals module
2015-05-19 16:52:24 -04:00
Oleh Prypin
32ebcfa8ff
Implement optionals module
2015-05-19 16:38:37 -04:00
Koala Zen
7a2dce8012
refactored lowerBound in algorithm.nim
2015-05-18 14:59:05 -07:00
Dominik Picheta
59e95c015e
Fixes problems introduced by #2738 . Closes 2755.
2015-05-18 21:57:59 +01:00
transfuturist
bc2aaea853
Change check for NimNode items to node kind
2015-05-17 15:05:26 -07:00
Dominik Picheta
baee41499e
Merge pull request #2712 from nanoant/patch/macros-introduce-typenode-for-typedesc
...
Macros: Introduce typeNode(t: typedesc): NimNode
2015-05-17 18:22:55 +01:00
Dominik Picheta
60af6a2653
Merge pull request #2747 from def-/json-inline
...
Make a few json procs inline, improves performance significantly
2015-05-17 18:20:27 +01:00
Dominik Picheta
d937b4cd85
Removes superfluous toUgly, documents toUgly better.
2015-05-17 18:18:33 +01:00
Dominik Picheta
0ab2dc2954
Merge pull request #2738 from onionhammer/devel
...
Improved performance of json rendering with `$`
2015-05-17 18:13:42 +01:00
def
46264a0674
Make a few json procs inline, improves performance significantly
2015-05-17 16:13:06 +02:00
Adam Strzelecki
1d47617d1b
Macros: Introduce getType(t: typedesc): NimNode
...
Since typedesc are exception in macros and they are not implicitly converted to
NimNode on macro call, we need some means to perform such conversion on demand.
Fortunately it is as simple as declaring new magic "NGetType" proc with
typedesc parameter.
NOTE: Keeping actual macro exceptional behavior for typedesc is important,
since it allows passing typedesc macro parameter to other procs or macros
expecting type parameter. If typedesc parameter was implicitly converted, then
we would lost this ability.
2015-05-17 15:28:41 +02:00
Andreas Rumpf
63f1e03278
Merge pull request #2732 from Perelandric/fix_miliseconds
...
Fixed 'milliseconds' spelling in code and docs
2015-05-17 12:04:03 +02:00
transfuturist
3d80fcb8c6
Add value check for NimNode items
2015-05-16 17:50:01 -07:00
transfuturist
7500eed0cf
Better solution: deprecation
2015-05-16 17:26:47 -07:00
transfuturist
939c0a6bb8
NimNode needs an items iterator to be used nicely in for statements
2015-05-16 10:52:44 -07:00
Dominik Picheta
61c7cc2ff7
Merge pull request #2701 from borisvassilev/fill
...
Fill array with same values (was issue #2462 )
2015-05-16 18:52:30 +01:00
onionhammer
30aed77d04
Fixed indentation (2 spaces) part 2
2015-05-16 12:37:07 -05:00
onionhammer
11457bc63b
Fixed indentation (2 spaces)
2015-05-16 12:35:55 -05:00
onionhammer
f1343e52e0
Added comment noting improved performance of non-pretty string conversion
2015-05-16 12:33:00 -05:00
onionhammer
edce0ca2ed
Fixed typo
2015-05-16 11:38:43 -05:00
Erik O'Leary
abc8e88c8a
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2015-05-16 11:34:09 -05:00
apense
7b26df50d7
Small sequence fix for algorithm.nim
...
Since #853 was fixed, this should work fine. The `result = @[]` was swapped to the same syntax, too.
2015-05-15 23:52:55 -04:00
Erik O'Leary
911c5d45ec
Improved performance of "$" on jsonnode
2015-05-15 22:12:31 -05:00
pdw
cb6f867495
Fixed 'milliseconds' spelling in code and docs
2015-05-15 20:15:12 -05:00
apense
e7bc828ef3
Update algorithm.nim
2015-05-14 18:32:26 -04:00
apense
78b7625417
Corrected sortedByIt example
...
`people` needs `var`
2015-05-14 14:16:58 -04:00
Andreas Rumpf
c30d7c3208
Merge pull request #2680 from reactormonk/epc
...
Implements EPC for nim-mode in nimsuggest
2015-05-14 02:16:12 +02:00
Jochen Van de Velde
86c9fffc41
Fix osproc documentation
2015-05-13 18:19:51 +02:00
Andreas Rumpf
2dee0324f3
Merge pull request #2705 from borisvassilev/gcddocs
...
Document explicitly the behaviour of math.gcd with float arguments
2015-05-13 16:34:36 +02:00
Reimer Behrends
28dd0407bb
Fix behavior of os.getFileInfo() for symbolic links.
...
The calls to lstat() and stat() were switched. As a result,
links weren't followed for followLink == true and links were
followed for followLink == false.
2015-05-13 12:26:34 +02:00
Araq
75ccdebd1e
get rid of deprecated effects
2015-05-13 12:19:08 +02:00
Araq
bd4d5db18e
terminal: doc improvments
2015-05-13 12:17:11 +02:00
Boris Vassilev
9723e30647
Document explicitly the behaviour of math.gcd with float arguments
2015-05-13 13:00:20 +03:00
Boris Vassilev
3a3a7d012f
Fill array with same values (was issue #2462 )
2015-05-12 15:52:38 +03:00
krolik
373717968e
new now able to make distinction between ref and non-ref types, so we don't get 'ref ref' type when calling new on ref type
2015-05-12 12:45:34 +03:00
Frank Fischer
749e808e1e
logging: make fmtStr public to be used in user defined loggers
2015-05-11 23:29:51 +02:00
def
fef21e9003
Use -d:builtinOverflow for builtin overflow checks
...
of recent Clang and GCC >= 5.0.
Maybe it's better that it's optional after all. GCC's code with builtin
overflow checks seems to be a bit slower actually, while Clang's is 3
times faster.
2015-05-08 04:00:24 +02:00