Federico Ceratto
5325a366e7
Add armv8l support ( Closes : #18898 ) ( #18901 ) [backport]
2021-09-27 17:35:14 +02:00
Andreas Rumpf
5d315ebcc2
ported Nim to proprietary CrossOS [backport] ( #18889 )
2021-09-24 13:24:41 +02:00
Andreas Rumpf
928ea6bb4c
atlas: added --cfgHere switch [backport] ( #18873 )
2021-09-20 13:32:33 +02:00
Federico Ceratto
a896f9f19e
Clarify unknown processor error ( #18829 )
2021-09-09 13:57:21 +02:00
Andreas Rumpf
cc5422ae50
Atlas: added 'extract' command, as promised ( #18813 )
2021-09-06 13:19:11 +02:00
Andreas Rumpf
2e2d928846
formal grammar updates [backport:1.2] ( #18803 )
2021-09-04 19:52:57 +02:00
Timothee Cour
98f7254fb2
followup #18711 grammar_nanny now reports unused non-terminals ( #18746 )
...
* followup #18711 cleanup unused grammar rules
* make tools/grammar_nanny.nim report unused terminals
* revert removal of some grammar comments
2021-08-26 07:04:18 +02:00
Juan Carlos
e65dc36ddd
Implement RFC-391 ( #18585 )
2021-08-22 12:32:55 -07:00
Kyle Brown
31fc0f9718
Remove unused imports, and deprecated function usage ( #18663 )
...
* clean up imports and slice to remove delete
* revert buggy code
* Replace "delete" with setlen to remove depreciation warning
2021-08-11 01:26:42 +02:00
flywind
2bc07554cc
make proc names consistent ( #18626 )
...
* rename `endswith` to `endsWith`
* rename
2021-08-01 12:52:24 +01:00
Antonis Geralis
ecfc47b332
Modify atlas test for short commit hashes ( #18619 )
...
* test commit hashes support
* Update testdata.nim
* remove extra newlines
2021-07-30 16:36:16 +02:00
Andreas Rumpf
664dbb6bfb
atlas tool: testing via mocking ( #18588 )
...
* atlas: refactoring
* Atlas: do some basic testing via mocking
2021-07-26 18:00:03 +02:00
Araq
b6f9f7a33e
atlas: minor changes
2021-07-21 09:09:58 +02:00
Antonis Geralis
220b55c5d7
attempt to support short commit hashes ( #18514 )
...
* attempt to support short commit hashes
Not sure if that's the correct way and what happens when the short hash matches "head"
* need to remove #
* Output needs to be stripped of newlines
2021-07-18 15:29:49 +02:00
Andreas Rumpf
089e741ce4
added Atlas helper tool ( #18497 )
...
* added Atlas helper tool
* further improvements
2021-07-16 07:42:35 +02:00
flywind
195300a938
[source code filter]fix Nightlies bug ( #18475 )
...
* workaround Nightlies bug
* Update tools/niminst/makefile.nimf
2021-07-12 14:26:46 +02:00
Timothee Cour
b72ecaf639
fix shebangs #! /xxx => #!/xxx ( #18444 )
2021-07-07 06:00:59 +02:00
Andrey Makarov
b88496ac67
fix compilation on Debian 7 (no git -C) ( #18427 )
...
* fix compilation on Debian 7 (no git -C)
* address review
* allow specify branch for testing unmerged csources
* temporarily change csources checkout parameters for testing
* Update tools/deps.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* fix failure
* Update config/build_config.txt
* set proper git branch/hash
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-07-06 20:09:56 +02:00
Timothee Cour
cb9496693a
./koch tools now builds bin/nim_dbg, a debug version of nim (#18289 )
2021-06-28 17:15:20 +02:00
Federico Ceratto
908b2cc2e4
Switch IRC links to Libera Chat ( #18370 )
2021-06-27 21:12:12 +01:00
Timothee Cour
8535b26a75
docs now show nimExperimentalX APIs ( #18345 )
...
* docs now show nimExperimentalX APIs
* fix for windows
2021-06-25 16:47:10 +02:00
Andrey Makarov
969cb97c0a
PCRE, nimgrep: add limit for buffer size ( #18280 )
2021-06-17 08:19:52 +02:00
Federico Ceratto
2d34b1f5bc
Enable parallel build in build.sh ( #18195 )
...
Add help
2021-06-14 09:30:04 +02:00
Andrey Makarov
ba3ec7b049
docs: Latex generation improvements ( #18141 )
...
* docs: improve Latex generation
* make it work on Windows + fix ] escaping
* minor fixes with escapes and style
2021-06-01 20:47:23 +02:00
Timothee Cour
3b1aabdcff
change --hint[X] => --hint:X in nim repo (avoids shell quoting issues) ( #18085 )
2021-05-26 09:51:48 +02:00
Timothee Cour
c495628255
refactor common code in CI pipelines ( #18035 )
...
* refactor CI with nimInternalInstallDepsWindows
* refactor CI with nimInternalBuildKochAndRunCI
* fixup
2021-05-26 09:43:30 +02:00
Timothee Cour
13b57524d3
ref #17913 ; fix typo in tools/ci_generate.nim generating build_all.sh ( #17915 )
2021-05-01 10:43:20 -07:00
Timothee Cour
1f1d85bb9c
reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci); use build_all.bat in 1 CI, fix bug in build_all.bat ( #17899 )
...
* reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci)
* ci_docs: use build_all.bat in CI (just in that pipeline) to ensure it keeps working
* fixup
* fix pre-existing bug in build_all.bat
* fixup
* cp => copy /y
* auto-generate build_all.bat, build_all.sh
* fixup
2021-05-01 07:24:41 +02:00
Timothee Cour
d0485e326a
bring back std/ prefix within compiler and ensure it works in bootstrap + bsd ( #17902 )
...
* [WIP] bring back std/ prefix within compiler and ensure it works in bootstrap + bsd
* refs https://github.com/nim-lang/Nim/pull/16282#discussion_r616846863
* sounds very similar to https://github.com/nim-lang/Nim/pull/14291
* more: vmops
* update tools/ci_generate.nim
* auto-generate freebsd.yml as well, to avoid duplication with openbsd.yml
* cleanup
* undo temporary CI removal
2021-04-30 22:27:53 +02:00
Timothee Cour
dce0b3b002
refactor all code that builds csources ( #17815 )
...
* refactor all code that builds csources
* fixup
* nim_csourcesDir_v0 + nim_csourcesDir
* remove deprecated, unused scripts from ci/
* reuse nimCsourcesHash in ci
* simplify CI pipelines by reusing nimBuildCsourcesIfNeeded
* simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded
* cleanup
* use csources_v1 as destination dir
* fixup
* remove pushCsources
* address comment: remove build.sh support for now
* fixup
2021-04-23 11:28:42 +02:00
Andreas Rumpf
957478ce26
removed nimfind tool, succeeded by 'nim check --defusages' ( #17737 )
2021-04-16 15:23:17 +02:00
Saem Ghani
5261579175
[nim-gdb] Fixed enums and flag output [ci skip] ( #17634 )
...
Debugger works for enums again. Additionally, flags work better than before.
Reworked object printer as well, but the approach needs much more work or has
to be replaced all together. This is mostly to save the work and myself or
someone else can revisit it.
2021-04-05 11:37:28 +02:00
Andrey Makarov
368422c219
update nimgrep documentation ( #17415 )
...
* update nimgrep documentation
* Update doc/nimgrep_cmdline.txt
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-03-23 18:12:27 +01:00
flywind
e332c20ba7
follow up #17276 ( #17355 )
...
* improve test coverage for isolation
* a bit better
* rename channels to channels_builtin
* follow up #17276
* fix
* Update lib/std/private/jsutils.nim
2021-03-19 16:54:10 +01:00
flywind
2e730f1452
rename channels to channels_builtin ( #17330 )
...
* improve test coverage for isolation
* a bit better
* rename channels to channels_builtin
2021-03-12 13:04:32 +01:00
Juan Carlos
b8c04bdb92
Add module jsfetch ( #12531 )
...
* Add module jsfetch for fetch support for JavaScript target https://developer.mozilla.org/docs/Web/API/Fetch_API
* Update lib/std/jsheaders.nim
* Update lib/std/jsformdata.nim
* Update lib/std/jsfetch.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: flywind <xzsflywind@gmail.com >
2021-03-06 20:57:16 -08:00
Timothee Cour
5d95137ce0
remove tests/deps/ ( #17132 )
...
* remove tests/deps/
* fix tests
* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim
* fixup
2021-02-23 13:31:53 +01:00
Timothee Cour
ef5303114c
fix prelude regression refs #16238 : include prelude doesn't interfere with nim doc ( #17111 )
...
* fix bug1 from #16238 nim doc now works with include prelude
* fix for windows
* fixup
2021-02-22 11:10:34 +01:00
Timothee Cour
ac82be07d8
refs #17107 use 2 instead of 3 parallel jobs for openbsd ( #17108 )
2021-02-20 18:08:53 +01:00
Timothee Cour
e94a3e5fcd
move prelude so that include std/prelude also works ( #17110 )
...
* move prelude so that `include std/prelude` also works
* add test
2021-02-20 18:08:13 +01:00
Timothee Cour
b7dd8e7dff
unbundle fusion ( #16925 )
...
* unbundle fusion
* changelog
* address comment: `./koch fusion` calls nimble install fusion (at a fixed hash)
2021-02-11 07:24:53 +01:00
Timothee Cour
a1203cf848
improve ./koch docs ( #16991 )
...
* improve ./koch docs
* fixup
* fixup
2021-02-10 12:12:31 +01:00
Andrey Makarov
635c0b6cb9
fix ./koch pdf command ( #16989 )
2021-02-09 22:46:51 +01:00
Timothee Cour
6e267d28b3
remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs ( #16861 )
...
* cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors
* simplify nimNoNilSeqs2
* simplify nimNoNilSeqs
* fixup
2021-01-29 14:30:24 +01:00
Timothee Cour
478d15f7f4
improve code in categories.nim; add std/private/gitutils; fix flakyness in nim CI (cloneDependency in deps.nim) ( #16856 )
...
* improve code in categories.nim; gitutils; fix flakyness in deps.nim
* cleanups
2021-01-29 07:51:12 +01:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
Juan Carlos
41965880ce
Add js BigInts ( #16409 )
...
* Add BigInts
* Renames tos plurals
* Improve Stringifications
* Update changelog.md
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* RunnableExamplerize
* discard the discardable pragma
* Several improvements from peer reviews, more docs
* More doc, more test
* More doc, more test
* Better error message 'Error: usage of low is an {.error.} defined at jsbigints.nim' instead of just 'type mismatch JsBigInt'
* is an overload, rename
* proc to scare kids away
* Update lib/js/jsbigints.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* https://github.com/nim-lang/Nim/pull/16409#discussion_r554365041
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-01-14 20:19:41 +01:00
Timothee Cour
ffb130b59c
skip docs for lib/fusion (docs already run in fusion repo) ( #16645 )
...
* run CI docs on koch.nim changes to avoid future regressions
* kochdocs: skip lib/fusion
2021-01-08 23:09:58 +01:00
alaviss
2a426ca8e2
kochdocs: fusion needs the js backend too ( #16644 )
2021-01-08 21:04:17 +01:00
flywind
fe20492f05
clean up the docs of some modules under lib/js ( #16579 )
2021-01-04 19:54:33 +01:00