summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #2607Araq2015-04-261-1/+1
|
* fixes #2602Araq2015-04-261-0/+1
|
* fixes #2603Araq2015-04-262-8/+8
|
* Merge pull request #2605 from jyapayne/develAndreas Rumpf2015-04-262-2/+2
|\ | | | | Fixed the paths of nimfix and nimsuggest to be relative.
| * Fixed the paths of nimfix and nimsuggest to be relative.Joey Payne2015-04-252-2/+2
| |
* | fixes regression: overloading by 'var'Araq2015-04-253-131/+140
| |
* | marshalling can be done at compile-timeAraq2015-04-258-51/+404
| |
* | fixes #2517Araq2015-04-258-1835/+77
| |
* | fixes #2600Araq2015-04-253-20/+50
| |
* | fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with ↵Araq2015-04-255-17/+38
| | | | | | | | -d:release
* | fixes #2372Araq2015-04-252-1/+13
|/
* Merge branch 'def--clean-speedup-2' into develDominik Picheta2015-04-245-96/+317
|\
| * Fix asyncdispatch on Windows.Dominik Picheta2015-04-242-112/+111
| |
| * Introduce FutureVar[T] to make recvLineInto safer.Dominik Picheta2015-04-243-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 Picheta2015-04-232-8/+7
| |
| * Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into ↵Dominik Picheta2015-04-234-99/+268
| |\ | | | | | | | | | def--clean-speedup-2
| | * 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 #2598 from jyapayne/develAndreas Rumpf2015-04-241-1/+1
|\ \ \ | | | | | | | | Added explicit imports for compiler modules to fix compiling nimsuggest on it's own.
| * | | Removed explicit imports in compiler/nimfix/*.nim and added cfg path ↵Joey Payne2015-04-244-10/+6
| | | | | | | | | | | | | | | | modification
| * | | Added explicit imports for compiler modules to fix compiling nimsuggest.Joey Payne2015-04-243-5/+9
| | | | | | | | | | | | | | | | See https://github.com/nim-lang/nimsuggest/issues/1
* | | | Merge pull request #2601 from def-/fix-termiosAndreas Rumpf2015-04-243-16/+14
|\ \ \ \ | | | | | | | | | | Fix Termios wrapper
| * | | | Fix Termios wrapperdef2015-04-243-16/+14
|/ / / /
* | | | cleanups for underscores in tuple unpackingAraq2015-04-244-42/+67
| | | |
* | | | finishes #2566Araq2015-04-241-2/+2
| | | |
* | | | fixes #2466Araq2015-04-241-52/+52
| | | |
* | | | fixes #2533Araq2015-04-242-2/+2
| | | |
* | | | added test for #2536Araq2015-04-241-0/+38
| | | |
* | | | fixes #2335Araq2015-04-242-3/+29
| | | |
* | | | fixes #2524Araq2015-04-241-1/+1
| | | |
* | | | Merge pull request #2566 from nanoant/parser-diagnostic-locationAndreas Rumpf2015-04-246-4/+50
|\ \ \ \ | | | | | | | | | | Parser: Fix location (line, col) for diagnostics
| * | | | Parser: Test for exact missing ':' location columnAdam Strzelecki2015-04-213-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | This ensures compiler points to the right place when claiming that ':' is missing.
| * | | | Parser: Fix location (line, col) for diagnosticsAdam Strzelecki2015-04-212-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously parser was using lexMessage which was taking location from current buffer position which was pointing after recently consumed token. But since parser shows diagnostics about that token it should point to the location where token starts. This makes diagnostics like: `test.nim(2, 2) Error: ':' expected` point properly at the beginning of the wrong token.
| * | | | msg: Output column numbers starting from 1Adam Strzelecki2015-04-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of editors/IDEs expect column numbers to start from 1, so (1, 1) means beginning of the file. This change applies only to diagnostics output, however Nim will still internally number columns starting from 0.
* | | | | Merge pull request #2437 from Araq/underscore-tuple-unpackAndreas Rumpf2015-04-244-2/+44
|\ \ \ \ \ | | | | | | | | | | | | Implements #2154.
| * | | | | Add sfGenSym for (_).Dominik Picheta2015-04-232-12/+22
| | | | | |
| * | | | | Merge branch 'devel' into underscore-tuple-unpackDominik Picheta2015-04-23171-5423/+6930
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | Conflicts: compiler/semstmts.nim