summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Add SNI support to client and server sockets.Nathan Hoad2015-03-071-15/+24
|
* 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
| |
* | Merge pull request #2164 from oderwat/fix-tohexAndreas Rumpf2015-02-191-3/+5
|\ \ | | | | | | Fixing toHex() to not wrap for long lens + Test
| * | Fixing toHex() to not wrap for long lens.Hans Raaf2015-02-181-3/+5
| | | | | | | | | | | | | | | | | | | | | If you specify a len like 32 toHex() will repeat the given value in the output. Besides that I believe my implementation is easier and seems not to change how negative numbers are handled. I also handle the case of wrapping negative number beyond BiggestInt to "do it right".
* | | Merge pull request #2139 from c-blake/develAndreas Rumpf2015-02-181-21/+59
|\ \ \ | |/ / |/| | Add mgetOrPut to support just one probe chase for the common
| * | Merge ../Nim into develCharles Blake2015-02-1628-67/+67
| |\|
| * | Add comments explaining odd looking i<0..data[i].Charles Blake2015-02-161-3/+3
| | |
| * | Just do wide interface of hasKeyOrPut & mgetOrPut.Charles Blake2015-02-161-36/+55
| | | | | | | | | | | | | | | | | | | | | Extract maybe re-hash/re-search and insert logic into a new template. Use this new template to do impl templates for all three put forms (which required renaming a couple 'value' arguments to 'val'). Added OrderedTable and OrderedTableRef versions of both as well.
| * | Add TableRef version of mgetOrPut.Charles Blake2015-02-161-0/+5
| | |
| * | Add mgetOrPut to support just one probe chase for the commonCharles Blake2015-02-151-0/+14
| | | | | | | | | | | | pattern of either updating or initializing table entries.
* | | intsets.empty is wrongAraq2015-02-181-2/+3
| | |
* | | Fix a few more warningsdef2015-02-1710-87/+89
| |/ |/|
* | Fix typosFederico Ceratto2015-02-1521-35/+35
| |