summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-1418-236/+906
|
* correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵Timothee Cour2018-10-143-72/+120
| | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition
* Make sure the annotation for `||` is avail. at CT (#9354)LemonBoy2018-10-141-0/+8
| | | Closes #9353
* put several issues in tests (#9352)Miran2018-10-131-11/+57
| | | | | | * put several issues in tests * remove wrong test
* Update makefile and buildsh templates for riscv64 (#9351)Federico Ceratto2018-10-132-0/+5
|
* add strutils.stripLineEnd (#9346)Timothee Cour2018-10-131-0/+23
|
* Merge tests into a larger file (part 2 of ∞) (#9335)Miran2018-10-1340-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 Cour2018-10-131-1/+4
|
* manual: Fix links to Parallel & Spawn (#9342)Tomohiro2018-10-133-3/+3
|
* fixes #8916 by fixing typeinfo and marshal. (#9341)Vindaar2018-10-133-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ård2018-10-131-0/+1
|
* doc: tests/testament/specs.nim => testament/specs.nim (#9338)Timothee Cour2018-10-131-1/+1
|
* make tests green againAndreas Rumpf2018-10-131-4/+6
|
* dfa.nim: clarify exception handlingAndreas Rumpf2018-10-131-1/+4
|
* destructors: optimize more assignments into moves; also fixes #9294Andreas Rumpf2018-10-125-9/+143
|
* compiler: cleanup dfa.nimAndreas Rumpf2018-10-121-21/+25
|
* don't crash when rendering wrong nkInfix nodesAndreas Rumpf2018-10-121-8/+8
|
* Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)c-blake2018-10-123-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)eqperes2018-10-121-0/+2
| | | | | | * Proposed solution for issue #8919 * count sub/subs must be non-empty
* Testament pre parallel (#9137)Jacek Sieka2018-10-1218-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)Miran2018-10-124-7/+1
| | | | | | * complete removal of web folder, fixes #9304 * remove `buildJS`
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-12103-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)Tomohiro2018-10-121-9/+5
|
* Avoid memory allocation during dynlib loading (#9320)LemonBoy2018-10-121-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)LemonBoy2018-10-122-1/+13
| | | Fixes #9322
* Align to the actual experience (#9324)cooldome2018-10-121-5/+6
| | | | | | * Align to the actual experience * add exception handling
* 8684 add shortcut sort procs (#9174)Konstantin Molchanov2018-10-112-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 Talpalaru2018-10-115-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 #9281Araq2018-10-113-3/+32
|
* fixes #9306Araq2018-10-111-2/+2
|
* Clarify that term rewriting macros are applied recursively (#9305)Andrea Ferretti2018-10-111-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 happyAraq2018-10-111-19/+19
|
* update contributing.rst and added codeowners.rstAraq2018-10-112-19/+83
|
* compile date and compile time tz written in doc (#9283)eqperes2018-10-111-2/+2
|
* Add procs to retrieve project name, directory and full path to nimscript (#9274)Solitude2018-10-112-0/+18
|
* fixes #9297 (#9298)cooldome2018-10-114-11/+50
| | | | | | * fixes #9297 * improve spacing
* test case for #9180 and re-enables the disabled tcompilerapi test (#9181)Timothee Cour2018-10-112-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)xzfc2018-10-119-19/+31
|
* make contributing.rst more up to date; reference it in readme.md to make it ↵Timothee Cour2018-10-112-27/+94
| | | | more discoverable (#9302)
* rm web/website.ini (#9290)Timothee Cour2018-10-111-82/+0
|
* Fix OrderedSet.excl (#9287)Oscar Nihlgård2018-10-111-34/+29
|
* fix #9295 (#9299)Timothee Cour2018-10-111-1/+1
|
* Fix wrong heuristic in codegen (#9293)LemonBoy2018-10-112-1/+29
| | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286
* Fix tests on NixOS (#9209) (#9285)xzfc2018-10-103-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)LemonBoy2018-10-1015-21/+72
|
* fixes #9263Andreas Rumpf2018-10-102-62/+197
|
* Documentation improved for `math` module (#9266)eqperes2018-10-101-79/+171
|
* Fixes #9154 (#9193)manterolat2018-10-102-0/+6
|
* Iter test: closes #3819 (#9272)Miran2018-10-101-0/+28
|
* fix #9264 regression (#9265)Timothee Cour2018-10-091-5/+2
|