| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
buffer; refs #3270
|
| |
|
|\
| |
| | |
Export substituteLog
|
| | |
|
| |
| |
| | |
Allow Nim users to create their own loggers
|
|\ \
| | |
| | | |
Break sequtils
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added procs:
isAlpha
isAlphaNumeric
isDigit
isSpace
isUpper
isLower
|
|\ \
| | |
| | | |
added hash procs for handling portions of strings/arrays/seqs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
added tests at bottom of file
changed some doco layout
Makes hashing iteratively through buffers faster when you
don't have to pass copied portions of the buffer to the
hash function
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Add proc to change an element tag and proc to insert xmlnode child
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
| |/|
| | |
| | | |
changes in StringTableRef disabling inc of counter
|
| |\ \
| | | |
| | | | |
rationals add toRational(float) conversion
|
| | | |
| | | |
| | | |
| | | | |
approx for specified precision
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.
A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
|
| |\ \
| | | |
| | | | |
Patch/separate deprecated modules
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This gives clear indication what modules are now deprecated and reduce clutter
in non-deprecated module directories.
|
| |\ \ \
| | | | |
| | | | | |
rawsockets: Fix getaddrinfo on FreeBSD
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently due bug in FreeBSD passing AI_V4MAPPED to addrinfo.ai_flags causes
getaddrinfo to fail with EAI_BADFLAGS ("Invalid value for ai_flags"). That's
why we should disable this flag for now on FreeBSD.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
testament/tester
FAIL: coro.nim
Test "lib/pure/coro.nim" in category "lib"
Failure: reOutputsDiffer
Expected:
Gotten:
c1
c2
c2
c1
c2
c1
c2
c1
c1 exits
c2 exits
done 1100220033
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FAIL: math.nim
Test "lib/pure/math.nim" in category "lib"
Failure: reExitcodesDiffer
Expected:
exitcode: 0
Gotten:
exitcode: 1
Output:
Traceback (most recent call last)
math.nim(478) math
system.nim(3343) failedAssertImpl
system.nim(3335) raiseAssert
system.nim(2531) sysFatal
Error: unhandled exception: tgamma(5.0'f64) == 24.0'f64 [AssertionError]
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FAIL: trawsockets.nim
Test "tests/cpp/trawsockets.nim" in category "cpp"
Failure: reNimcCrash
Expected:
Gotten:
Hint: system [Processing]
Hint: trawsockets [Processing]
Hint: rawsockets [Processing]
Hint: unsigned [Processing]
lib/pure/rawsockets.nim(15, 8) Warning: unsigned is deprecated [Deprecated]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
Hint: posix [Processing]
CC: compiler_trawsockets
CC: stdlib_system
CC: stdlib_rawsockets
CC: stdlib_unsigned
CC: stdlib_os
CC: stdlib_strutils
Error: execution of an external compiler program 'clang++ -c -w -I/Users/tmm1/code/nim/lib -o tests/cpp/nimcache/stdlib_rawsockets.o tests/cpp/nimcache/stdlib_rawsockets.cpp' failed with exit code: 256
tests/cpp/nimcache/stdlib_rawsockets.cpp:355:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *'
LOC6 = gai_strerror(gairesult);
^ ~~~~~~~~~~~~~~~~~~~~~~~
tests/cpp/nimcache/stdlib_rawsockets.cpp:499:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *'
LOC5 = hstrerror(h_errno);
^ ~~~~~~~~~~~~~~~~~~
tests/cpp/nimcache/stdlib_rawsockets.cpp:650:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *'
LOC9 = inet_ntop(AF_INET6, ((void*) (addr6)), result->data, ((NI32)chckRange((result ? result->len : 0), ((NI32) (-2147483647 -1)), ((NI32) 2147483647))));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/cpp/nimcache/stdlib_rawsockets.cpp:771:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *'
LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647))));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/cpp/nimcache/stdlib_rawsockets.cpp:859:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *'
LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647))));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
|
|\| | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Add afterRunEvent callback to execProcesses()
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(adding a compund type to the Rational type definition
made it too difficult to define new variables
using integer literals)
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FAIL: coro.nim
Test "lib/pure/coro.nim" in category "lib"
Failure: reNimcCrash
Expected:
Gotten:
Coroutines require -d:nimCoroutines
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FAIL: subexes.nim
Test "lib/pure/subexes.nim" in category "lib"
Failure: reExitcodesDiffer
Expected:
exitcode: 0
Gotten:
exitcode: 1
Output:
Traceback (most recent call last)
subexes.nim(385) subexes
system.nim(3335) raiseAssert
system.nim(2531) sysFatal
Error: unhandled exception: "$#($\', \'10c\'\x0A \'{#..})" % ["doAssert", "longishA", "longish"] ==
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
FAIL: ospaths.nim
Test "lib/pure/ospaths.nim" in category "lib"
Failure: reNimcCrash
Expected:
Gotten:
invalid pragma: rtl
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
kqueue support for OS X and Free/Open/NetBSD
|
| | |
| | |
| | |
| | |
| | |
| | | |
1. Remove select documentation that is duplicate of nimdoc section below
2. Simplify a bit register proc code
|
| | | |
|
| | | |
|