cooldome
77f33db3ed
style fixes, typos
2018-06-12 09:27:37 +01:00
cooldome
4619ee7058
remove underscores
2018-06-11 23:20:31 +01:00
cooldome
a65e9c0e25
fix comments
2018-06-10 23:27:45 +01:00
cooldome
4d87d666ee
manual merge
2018-06-10 23:07:05 +01:00
cooldome
17ab7aff44
manual merge continues
2018-06-10 23:05:50 +01:00
cooldome
f1185658cc
manual merge
2018-06-10 23:03:54 +01:00
cooldome
73b7ec9009
merge devel
2018-06-10 22:58:39 +01:00
LemonBoy
03653ab61e
Fix type inference with static literals.
...
Fixes #3977
2018-06-10 14:25:40 +03:00
Dominik Picheta
ae342f84de
Revert "[RFC] NEP-1.1. Relax 80 chars requirement."
2018-06-09 18:39:33 +01:00
Andreas Rumpf
e00e7fec54
Merge pull request #7873 from ehmry/GenodeEnv
...
Native access to Genode environment
2018-06-09 09:38:53 +02:00
Andreas Rumpf
d4543500ee
Merge pull request #8000 from yglukhov/nep1.1
...
[RFC] NEP-1.1. Relax 80 chars requirement.
2018-06-09 09:26:16 +02:00
Andreas Rumpf
d323ee81e4
Merge pull request #8001 from kaushalmodi/fix-isupper-islower-try2
...
Make isUpper (and variants) work for strings with non-alpha chars
2018-06-09 08:58:08 +02:00
hlaaf
c2aec1b6c1
Change parseEnum to something faster for method parsing in asynchttpserver ( #7682 )
...
* Add faster method parsing to asynchttpserver
* Make it readable
* Align case statement
2018-06-08 21:34:19 +01:00
Dominik Picheta
caaaa8731a
Merge pull request #7962 from Yardanico/test-ci
...
Fixed Travis CI for macOS
2018-06-08 21:09:36 +01:00
Kaushal Modi
24df909d8a
Make isUpper (and variants) work for strings with non-alpha chars
...
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.
2018-06-08 15:14:29 -04:00
Yuriy Glukhov
1531738974
NEP-1.1. Relax 80 chars requirement.
2018-06-08 20:51:44 +03:00
data-man
3e799d7876
Removed redundant conditions in CritBitTree.inc, speedup it.
2018-06-08 19:29:19 +03:00
Dmitry Atamanov
fbd91a474a
Add the val parameter for CritBitTree[T].incl ( #7988 )
...
* Add the val parameter for CritBitTree[T].incl
* Updated changelog
2018-06-08 12:01:40 -04:00
Andreas Rumpf
e273ef4f5e
Merge pull request #7992 from yglukhov/fromSockAddr-compile-error
...
Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr
2018-06-08 13:38:39 +02:00
Andreas Rumpf
f99acdb075
Merge pull request #7986 from yglukhov/fix-7982
...
Fixes #7982
2018-06-07 23:15:56 +02:00
Andreas Rumpf
2b391ef961
Merge pull request #7991 from yglukhov/fix-7985
...
Fixes #7985
2018-06-07 23:15:31 +02:00
Araq
3c7bbfebb1
fixes seq copying in channels for --gc:regions
2018-06-07 21:35:41 +02:00
Yuriy Glukhov
b2323de914
Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr
2018-06-07 21:10:00 +03:00
data-man
12f929e582
Fixed bug in CritBitTree.inc. Fixes #7990 .
2018-06-07 19:29:40 +03:00
Yuriy Glukhov
60b9c9dc1f
Fixes #7985
2018-06-07 19:14:14 +03:00
data-man
cc63351a5a
Updated tests for CritBitTree $
2018-06-07 18:49:59 +03:00
data-man
aa7348b356
Quote a keys for CritBitTree $ impl. Fixes #7987
2018-06-07 18:39:46 +03:00
Andreas Rumpf
e06f5bc3d0
Merge pull request #7806 from survivorm/feature/times_mutators
...
Feature/times mutators
2018-06-07 17:17:30 +02:00
Yuriy Glukhov
29a01da90f
Fixes #7982
2018-06-07 17:17:07 +03:00
Yuriy Glukhov
ec1d42b9f0
Cleanup copypaste leftover
2018-06-07 15:28:41 +03:00
Andreas Rumpf
50999e403d
Merge pull request #7984 from cheatfate/fixfromsockaddraux
...
Fix fromSockAddrAux() to handle IPv6 addresses properly.
2018-06-07 13:44:53 +02:00
cheatfate
2902308a05
Fix one more place.
2018-06-07 13:06:06 +03:00
cheatfate
46a6fa53a9
Fix fromSockAddrAux() to handle IPv6 addresses properly.
2018-06-07 12:33:29 +03:00
Andreas Rumpf
e67eddc91b
Merge pull request #7822 from data-man/fix_2753
...
Fixes #2753
2018-06-07 10:40:50 +02:00
Andreas Rumpf
3a6b1f0ba0
Merge pull request #7977 from yglukhov/yield-in-blockexpr
...
Fixed yield in nkBlockExpr
2018-06-07 08:11:48 +02:00
Emery Hemingway
5e54cd9fc9
Set Genode Openssl shared-object strings
2018-06-07 07:21:31 +02:00
Emery Hemingway
22f714585b
Native access to Genode environment
...
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.
2018-06-07 07:21:20 +02:00
data-man
722462ae29
Removed test for live website
2018-06-07 01:18:08 +03:00
Yuriy Glukhov
fef60716bf
Fixed yield in nkBlockExpr
2018-06-07 00:15:46 +03:00
Andreas Rumpf
bf394ed1a1
Merge pull request #7550 from jangko/fix4799
...
fixes #4799 , varargs now can accept polymorphic types
2018-06-06 22:04:54 +02:00
Dominik Picheta
68378c857d
Merge pull request #7973 from yglukhov/async-try-ripout
...
Async try ripout
2018-06-06 20:15:17 +01:00
Yuriy Glukhov
511d7079a1
Fixed tests
2018-06-06 20:04:37 +03:00
Dominik Picheta
6ee6f252d4
Rip out the try transformation in the async macro.
2018-06-06 19:18:24 +03:00
Andreas Rumpf
42329e0a70
Merge pull request #7971 from yglukhov/yield-in-dotexpr
...
Fixed yield in nkDotExpr. Fixes #7969 .
2018-06-06 17:31:24 +02:00
andri lim
4262a85653
fixed wrong test
2018-06-06 22:29:31 +07:00
Yuriy Glukhov
0ec2b33c50
Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969 .
2018-06-06 16:35:40 +03:00
Michael Voronin
b7a8eef87a
[change] Replace mutators with their more generic versions
2018-06-06 13:10:56 +03:00
Andreas Rumpf
e957d369b1
Merge pull request #7907 from GULPF/lexer-unicode-fix
...
Lexer fix for multi byte characters
2018-06-06 11:42:59 +02:00
Andreas Rumpf
8804ecd175
Merge pull request #7966 from hlaaftana/patch-4
...
Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)
2018-06-06 11:07:21 +02:00
Andreas Rumpf
1593b9cac4
Merge pull request #7967 from nitely/empty_openarray_7904
...
support empty toOpenArray
2018-06-06 11:06:57 +02:00