Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | 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 | ||||
* | | removed a bit of cruft from koch | Araq | 2015-04-22 | 2 | -29/+21 |
| | | |||||
* | | fix #2585 properly | Araq | 2015-04-22 | 1 | -1/+3 |
| | | |||||
* | | fixes #2585 | Araq | 2015-04-22 | 3 | -5/+37 |
| | | |||||
* | | fixes #2447 | Araq | 2015-04-22 | 2 | -2/+3 |
| | | |||||
* | | fixed nil.add for JS | Araq | 2015-04-22 | 1 | -1/+1 |
| | | |||||
* | | news.txt updates; fixes bootstrapping | Araq | 2015-04-22 | 2 | -2/+8 |
| | | |||||
* | | todo.txt updates | Araq | 2015-04-22 | 1 | -2/+10 |
| | | |||||
* | | added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin ↵ | Araq | 2015-04-22 | 10 | -18/+85 |
| | | | | | | | | system to the compiler | ||||
* | | fixes #2581 | Araq | 2015-04-22 | 2 | -9/+40 |
| | | |||||
* | | cleaned up some magics to make room for new magics; added '..<' and '..^' ↵ | Araq | 2015-04-22 | 7 | -21/+23 |
| | | | | | | | | templates | ||||
* | | fixes #2550 | Araq | 2015-04-22 | 2 | -9/+27 |
| | | |||||
* | | Merge pull request #2565 from nanoant/parser-consistency | Andreas Rumpf | 2015-04-22 | 1 | -22/+11 |
|\ \ | | | | | | | Parser consistency | ||||
| * | | Parser: Make exprList() not comsume endToken | Adam Strzelecki | 2015-04-20 | 1 | -14/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes use single comcol or eat for multiple cases. Also this makes exprList responsible for consuming only list of expressions, nothing else which is more logical. As a side-effect compiler is now more consistent about errors, eg.: try # <- missing something echo "try" finally: echo "finally" Triggers: test.nim(2, 6) Error: ':' expected try: echo "try" finally # <- missing something echo "finally" Previously triggered: test.nim(4, 6) Error: invalid indentation But now we got: Error: ':' expected - same as in 1st case | ||||
| * | | Parser: Use colcom(...) when possible | Adam Strzelecki | 2015-04-20 | 1 | -8/+4 |
| | | | | | | | | | | | | This make parsing obligatory colon more consistent across the parser's code. | ||||
* | | | Merge pull request #2583 from BlaXpirit/test-stdlib | Andreas Rumpf | 2015-04-21 | 48 | -100/+152 |
|\ \ \ | | | | | | | | | Test stdlib | ||||
| * | | | Turn some test outputs into actual tests | Oleh Prypin | 2015-04-21 | 13 | -52/+84 |
| | | | | |||||
| * | | | Fix romans module | Oleh Prypin | 2015-04-21 | 1 | -6/+3 |
| | | | | |||||
| * | | | Fix a test in xmltree | Oleh Prypin | 2015-04-21 | 1 | -1/+2 |
| | | | | |||||
| * | | | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 46 | -82/+104 |
| | | | | |||||
* | | | | Merge pull request #2580 from def-/test-fixes-4 | Andreas Rumpf | 2015-04-21 | 2 | -4/+4 |
|\ \ \ \ | |/ / / |/| | | | Fix expected tester messages | ||||
| * | | | Fix expected tester messages | def | 2015-04-21 | 2 | -4/+4 |
|/ / / | |||||
* | | | Merge pull request #2411 from reactormonk/merge-counttables | Andreas Rumpf | 2015-04-21 | 1 | -0/+61 |
|\ \ \ | | | | | | | | | merge for CountTable, see #1680 | ||||
| * | | | doc comments for merge | Simon Hafner | 2015-03-26 | 1 | -0/+3 |
| | | | | |||||
| * | | | merge for CountTable, see #1680 | Simon Hafner | 2015-03-26 | 1 | -0/+58 |
| | | | | |||||
* | | | | Merge pull request #2572 from maxgrenderjones/fix-2431-against-devel | Andreas Rumpf | 2015-04-21 | 1 | -16/+27 |
|\ \ \ \ | | | | | | | | | | | {} returns nested results in json & standardise on 'key' not 'name' | ||||
| * | | | | Allow {} to return nested results in json & standardise on 'key' not 'name' | Max Grender-Jones | 2015-04-18 | 1 | -16/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Note now returns nil if users try to index into a non-object; old behaviour was to throw a runtime error - Also s/transverse/traverse/ | ||||
* | | | | | Merge pull request #2506 from BlaXpirit/update-pcre | Andreas Rumpf | 2015-04-21 | 2 | -316/+460 |
|\ \ \ \ \ | | | | | | | | | | | | | Update and improve PCRE wrapper | ||||
| * | | | | | Fix a flag in PCRE: change to 'usePcreHeader' | Oleh Prypin | 2015-04-10 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Change datatypes and remove broken editable procs from PCRE | Oleh Prypin | 2015-04-10 | 1 | -23/+11 |
| | | | | | | |||||
| * | | | | | Fix deprecation warnings in re | Oleh Prypin | 2015-04-10 | 1 | -7/+7 |
| | | | | | | |||||
| * | | | | | Update and improve PCRE wrapper | Oleh Prypin | 2015-04-10 | 1 | -307/+463 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Version 8.36 (was 8.31) - Support for editable functions - Name arguments according to docs - Cosmetics | ||||
* | | | | | | Merge pull request #2449 from def-/slice-items | Andreas Rumpf | 2015-04-21 | 1 | -0/+6 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add items iterator for slices | ||||
| * | | | | | | Add items iterator for slices | def | 2015-04-03 | 1 | -0/+6 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #2575 from nanoant/test-for-error-location-column | Andreas Rumpf | 2015-04-21 | 2 | -6/+15 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Tests: Optional error location column spec |