summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Creating and setting comment nodes in macros (#5850)Fredrik Høisæther Rasch2017-05-313-2/+12
| | | | | | | * strVal assingnable comment statement ast nodes * Set comment instead of strVal for comment nodes * Added test code for creating and setting comment nodes * Modified the AST spec documentation for documentation comments
* Remove redundant filestream.close, causes crash (#5907)ftsf2017-05-291-1/+0
| | | File is already being closed by defer: file.close() closing it twice causes crash.
* a few tiny cleanups (#5712)Jacek Sieka2017-05-294-30/+12
| | | exposes emitLazily (for nlvm) and simplifies some conditionals
* Add len for Slice[T] where T is ordinal (#5847)cooldome2017-05-291-0/+8
|
* Merge pull request #5823 from markus-oberhumer/ascii127-is-not-printableVarriount2017-05-262-2/+2
|\ | | | | Ascii character code 127 (DEL) is not printable.
| * Ascii character code 127 (DEL) is not printable.Markus F.X.J. Oberhumer2017-05-162-2/+2
| |
* | Merge pull request #5842 from couven92/readmeVarriount2017-05-261-3/+2
|\ \ | | | | | | Fixed nimsuggest in readme
| * | Fixed nimsuggest in readmeFredrik Høisæther Rasch2017-05-181-3/+2
| | |
* | | Merge pull request #5865 from adamchainz/doc_shebangVarriount2017-05-261-0/+9
|\ \ \ | | | | | | | | Documented shebang execution of Nimscripts
| * | | Documented shebang execution of NimscriptsAdam Johnson2017-05-211-0/+9
| |/ /
* | | Merge pull request #5877 from krux02/more-newLitVarriount2017-05-262-3/+228
|\ \ \ | | | | | | | | more and improved newLit procs in macros module
| * | | more and improved newLit procs in macros moduleArne Döring2017-05-232-3/+228
| | | |
* | | | Merge pull request #5873 from def-/develVarriount2017-05-261-2/+5
|\ \ \ \ | |_|/ / |/| | | Invoke xz -9 explicitly instead of trusting tar to interpret XZ_OPT
| * | | Invoke xz -9 explicitly instead of trusting tar to interpret XZ_OPTDennis Felsing2017-05-231-2/+5
|/ / /
* | | Fixup #5804 (#5837)Yuriy Glukhov2017-05-181-3/+9
| | |
* | | fixes 'koch winrelease'Araq2017-05-181-22/+10
|/ /
* | niminst: add missing nimsuggest tool; small koch.nim cleanupAraq2017-05-172-7/+2
| |
* | Fixes web0 on Mac OS X.Dominik Picheta2017-05-171-1/+1
| |
* | updated version to 0.17.0Araq2017-05-171-2/+2
| |
* | Fix posix_spawn error handling (#5826)Ruslan Mustakov2017-05-171-4/+1
| | | | | | posix_spawn doesn't set errno - it returns the error code.
* | Merge branch 'araq2' into develAraq2017-05-1754-339/+2478
|\ \
| * | file mode changeAraq2017-05-171-0/+0
| | |
| * | cleanup of in/out covariance handlingAndreas Rumpf2017-05-176-37/+32
| | |
| * | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-1725-84/+1017
| |\ \
| | * | fix affecting templates with explicit generic paramsZahary Karadjov2017-05-134-30/+23
| | | |
| | * | fix tinvalidinoutZahary Karadjov2017-05-132-7/+4
| | | |
| | * | attempt to fix a compilation problem caused by nimcacheZahary Karadjov2017-05-131-0/+0
| | | |
| | * | work-around for defining imported types with weak covarianceZahary Karadjov2017-05-132-4/+23
| | | |
| | * | enforce the covariance rules for user-defined generic typesZahary Karadjov2017-05-135-17/+105
| | | |
| | * | manual additions for the covariant generic parametersZahary Karadjov2017-05-121-2/+87
| | | |
| | * | explain covariance in the manualZahary Karadjov2017-05-121-0/+16
| | | |
| | * | covariance for arrays and sequencesZahary Karadjov2017-05-123-48/+245
| | | |
| | * | doh, forgot to add all files in the previous commitZahary Karadjov2017-05-124-15/+65
| | | |
| | * | covariance for generic importc typesZahary Karadjov2017-05-121-0/+253
| | | |
| | * | support for external types with covariant generic paramsZahary Karadjov2017-05-088-3/+62
| | | |
| | * | fix 5756Zahary Karadjov2017-04-302-1/+40
| | | |
| | * | close #5757Zahary Karadjov2017-04-302-3/+23
| | | |
| | * | close #5726Zahary Karadjov2017-04-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turned out that the old code was wrong. I'm not sure why it used to work. `response.body` properly resolves to an async proc defined in the httpclient module with the following signature: proc body*(response: AsyncResponse): Future[string] {.async.} Perhaps the old code was somehow matching the body field of the `AsyncResponse` object, which is marked as private.
| | * | hold back the new | operator for types as it creates mysterious problems fro ↵Zahary Karadjov2017-04-281-3/+0
| | | | | | | | | | | | | | | | tests/trmacros/tor
| | * | alternative fake covariance based on convertersZahary Karadjov2017-04-282-3/+25
| | | |
| | * | more advanced fake covarianceZahary Karadjov2017-04-281-3/+48
| | | |
| | * | a simple way to simulate covariance in generic typesZahary Karadjov2017-04-282-1/+17
| | | |
| | * | Allow tyOr,tyAnd and tyNot to be constructed in more contextsZahary Karadjov2017-04-283-18/+53
| | | |
| * | | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-1639-261/+1472
| |\| |
| | * | fix a regrsesion in signature matching of derived ptr typesZahary Karadjov2017-04-182-3/+25
| | | |
| | * | Restore the compilation of linalg by tweaking the complex disambiguation rulesZahary Karadjov2017-04-161-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is a potentially breaking change, but the problem was that linalg was relying on a previous bug in the compiler, which was fixed in the concepts branch. With the old disambiguation rules, generic procs like: proc \`==\`[T](lhs, rhs: T) and proc \`==\`(lhs, rhs: Matrix32|Matrix64) .. were considered equal, even though it's obvious that the second one should be preferred. We never noticed this, because there was a bug in sigmatch incorrectly counting one of the params of the second proc as a non-generic match, thus giving it an edge. This commit gives some preference to tyOr and tyAnd during the complex disambiguation, which may affect overload resolution in other cases. I see this only as a temporary solution. With my upcoming work on concept refinement, I plan to provide an experimental implementation of alaternative C++-like rules for determining which proc is more specific. We can then discuss our strategy for dealing with such a breaking change.
| | * | fix regression in tmatrixconceptZahary Karadjov2017-04-161-0/+4
| | | |
| | * | more sophisticated test for the previous commitZahary Karadjov2017-04-161-2/+22
| | | |
| | * | fix compilation regression in aleaZahary Karadjov2017-04-164-12/+37
| | | |
| | * | fix a compilation error in linalgZahary Karadjov2017-04-162-25/+39
| | | |