Jonathan Arnett
9193bcaeec
Modified ospath's getConfigDir to meet XDG spec
...
I added a check for the XDG_CONFIG_DIR environment variable to meet the [freedesktop XDG Base Directory Specification](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html )
2017-04-28 14:33:15 -04:00
Dominik Picheta
a025901011
Document breaking AsyncResponse change. Refs #5726 .
2017-04-28 19:44:17 +02:00
Zahary Karadjov
9107e551f1
close #5726
...
Turned out that the old code was wrong. I'm not sure why it used to work.
`response.body` properly resolves to an async proc defined in the httpclient
module with the following signature:
proc body*(response: AsyncResponse): Future[string] {.async.}
Perhaps the old code was somehow matching the body field of the `AsyncResponse`
object, which is marked as private.
2017-04-28 19:09:11 +03:00
Zahary Karadjov
fa52cff826
hold back the new | operator for types as it creates mysterious problems fro tests/trmacros/tor
2017-04-28 18:38:08 +03:00
Zahary Karadjov
5c678e2848
alternative fake covariance based on converters
2017-04-28 18:26:41 +03:00
Zahary Karadjov
72f42ff95f
more advanced fake covariance
2017-04-28 18:01:04 +03:00
Zahary Karadjov
c981284ddc
a simple way to simulate covariance in generic types
2017-04-28 17:40:57 +03:00
Zahary Karadjov
bc01835091
Allow tyOr,tyAnd and tyNot to be constructed in more contexts
2017-04-28 17:07:54 +03:00
Yuriy Glukhov
2242307c17
Added generic min/max versions for two arguments ( #5734 )
2017-04-27 21:41:10 +02:00
Jacek Sieka
0055729755
WIFSIGNALED means process has exited too (with a bang!) ( #5678 )
2017-04-27 21:39:32 +02:00
Daniil Yarancev
40f79e6cdd
Small grammar fixes in json.nim ( #5758 )
2017-04-26 20:29:53 +02:00
Andreas Rumpf
3d34a9f6d3
js codegen: emit more line information
2017-04-26 12:50:36 +02:00
Andreas Rumpf
4cce5883c0
koch: build release version of nimble
2017-04-26 11:14:53 +02:00
Andreas Rumpf
920888f382
fixes tuple unpacking regression
2017-04-26 11:10:50 +02:00
Andreas Rumpf
2da66fef77
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-04-26 10:28:03 +02:00
Andreas Rumpf
7b1568d19c
make -d:nimdiff feature more robust
2017-04-26 10:27:42 +02:00
Araq
2aa31869b6
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-04-26 00:21:45 +02:00
Daniil Yarancev
6ac37ee2fb
Small base64.nim refactor ( #5755 )
...
* Small changes (var to let)
* Some additional `var` to `let`
* Fix
* Finally removed immediate
2017-04-25 20:47:26 +02:00
Araq
05c20bc4ff
fixes a parser bug
2017-04-25 19:36:05 +02:00
cooldome
c6a8bd264e
Fix for #5695 make subscript operator overloadable for tuples ( #5749 )
2017-04-24 20:17:06 +02:00
Andreas Rumpf
1aede6d311
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-04-24 10:00:53 +02:00
Andreas Rumpf
7cba41db23
make nimble compile again
2017-04-22 14:58:53 +02:00
Dominik Picheta
34e253bf34
Merge pull request #5737 from moigagoo/feature/make_docs_mobile_friendly
...
Docgen: Add meta tag to ensure that media queries are activated on mobile devices.
2017-04-21 20:20:28 +02:00
Andreas Rumpf
3f5ababfe8
make sighashes work in more cases
2017-04-21 17:01:57 +02:00
Andreas Rumpf
afa80092d3
wip
2017-04-21 09:40:27 +02:00
Konstantin Molchanov
20f92616d2
Add meta tag to ensure that media queries are activated on mobile devices.
2017-04-20 11:06:59 +04:00
Araq
4b76d9846b
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-04-19 15:20:54 +02:00
Araq
5018f6fa15
fixes #5729
2017-04-19 15:20:46 +02:00
Andreas Rumpf
b7bffa35c7
attempt to make sighashes produce smaller diffs
2017-04-19 08:40:05 +02:00
Andreas Rumpf
02bbfa1164
precise stack scanning for Nim's GCs; work in progress
2017-04-19 08:33:19 +02:00
Michał Zieliński
43dae68a42
inter.txt: fix git bisect example ( #5722 )
2017-04-19 00:36:28 +02:00
Zach Smith
fa592f3aad
Minor: spelling correction in tables.nim ( #5727 )
2017-04-19 00:35:44 +02:00
Zahary Karadjov
3e52bb6535
fix a regrsesion in signature matching of derived ptr types
2017-04-18 23:55:59 +03:00
Dominik Picheta
03ddfddcae
Add test for previous commit.
2017-04-17 20:04:24 +02:00
Dominik Picheta
5a4c06dbdc
Support JInt fields for 'float' in JSON umarshal macro.
2017-04-17 19:47:43 +02:00
Dominik Picheta
793d6efffb
Fixes null handling for object refs in JSON unmarshal macro.
2017-04-17 18:43:31 +02:00
Dominik Picheta
b829092c9e
Add support for BiggestInt in JSON unmarshal macro.
2017-04-17 18:01:38 +02:00
Dominik Picheta
2108dcf0d5
Fix JSON macro bug with ref objects.
2017-04-17 18:01:38 +02:00
Dominik Picheta
afb7542d20
Merge pull request #5720 from FedericoCeratto/patch-27
...
Fix cookie timestamp format #5718
2017-04-17 14:33:15 +02:00
Dominik Picheta
12f758cc42
Merge pull request #5719 from FedericoCeratto/patch-26
...
Fix "secure" capitalization
2017-04-17 14:14:53 +02:00
Federico Ceratto
856d04c146
Fix cookie timestamp format #5718
...
See https://tools.ietf.org/html/rfc6265
2017-04-17 12:58:10 +01:00
Federico Ceratto
407beef7fd
Fix "secure" capitalization
...
See https://tools.ietf.org/html/rfc6265
2017-04-17 12:54:23 +01:00
Jacek Sieka
99d20f6112
fix redundant time import with different signature ( #5715 )
2017-04-16 22:50:10 +02:00
Zahary Karadjov
13701c0957
Restore the compilation of linalg by tweaking the complex disambiguation rules
...
This commit is a potentially breaking change, but the problem was that
linalg was relying on a previous bug in the compiler, which was fixed
in the concepts branch.
With the old disambiguation rules, generic procs like:
proc \`==\`[T](lhs, rhs: T)
and
proc \`==\`(lhs, rhs: Matrix32|Matrix64)
.. were considered equal, even though it's obvious that the second one
should be preferred. We never noticed this, because there was a bug in
sigmatch incorrectly counting one of the params of the second proc as
a non-generic match, thus giving it an edge.
This commit gives some preference to tyOr and tyAnd during the complex
disambiguation, which may affect overload resolution in other cases.
I see this only as a temporary solution. With my upcoming work on
concept refinement, I plan to provide an experimental implementation
of alaternative C++-like rules for determining which proc is more specific.
We can then discuss our strategy for dealing with such a breaking change.
2017-04-16 16:11:45 +03:00
Zahary Karadjov
2da4a4fbe3
fix regression in tmatrixconcept
2017-04-16 14:39:00 +03:00
Zahary Karadjov
3571a8d2f1
more sophisticated test for the previous commit
2017-04-16 14:14:14 +03:00
Zahary Karadjov
4da8536701
fix compilation regression in alea
2017-04-16 13:42:33 +03:00
Zahary Karadjov
dfbafff2e7
fix a compilation error in linalg
2017-04-16 02:44:58 +03:00
Dominik Picheta
759a586b19
Fix huge logo in readme.
2017-04-15 15:50:28 +02:00
Dominik Picheta
5cf31417a6
Fixes #5710 . Closes #5711 .
2017-04-15 09:03:12 +02:00