Andreas Rumpf
a0073d2d4c
renamed 'gc' switch to 'mm'; [backport:1.6] ( #19187 )
...
* renamed 'gc' switch to 'mm'; [backport:1.6]
* better docs
2021-11-24 15:49:32 +01:00
Andrey Makarov
997ccc5889
fix nimindexterm in rst2tex/doc2tex [backport] ( #19106 )
...
* fix nimindexterm (rst2tex/doc2tex) [backport]
* Add support for indexing in rst
2021-11-09 19:01:47 +01:00
Kaushal Modi
efaaa38eef
docstyle.rst: Do not export it to HTML as a standalone doc ( #19083 )
...
.. This doc is included in contributing.rst.
Fixes https://github.com/nim-lang/Nim/issues/14593 .
2021-11-02 10:34:11 +01:00
ynfle
c80e2c1736
Docs: change clipboard cursor type to pointer ( #19064 )
2021-10-28 10:02:18 +02:00
Abishek PY
d634587423
feat: copy to clipboard ( #18963 )
...
* feat: copy to clipboard
* fix: CI failure related issue
* fix: CI failure issue
* fix: copy to clipboard button bug
* feat: copy pragmadots value to clipboard
2021-10-22 12:10:32 +02:00
Danil Yarantsev
5e2b9341f3
Add Elbrus 2000 architecture ( #19024 )
...
* Add Elbrus 2000 architecture
* Add e2k to niminst
* Update compiler/installer.ini
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-10-21 17:01:48 +02:00
antonl05
787def271b
add OpenIndiana to list ( #18972 )
...
* add OpenIndiana support
* point sunos to solaris
2021-10-09 10:47:07 +02:00
quantimnot
19774a72e7
Fixed strictFuncs support for std/pegs ( #18951 )
...
* Fixed `strictFuncs` support for `std/pegs`
Enabled `std/pegs` in the `strictFuncs` import test.
Fixes #18057
Fixes #16892
See #18111
* Rebased from `devel`
* Conditionally compile `std/pegs` in `koch`
This is for supporting `csources` bootstrap.
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com >
2021-10-07 12:16:58 +02:00
flywind
b2873f0f63
[tools] use the right parameter [backport:1.0] ( #18957 )
2021-10-06 12:47:46 +02:00
Dominik Picheta
6b0db5be1f
Fixes build_all.sh failing on Nimble builds ( #18945 )
...
When running `build_all.sh` I was getting:
```
bin/nim c -o:bin/nimsuggest -d:danger --skipUserCfg --skipParentCfg --hints:off nimsuggest/nimsuggest.nim
bin/nim c -o:bin/nimgrep -d:release --skipUserCfg --skipParentCfg --hints:off tools/nimgrep.nim
bin/nim c -o:bin/nimpretty -d:release --skipUserCfg --skipParentCfg --hints:off nimpretty/nimpretty.nim
bin/nim c -o:bin/testament -d:release --skipUserCfg --skipParentCfg --hints:off testament/testament.nim
bin/nim c -o:bin/nim_dbg --opt:speed --stacktrace -d:debug --stacktraceMsgs -d:nimCompilerStacktraceHints --skipUserCfg --skipParentCfg --hints:off compiler/nim.nim
bin/nim c -o:bin/atlas -d:release --skipUserCfg --skipParentCfg --hints:off tools/atlas/atlas.nim
/home/dom/.choosenim/toolchains/nim-#devel/koch.nim(722) koch
/home/dom/.choosenim/toolchains/nim-#devel/koch.nim(149) bundleNimbleExe
/home/dom/.choosenim/toolchains/nim-#devel/tools/deps.nim(32) cloneDependency
/home/dom/.choosenim/toolchains/nim-#devel/lib/pure/os.nim(1438) setCurrentDir
/home/dom/.choosenim/toolchains/nim-#devel/lib/pure/includes/oserr.nim(95) raiseOSError
Error: unhandled exception: No such file or directory
Additional info: '/home/dom/.choosenim/toolchains/nim-#devel/dist/nimble' [OSError]
```
With this patch it builds.
2021-10-03 07:25:15 +02:00
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