summary refs log tree commit diff stats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) (#15250)Jaremy Creechley2020-08-311-0/+1
| | | | | | | | | | | | | | | | | | | * Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) Adding FreeRTOS/LwIP to compiler: * adding freertos option * dyncalls for freertos * add freertos to posix os list * adding lwip option Setting up networking FreeRTOS/LwIP Port: * setting up lwip network for freertos * fixing posix / networking for freertos * disable setInheritable for freerots * using lwip for net control items * Fix builds by ignoring lib/posix/posix_freertos_consts.nim similar to lib/posix/posix_other_consts.nim
* Big compiler Cleanup (#14777)Clyybber2020-08-282-4/+3
|
* fix nightlies: smaller log files (#15074)Miran2020-07-251-1/+1
| | | | Hopefully this will fix "The job exceeded the maximum log length, and has been terminated."
* jsre: try to fix nightlies (#15057)Miran2020-07-241-1/+2
|
* Fix style inconsistencies due to the previous commitnarimiran2020-07-061-4/+4
|
* revert 0944b0f4narimiran2020-07-061-4/+4
|
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-033-7/+7
|
* Add jsre (#14870)Juan Carlos2020-07-031-2/+5
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-026-15/+15
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* CI openbsd: 3x batching via NIM_TESTAMENT_BATCH ; overall CI finishes in 21m ↵Timothee Cour2020-06-301-0/+63
| | | | | | | | | instead of 34m (#14851) * CI openbsd: 2x batching via NIM_TESTAMENT_BATCH * auto-generate .builds/openbsd_x.yml to avoid code duplication * 3x batching
* New freebsd platforms (#14801)lbartoletti2020-06-291-1/+1
| | | | | * add riscv as riscv64 * add all platforms supported by FreeBSD
* koch: add --localdocs to allow building only local docs (#14783)alaviss2020-06-251-5/+18
| | | | | | | | | | | | | | | | | | | * koch: add --localdocs to allow building only local docs This flag also make koch doc use the passed arguments when building the offline docs. This is useful when generating nightlies as we would want to use --doccmd:skip and also skipping a pass of docgen speed things up drastically (for non-native targets). This flag superseded the undocumented --docslocal. * kochdocs: filter google analytics code from the arg list instead This commit introduce a small PEG expression to filter out the google analytics code before building local docs when --localdocs is not specified. This lets us keep any arguments unrelated to google analytics when building local docs, useful for use with --doccmd:skip
* Patch #14716 - add missing `when` (#14792)Euan2020-06-241-2/+2
|
* Fix #14715 - detect tool fails on FreeBSD (#14716)Euan2020-06-241-3/+3
|
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-173-3/+3
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* Use cc on OpenBSD and link to libm when building result (#14672)Euan2020-06-161-5/+16
|
* tools/kochdocs: add log folding supports for more CI services (#14643)alaviss2020-06-121-1/+9
| | | | | Added log folding for: - Github Actions - Azure Pipelines
* [OpenBSD] Add arm support (#14608)lbartoletti2020-06-081-0/+1
| | | | | * add arm support to openbsd * use clang on openbsd
* ssl_config_parser: refactor for sanity reasonsLeorize2020-06-061-15/+17
|
* net: use a secure cipher list by defaultLeorize2020-06-062-0/+63
| | | | | | | | | | | Previously, the `net` module use the blanket "ALL" as the default cipher list. This list may contain security ciphers that are weak and/or outdated according to the current standard. This commit introduces a new module `ssl_config` that contains the latest OpenSSL configurations as recommended by Mozilla OpSec, and make the `net` module use the cipher list targeting `intermediate` compatibility level as the default.
* * honor --errorMax even for tools (eg drnim, nim doc) (#14546)Timothee Cour2020-06-022-3/+4
| | | * fix a bug that prevented nim doc compiler/nim on windows
* walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵Timothee Cour2020-06-012-58/+52
| | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups
* enable compiler docs with their own index+search (#14493)Timothee Cour2020-05-291-21/+28
| | | * enable compiler docs (with its own index)
* Revert "niminst: use threaded compression when supported (#14455)" (#14462)alaviss2020-05-271-4/+2
| | | This reverts commit b749d58ea1d77aab0ab758a17140ebc57e32f8c8.