summary refs log tree commit diff stats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* PCRE, nimgrep: add limit for buffer size (#18280)Andrey Makarov2021-06-171-1/+4
|
* Enable parallel build in build.sh (#18195)Federico Ceratto2021-06-141-0/+24
| | | Add help
* docs: Latex generation improvements (#18141)Andrey Makarov2021-06-011-7/+7
| | | | | | | * docs: improve Latex generation * make it work on Windows + fix ] escaping * minor fixes with escapes and style
* change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵Timothee Cour2021-05-261-1/+1
| | | | (#18085)
* refactor common code in CI pipelines (#18035)Timothee Cour2021-05-261-5/+1
| | | | | | | * refactor CI with nimInternalInstallDepsWindows * refactor CI with nimInternalBuildKochAndRunCI * fixup
* ref #17913; fix typo in tools/ci_generate.nim generating build_all.sh (#17915)Timothee Cour2021-05-011-1/+1
|
* reuse config/build_config.txt for all bootstrap scripts (posix + windows + ↵Timothee Cour2021-05-011-1/+64
| | | | | | | | | | | | 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
* bring back std/ prefix within compiler and ensure it works in bootstrap + ↵Timothee Cour2021-04-301-18/+36
| | | | | | | | | | | | | 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
* refactor all code that builds csources (#17815)Timothee Cour2021-04-231-4/+4
| | | | | | | | | | | | | | | * 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
* removed nimfind tool, succeeded by 'nim check --defusages' (#17737)Andreas Rumpf2021-04-162-236/+0
|
* [nim-gdb] Fixed enums and flag output [ci skip] (#17634)Saem Ghani2021-04-051-75/+175
| | | | | | | 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.
* update nimgrep documentation (#17415)Andrey Makarov2021-03-231-100/+1
| | | | | | | * update nimgrep documentation * Update doc/nimgrep_cmdline.txt Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* follow up #17276 (#17355)flywind2021-03-191-1/+1
| | | | | | | | | | | | | * improve test coverage for isolation * a bit better * rename channels to channels_builtin * follow up #17276 * fix * Update lib/std/private/jsutils.nim
* rename channels to channels_builtin (#17330)flywind2021-03-121-1/+1
| | | | | | | * improve test coverage for isolation * a bit better * rename channels to channels_builtin
* Add module jsfetch (#12531)Juan Carlos2021-03-061-1/+1
| | | | | | | | | | | | * 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>
* remove tests/deps/ (#17132)Timothee Cour2021-02-231-1/+2
| | | | | | | | | * remove tests/deps/ * fix tests * fix tests/manyloc/keineschweine/lib/zlib_helpers.nim * fixup
* fix prelude regression refs #16238: `include prelude` doesn't interfere with ↵Timothee Cour2021-02-221-1/+0
| | | | | | | | | `nim doc` (#17111) * fix bug1 from #16238 nim doc now works with include prelude * fix for windows * fixup
* refs #17107 use 2 instead of 3 parallel jobs for openbsd (#17108)Timothee Cour2021-02-201-1/+2
|
* move prelude so that `include std/prelude` also works (#17110)Timothee Cour2021-02-203-3/+3
| | | | | * move prelude so that `include std/prelude` also works * add test
* unbundle fusion (#16925)Timothee Cour2021-02-111-1/+1
| | | | | | * unbundle fusion * changelog * address comment: `./koch fusion` calls nimble install fusion (at a fixed hash)
* improve ./koch docs (#16991)Timothee Cour2021-02-101-27/+24
| | | | | | | * improve ./koch docs * fixup * fixup
* fix ./koch pdf command (#16989)Andrey Makarov2021-02-091-17/+20
|
* remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861)Timothee Cour2021-01-291-2/+0
| | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup
* improve code in categories.nim; add std/private/gitutils; fix flakyness in ↵Timothee Cour2021-01-291-19/+12
| | | | | | nim CI (cloneDependency in deps.nim) (#16856) * improve code in categories.nim; gitutils; fix flakyness in deps.nim * cleanups
* Deprecate TaintedString (#15423)Juan Carlos2021-01-152-5/+5
| | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Add js BigInts (#16409)Juan Carlos2021-01-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* skip docs for `lib/fusion` (docs already run in fusion repo) (#16645)Timothee Cour2021-01-081-4/+3
| | | | | * run CI docs on koch.nim changes to avoid future regressions * kochdocs: skip lib/fusion
* kochdocs: fusion needs the js backend too (#16644)alaviss2021-01-081-1/+3
|
* clean up the docs of some modules under lib/js (#16579)flywind2021-01-041-1/+0
|
* nim-gdb.py fixes mostly for nimsuggest debugging (#16479)Saem Ghani2020-12-301-57/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These fixes were primarily developed to assist in nimsuggest debugging. There is nothing intentionally specific done for nimsuggest, but beyond the automated tests all practical testing was done with nimsuggest. Undoubltedly these will also assist in other debugging scenarios. The current nim-dbg.py script was broken in a few ways: - failed to provide detailed value information for common types (see below) - was not passing existing tests - could not produce type summary information Broken types now working somewhat better: - sequences with ref types like strings - sequences with value types like ints - arrays with ref types like strings - tables with int or string keys Other improvements: - slightly more test coverage Future considerations: - this, data used by it, should be something the compiler can generates - account for different memory layouts ([arc/orc differ](https://github.com/nim-lang/Nim/pull/16479#issuecomment-751469536)) Attempts at improving nim-gdb.py More tests, few fixes for seq and type printing Tables debugging fixed added further tests Fixed type printing
* fix #16364 (#16379) [backport]flywind2020-12-171-4/+2
| | | | | | | | | | | * fix #16364 * add comments * Update tools/dochack/dochack.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* Clean out dead code (#16345)Juan Carlos2020-12-141-172/+0
|
* Zsh completion (#16261)Federico Ceratto2020-12-091-0/+74
| | | | | | | | | | | | | | | | | * Add --cpu to zsh completion * Add --gc to zsh completion * Add --os to zsh completion * Add --panics to zsh completion * Add --verbosity to zsh completion * Add --hints to zsh completion * Update tools/nim.zsh-completion Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * Update tools/nim.zsh-completion Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* cmdline: improve command processing (#16056)Timothee Cour2020-11-261-1/+1
|
* remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683)Timothee Cour2020-11-262-4/+4
|
* rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect ↵Timothee Cour2020-11-201-1/+1
| | | | reality (#16057)
* nimgrep: change 2 iterators to closureAndrey Makarov2020-11-141-12/+14
|
* Update buildsh.nimf (#15945)lenoil982020-11-131-3/+4
| | | fix powerpc64le detection
* Add support for FreeBSD/PowerPC64 Little Endian (#15927)lenoil982020-11-122-1/+7
| | | | | | | | | | | | | | * Update installer.ini Add support for powerpc64 little endian * Update buildsh.nimf Add support for powerpc64 little endian * Update makefile.nimf Add support for freebsd/powerpc64 little endian
* Correct all eggs (#15906)Miran2020-11-101-1/+1
| | | | * "eg" is a misspelled "egg", "e.g." is "exempli gratia" * Also, "ie" is "i.e.".
* Nimgrep improvements 2 (#15612)Andrey Makarov2020-11-092-297/+1046
| | | | | | | | | | | | | | | | | | | | | | | | | | | * nimgrep: speed up by threads and Channels * nimgrep: add --bin, --text, --count options * nimgrep: add --sortTime option * allow Peg in all matches including --includeFile, --excludeFile, --excludeDir * add --match and --noMatch options * add --includeDir option * add --limit (-m) and --onlyAscii (-o) options * fix performance regression introduced in nimgrep improvements #12779 * better error handling * add option --fit * fix groups in --replace * fix flushing, --replace, improve --count * use "." as the default directory, not full path * fix --fit for Windows * force target to C for macosx * validate non-negative int input for options #15318 * switch nimgrep to using --gc:orc * address review: implement cropping in matches,... * implement stdin/pipe & revise --help * address stylistic review & add limitations
* remove iup from stdlib in contrast to #15828 (#15830)flywind2020-11-031-1/+0
| | | | | * remove iup from stdlib * Update changelog.md
* refactoring: removed cmdlinehelper.mainCommand callbackAndreas Rumpf2020-10-111-3/+4
|
* Fix #12027 (#15519)genotrance2020-10-101-1/+1
|
* niminst: restore ZIP building functionality (#15472)alaviss2020-10-021-0/+5
| | | | This is necessary for building Windows releases, was erroneously removed by #15451.
* tools/deps: fix git dir check (#15470)alaviss2020-10-021-2/+6
| | | | On Windows, a successful call will have a trailing newline appended, so strip that away before doing any checks.
* Clean out niminst (#15451)Juan Carlos2020-10-011-74/+31
|
* fix doc search(escape HTML code) (#15433)flywind2020-09-301-0/+14
| | | | | * use release version * fix doc search
* koch, compiler: bundle fusion as part of the source archive (#15409)alaviss2020-09-261-4/+21
| | | | This allows distributions to build Nim from the downloaded source archive without an Internet connection.
* Fix #15183 (#15300)Juan Carlos2020-09-111-1/+0
|