summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove declPragmas from lambdas [backport:1.0] (#16966)hlaaftana2021-02-092-6/+14
| | | | | | | | | * Remove declPragmas from lambdas [backport:1.0] * add test for exportc * fix test * fix align, nodecl -> noinit
* ARC Analysis in one pass (#16849)Clyybber2021-02-097-124/+135
| | | | | | | | | | | | | | | | | | | * Analyse last reads all at once * Integrate firstWrite analysis * Small cleanup * Use sets instead of seqs * Remove instrTargets * Reap the benefits * Implement error diagnostics * Operate on DFA index for lastRead analysis * Use mgetOrPut
* final SSL changes [backport:1.2] (#16983)Andreas Rumpf2021-02-093-8/+30
|
* uri module uses runnableExamples (#16982)flywind2021-02-091-50/+43
|
* fix #16967 [backport:1.2] (#16976)hlaaftana2021-02-092-1/+17
| | | | | * fix #16967 [backport:1.2] * move test to tsugar
* fix lists docs regression (#16981)flywind2021-02-091-21/+14
|
* tests and docs for call operator (#16980)hlaaftana2021-02-094-1/+124
| | | | | | | * tests and docs for call operator * fix leftover * add extra dot test
* Another typo corrected (#16974)Héctor M. Monacci2021-02-081-1/+1
| | | From `fliter proc` to `filter proc`
* Deprecate any (#16920)Juan Carlos2021-02-083-2/+3
|
* Refactoring `bitops.rotateLeftBits()` and `bitops.rotateRightBits()`; adding ↵rockcavera2021-02-081-65/+223
| | | | | builtins and intrinsics. (#16622) Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* fix #16947: `--app:staticlib -o:lib` now first removes lib (#16948)Timothee Cour2021-02-081-0/+1
|
* std/lists: Various changes to `lists` (RFC #303) (#16536)Peter Salvi2021-02-083-162/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Various changes to `lists` (RFC #303) * Removing a non-element is no-op; better tests * Remove preserves cycles; add appendMove alias; tests. * Return value for (singly linked) `lists.remove` * More test for lists.remove * Moved `lists.append` to the end of the file to see all `add` definitions * Disable testing js for now * Use workaround for swap js bug * Smaller diff * Undo "silent" deprecation of append * Correct typo in changelog Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Remove `appendMoved` Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Don't remove appendMoved Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Correct typo (#16972)Héctor M. Monacci2021-02-081-1/+1
| | | From `fliter proc` to `filter proc`
* rename case statement macro from match to `case` (#16923)hlaaftana2021-02-084-16/+51
| | | | | * rename case statement macro from match to `case` * fix test
* basic cleanups regarding SSL handling (#16940) [backport:1.0]Andreas Rumpf2021-02-084-18/+59
| | | | | | | * basic cleanups regarding SSL handling * enabled certificate checking on Windows * updated the SSL test * quoting helps
* fix some warnings (#16952)flywind2021-02-0822-119/+119
|
* document typeof (#16965)Timothee Cour2021-02-081-2/+17
|
* 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