summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add JSON tests based on https://github.com/nst/JSONTestSuiteFederico Ceratto2017-04-091-0/+384
|
* Merge branch 'feature/json-macro' into develDominik Picheta2017-04-092-15/+645
|\
| * Improve documentation in the JSON module.Dominik Picheta2017-04-091-15/+46
| |
| * Document `to` macro in JSON and add example.Dominik Picheta2017-04-092-22/+71
| |
| * Implements else branch for JSON unmarshalling of object variants.Dominik Picheta2017-04-092-19/+106
| |
| * Improve error messages and add tests for the JSON macro.Dominik Picheta2017-04-082-35/+100
| |
| * Support int, string and bool fields in unmarshal json macro.Dominik Picheta2017-04-082-21/+59
| |
| * First implementation of JSON unmarshal macro.Dominik Picheta2017-04-082-0/+360
| |
* | Error Message if CC invocation fails (#5663)Fredrik Høisæther Rasch2017-04-081-11/+26
| |
* | remove system.getFileSize again, breaks windows builds and I don't want more ↵Araq2017-04-082-10/+0
| | | | | | | | stuff that's a pain to support in a platform independent manner
* | Merge pull request #5612 from ehmry/AsyncFile.setLenDominik Picheta2017-04-084-5/+34
|\ \ | |/ |/| asyncfile: setLen procedure for files
| * getFileSize and setFileSize procedures for File and AsyncFileEmery Hemingway2017-04-054-5/+34
| | | | | | | | | | Platform independent procedure to set a file length. Useful when replacing file content.
* | Implement json.`%` for enums.Dominik Picheta2017-04-061-0/+5
| |
* | Add some extra methods and fields to DOM module.Dominik Picheta2017-04-061-0/+11
| |
* | Merge pull request #5564 from nim-lang/fix/4556zah2017-04-069-76/+455
|\ \ | | | | | | Fix/4556
| * | move the object construction logic to a separate fileZahary Karadjov2017-04-063-278/+294
| | |
| * | object construction: test cases and manual additionsZahary Karadjov2017-04-063-11/+133
| | |
| * | cleaned up the code and implemented proper error messagesZahary Karadjov2017-04-064-81/+207
| | |
| * | News items for previous commitZahary Karadjov2017-04-062-4/+10
| | |
| * | fix #4556Zahary Karadjov2017-04-062-56/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a number of new safety checks and error messages when object constructors are used: In case objects: * the compiler will prevent you from initializing fields in conflicting branches * When a field from a particular branch is initialized, the compiler will demand that the discriminator field is also supplied with a maching compile-time value In all objects: * When the "requiresInit" pragma is applied to a type, all fields of the type must be initialized when object construction is used. The code will be simplified in a follow up commit.
* | | minor update for nimsuggestAndreas Rumpf2017-04-062-2/+3
| | |
* | | Make nimsuggest quit when pressing Ctrl-D from the command line. (#5662)Arne Döring2017-04-061-0/+1
| | |
* | | parsecfg: handle streams and strings when saving or loading configuration ↵Anatoly Galiulin2017-04-062-79/+124
| |/ |/| | | | | (#5554)
* | Update 'compiles' documentation to remove not (#5666)John Scillieri2017-04-051-1/+1
|/ | | Documentation for proc compiles showed a broken/unintuitive example (unless i missed something)
* fix another compiler regressionAndreas Rumpf2017-04-051-0/+4
|
* make tests green againAndreas Rumpf2017-04-042-2/+2
|
* Merge branch 'devel' into araqAndreas Rumpf2017-04-044-5/+22
|\
| * fixes #5638Araq2017-04-042-3/+19
| |
| * revert PR #5638 because it breaks codeAraq2017-04-041-2/+2
| |
| * fixup! support for the Genode OS framework (#5653)Emery Hemingway2017-04-022-1/+2
| | | | | | Allocate thread metadata at createThread.
* | attempt to make tests green againAndreas Rumpf2017-04-041-1/+2
| |
* | assignments support ': stmtList' like let/var doAndreas Rumpf2017-04-043-3/+10
| |
* | system.nim: make min/max take openArrays, not varargs (breaking change)Andreas Rumpf2017-04-041-2/+2
| |
* | remove the need for the .procvar annotationAndreas Rumpf2017-04-034-31/+38
| |
* | de-deprecate silly warning about non-exhaustive string case statmentsAndreas Rumpf2017-04-031-7/+3
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-04-0227-67/+1153
|\|
| * update grammar.txtAndreas Rumpf2017-04-021-1/+2
| |
| * memory manager: use less memory; corruption preventionAndreas Rumpf2017-04-021-59/+47
| |
| * minor todo.txt updateAndreas Rumpf2017-04-021-1/+0
| |
| * remove en-dash from the languageAndreas Rumpf2017-04-026-51/+10
| |
| * language addition: colon-block for expressions in let/var contextAndreas Rumpf2017-04-023-10/+62
| |
| * Merge pull request #5652 from TiberiumN/patch-1Dominik Picheta2017-04-021-2/+2
| |\ | | | | | | Fix #5611
| | * Fix #5611Daniil Yarancev2017-04-021-2/+2
| |/
| * Proper fix for osproc.nim on Android (#5646)Eugene Kabanov2017-04-021-3/+7
| |
| * Fixed issue #5638 (#5639)Anatoly Galiulin2017-04-011-0/+1
| |
| * support for the Genode OS framework (#5560)Emery Hemingway2017-03-3114-33/+348
| |
| * updated news to take PR #5390 into accountAraq2017-03-311-0/+2
| |
| * Fix wrong value range of ntohs ... (#5390)wt2017-03-312-7/+7
| |
| * Implementing `repr` for JS (#5578)Silvio2017-03-313-18/+728
| |
| * attempt to fix #5632 typedesc typeRel regression (#5634)andri lim2017-03-312-1/+13
| |