Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix template codegen with static parameters (#8110) | LemonBoy | 2018-06-27 | 1 | -8/+12 |
| | | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp | ||||
* | Return an error symbol as macro output if needed (#8116) | LemonBoy | 2018-06-27 | 1 | -1/+6 |
| | | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454 | ||||
* | Reject ptr/ref void types (#8127) | LemonBoy | 2018-06-27 | 1 | -0/+3 |
| | | | | | Do this during the semantic pass to avoid tripping the following passes. Fixes #6454 | ||||
* | Reject enums with holes when computedGoto is used (#8132) | LemonBoy | 2018-06-27 | 1 | -0/+3 |
| | | | Fixes #7699 | ||||
* | Don't consider concept types as non-complex during codegen (#8119) | LemonBoy | 2018-06-27 | 1 | -1/+1 |
| | | | Fixes #7125 | ||||
* | Lexer: do not accept some invalid integer literals (#8089) | Hiroki Noda | 2018-06-27 | 1 | -7/+12 |
| | | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable | ||||
* | Nintendo switch support (#8069) | Joey | 2018-06-27 | 4 | -4/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs | ||||
* | compiler/types.nim: make low/high know about 'sink' parameters; cleans up #7736 | Araq | 2018-06-27 | 1 | -12/+16 |
| | |||||
* | Merge pull request #7736 from cooldome/range_float_type | Andreas Rumpf | 2018-06-27 | 3 | -23/+60 |
|\ | | | | | Language feature: range float types | ||||
| * | manual merge 2 | cooldome | 2018-06-12 | 2 | -3/+3 |
| | | |||||
| * | Manual merge | cooldome | 2018-06-12 | 1 | -0/+1 |
| | | |||||
| * | merge devel | cooldome | 2018-06-12 | 110 | -5502/+3689 |
| |\ | |||||
| * | | Fix error message | cooldome | 2018-06-12 | 1 | -2/+2 |
| | | | |||||
| * | | style fixes, typos | cooldome | 2018-06-12 | 1 | -5/+5 |
| | | | |||||
| * | | remove underscores | cooldome | 2018-06-11 | 1 | -5/+5 |
| | | | |||||
| * | | fix comments | cooldome | 2018-06-10 | 2 | -23/+52 |
| | | | |||||
| * | | manual merge | cooldome | 2018-06-10 | 1 | -2/+2 |
| | | | |||||
| * | | manual merge continues | cooldome | 2018-06-10 | 1 | -16/+30 |
| | | | |||||
| * | | manual merge | cooldome | 2018-06-10 | 1 | -470/+0 |
| | | | |||||
| * | | merge devel | cooldome | 2018-06-10 | 104 | -6872/+7045 |
| |\ \ | |||||
| * \ \ | Merge branch 'devel' into range_float_type | cooldome | 2018-04-30 | 9 | -22/+33 |
| |\ \ \ | |||||
| * \ \ \ | merge devel | cooldome | 2018-04-29 | 12 | -191/+134 |
| |\ \ \ \ | |||||
| * | | | | | update the doc | cooldome | 2018-04-29 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge branch 'devel' into range_float_type | cooldome | 2018-04-26 | 3 | -2/+4 |
| |\ \ \ \ \ | |||||
| * | | | | | | Implement float range types | cooldome | 2018-04-26 | 4 | -89/+145 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #8120 from krux02/basic-debugging | Andreas Rumpf | 2018-06-26 | 2 | -8/+8 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | make basic debugging possible | ||||
| * | | | | | | | make basic debugging possible | Arne Döring | 2018-06-26 | 2 | -8/+8 |
| | | | | | | | | |||||
* | | | | | | | | Merge pull request #7681 from nim-lang/typedesc-reforms | Andreas Rumpf | 2018-06-26 | 17 | -164/+493 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Typedesc reforms | ||||
| * \ \ \ \ \ \ \ | Merge branch 'devel' into typedesc-reforms | Andreas Rumpf | 2018-06-26 | 14 | -84/+201 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | requested pull-request changes | Zahary Karadjov | 2018-06-16 | 4 | -14/+21 |
| | | | | | | | | | | |||||
| * | | | | | | | | | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 9 | -31/+130 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
| * | | | | | | | | | fix #6928; fix #7208 | Zahary Karadjov | 2018-06-16 | 3 | -3/+16 |
| | | | | | | | | | | |||||
| * | | | | | | | | | fix some breakage after rebasing | Zahary Karadjov | 2018-06-16 | 2 | -2/+2 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Support default type parameters | Zahary Karadjov | 2018-06-16 | 2 | -3/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progress on #7516 | ||||
| * | | | | | | | | | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 11 | -65/+152 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr | ||||
| * | | | | | | | | | Implement the `is` operator for the new static and typedesc type classes | Zahary Karadjov | 2018-06-16 | 4 | -25/+69 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase | ||||
| * | | | | | | | | | Bugfix: the size of an array may be a static tuple element | Zahary Karadjov | 2018-06-16 | 1 | -1/+2 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Bugfix: aliases to generic types were not considered implicit generic parameters | Zahary Karadjov | 2018-06-16 | 1 | -0/+3 |
| | | | | | | | | | | |||||
| * | | | | | | | | | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 7 | -52/+110 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Merge pull request #8108 from LemonBoy/fix-5958 | Andreas Rumpf | 2018-06-26 | 1 | -0/+2 |
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Make `static` blocks introduce their own scope | ||||
| * | | | | | | | | | | Make `static` blocks introduce their own scope | LemonBoy | 2018-06-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958 | ||||
* | | | | | | | | | | | Improve vm support for ref types | Oscar Nihlgård | 2018-06-26 | 2 | -22/+26 |
| |_|/ / / / / / / / |/| | | | | | | | | | |||||
* | | | | | | | | | | Don't remove extension of source files twice, if filenames contain dots | Jörg Wollenschläger | 2018-06-26 | 2 | -2/+2 |
| | | | | | | | | | | |||||
* | | | | | | | | | | nimpretty: detect '; vs ,' style based on the first usage of the token in ↵ | Araq | 2018-06-26 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter lists | ||||
* | | | | | | | | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-06-26 | 7 | -14/+32 |
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | |||||
| * | | | | | | | | | Merge pull request #8117 from LemonBoy/cmd-verbosity-level | Dominik Picheta | 2018-06-25 | 1 | -1/+4 |
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Warn the user if the specified verbosity level is wrong | ||||
| | * | | | | | | | | | Warn the user if the specified verbosity level is wrong | LemonBoy | 2018-06-25 | 1 | -1/+4 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Merge pull request #8105 from LemonBoy/concept-high-low-index | Andreas Rumpf | 2018-06-25 | 3 | -4/+4 |
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | More concept fixes | ||||
| | * | | | | | | | | | | More concept fixes | LemonBoy | 2018-06-24 | 3 | -4/+4 |
| | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7705, #7703, #7702 | ||||
| * | | | | | | | | | | Merge pull request #7964 from LemonBoy/fix-7936 | Andreas Rumpf | 2018-06-25 | 1 | -2/+9 |
| |\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | Fixes #7936 |