summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3288 from Snowie/develDominik Picheta2015-09-041-2/+10
|\ | | | | Include port in host header as expected
| * Include port in host header as expectedDoran2015-09-041-2/+10
| |
* | Merge pull request #3285 from ↵Dominik Picheta2015-09-041-38/+39
|\ \ | | | | | | | | | | | | nanoant/patch/lib-pure-osproc-spawn-vs-fork-simplify osproc: Define and select spawn/fork same way
| * | osproc: Define and select spawn/fork same wayAdam Strzelecki2015-09-031-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously startProcessAuxFork was defined even when it was unused, also the compile time condition to select spawn vs fork was not always the same for definitions and calls. This change just defines the condition in one place as constant, then in other places we just check for `when useProcessAuxSpawn`.
* | | split os into os and ospaths parts; ospaths is available for NimScript; ↵Araq2015-09-042-524/+562
| |/ |/| | | | | better NimScript support
* | times: Export & document countLeapYears/Years/DaysAdam Strzelecki2015-09-031-14/+18
|/ | | | | | | | Previously countYears & countDays procs were not public, but there were unused, causing unnecessary warnings generated by standard library. Since these procs seems to be useful it is better to just export them than remove them completely. Also turning inline comments into proper documentation.
* formatFloat takes an optional decimalSep parameterAraq2015-09-011-10/+17
|
* Add :idx: for `suspend` in coro module.Dominik Picheta2015-08-301-0/+2
|
* coro.sleep -> suspendSimon Hafner2015-08-301-5/+5
|
* removed coro deprecationsSimon Hafner2015-08-251-6/+0
|
* removed coro prefixes from coro.nimSimon Hafner2015-08-251-17/+19
|
* Merge pull request #3160 from r-ku/coroutinesAndreas Rumpf2015-08-251-0/+145
|\ | | | | Coroutines
| * Merge branch 'devel' into coroutinesrku2015-08-2011-46/+354
| |\
| * | Coroutine support for i386/amd64 platforms unix/windows OSes ↵rku2015-07-311-0/+145
| | | | | | | | | | | | markAndSweep/refCounting GCs.
* | | implemented nimPinToCpu threadpool featureAraq2015-08-241-1/+9
| | |
* | | Improves osproc.startProcess error message on POSIX. Ref #2183.Dominik Picheta2015-08-231-1/+2
| | |
* | | Improves osproc.startProcess error message. Fixes #2183.Dominik Picheta2015-08-231-1/+8
| | |
* | | Better docs for os.getCreationTime(). Fixes #1058.Dominik Picheta2015-08-231-2/+4
| | |
* | | Fixes parsing of URIs that begin with '//'.Dominik Picheta2015-08-231-7/+20
| | |
* | | math.nim works with NimScriptAraq2015-08-211-7/+9
| | |
* | | Merge pull request #3205 from fenekku/unittest-work-2Andreas Rumpf2015-08-211-15/+21
|\ \ \ | | | | | | | | other unittest pull-request
| * | | make testSetupIMPL and testTeardownIMPL non-publicfenekku2015-08-121-5/+4
| | | |
| * | | failed unittest check causes identifiers and calls to be printed outfenekku2015-08-121-10/+17
| | | |
* | | | Merge pull request #3215 from rbehrends/fix-reversed-emptyAndreas Rumpf2015-08-211-1/+2
|\ \ \ \ | |_|_|/ |/| | | Fixed algorithm.reversed to work for empty seq's.
| * | | Fixed algorithm.reversed to work for empty seq's.Reimer Behrends2015-08-141-1/+2
| | | |
* | | | workaround windows 'findNextFile' bugAraq2015-08-161-1/+8
| | | |
* | | | Merge pull request #3213 from yglukhov/times-js-fixDominik Picheta2015-08-141-16/+18
|\ \ \ \ | | | | | | | | | | Fixed compilation of times module with JS.
| * | | | Fixed compilation of times module with JS.Yuriy Glukhov2015-08-141-16/+18
| |/ / /
* / / / Fix exponentiation operation to avoid overflow.Reimer Behrends2015-08-141-1/+3
|/ / / | | | | | | | | | | | | | | | The exponentation implementation unnecessarily multiplied the result with itself at the end if the exponent was an even number. This led to overflow if result*result > high(int).
* | | Merge pull request #3131 from zachaysan/develDominik Picheta2015-08-131-2/+57
|\ \ \ | | | | | | | | Create chomp proc and tests
| * | | Add extern pragmaZach Aysan2015-07-211-3/+5
| | | |
| * | | Add docsZach Aysan2015-07-211-0/+27
| | | |
| * | | Switch to removeSuffix name and modify the string in placeZach Aysan2015-07-211-46/+27
| | | |
| * | | Create Ruby-like chomp proc to allow for easy string ending removalZach Aysan2015-07-171-1/+46
| | | |
* | | | Fixed fromSeconds function JS variantYuriy Glukhov2015-08-121-1/+1
| |/ / |/| |
* | | removed sequtils.reversed again since it's already in algorithm.nimAraq2015-08-101-23/+0
| | |
* | | Merge pull request #3146 from c-blake/develAndreas Rumpf2015-08-091-0/+96
|\ \ \ | | | | | | | | Add MemFile text interface factored so users can optionally skip Nim …
| * \ \ Merge ../Nim into develCharles Blake2015-08-094-17/+143
| |\ \ \
| * | | | Add note about what is included.Charles Blake2015-08-041-0/+3
| | | | |
| * | | | Use hyperlinks to refer to other procs.Charles Blake2015-08-041-6/+8
| | | | |
| * | | | Expand memSlices doc comment & use better example.Charles Blake2015-08-041-14/+27
| | | | | | | | | | | | | | | | | | | | Have lines() iterators docs point back to memSlices() for details.
| * | | | Merge ../Nim into develCharles Blake2015-08-041-7/+18
| |\ \ \ \
| * | | | | Spruce up doc comments as per dom96 suggestions.Charles Blake2015-08-031-7/+12
| | | | | |
| * | | | | Merge ../Nim into develCharles Blake2015-08-031-5/+11
| |\ \ \ \ \
| * | | | | | toString --> `$`.Charles Blake2015-08-031-1/+1
| | | | | | |
| * | | | | | Merge ../Nim into develCharles Blake2015-08-031-1/+1
| |\ \ \ \ \ \
| * | | | | | | Try to get examples to render right as HTML.Charles Blake2015-08-021-1/+5
| | | | | | | |
| * | | | | | | Add some example code blocks.Charles Blake2015-08-021-2/+10
| | | | | | | |
| * | | | | | | Quote the \ in doc comments.Charles Blake2015-08-021-5/+5
| | | | | | | |
| * | | | | | | Add some little one-line doc comment of MemSlice.Charles Blake2015-08-021-1/+1
| | | | | | | |