Araq
cf4879bc48
added sequtils.reversed; refs #3148
2015-08-09 20:29:03 +02:00
tulayang
930e90a730
Modify proc parseHeader
2015-08-09 20:35:23 +08:00
Dominik Picheta
34ca9dd586
Merge pull request #3114 from coffeepots/patch-1
...
Procs to decode Time to TimeInfo & TimeInterval
2015-08-08 20:56:14 +01:00
Araq
87815cbdf7
attempt to fix bootstrapping; refs #3139
2015-08-07 22:32:06 +02:00
Araq
c733b3181e
breaking change: symbol lookups in generics follows spec more closely; fixes #2664
2015-08-07 21:28:45 +02:00
Araq
94e504113e
fixes #3193
2015-08-07 19:40:58 +02:00
Dominik Picheta
4a7c1d5fd7
Don't crash on nil in get* procs in the JSON module.
2015-08-06 21:45:52 +01:00
Dominik Picheta
e2886eebb4
Merge pull request #3172 from Nycto/devel
...
Unittest module: Fix multiple requires in a test
2015-08-05 19:42:14 +01:00
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
Nycto
eac484167c
Fix multiple requires in a test
2015-08-01 18:48:41 -07: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
coffeepots
f9d909bb94
Removed unused leapYearsSinceEpoch
2015-07-31 10:20:21 +01:00
coffeepots
5e0b8d5ef6
Implemented changes suggested by dom96
...
* Removed extraneous exports (and converted const array to separate consts)
* Renamed dayOfWeek, dayOfWeekJulian to getDayOfWeek and getDayOfWeekJulian
* Renamed decodeTime procs to timeToTimeInfo and timeToTimeInterval
* Added some basic descriptions to docs
2015-07-31 09:44:37 +01: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
coffeepots
a2f0fe03b6
Fixed dayOfWeekJulian, exported SecondScale
2015-07-16 10:20:34 +01: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
coffeepots
f09916d720
Procs to decode Time to TimeInfo & TimeInterval
...
Fills in the missing functionality of decoding Time to TimeInfo and TimeInterval, whilst also adding some procs to work with leap years and to get the day of the week based on a date.
2015-07-14 11:58:26 +01: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