summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | |
| * | | | | | Add top of module comment. Re-order definitions toCharles Blake2015-08-021-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type, then converter, then 3 iterators lowest- to highest-level (also fastest to slowest) including a new intermediate iterator lines(MemFile, buffer) that is more like readLine(File) in case that helps anyone port code. Add doc comments. Also have toString just use newString+c_memcpy instead of currently fragile toNimStr which Araq wants a separate PR for.
| * | | | | | Nix unchecked which has no semantics for objects.Charles Blake2015-08-021-1/+1
| | | | | | |
| * | | | | | Merge ../Nim into develCharles Blake2015-07-305-29/+164
| |\ \ \ \ \ \
| * | | | | | | cstring->pointer in MemSlice to make consistent with MemFile andCharles Blake2015-07-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also to make more clear the care required to use MemSlice instances. (E.g., memXXX functions rather than strXXX functions).
| * | | | | | | Remove NUL termination unneeded post toNimStr fix.Charles Blake2015-07-281-1/+0
| | | | | | | |
| * | | | | | | Rename [rR]ecord->[mM]emSlice, rec->ms, End->ending. Also update some comments.Charles Blake2015-07-261-20/+20
| | | | | | | |
| * | | | | | | Beg->data, Len->size to address Varriount's issue. I was unaware ofCharles Blake2015-07-241-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lower case members as a strict style convention.
| * | | | | | | Add MemFile text interface factored so users can optionally skip Nim stringCharles Blake2015-07-241-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | construction (e.g. to filter many lines out before building strings). Only Windows and/or Unix line endings are supported by default, though fiddling with delim/eat arguments can probably support archaic MacOS9 files.
* | | | | | | | added sequtils.reversed; refs #3148Araq2015-08-091-0/+23
| | | | | | | |
* | | | | | | | Modify proc parseHeadertulayang2015-08-091-2/+5
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #3114 from coffeepots/patch-1Dominik Picheta2015-08-081-0/+126
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Procs to decode Time to TimeInfo & TimeInterval
| * | | | | | | Removed unused leapYearsSinceEpochcoffeepots2015-07-311-3/+0
| | | | | | | |
| * | | | | | | Implemented changes suggested by dom96coffeepots2015-07-311-42/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed extraneous exports (and converted const array to separate consts) * Renamed dayOfWeek, dayOfWeekJulian to getDayOfWeek and getDayOfWeekJulian * Renamed decodeTime procs to timeToTimeInfo and timeToTimeInterval * Added some basic descriptions to docs
| * | | | | | | Fixed dayOfWeekJulian, exported SecondScalecoffeepots2015-07-161-5/+7
| | | | | | | |
| * | | | | | | Procs to decode Time to TimeInfo & TimeIntervalcoffeepots2015-07-141-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | Fills in the missing functionality of decoding Time to TimeInfo and TimeInterval, whilst also adding some procs to work with leap years and to get the day of the week based on a date.
* | | | | | | | breaking change: symbol lookups in generics follows spec more closely; fixes ↵Araq2015-08-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #2664