summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fix when statements in inheritable generic objects (#13667) [backport]Jasper Jenkins2020-03-171-1/+1
|
* rewritten goto based exception handling; much cleaner implementation;… ↵Andreas Rumpf2020-03-172-23/+7
| | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668
* Fixes #13659 (#13674)cooldome2020-03-171-2/+2
| | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)Timothee Cour2020-03-172-12/+16
| | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream
* fix sets of scoped imported enums (#13666)Jasper Jenkins2020-03-171-1/+2
|
* rename sfAlwaysReturn to sfNeverRaisesAraq2020-03-164-5/+5
|
* fixes #13661 (#13664) [backport]Andreas Rumpf2020-03-162-2/+5
|
* fix .deprecated. object typedef crash (#13643)Andy Davidoff2020-03-161-3/+5
| | | | | * fix .deprecated. object typedef crash * fixup a test that i don't understand * disable the test rather than debug ci
* fixes #13646Araq2020-03-162-3/+12
|
* minor code style changeAraq2020-03-161-1/+1
|
* minor code style changesAraq2020-03-163-12/+13
|
* fixes #12747 [backport] (#13651)cooldome2020-03-161-3/+12
| | | | | | | * fixes #12747 * fix tests * improve code style Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵Timothee Cour2020-03-132-0/+15
| | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
* catchable defects (#13626)Andreas Rumpf2020-03-1214-92/+151
| | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly
* rename `lenTuple` and `lenVarargs` (#13639)Miran2020-03-121-1/+1
| | | | | | | | | | | * rename 'lenTuple' to 'tupleLen' Rationale: `lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`), `tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`) * rename 'lenVarargs' to 'varargsLen' The same rationale as a previous commit. Consistency.
* fix #13633 fix koch boot crashing regression (#13635)Timothee Cour2020-03-121-1/+1
|
* Amend fix for #13633 (#13636)Clyybber2020-03-121-1/+1
|
* Fix #13633Clyybber2020-03-121-1/+2
|
* Fix #12676 (#13634)genotrance2020-03-121-2/+2
|
* Make listCmd honor hint:cc:off (#13606)Clyybber2020-03-111-50/+35
| | | | | | | | | | | | | | | | | * Make listCmd honor hint:cc:off * Tiny cleanup * Tiny tiny cleanup * VERY IMPORTANT: --hint:cc:on will overwrite --verbosity:0 :p * Tiny cleanup * Stupid * Move displayProgressCC to where its required * Tiny cleanup
* fixes #13240Araq2020-03-111-1/+8
|
* fixes #13519Araq2020-03-112-4/+9
|
* fixes #12757Araq2020-03-111-6/+13
|
* fix operators containing percent for VM usage (#13536)Arne Döring2020-03-117-77/+69
| | | | * fixes #13513 * merge tarithmetics in tarithm
* `koch --nim:pathto/nim boot` and `koch boot --hint:cc:off` now work (#13516)Timothee Cour2020-03-112-15/+20
| | | | | * `koch boot --hint:cc:off` now works * `koch --nim:pathto/nim boot` now works; code cleanup
* Revert "Support cross compiling from host to host (#12859)" (#13591)genotrance2020-03-101-1/+2
| | | This reverts commit e4f7656772657069cd3e27704d687b292d8d24ab.
* fixes #13436 (#13615)Andreas Rumpf2020-03-102-4/+11
|
* fixes #13599 (#13614)Andreas Rumpf2020-03-091-1/+1
|
* fixes #13596 (#13612)Andreas Rumpf2020-03-091-0/+13
|
* surgical fix for #13319 (#13604)Andy Davidoff2020-03-081-5/+3
|
* Only print the link command when listCmd is active; fix docs (#13603)Clyybber2020-03-072-2/+1
|
* fixes #5170 (#13589)Andreas Rumpf2020-03-052-10/+11
| | | | | | * fixes #5170 * make tests green
* fix #13579 joinPath("/foo/", "../a") is now /a (#13586)Andreas Rumpf2020-03-051-0/+2
|
* sink parameter inference for types that have destructors (#13544)Andreas Rumpf2020-03-0411-20/+124
| | | | | | | | | | | | | | * ensure capitalize doesn't take an inferred sink parameter * sink parameter inference: first version, for now disabled. Changed that sink parameters can be consumed multiple times in order to adhere to our spec. * sink inference can now be disabled with .nosinks; sometimes for proc type interop this is required * fixes yet another critical DFA bug * better implementation that also understands if expressions etc * document sink parameter inference and allow for global disabling
* std/compilesettings implementation (#13584)Andreas Rumpf2020-03-041-0/+33
| | | | | | | | * Implement compileSetting() and compileSettingSeq() * Change from magic to vmop * better design for querySetting Co-authored-by: genotrance <dev@genotrance.com>
* fix hintSuccess: `out` was wrong for `nim doc` without `-o` flag (#13569)Timothee Cour2020-03-041-2/+2
|
* ARC hotfix; proper destruction of seqs and strings after a moveAraq2020-03-031-2/+2
|
* Fix docgen snippet numbering (#13507)genotrance2020-03-031-1/+1
|
* Remove dead magics (#13551)Arne Döring2020-03-0312-128/+32
|
* Add signatures object to jsondoc for routine types (#13530)PMunch2020-03-021-0/+29
| | | | | | jsondoc is meant to be read by computers, but yet the signatures of procedures where simply a string of the whole thing. This adds a signature object that unpacks this information into an object so it's easier to analyse the documented signatures.
* make it possible to pass linker options for vcc (#13535) [backport]cooldome2020-02-291-1/+1
|
* EndsInNoReturn in expressions extension, fixes #13490 (#13520)cooldome2020-02-284-8/+5
| | | | * fix #13490
* fixes #12627 (#13521)cooldome2020-02-281-1/+1
| | | | * fixes #12627
* properly handle note override logic/verbosity/config/cmdline using ↵Timothee Cour2020-02-275-32/+31
| | | | modifiedyNotes, cmdlineNotes
* remove isCmdLine; use passCmd1Timothee Cour2020-02-274-7/+3
|
* correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in orderTimothee Cour2020-02-276-3/+18
|
* Fix #9405 - cfg and nims run in syncGanesh Viswanathan2020-02-272-28/+31
|
* cleanup Ordinal (#13501)Timothee Cour2020-02-271-0/+1
|
* fix #8312 --hints:off and --warnings:off now honored everywhere (#13489)Timothee Cour2020-02-269-22/+26
|
* fix #13479 (#13503)Arne Döring2020-02-261-2/+2
|