summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Made docgen emit valid XML by defaultFelix Krause2016-01-111-2/+2
|
* Fixed TimeInterval bug.Dominik Picheta2016-01-081-6/+9
|
* Fixed ttime test. Improved docs in times module.Dominik Picheta2016-01-081-3/+16
|
* Merge branch 'times_intervals' of https://github.com/jlp765/Nim into ↵Dominik Picheta2016-01-081-22/+130
|\ | | | | | | jlp765-times_intervals
| * add timeinterval helping functions as per issue #3609JamesP2015-12-081-22/+130
| | | | | | | | | | | | | | | | | | | | add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
* | Lexbase compatible with JSYuriy Glukhov2016-01-061-6/+19
| |
* | Fixes docgen for lib/pure/db_common.nim.Dominik Picheta2016-01-051-1/+3
| | | | | | | | See http://forum.nim-lang.org/t/1916.
* | osproc fix for AndroidYuriy Glukhov2016-01-041-2/+2
| |
* | new db_sqlite requires deadCodeElim:on because not every sqlite3_column_nameAndreas Rumpf2015-12-291-0/+2
| |
* | do not print spurious warnings when dlopen fails; can be re-enabled with ↵Andreas Rumpf2015-12-291-3/+4
| | | | | | | | -d:nimDebugDlOpen
* | Merge branch 'devel' of github.com:nim-lang/Nim into develDominik Picheta2015-12-292-3/+3
|\ \
| * \ Merge pull request #3663 from def-/netbsd-fixDominik Picheta2015-12-251-2/+2
| |\ \ | | | | | | | | Fix osproc compilation on NetBSD, use workaround for missing execvpe
| | * | Fix osproc compilation on NetBSD, use workaround for missing execvpedef2015-12-231-2/+2
| | | |
| * | | Merge pull request #3662 from def-/openbsd-fixDominik Picheta2015-12-241-1/+1
| |\ \ \ | | | | | | | | | | Fix nativesockets compilation on OpenBSD
| | * | | Fix nativesockets compilation on OpenBSD and NetBSDdef2015-12-231-1/+1
| | |/ /
* | / / Fixes incorrect Host header when using httpclient with proxy.Dominik Picheta2015-12-291-5/+5
|/ / /
* / / Task proc in nimscript module will now export the proc it creates.Dominik Picheta2015-12-241-1/+1
|/ /
* | profiling doesn't require call to enableProfilingAndreas Rumpf2015-12-181-0/+1
| |
* | modified the integrated profiler to hopefully produce more reliable resultsAndreas Rumpf2015-12-182-28/+35
| |
* | implements column information retrival for db_sqliteAndreas Rumpf2015-12-171-0/+33
| |
* | fixes InstantRow decl; implements column information retrival for db_mysqlAndreas Rumpf2015-12-171-5/+88
| |
* | added column_table_name procAndreas Rumpf2015-12-171-0/+2
| |
* | added more column information fieldsAndreas Rumpf2015-12-171-1/+6
| |
* | Fixing mysql_field.Hans Raaf2015-12-171-0/+1
| | | | | | | | FIELD had the wrong size which made mysql.fetch_fields() useless.
* | 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
| | | |
* | | | 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.
* / / Fixing too many open files on quit command with an explicit socket close, ↵qio-io2015-12-131-5/+5
|/ / | | | | | | and importing the net module
* | Fixed getAddrInfo on androidYuriy Glukhov2015-12-081-1/+2
| |
* | 7 div 5 == 1xiongxin2015-12-081-1/+1
|/ | | 7 div 5 == 1
* 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-041-18/+27
|\ \ \ | | | | | | | | Fix fsmonitor filter logic, add test. Closes: #3611
| * | | Fix typo, minor rephrasing.Federico Ceratto2015-12-031-2/+2
| | | |
| * | | Closes: #3611Federico Ceratto2015-12-021-16/+25
| | | |
* | | | 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-031-0/+2
|/ / /
* | | 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
| | |
* | | 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
| | |