summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Added FileMode to comment on asyncfile openAsync (#8008)Jimmie Houchin2018-06-111-1/+1
|
* Merge pull request #8005 from Vindaar/fixes-7997Andreas Rumpf2018-06-112-4/+48
|\ | | | | fix #7997
| * add test case for fix to #7997Vindaar2018-06-101-0/+46
| |
| * fix #7997Vindaar2018-06-101-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue #7997, which was caused by an export of a `release` proc in `locks`. Thus the `release` in `defined(release)` of the `ifDebug` template, was of kind `nkSym` instead of `nkIdent`. We fix this by getting the `PIdent` of the argument to `defined` using `considerQuotedIdent`. This has the nice property of also checking for a valid identifier for us. E.g. `defined(123)` would fail with ``` Error: in expression 'defined(123)': identifier expected, but found '123' ``` The `localError` is removed, due to a clear distinction between `declared` and `defined` now.
* | fix #7653Zahary Karadjov2018-06-104-13/+34
|/
* Fix type inference with static literals.LemonBoy2018-06-102-1/+13
| | | | Fixes #3977
* Revert "[RFC] NEP-1.1. Relax 80 chars requirement."Dominik Picheta2018-06-091-2/+2
|
* Merge pull request #7873 from ehmry/GenodeEnvAndreas Rumpf2018-06-0911-37/+111
|\ | | | | Native access to Genode environment
| * Set Genode Openssl shared-object stringsEmery Hemingway2018-06-071-0/+4
| |
| * Native access to Genode environmentEmery Hemingway2018-06-0710-37/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a 'GenodeEnv' type and a 'componentConstructHook' to the system module. The 'componentConstructHook' allows for detection of POSIX style programs that exit implicitly or native Genode components that initialize to serve RPC requests and OS signals. This hook takes a 'GenodeEnv' argument so that the environment interface is passed cleanly to application code after globals are initialized. This is an typed pointer to a C++ object, procedures for accessing the environment will be available from a Nimble library and not included in the standard library. The standard library has an internal pointer to the environment object but this is not for external use, the undocumented global environment pointer has been removed.
* | Merge pull request #8000 from yglukhov/nep1.1Andreas Rumpf2018-06-091-2/+2
|\ \ | | | | | | [RFC] NEP-1.1. Relax 80 chars requirement.
| * | NEP-1.1. Relax 80 chars requirement.Yuriy Glukhov2018-06-081-2/+2
| | |
* | | Merge pull request #8001 from kaushalmodi/fix-isupper-islower-try2Andreas Rumpf2018-06-093-49/+152
|\ \ \ | | | | | | | | Make isUpper (and variants) work for strings with non-alpha chars
| * | | Make isUpper (and variants) work for strings with non-alpha charsKaushal Modi2018-06-083-49/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The other variants are isLower, isUpperAscii and isLowerAscii Fixes https://github.com/nim-lang/Nim/issues/7963. This commit changes the behavior and signatures of: - isUpper, isLower in the unicode module - isUpperAscii, isLowerAscii in the strutils module A second mandatory parameter skipNonAlpha is added to these 4 procs. (This change affects only for the case where the input is a *string*.) --- With skipNonAlpha set to true, the behavior mimics the Python isupper and islower behavior i.e. non-alphabetic chars/runes are ignored when checking if the string is upper-case or lower-case. Before this commit: doAssert(not isUpper("A B")) After this commit: doAssert(not isUpper("A B", false)) <-- old behavior doAssert isUpper("A B", true) Below two are equivalent: isUpper("A B", true) isAlpha("A B") and isUpper("A B", false) .. and the similar for other 3 procs.
* | | | Change parseEnum to something faster for method parsing in asynchttpserver ↵hlaaf2018-06-081-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#7682) * Add faster method parsing to asynchttpserver * Make it readable * Align case statement
* | | | Merge pull request #7962 from Yardanico/test-ciDominik Picheta2018-06-081-0/+2
|\ \ \ \ | |/ / / |/| | | Fixed Travis CI for macOS
| * | | Update .travis.ymlDaniil Yarancev2018-06-051-0/+2
| | | |
| * | | Merge pull request #2 from nim-lang/develDaniil Yarancev2018-06-05598-27131/+32453
| |\ \ \ | | | | | | | | | | Update
| * \ \ \ Merge pull request #1 from nim-lang/develDaniil Yarancev2018-01-07819-41878/+89233
| |\ \ \ \ | | | | | | | | | | | | upstream
* | | | | | Removed redundant conditions in CritBitTree.inc, speedup it.data-man2018-06-081-4/+1
| | | | | |
* | | | | | Add the val parameter for CritBitTree[T].incl (#7988)Dmitry Atamanov2018-06-082-0/+21
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | * Add the val parameter for CritBitTree[T].incl * Updated changelog
* | | | | Merge pull request #7992 from yglukhov/fromSockAddr-compile-errorAndreas Rumpf2018-06-082-1/+13
|\ \ \ \ \ | | | | | | | | | | | | Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr
| * | | | | Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddrYuriy Glukhov2018-06-072-1/+13
| | | | | |
* | | | | | Merge pull request #7986 from yglukhov/fix-7982Andreas Rumpf2018-06-073-4/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fixes #7982
| * | | | | | Fixes #7982Yuriy Glukhov2018-06-073-4/+15
| | | | | | |
* | | | | | | Merge pull request #7991 from yglukhov/fix-7985Andreas Rumpf2018-06-072-9/+27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixes #7985
| * | | | | | | Fixes #7985Yuriy Glukhov2018-06-072-9/+27
| | | | | | | |
* | | | | | | | fixes seq copying in channels for --gc:regionsAraq2018-06-071-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Fixed bug in CritBitTree.inc. Fixes #7990.data-man2018-06-071-1/+10
|/ / / / / /
* | | | | | Updated tests for CritBitTree $data-man2018-06-071-3/+3
| | | | | |
* | | | | | Quote a keys for CritBitTree $ impl. Fixes #7987data-man2018-06-071-4/+8
| | | | | |
* | | | | | Merge pull request #7806 from survivorm/feature/times_mutatorsAndreas Rumpf2018-06-071-37/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | Feature/times mutators
| * | | | | | [change] Replace mutators with their more generic versionsMichael Voronin2018-06-061-37/+22
| | | | | | |
| * | | | | | Merge pull request #5 from nim-lang/develMichael Voronin2018-06-05175-6555/+7716
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | pull #4
* | | | | | | | Cleanup copypaste leftoverYuriy Glukhov2018-06-071-4/+0
| | | | | | | |
* | | | | | | | Merge pull request #7984 from cheatfate/fixfromsockaddrauxAndreas Rumpf2018-06-071-10/+17
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | Fix fromSockAddrAux() to handle IPv6 addresses properly.
| * | | | | | | Fix one more place.cheatfate2018-06-071-1/+1
| | | | | | | |
| * | | | | | | Fix fromSockAddrAux() to handle IPv6 addresses properly.cheatfate2018-06-071-9/+16
|/ / / / / / /
* | | | | | | Merge pull request #7822 from data-man/fix_2753Andreas Rumpf2018-06-071-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixes #2753
| * | | | | | | Removed test for live websitedata-man2018-06-071-12/+0
| | | | | | | |
| * | | | | | | Merge branch 'devel' of https://github.com/nim-lang/Nim into fix_2753data-man2018-05-19123-5914/+6168
| |\ \ \ \ \ \ \
| * | | | | | | | Added testdata-man2018-05-151-0/+12
| | | | | | | | |
| * | | | | | | | Fixes #2753data-man2018-05-141-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #7977 from yglukhov/yield-in-blockexprAndreas Rumpf2018-06-072-2/+29
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | Fixed yield in nkBlockExpr
| * | | | | | | | Fixed yield in nkBlockExprYuriy Glukhov2018-06-072-2/+29
|/ / / / / / / /
* | | | | | | | Merge pull request #7550 from jangko/fix4799Andreas Rumpf2018-06-066-1/+316
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | fixes #4799, varargs now can accept polymorphic types
| * | | | | | | | fixed wrong testandri lim2018-06-061-4/+4
| | | | | | | | |
| * | | | | | | | combine/reduce testandri lim2018-06-057-105/+87
| | | | | | | | |
| * | | | | | | | fix test case outputandri lim2018-06-051-1/+1
| | | | | | | | |
| * | | | | | | | add more test to 4799andri lim2018-06-0510-1/+334
| | | | | | | | |