summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* updated db*.nim modulesAndreas Rumpf2015-12-164-53/+36
|
* big update for the db*.nim modules; uses new db_common.nimAndreas Rumpf2015-12-164-143/+188
|
* Merge pull request #3635 from jlp765/odbcsql1Andreas Rumpf2015-12-162-1/+517
|\ | | | | odbcsql.nim and db_odbc.nim
| * add SQLErr (mapped to SQLError in odbc lib)JamesP2015-12-091-1/+37
| | | | | | | | | | | | Add some SQLGetInfo consts Fix SQLSetEnvAttr parameter
| * add db_odbc library moduleJamesP2015-12-091-0/+480
| |
* | Merge pull request #3649 from yglukhov/nil-seq-copyDominik Picheta2015-12-161-7/+12
|\ \ | | | | | | Fixed copying of nil seq in JS
| * | Fixed copying of nil seq in JSYuriy Glukhov2015-12-161-7/+12
| | |
* | | Merge pull request #3647 from rbehrends/fix-tnimtypeAndreas Rumpf2015-12-162-9/+15
|\ \ \ | |/ / |/| | Fix code generation issues with TNimType.
| * | Fix code generation issues with TNimType.Reimer Behrends2015-12-152-9/+15
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an alternative attempt to fix issue #2841 in a way that does not rely on non-standard C compiler behavior. The underlying problem is that the typeinfo module includes system/hti.nim, but system/hti.nim is also included by system.nim. The result is that the compiler at any given point has two instances of TNimType with the same external name and will generate code either for one or both of them. Code generation for the second version is normally suppressed by using {.importc.}, but that results in a missing type declaration for modules that only use the second version. This happens for modules that import typeinfo, because the the second component of typeinfo.Any has type PNimType = ptr TNimType, which generates a "TNimType *" struct member. The previous solution was to have a typedef for TNimType in nimbase.h; however, this results in duplicate typedefs (specifically, but not only for the code generated for typeinfo.nim). Duplicate typedefs with the same type name are allowed in C++ and C11, but are explicitly forbidden in C89 and C99. Modern versions of gcc and clang accept them anyway, but this is not standard-compliant and may break for other C compilers or older versions of gcc and clang. This patch attempts to fix the issue by making the second component of typeinfo.Nim a pointer instead of a PNimType and casting back and forth as needed. Thus, the second version of TNimType occurs only within the code for typeinfo.nim, where it can be safely omitted.
* | disabled appveyor tests since they die with a timeoutAndreas Rumpf2015-12-151-36/+0
| |
* | fixes a critical bug concerning a[^1] rewritingsAndreas Rumpf2015-12-141-1/+1
| |
* | Merge pull request #3641 from qio-io/patch-1Dominik Picheta2015-12-141-5/+5
|\ \ | | | | | | Explicit socket close, and importing the net module
| * | Fixing too many open files on quit command with an explicit socket close, ↵qio-io2015-12-131-5/+5
|/ / | | | | | | and importing the net module
* | Merge pull request #3638 from yglukhov/patch-2Andreas Rumpf2015-12-101-0/+14
|\ \ | |/ |/| Added a few notes regarding JavaScript
| * Added a few notes regarding JavaScriptYuriy Glukhov2015-12-091-0/+14
|/
* Merge pull request #3631 from yglukhov/getaddrinfo-androidDominik Picheta2015-12-081-1/+2
|\ | | | | Fixed getAddrInfo on android
| * Fixed getAddrInfo on androidYuriy Glukhov2015-12-081-1/+2
|/
* Merge pull request #3627 from xiongxin/develDennis Felsing2015-12-071-1/+1
|\ | | | | 7 div 5 == 1
| * 7 div 5 == 1xiongxin2015-12-081-1/+1
|/ | | 7 div 5 == 1
* fixes #3622Andreas Rumpf2015-12-044-6/+7
|
* Merge pull request #3570 from juanfra684/patch-1Dominik Picheta2015-12-041-1/+3
|\ | | | | OpenBSD doesn't support AI_V4MAPPED
| * OpenBSD doesn't support AI_V4MAPPEDJuan Francisco Cantero Hurtado2015-11-231-1/+3
| | | | | | Related to #3534
* | Merge pull request #3595 from dfdeshom/develDominik Picheta2015-12-041-1/+3
|\ \ | | | | | | Print out more detailed error messages when compilation fails
| * | Print out more detailed error messages when compilation failsdfdeshom2015-11-261-1/+3
| | |
* | | Merge pull request #3617 from FedericoCeratto/3611Dominik Picheta2015-12-042-18/+39
|\ \ \ | | | | | | | | Fix fsmonitor filter logic, add test. Closes: #3611
| * | | Fix typo, minor rephrasing.Federico Ceratto2015-12-031-2/+2
| | | |
| * | | Closes: #3611Federico Ceratto2015-12-022-16/+37
| | | |
* | | | Merge pull request #3530 from rbehrends/fix-setop-shiftsAndreas Rumpf2015-12-031-9/+9
|\ \ \ \ | | | | | | | | | | Avoid signed shifts and bit operations for sets.
| * | | | Avoid signed shifts and bit operations for sets.Reimer Behrends2015-11-111-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set operations used "1<<n" style shifts, which led to undefined behavior if the signed shift overflowed. Similarly, the right-hand side of the operator sometimes used a mix of signed and unsigned integers that were combined with "&". This patch attempts to provide a consistent implementation that uses unsigned integers everywhere.
* | | | | Merge pull request #3620 from sqwishy/low-high-example-typoAndreas Rumpf2015-12-031-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Using low() instead of high() in example for low() procedure
| * | | | | Using low() instead of high() in example for low() procedureSqwishy Trick2015-12-021-2/+2
|/ / / / /
* | | | | removes 'x is iterator' special casing in the languageAraq2015-12-0310-50/+29
| | | | |
* | | | | fixes tlocals regressionAraq2015-12-031-1/+1
| |/ / / |/| | |
* | | | Merge pull request #3610 from jlp765/timesXDominik Picheta2015-12-022-117/+127
|\ \ \ \ | | | | | | | | | | Move tests from times module to ttime.nim test file
| * | | | Add comment at end of file on where to find further testsJamesP2015-12-011-0/+3
| | | | |
| * | | | Removal of tests from times module, that have been moved to ttime.nim test fileJamesP2015-12-011-116/+4
| | | | |
| * | | | add assertion tests from times module to ttime.nim test file in tests\stdlibJamesP2015-12-011-2/+121
| | | | |
* | | | | make tests green againAndreas Rumpf2015-12-011-11/+12
| | | | |
* | | | | Merge pull request #3605 from ephja/echo-flushAndreas Rumpf2015-12-011-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | flush after printing
| * | | | flush after printingErik Johansson Andersson2015-11-281-0/+1
| | | | |
* | | | | set debug switch to false againAraq2015-12-011-1/+1
| | | | |
* | | | | proper color flippingAraq2015-12-011-34/+27
| | | | |
* | | | | next steps for the GCAraq2015-12-012-6/+23
| | | | |
* | | | | only mark roots when markingAraq2015-12-011-4/+5
| | | | |
* | | | | first compiling version of the new GCAraq2015-12-012-19/+46
| | | | |
* | | | | cleanup of some testsAraq2015-12-012-5/+5
| | | | |
* | | | | lambda lifting support for iterToProc pluginAraq2015-12-015-18/+88
| | | | |
* | | | | fixes typoAraq2015-12-011-1/+1
| | | | |
* | | | | added CellSetIter for git's historyAraq2015-12-011-0/+35
| | | | |
* | | | | added iterToProc pluginAraq2015-12-013-7/+27
| | | | |