Commit Graph

13735 Commits

Author SHA1 Message Date
Araq
ea2309a99f contributing guide: document the new [backport] convention
(cherry picked from commit b138e89772)
2018-11-01 18:07:39 +01:00
Araq
8172ac8c0b system.nim: workaround for the fixed documentation generator
(cherry picked from commit 1dd1d66f16)
2018-11-01 18:07:13 +01:00
Araq
78f9a55287 nre: don't use the deprecated import syntax
(cherry picked from commit 895ac5bec4)
2018-11-01 18:06:57 +01:00
Arne Döring
758c20dc84 fixes #9557
(cherry picked from commit e653121633)
2018-11-01 18:06:42 +01:00
B3liever
1a9b954cd9 Fix names set and get procs in macros
(cherry picked from commit fb75e3bb49)
2018-11-01 18:06:32 +01:00
Ian
801c102881 #9348 Merge some small test files (#9561)
* Consolidated types issue tests
* Consolidated vm issue tests

(cherry picked from commit 5ddeead29c)
2018-11-01 18:03:51 +01:00
Araq
5d3756ed3f fixes #7667; underlying issue is that dot calls in generics have no concept of 'friend' symbols, will be addressed later
(cherry picked from commit e44df5dca6)
2018-11-01 18:03:28 +01:00
narimiran
939ffc3615 more examples for mod and div, plus corrections [ci skip]
(cherry picked from commit 80b78b50d0)
2018-11-01 18:03:16 +01:00
Clyybber
20b6c47d3f actually do ceiling division, not a similar operation
Co-Authored-By: flaviut <tamasflaviu@gmail.com>
(cherry picked from commit 2aa7eeda39)
2018-11-01 18:03:05 +01:00
Neelesh Chandola
c756983795 Fixes #9525 (#9526)
(cherry picked from commit 95cc1abdc7)
2018-11-01 18:02:56 +01:00
xzfc
c8786ad197 Fix strscans.scanp (#9518)
* strscans: fix typo

* strscans: fix #9240

* strscans: add tests

(cherry picked from commit 95a60dc780)
2018-11-01 18:02:33 +01:00
Araq
aa1def75c0 make tests\benchmarks programs compile again
(cherry picked from commit c804b606f9)
2018-11-01 18:02:07 +01:00
narimiran
2f48d2175b Closes #6986
(cherry picked from commit f4149ae535)
2018-11-01 18:01:58 +01:00
Flaviu Tamas
71d9a1f289 Eliminate floating point arithmatic in nre
Integer division is already hard enough on your CPU, using floating
point here is WAY slower and can just as effectivly be done using
integers. This is important because matchImpl tends to be in the center
of very hot loops (like split()).

(cherry picked from commit 9ca1c2c930)
2018-11-01 18:01:44 +01:00
Andrii Riabushenko
2333645fbd update changelog 2018-11-01 18:01:29 +01:00
citycide
171721bf49 docs: clarify asyncCheck vs waitFor
(cherry picked from commit 4362ba7293)
2018-11-01 18:00:26 +01:00
Andreas Rumpf
45655332e8 nimpretty tester: strengthen the comparison, do not use strip
(cherry picked from commit dd252ce640)
2018-11-01 18:00:11 +01:00
Andreas Rumpf
961d8bdf2f nimpretty: fixes #9506
(cherry picked from commit 03005fde99)
2018-11-01 18:00:03 +01:00
Araq
fb9aa0c821 correct tnoop test case 2018-11-01 17:59:26 +01:00
Araq
c53046223f nimpretty: fixes #9500
(cherry picked from commit 87d60b2a4b)
2018-11-01 17:58:44 +01:00
Araq
6977a743f3 nimpretty: fixes #9504
(cherry picked from commit 0afca3dd6b)
2018-11-01 17:58:33 +01:00
Andreas Rumpf
6844d679fc nimpretty: fixes #9499
(cherry picked from commit 5fd2827ab6)
2018-11-01 17:58:17 +01:00
Andreas Rumpf
4b06f19b71 stdlib: documenation updates, the exception names have been changed
(cherry picked from commit 223e92b83a)
2018-11-01 17:58:07 +01:00
Andreas Rumpf
f8c341e31f make tests green again
(cherry picked from commit f5a2c6e19d)
2018-11-01 17:57:30 +01:00
Andreas Rumpf
d6124ccbad parsutils: minor doc improvements
(cherry picked from commit 9331f06c0b)
2018-11-01 17:57:15 +01:00
Araq
522896f488 nimpretty: closes #9484
(cherry picked from commit e7e75224a2)
2018-11-01 17:57:03 +01:00
Araq
427aa63a66 nimpretty: test for idempotence; fixes #9483
(cherry picked from commit 06a6433db7)
2018-11-01 17:56:53 +01:00
genotrance
01b36cce1e Make Windows cross-compilation simpler (#9485)
(cherry picked from commit 8500076651)
2018-11-01 17:56:42 +01:00
Araq
db68353848 nimpretty: fixes #8078
(cherry picked from commit 3ee53a7c8e)
2018-11-01 17:56:34 +01:00
Araq
8196fd6f73 nimpretty: fixes #9398
(cherry picked from commit e3a0415650)
2018-11-01 17:56:04 +01:00
Araq
5f1280194e closes #9400
(cherry picked from commit 72370c8dfa)
2018-11-01 17:55:54 +01:00
Araq
1b2c8317e0 nimpretty: minor bug fix
(cherry picked from commit 695074214b)
2018-11-01 17:55:43 +01:00
loongw
80a9ac1400 \#include "windows.h" instead of "Windows.h" (#9475)
This fixes #9474

(cherry picked from commit 4841fc5356)
2018-11-01 17:55:31 +01:00
recloser
fdce2e0188 Fix printing and comparing uninitialized strings
(cherry picked from commit 2b03bed2db)
2018-11-01 17:55:20 +01:00
Vindaar
5e48d4050e add test case
(cherry picked from commit 557fa85e02)
2018-11-01 17:55:12 +01:00
Vindaar
a482e5735d fixes #9456 by only calling c_fclose if non nil
(cherry picked from commit e190f485ae)
2018-11-01 17:54:44 +01:00
Oscar Nihlgård
b864c89479 Fix times 32-bit issue
(cherry picked from commit 81f5427ed4)
2018-11-01 17:54:28 +01:00
Timothee Cour
8f5a127e5c [doc] add tips to doc/contributing.rst: git, code review, CI (#9429) 2018-11-01 17:53:51 +01:00
Miran
614059d6de Update issue templates
Create `bug report` and `feature request` templates.

(cherry picked from commit fc625091e0)
2018-11-01 17:52:41 +01:00
Arne Döring
6a6b77190c Create issue_template.md
(cherry picked from commit d26beedfb1)
2018-11-01 17:52:33 +01:00
Miran
38b391ff62 merge stdlib tests (#9439)
(cherry picked from commit 9fb212cfdf)
2018-11-01 17:52:04 +01:00
jcosborn
42056874d1 added test for #4674 (#9438)
(cherry picked from commit 3b1ade0350)
2018-11-01 17:51:51 +01:00
Timothee Cour
4424fe0acc fixes #9376: old changelogs should be kept instead of erased (#9428)
(cherry picked from commit 162e7ee5b5)
2018-11-01 17:51:41 +01:00
Timothee Cour
6515810a2e [doc] start of best practices section in contributing.rst (#9415)
(cherry picked from commit 15dbd973de)
2018-11-01 17:51:33 +01:00
Araq
c1a6ebf40d closes #6220
(cherry picked from commit c64391e30b)
2018-11-01 17:51:16 +01:00
Araq
8f8f3ba12f closes #5321
(cherry picked from commit 4644484fb7)
2018-11-01 17:50:53 +01:00
Vindaar
58726f9b81 fix #9394 by replacing fmt with strutils.% (#9417)
* fix #9394 by replacing `fmt` with normal string append

Until issue #7632 is fixed, use string append.

* use `strutils.%` instead of normal string add

(cherry picked from commit 82a1576263)
2018-11-01 17:50:38 +01:00
LemonBoy
8a356fafb7 Make the swap procs safe for unaligned input ptrs (#9210)
* Make the swap procs safe for unaligned input ptrs

The copy to a temporary local variable is often elided by a sufficiently
smart compiler when it can prove the input pointer is aligned.

Refs #9206

* Explain why copyMem is used

(cherry picked from commit 1fe949b9d5)
2018-11-01 17:50:28 +01:00
Timothee Cour
624d05c73f [nimscript] document currentSourcePath in thisDir (#9402)
(cherry picked from commit 7d8e281239)
2018-11-01 17:50:03 +01:00
Araq
b65b360ac2 tests: disable flaky tests for now; closes #9421
(cherry picked from commit 381498b0db)
2018-11-01 17:49:55 +01:00