Commits on Sep 30, 2022

  1. bump NimVersion to 1.6.9

    narimiran committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    fbd99c7 View commit details
    Browse the repository at this point in the history
  2. fixes #20397; fixes stylecheck regression (#20398)

    * fixes  #20397; fixes stylecheck
    
    * add testcase
    
    (cherry picked from commit 70c25c4)
    ringabout authored and narimiran committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    31fe32a View commit details
    Browse the repository at this point in the history
  3. fixes #20141; dereferencing pointer to incomplete type error with cast (

    #20147)
    
    Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
    (cherry picked from commit e33e9e4)
    2 people authored and narimiran committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    5abf259 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. fix #19500; remove find optimization [backport: 1.6] (#19714)

    * remove find optimization
    
    close #19500
    
    * save find to std
    
    * add simple tests
    
    * Apply suggestions from code review
    
    Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
    
    Co-authored-by: sandytypical <43030857+xflywind@users.noreply.github.com>
    Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
    (cherry picked from commit 65c2518)
    3 people authored and narimiran committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    ce63020 View commit details
    Browse the repository at this point in the history
  2. add plausibleAnalytics support for koch docs[backport:1.6] (#20454)

    add plausibleAnalytics to koch docs[backport:1.6]
    
    (cherry picked from commit 96c5586)
    ringabout authored and narimiran committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    02ce5a5 View commit details
    Browse the repository at this point in the history
  3. allocator: disable unnecessary stuff for ORC [backport] (#20489)

    (cherry picked from commit 7aaeb75)
    Araq authored and narimiran committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    01a0b31 View commit details
    Browse the repository at this point in the history
  4. Fix/improve handling of forward declarations in nimsuggest (#20493)

    * Fix/improve handling of forward declarations in nimsuggest
    
    - ideUse now works fine when invoked on the implementation
    - implemented ideDeclaration to make cover lsp feature textDocument/declaration
    - fixed performance issue related to deduplicating symbols. Now the
    deduplication happens after the symbols are filtered. As a alternative we might
    change the way cached symbols are stored(e. g. use set).
    - I also fixed the way globalSymbols work. Now it will sort the responses based
    on the match location to make sure that the results are sorted in user friendly way.
    
    * Update nimsuggest/nimsuggest.nim
    
    Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
    
    Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
    (cherry picked from commit 7caa037)
    2 people authored and narimiran committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    8b86ba9 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. fixes #20553; don't format code for stropping identifier (#20561) [ba…

    …ckport]
    
    * fixes #20553; don't format code for stropping identifier
    
    * add tests
    
    * Update nimpretty/tests/expected/simple.nim
    
    (cherry picked from commit 6082b9e)
    ringabout authored and narimiran committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    c35cb17 View commit details
    Browse the repository at this point in the history
  2. [backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedId…

    …ent (#20578)
    
    * Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent
    
    * Add test
    
    * Update compiler/lookups.nim
    
    Co-authored-by: SirOlaf <a>
    Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
    (cherry picked from commit 2f441ac)
    2 people authored and narimiran committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    322d2f8 View commit details
    Browse the repository at this point in the history
  3. fix #18990 Regression in proc symbol resolution; Error: attempting to… (

    #20554)
    
    fix #18990 Regression in proc symbol resolution; Error: attempting to call routine
    
    (cherry picked from commit ea2f277)
    bung87 authored and narimiran committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    ec674e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. fixes #20391; make of operator work with generics for ORC (#20395)

    (cherry picked from commit e0c1159)
    ringabout authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    203c183 View commit details
    Browse the repository at this point in the history
  2. Remove side-effects from sysFatal with panics on (#20632)

    (cherry picked from commit 4578e77)
    Menduist authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    c9df6cf View commit details
    Browse the repository at this point in the history
  3. Fix double defer with break in closureiterators [backport] (#20630)

    Fix double defer with break in closureiterators
    
    Signed-off-by: Tanguy <tanguy@status.im>
    
    Signed-off-by: Tanguy <tanguy@status.im>
    (cherry picked from commit 008c3ec)
    Menduist authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    8e04112 View commit details
    Browse the repository at this point in the history
  4. fix #19349 incompatible type when mixing float32 and cfloat in generi…

    …cs (#20551)
    
    (cherry picked from commit 84fab7f)
    bung87 authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    c5d62bc View commit details
    Browse the repository at this point in the history
  5. Implemented mSlice on the VM allowing toOpenArray to work at comp…

    …ile time. (#20586)
    
    * Implemented opcSlice to make 'toOpenArray' work on the VM
    
    * Added nkOpenArray for VM to reduce bodgeness
    
    * Fixed range issues and erraneous comments
    
    * Range check correctly for openArrays in opcLdArr
    
    * Inverted logic for ldArr checking
    
    * vm now supports slicing strings
    
    * Added string tests
    
    * Removed usage of 'nkOpenArray' and redundant operations
    
    * Refactored vmSlice implementation, removing redundant and incorrect code
    
    * Made tuples go throw opcWrObj for field assignment
    
    * All strkinds should be considered for openarrays
    
    (cherry picked from commit 4aa67ad)
    beef331 authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    2292ff9 View commit details
    Browse the repository at this point in the history
  6. closes #19969; add testcase for #19969 #15952 #16306 (#20610)

    closes #19969; add testcase
    
    (cherry picked from commit 1db25ff)
    ringabout authored and narimiran committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    999a4bb View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. fix fwrite prototype (#20644)

    * fix fwrite prototype
    
    * Update lib/std/syncio.nim
    
    Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
    
    Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
    (cherry picked from commit e2f4121)
    2 people authored and narimiran committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    3873086 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. fix dispatcher call type [backport] (#20696)

    fix dispatcher call type
    
    The call node should have the type of the dispatcher, not the static
    call
    
    (cherry picked from commit f8b5464)
    arnetheduck authored and narimiran committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    565cd4d View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Configuration menu
    Copy the full SHA
    121602e View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Fixing nimRawSetJmp for vcc and clangcl on Windows (#19959)

    * fix vcc rawsetjmp
    
    * changing `_longjmp()` to `longjmp()` and
    
    `_setjmp()` to `setjmp()`
    
    * fix
    
    * fix setjmp to clangcl on Windows
    
    * fix genTrySetjmp() to clangcl on Windows
    
    (cherry picked from commit d2d8f13)
    rockcavera authored and narimiran committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    a1c431c View commit details
    Browse the repository at this point in the history
  2. fixes #20426; remove maincommand and m options since they are a n…

    …o op since 2014 (#20429)
    
    * bump macOS image on Azure CI to macos-11
    
    ##[warning]The macOS-10.15 environment is deprecated, consider switching to macos-11(macos-latest), macos-12 instead. For more details see actions/runner-images#5583
    
    * fix CI error
    
    * fixes #20426; remove `maincommand` and `m` options since they are a noop since 2014 and causes confusion
    
    fixes #20426
    
    7f7b13a#diff-d949f8c356fd2dc9ceedc6f3dbbd01e2c806269dd0a8ad6516facf589fa2c99a makes it a no op, but it causes a regression because it should add `expectArg(switch, arg, pass, info)` before the discard statement. It causes #20426 to happen. Without `expectArg(switch, arg, pass, info)`, `-mm:orc` is wrongly interpreted as `-m` and compiler, which doesn't make sense. It should either abort compilation or prints `argument for command line option expected: '-m'` message. Since they are a no op since 2014, let's remove it to clear the confusion. Let's wait and see whether it breaks something.
    
    * add a changelog
    
    (cherry picked from commit cb24eea)
    ringabout authored and narimiran committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    0bc52dd View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. fix closure iter state table init type [backport] (#20717)

    fix closure iter state table init type
    
    It is a well-known fact that using closed intervals for ranges is
    logically, objectively and eternally wrong, as evidenced by this
    off-by-one.
    
    (cherry picked from commit a0653ae)
    arnetheduck authored and narimiran committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    eb42fe5 View commit details
    Browse the repository at this point in the history
  2. reduce openArray-related C undefined behavior (#20795)

    (cherry picked from commit 6894a00)
    tersec authored and narimiran committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    76b0842 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. revert #19891; nimRawSetjmp causes problems for mingw 32 bits too […

    …backport] (#20758)
    
    revert #19891
    
    (cherry picked from commit d17b1d4)
    ringabout authored and narimiran committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    9dc97ed View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. issue a warning for ptr to cstring conversion[backport] (#20814)

    * issue a warning for ptr to cstring conversion[backport]
    
    * add a changelog
    
    (cherry picked from commit 8e1181b)
    ringabout authored and narimiran committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    2631e99 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. fixes a CI error (#20834)

    (cherry picked from commit 7db0d2b)
    ringabout authored and narimiran committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    99528ee View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. fixes ptr to cstring warnings[backport] (#20848)

    * fix =#13790 ptr char (+friends) should not implicitly convert to cstring
    
    * Apply suggestions from code review
    
    * first round; compiles on windows
    
    * nimPreviewSlimSystem
    
    * conversion is unsafe, cast needed
    
    * fixes more tests
    
    * fixes asyncnet
    
    * another try another error
    
    * last one
    
    * true
    
    * one more
    
    * why bugs didn't show at once
    
    * add `nimPreviewCstringConversion` switch
    
    * typo
    
    * fixes ptr to cstring warnings[backport]
    
    * add fixes
    
    Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
    (cherry picked from commit 06cd156)
    2 people authored and narimiran committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    dd80e96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf43a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. bump NimVersion to 1.6.10

    narimiran committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    f151925 View commit details
    Browse the repository at this point in the history