summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-12-07 12:40:44 +0000
committerryoon <ryoon@pkgsrc.org>2020-12-07 12:40:44 +0000
commit0aad267c3eec4d1205088d10b1fe7d95c865d3cb (patch)
tree1adea12f9ee69126fb4eb0f95c907919bf5c979d /lang
parent7a3c6321d055f0f5e86a720f81181d5bb0e480cc (diff)
downloadpkgsrc-0aad267c3eec4d1205088d10b1fe7d95c865d3cb.tar.gz
nim: Update to 1.4.2
Changelog: Bugfixes * Fixed "dbQuote additional escape regression" (#15560) * Fixed "[ARC] Finalizer with a do notation proc crashes the compiler" (# 15599) * Fixed "./koch drnim: git checkout ... fails (invalid git hash)" (#15639) * Fixed "Testament does not check memory leaks with Valgrind" (#15631) * Fixed "Templates can't be made discardable" (#13609) * Fixed "Taking a view of var openArray[T] generates broken C" (#15652) * Fixed "Regression: parsecsv from newGZFileStream" (#12410) * Fixed "NimVM generic procs that take anonymous tuples gives nil access error." (#15662) * Fixed "net.$ is not printing a zero group smaller than the compressed group" (#15698) * Fixed "map, mapIt, filter cause a segfault at compile time in a static block when passed an inline function" (#15363) * Fixed "const Table losing object variant data at runtime" (#8007) * Fixed "regression(1.0.2 => 1.0.4) VM register messed up depending on unrelated context" (#15704) * Fixed "VM: nil procvar treated as not nil in VM, causing FieldDefect and further errors" (#15595) * Fixed "ICE with sequtils + algorithm (mapIt, sortedByIt) + json " (#10456 ) * Fixed "Size of packed enum of byte is 2 byte; if highest value is 0xFF but should be 1" (#15752) * Fixed "OrderedTable.== throws error on empty table: unhandled exception: index out of bounds..." (#15750) * Fixed "strictFunc: system & is considered to have side effects under arc mode" (#15756) * Fixed "JSON parsing fails for integer values greater than BiggestInt.max " (#15413) * Fixed "yet another cmpIgnoreStyle bug" (#7686) * Fixed "1 mod 0 gives NaN with JS backend" (#7127) * Fixed "Discarding a dom.Node raises a javascript error" (#15638) * Fixed "Regression: overriding streams.write(T) does not work on 0.19 anymore" (#9091) * Fixed "Converter is applied to the first parameter of operator instead of last" (#9165) * Fixed "Recursion using concepts crashes compiler" (#8012) * Fixed "Union types in javascript" (#7658) * Fixed "Ambiguous call error when it's not" (#7416) * Fixed "Codegen does not like shadowed parameter" (#7374) * Fixed "incomplete code generation when using a compile time variable at run time (undeclared identifier)" (#6036) * Fixed "Compiler doesn't warn when using {.global.} and {.threadvar.} on JS backend despite it not working" (#11625) * Fixed "Discarding output with nested for/if statements" (#14227) * Fixed "regression: docgen drops enum doc comments" (#15702) * Fixed "regression(1.0): codegen error with locals" (#12682) * Fixed "[JS] $ on an enum in an if expression causes bad codegen" (#15651) * Fixed "Error upon conditional declaration inside a template" (#3670) * Fixed "Compiler crash when a value in enum is converted to the enum itself " (#15145) * Fixed "[AssertionDefect] json.to(type) on object with Option[ref object] field" (#15815) * Fixed "Crash with const tuple unpacking" (#15717) * Fixed "JS codegen can produce extreme switch statements with case a of range" (#8821) * Fixed "cannot capture result, produces unhelpful eror" (#15594) * Fixed "Code that work in 1.2.6, but not 1.4.0" (#15804) * Fixed "C-backend link failure for let with {.global, compileTime.} pragma " (#12640) * Fixed "json.to crashes (SIGSEGV) when object attribute is a JsonNode and the key is not there" (#15835) * Fixed "Cannot use custom pragmas in ref object" (#8457) * Fixed "GC_ref on empty string fails with [GCASSERT] incRef: interiorPtr" (#10307) * Fixed "VM segmentation faults with swap" (#15463) * Fixed "$(s: WideCString) changes result to repr on -gc:arc" (#15663) * Fixed "unittest.check rejects with a type error, code that Nim otherwise accepts" (#15618) * Fixed "Type mismatch on init of static[T] object with T being a static[U] " (#11142) * Fixed "sizeof array with static N crash in type section" (#12636) * Fixed "-gc:arc segfaults when returning result from a proc" (#15609) * Fixed "Error: 'newHttpHeaders' can have side effects" (#15851) * Fixed "template that overloads [] accessor does not compile" (#8829) * Fixed "Simple type definition crash" (#12897) * Fixed "mapIt from sequtils not working in {.push compile_time.} context" (#12558) * Fixed "-gc:arc/orc Error: unhandled exception: 'sym' is not accessible using discriminant 'kind' of type 'TNode' [FieldDefect]" (#15707) * Fixed "incorrect type inference with static: Error: ordinal type expected " (#15858) * Fixed "constructor causes SIGBUS if a destroy is defined" (#14601) * Fixed "internal error: getTypeDescAux(tyOr) on sink UnionType argument" ( #15825) * Fixed "Console apps in Windows can rise OSError" (#15874) * Fixed "nim doc cannot grok IOSelectorsException" (#12471) * Fixed "Method dispatch silently breaks on non-ref objects" (#4318) * Fixed "Cannot take the compile-time sizeof Atomic types" (#12726) * Fixed "Setting subscript index of cstring is allowed and generates bad code" (#14157) * Fixed "Compiler crash using if as an expression with a noreturn branch" ( #15909) * Fixed "docgen fatal: result[0].kind == nkSym [AssertionDefect]" (#15916) * Fixed "Iterator for sharedlist won't iterate all items." (#15941) * Fixed "Embedded templates with iterators fails to compile" (#2771) * Fixed "C++ Atomics in union: ::::::field with constructor not allowed in anonymous aggregate" ([#13062](https://github.com/nim-lang/Nim/issues/ 13062)) * Fixed "memory corruption in tmarshall.nim" (#9754) * Fixed "JS backend doesn't handle float->int type conversion " (#8404) * Fixed "The "try except" not work when the "OSError: Too many open files " error occurs!" (#15925) * Fixed "lent gives wrong results with -d:release" (#14578) * Fixed "backticks : Using reserved keywords as identifiers is not documented" (#15806) * Fixed "backticks : Using reserved keywords as identifiers is not documented" (#15806) * Fixed "backticks : Using reserved keywords as identifiers is not documented" (#15806) * Fixed "backticks : Using reserved keywords as identifiers is not documented" (#15806) * Fixed "Program SIGSEGV when using '-gc:orc'" (#15753) * Fixed "Assignment to Option[T] doesn't call destructor on existing contained value" (#15910) * Fixed "In for loop _ is accessible" (#15972) * Fixed "Pragma codegenDecl doesn't work inside iterators" (#6497) * Fixed "nim js --gc:arc gives bad error: undeclared identifier: '+!'" (# 16033) * Fixed "create a new function definitions got Internal error: environment misses:" (#14847) * Fixed "Nim emits #line 0 C preprocessor directives with -debugger:native, with ICE in gcc-10" (#15942) * Fixed "Serializing and deserializing a proc SIGSEV's" (#16022) * Fixed "Small tutorial error" (#16047) * Fixed "lent codegen error for c++ (works with c,js,vm)" (#15958) * Fixed "sink var/var sink both accepted; sink var leads to bad codegen and strange behavior" (#15671) * Fixed "tfuturevar fails when activated" (#9695) * Fixed "db_sqlite: Error: undeclared field: 'untypedLen'" (#16080) * Fixed "xmlparser removes significant white space" (#14056) * Fixed "nre.escapeRe is not gcsafe" (#16103) * Fixed "macros.getImpl still return incorrect AST for Sym "XXX:ObjectType "" (#16110) * Fixed ""Error: internal error: genRecordFieldAux" - in the "version-1-4 " branch" (#16069) * Fixed "Tracking memory leaks under ORC (mostly with async)" (#15076) * Fixed "Const seq into sink arg: =copy operator not found" (#16120) * Fixed "Copying of a sink parameter into a variable not allowed" (#16119) * Fixed "Memleak in AsyncHttpServer with arc/orc" (#16154)
Diffstat (limited to 'lang')
-rw-r--r--lang/nim/Makefile4
-rw-r--r--lang/nim/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/lang/nim/Makefile b/lang/nim/Makefile
index 22fdc6bda68..af812f48ea7 100644
--- a/lang/nim/Makefile
+++ b/lang/nim/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2020/10/22 10:54:48 nikita Exp $
+# $NetBSD: Makefile,v 1.19 2020/12/07 12:40:44 ryoon Exp $
-DISTNAME= nim-1.4.0
+DISTNAME= nim-1.4.2
CATEGORIES= lang
MASTER_SITES= http://nim-lang.org/download/
EXTRACT_SUFX= .tar.xz
diff --git a/lang/nim/distinfo b/lang/nim/distinfo
index 99a6cb903ec..7dbe926ef02 100644
--- a/lang/nim/distinfo
+++ b/lang/nim/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.14 2020/10/22 10:54:48 nikita Exp $
+$NetBSD: distinfo,v 1.15 2020/12/07 12:40:44 ryoon Exp $
-SHA1 (nim-1.4.0.tar.xz) = 2e81e738ff6947c3a95082c87401f95cc25d37dd
-RMD160 (nim-1.4.0.tar.xz) = e83f35a7179d8a7e987b4bd696ccc1fad296836e
-SHA512 (nim-1.4.0.tar.xz) = cc8a875f9403725865889ad46cc8c87999ead5efa46f2a35577373ac8e3f0315fc28625791a2096f23ee679bcd29ebe6233cce5abb04bd51e96f57e1c6687be1
-Size (nim-1.4.0.tar.xz) = 4706936 bytes
+SHA1 (nim-1.4.2.tar.xz) = 6b14e82b94a01f5952766458c29be592afd5cc32
+RMD160 (nim-1.4.2.tar.xz) = 99ac5920fe5991793269e6c4a40bc337ceef031d
+SHA512 (nim-1.4.2.tar.xz) = a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe
+Size (nim-1.4.2.tar.xz) = 4770616 bytes
SHA1 (patch-bin_nim-gdb) = 0d4e9ae4cc8687ca7821891b63808fa1d175069c