summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* added sequtils.reversed; refs #3148Araq2015-08-091-0/+23
|
* Modify proc parseHeadertulayang2015-08-091-2/+5
|
* Merge pull request #3114 from coffeepots/patch-1Dominik Picheta2015-08-081-0/+126
|\ | | | | Procs to decode Time to TimeInfo & TimeInterval
| * Removed unused leapYearsSinceEpochcoffeepots2015-07-311-3/+0
| |
| * Implemented changes suggested by dom96coffeepots2015-07-311-42/+39
| | | | | | | | | | | | * 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
| * Fixed dayOfWeekJulian, exported SecondScalecoffeepots2015-07-161-5/+7
| |
| * Procs to decode Time to TimeInfo & TimeIntervalcoffeepots2015-07-141-0/+130
| | | | | | 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.
* | attempt to fix bootstrapping; refs #3139Araq2015-08-071-1/+3
| |
* | breaking change: symbol lookups in generics follows spec more closely; fixes ↵Araq2015-08-071-4/+4
| | | | | | | | #2664
* | fixes #3193Araq2015-08-071-1/+2
| |
* | Don't crash on `nil` in get* procs in the JSON module.Dominik Picheta2015-08-061-12/+12
| |
* | Merge pull request #3172 from Nycto/develDominik Picheta2015-08-051-1/+1
|\ \ | | | | | | Unittest module: Fix multiple requires in a test
| * | Fix multiple requires in a testNycto2015-08-011-1/+1
| | |
* | | Merge pull request #3180 from yglukhov/3179-workaroundDominik Picheta2015-08-051-1/+1
|\ \ \ | | | | | | | | Workaround for #3179.
| * | | Workaround for #3179.Yuriy Glukhov2015-08-031-1/+1
| | | |
* | | | added system.unsafeAddrAraq2015-08-041-0/+7
| | | |
* | | | Updated documentation of system.new. Ref #2699.Dominik Picheta2015-08-041-1/+4
| | | |
* | | | The async macro now supports transforming multiple async procs.Dominik Picheta2015-08-031-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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() ```
* | | | Fixed macros.nim not compiling.Dominik Picheta2015-08-031-1/+4
| | | | | | | | | | | | | | | | Iterator aliases are not possible.
* | | | Merge pull request #3161 from barcharcraz/fix_times_on_vcc2015Dominik Picheta2015-08-031-5/+11
|\ \ \ \ | | | | | | | | | | import the correct symbols on windows
| * | | | make this change VCC specificCharlie Barto2015-08-021-3/+8
| | | | |
| * | | | import the correct symbols on windowsCharlie Barto2015-07-311-6/+7
| | | | |
* | | | | Added documentation to macros.items.Dominik Picheta2015-08-031-0/+1
| | | | |
* | | | | Merge branch 'macro-items' of https://github.com/transfuturist/Nim into ↵Dominik Picheta2015-08-031-1/+3
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | transfuturist-macro-items
| * | | | Update macros.nimtransfuturist2015-07-031-1/+1
| | | | |
| * | | | Undeprecate childrentransfuturist2015-06-201-1/+1
| | | | |
| * | | | Change check for NimNode items to node kindtransfuturist2015-05-171-1/+1
| | | | |
| * | | | Add value check for NimNode itemstransfuturist2015-05-161-3/+4
| | | | |
| * | | | Better solution: deprecationtransfuturist2015-05-161-4/+2
| | | | |
| * | | | NimNode needs an items iterator to be used nicely in for statementstransfuturist2015-05-161-0/+4
| | | | |
* | | | | Improve discoverability of 'of' operatorMichał Zieliński2015-08-021-0/+1
| | | | |
* | | | | Fix for image directive with periodssingularperturbation2015-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | | | | Merge pull request #2699 from SSPkrolik/newrefrefAndreas Rumpf2015-08-021-2/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | new now able to make distinction between ref and non-ref types, so we…
| * | | | new now able to make distinction between ref and non-ref types, so we don't ↵krolik2015-05-121-2/+8
| | | | | | | | | | | | | | | | | | | | get 'ref ref' type when calling new on ref type
* | | | | fixes #3080Araq2015-08-021-1/+4
| | | | |
* | | | | fixes #3135Araq2015-08-021-3/+3
| | | | |
* | | | | Set correct Host in request headerjonathonf2015-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Add arm64 support (untested)def2015-07-312-1/+3
| | | | |
* | | | | Add powerpc64el support (untested)def2015-07-312-2/+4
| | | | |
* | | | | Add Mipsel CPU support (untested)def2015-07-312-1/+4
| | | | |
* | | | | Free SSL handler to avoid memory leaksBruce Doan2015-07-311-1/+1
| | | | |
* | | | | removed macros.high as it never worked outside of macros.nimAraq2015-07-281-10/+8
| | | | |
* | | | | Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim ↵Dominik Picheta2015-07-261-6/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into l04m33-async_callback_issue_0412-2 Conflicts: lib/pure/asyncdispatch.nim
| * | | | | Check for async errors inKay Zheng2015-04-181-3/+11
| | | | | |
| * | | | | Ignore EvError in `asyncdispatch.poll(...)` for non-windows systems, so that ↵Kay Zheng2015-04-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | exceptions can be raised from `send(...)` and `recv(...)`
* | | | | | Merge pull request #3094 from fenekku/unittest-workDominik Picheta2015-07-261-13/+131
|\ \ \ \ \ \ | | | | | | | | | | | | | | document unittest.nim + code agreement
| * | | | | | document unittest.nim + code agreementfenekku2015-07-091-13/+131
| | | | | | |
* | | | | | | Fixes example code in marshal module.Dominik Picheta2015-07-261-1/+1
| | | | | | |
* | | | | | | `$` for tuples/objects now handles a nil value correctly. Fixes #3149.Dominik Picheta2015-07-261-1/+5
| | | | | | |
* | | | | | | Improved errors in times.parse.Dominik Picheta2015-07-241-7/+14
| | | | | | |