Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Fork from Upstream Repo #1

Merged
merged 4,654 commits into from
Dec 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4654 commits
Select commit Hold shift + click to select a range
2ccd1c3
tweaked for clarity after editing to fix a typo (#12473)
disruptek Oct 22, 2019
ad3c100
guards.nim:sameTree(): handle uint literals correctly (#12483) [backp…
pyokagan Oct 22, 2019
0490324
Docstring refined for the getSectionValue() (#12478) [backport]
luav Oct 22, 2019
92fa7e0
Merge branch 'devel' into IOSelector_unregister_fix
dom96 Oct 22, 2019
6bfa4eb
Merge pull request #12371 from rayman22201/IOSelector_unregister_fix
dom96 Oct 22, 2019
93461ae
Fix many broken links
Jjp137 Oct 17, 2019
72147c9
Prefer relative links for Nim documentation
Jjp137 Oct 17, 2019
79aa589
koch.rst: remove link to nonexistent section
Jjp137 Oct 17, 2019
59c1f7c
manual.rst: remove unintended link
Jjp137 Oct 17, 2019
e6d5379
asyncstreams: replace unintended link with emphasis
Jjp137 Oct 17, 2019
3ad4806
Fix word wrapping
Jjp137 Oct 18, 2019
c90b4ec
Revert "[ci skip] disable two packages until #11764 is merged"
narimiran Oct 23, 2019
fe4a59f
fixes #12453 (#12475)
krux02 Oct 23, 2019
2120fb2
[backport] package chronos now has dependencies
narimiran Oct 23, 2019
d5cd5b0
disable flaky test on OSX
narimiran Oct 23, 2019
8d3d97a
no html comments in issue template [skip ci] (#12496)
krux02 Oct 23, 2019
822078e
add changelog for v1.0.2
narimiran Oct 23, 2019
9ccfcf5
Fix compiler crash caused by top level return (#12501)
GULPF Oct 24, 2019
4ac100c
Fix jsgen bug with uninitialized seq (#12500) [backport]
GULPF Oct 24, 2019
3d0c756
Fix JS bug in std/monotimes (#12499) [backport]
GULPF Oct 24, 2019
619b997
ast.nim: slightly better documentation
Araq Oct 24, 2019
e506c1e
fixes a regression that caused that Nim devel cannot compile 1.0 anymore
Araq Oct 24, 2019
a03a8e8
fixes a regression that caused that Nim devel cannot compile 1.0 anymore
Araq Oct 24, 2019
2baa21d
disable package 'chronos' for now
narimiran Oct 24, 2019
8f89164
[backport] Documentation Math module (#12460)
juancarlospaco Oct 24, 2019
b03de8a
Fix many broken links and prefer relative links within docs (#12463)
narimiran Oct 24, 2019
d731646
[backport] Clarifies experimental / parallel example on manual.rst (#…
UNIcodeX Oct 24, 2019
9ac062b
[backport] Add link to posix_utils.html - related to #10723 (#12509)
Oct 24, 2019
801a794
VM: fixes most ran-out-registers problems [backport] (#12485)
Araq Oct 24, 2019
f827d75
compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484)
alaviss Oct 24, 2019
8a599fb
fixes #12491 [backport]
Araq Oct 24, 2019
8040c84
Fix Nim specify wrong option to vccexe when vcc.options.always is set…
demotomohiro Oct 24, 2019
e0d13ab
VM: fixes register leaks [backport] (#12510)
Araq Oct 24, 2019
5b3571c
compiler/semtypes: improve lineinfo for exported object fields (#12495)
alaviss Oct 24, 2019
1d42108
sequtils: replace deprecated 'random' call within example (#12515) [b…
Jjp137 Oct 25, 2019
60ff41a
'#' value parcing is explained (disambiguated) (#12476)
luav Oct 25, 2019
3a62cf2
Remove sentences referring to the graphics module (#12522)
Jjp137 Oct 26, 2019
3c567bc
fixes #12514 (#12520) [backport]
krux02 Oct 27, 2019
f3b56e7
Add /nologo option when nim call cl.exe (#12524)
demotomohiro Oct 27, 2019
0631d2d
minor improvements
Araq Oct 25, 2019
1208291
development version should be 1.1.0 so that version checking can work…
Araq Oct 25, 2019
cbbc2cc
fixes #12502
Araq Oct 25, 2019
7192b13
some progress on bug #12443
Araq Oct 27, 2019
91af075
integer literal documentation [ci skip] (#12513)
krux02 Oct 28, 2019
a2ad7d4
fix deprecation warnings related to Int128 (#12474)
narimiran Oct 28, 2019
5ed99f8
Extent json.to testing to VM, add workrounds for VM bugs. (#12493)
krux02 Oct 28, 2019
a9d7796
[feature]strformat: add 2 'fmt' macros that use specified characters …
demotomohiro Oct 28, 2019
580462c
splitPath() behavior synchronized with splitFile() (#12481)
luav Oct 28, 2019
ee119f7
colors: fix 'mix' template and make most examples runnable (#12532) […
Jjp137 Oct 28, 2019
9037694
Add a changelog entry related to PR #11748 [ci skip] (#12541)
demotomohiro Oct 28, 2019
c58aa77
[backport] fix broken link to non-existing c2nim manual html, fixes #…
AvdN Oct 28, 2019
160c07b
Fix code style errors (#12545)
SolitudeSF Oct 28, 2019
c52a2c3
proof that refcounting can handle Nim's async (#12533)
Araq Oct 28, 2019
e58c2d2
[backport] fix #12528, fix #12525: incorrect generic type resolution …
Araq Oct 28, 2019
44b1ecc
destructors.rst: added a missing 'var' to the motivating example
Araq Oct 28, 2019
de5f6a0
Fix newLit for objects having string fields (#12542) [backport]
zah Oct 28, 2019
1214960
fixes #12547 [backport]
Araq Oct 29, 2019
34dbc56
fix several typos in documentation and comments (#12553)
Nindaleth Oct 30, 2019
b5bb581
Improve Math.Trunc code emit on JS, had weird whitespaces and indents…
juancarlospaco Oct 30, 2019
1746da2
--gc:destructors now means Nim uses pure refcounting (#12557)
Araq Oct 30, 2019
79a262d
better testing for nimcrypto; re-enable chronos testing (#12560)
Araq Oct 31, 2019
0c7b6c9
Switch mingw links (#12561)
genotrance Oct 31, 2019
99078d8
introduce csize_t instead of fixing csize (#12497)
krux02 Oct 31, 2019
d914e9a
[backport] Add docs to better distinguish among getProjectPath, getCu…
kaushalmodi Oct 31, 2019
3761e62
improve codegen quality for --gc:destructors
Araq Nov 1, 2019
7a4d066
make renderIds work again
Araq Nov 1, 2019
44a27cc
--gc:destructors: simple closures work
Araq Nov 1, 2019
4e0f120
Fixes #12536 (#12568) [backport]
demotomohiro Nov 2, 2019
ceda586
fixes #12577 [backport] (#12584)
Araq Nov 3, 2019
4c9a7e6
JS improve indent (#12581)
juancarlospaco Nov 3, 2019
3f4b997
newruntime: only check for dangling refs when 'owned ref T' support i…
Araq Nov 3, 2019
bdc2bcc
NimPatch of devel version should be an odd number because of the earl…
narimiran Nov 3, 2019
62fc3db
--os:ios needs to imply defined(macosx) [backport] (#12585)
Araq Nov 4, 2019
992f0a7
fix conversions to uint in varints.nim (#12564)
krux02 Nov 4, 2019
ae32d63
[backport] fix #12395 (#12590)
narimiran Nov 4, 2019
558ecd1
compiler/suggest: add variable support to `con` (#12569)
alaviss Nov 4, 2019
cf5c3f2
Fixes #12379 (#12591) [backport]
Clyybber Nov 4, 2019
b24560a
Make sequtils.zip return seq of anonymous tuples (#12575)
kaushalmodi Nov 4, 2019
46af816
implement the --useVersion emulation feature
Araq Nov 4, 2019
ffa9a74
fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592)
narimiran Nov 5, 2019
3ba3307
remove deprecated procs (#12535)
Araq Nov 5, 2019
0694bd4
Add `or detectOs(Manjaro)` (#12587) [backport]
jiro4989 Nov 4, 2019
1794cd4
expr -> untyped
Araq Nov 5, 2019
d192067
async: use $ and not repr in debug mode
Araq Nov 5, 2019
59c2126
[backport] Add links to packaging and distro pages (#12603) [ci skip]
Nov 6, 2019
61889c6
export nim.cfg parser (#12602)
disruptek Nov 6, 2019
cc3e9ca
remove unused imports
narimiran Nov 6, 2019
5ccbf7e
[backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]
torarvid Nov 6, 2019
c6a451c
remove unused imports from tests
narimiran Nov 6, 2019
5381c81
[backport] rewrite flaky runnable example
narimiran Nov 6, 2019
717da9f
[backport] print more information for the previous commit
narimiran Nov 6, 2019
738c957
add --clearNimblePath; fixes #12601 (#12609)
disruptek Nov 6, 2019
5544a13
restore --define:key:val in nim.cfg and fix #12367 (#12611)
disruptek Nov 6, 2019
675189c
Merge pull request #12613 from nim-lang/miran-unused-imports
dom96 Nov 6, 2019
230c618
error message: Nim calls it 'proc'
Araq Nov 6, 2019
166048d
osproc needs 'import linux' for -d:useClone
Araq Nov 7, 2019
0d00bde
fix failing test
narimiran Nov 7, 2019
14a0182
pragmas.nim: tiny code formatting
Araq Nov 7, 2019
f69ee29
bugfix that enables the 'since' template [backport]
Araq Nov 7, 2019
372b017
added 'since' template for further stdlib additions
Araq Nov 7, 2019
94675c2
backtick and export marker handling in `eqIdent` (#12574)
krux02 Nov 7, 2019
e1b1759
fixes #5050; fixes #11826 (#12606) [backport]
cooldome Nov 7, 2019
8b1ef8e
allow random module to be used in standalone: (#12617)
foldl Nov 7, 2019
a2d6691
fix #12597 (#12604)
krux02 Nov 7, 2019
76085e8
added support for openArray's for `gcd` and `lcm` (#12621)
drkameleon Nov 7, 2019
135e945
make parsexml compatible with --gc:destructors/newruntime
Araq Nov 7, 2019
4e841ab
Fix crash in terminate handler (#12572) [backport]
valashko Nov 7, 2019
1e71c13
fix compilation warning (#12618)
cooldome Nov 8, 2019
6958248
fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.t…
narimiran Nov 8, 2019
144ad36
Implemented outplace differently (#12599)
Clyybber Nov 9, 2019
82e0765
--gc:destructors improvements (#12626)
Araq Nov 9, 2019
e835377
inhibit silly warning about moving closure environments for performance
Araq Nov 9, 2019
a4d43d7
--gc:destructors: bugfixes
Araq Nov 9, 2019
0c4d812
Version of trimZeros without temp strings (#12633)
planetis-m Nov 11, 2019
7e68987
Fix #12135 and #12109 (#12137)
euantorano Nov 11, 2019
dfb020b
.cursor implementation (#12637)
Araq Nov 12, 2019
84861eb
fixes #12644
Araq Nov 12, 2019
0496a66
implemented alignas pragma (#12643)
krux02 Nov 13, 2019
8394c00
remove long-deprecated 'mapIt'
narimiran Nov 13, 2019
a1e7bf8
a better way to test Arraymancer
narimiran Nov 13, 2019
eea0cb0
async: cleaner solution that avoids GC_ref on strings which doesn't e…
Araq Nov 12, 2019
25c724d
gc:arc: support GC_ref/unref for ref T
Araq Nov 12, 2019
6ad0238
make tests green again
Araq Nov 12, 2019
3020e49
ARC: use the new .cursor annotation for 'up' pointers
Araq Nov 13, 2019
bcab3ed
ARC: handle closures like tuples consistently
Araq Nov 13, 2019
f22d3c7
ARC: closure inside object constructor now works
Araq Nov 13, 2019
a14abc5
ARC: solves phase ordering problems (#12654)
Araq Nov 14, 2019
ffca3ee
fix documentation of `$`*(dt: DateTime) (#12660)
enthus1ast Nov 14, 2019
107b40f
remove two asserts in int128.nim (#12648) [backport]
narimiran Nov 15, 2019
76179cb
ARC: fixes leaking new() statement (#12665)
Araq Nov 15, 2019
83b7656
fixes #12319 - change exception handling for finish.exe (#12413)
me7 Nov 15, 2019
9c46526
Fix htmlgen html lang (#12668) [backport]
juancarlospaco Nov 15, 2019
58f3e07
fixes and changes the recently introduced 'alignas' to be 'align' (#1…
Araq Nov 15, 2019
223e65e
attempt to add valgrind support to the CIs and testament (#12646)
Araq Nov 18, 2019
bab5351
Fixes ambiguity errors when evaluating Nimble files. (#12674) [backport]
dom96 Nov 18, 2019
5278cf8
ARC: closure bugfixes (#12677)
Araq Nov 18, 2019
03fa9a9
fix regression in align (#12680)
krux02 Nov 19, 2019
56a00da
fixes #12612 [backport] (#12681)
Araq Nov 19, 2019
a880041
Discussion both in (#12678)
c-blake Nov 20, 2019
85ffcd8
more arc improvements (#12690)
Araq Nov 20, 2019
c98e0e2
conversions to unsigned numbers are not checked anymore; implements /…
Araq Nov 20, 2019
78e02d1
fixes #12670 [backport] (#12693)
Araq Nov 20, 2019
1b2c1bc
Remove a stray file (#12697)
Jjp137 Nov 21, 2019
48eed1f
thavlak.nim test: improved the code style
Araq Nov 21, 2019
f07774d
more thavlak.nim improvements
Araq Nov 21, 2019
d45a736
more thavlak.nim improvements
Araq Nov 21, 2019
135774d
thavlak.nim: more idiomatic code
Araq Nov 21, 2019
f7ba7c7
added the --asm command line option for inspection of the produced as…
Araq Nov 21, 2019
c0eeea4
Improve head comment on JS (#12548)
juancarlospaco Nov 22, 2019
64e8f05
implemented a new localPassc pragma (#12706)
Araq Nov 22, 2019
e5478b3
fixes #11863 multipart data need $ (#12707)
Araq Nov 22, 2019
5bb6c67
add collect macro (#12708)
planetis-m Nov 22, 2019
f0c5d99
index out of bounds exception when data is empty (#12428)
jackhftang Nov 22, 2019
c85e266
ARC: yet another silly bugfix
Araq Nov 22, 2019
2acf74d
delete list comprehension (#12392)
krux02 Nov 22, 2019
8b2f8f5
ARC: another critical bugfix; temporary tuples we introduce for tuple…
Araq Nov 22, 2019
015bec6
Revert "ARC: another critical bugfix; temporary tuples we introduce f…
narimiran Nov 24, 2019
1f7871e
csize_t changes: pinToCpu didn't compile (#12725)
mratsim Nov 25, 2019
bfad005
Fix wrong section hierarchy in the manual (#12724) [backport]
tauplus Nov 25, 2019
8debf79
fix typo in the manual (#12723)
tauplus Nov 25, 2019
bd8f49c
replace some runtime repr in stdlib for gc:arc (#12716)
disruptek Nov 25, 2019
04614a3
fix in tests/js/tconsole (#12709)
krux02 Nov 25, 2019
dfe5d11
fixes #12663 staticRead now creates a dependency for rebuilds (#12731…
timotheecour Nov 25, 2019
879801c
increase the timeout for 'tasyncclosestall' (#12744)
narimiran Nov 26, 2019
72237e2
ARC: ported the GC tests over to --gc:arc
Araq Nov 25, 2019
80b508d
test suite: rename tests containing 'fail' for easier search in logs
Araq Nov 25, 2019
fd85a5a
more fixes for --cpu:avr [backport] (#12748)
Araq Nov 27, 2019
a7aeabb
[backport] Fix spelling typos (#12755)
bwignall Nov 28, 2019
0944b0f
[backport] Fix style issues in lib/, tools/, and testament/. Fixes #1…
Nov 28, 2019
d4cae11
fixes a flaky test for the realtime GC
Araq Nov 28, 2019
abe07eb
VM: improvements for var T/addr (#12667); fixes #12489
Araq Nov 28, 2019
010067f
Substitute $nimbleDir in --path flags (#12750)
genotrance Nov 28, 2019
b662842
Fix for 16 bit platforms (#12760) [backend]
PMunch Nov 28, 2019
7e747d1
Cosmetic compiler cleanup (#12718)
Clyybber Nov 28, 2019
2dea920
ARC: implemented a simple cycle detector
Araq Nov 28, 2019
87f0d53
fixes #12488 [backport]
Araq Nov 28, 2019
0996eb1
fixes #11727 [backport]
Araq Nov 28, 2019
9ea55ec
make addQuoted work on nimscript (#12717) [backport]
Nov 28, 2019
49db2a0
Fixes #12767 (#12768)
genotrance Nov 29, 2019
5456da3
Fix sequtils.delete bug with out of bounds indexes (#12506)
GULPF Nov 29, 2019
a114a40
fix httpclient.lastModified bad pattern in parsing (#12698)
zaphodef Nov 29, 2019
b688250
fixes #12766
Araq Nov 29, 2019
7e6e399
fixes #12669
Araq Nov 29, 2019
c5c6bae
#12103 - CI for FreeBSD (#12179)
euantorano Nov 29, 2019
b6b8d54
[backport] always set `fileInfoIdx.isKnownFile` (#12773)
Nov 29, 2019
0d02262
fix nimsuggest deprecation warnings (#12772)
Nov 30, 2019
6aade97
Refactored VM registerlayout. The size and location of the registers …
zevv Nov 30, 2019
378289c
Fixes #12734 (#12784)
demotomohiro Dec 1, 2019
9e1fd9e
[minor] fix doc for $(Time) (#12795) [backport]
timotheecour Dec 3, 2019
eed3288
Path substitution for --out and --outdir (#12796)
genotrance Dec 3, 2019
7b562dd
Update events.nim (#12803)
AzureKitsune Dec 3, 2019
01c7409
Fix external file recompilation (#12802)
cooldome Dec 3, 2019
3383985
osx: support nanosecond resolution for file stat (eg getLastModificat…
timotheecour Dec 4, 2019
b0c06aa
fix #12740 (#12774)
krux02 Dec 4, 2019
de1a283
fixes #12798 [backport]
Araq Dec 4, 2019
0987872
fixes #12804 (#12809)
cooldome Dec 5, 2019
208b018
fix db_mysql getRow() when column is null error raised (#12806) [back…
itsumura-h Dec 5, 2019
267fed5
Fix #12812
Clyybber Dec 5, 2019
0e7338d
better support for PROGMEM like annotations for lets/vars; fixes #122…
Araq Dec 5, 2019
26074f5
nimgrep improvements (#12779)
a-mr Dec 5, 2019
9b0e874
fixes #12783 [backport] (#12810)
cooldome Dec 5, 2019
3fbb3bf
ARC related bugfixes and refactorings (#12781)
Araq Dec 5, 2019
1db2172
Fixed objects being erroneously zeroed out before object construction…
nc-x Dec 5, 2019
7213969
fixes #12821 (#12822)
cooldome Dec 6, 2019
23fc93f
VM: allow ptr setting ptr fields (#12825)
timotheecour Dec 6, 2019
46144a3
deviated -> derived (#12845) [backport]
mark-summerfield Dec 8, 2019
0ebc709
deviated -> derived (#12846) [backport]
mark-summerfield Dec 8, 2019
5da27a8
Removing the mention of using `discard` for block comments (#12837) […
elliotwaite Dec 8, 2019
ae7b53e
Fixes classify function to detect subnormal floating points (#12836)
KeepCoolWithCoolidge Dec 8, 2019
50c1e50
Add a 32x32 favicon (#12856)
elliotwaite Dec 8, 2019
73dd348
Manual update: custom exceptions (#12847) [backport]
mark-summerfield Dec 8, 2019
ff5ef95
Fixes #12832 (#12842) [backport]
nc-x Dec 8, 2019
a02d043
added cstrutils (#12858) [backport]
cndkhuong Dec 9, 2019
a3d45d0
add a StringTable.clear that requires no mode specification (#12853)
disruptek Dec 9, 2019
7ebb2ba
Assigning template to var/let/const gives a proper error (#12851)
nc-x Dec 9, 2019
e4f7656
Support cross compiling from host to host (#12859)
nc-x Dec 9, 2019
5929c3d
fixes #12820 (#12828)
cooldome Dec 9, 2019
c282cee
feature dracula themed doc (#12816)
Araq Dec 10, 2019
13d232e
fixes #12827 (#12829) [backport]
cooldome Dec 10, 2019
61d89aa
completes #12799, fixes #12216 (#12870)
Araq Dec 10, 2019
65fd95b
Fix AVR target to define ints properly (#12817)
PMunch Dec 10, 2019
56cf340
introduce capture macro (#12712)
foldl Dec 10, 2019
b8152b2
ARC: yet another bugfix (#12871)
Araq Dec 10, 2019
e61d702
Increased TInstr field sizes: allow long jumps and 65535 VM registers…
zevv Dec 10, 2019
3524944
ARC: fixes cycle detection and move the .cursor attribute into closur…
Araq Dec 11, 2019
9428916
invoke createTypeBoundOps for constructors (#12878)
cooldome Dec 11, 2019
22b2684
fixes #12148 [backport] (#12888)
Araq Dec 12, 2019
1e1fd73
fixes #12882 (#12889)
cooldome Dec 13, 2019
777c9ad
Better clang_cl support (#12896)
cooldome Dec 13, 2019
12d2b98
Fixes #12883 (#12894)
cooldome Dec 13, 2019
a0aa8fa
fixes #12874 (#12890)
Araq Dec 13, 2019
347a046
fixes #12885 [backport] (#12895)
Araq Dec 13, 2019
20a59da
Add `--git.devel` option to the documentation
binhonglee Dec 14, 2019
e4e74a5
remove unused import (#12900)
funcmike Dec 15, 2019
e5ed4c1
fix json regression D20191212T144944 (#12902) [backport]
timotheecour Dec 15, 2019
e8f4586
allow typed/untyped in magic procs (#12911)
timotheecour Dec 17, 2019
7650617
NaN floatFormat with clang_cl (#12910)
cooldome Dec 17, 2019
5848f00
add $nimeq for gdb (#12909)
krux02 Dec 17, 2019
83a736a
ARC: cycle detector (#12823)
Araq Dec 17, 2019
18e2ea7
Cleanup leftovers of #12911(#12916)
Clyybber Dec 17, 2019
f9f55a2
Fix single match output (#12920)
genotrance Dec 17, 2019
3f6df5c
fixes #12899 (#12921)
Araq Dec 18, 2019
148f6d9
Implement NixOS distro check (#12914)
ehmry Dec 18, 2019
3c38edf
Better case coverage error message for alias and range enum (#12913)
Dec 18, 2019
cb0a20b
fix error in assertions document (#12925) [backport]
ringabout Dec 18, 2019
206a4ce
fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]
timotheecour Dec 19, 2019
e041c18
fix #12919 tasyncclosestall flaky: Address already in use (#12934)
timotheecour Dec 19, 2019
10bd7d8
system.reset is no longer magic (#12937)
Clyybber Dec 19, 2019
9b8afd1
Fix #12785 (#12943)
RSDuck Dec 21, 2019
e1d79d4
update documentation for `closureScope` and `capture` (#12886)
foldl Dec 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
image: freebsd/latest
packages:
- databases/sqlite3
- devel/boehm-gc-threaded
- devel/pcre
- devel/sdl20
- devel/sfml
- www/node
- devel/gmake
- devel/git
sources:
- https://github.com/nim-lang/Nim
environment:
CC: /usr/bin/clang
tasks:
- setup: |
cd Nim
git clone --depth 1 -q https://github.com/nim-lang/csources.git
gmake -C csources -j $(sysctl -n hw.ncpu)
bin/nim c --skipUserCfg --skipParentCfg koch
echo 'export PATH=$HOME/Nim/bin:$PATH' >> $HOME/.buildenv
- test: |
cd Nim
if ! ./koch runCI; then
nim c -r tools/ci_testresults.nim
exit 1
fi
triggers:
- action: email
condition: failure
to: Andreas Rumpf <rumpf_a@web.de>
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: 'araq' # Replace with a single Patreon username
open_collective: 'nim' # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: 'https://nim-lang.org/donate.html' # Replace with a single custom sponsorship URL
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Have you found an unexpected behavior? Use this template.
title: Think about the title, twice
labels: ''
assignees: ''

---

Function `echo` outputs the wrong string.

### Example
```nim
echo "Hello World!"
```

### Current Output
```
Hola mundo!
```

### Expected Output
```
Hello World!
```

### Possible Solution

* In file xyz there is a call that might be the cause of it.

### Additional Information

* It was working in version a.b.c
* Issue #abc is related, but different because of ...
* This issue is blocking my project xyz

```
$ nim -v
Nim Compiler Version 0.1.2
```
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Feature request
about: Do you want to suggest a new feature? Use this template.
title: ''
labels: ''
assignees: ''

---

<!---
Notice there is now a separate repository for the detailed RFCs and proposals:
https://github.com/nim-lang/RFCs

If you have a simple feature request, you can post it here using this template,
but bear in mind that adding new features to the language is currently a low priority.
-->


### Summary
<!--- Short summary of your proposed feature -->


### Description
<!--- Describe your solution, what problem does it fix? -->


### Alternatives
<!--- Are there any alternatives you've considered? -->


### Additional Information
<!--- For Example:
* A link to a project where the issue is relevant.
* A link to a related issue or discussion.
-->
33 changes: 29 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ dnimcache/
!/icons/*.o
*.obj
*.ilk
*.exp
*.pdb
*.lib
*.dll
*.exe
*.so
*.dylib
*.zip
*.iss
*.log
*.pdb

mapping.txt
tags
Expand All @@ -30,7 +33,7 @@ doc/*.html
doc/*.pdf
doc/*.idx
/web/upload
build/*
/build/*
bin/*

# iOS specific wildcards.
Expand All @@ -40,24 +43,46 @@ bin/*
*.perspectivev3
*.swp
.DS_Store
.tags
project.xcworkspace/
xcuserdata/

# Generated files.
/compile.json
/compiler/nimrod.dot
/compiler/nim.dot
/reject.json
/run.json
/testresults.html
/tools/dochack/dochack.js
*.json
/pkgstemp/**/*
# for `nim doc foo.nim`
/*.html
lib/**/*.html
#/testresults.html #covered by /*.html

/testresults.json
testament.db
/tests/**/*.json
/tests/**/*.js
/csources
dist/

# Private directories and files (IDEs)
.*/
~*

# testament cruft
# testament cruft; TODO: generate these in a gitignore'd dir in the first place.
testresults/
test.txt
/test.ini

tweeter.db
tweeter_test.db
megatest.nim

/outputExpected.txt
/outputGotten.txt

/lib/pure/*.js

!/.builds/
7 changes: 3 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stages:

.linux_set_path: &linux_set_path_def
before_script:
- export PATH=$(pwd)/bin:$PATH
- export PATH=$(pwd)/bin${PATH:+:$PATH}
tags:
- linux

Expand Down Expand Up @@ -53,9 +53,8 @@ test-windows:
<<: *win_set_path_def
script:
- call ci\deps.bat
- nim c --taintMode:on tests\testament\tester
- tests\testament\tester.exe --pedantic all
- nim c testament\tester
- testament\tester.exe --pedantic all
tags:
- windows
- fast

106 changes: 74 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,94 @@
sudo: false
language: c
os:
- linux
- osx
dist: trusty

dist: xenial

matrix:
allow_failures:
fast_finish: true

include:
- os: linux
env:
- NIM_COMPILE_TO_CPP=false
- CPU=amd64

- os: linux
env:
- NIM_COMPILE_TO_CPP=false
- CPU=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libcurl4-openssl-dev:i386
- libgc-dev:i386
- libglib2.0-dev:i386
- libpulse-dev:i386
- libsdl1.2-dev:i386
- libsfml-dev:i386

- os: osx
env:
- NIM_COMPILE_TO_CPP=false
- CPU=amd64

- os: osx
env:
- NIM_COMPILE_TO_CPP=true
- CPU=amd64

# To allow failures for a failing configuration, use something like:
# allow_failures:
# - env: NIM_COMPILE_TO_CPP=true
# - os: osx

addons:
apt:
# update the list above if more deps are introduced
packages:
- libcurl4-openssl-dev
- libsdl1.2-dev
- libgc-dev
- libsfml-dev
- libc6-dbg
- valgrind
homebrew:
packages:
- boehmgc
- make
- sfml
update: true

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boehmgc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sfml; fi
install:
- if [[ $CPU = i386 ]]; then echo -e "#!/bin/bash\n$(which gcc) -m32 \"\$@\"" > bin/gcc; fi
- if [[ $CPU = i386 ]]; then chmod 755 bin/gcc; fi
- if [[ $CPU = i386 ]]; then echo -e "#!/bin/bash\n$(which g++) -m32 \"\$@\"" > bin/g++; fi
- if [[ $CPU = i386 ]]; then chmod 755 bin/g++; fi

before_script:
- set -e
- git clone --depth 1 https://github.com/nim-lang/csources.git
- cd csources
- sh build.sh
- cd ..
- sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
- export PATH=$(pwd)/bin:$PATH
- export PATH="$PWD/bin${PATH:+:$PATH}"
- make -C csources -j 2 LD=$CC ucpu=$CPU

script:
- echo "travis_fold:start:nim_c_koch"
- nim c koch
- ./koch boot
- ./koch boot -d:release
- ./koch nimble
- nim e tests/test_nimscript.nims
- nimble install zip -y
- nimble install opengl
- nimble install sdl1
- nimble install jester@#head
- nimble install niminst
- nim c --taintMode:on -d:nimCoroutines tests/testament/tester
- tests/testament/tester --pedantic all -d:nimCoroutines
- ./koch web
- ./koch csource
- ./koch nimsuggest
# - nim c -r nimsuggest/tester
- ( ! grep -F '.. code-block' -l -r --include '*.html' --exclude contributing.html --exclude docgen.html --exclude tut2.html )
- ( ! grep -F '..code-block' -l -r --include '*.html' --exclude contributing.html --exclude docgen.html --exclude tut2.html )
- echo "travis_fold:end:nim_c_koch"
- ./koch runCI

before_deploy:
# Make https://nim-lang.github.io/Nim work the same as https://nim-lang.github.io/Nim/overview.html
- cp -f ./doc/html/overview.html ./doc/html/index.html
deploy: # https://nim-lang.github.io/Nim
provider: pages
# local-dir *has* to be a relative path from the repo root.
local-dir: "doc/html"
skip-cleanup: true
github-token: "$GITHUB_OAUTH_TOKEN"
keep-history: false
on:
branch: devel

# Extract failed tests
after_failure: nim c -r tools/ci_testresults.nim
Loading