Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 18 | -236/+906 |
| | |||||
* | correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵ | Timothee Cour | 2018-10-14 | 3 | -72/+120 |
| | | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition | ||||
* | Make sure the annotation for `||` is avail. at CT (#9354) | LemonBoy | 2018-10-14 | 1 | -0/+8 |
| | | | Closes #9353 | ||||
* | put several issues in tests (#9352) | Miran | 2018-10-13 | 1 | -11/+57 |
| | | | | | | * put several issues in tests * remove wrong test | ||||
* | Update makefile and buildsh templates for riscv64 (#9351) | Federico Ceratto | 2018-10-13 | 2 | -0/+5 |
| | |||||
* | add strutils.stripLineEnd (#9346) | Timothee Cour | 2018-10-13 | 1 | -0/+23 |
| | |||||
* | Merge tests into a larger file (part 2 of ∞) (#9335) | Miran | 2018-10-13 | 40 | -802/+809 |
| | | | | | | | | | | | | | | * merge controlflow tests * merge distinct tests * merge enum tests * merge fields tests * merge implicit tests * merge iter issues tests | ||||
* | deprecate accumulateResult => sequtils.toSeq (#8666) | Timothee Cour | 2018-10-13 | 1 | -1/+4 |
| | |||||
* | manual: Fix links to Parallel & Spawn (#9342) | Tomohiro | 2018-10-13 | 3 | -3/+3 |
| | |||||
* | fixes #8916 by fixing typeinfo and marshal. (#9341) | Vindaar | 2018-10-13 | 3 | -15/+29 |
| | | | | | | | | | * fixes #8916 by removing `tyString`, `tySeq`, mod. marshal, typeinfo Need to check in `typeinfo` for nil of the underlying pointer. In marshal don't have to check for nil of seq anymore. * remove reference to string, sequence in `isNil` doc string | ||||
* | Build codeowners.rst (#9337) | Oscar Nihlgård | 2018-10-13 | 1 | -0/+1 |
| | |||||
* | doc: tests/testament/specs.nim => testament/specs.nim (#9338) | Timothee Cour | 2018-10-13 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-10-13 | 1 | -4/+6 |
| | |||||
* | dfa.nim: clarify exception handling | Andreas Rumpf | 2018-10-13 | 1 | -1/+4 |
| | |||||
* | destructors: optimize more assignments into moves; also fixes #9294 | Andreas Rumpf | 2018-10-12 | 5 | -9/+143 |
| | |||||
* | compiler: cleanup dfa.nim | Andreas Rumpf | 2018-10-12 | 1 | -21/+25 |
| | |||||
* | don't crash when rendering wrong nkInfix nodes | Andreas Rumpf | 2018-10-12 | 1 | -8/+8 |
| | |||||
* | Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316) | c-blake | 2018-10-12 | 3 | -1/+8 |
| | | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s. | ||||
* | Proposed solution for issue #8919 (#9280) | eqperes | 2018-10-12 | 1 | -0/+2 |
| | | | | | | * Proposed solution for issue #8919 * count sub/subs must be non-empty | ||||
* | Testament pre parallel (#9137) | Jacek Sieka | 2018-10-12 | 18 | -17/+20 |
| | | | | | | | | | | * testament: move to root dir (it's not a test) * osproc: fix process index passed to afterRunEvent for parallel runs it was passing the index of the process, not index of all commands * testament: complete file move | ||||
* | complete removal of web folder, fixes #9304 (#9310) | Miran | 2018-10-12 | 4 | -7/+1 |
| | | | | | | * complete removal of web folder, fixes #9304 * remove `buildJS` | ||||
* | Merge tests into a larger file (part 1 of ∞) (#9318) | Miran | 2018-10-12 | 103 | -3397/+3765 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test | ||||
* | manual: Remove stmt or expr template related text from manual (#9321) | Tomohiro | 2018-10-12 | 1 | -9/+5 |
| | |||||
* | Avoid memory allocation during dynlib loading (#9320) | LemonBoy | 2018-10-12 | 1 | -4/+4 |
| | | | | | | | By using `write` instead of `rawWrite` we'd end up asking the compiler to generate the GC dynlib _while_ we were already generating another dynlib! Fixes #9123 | ||||
* | string to string conversion keeps the dest type (#9323) | LemonBoy | 2018-10-12 | 2 | -1/+13 |
| | | | Fixes #9322 | ||||
* | Align to the actual experience (#9324) | cooldome | 2018-10-12 | 1 | -5/+6 |
| | | | | | | * Align to the actual experience * add exception handling | ||||
* | 8684 add shortcut sort procs (#9174) | Konstantin Molchanov | 2018-10-11 | 2 | -23/+70 |
| | | | | | | | | * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. | ||||
* | gogc: GCC-8.2.0 compatibility and other improvements (#9211) | Ștefan Talpalaru | 2018-10-11 | 5 | -119/+84 |
| | | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying | ||||
* | fixes #9281 | Araq | 2018-10-11 | 3 | -3/+32 |
| | |||||
* | fixes #9306 | Araq | 2018-10-11 | 1 | -2/+2 |
| | |||||
* | Clarify that term rewriting macros are applied recursively (#9305) | Andrea Ferretti | 2018-10-11 | 1 | -0/+6 |
| | | | Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901 | ||||
* | codeowners: try to make github's RST parser happy | Araq | 2018-10-11 | 1 | -19/+19 |
| | |||||
* | update contributing.rst and added codeowners.rst | Araq | 2018-10-11 | 2 | -19/+83 |
| | |||||
* | compile date and compile time tz written in doc (#9283) | eqperes | 2018-10-11 | 1 | -2/+2 |
| | |||||
* | Add procs to retrieve project name, directory and full path to nimscript (#9274) | Solitude | 2018-10-11 | 2 | -0/+18 |
| | |||||
* | fixes #9297 (#9298) | cooldome | 2018-10-11 | 4 | -11/+50 |
| | | | | | | * fixes #9297 * improve spacing | ||||
* | test case for #9180 and re-enables the disabled tcompilerapi test (#9181) | Timothee Cour | 2018-10-11 | 2 | -22/+29 |
| | | | | | | * add findNimStdLibCompileTime and un-disable tcompilerapi test; add test case for #9180 * address comments | ||||
* | compiler: show name of instantiating context in error traces (#6763) (#9207) | xzfc | 2018-10-11 | 9 | -19/+31 |
| | |||||
* | make contributing.rst more up to date; reference it in readme.md to make it ↵ | Timothee Cour | 2018-10-11 | 2 | -27/+94 |
| | | | | more discoverable (#9302) | ||||
* | rm web/website.ini (#9290) | Timothee Cour | 2018-10-11 | 1 | -82/+0 |
| | |||||
* | Fix OrderedSet.excl (#9287) | Oscar Nihlgård | 2018-10-11 | 1 | -34/+29 |
| | |||||
* | fix #9295 (#9299) | Timothee Cour | 2018-10-11 | 1 | -1/+1 |
| | |||||
* | Fix wrong heuristic in codegen (#9293) | LemonBoy | 2018-10-11 | 2 | -1/+29 |
| | | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286 | ||||
* | Fix tests on NixOS (#9209) (#9285) | xzfc | 2018-10-10 | 3 | -4/+4 |
| | | | | | | | * Replace `/bin/sleep` with just `sleep`, i.e. use environment variable `$PATH` to locate binary. * Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined, fallback to hardcoded path otherwise. This is the same behavior that Glibc2 normally have, see man 3 tzset. | ||||
* | Unchecked arrays now have their own type (#9267) | LemonBoy | 2018-10-10 | 15 | -21/+72 |
| | |||||
* | fixes #9263 | Andreas Rumpf | 2018-10-10 | 2 | -62/+197 |
| | |||||
* | Documentation improved for `math` module (#9266) | eqperes | 2018-10-10 | 1 | -79/+171 |
| | |||||
* | Fixes #9154 (#9193) | manterolat | 2018-10-10 | 2 | -0/+6 |
| | |||||
* | Iter test: closes #3819 (#9272) | Miran | 2018-10-10 | 1 | -0/+28 |
| | |||||
* | fix #9264 regression (#9265) | Timothee Cour | 2018-10-09 | 1 | -5/+2 |
| |