Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2208 from def-/walkdir | Andreas Rumpf | 2015-02-25 | 2 | -1/+23 |
|\ | | | | | Speed up walkDir significantly | ||||
| * | Use faster walkDir on BSDs | def | 2015-02-24 | 1 | -1/+1 |
| | | |||||
| * | Fall back to lstat() calls on unsupported filesystems | def | 2015-02-24 | 1 | -6/+10 |
| | | |||||
| * | Add some posix dirent documentation | def | 2015-02-24 | 1 | -11/+12 |
| | | |||||
| * | Speed up walkDir significantly | def | 2015-02-24 | 2 | -3/+20 |
| | | | | | | | | | | | | 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. | ||||
* | | disable deprecated warnings for macros module | Araq | 2015-02-25 | 1 | -1/+5 |
| | | |||||
* | | Add SSLFree after SLShutdown to prevent memory leak | wiffel | 2015-02-24 | 2 | -0/+4 |
| | | |||||
* | | fixes #2199, fixes #2197 | Araq | 2015-02-24 | 1 | -1/+1 |
| | | |||||
* | | Clean up selectors documentation a bit | def | 2015-02-24 | 1 | -4/+9 |
| | | |||||
* | | Reuse socket in httpserver | def | 2015-02-24 | 1 | -1/+1 |
|/ | |||||
* | implements a type API for macros | Araq | 2015-02-24 | 1 | -11/+31 |
| | |||||
* | macros.PNimrodNode is now NimNode | Araq | 2015-02-24 | 2 | -25/+37 |
| | |||||
* | Merge pull request #2192 from apense/devel | Andreas Rumpf | 2015-02-22 | 1 | -1/+1 |
|\ | | | | | Corrected SYSTEM_INFO structure to match pointer type on 64-bit systems | ||||
| * | Corrected SYSTEM_INFO structure to match pointer type on 64-bit systems | Jonathan Edwards | 2015-02-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2194 from GrundleTrundle/windows_timer_sub | Andreas Rumpf | 2015-02-22 | 2 | -3/+3 |
|\ \ | | | | | | | 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. | ||||
| * | | Removed int64 -> int downcast in timers.`-` | GrundleTrundle | 2015-02-21 | 1 | -2/+2 |
| |/ | | | | | | | | | On windows when compiling on 32 bit, this can get you a out of range exception for an otherwise valid interval. | ||||
* | | 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 |
| | |||||
* | fixes #2124 | Araq | 2015-02-20 | 2 | -3/+6 |
| | |||||
* | 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". | ||||
* | | Make readBytes and writeBytes work with uint8 | def | 2015-02-18 | 2 | -4/+4 |
| | | | | | | | | | | | | So far only openarray[int8] worked. Now it's openarray[int8|uint8]. This should make sense, since uint8 is comfortable to represent a byte (0-255) and there is already type byte* = uint8 in system. | ||||
* | | 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 | 48 | -173/+175 |
| |\ | |||||
| * | | 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 |
| | | | |||||
* | | | Merge pull request #2155 from def-/warnings | Andreas Rumpf | 2015-02-18 | 13 | -124/+126 |
|\ \ \ | | | | | | | | | Fix a few more warnings | ||||
| * | | | Fix a few more warnings | def | 2015-02-17 | 13 | -124/+126 |
| | |/ | |/| | |||||
* | | | Merge pull request #2156 from def-/usevfork | Andreas Rumpf | 2015-02-18 | 1 | -6/+4 |
|\ \ \ | | | | | | | | | Always use 0x40 for POSIX_SPAWN_USEVFORK | ||||
| * | | | Always use 0x40 for POSIX_SPAWN_USEVFORK | def | 2015-02-17 | 1 | -6/+4 |
| |/ / | |||||
* / / | Fix documentations for declared (instead of defined) | def | 2015-02-18 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #2150 from def-/gc2-compiling | Andreas Rumpf | 2015-02-16 | 2 | -71/+73 |
|\ \ | | | | | | | Make gc2 compile again and fix some deprecation warnings | ||||
| * | | Clean up some more deprecation warnings | def | 2015-02-16 | 2 | -7/+7 |
| | | | |||||
| * | | Make gc2 compile again | def | 2015-02-16 | 1 | -64/+66 |
| |/ | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 36 | -62/+62 |
| | | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 20 | -44/+44 |
|/ | |||||
* | 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 #2115 from oderwat/no-pthread-on-osx | Andreas Rumpf | 2015-02-15 | 1 | -1/+3 |
|\ \ | | | | | | | Disable -pthread for compiler/linker on OSX | ||||
| * | | Disable -pthread for linker on OSX | Hans Raaf | 2015-02-13 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | The -pthread is not needed on Darwin/OS X and the Apple compilers give a warning about this if you use --threads:on with the Nim compiler. | ||||
* | | | Merge pull request #2132 from fowlmouth/patch-2 | Andreas Rumpf | 2015-02-15 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Patch 2 |