| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
a, b must both be indexed starting from s after the common
prefix "strip" phase. This resolves issue 3477:
https://github.com/nim-lang/Nim/issues/3477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Maintainers of win32 DLLs can opt to provide libraries with
'decorated' function names (Google "stdcall name decoration"). To
pull a function pointer out of one of these DLLs, you have to pass a
decorated name to getProcAddress. This is painful for the authors
of NIM DLL wrappers - they have to pass manually-decorated strings
to "importc", but only on win32.
This commit adds auto-decoration to nimGetProcAddress. This function
will probe the DLL for the undecorated name, and if that fails, it
will automatically add decoration and try again. That way, the author
of the wrapper doesn't have to deal with it.
|
|
|
| |
Prevents collisions between those C externalized procedures in parseopt and parseopt2.
|
|\
| |
| | |
Fixed issue 3513: wrong setupQuery realization
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Create entity nodes with xmlparser, add a test to xmlparser
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Removed libiconv prefix (on OS X) to make encodings compile on OS X.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| |/
|/| |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
| |\
| | |
| | | |
fixed shr documentation
|
| | |
| | |
| | |
| | | |
add docs on shr filling with zeros
|
| | | |
|
| | |
| | |
| | |
| | | |
line up multi-line text
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
add tryExec() with SqlPrepared parameter
exec() with SqlQuery now expects "?" parameter substitution
|
| | |
| | |
| | |
| | | |
add check to prepare() that parameter substitution has "$1" identifier
|
| |/ |
|
| | |
|
| |\
| | |
| | | |
Make sure the json module decodes UTF16 correctly
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | | |
| | | | |
add simple example for execProcess, exeCmd, execCmdEx
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
So elif defined(mac) has absolutely no effect, also this block uses some legacy
discouraged NSCreateObjectFileImageFromFile function.
|
| | | |
| | | |
| | | |
| | | | |
of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
addr, and, or, xor, div, mod, shl, cmp, setLen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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).
|
| |/ /
| | |
| | |
| | | |
Use just hStdout on Windows to keep handle to process stdout.
|
| |\ \
| | | |
| | | | |
Implement isReady procedure in threadpool module.
|