summary refs log tree commit diff stats
path: root/tests/test_nimscript.nims
Commit message (Collapse)AuthorAgeFilesLines
* fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702)ringabout2023-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move sha1, md5 to nimble packages * boot the compiler * fixes tests * build the documentation * fixes docs * lol, I forgot koch.nim * add `nimHasChecksums` define * clone checksums but maybe copying is better * bump nimble hash * use ChecksumsStableCommit * fixes tests * deprecate them * fixes paths * fixes koch
* build the documentation of official packages (#20986)ringabout2022-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove db stuffs * remove punycode * remove * fixes script * add cloner * patches * disable * patch * fixes external packages * disable two packages * preview documentation build * try again * fixes URL * fixes a bug * simplify * fixes documentaion * fixes * Apply suggestions from code review
* move widestrs out of system (#20462)metagn2022-10-011-1/+3
| | | | | * move widestrs out of system * fix osproc
* correct typos (#19485)flywind2022-02-031-1/+1
|
* move io out of system (#19442)flywind2022-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * move io out of system * fix tests * fix tests * next step * rename to syncio * rename * fix nimscript * comma * fix * fix parts of errors * good for now * fix test
* Use openarray of bytes in md5 (#19307)hlaaftana2022-01-151-2/+1
| | | | | | | | | | * Use openarray of bytes in md5 * fix CI * cleanup * use noSideEffect for bootstrapping * fix CI again * actually fix CI by checking if it works * this is getting ridiculous * put old md5 version in compiler, remove vmop
* Update JS and nimscript import tests (#19306)hlaaftana2022-01-011-21/+29
| | | | | * add new modules, except experimental ones * remove deprecated modules mersenne and sharedlist * better describe why some modules fail and some modules don't
* envPairs works in vm, nims (#18615)Timothee Cour2021-09-291-0/+4
| | | | | * envPairs works in vm, nims * fixup
* Fix initrand to avoid random number sequences overlapping (#18744)Tomohiro2021-09-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * Fix initrand to avoid random number sequences overlapping * Minor fix * Fix compile error on js backend * Disable new test for js backend * Minor fix * tempfiles module uses random.initRand() * Remove unused module import from lib/std/tempfiles.nim * Initialize baseState in initRand() * Run tests/stdlib/trandom.nim from tests/test_nimscript.nims * baseState is initialized only with sysrand.urandom and quit if failed * Add comments
* Make parseopt available on all backends (#17009)hlaaftana2021-02-131-2/+6
| | | | | | | | | * Make parseopt available on all backends * fix spaces * fix getopt and update prelude * no crazy unnecessary version checks, use doAssert
* stdlib/os: handle symlinks in copy/move functions (#16709)Roman Inflianskas2021-02-041-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/os: handle symlinks in copy/move functions - Added optional `options` argument to `copyFile`, `copyFileToDir`, and `copyFileWithPermissions`. By default, symlinks are followed (copy files symlinks point to). - `copyDir` and `copyDirWithPermissions` copy symlinks as symlinks (instead of skipping them as it was before). - `moveFile` and `moveDir` move symlinks as symlinks (instead of skipping them sometimes as it was before). - Added optional `followSymlinks` argument to `setFilePermissions`. See also: https://github.com/nim-lang/RFCs/issues/319 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments in #16709 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments in #16709 (second iteration) Skip symlinks on Windows. Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* doAssertRaises improvements; nimscript supports `except Exception as e` (#15765)Timothee Cour2020-11-121-0/+6
| | | | | | | * doAssertRaises now correctly handles foreign exceptions; now shows which exception is raised on mismatch * nimscript now handles `Exception as e` * remove catch-all doAssertRaises overload from this PR Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* $(uint|uint64) now works with nimscript (#15644)Timothee Cour2020-10-201-0/+3
| | | | | * $(uint|uint64) now works with nimscript * fixup
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-031-1/+0
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-1/+0
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* cleanup tests/test_nimscript.nims (#14686)Timothee Cour2020-06-161-9/+1
|
* fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658)Timothee Cour2020-06-161-0/+7
| | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs
* don't close #14142Araq2020-05-021-1/+1
|
* closes #14142Araq2020-05-021-2/+9
|
* StringStream & more stdlib modules support for JS/NimScript (#14095)hlaaftana2020-04-281-20/+68
| | | | | * StringStream & more stdlib modules support for JS/NimScript * change back pegs test in line with #14134
* relativePath("foo", "foo") is now ".", not "" (#13452)Timothee Cour2020-02-221-0/+3
|
* remove `subexes`narimiran2019-01-101-1/+0
|
* deprecated ospaths (#9665)Andreas Rumpf2018-11-091-1/+1
|
* bugfix: make 'macros' module available for nimscriptAndreas Rumpf2017-11-141-0/+1
|
* Added deques module, deprecating queuesRuslan Mustakov2016-11-241-1/+1
|
* added file back with proper access rights (thanks for that, only took me an ↵Araq2016-06-071-0/+25
| | | | hour)
* remove file with broken access bitsAraq2016-06-071-25/+0
|
* update the version number in more placesAraq2016-06-071-0/+0
|
* Disable pegsFederico Ceratto2016-04-111-1/+1
|
* Add nimscript test and run it in Travis CIFederico Ceratto2016-04-031-0/+25