Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename clearStringTable to clear | def | 2015-03-17 | 2 | -3/+3 |
| | |||||
* | Some style cleanup | def | 2015-03-17 | 1 | -3/+3 |
| | |||||
* | Make respond a template again | def | 2015-03-17 | 1 | -11/+11 |
| | |||||
* | Move recvInto to asyncnet and don't export it | def | 2015-03-17 | 2 | -120/+120 |
| | |||||
* | Don't export readInto* templates | def | 2015-03-17 | 1 | -2/+2 |
| | |||||
* | Make recvLineInto a proc instead of template | def | 2015-03-17 | 2 | -52/+50 |
| | |||||
* | Rename resetStringTable to clearStringTable | def | 2015-03-17 | 2 | -2/+2 |
| | |||||
* | Remove unused newRequest proc | def | 2015-03-17 | 1 | -3/+0 |
| | |||||
* | Document asynchttpserver's respond template | def | 2015-03-17 | 1 | -1/+1 |
| | |||||
* | PNimrodNode -> NimNode in asyncdispatch | def | 2015-03-17 | 1 | -3/+3 |
| | |||||
* | Speed up asynchttpserver significantly using all the previous changes | def | 2015-03-17 | 2 | -47/+53 |
| | | | | | | | | | | | | | | | - Export socket field of AsyncHttpServer and addHeaders proc for templates - Make respond a template instead of proc because of how often it's called. This means no more "await" when invoking it. - Optimize respond template with special case for empty headers and Content-Length entry - newRequest doesn't allocate a hostname and body anymore because they're copied in later - Major changes to processClient to prevent allocations and copies | ||||
* | Make asyncnet usable when avoiding allocations. | def | 2015-03-17 | 1 | -61/+98 |
| | | | | | | | | | | | | | | | - readInto, readIntoBuf, are templates instead of procs now - New recvLineInto template that reads directly into a string instead of creating a new one. Used by recvLine proc now - Need fd and bufLen fields of AsyncSocketDesc exported because of the templates - recv returns a shallow string to prevent copying - This gives significant speedups, mostly by using templates instead of creating new Futures and waiting for them all the time. | ||||
* | Make asyncdispatch usable when preventing allocations | def | 2015-03-17 | 1 | -0/+112 |
| | | | | | | | | | | - Added a recvInto proc that takes a cstring as argument and reads into it instead of returning a newly allocated string. This is pretty unnice because of code duplication with recv. Calling recvInto from recv is not a good solution because of the additional future that gets created. - Windows version is totally untested | ||||
* | Make strtabs module usable when avoiding allocations | def | 2015-03-17 | 1 | -0/+6 |
| | | | | - resetStringTable proc | ||||
* | Make uri module usable for faster URI parsing: | def | 2015-03-17 | 1 | -10/+23 |
| | | | | | | - A version of parseUri that takes a uri as parameter and modifies it - Export initUri so you can use the new parseUri better - Avoid creating new strings | ||||
* | Rename PNimrodNode to NimNode | def | 2015-03-17 | 6 | -260/+260 |
| | |||||
* | Making tuples anonymous (so far... not finished). | Hans Raaf | 2015-03-17 | 1 | -23/+22 |
| | |||||
* | Enables use of NSGetEnviron for osx binary compatibility. Refs #965. | Grzegorz Adam Hankiewicz | 2015-03-14 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2296 from SSPkrolik/redis-scan-implementation | Dominik Picheta | 2015-03-13 | 1 | -0/+24 |
|\ | | | | | Added implementation for Redis SCAN command | ||||
| * | Added implementation for Redis SCAN command | krolik | 2015-03-09 | 1 | -0/+24 |
| | | |||||
* | | Merge pull request #2268 from ziotom78/devel | Andreas Rumpf | 2015-03-13 | 1 | -0/+78 |
|\ \ | | | | | | | New templates for getting the limits of FP types added. | ||||
| * | | New template `fpRadix` instead of the exported var `FP_RADIX` | Maurizio Tomasi | 2015-03-11 | 1 | -1/+3 |
| | | | |||||
| * | | Grammar fixes in the docstrings | Maurizio Tomasi | 2015-03-05 | 1 | -8/+8 |
| | | | |||||
| * | | New templates for getting the limits of FP types added. | Maurizio Tomasi | 2015-03-05 | 1 | -0/+76 |
| | | | | | | | | | | | | | | | | | | | | | New variable "FP_RADIX" and new templates "mantissaDigits", "digits", "minExponent", "maxExponent", "min10Exponent", "max10Exponent", "minimumPositiveValue", "maximumPositiveValue", and "epsilon" added to retrieve the limits of floating-point types. | ||||
* | | | fixed log*(logger: RollingFileLogger, level: Level, | teroz | 2015-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | frmt: string, args: varargs[string, ]) | ||||
* | | | Merge pull request #2309 from oderwat/fix-tzname | Dominik Picheta | 2015-03-12 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | Fixes tzname on osx (and presumable bsd). | ||||
| * | | | Adding a call to tzset() to implicitly initialize the tzname infos. | Hans Raaf | 2015-03-12 | 1 | -0/+5 |
| | | | | |||||
* | | | | Merge pull request #2321 from def-/times-js | Andreas Rumpf | 2015-03-12 | 1 | -8/+9 |
|\ \ \ \ | | | | | | | | | | | Fix some compiler warnings in times | ||||
| * | | | | Fix some compiler warnings in times | def | 2015-03-12 | 1 | -8/+9 |
| |/ / / | |||||
* / / / | MD5 module: fixed parameter name | Araq | 2015-03-12 | 1 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #2307 from def-/test-fixes-2 | Andreas Rumpf | 2015-03-12 | 2 | -426/+2 |
|\ \ \ | | | | | | | | | Test fixes 2 | ||||
| * | | | Remove unused rawsockets.pretty.nim | def | 2015-03-10 | 1 | -426/+0 |
| | | | | |||||
| * | | | Check that file passed to getFileInfo is not nil | def | 2015-03-10 | 1 | -0/+2 |
| | | | | |||||
* | | | | Better documentation and rename of sortByIt(). | Hans Raaf | 2015-03-11 | 1 | -4/+17 |
| | | | | |||||
* | | | | Merge pull request #2311 from def-/result-macros | Dominik Picheta | 2015-03-11 | 1 | -1/+12 |
|\ \ \ \ | | | | | | | | | | | Get rid of 'result shadowed' warning for async procs | ||||
| * | | | | Get rid of 'result shadowed' warning for async procs | def | 2015-03-11 | 1 | -1/+12 |
| |/ / / | |||||
* / / / | Fix doc for asyncfile | def | 2015-03-11 | 1 | -8/+8 |
|/ / / | |||||
* | | | fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be used | Araq | 2015-03-10 | 1 | -14/+16 |
| | | | |||||
* | | | Merge pull request #2279 from nathan-hoad/sni-support-for-openssl | Dominik Picheta | 2015-03-10 | 1 | -15/+34 |
|\ \ \ | | | | | | | | | Add SNI support to client and server sockets. | ||||
| * | | | Remvoe the visibility on these, given their forward declarations already | Nathan Hoad | 2015-03-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | specify it. | ||||
| * | | | isIpAddress doesn't have any effects, so fix it up to clean up connect. | Nathan Hoad | 2015-03-08 | 1 | -2/+2 |
| | | | | |||||
| * | | | Make IP address checking more obvious, and add tests for the net module. | Nathan Hoad | 2015-03-07 | 1 | -3/+13 |
| | | | | |||||
| * | | | Add SNI support to client and server sockets. | Nathan Hoad | 2015-03-07 | 1 | -15/+24 |
| | | | | |||||
* | | | | Merge pull request #2291 from def-/parsexml-again2 | Andreas Rumpf | 2015-03-08 | 1 | -8/+5 |
|\ \ \ \ | | | | | | | | | | | Revert my.c changes in parsexml | ||||
| * | | | | Revert my.c changes in parsexml | def | 2015-03-08 | 1 | -8/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Remeasured with the string copy fix (#2255) and isn't faster anymore, so we should opt for the simpler code again. | ||||
* | | | | | don't use conio.h on windows (#2137) | Araq | 2015-03-08 | 1 | -10/+8 |
|/ / / / | |||||
* | | | | Merge pull request #2171 from def-/xmlparse-performance | Andreas Rumpf | 2015-03-08 | 1 | -18/+22 |
|\ \ \ \ | | | | | | | | | | | Improve performance of parsexml | ||||
| * | | | | parsexml: Use slices instead of copyMem | def | 2015-02-27 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Use templates in parsexml instead for performance | def | 2015-02-27 | 1 | -14/+14 |
| | | | | | |||||
| * | | | | Improve performance of parsexml | def | 2015-02-27 | 1 | -11/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - Prevent string copies when not necessary - Don't allocate a new XMLParser.c all the time |