Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SSLFree after SLShutdown to prevent memory leak | wiffel | 2015-02-24 | 2 | -0/+4 |
| | |||||
* | Clean up selectors documentation a bit | def | 2015-02-24 | 1 | -4/+9 |
| | |||||
* | Reuse socket in httpserver | def | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2194 from GrundleTrundle/windows_timer_sub | Andreas Rumpf | 2015-02-22 | 1 | -1/+1 |
|\ | | | | | Fix for timer overflow when using nimprofiler with 32bit Windows target. | ||||
| * | Changed nimprof.hook() to handle uninitialized t0 | GrundleTrundle | 2015-02-21 | 1 | -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-mpairs | Andreas Rumpf | 2015-02-22 | 1 | -1/+1 |
|\ \ | | | | | | | Fix unknown symbol in tables mpairs iterator. | ||||
| * | | Fix unknown symbol in tables mpairs iterator. | Hans Raaf | 2015-02-21 | 1 | -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/devel | Dominik Picheta | 2015-02-21 | 1 | -4/+4 |
|\ \ \ | | | | | | | | | little documentation fix on combine and / | ||||
| * | | | little documentation fix on conbine and / | Stephan Diehl | 2015-02-21 | 1 | -4/+4 |
| |/ / | |||||
* / / | Remove pointless winlean import in net module. | Dominik Picheta | 2015-02-21 | 1 | -3/+0 |
|/ / | |||||
* / | Update net.nim - fix #2193 | Varriount | 2015-02-21 | 1 | -2/+5 |
|/ | | | Fixes number #2193 and resolves some ambiguity issues | ||||
* | Sockets now save a copy of osLastError to work around #2191. | Dominik Picheta | 2015-02-21 | 1 | -4/+22 |
| | |||||
* | Merge pull request #2164 from oderwat/fix-tohex | Andreas Rumpf | 2015-02-19 | 1 | -3/+5 |
|\ | | | | | Fixing toHex() to not wrap for long lens + Test | ||||
| * | Fixing toHex() to not wrap for long lens. | Hans Raaf | 2015-02-18 | 1 | -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/devel | Andreas Rumpf | 2015-02-18 | 1 | -21/+59 |
|\ \ | |/ |/| | Add mgetOrPut to support just one probe chase for the common | ||||
| * | Merge ../Nim into devel | Charles Blake | 2015-02-16 | 28 | -67/+67 |
| |\ | |||||
| * | | Add comments explaining odd looking i<0..data[i]. | Charles Blake | 2015-02-16 | 1 | -3/+3 |
| | | | |||||
| * | | Just do wide interface of hasKeyOrPut & mgetOrPut. | Charles Blake | 2015-02-16 | 1 | -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 Blake | 2015-02-16 | 1 | -0/+5 |
| | | | |||||
| * | | Add mgetOrPut to support just one probe chase for the common | Charles Blake | 2015-02-15 | 1 | -0/+14 |
| | | | | | | | | | | | | pattern of either updating or initializing table entries. | ||||
* | | | intsets.empty is wrong | Araq | 2015-02-18 | 1 | -2/+3 |
| | | | |||||
* | | | Fix a few more warnings | def | 2015-02-17 | 10 | -87/+89 |
| |/ |/| | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 21 | -35/+35 |
| | | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 13 | -36/+36 |
|/ | |||||
* | Merge pull request #2133 from def-/cleanup | Andreas Rumpf | 2015-02-15 | 1 | -2/+3 |
|\ | | | | | Cleanup | ||||
| * | Fix documentation a bit in unicode | def | 2015-02-14 | 1 | -2/+3 |
| | | |||||
* | | Merge pull request #2132 from fowlmouth/patch-2 | Andreas Rumpf | 2015-02-15 | 1 | -1/+1 |
|\ \ | | | | | | | Patch 2 | ||||
| * | | Update basic3d.nim | Billingsly Wetherfordshire | 2015-02-14 | 1 | -1/+1 |
| |/ | | | | | fix rst error | ||||
* | | Merge pull request #2122 from c-blake/devel | Andreas Rumpf | 2015-02-15 | 2 | -74/+158 |
|\ \ | | | | | | | Update collections/tables.nim as with sets.nim | ||||
| * | | assignment -> shallowCopy for efficiency. | Charles Blake | 2015-02-13 | 2 | -2/+2 |
| | | | |||||
| * | | Merge ../Nim into devel; track ttables.nim delete. | Charles Blake | 2015-02-13 | 6 | -67/+407 |
| |\| | |||||
| * | | Update doc comments to mention rightSize. | Charles Blake | 2015-02-13 | 2 | -10/+10 |
| | | | |||||
| * | | Oops - missed updates to a few later rawGet()s. | Charles Blake | 2015-02-12 | 1 | -4/+8 |
| | | | |||||
| * | | Add hcode,rightSize,rawGetKnownHC. Fix inf loop. | Charles Blake | 2015-02-12 | 1 | -60/+140 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make similar changes to those made in sets.nim, including hcode, rightSize rawGet/rawGetKnownHC result protocol, nextTry probe sequence to be the cache friendlier h=h+1 which in turn allows supporting changing deletion to fix the infinite loop bug with local rehashing which in turn has desirable properties of graceful table aging when deletes do happen and also making insert-only usage patterns no longer pay any time/space cost to check deleted status. Unlike collections.sets, this module has add() for duplicate key inserts and a 3rd type of table, CountTable. The first wrinkle is handled by introducing a rawGetDeep for unconditionally adding entries along collision chains. This point of CountTable seems to be space efficiency at 2 items per slot. These changes retain that by keeping the val==0 => EMPTY rule and not caching hash codes. putImpl is expanded in-place for CountTable since the new putImpl() is too different. { Depending on table size relative to caches & key expense, regular Table[A,B] may become faster than CountTable, especially if the basic count update could be something like inc(mGetOrPut(t, key, 0)). } Unit tests pass, but in this module those are much more of just a demo than probing for bugs. Should exercise/test this a little more before merging. | ||||
| * | | Merge /home/cb/pkg/nim/Nim into devel | Charles Blake | 2015-02-10 | 1 | -10/+48 |
| |\ \ | |||||
| * \ \ | Merge Nim into devel | Charles Blake | 2015-02-09 | 1 | -0/+28 |
| |\ \ \ | |||||
* | | | | | Fixed non exhaustive case by adding else | Hans Raaf | 2015-02-15 | 1 | -1/+1 |
| |_|_|/ |/| | | | |||||
* | | | | fixes os.moveFile on Windows | Araq | 2015-02-13 | 1 | -2/+10 |
| | | | | |||||
* | | | | Merge pull request #2097 from jferg2010/devel | Andreas Rumpf | 2015-02-12 | 1 | -1/+328 |
|\ \ \ \ | | | | | | | | | | | Date/time parsing | ||||
| * | | | | Date/time parsing - removed comments from assert | Jeff | 2015-02-11 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Date/time parsing with changes suggested by Araq | Jeff | 2015-02-11 | 1 | -334/+283 |
| | | | | | |||||
| * | | | | Date/time parsing with minor changes requested by Dom96 | Jeff | 2015-02-09 | 1 | -32/+29 |
| | | | | | |||||
| * | | | | Date/time parsing | Jeff | 2015-02-09 | 1 | -7/+388 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #2111 from lyro/fix-2110 | Andreas Rumpf | 2015-02-12 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | fix conditions for int size in 'math.nextPowerOfTwo' #2110 | ||||
| * | | | | fix conditions for int size in 'math.nextPowerOfTwo' #2110 | Frank Fischer | 2015-02-12 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | made a test green | Araq | 2015-02-12 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | fixed minor bugs; cleaned up tests | Araq | 2015-02-12 | 5 | -61/+66 |
|/ / / / | |||||
* | | | | Merge pull request #2078 from c-blake/devel | Andreas Rumpf | 2015-02-11 | 1 | -44/+112 |
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | Add hcode. Re-factor rawGet. Fix infinite loop. | ||||
| * | | Address Andreas' complaint about code duplication. | Charles Blake | 2015-02-07 | 1 | -2/+3 |
| | | | |||||
| * | | Merge /home/cb/pkg/nim/Nim into devel | Charles Blake | 2015-02-07 | 4 | -2/+75 |
| |\ \ | | | | | | | | | | | | | pull from master |