Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use -d:builtinOverflow for builtin overflow checks | def | 2015-05-08 | 1 | -141/+110 |
| | | | | | | | | of recent Clang and GCC >= 5.0. Maybe it's better that it's optional after all. GCC's code with builtin overflow checks seems to be a bit slower actually, while Clang's is 3 times faster. | ||||
* | Use builtin overflow functions of Clang and GCC (WIP, RFC) | def | 2015-05-03 | 1 | -0/+99 |
| | | | | | | | | | | | This only works with recent Clang and GCC 5.0. Currently it doesn't work because __has_builtin can't be defined. This is totally ugly. But we can't reliably detect whether we can use the builtins from Nim, especially with cross-compiling where the user may be using an older compiler version. Switching this on/off manually with a define seems weird as well, this should work automatically. | ||||
* | Merge pull request #2639 from HOLYCOWBATMAN/pr-frontpage-slideshow | reactormonk | 2015-05-03 | 1 | -2/+2 |
|\ | | | | | Moved frontpage slideshow controls | ||||
| * | Moved frontpage slideshow controls | HOLYCOWBATMAN | 2015-05-02 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #2618 from yglukhov/dom-body-head | reactormonk | 2015-05-01 | 1 | -0/+2 |
|\ | | | | | Added body and head properties to DOM document. | ||||
| * | Added body and head properties to document. | yglukhov | 2015-04-29 | 1 | -0/+2 |
| | | |||||
* | | version 0.11.0 | Araq | 2015-04-30 | 2 | -8/+25 |
| | | |||||
* | | more cleanups for 0.11.0 | Araq | 2015-04-30 | 9 | -57/+218 |
| | | |||||
* | | Intro for release notes. | Dominik Picheta | 2015-04-30 | 1 | -0/+13 |
| | | |||||
* | | preparations for version 0.11.0 | Araq | 2015-04-30 | 8 | -368/+486 |
| | | |||||
* | | columns are 1 based for nimsuggest | Araq | 2015-04-30 | 1 | -5/+6 |
| | | |||||
* | | fixes regression caused by code cleanups | Araq | 2015-04-29 | 2 | -1/+767 |
| | | |||||
* | | the installer can generate tar.gz | Araq | 2015-04-29 | 2 | -18/+70 |
|/ | |||||
* | fixes #2470, fixes #1354 | Araq | 2015-04-28 | 10 | -69/+319 |
| | |||||
* | sempass2: bugfixes | Araq | 2015-04-28 | 2 | -9/+7 |
| | |||||
* | fixes #1888 | Araq | 2015-04-27 | 9 | -79/+105 |
| | |||||
* | fixes #2577 | Araq | 2015-04-27 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2606 from def-/async | Andreas Rumpf | 2015-04-27 | 3 | -74/+23 |
|\ | | | | | Async | ||||
| * | Add warning about recvLineInto being bound to change | def | 2015-04-26 | 1 | -0/+3 |
| | | |||||
| * | Revert "Introduce FutureVar[T] to make recvLineInto safer." | def | 2015-04-26 | 3 | -74/+20 |
| | | | | | | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457. | ||||
* | | fixes #2607 | Araq | 2015-04-26 | 1 | -1/+1 |
| | | |||||
* | | fixes #2602 | Araq | 2015-04-26 | 1 | -0/+1 |
| | | |||||
* | | fixes #2603 | Araq | 2015-04-26 | 2 | -8/+8 |
|/ | |||||
* | Merge pull request #2605 from jyapayne/devel | Andreas Rumpf | 2015-04-26 | 2 | -2/+2 |
|\ | | | | | Fixed the paths of nimfix and nimsuggest to be relative. | ||||
| * | Fixed the paths of nimfix and nimsuggest to be relative. | Joey Payne | 2015-04-25 | 2 | -2/+2 |
| | | |||||
* | | fixes regression: overloading by 'var' | Araq | 2015-04-25 | 3 | -131/+140 |
| | | |||||
* | | marshalling can be done at compile-time | Araq | 2015-04-25 | 8 | -51/+404 |
| | | |||||
* | | fixes #2517 | Araq | 2015-04-25 | 8 | -1835/+77 |
| | | |||||
* | | fixes #2600 | Araq | 2015-04-25 | 3 | -20/+50 |
| | | |||||
* | | fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with ↵ | Araq | 2015-04-25 | 5 | -17/+38 |
| | | | | | | | | -d:release | ||||
* | | fixes #2372 | Araq | 2015-04-25 | 2 | -1/+13 |
|/ | |||||
* | Merge branch 'def--clean-speedup-2' into devel | Dominik Picheta | 2015-04-24 | 5 | -96/+317 |
|\ | |||||
| * | Fix asyncdispatch on Windows. | Dominik Picheta | 2015-04-24 | 2 | -112/+111 |
| | | |||||
| * | Introduce FutureVar[T] to make recvLineInto safer. | Dominik Picheta | 2015-04-24 | 3 | -20/+74 |
| | | | | | | | | | | | | | | | | | | | | | | FutureVar[T] is a new distinct Future type which is designed to be used for situations where the highest performance is needed. It reduces the number of Future allocations needed. It acts as a replacement for 'var' params in async procs. This commit modifies @def-'s PR in order to make it safer. The recvLineInto procedure has been modified to take a ``FutureVar[string]`` param instead of a ``ptr string`` param. | ||||
| * | Some small cleanup. | Dominik Picheta | 2015-04-23 | 2 | -8/+7 |
| | | |||||
| * | Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into ↵ | Dominik Picheta | 2015-04-23 | 4 | -99/+268 |
| |\ | | | | | | | | | | def--clean-speedup-2 | ||||
| | * | 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 |