summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2208 from def-/walkdirAndreas Rumpf2015-02-252-1/+23
|\ | | | | 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
| |
| * Add some posix dirent documentationdef2015-02-241-11/+12
| |
| * Speed up walkDir significantlydef2015-02-242-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 moduleAraq2015-02-251-1/+5
| |
* | Add SSLFree after SLShutdown to prevent memory leakwiffel2015-02-242-0/+4
| |
* | fixes #2199, fixes #2197Araq2015-02-241-1/+1
| |
* | Clean up selectors documentation a bitdef2015-02-241-4/+9
| |
* | Reuse socket in httpserverdef2015-02-241-1/+1
|/
* implements a type API for macrosAraq2015-02-241-11/+31
|
* macros.PNimrodNode is now NimNodeAraq2015-02-242-25/+37
|
* Merge pull request #2192 from apense/develAndreas Rumpf2015-02-221-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 systemsJonathan Edwards2015-02-211-1/+1
| |
* | Merge pull request #2194 from GrundleTrundle/windows_timer_subAndreas Rumpf2015-02-222-3/+3
|\ \ | | | | | | 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.
| * | Removed int64 -> int downcast in timers.`-`GrundleTrundle2015-02-211-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-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
|
* fixes #2124Araq2015-02-202-3/+6
|
* 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".
* | Make readBytes and writeBytes work with uint8def2015-02-182-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/develAndreas Rumpf2015-02-181-21/+59
|\ \ | |/ |/| Add mgetOrPut to support just one probe chase for the common
| * Merge ../Nim into develCharles Blake2015-02-1648-173/+175
| |\
| * | 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
| | |
* | | Merge pull request #2155 from def-/warningsAndreas Rumpf2015-02-1813-124/+126
|\ \ \ | | | | | | | | Fix a few more warnings
| * | | Fix a few more warningsdef2015-02-1713-124/+126
| | |/ | |/|
* | | Merge pull request #2156 from def-/usevforkAndreas Rumpf2015-02-181-6/+4
|\ \ \ | | | | | | | | Always use 0x40 for POSIX_SPAWN_USEVFORK
| * | | Always use 0x40 for POSIX_SPAWN_USEVFORKdef2015-02-171-6/+4
| |/ /
* / / Fix documentations for declared (instead of defined)def2015-02-181-1/+1
|/ /
* | Merge pull request #2150 from def-/gc2-compilingAndreas Rumpf2015-02-162-71/+73
|\ \ | | | | | | Make gc2 compile again and fix some deprecation warnings
| * | Clean up some more deprecation warningsdef2015-02-162-7/+7
| | |
| * | Make gc2 compile againdef2015-02-161-64/+66
| |/
* | Fix typosFederico Ceratto2015-02-1536-62/+62
| |
* | Fix typosFederico Ceratto2015-02-1520-44/+44
|/
* Merge pull request #2133 from def-/cleanupAndreas Rumpf2015-02-151-2/+3
|\ | | | | Cleanup
| * Fix documentation a bit in unicodedef2015-02-141-2/+3
| |
* | Merge pull request #2115 from oderwat/no-pthread-on-osxAndreas Rumpf2015-02-151-1/+3
|\ \ | | | | | | Disable -pthread for compiler/linker on OSX
| * | Disable -pthread for linker on OSXHans Raaf2015-02-131-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-2Andreas Rumpf2015-02-151-1/+1
|\ \ \ | | | | | | | | Patch 2