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 | ||||
* | Merge pull request #2364 from def-/nimnode | Andreas Rumpf | 2015-03-17 | 30 | -518/+508 |
|\ | | | | | Rename PNimrodNode to NimNode | ||||
| * | Rename PNimrodNode to NimNode | def | 2015-03-17 | 30 | -518/+508 |
|/ | |||||
* | Merge pull request #2326 from oderwat/fix-totable | Andreas Rumpf | 2015-03-17 | 2 | -25/+29 |
|\ | | | | | Making tuples anonymous (so far... not finished). | ||||
| * | Added Test for zip() with anonymous tuples. | Hans Raaf | 2015-03-17 | 1 | -2/+7 |
| | | |||||
| * | Making tuples anonymous (so far... not finished). | Hans Raaf | 2015-03-17 | 1 | -23/+22 |
| | | |||||
* | | Merge pull request #2337 from kemege/db_charset | Andreas Rumpf | 2015-03-17 | 3 | -1/+25 |
|\ \ | | | | | | | Add character set options when opening DB connection, default to UTF-8 | ||||
| * | | move database encoding options to setEncoding(), leave open() as it is | KeMeGe | 2015-03-16 | 3 | -13/+31 |
| | | | |||||
| * | | Add character set options when opening DB connection | KeMeGe | 2015-03-14 | 3 | -6/+12 |
| | | | |||||
* | | | Merge pull request #2360 from def-/test-fixes-3 | Andreas Rumpf | 2015-03-17 | 11 | -25/+22 |
|\ \ \ | |_|/ |/| | | Fix tests some more | ||||
| * | | Fix tests some more | def | 2015-03-17 | 11 | -25/+22 |
| | | | |||||
* | | | fixes #2336 | Araq | 2015-03-16 | 1 | -1/+2 |
|/ / | |||||
* | | fixes #2359 | Araq | 2015-03-16 | 1 | -2/+2 |
| | | |||||
* | | fixes #2352 | Araq | 2015-03-16 | 3 | -2/+8 |
| | | |||||
* | | fixes #2346 | Araq | 2015-03-16 | 9 | -97/+107 |
| | | |||||
* | | fixes #2257 | Araq | 2015-03-16 | 4 | -32/+93 |
| | | |||||
* | | macros.getType() works properly for distinct types | Araq | 2015-03-16 | 1 | -2/+7 |
| | | |||||
* | | fixes #2304 | Araq | 2015-03-16 | 4 | -5/+22 |
| | | |||||
* | | disjoint checker is somewhat smarter | Araq | 2015-03-16 | 3 | -2/+113 |
| | | |||||
* | | Merge pull request #2342 from philip-wernersbach/more-improved-objc | Andreas Rumpf | 2015-03-16 | 2 | -1/+26 |
|\ \ | | | | | | | Fix linking errors with basic Objective-C FFI. | ||||
| * | | Add linker flags for the Objective-C compilation mode. | Philip Wernersbach | 2015-03-15 | 1 | -0/+16 |
| | | | | | | | | | | | | Fixes Araq/Nim#2153. | ||||
| * | | Add compiler-specific configuration options for all compilers. | Philip Wernersbach | 2015-03-15 | 1 | -1/+10 |
| | | | |||||
* | | | Merge pull request #2332 from def-/sections-toc-ref | Andreas Rumpf | 2015-03-16 | 1 | -1/+8 |
|\ \ \ | | | | | | | | | rstgen: Unique reference names in TOC | ||||
| * | | | rstgen: Unique reference names in TOC | def | 2015-03-13 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | - Fixes #2269 - Keeps track of higher level section to create unique reference names | ||||
* | | | | Merge pull request #2339 from gradha/pr_fixes_osx_environ_use | Andreas Rumpf | 2015-03-16 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Enables use of NSGetEnviron for osx binary compatibility. Refs #965. | ||||
| * | | | | Enables use of NSGetEnviron for osx binary compatibility. Refs #965. | Grzegorz Adam Hankiewicz | 2015-03-14 | 1 | -2/+2 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2343 from philip-wernersbach/fix-pthreads-under-cpp | Andreas Rumpf | 2015-03-16 | 2 | -2/+16 |
|\ \ \ \ | | | | | | | | | | | Fix issues with pthread_create when compiling under C++ mode. | ||||
| * | | | | Add test for fix in f8d6d74368ea14403d1d455db30b669750e71651. | Philip Wernersbach | 2015-03-15 | 1 | -0/+14 |
| | | | | | |||||
| * | | | | Fix pthread_create binding when compiling in C++ mode. | Philip Wernersbach | 2015-03-15 | 1 | -2/+2 |
| | |_|/ | |/| | | | | | | | | | | | | | | C++ has different rules for void pointers, which causes the binding to be invalid when compiling in C++ mode. | ||||
* / | | | Fixes #2323. Fixes #2148. | Dominik Picheta | 2015-03-15 | 3 | -13/+53 |
|/ / / | |||||
* | | | Merge pull request #2333 from def-/recursive-type | Andreas Rumpf | 2015-03-15 | 2 | -0/+10 |
|\ \ \ | | | | | | | | | Fix infinite recursion in semtypes with recursive types | ||||
| * | | | Add test case for infinite recursion in semtypes | def | 2015-03-14 | 1 | -0/+8 |
| | | | | |||||
| * | | | globalError instead of localError when failing infinite recursion | def | 2015-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | globalError throws an exception, so this works for `nim check` as well. | ||||
| * | | | Fix infinite recursion in semtypes with recursive types | def | 2015-03-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Fixes #2213 | ||||
* | | | | Merge pull request #2327 from def-/installation | Andreas Rumpf | 2015-03-15 | 7 | -17/+197 |
|\ \ \ \ | | | | | | | | | | | Installation | ||||
| * | | | | Rename compiler/nim.ini back to compiler/installer.ini | def | 2015-03-13 | 5 | -12/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Niminst has a new -m/--main option to set the main file, by default ini-file with .nim extension (old behaviour) - Koch uses this to pass --main:compiler/nim.nim - Fix includes/links of website.ini |