summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* close #15767 (#16959)flywind2021-02-081-1/+8
| | | | | | | | | * fix some warnings * close #15767 * Revert "fix some warnings" This reverts commit 39f2f23b0026d50c42af7be3ad80edf0f1f19610.
* fix #16949 --app:staticlib works on openbsd; --app:staticlib tested in CI ↵Timothee Cour2021-02-082-2/+29
| | | | (#16950)
* use typeof instead type (#16962)flywind2021-02-0831-253/+253
|
* Add initRand() with seed based on time (#16953)hlaaftana2021-02-072-10/+37
|
* quote nim command on compile (#16954)n5m2021-02-071-1/+1
|
* close #16921 (#16951)flywind2021-02-062-30/+32
|
* make style consistent (#16944)flywind2021-02-051-16/+18
|
* fix `of` procs + runnableExamples (#16932)Timothee Cour2021-02-051-8/+25
|
* document `default` (#16942)Timothee Cour2021-02-051-2/+17
|
* clarify docs for wrapnils (#16929)Timothee Cour2021-02-041-2/+7
| | | Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Correct typo in osseps.nim (#16939)Rummskartoffel2021-02-041-1/+1
|
* add createElementNS, will hopefully fix svgs for karax (#16938)Antonis Geralis2021-02-051-0/+1
|
* stdlib/os: handle symlinks in copy/move functions (#16709)Roman Inflianskas2021-02-045-107/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* remove a temporary variable in int128.nim (#16935)flywind2021-02-041-35/+34
|
* Fix link to switchClyybber2021-02-041-1/+1
|
* nep1: prefer `self` to `this` (#16927)Timothee Cour2021-02-041-4/+7
|
* Allow strings for -- in config.nims (#16934)Clyybber2021-02-041-5/+18
|
* strictFuncs+views: add test that imports stdlib modules (#16878)ee72021-02-033-12/+198
| | | | | | | | | | | | | | | This commit attempts to improve testing of strictFuncs and views, and prevent regressions like #16873 (resolved by 0b01eddace6a). We previously only explicitly tested strictFuncs and views with a smaller number of stdlib modules, mostly in: - tests/effects/tstrict_funcs.nim - tests/views/tcan_compile_nim.nim Note that this commit leaves the `pegs` module commented out; it cannot currently be compiled with `--experimental:views` (see #16892). Note also that this commit is not sufficient to test strictFuncs and views, but it does detect a subset of problems.
* remove .github/workflows/ci_ssl.yml; instead run via trunner_thirdparty (#16221)Timothee Cour2021-02-0212-336/+285
|
* Sugar tests (#16820)konsumlamm2021-02-022-130/+229
|
* Add testcase for #16897 (#16917)Clyybber2021-02-021-0/+33
|
* tests/tuples/ttuples_issues.nim: test on all backends + various improvements ↵Timothee Cour2021-02-023-110/+123
| | | | | | | (#16907) * improve tests/tuples/ttuples_issues.nim: test on all backends * address comments
* IC: bugfixes (WIP) (#16836)Andreas Rumpf2021-02-0220-98/+283
| | | | | | | | * minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it
* [ci skip] CountTable, remove link to unexisting procnarimiran2021-02-021-1/+0
|
* link compile-time options together in docs (#16879)n5m2021-02-022-4/+35
| | | | | | | | | | | | | | | | | | | | | * link similar compiler option proc together * fixup links * fix formatting and links * example formatting * drop declared * link to compilesettings * only link define pragmas once * drop another declared * backlink to compileOptions from compilesettings * remove newline
* `dumpToString`: improves on `sugar.dump` (#16841)Timothee Cour2021-02-023-4/+44
| | | | | | | * dumpToString * _ * fixup * changelog * address comment: removed the word "Deprecated"
* Improve doc comments (#16902)konsumlamm2021-02-022-168/+208
| | | | | Add runnableExamples Use `reduce` in `initRational` and `//` Add static tests
* 2.5x- 3x faster copyFile on osx (#16883)Timothee Cour2021-02-013-9/+49
|
* fix #16885: nimdoc css warning (#16893)zetashift2021-02-012-0/+4
| | | | | | | | | | | | | | | | | | | * fix #16885 * Fixup nimdoc for the CSS filter change * Use the same Nim devel versions * Revert "Use the same Nim devel versions" This reverts commit 8559308f9be54a674f3ac3893efe16e03ecf4d38. * Revert "Fixup nimdoc for the CSS filter change" This reverts commit 99ec00a4bd7c448763b2073a7c6f1332bbab924b. * Fixup nimdoc.out.css Co-authored-by: zetashift <rishi2@laptop.localdomain>
* add widestrs.newWideCString overload (#16860)flywind2021-02-011-0/+3
|
* add finally as post expr block [backport:1.4] (#16896)hlaaftana2021-02-012-1/+120
|
* fixes #16897 [backport:1.2] (#16900)Andreas Rumpf2021-02-011-1/+1
|
* fix #16822 (#16884)flywind2021-02-013-4/+32
| | | | | | | | | * see whether it breaks * fix #16884 * correct * fix #14574
* JS: make hash float support IE/Safari (#16872)flywind2021-02-012-5/+14
|
* Updated nimsuggest doc to explain connection to nim compiler and use of ↵Don-Duong Quach2021-02-011-0/+5
| | | | config files (#16869)
* critbits: fix error from strictFuncs (#16877)ee72021-02-012-2/+3
| | | | | | | | | Previously, compiling a file containing just `import critbits` with `nim c --experimental:strictFuncs` would produce the following error: critbits.nim(529, 6) Error: 'toCritBitTree' can have side effects This was introduced by 2aed4186989e (#16564). Fixes: #16873
* let's assume littleEndian in JS backend (#16886)flywind2021-02-011-1/+1
| | | | | * let's assume littleEndian in JS and VM backend * Update compiler/platform.nim
* distinctBase now is identity instead of error for non distinct types (#16891)Timothee Cour2021-02-014-16/+14
|
* remove quotation marks around imports - fixes links in the docs (#16888)Miran2021-02-013-4/+4
|
* Add more runnableExamples (#16864)konsumlamm2021-01-311-30/+80
| | | Add more links
* Minor docs improvement for oids (#16882)konsumlamm2021-01-311-9/+10
|
* Fix #12595 (#16874)konsumlamm2021-01-312-2/+12
|
* refactor hash in JS backend (#16863)flywind2021-01-302-29/+39
|
* BigInt runnableExamples: octal, binary, hex constructor (#16868)Juan Carlos2021-01-291-11/+19
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Add StorageEvent and correct Storage object (#16865)Antonis Geralis2021-01-291-8/+18
| | | There is no `LocalStorage` type, it's `Storage`
* nimsuggest prioritize non-deprecated suggestions (#16816)Saem Ghani2021-01-293-25/+39
| | | | | | | | | | | * penalizes the quality score of deprecated symbols * uses quality more pervasively in order to reflect deprecation impact * impacts both sug and con additional notes: * linux i386 CI was failing * this is because the suggested results differ slightly in their sort * 64 bit tables.getOrDefault:441 was returned, while 32 bit returned 422 * for now simply removing the last line is good enough
* add lost functions (#16843)flywind2021-01-292-0/+10
|
* close #16844 (#16852)flywind2021-01-291-0/+14
| | | | | | * close #16844 * better * comment * Update compiler/renderer.nim
* remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861)Timothee Cour2021-01-2913-93/+29
| | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup
* fix floats slice (#16853)flywind2021-01-294-11/+11
| | | | | | | | | | | | | | | | | | | | | | | * see whether it breaks * fix * fix * minor * fix * add enum * use Ordinal types * fix tests * fix * another style * fix remainning cases