pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nim



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Jul 17 21:56:38 UTC 2019

Modified Files:
        pkgsrc/lang/nim: Makefile PLIST distinfo

Log Message:
Update to 0.20.2

Changelog:
Changes affecting backwards compatibility

    All strutils.rfind procs now take start and last like strutils.find with the same data slice/index meaning. This is backwards compatible for calls not changing the rfind start parameter from its 
default. (#11487)

    In the unlikely case that you were using rfind X, start=N, or rfind X, N, then you need to change that to rfind X, last=N or rfind X, 0, N. (This should minimize gotchas porting code from other 
languages like Python or C++.)

    On Windows stderr/stdout/stdin are not opened as binary files anymore. Use the switch -d:nimBinaryStdFiles for a transition period.

Breaking changes in the standard library

    Mac OS X / BSD: TSa_Family is now the uint8 type, so type conversions like x.sin_family = uint16 toInt(nativesockets.AF_INET) need to be changed into x.sin_family = TSa_Family 
toInt(nativesockets.AF_INET).

Library additions

    toOpenArray is now available for the JS target.

Library changes

    Fix async IO operations stalling even after socket is closed. (#11232)

    More informative error message for streams.openFileStream. (#11438)

Compiler changes

    Better error message for IndexError for empty containers. (#11476)

    Fix regression in semfold for old right shift. (#11477)

    Fix for passing tuples as static params to macros. (#11423)

Bugfixes

    Fixed "nimpretty goes crazy with this snippet" (#10295)
    Fixed "nimpretty doesn't trim all whitespace on the right side of an export marker" (#10177)
    Fixed "nimpretty gives invalid indentation to array elements" (#9505)
    Fixed "nimpretty doesn't indent correctly if preceding line ends with ;, { etc" (#10159)
    Fixed "Nimpretty wrong indentation for doc comments" (#10156)
    Fixed "HttpClient Documentation needs Proxy example" (#11281)
    Fixed "nimpretty aligns comment annoyingly" (#9399)
    Fixed "ENDB missing from Docs and TheIndex, remove ENDB from -fullhelp" (#11431)
    Fixed "Nimrod on Documentation generator" (#11460)
    Fixed "nimpretty (de)indents code where it shouldn't" (#11468)
    Fixed "nimpretty adds spaces where it shouldn't" (#11470)
    Fixed "nimpretty formats enums differently based on commas" (#11467)
    Fixed "strutils.rfind start parameter is unecessarily unusual" (#11430)
    Fixed "TinyC is not documented" (#11495)
    Fixed "c2nim missing from 0.20.0" (#11434)
    Fixed "nimsuggest doesn't work unless compiled with -d:danger" (#11482)
    Fixed "random.initRand crashes in Nim 0.20.0 JS backend" (#11450)
    Fixed "0.20.0 fails to bootstrap when passing "-verbosity:2" (or 3) to koch" (#11436)
    Fixed "Destructors lifting doesn't work with inheritance" (#11517)
    Fixed "std/sums missing from TheIndex" (#11543)
    Fixed "sequtils module: link is broken" (#11546)
    Fixed "Case Statement Macros do not work in functions above exported functions." (#11556)
    Fixed "newruntime: internal error when initializing a proc variable" (#11533)
    Fixed "newruntime: error when modifying a sequence" (#11524)
    Fixed "fmod and other math module functions are missing in js mode" (#4630)
    Fixed "Object variants and new runtime" (#11563)
    Fixed "newruntime exceptions" (#11577)
    Fixed "nimpretty is not aware that the next line is a part of the same context" (#11469)
    Fixed "Distinct procs fail to compile" (#11600)
    Fixed "[SharedTables] Error: undeclared identifier: 'defaultInitialSize'" (#11588)
    Fixed "newSeqOfCap is not working in newruntime" (#11098)
    Fixed "nimpretty destroys source with a source code filter" (#11532)
    Fixed "Unexpected behaviour when constructing with result" (#11525)
    Fixed "Regression in 0.20.0: Nested proc using outer scope variable fails to compile" (#11523)
    Fixed "os:standalone Error: redefinition of 'nimToCStringConv' " (#11445)
    Fixed "No ambiguity error on field overloaded by field=" (#11514)
    Fixed "object variants and new runtime part 2" (#11611)
    Fixed "seq Error: unhandled exception: value out of range: 32772 " (#11606)
    Fixed "Compiled binary includes full path to internal nim files" (#11572)
    Fixed "Newruntime: top-level string variable is empty after an array assignment" (#11614)
    Fixed "Newruntime: raise ObjContructor() doesn't compile" (#11628)
    Fixed "Owned ref can be copied and causes double-free" (#11617)
    Fixed "When compiling to JS (in -d:release) output contains toolchain path on dev's machine" (#11545)
    Fixed "wrong unicode string output" (#11618)
    Fixed "unittest "generic instantiation too nested" error" (#11515)
    Fixed "Last read of a var parameter generates sink instead of assignment" (#11633)
    Fixed "const table with proc type does not compile anymore" (#11479)
    Fixed "Can't use offsetOf on object that ends with an UncheckedArray" (#11320)
    Fixed "Newruntime/regression: Bad codegen for inline methods" (#11636)
    Fixed "String or sequences inside a loop are not cleared in each iteration" (#11510)
    Fixed "Nim -v doesn't acknowledge new danger flag" (#11484)
    Fixed "SIGSEGV while compiling when trying to instantiate a case type, that uses an enum with nsage of parts of strutils fails when using -d:useNimRtl" (#8405)
    Fixed "regression(0.20): finally block executed twice in VM" (#11610)
    Fixed "exportc symbol not exported, leading to link error" (#11651)
    Fixed "Render bug: opearatorasses refs across threads" (#7057)
    Fixed "BUG: "varargs[string, $]" calls $ n^2 times instead of n times (n=len(varargs))" (#8316)
    Fixed "Problem with the same name for module and exported type" (#3333)
    Fixed "-gc:go does notles/objects fail with "non-trivial" error..." (#11671)
    Fixed "Regression: parameter default value + typedesc parameter causes compiler crash" (#11660)
    Fixed "newruntime: undetected dangling ref" (#11350)
    Fixed "Newruntime: setLen() not working on sequences of owned refs" (#11530)
    Fixed "Incorrect overflow/underflow error in case statements" (#11551)
    Fixed "cgen preprocessor directive placed after struct declaration" (#11691)
    Fixed "continue in an except Exception as e block crashes the compiler." (#11683)
    Fixed "nimsuggest, nim check segfault when using bindSym and doAssert" (#10901)
    Fixed "Nimpretty issue, multiline string of x length only causes output grow every time." (#11700)
    Fixed "Array indexed by distinct int doesnt work with iterators" (#11715)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/nim/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/nim/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/nim/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nim/Makefile
diff -u pkgsrc/lang/nim/Makefile:1.8 pkgsrc/lang/nim/Makefile:1.9
--- pkgsrc/lang/nim/Makefile:1.8        Sat Jun 15 01:29:49 2019
+++ pkgsrc/lang/nim/Makefile    Wed Jul 17 21:56:37 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/06/15 01:29:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.9 2019/07/17 21:56:37 ryoon Exp $
 
-DISTNAME=      nim-0.20.0
+DISTNAME=      nim-0.20.2
 CATEGORIES=    lang
 MASTER_SITES=  http://nim-lang.org/download/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/lang/nim/PLIST
diff -u pkgsrc/lang/nim/PLIST:1.6 pkgsrc/lang/nim/PLIST:1.7
--- pkgsrc/lang/nim/PLIST:1.6   Sat Jun 15 01:29:49 2019
+++ pkgsrc/lang/nim/PLIST       Wed Jul 17 21:56:37 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/06/15 01:29:49 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/07/17 21:56:37 ryoon Exp $
 bin/nim
 nim/bin/nim
 nim/compiler.nimble
@@ -48,6 +48,7 @@ nim/compiler/importer.nim
 nim/compiler/incremental.nim
 nim/compiler/injectdestructors.nim
 nim/compiler/installer.ini
+nim/compiler/int128.nim
 nim/compiler/jsgen.nim
 nim/compiler/jstypes.nim
 nim/compiler/lambdalifting.nim
@@ -126,6 +127,7 @@ nim/compiler/semtypinst.nim
 nim/compiler/sighashes.nim
 nim/compiler/sigmatch.nim
 nim/compiler/sizealignoffsetimpl.nim
+nim/compiler/spawn.nim
 nim/compiler/suggest.nim
 nim/compiler/syntaxes.nim
 nim/compiler/tccgen.nim
@@ -206,6 +208,7 @@ nim/lib/posix/linux.nim
 nim/lib/posix/posix.nim
 nim/lib/posix/posix_linux_amd64.nim
 nim/lib/posix/posix_linux_amd64_consts.nim
+nim/lib/posix/posix_macos_amd64.nim
 nim/lib/posix/posix_nintendoswitch.nim
 nim/lib/posix/posix_nintendoswitch_consts.nim
 nim/lib/posix/posix_other.nim
@@ -371,7 +374,6 @@ nim/lib/system/hti.nim
 nim/lib/system/inclrtl.nim
 nim/lib/system/indexerrors.nim
 nim/lib/system/io.nim
-nim/lib/system/io.nim.cfg
 nim/lib/system/iterators.nim
 nim/lib/system/jssys.nim
 nim/lib/system/memory.nim

Index: pkgsrc/lang/nim/distinfo
diff -u pkgsrc/lang/nim/distinfo:1.7 pkgsrc/lang/nim/distinfo:1.8
--- pkgsrc/lang/nim/distinfo:1.7        Sat Jun 15 01:29:49 2019
+++ pkgsrc/lang/nim/distinfo    Wed Jul 17 21:56:37 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/06/15 01:29:49 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2019/07/17 21:56:37 ryoon Exp $
 
-SHA1 (nim-0.20.0.tar.xz) = c00605af76241c1da4d5acef5261861689e14592
-RMD160 (nim-0.20.0.tar.xz) = d0a7fcdd3723fec3a33065ba29c8558e2f9f8716
-SHA512 (nim-0.20.0.tar.xz) = e41fc9f9337535d07ebdd14ae8195bf9c666a0a242516f24d50241e69d50e89fcb9ac1a0b1fbeee0bc75b0218aeb18698ff2ac87447005dad52dc18da80bb02d
-Size (nim-0.20.0.tar.xz) = 4997088 bytes
+SHA1 (nim-0.20.2.tar.xz) = 5a503fde01fa877b13dc244e61ea4280dddfb9fe
+RMD160 (nim-0.20.2.tar.xz) = 7e5ec6ae96ddedbb1d4c476c14e09db85020aae4
+SHA512 (nim-0.20.2.tar.xz) = 231d95950ca5a7abe86175f93085ea27fae493e4f8dde3c9e086993431f9517781ceffeb4f9e761eb524523df3703d0a315fe53e32bc6daea6a684bf90589282
+Size (nim-0.20.2.tar.xz) = 5032768 bytes



Home | Main Index | Thread Index | Old Index