summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3490 from oderwat/osx-libiconvAndreas Rumpf2015-11-011-10/+4
|\ | | | | Removed libiconv prefix (on OS X) to make encodings compile on OS X.
| * Removed libiconv prefix (on OS X) to make encodings compile on OS X.Hans Raaf2015-10-281-10/+4
| | | | | | | | | | | | | | | | I am not sure since which version OS X does include the libiconv library without the `lib` prefix. But it seems this is the case for some years now. If there are ways to check for the OS X version at compile time this may be needed to support older OS X versions. But I guess thats not needed for most users working with Nim anyway.
* | Use nanoseconds for timeouts less than 1 second on Mac OS X.Dominik Picheta2015-11-011-1/+3
| |
* | Fix poll's timeout for Mac OS X in the seletors module.Dominik Picheta2015-11-011-1/+1
| |
* | development version is 0.12.1, not 0.12.0Araq2015-10-291-1/+1
| |
* | Add serach for libssl.so without version suffix.Łukasz Dubiel2015-10-291-1/+1
|/
* Merge branch 'devel'Dominik Picheta2015-10-27238-63236/+16961
|\
| * Prep for v0.12.0Dominik Picheta2015-10-271-2/+2
| |
| * Merge pull request #3475 from mjoud/shrdocDominik Picheta2015-10-271-4/+5
| |\ | | | | | | fixed shr documentation
| | * fixed shr documentationMagnus Jöud2015-10-261-4/+5
| | | | | | | | | | | | add docs on shr filling with zeros
| * | Improved postgres docs and added untestable tests.Dominik Picheta2015-10-271-43/+42
| | |
| * | fix doco by removing extra ` chars, change a word andJamesP2015-10-271-7/+7
| | | | | | | | | | | | line up multi-line text
| * | add doco outlining the two SQL parameter substitution mechanisms for the ↵JamesP2015-10-271-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db_postgres module adjust doco note: indent by one space shorten doco example lines, by splitting across multiple lines shorten doco line widths by splitting long lines into multi-lines fix to prepare() example in doco "Note:" section
| * | setupQuery() with SqlQuery take parameter substitution with "?"JamesP2015-10-271-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add instantRows() with SqlPrepared parameter fix setupQuery() for SqlQuery to produce a unique identiying query name add rows() iterator with SqlPrepared parameter add execAffectedRows for SqlPrepared
| * | tryExec() with SqlQuery now takes "?" substitution parametersJamesP2015-10-271-5/+11
| | | | | | | | | | | | | | | | | | add tryExec() with SqlPrepared parameter exec() with SqlQuery now expects "?" parameter substitution
| * | add check to dbFormat() to verify parameter substitution has "?" identifierJamesP2015-10-271-0/+4
| | | | | | | | | | | | add check to prepare() that parameter substitution has "$1" identifier
| * | added an assertionAraq2015-10-271-1/+3
| |/
| * fixes #3474Araq2015-10-251-1/+1
| |
| * Merge pull request #3442 from Dhertz/develAndreas Rumpf2015-10-231-8/+32
| |\ | | | | | | Make sure the json module decodes UTF16 correctly
| | * Add UTF-16 decoding tests to json moduleDaniel Hertz2015-10-131-3/+7
| | |
| | * Make sure the json module decodes UTF16 correctlyDaniel Hertz2015-10-131-5/+25
| | | | | | | | | | | | | | | | | | | | | Javascript uses UTF-16 as its internal representation of strings, so JSON does so as well. This means that we could have surrogate pairs, with codepoints above 0xFFFF that take 2 ecape codes to decode.
| * | Merge pull request #3454 from jlp765/osprocAndreas Rumpf2015-10-231-0/+14
| |\ \ | | | | | | | | add simple example for execProcess, exeCmd, execCmdEx
| | * | add simple example for execProcess, exeCmd, execCmdExJamesP2015-10-161-0/+14
| | | |
| * | | system/dyncalls: OS X is already handled as posixAdam Strzelecki2015-10-221-36/+0
| | | | | | | | | | | | | | | | | | | | So elif defined(mac) has absolutely no effect, also this block uses some legacy discouraged NSCreateObjectFileImageFromFile function.
| * | | documentation improvements; system.nim docs adapted to unix's braindead idea ↵Araq2015-10-211-8/+0
| | | | | | | | | | | | | | | | of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either
| * | | fixes wrong doc commentsAraq2015-10-191-4/+4
| | | |
| * | | make terminal.nim work with --app:guiAraq2015-10-191-2/+4
| | | |
| * | | createThread is more convenient to use with a proc taking no argumentsAraq2015-10-191-0/+3
| | | |
| * | | added poDemon flag for process managementAraq2015-10-192-4/+8
| | | |
| * | | add example to proc headings forJamesP2015-10-191-2/+42
| | | | | | | | | | | | | | | | addr, and, or, xor, div, mod, shl, cmp, setLen
| * | | terminal: Support both styled stdout and stderrAdam Strzelecki2015-10-161-118/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is important if we want to write styled diagnostics to stderr, eg. some tool outputting results to stdout, but writing styled error messages to stderr. Previously this module was assuming we are writing only to stdout. Now all module procs take file handle as first argument. Wrappers assuming stdout are provided for backwards compatibility. The new terminal.styledWriteLine(f, args) is provided and documented as counterpart for unstyled plain writeLine(f, args).
| * | | terminal: Remove superflous hStdout = conHandleAdam Strzelecki2015-10-161-17/+13
| |/ / | | | | | | | | | Use just hStdout on Windows to keep handle to process stdout.
| * | Merge pull request #3437 from nim-lang/threadpool-isreadyAndreas Rumpf2015-10-151-0/+11
| |\ \ | | | | | | | | Implement isReady procedure in threadpool module.
| | * | Implement isReady procedure in threadpool module.Dominik Picheta2015-10-121-0/+11
| | | |
| * | | Avoid extra copy in JS when inserting.Yuriy Glukhov2015-10-151-1/+1
| | | |
| * | | Fixed ret by var in jsYuriy Glukhov2015-10-152-4/+11
| | | |
| * | | add {.pop.} for {.push debugger:off.} to balance push/popJamesP2015-10-141-1/+3
| | | |
| * | | updated httpclient to use tables.getOrDefaultAraq2015-10-141-7/+7
| | |/ | |/|
| * | Merge branch 'devel' of https://github.com/nim-lang/Nim into develAraq2015-10-132-1/+95
| |\ \
| | * | added all/any/allIt/anyIt with tests and inline documentationrbmz2015-10-131-0/+93
| | |/ | | | | | | | | | Signed-off-by: rbmz <rbmz@users.noreply.github.com>
| | * Merge pull request #3335 from SSPkrolik/teardown-moveAndreas Rumpf2015-10-121-1/+2
| | |\ | | | | | | | | Moved teardown call to try block for namespace access reasons
| | | * Moved teardown call to try block for namespace access reasonsRostyslav Dzinko2015-09-171-1/+2
| | | |
| * | | udpated the compiler and tester to use getOrDefaultAraq2015-10-1313-40/+59
| | | |
| * | | added getOrDefault; bootstrapping works againAraq2015-10-134-34/+46
| | | |
| * | | Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-135-57/+125
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim
| | * | Rename mget to `[]`def2015-03-316-91/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string
| * | | logging.nim: expose underlying 'file' object; errors and fatals flush the ↵Araq2015-10-121-10/+13
| | | | | | | | | | | | | | | | buffer; refs #3270
| * | | docs now build againAraq2015-10-122-2/+0
| | | |
| * | | Merge pull request #3432 from FedericoCeratto/patch-4Andreas Rumpf2015-10-121-1/+3
| |\ \ \ | | | | | | | | | | Export substituteLog
| | * | | Add substituteLog docsFederico Ceratto2015-10-091-0/+2
| | | | |