Dominik Picheta
05ada2da43
Merge pull request #3180 from yglukhov/3179-workaround
...
Workaround for #3179 .
2015-08-05 19:41:19 +01:00
Araq
ab26298a03
added system.unsafeAddr
2015-08-04 17:31:18 +02:00
Dominik Picheta
f8f9677205
Updated documentation of system.new. Ref #2699 .
2015-08-04 09:06:47 +01:00
Dominik Picheta
202cc48903
The async macro now supports transforming multiple async procs.
...
This is a workaround for #3182 , no forward declarations. You can now do
this:
```nim
async:
proc bar(): Future[T]
proc foo() = await bar()
proc bar() {.async.} = echo(123); await foo()
```
2015-08-03 21:28:33 +01:00
Dominik Picheta
b9c1dd0072
Fixed macros.nim not compiling.
...
Iterator aliases are not possible.
2015-08-03 18:42:02 +01:00
Dominik Picheta
85699b744d
Merge pull request #3161 from barcharcraz/fix_times_on_vcc2015
...
import the correct symbols on windows
2015-08-03 17:08:14 +01:00
Dominik Picheta
303bc45745
Added documentation to macros.items.
2015-08-03 17:05:14 +01:00
Dominik Picheta
04dc46b1aa
Merge branch 'macro-items' of https://github.com/transfuturist/Nim into transfuturist-macro-items
2015-08-03 17:03:57 +01:00
Yuriy Glukhov
436b847a7e
Workaround for #3179 .
2015-08-03 14:11:48 +03:00
Charlie Barto
4d6bcbc2f4
make this change VCC specific
2015-08-02 18:55:35 -04:00
Michał Zieliński
0575437762
Improve discoverability of 'of' operator
2015-08-02 22:55:22 +02:00
singularperturbation
4c1611fc13
Fix for image directive with periods
...
Saw in https://github.com/nim-lang/nimforum/issues/41 that there was an
issue in rendering inline images. Traced back through rstgen and found
that it was not counting something like:
`.. image:: http://i.imgur.com/oCem13Y.png ` as valid since it contained
a period, and this wasn't in the set of valid characters, so the empty
string is returned by default.
Added a period to the allowable characters, and now renders correctly.
Test case:
```
import rst, rstgen, strtabs
var docConfig: StringTableRef
docConfig = rstgen.defaultConfig()
docConfig["doc.smiley_format"] = "/images/smilieys/$1.png"
proc rstToHtml(content: string): string =
result = rstgen.rstToHtml(content, {roSupportSmilies,roSupportMarkdown},
docConfig)
var a: string = rstToHtml(".. image:: http://i.imgur.com/oCem13Y.png ")
echo a
```
2015-08-02 14:16:53 -05:00
Andreas Rumpf
6fea1a7bb6
Merge pull request #2699 from SSPkrolik/newrefref
...
new now able to make distinction between ref and non-ref types, so we…
2015-08-02 11:05:47 +02:00
Araq
f9750781c0
fixes #3080
2015-08-02 02:56:02 +02:00
Araq
e9899af9b2
fixes #3135
2015-08-02 02:56:00 +02:00
jonathonf
9dde0ae3ac
Set correct Host in request header
...
Ensure the correct destination hostname is used in the request, otherwise the request will fail in one of a number of interesting ways when using a proxy.
Fixes https://github.com/nim-lang/Nim/issues/3166
2015-08-01 20:53:37 +01:00
def
13389eab9b
Add arm64 support (untested)
2015-07-31 23:57:50 +02:00
def
130605567e
Add powerpc64el support (untested)
2015-07-31 23:55:31 +02:00
def
70c4176105
Add Mipsel CPU support (untested)
2015-07-31 23:16:52 +02:00
Charlie Barto
ad896f03e8
import the correct symbols on windows
2015-07-31 15:08:53 -04:00
Bruce Doan
55ef708e73
Free SSL handler to avoid memory leaks
2015-07-31 01:24:35 +07:00
Araq
8913e82f45
removed macros.high as it never worked outside of macros.nim
2015-07-28 02:54:21 +02:00
Dominik Picheta
bd6e223065
Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim into l04m33-async_callback_issue_0412-2
...
Conflicts:
lib/pure/asyncdispatch.nim
2015-07-26 22:03:48 +01:00
Dominik Picheta
1b9f2fdfe8
Merge pull request #3094 from fenekku/unittest-work
...
document unittest.nim + code agreement
2015-07-26 21:42:51 +01:00
Dominik Picheta
94ad731964
Fixes example code in marshal module.
2015-07-26 18:21:14 +01:00
Dominik Picheta
ce4e877702
$ for tuples/objects now handles a nil value correctly. Fixes #3149 .
2015-07-26 18:15:19 +01:00
Dominik Picheta
a88131ed4a
Improved errors in times.parse.
2015-07-24 22:46:24 +01:00
Magnus Holm
fdf454e3ae
Fix times' parse with literal strings
2015-07-24 18:08:05 +02:00
Araq
4932415742
fixes #1832
2015-07-24 01:04:45 +02:00
Sergey Avseyev
70f14aa578
Remove access modifiers from inner templates
...
Fixes options.nim tests
2015-07-23 17:00:04 +03:00
Araq
8594faa543
fixes #2841
2015-07-22 17:08:21 +02:00
Araq
caf7717cb8
removed system.free
2015-07-18 20:41:45 +02:00
Araq
728fc441ef
staticExec now supports caching
2015-07-15 22:00:44 +02:00
Araq
6e39f75f54
fixes regression in XML parsing
2015-07-15 22:00:44 +02:00
Araq
f7bdc205c7
documentation generator emits configurable html for code listings
2015-07-14 01:37:09 +02:00
Araq
27f5c3ceb9
added os.tailDir proc
2015-07-12 13:33:22 +02:00
Dominik Picheta
994d81461b
Merge pull request #3095 from def-/fix-async-post
...
Fix async httpclient post to work without multipart
2015-07-11 14:06:30 +01:00
Dominik Picheta
a312808e38
Do not use errno on Windows in the `os` module.
2015-07-11 14:01:53 +01:00
Dominik Picheta
b6afa42793
Merge branch 'fix-2573-cherry-pick' of https://github.com/singularperturbation/Nim into singularperturbation-fix-2573-cherry-pick
2015-07-11 13:58:32 +01:00
Andreas Rumpf
fc9dc6c828
Merge pull request #2272 from def-/unsigned
...
Move unsigned int operations to system module
2015-07-11 13:28:20 +02:00
Andreas Rumpf
459793ca4c
Merge pull request #3073 from apense/patch-12
...
Added safeAdd documentation
2015-07-11 13:23:07 +02:00
Joey
1bc101137b
Expose the name of an exception.
2015-07-10 14:55:06 -06:00
def
e264fa24cd
Fix async httpclient post to work without multipart
2015-07-10 00:32:39 +02:00
Andreas Rumpf
7d1a58224e
Merge pull request #3093 from avsej/fix-nimdoc-for-selectors
...
Fix nimdoc generation for lib/pure/selectors.nim
2015-07-09 22:56:14 +02:00
apense
a6e660e935
Corrected documentation
2015-07-09 14:02:21 -04:00
Andreas Rumpf
044768690b
Merge pull request #3057 from apense/patch-9
...
Added new Rune sequence proc
2015-07-09 19:52:24 +02:00
Andreas Rumpf
49ff09eae6
Merge pull request #3021 from apense/patch-7
...
Added some documentation and examples
2015-07-09 19:50:37 +02:00
apense
48b0de8ab4
Corrected proc name in assertion
2015-07-09 13:49:47 -04:00
apense
5fd7b7850a
Corrected documentation
2015-07-09 13:45:20 -04:00
fenekku
464ec61e9c
document unittest.nim + code agreement
2015-07-09 13:22:26 -04:00