summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Fixed table getter not compiling when table value type had not '$' proc ↵krolik2015-03-051-1/+5
| | | | overriden
* Merge pull request #2260 from oderwat/upd-deprecated-repeatsAndreas Rumpf2015-03-044-12/+12
|\ | | | | Updates to remove deprecated repeatStr() and repeatChar() from all files.
| * Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-044-12/+12
| |
* | Merge pull request #2230 from Archs/develAndreas Rumpf2015-03-041-4/+6
|\ \ | | | | | | streams.ssWriteData: Call setLen only when new data truly increases the underlying string buffer
| * | set the correct length for s.data when data truely increasedArchs2015-03-041-2/+2
| | |
| * | streams.ssWriteData: calling setLen only when new data truely increases the ↵Archs2015-03-011-3/+5
| | | | | | | | | | | | underlying string buffer
* | | Merge pull request #2175 from def-/sortedAndreas Rumpf2015-03-041-0/+28
|\ \ \ | |_|/ |/| | sorted & sortByIt
| * | Move sortByIt to algorithm module and add an example for itdef2015-03-032-15/+21
| | |
| * | Rename sortedBy to sortByItdef2015-02-211-1/+1
| | |
| * | Add sortedBy template to sequtilsdef2015-02-201-0/+15
| | |
| * | Add sorted proc to algorithm moduledef2015-02-201-0/+7
| | |
* | | Replaced repeatStr() and repeatChar() with more natural versions.Hans Raaf2015-03-031-10/+31
| | |
* | | parseopt is not deprecated anymoreAraq2015-03-031-3/+6
| | |
* | | Fix buggy rect(), doc comment, and unit test.Charles Blake2015-02-281-3/+4
| | |
* | | Addition of some complex hyperbolic functionsJonathan Edwards2015-02-281-0/+70
| |/ |/|
* | Add for rationalsdef2015-02-271-0/+4
| |
* | Add for easier intialization of rationalsdef2015-02-271-26/+32
| |
* | Merge pull request #1840 from def-/extend-mathAndreas Rumpf2015-02-263-3/+316
|\ \ | | | | | | Rational numbers and a few additions to math and complex
| * | Make Rational an objectdef2015-02-241-31/+36
| | |
| * | Make rationals genericdef2015-02-201-28/+33
| | |
| * | Fix typodef2015-02-191-1/+1
| | |
| * | Change author of rationals moduledef2015-02-191-1/+1
| | |
| * | Make gcd iterative instead of recursivedef2015-02-161-4/+5
| | |
| * | Remove shuffle againdef2015-02-161-8/+0
| | |
| * | Update toInt docdef2015-02-161-2/+2
| | |
| * | Fix division and add testsdef2015-02-161-15/+42
| | |
| * | Change rationals.toInt behaviourdef2015-02-161-4/+4
| | |
| * | Export new math procsdef2015-02-161-2/+2
| | |
| * | Move rational.nim to rationals.nimdef2015-02-161-0/+0
| | |
| * | Fix += and -= for Rationaldef2015-02-161-2/+2
| | |
| * | Add shuffle to math moduledef2015-02-161-0/+8
| | |
| * | Add rational moduledef2015-02-161-0/+228
| | |
| * | Extend complex to convert to/from polar coordinatesdef2015-02-161-2/+25
| | |
| * | Add `^`, gcd and lcm to mathdef2015-02-161-0/+24
| | |
* | | Merge pull request #2208 from def-/walkdirAndreas Rumpf2015-02-251-1/+9
|\ \ \ | | | | | | | | Speed up walkDir significantly
| * | | Use faster walkDir on BSDsdef2015-02-241-1/+1
| | | |
| * | | Fall back to lstat() calls on unsupported filesystemsdef2015-02-241-6/+10
| | | |
| * | | Speed up walkDir significantlydef2015-02-241-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | We only know that this works on Linux and Mac OS X, so other systems use the POSIX conforming version still. This removed the lstat call, which is especially expensive on NFS filesystems for me.
* | | | Add SSLFree after SLShutdown to prevent memory leakwiffel2015-02-242-0/+4
| | | |
* | | | Clean up selectors documentation a bitdef2015-02-241-4/+9
| | | |
* | | | Reuse socket in httpserverdef2015-02-241-1/+1
|/ / /
* | | Merge pull request #2194 from GrundleTrundle/windows_timer_subAndreas Rumpf2015-02-221-1/+1
|\ \ \ | | | | | | | | Fix for timer overflow when using nimprofiler with 32bit Windows target.
| * | | Changed nimprof.hook() to handle uninitialized t0GrundleTrundle2015-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's unlikely, but possible for the conversion to nanoseconds to overflow if QueryPerformanceCounter() returns a large enough timestamp. This change avoids that, at the cost of always taking a sample the first time through when t0 == 0.
* | | | Merge pull request #2198 from oderwat/fix-table-mpairsAndreas Rumpf2015-02-221-1/+1
|\ \ \ \ | | | | | | | | | | Fix unknown symbol in tables mpairs iterator.
| * | | | Fix unknown symbol in tables mpairs iterator.Hans Raaf2015-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes an error with mpairs iterator which was introduced with 5fbcf93860. This is used by nimforum thats why I found it. I also added a testcase for the mpairs iterator.
* | | | | Merge pull request #2195 from stedi67/develDominik Picheta2015-02-211-4/+4
|\ \ \ \ \ | | | | | | | | | | | | little documentation fix on combine and /
| * | | | | little documentation fix on conbine and /Stephan Diehl2015-02-211-4/+4
| |/ / / /
* / / / / Remove pointless winlean import in net module.Dominik Picheta2015-02-211-3/+0
|/ / / /
* / / / Update net.nim - fix #2193Varriount2015-02-211-2/+5
|/ / / | | | | | | Fixes number #2193 and resolves some ambiguity issues
* | / Sockets now save a copy of osLastError to work around #2191.Dominik Picheta2015-02-211-4/+22
| |/ |/|