Araq
22fc9a9470
development version is 0.12.1, not 0.12.0
2015-10-29 23:33:27 +01:00
Łukasz Dubiel
8e9441b8cd
Add serach for libssl.so without version suffix.
2015-10-29 20:01:43 +01:00
Hans Raaf
9b64a73bad
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.
2015-10-28 20:36:09 +01:00
Michał Zieliński
da308be2d7
net.nim: add support for Unix sockets
2015-10-28 20:01:48 +01:00
Dominik Picheta
3892969af4
Merge branch 'devel'
2015-10-27 23:36:00 +01:00
Dominik Picheta
30cc353831
Prep for v0.12.0
2015-10-27 22:28:42 +01:00
Dominik Picheta
b186493f01
Merge pull request #3475 from mjoud/shrdoc
...
fixed shr documentation
2015-10-27 21:03:55 +01:00
Dominik Picheta
82f3cab1ac
Improved postgres docs and added untestable tests.
2015-10-27 11:06:00 +01:00
JamesP
a82b9cbda3
fix doco by removing extra ` chars, change a word and
...
line up multi-line text
2015-10-27 11:06:00 +01:00
JamesP
02d882cfbe
add doco outlining the two SQL parameter substitution mechanisms for the 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
2015-10-27 11:05:59 +01:00
JamesP
033c461a87
setupQuery() with SqlQuery take parameter substitution with "?"
...
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
2015-10-27 11:05:59 +01:00
JamesP
b2a48b0ed6
tryExec() with SqlQuery now takes "?" substitution parameters
...
add tryExec() with SqlPrepared parameter
exec() with SqlQuery now expects "?" parameter substitution
2015-10-27 11:05:59 +01:00
JamesP
4e19106221
add check to dbFormat() to verify parameter substitution has "?" identifier
...
add check to prepare() that parameter substitution has "$1" identifier
2015-10-27 11:05:59 +01:00
Araq
e94a6ec1f9
added an assertion
2015-10-27 08:37:43 +01:00
Magnus Jöud
f68330e672
fixed shr documentation
...
add docs on shr filling with zeros
2015-10-26 00:45:48 +01:00
Araq
77dc0e50ff
fixes #3474
2015-10-25 02:38:33 +02:00
Michał Zieliński
3ecf33fa6a
net.nim: destroyContext for destroying SSLContext
2015-10-24 22:48:33 +02:00
Michał Zieliński
ba61a8d00a
net.nim: support for TLS-PSK ciphersuites
2015-10-24 22:17:31 +02:00
Michał Zieliński
3ebf27ddd2
net.nim: support storing arbitrary data inside SSLContext
2015-10-24 08:53:06 +02:00
Federico Ceratto
d1bb246c20
Replace "prefix" with "suffix" in endsWith doc
2015-10-23 17:35:55 +01:00
Andreas Rumpf
1c9f05ef13
Merge pull request #3442 from Dhertz/devel
...
Make sure the json module decodes UTF16 correctly
2015-10-23 02:02:07 +02:00
Andreas Rumpf
ba63ea9e82
Merge pull request #3454 from jlp765/osproc
...
add simple example for execProcess, exeCmd, execCmdEx
2015-10-23 02:01:26 +02:00
Adam Strzelecki
a02359b4e1
system/dyncalls: OS X is already handled as posix
...
So elif defined(mac) has absolutely no effect, also this block uses some legacy
discouraged NSCreateObjectFileImageFromFile function.
2015-10-22 20:40:02 +02:00
Araq
3d512a73e6
documentation improvements; system.nim docs adapted to unix's braindead idea of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either
2015-10-21 02:18:38 +02:00
Araq
d221241ac5
fixes wrong doc comments
2015-10-19 16:11:39 +02:00
Araq
3ccd5ca64b
make terminal.nim work with --app:gui
2015-10-19 16:09:35 +02:00
Araq
03550f14f8
createThread is more convenient to use with a proc taking no arguments
2015-10-19 16:09:35 +02:00
Araq
c977daf9d8
added poDemon flag for process management
2015-10-19 16:09:34 +02:00
JamesP
e84a411e60
add example to proc headings for
...
addr, and, or, xor, div, mod, shl, cmp, setLen
2015-10-19 09:55:42 +10:00
Adam Strzelecki
2bc6acc808
terminal: Support both styled stdout and stderr
...
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).
2015-10-16 20:55:17 +02:00
Adam Strzelecki
9ef50717fa
terminal: Remove superflous hStdout = conHandle
...
Use just hStdout on Windows to keep handle to process stdout.
2015-10-16 20:55:17 +02:00
JamesP
f596e8145d
add simple example for execProcess, exeCmd, execCmdEx
2015-10-16 23:13:14 +10:00
Andreas Rumpf
612d3f84fb
Merge pull request #3437 from nim-lang/threadpool-isready
...
Implement isReady procedure in threadpool module.
2015-10-15 23:55:29 +02:00
Yuriy Glukhov
e7918fe6e5
Avoid extra copy in JS when inserting.
2015-10-15 17:59:23 +03:00
Yuriy Glukhov
2166b7bc46
Fixed ret by var in js
2015-10-15 16:04:53 +03:00
Magnus Jöud
755d89e32d
modified strutils.split
2015-10-14 15:29:27 +02:00
Magnus Jöud
4e8e5af934
added tests for strutils.split
2015-10-14 14:00:51 +02:00
Magnus Jöud
739a8ea060
added maxsplit argument to strutils.split
2015-10-14 13:44:20 +02:00
JamesP
36cf87e6a9
add {.pop.} for {.push debugger:off.} to balance push/pop
2015-10-14 09:11:19 +10:00
Araq
f4bfa076ae
updated httpclient to use tables.getOrDefault
2015-10-14 00:41:04 +02:00
Daniel Hertz
42975e6338
Add UTF-16 decoding tests to json module
2015-10-13 14:56:10 -04:00
Daniel Hertz
e5bcd287f8
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.
2015-10-13 14:42:24 -04:00
Araq
aeb69dbe84
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
2015-10-13 15:54:33 +02:00
Araq
8be9e46403
udpated the compiler and tester to use getOrDefault
2015-10-13 14:10:33 +02:00
rbmz
4548c1aa9b
added all/any/allIt/anyIt with tests and inline documentation
...
Signed-off-by: rbmz <rbmz@users.noreply.github.com >
2015-10-13 01:10:25 -03:00
Araq
2fda95a4d6
added getOrDefault; bootstrapping works again
2015-10-13 03:03:05 +02:00
Araq
d8b0edc323
Merge branch 'mget' of https://github.com/def-/Nim into def--mget
...
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
2015-10-13 00:22:27 +02:00
Dominik Picheta
dda41afe9e
Implement isReady procedure in threadpool module.
2015-10-12 23:05:41 +01:00
Andreas Rumpf
ee93ee5e15
Merge pull request #3335 from SSPkrolik/teardown-move
...
Moved teardown call to try block for namespace access reasons
2015-10-12 21:18:04 +02:00
Araq
c7a3079123
logging.nim: expose underlying 'file' object; errors and fatals flush the buffer; refs #3270
2015-10-12 21:08:44 +02:00