summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Rename clearStringTable to cleardef2015-03-172-3/+3
|
* Some style cleanupdef2015-03-171-3/+3
|
* Make respond a template againdef2015-03-171-11/+11
|
* Move recvInto to asyncnet and don't export itdef2015-03-172-120/+120
|
* Don't export readInto* templatesdef2015-03-171-2/+2
|
* Make recvLineInto a proc instead of templatedef2015-03-172-52/+50
|
* Rename resetStringTable to clearStringTabledef2015-03-172-2/+2
|
* Remove unused newRequest procdef2015-03-171-3/+0
|
* Document asynchttpserver's respond templatedef2015-03-171-1/+1
|
* PNimrodNode -> NimNode in asyncdispatchdef2015-03-171-3/+3
|
* Speed up asynchttpserver significantly using all the previous changesdef2015-03-172-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.def2015-03-171-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 allocationsdef2015-03-171-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 allocationsdef2015-03-171-0/+6
| | | | - resetStringTable proc
* Make uri module usable for faster URI parsing:def2015-03-171-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-/nimnodeAndreas Rumpf2015-03-1730-518/+508
|\ | | | | Rename PNimrodNode to NimNode
| * Rename PNimrodNode to NimNodedef2015-03-1730-518/+508
|/
* Merge pull request #2326 from oderwat/fix-totableAndreas Rumpf2015-03-172-25/+29
|\ | | | | Making tuples anonymous (so far... not finished).
| * Added Test for zip() with anonymous tuples.Hans Raaf2015-03-171-2/+7
| |
| * Making tuples anonymous (so far... not finished).Hans Raaf2015-03-171-23/+22
| |
* | Merge pull request #2337 from kemege/db_charsetAndreas Rumpf2015-03-173-1/+25
|\ \ | | | | | | Add character set options when opening DB connection, default to UTF-8
| * | move database encoding options to setEncoding(), leave open() as it isKeMeGe2015-03-163-13/+31
| | |
| * | Add character set options when opening DB connectionKeMeGe2015-03-143-6/+12
| | |
* | | Merge pull request #2360 from def-/test-fixes-3Andreas Rumpf2015-03-1711-25/+22
|\ \ \ | |_|/ |/| | Fix tests some more
| * | Fix tests some moredef2015-03-1711-25/+22
| | |
* | | fixes #2336Araq2015-03-161-1/+2
|/ /
* | fixes #2359Araq2015-03-161-2/+2
| |
* | fixes #2352Araq2015-03-163-2/+8
| |
* | fixes #2346Araq2015-03-169-97/+107
| |
* | fixes #2257Araq2015-03-164-32/+93
| |
* | macros.getType() works properly for distinct typesAraq2015-03-161-2/+7
| |
* | fixes #2304Araq2015-03-164-5/+22
| |
* | disjoint checker is somewhat smarterAraq2015-03-163-2/+113
| |
* | Merge pull request #2342 from philip-wernersbach/more-improved-objcAndreas Rumpf2015-03-162-1/+26
|\ \ | | | | | | Fix linking errors with basic Objective-C FFI.
| * | Add linker flags for the Objective-C compilation mode.Philip Wernersbach2015-03-151-0/+16
| | | | | | | | | | | | Fixes Araq/Nim#2153.
| * | Add compiler-specific configuration options for all compilers.Philip Wernersbach2015-03-151-1/+10
| | |
* | | Merge pull request #2332 from def-/sections-toc-refAndreas Rumpf2015-03-161-1/+8
|\ \ \ | | | | | | | | rstgen: Unique reference names in TOC
| * | | rstgen: Unique reference names in TOCdef2015-03-131-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_useAndreas Rumpf2015-03-161-2/+2
|\ \ \ \ | | | | | | | | | | Enables use of NSGetEnviron for osx binary compatibility. Refs #965.
| * | | | Enables use of NSGetEnviron for osx binary compatibility. Refs #965.Grzegorz Adam Hankiewicz2015-03-141-2/+2
| | |_|/ | |/| |
* | | | Merge pull request #2343 from philip-wernersbach/fix-pthreads-under-cppAndreas Rumpf2015-03-162-2/+16
|\ \ \ \ | | | | | | | | | | Fix issues with pthread_create when compiling under C++ mode.
| * | | | Add test for fix in f8d6d74368ea14403d1d455db30b669750e71651.Philip Wernersbach2015-03-151-0/+14
| | | | |
| * | | | Fix pthread_create binding when compiling in C++ mode.Philip Wernersbach2015-03-151-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 Picheta2015-03-153-13/+53
|/ / /
* | | Merge pull request #2333 from def-/recursive-typeAndreas Rumpf2015-03-152-0/+10
|\ \ \ | | | | | | | | Fix infinite recursion in semtypes with recursive types
| * | | Add test case for infinite recursion in semtypesdef2015-03-141-0/+8
| | | |
| * | | globalError instead of localError when failing infinite recursiondef2015-03-131-1/+1
| | | | | | | | | | | | | | | | globalError throws an exception, so this works for `nim check` as well.
| * | | Fix infinite recursion in semtypes with recursive typesdef2015-03-131-0/+2
| | | | | | | | | | | | | | | | Fixes #2213
* | | | Merge pull request #2327 from def-/installationAndreas Rumpf2015-03-157-17/+197
|\ \ \ \ | | | | | | | | | | Installation
| * | | | Rename compiler/nim.ini back to compiler/installer.inidef2015-03-135-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