--- - branch: MAIN date: Thu Oct 22 10:54:48 UTC 2020 files: - new: '1.18' old: '1.17' path: pkgsrc/lang/nim/Makefile pathrev: pkgsrc/lang/nim/Makefile@1.18 type: modified - new: '1.13' old: '1.12' path: pkgsrc/lang/nim/PLIST pathrev: pkgsrc/lang/nim/PLIST@1.13 type: modified - new: '1.14' old: '1.13' path: pkgsrc/lang/nim/distinfo pathrev: pkgsrc/lang/nim/distinfo@1.14 type: modified id: 20201022T105448Z.d7c066ace5b666adcdc960f76910fc9ae95619b8 log: "nim: Update to 1.4.0\n\nChangelog extracted from https://nim-lang.org/blog/2020/10/16/version-140-released.html\n\nStandard library additions and changes\n\n Added some enhancements to std/jsonutils module.\n Added a possibility to deserialize JSON arrays directly to\n \ HashSet and OrderedSet types and respectively to serialize\n those types to JSON arrays via jsonutils.fromJson and\n jsonutils.toJson procedures.\n \ Added a possibility to deserialize JSON null objects to Nim\n option objects and respectively to serialize Nim option object\n to JSON object if isSome or to JSON null object if isNone via\n jsonutils.fromJson and jsonutils.toJson procedures.\n Added a Joptions parameter to jsonutils.fromJson currently\n containing two boolean options allowExtraKeys and\n allowMissingKeys.\n \ If allowExtraKeys is true Nim窶å\x86± object to which the JSON\n \ is parsed is not required to have a field for every JSON\n key.\n \ If allowMissingKeys is true Nim窶å\x86± object to which JSON is\n \ parsed is allowed to have fields without corresponding\n JSON keys.\n Added bindParams, bindParam to db_sqlite for binding parameters\n into a SqlPrepared statement.\n Added tryInsert,insert procs to db_* libs which accept primary key\n column name.\n Added xmltree.newVerbatimText support create style窶å\x86±,script窶å\x86±\n text.\n uri module now implements RFC-2397.\n Added DOM Parser to the dom module for the JavaScript target.\n \ The default hash for Ordinal has changed to something more\n bit-scrambling. import hashes; proc hash(x: myInt): Hash =\n hashIdentity(x) recovers the old one in an instantiation context\n while -d:nimIntHash1 recovers it globally.\n \ deques.peekFirst and deques.peekLast now have var Deque[T] -> var T\n overloads.\n\n \ File handles created from high-level abstractions in the stdlib\n will no longer be inherited by child processes. In particular,\n these modules are affected: asyncdispatch, asyncnet, system,\n nativesockets, net and selectors.\n\n \ For asyncdispatch, asyncnet, net and nativesockets, an inheritable\n flag has been added to all procs that create sockets, allowing the\n user to control whether the resulting socket is inheritable. This\n flag is provided to ease the writing of multi-process servers,\n where sockets inheritance is desired.\n\n \ For a transition period, define nimInheritHandles to enable file\n handle inheritance by default. This flag does not affect the\n selectors module due to the differing semantics between operating\n systems.\n\n asyncdispatch.setInheritable, system.setInheritable and nativesockets.setInheritable are also introduced for setting file handle or socket inheritance. Not all platforms have these procs defined.\n\n The file descriptors created for internal bookkeeping by\n ioselector_kqueue and ioselector_epoll will no longer be leaked to\n child processes.\n strutils.formatFloat with precision = 0 has been restored to the\n version 1 behaviour that produces a trailing dot,\n e.g. formatFloat(3.14159, precision = 0) is now 3., not 3.\n\n \ Added commonPrefixLen to critbits.\n\n relativePath(rel, abs) and relativePath(abs, rel) used to silently\n give wrong results (see #13222); instead they now use\n \ getCurrentDir to resolve those cases, and this can now throw in\n edge cases where getCurrentDir throws. relativePath also now works\n for js with -d:nodejs.\n\n JavaScript and NimScript standard library changes:\n streams.StringStream is now supported in JavaScript, with the\n limitation that any buffer pointers used must be castable to ptr\n string, any incompatible pointer type will not work. The lexbase\n and streams modules used to fail to compile on NimScript due to a\n bug, but this has been fixed.\n\n The following modules now compile on both JS and NimScript:\n parsecsv, parsecfg, parsesql, xmlparser, htmlparser and\n ropes. Additionally supported for JS is cstrutils.startsWith and\n cstrutils.endsWith, for NimScript: json, parsejson, strtabs and\n unidecode.\n\n Added streams.readStr and streams.peekStr overloads to accept an\n existing string to modify, which avoids memory allocations,\n similar to streams.readLine (#13857).\n\n Added high-level asyncnet.sendTo and asyncnet.recvFrom UDP functionality.\n\n dollars.$ now works for unsigned ints with nim js.\n\n Improvements to the bitops module, including bitslices,\n non-mutating versions of the original masking functions,\n \ mask/masked, and varargs support for bitand, bitor, and bitxor.\n\n sugar.=> and sugar.-> changes: Previously (x, y: int) was\n transformed into (x: auto, y: int), it now becomes (x: int, y:\n int) for consistency with regular proc definitions (although you\n cannot use semicolons).\n\n Pragmas and using a name are now allowed on the lefthand side of =>.\n Here is an example of these changes:\n\n import sugar\n\n foo(x, y: int) {.noSideEffect.} => x + y\n\n # is transformed into\n\n proc foo(x: int, y: int): auto {.noSideEffect.} = x + y\n\n The fields of times.DateTime are now private, and are accessed\n \ with getters and deprecated setters.\n\n The times module now handles the default value for DateTime more\n consistently. Most procs raise an assertion error when given an\n uninitialized DateTime, the exceptions are == and $ (which returns\n \"Uninitialized DateTime\"). The proc times.isInitialized has been\n \ added which can be used to check if a DateTime has been\n initialized.\n\n \ Fix a bug where calling close on io streams in osproc.startProcess was a noop and led to hangs if a process had both reads from stdin and writes (e.g. to stdout).\n \ The callback that is passed to system.onThreadDestruction must now be .raises: [].\n\n The callback that is assigned to system.onUnhandledException must now be .gcsafe.\n\n osproc.execCmdEx now takes an optional input for stdin, workingDir and env parameters.\n\n Added a ssl_config module containing lists of secure ciphers as recommended by Mozilla OpSec\n\n net.newContext now defaults to the list of ciphers targeting 窶廬ntermediate compatibility窶� per Mozilla窶å\x86± recommendation instead of ALL. This change should protect users from the use of weak and insecure ciphers while still provides adequate compatibility with the majority of the Internet.\n\n A new module std/jsonutils with hookable jsonTo,toJson,fromJson operations for json serialization/deserialization of custom types was added.\n \ A new proc heapqueue.find[T](heap: HeapQueue[T], x: T): int to get index of element x was added.\n Added rstgen.rstToLatex a convenience proc for renderRstToOut and initRstGenerator.\n Added os.normalizeExe.\n macros.newLit now preserves named vs unnamed tuples.\n Added random.gauss, that uses the ratio of uniforms method of sampling from a Gaussian distribution.\n Added typetraits.elementType to get the element type of an iterable.\n typetraits.$ changes: $(int,) is now \"(int,)\" instead of \"(int)\"; $tuple[] is now \"tuple[]\" instead of \"tuple\"; $((int, float), int) is now \"((int, float), int)\" instead of \"(tuple of (int, float), int)\"\n\n Added macros.extractDocCommentsAndRunnables helper.\n strformat.fmt and strformat.& support specifier =. fmt\"{expr=}\" now expands to fmt\"expr={expr}\".\n\n \ Deprecations: instead of os.existsDir use dirExists, instead of os.existsFile use fileExists.\n Added the jsre module, Regular Expressions for the JavaScript target..\n Made maxLines argument Positive in logging.newRollingFileLogger, because negative values will result in a new file being created for each logged line which doesn窶å\x86² make sense.\n Changed log in logging to use proper log level for JavaScript, e.g. debug uses console.debug, info uses console.info, warn uses console.warn, etc.\n Tables, HashSets, SharedTables and deques don窶å\x86² require anymore that the passed initial size must be a power of two - this is done internally. Proc rightSize for Tables and HashSets is deprecated, as it is not needed anymore. CountTable.inc takes val: int again not val: Positive; i.e. it can 窶彡ount down窶� again.\n Removed deprecated symbols from macros module, some of which were deprecated already in 0.15.\n Removed sugar.distinctBase, deprecated since 0.19. Use typetraits.distinctBase.\n\n asyncdispatch.PDispatcher.handles is exported so that an external low-level libraries can access it.\n std/with, sugar.dup now support object field assignment expressions:\n\n import std/with\n\n \ type Foo = object\n x, y: int\n\n var foo = Foo()\n with foo:\n \ x = 10\n y = 20\n\n echo foo\n\n Proc math.round is no longer deprecated. The advice to use strformat instead cannot be applied to every use case. The limitations and the (lack of) reliability of round are well documented.\n\n \ Added getprotobyname to winlean. Added getProtoByname to nativesockets which returns a protocol code from the database that matches the protocol name.\n\n \ Added missing attributes and methods to dom.Navigator like deviceMemory, onLine, vibrate(), etc.\n Added strutils.indentation and strutils.dedent which enable indented string literals:\n\n import strutils\n echo dedent \"\"\"\n This\n \ is\n cool!\n \"\"\"\n\n Added initUri(isIpv6: bool) to uri module, now uri supports parsing ipv6 hostname.\n\n Added readLines(p: Process) to osproc.\n Added the below toX procs for collections. The usage is similar to procs such as sets.toHashSet and tables.toTable. Previously, it was necessary to create the respective empty collection and add items manually.\n \ critbits.toCritBitTree, which creates a CritBitTree from an openArray of items or an openArray of pairs.\n deques.toDeque, which creates a Deque from an openArray.\n heapqueue.toHeapQueue, which creates a HeapQueue from an openArray.\n intsets.toIntSet, which creates an IntSet from an openArray.\n\n \ Added progressInterval argument to asyncftpclient.newAsyncFtpClient to control the interval at which progress callbacks are called.\n Added os.copyFileToDir.\n\nLanguage changes\n\n The =destroy hook no longer has to reset its target, as the compiler now automatically inserts wasMoved calls where needed.\n\n The = hook is now called =copy for clarity. The old name = is still available so there is no need to update your code. This change was backported to 1.2 too so you can use the more readable =copy without loss of compatibility.\n\n In the newruntime it is now allowed to assign to the discriminator field without restrictions as long as the case object doesn窶å\x86² have a custom destructor. The discriminator value doesn窶å\x86² have to be a constant either. If you have a custom destructor for a case object and you do want to freely assign discriminator fields, it is recommended to refactor the object into 2 objects like this:\n\n type\n MyObj = object\n case kind: bool\n of true: y: ptr UncheckedArray[float]\n \ of false: z: seq[int]\n\n proc `=destroy`(x: MyObj) =\n if x.kind and x.y != nil:\n deallocShared(x.y)\n\n Refactor into:\n\n type\n \ MySubObj = object\n val: ptr UncheckedArray[float]\n MyObj = object\n case kind: bool\n of true: y: MySubObj\n of false: z: seq[int]\n\n proc `=destroy`(x: MySubObj) =\n if x.val != nil:\n deallocShared(x.val)\n\n \ getImpl on enum type symbols now returns field syms instead of idents. This helps with writing typed macros. The old behavior for backwards compatibility can be restored with --useVersion:1.0.\n The typed AST for proc headers will now have the arguments be syms instead of idents. This helps with writing typed macros. The old behaviour for backwards compatibility can be restored with --useVersion:1.0.\n \ let statements can now be used without a value if declared with importc/importcpp/importjs/importobjc.\n \ The keyword from is now usable as an operator.\n Exceptions inheriting from system.Defect are no longer tracked with the .raises: [] exception tracking mechanism. This is more consistent with the built-in operations. The following always used to compile (and still does):\n\n proc mydiv(a, b): int {.raises: [].} =\n a div b # can raise an DivByZeroDefect\n\n Now also this compiles:\n\n \ proc mydiv(a, b): int {.raises: [].} =\n if b == 0: raise newException(DivByZeroDefect, \"division by zero\")\n else: result = a div b\n\n The reason for this is that DivByZeroDefect inherits from Defect and with --panics:on Defects become unrecoverable errors.\n Added the thiscall calling convention as specified by Microsoft, mostly for hooking purposes.\n Deprecated the {.unroll.} pragma, because it was always ignored by the compiler anyway.\n Removed the deprecated strutils.isNilOrWhitespace.\n Removed the deprecated sharedtables.initSharedTable.\n \ Removed the deprecated asyncdispatch.newAsyncNativeSocket.\n\n Removed the deprecated dom.releaseEvents and dom.captureEvents.\n\n Removed sharedlists.initSharedList, was deprecated and produces undefined behaviour.\n\n There is a new experimental feature called 窶徭trictFuncs窶� which makes the definition of .noSideEffect stricter. See here for more information.\n\n 窶彷or-loop macros窶� (see the manual) are no longer an experimental feature. In other words, you don窶å\x86² have to write pragma {.experimental: \"forLoopMacros\".} if you want to use them.\n\n \ Added the .noalias pragma. It is mapped to C窶å\x86± restrict keyword for the increased performance this keyword can enable.\n items no longer compiles with enums with holes as its behavior was error prone, see #14004.\n\n system.deepcopy has to be enabled explicitly for --gc:arc and --gc:orc via --deepcopy:on.\n Added the std/effecttraits module for introspection of the inferred effects. We hope this enables async macros that are precise about the possible exceptions that can be raised.\n The pragma blocks {.gcsafe.}: ... and {.noSideEffect.}: ... can now also be written as {.cast(gcsafe).}: ... and {.cast(noSideEffect).}: .... This is the new preferred way of writing these, emphasizing their unsafe nature.\n\nCompiler changes\n Specific warnings can now be turned into errors via --warningAsError[X]:on|off.\n \ The define and undef pragmas have been de-deprecated.\n New command: nim r main.nim [args...] which compiles and runs main.nim, and implies --usenimcache so that the output is saved to $nimcache/main$exeExt, using the same logic as nim c -r to avoid recompilations when sources don窶å\x86² change. Example:\n\n \ nim r compiler/nim.nim --help # only compiled the first time\n echo 'import os; echo getCurrentCompilerExe()' | nim r - # this works too\n nim r compiler/nim.nim --fullhelp # no recompilation\n nim r --nimcache:/tmp main # binary saved to /tmp/main\n\n --hint:processing is now supported and means --hint:processing:on (likewise with other hints and warnings), which is consistent with all other bool flags. (since 1.3.3).\n nim doc -r main and nim rst2html -r main now call openDefaultBrowser.\n \ Added the new hint --hint:msgOrigin will show where a compiler msg (hint|warning|error) was generated; this helps in particular when it窶å\x86± non obvious where it came from either because multiple locations generate the same message, or because the message involves runtime formatting.\n Added the new flag --backend:js|c|cpp|objc (or -b:js etc), to change the backend; can be used with any command (e.g. nim r, doc, check etc); safe to re-assign.\n Added the new flag --doccmd:cmd to pass additional flags for runnableExamples, e.g.: --doccmd:-d:foo --threads use --doccmd:skip to skip runnableExamples and rst test snippets.\n Added the new flag --usenimcache to output binary files to nimcache.\n runnableExamples \"-b:cpp -r:off\": code is now supported, allowing to override how an example is compiled and run, for example to change the backend.\n nim doc now outputs under $projectPath/htmldocs when --outdir is unspecified (with or without --project); passing --project now automatically generates an index and enables search. See docgen for details.\n \ Removed the --oldNewlines switch.\n Removed the --laxStrings switch for mutating the internal zero terminator on strings.\n Removed the --oldast switch.\n \ Removed the --oldgensym switch.\n $getType(untyped) is now 窶å¿\x96ntyped窶� instead of 窶彳xpr窶�, $getType(typed) is now 窶徼yped窶� instead of 窶徭tmt窶�.\n Sink inference is now disabled per default and has to enabled explicitly via --sinkInference:on. Note: For the standard library sink inference remains enabled. This change is most relevant for the --gc:arc, --gc:orc memory management modes.\n\nTool changes\n nimsuggest now returns both the forward declaration and the implementation location upon a def query. Previously the behavior was to return the forward declaration only.\n\nBugfixes\n Fixed 窶徨epr() not available for uint{,8,16,32,64} under 窶堵c:arc窶� (#13872)\n Fixed 窶å»\x9Aritical: 1 completed Future, multiple await: Only 1 await will be awakened (the last one)窶� (#13889)\n Fixed 窶彡rash on openarray interator with argument in stmtListExpr窶� (#13739)\n Fixed 窶å½\x9Come compilers on Windows don窶å\x86² work窶� (#13910)\n Fixed 窶å¾\x82ttpclient hangs if it recieves an HTTP 204 (No Content)窶� (#13894)\n Fixed 窶æ\x87\x8C�彭istinct uint64窶� type corruption on 32-bit, when using {.borrow.} operators窶� (#13902)\n Fixed 窶å½\x9Degression: impossible to use typed pragmas with proc types窶� (#13909)\n \ Fixed 窶å¾\x99penssl wrapper corrupts stack on OpenSSL 1.1.1f + Android窶� (#13903)\n Fixed 窶å»\x9A compile error with 窶堵c:arc on version 1.2.0 窶å¿\x96nknown type name 窶ç\x8B¼GenericSeq窶å\x90®ï¿½ï¿½ (#13863)\n Fixed 窶忻ar return type for proc doesn窶å\x86² work at c++ backend窶� (#13848)\n \ Fixed 窶å¼\x8BimeFormat() should raise an error but craches at compilation time窶� (#12864)\n Fixed 窶å¾\x83c:arc cannot fully support threadpool with FlowVar窶� (#13781)\n Fixed 窶徭imple 窶�var openarray[char]窶� assignment crash when the openarray source is a local string and using gc:arc窶� (#14003)\n Fixed 窶å»\x9Aant use expressions with when in type sections.窶� (#14007)\n Fixed 窶彷or a in MyEnum gives incorrect results with enum with holes窶� (#14001)\n Fixed 窶å¼\x8Brivial crash窶� (#12741)\n Fixed 窶廢num with holes cannot be used as Table index窶� (#12834)\n Fixed 窶徭pawn proc that uses typedesc crashes the compiler窶� (#14014)\n Fixed 窶å»\x9Bocs Search Results box styling is not Dark Mode Friendly窶� (#13972)\n Fixed 窶æ\x87\x8C�堵c:arc -d:useSysAssert undeclared identifier cstderr with newSeq窶� (#14038)\n Fixed 窶彿ssues in the manual窶� (#12486)\n Fixed 窶廣nnoying warning: inherit from a more precise exception type like ValueError, IOError or OSError [InheritFromException]窶� (#14052)\n Fixed 窶徨elativePath(窶彷oo窶�, 窶�/窶�) and relativePath(窶�/窶�, 窶彷oo窶�) is wrong窶� (#13222)\n Fixed 窶å½\x88regression] parseEnum does not work anymore for enums with holes窶� (#14030)\n Fixed 窶廢xception types in the stdlib should inherit from CatchableError or Defect, not Exception窶� (#10288)\n Fixed 窶廴ake debugSend and debugRecv procs public in smtp.nim窶� (#12189)\n Fixed 窶忸mltree need add raw text, when add style element窶� (#14064)\n Fixed 窶徨aises requirement does not propagate to derived methods窶� (#8481)\n \ Fixed 窶徼ests/stdlib/tgetaddrinfo.nim fails on NetBSD窶� (#14091)\n \ Fixed 窶徼ests/niminaction/Chapter8/sdl/sdl_test.nim fails on NetBSD窶� (#14088)\n Fixed 窶廬ncorrect escape sequence for example in jsffi library documentation窶� (#14110)\n Fixed 窶廩CR: Can not link exported const, in external library窶� (#13915)\n Fixed 窶å»\x9Aannot import std/unidecode窶� (#14112)\n Fixed 窶å¾\x87acOS: dsymutil should not be called on static libraries窶� (#14132)\n Fixed 窶å¾\x9Eim jsondoc -o:doc.json filename.nim fails when sequences without a type are used窶� (#14066)\n Fixed 窶å½\x97lgorithm.sortedByIt template corrupts tuple input under 窶堵c:arc窶� (#14079)\n Fixed 窶廬nvalid C code with lvalue conversion窶� (#14160)\n Fixed 窶徭trformat: doc example fails窶� (#14054)\n Fixed 窶廸im doc fail to run for nim 1.2.0 (nim 1.0.4 is ok)窶� (#13986)\n Fixed 窶廢xception when converting csize to clong窶� (#13698)\n Fixed 窶å½\x88Documentation] overloading using named arguments works but is not documented窶� (#11932)\n Fixed 窶彿mport os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims causes 窶å½\x97mbiguous call窶� error窶� (#14142)\n Fixed 窶彿mport os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims causes 窶å½\x97mbiguous call窶� error窶� (#14142)\n Fixed 窶徨unnableExamples doc gen crashes compiler with except Exception as e syntax窶� (#14177)\n Fixed 窶å½\x88ARC] Segfault with cyclic references (?)窶� (#14159)\n \ Fixed 窶å½\x9Cemcheck regression when accessing a static parameter in proc窶� (#14136)\n Fixed 窶彿terator walkDir doesn窶å\x86² work with -d:useWinAnsi窶� (#14201)\n Fixed 窶彡as is wrong for tcc窶� (#14151)\n Fixed 窶å¾\x98roc execCmdEx doesn窶å\x86² work with -d:useWinAnsi窶� (#14203)\n Fixed 窶å¼\x91se -d:nimEmulateOverflowChecks by default?窶� (#14209)\n Fixed 窶廾ld sequences with destructor objects bug窶� (#14217)\n Fixed 窶å½\x88ARC] ICE when changing the discriminant of a return value窶� (#14244)\n Fixed 窶å½\x88ARC] ICE with static objects窶� (#14236)\n Fixed 窶å½\x88ARC] 窶彿nternal error: environment misses: a窶� in a finalizer窶� (#14243)\n Fixed 窶å½\x88ARC] compile failure using repr with object containing ref seq[string]窶� (#14270)\n \ Fixed 窶å½\x88ARC] implicit move on last use happening on non-last use窶� (#14269)\n Fixed 窶å½\x88ARC] Compiler crash with a recursive non-ref object variant窶� (#14294)\n Fixed 窶å¾\x82tmlparser.parseHtml behaves differently using 窶堵c:arc or 窶堵c:orc窶� (#13946)\n Fixed 窶廬nvalid return value of openProcess is NULL rather than INVALID_HANDLE_VALUE(-1) in windows窶� (#14289)\n Fixed 窶廣RC codegen bug with inline iterators窶� (#14219)\n \ Fixed 窶å»\x9Duilding koch on OpenBSD fails unless the Nim directory is in $PATH窶� (#13758)\n Fixed 窶å½\x88gc:arc] case object assignment SIGSEGV: destroy not called for primitive type 窶� (#14312)\n Fixed 窶å»\x9Arash when using thread and 窶堵c:arc 窶� (#13881)\n Fixed 窶廨etting 窶弩arning: Cannot prove that 窶è\N\x95esult窶� is initialized窶� for an importcpp窶å\x9B\x98 proc with var T return type窶� (#14314)\n Fixed 窶å¾\x9Eim cpp -r --gc:arc segfaults on caught AssertionError窶� (#13071)\n Fixed 窶徼ests/async/tasyncawait.nim is recently very flaky窶� (#14320)\n Fixed 窶å»\x9Bocumentation nonexistent quitprocs module窶� (#14331)\n Fixed 窶å½\x9CIGSEV encountered when creating threads in a loop w/ 窶堵c:arc窶� (#13935)\n Fixed 窶å¾\x9Eim-gdb is missing from all released packages窶� (#13104)\n Fixed 窶徭ysAssert error with gc:arc on 3 line program窶� (#13862)\n Fixed 窶彡ompiler error with inline async proc and pragma窶� (#13998)\n Fixed 窶å½\x88ARC] Compiler crash when adding to a seq[ref Object]窶� (#14333)\n Fixed 窶å¾\x9Eimvm: sysFatal: unhandled exception: 窶�sons窶� is not accessible using discriminant 窶é°\x90ind窶� of type 窶ç\x8B¼Node窶� [FieldError]窶� (#14340)\n Fixed 窶å½\x88Regression] karax events are not firing 窶� (#14350)\n Fixed 窶å¾\x99dbcsql module has some wrong integer types窶� (#9771)\n Fixed 窶彭b_sqlite needs sqlPrepared窶� (#13559)\n Fixed 窶å½\x88Regression] createThread is not GC-safe窶� (#14370)\n Fixed 窶å»\x9Droken example on hot code reloading窶� (#14380)\n Fixed 窶徨unnableExamples block with except on specified error fails with nim doc窶� (#12746)\n Fixed 窶彡ompiler as a library: findNimStdLibCompileTime fails to find system.nim窶� (#12293)\n Fixed 窶�5 bugs with importcpp exceptions窶� (#14369)\n Fixed 窶å»\x9Bocs shouldn窶å\x86² collapse pragmas inside runnableExamples/code blocks窶� (#14174)\n Fixed 窶å»\x9Dad codegen/emit for hashes.hiXorLo in some contexts.窶� (#14394)\n Fixed 窶å»\x9Doehm GC does not scan thread-local storage窶� (#14364)\n Fixed 窶å½\x9DVO not exception safe窶� (#14126)\n Fixed 窶徨unnableExamples that are only compiled窶� (#10731)\n Fixed 窶彷oldr raises IndexError when called on sequence窶� (#14404)\n Fixed 窶å¾\x87oveFile does not overwrite destination file窶� (#14057)\n Fixed 窶彭oc2 outputs in current work dir窶� (#6583)\n Fixed 窶å½\x88docgen] proc doc comments silently omitted after 1st runnableExamples窶� (#9227)\n Fixed 窶å¾\x9Eim doc --project shows 窶è\x93®@/窶� instead of 窶�../窶� for relative paths to submodules窶� (#14448)\n Fixed 窶徨e, nre have wrong start semantics窶� (#14284)\n Fixed 窶徨unnableExamples should preserve source code doc comments, strings, and (maybe) formatting窶� (#8871)\n Fixed 窶å¾\x9Eim doc .. fails when runnableExamples uses $ [devel] [regression]窶� (#14485)\n Fixed 窶彿tems is 20%~30% slower than iteration via an index窶� (#14421)\n Fixed 窶廣RC: unreliable setLen 窶� (#14495)\n \ Fixed 窶å¾\x91ent is unsafe: after #14447 you can modify variables with 窶彿tems窶� loop for sequences窶� (#14498)\n Fixed 窶忻ar op = fn() wrongly gives warning ObservableStores with object of RootObj type窶� (#14514)\n Fixed 窶å»\x9Aompiler assertion窶� (#14562)\n Fixed 窶å»\x9Aan窶å\x86² get ord of a value of a Range type in the JS backend 窶� (#14570)\n Fixed 窶å¾\x8As: can窶å\x86² take addr of param (including implicitly via lent)窶� (#14576)\n \ Fixed 窶æ\x82³.noinit.} ignored in for loop -> bad codegen for non-movable types窶� (#14118)\n Fixed 窶å¾\x83eneric destructor gives: Error: unresolved generic parameter窶� (#14315)\n Fixed 窶廴emory leak with arc gc窶� (#14568)\n Fixed 窶彳scape analysis broken with lent窶� (#14557)\n Fixed 窶忤rapWords seems to ignore linebreaks when wrapping, leaving breaks in the wrong place窶� (#14579)\n Fixed 窶å¾\x91ent gives wrong results with -d:release窶� (#14578)\n Fixed 窶廸ested await expressions regression: await a(await expandValue()) doesnt compile窶� (#14279)\n Fixed 窶忤indows CI docs fails with strange errors窶� (#14545)\n Fixed 窶å½\x88CI] tests/async/tioselectors.nim flaky test for freebsd + OSX CI窶� (#13166)\n Fixed 窶徭eq.setLen sometimes doesn窶å\x86² zero memory窶� (#14655)\n Fixed 窶å¾\x9Eim dump is roughly 100x slower in 1.3 versus 1.2窶� (#14179)\n Fixed 窶å½\x9Degression: devel docgen cannot generate document for method窶� (#14691)\n Fixed 窶徨ecently flaky tests/async/t7758.nim窶� (#14685)\n Fixed 窶å»\x9Dind no longer working in generic procs.窶� (#11811)\n Fixed 窶å¼\x8Bhe pegs module doesn窶å\x86² work with generics!窶� (#14718)\n Fixed 窶å»\x9Befer is not properly working for asynchronous procedures.窶� (#13899)\n Fixed 窶廣dd an ARC test with threads in a loop窶� (#14690)\n Fixed 窶å½\x88goto exceptions] {.noReturn.} pragma is not detected in a case expression窶� (#14458)\n Fixed 窶å½\x88exceptions:goto] C compiler error with dynlib pragma calling a proc窶� (#14240)\n Fixed 窶å»\x9Aannot borrow var float64 in infix assignment窶� (#14440)\n Fixed 窶å¾\x91ib/pure/memfiles.nim: compilation error with 窶é\x8D\x8DaintMode:on窶� (#14760)\n Fixed 窶å¾\x9EewWideCString allocates a multiple of the memory needed窶� (#14750)\n Fixed 窶廸im source archive install: 窶äº\x99nstall.sh窶� fails with error: cp: cannot stat 窶話in/nim-gdb窶�: No such file or directory窶� (#14748)\n Fixed 窶å¾\x9Eim cpp -r tests/exception/t9657 hangs窶� (#10343)\n Fixed 窶å»\x9Betect tool fails on FreeBSD窶� (#14715)\n \ Fixed 窶彡ompiler crash: findUnresolvedStatic 窶� (#14802)\n Fixed 窶徭eq namespace (?) regression窶� (#4796)\n Fixed 窶å¼\x83ossible out of bounds string access in std/colors parseColor and isColor窶� (#14839)\n \ Fixed 窶彡ompile error on latest devel with orc and ssl窶� (#14647)\n \ Fixed 窶å½\x88minor] $ wrong for type tuple窶� (#13432)\n Fixed 窶å»\x9Bocumentation missing on devel asyncftpclient窶� (#14846)\n Fixed 窶å¾\x9Eimpretty is confused with a trailing comma in enum definition窶� (#14401)\n Fixed 窶廾utput arguments get ignored when compiling with 窶殿pp:staticlib窶� (#12745)\n \ Fixed 窶å½\x88ARC] destructive move destroys the object too early窶� (#14396)\n \ Fixed 窶å¾\x82ighlite.getNextToken() crashes if the buffer string is 窶彳cho 窶�\"窶æ\x98¶ï¿½ï¿½ (#14830)\n Fixed 窶廴emory corruption with 窶堵c:arc with a seq of objects with an empty body.窶� (#14472)\n Fixed 窶å½\x9Ctropped identifiers don窶å\x86² work as field names in tuple literals窶� (#14911)\n \ Fixed 窶å¼\x83lease revert my commit窶� (#14930)\n Fixed 窶å½\x88ARC] C compiler error with inline iterators and imports窶� (#14864)\n Fixed 窶廣syncHttpClient segfaults with gc:orc, possibly memory corruption窶� (#14402)\n Fixed 窶å½\x88ARC] Template with a block evaluating to a GC窶å\x9B\x98 value results in a compiler crash窶� (#14899)\n Fixed 窶å½\x88ARC] Weird issue with if expressions and templates窶� (#14900)\n Fixed 窶忸mlparser does not compile on devel窶� (#14805)\n Fixed 窶徨eturning lent T from a var T param gives codegen errors or SIGSEGV窶� (#14878)\n Fixed 窶å½\x88ARC] Weird issue with if expressions and templates窶� (#14900)\n Fixed 窶徼hreads:on + gc:orc + unittest = C compiler errors窶� (#14865)\n Fixed 窶å¾\x87items, mpairs doesn窶å\x86² work at compile time anymore窶� (#12129)\n Fixed 窶徭trange result from executing code in const expression窶� (#10465)\n Fixed 窶å½\x9Came warning printed 3 times窶� (#11009)\n Fixed 窶徼ype alias for generic typeclass doesn窶å\x86² work窶� (#4668)\n Fixed 窶彳xceptions:goto Bug devel codegen lvalue NIM_FALSE=NIM_FALSE窶� (#14925)\n Fixed 窶徼he 窶砥seVersion:1.0 no longer works in devel窶� (#14912)\n Fixed 窶徼emplate declaration of iterator doesn窶å\x86² compile窶� (#4722)\n Fixed 窶å»\x9Aompiler crash on type inheritance with static generic parameter and equality check窶� (#12571)\n \ Fixed 窶廸im crashes while handling a cast in async circumstances.窶� (#13815)\n Fixed 窶å½\x88ARC] Internal compiler error when calling an iterator from an inline proc 窶� (#14383)\n Fixed 窶æ\x87\x8C�å»\x9Aannot instantiate窶� error when template uses generic type窶� (#5926)\n Fixed 窶å»\x9Bifferent raises behaviour for newTerminal between Linux and Windows窶� (#12759)\n Fixed 窶廢xpand on a type (that defines a proc type) in error message 窶� (#6608)\n \ Fixed 窶å¿\x96nittest require quits program with an exit code of 0窶� (#14475)\n Fixed 窶å½\x9Dange type: Generics vs concrete type, semcheck difference.窶� (#8426)\n Fixed 窶å½\x88Macro] Type mismatch when parameter name is the same as a field窶� (#13253)\n Fixed 窶廨eneric instantiation failure when converting a sequence of circular generic types to strings窶� (#10396)\n Fixed 窶彿nitOptParser ignores argument after value option with empty value.窶� (#13086)\n Fixed 窶å½\x88ARC] proc with both explicit and implicit return results in a C compiler error窶� (#14985)\n Fixed 窶廣lias type forgets implicit generic params depending on order窶� (#14990)\n Fixed 窶å½\x88ARC] sequtils.insert has different behaviour between ARC/refc窶� (#14994)\n Fixed 窶å¼\x8Bhe documentation for 窶å¾\x82ot code reloading窶� references a non-existent npm package窶� (#13621)\n Fixed 窶彳xistsDir deprecated but breaking dir undeclared窶� (#15006)\n Fixed 窶å¿\x96ri.decodeUrl crashes on incorrectly formatted input窶� (#14082)\n Fixed 窶徼estament incorrectly reports time for tests, leading to wrong conclusions窶� (#14822)\n Fixed 窶å»\x9Aalling peekChar with Stream returned from osproc.outputStream generate runtime error窶� (#14906)\n Fixed 窶å¾\x91ocalPassC pragma should come after other flags窶� (#14194)\n Fixed 窶æ\x87\x8C�å»\x9Aould not load窶� dynamic library at runtime because of hidden dependency窶� (#2408)\n Fixed 窶æ\x87\x8C�堵c:arc generate invalid code for {.global.} (ï¾\x82ォnimErr_ï¾\x82ï½» in NIM_UNLIKELY)窶� (#14480)\n \ Fixed 窶å¼\x91sing ^ from stdlib/math along with converters gives a match for types that aren窶å\x86² SomeNumber窶� (#15033)\n Fixed 窶å½\x88ARC] Weird exception behaviour from doAssertRaises窶� (#15026)\n Fixed 窶å½\x88ARC] Compiler crash declaring a finalizer proc directly in 窶è\x95¨ew窶å\x90®ï¿½ï¿½ (#15044)\n Fixed 窶å½\x88ARC] C compiler error when creating a var of a const seq窶� (#15036)\n Fixed 窶彡ode with named arguments in proc of winim/com can not been compiled窶� (#15056)\n Fixed 窶å¾\x8Aavascript backend produces javascript code with syntax error in object syntax窶� (#14534)\n Fixed 窶æ\x87\x8C�堵c:arc should be ignored in JS mode.窶� (#14684)\n Fixed 窶å½\x97rc: C compilation error with imported global code using a closure iterator窶� (#12990)\n Fixed 窶å½\x88ARC] Crash when modifying a string with mitems iterator窶� (#15052)\n \ Fixed 窶å½\x88ARC] SIGSEGV when calling a closure as a tuple field in a seq窶� (#15038)\n Fixed 窶å¾\x98ass varargs[seq[T]] to iterator give empty seq 窶� (#12576)\n Fixed 窶å»\x9Aompiler crashes when using string as object variant selector with else branch窶� (#14189)\n Fixed 窶廱S compiler error related to implicit return and return var type窶� (#11354)\n Fixed 窶å¾\x9EkRecWhen causes internalAssert in semConstructFields窶� (#14698)\n Fixed 窶廴emory leaks with async (closure iterators?) under ORC窶� (#15076)\n Fixed 窶徭trutil.insertSep() fails on negative numbers窶� (#11352)\n Fixed 窶å»\x9Aonstructing a uint64 range on a 32-bit machine leads to incorrect codegen窶� (#14616)\n Fixed 窶å¾\x82eapqueue pushpop() proc doesn窶å\x86² compile窶� (#14139)\n Fixed 窶å½\x88ARC] SIGSEGV when trying to swap in a literal/const string窶� (#15112)\n \ Fixed 窶å»\x9Befer and 窶堵c:arc窶� (#15071)\n Fixed 窶彿nternal error: compiler/semobjconstr.nim(324, 20) example窶� (#15111)\n Fixed 窶å½\x88ARC] Sequence 窶彭isappears窶� with a table inside of a table with an object variant窶� (#15122)\n Fixed 窶å½\x88ARC] SIGSEGV with tuple assignment caused by cursor inference窶� (#15130)\n Fixed 窶廬ssue with 窶堵c:arc at compile time窶� (#15129)\n Fixed 窶弩riting an empty string to an AsyncFile raises an IndexDefect窶� (#15148)\n Fixed 窶å»\x9Aompiler is confused about call convention of function with nested closure窶� (#5688)\n Fixed 窶廸il check on each field fails in generic function窶� (#15101)\n Fixed 窶æ\x82³.nimcall.} convention won窶å\x86² avoid the creation of closures窶� (#8473)\n Fixed 窶徭mtp.nim(161, 40) Error: type mismatch: got but expected 窶ç\x89¢slContext = void窶å\x90®ï¿½ï¿½ (#15177)\n Fixed 窶å½\x88strscans] scanf doesn窶å\x86² match a single character with $+ if it窶å\x86± the end of the string窶� (#15064)\n Fixed 窶å»\x9Arash and incorrect return values when using readPasswordFromStdin on Windows.窶� (#15207)\n Fixed 窶å¼\x83ossible capture error with fieldPairs and genericParams窶� (#15221)\n Fixed 窶å¼\x8Bhe StmtList processing of template parameters can lead to unexpected errors窶� (#5691)\n Fixed 窶å½\x88ARC] C compiler error when passing a var openArray to a sink openArray窶� (#15035)\n Fixed 窶廬nconsistent unsigned -> signed RangeDefect usage across integer sizes窶� (#15210)\n Fixed 窶徼oHex results in RangeDefect exception when used with large uint64窶� (#15257)\n Fixed 窶廣rc sink arg crash窶� (#15238)\n Fixed 窶å½\x9CQL escape in db_mysql is not enough窶� (#15219)\n Fixed 窶廴ixing 窶è\N\x95eturn窶� with expressions is allowed in 1.2窶� (#15280)\n Fixed 窶å¾\x99s.getFileInfo() causes ICE with 窶堵c:arc on Windows窶� (#15286)\n Fixed 窶å½\x88ARC] Sequence 窶彭isappears窶� with a table inside of a table with an object variant窶� (#15122)\n Fixed 窶å»\x9Bocumentation regression jsre module missing窶� (#15183)\n Fixed 窶å»\x9AountTable.smallest/largest() on empty table either asserts or gives bogus answer窶� (#15021)\n Fixed 窶å½\x88Regression] Parser regression窶� (#15305)\n Fixed 窶å½\x88ARC] SIGSEGV with tuple unpacking caused by cursor inference窶� (#15147)\n Fixed 窶廰wIP/FreeRTOS compile error - missing SIGPIPE and more 窶� (#15302)\n Fixed 窶廴emory leaks with async (closure iterators?) under ORC窶� (#15076)\n Fixed 窶å»\x9Dug compiling with 窶堵c:arg or 窶堵c:orc窶� (#15325)\n Fixed 窶å¾\x87emory corruption in tmarshall.nim窶� (#9754)\n Fixed 窶徼yped macros break generic proc definitions窶� (#15326)\n Fixed 窶å¾\x9Eim doc2 ignores 窶é\x9B»ocSeeSrcUrl parameter窶� (#6071)\n Fixed 窶å¼\x8Bhe decodeData Iterator from cgi module crash窶� (#15369)\n Fixed 窶忿| iterator generates invalid code when compiling with 窶é\x9B»ebugger:native窶� (#9710)\n Fixed 窶弩rong number of variables窶� (#15360)\n Fixed 窶å»\x9Aoercions with distinct types should traverse pointer modifiers transparently.窶� (#7165)\n Fixed 窶廢rror with distinct generic TableRef窶� (#6060)\n Fixed 窶å½\x9Cupport images in nim docgen窶� (#6430)\n \ Fixed 窶å½\x9Degression. Double sem check for procs.窶� (#15389)\n Fixed 窶å¿\x96ri.nim url with literal ipv6 address is printed wrong, and cannot parsed again窶� (#15333)\n Fixed 窶å½\x88ARC] Object variant gets corrupted with cursor inference窶� (#15361)\n Fixed 窶å¾\x9Eim doc .. compiler crash (regression 0.19.6 => 1.0)窶� (#14474)\n Fixed 窶彡annot borrow result; what it borrows from is potentially mutated窶� (#15403)\n Fixed 窶å¾\x87emory corruption for seq.add(seq) with gc:arc and d:useMalloc 窶� (#14983)\n Fixed 窶å»\x9BocGen HTML output appears improperly when encountering text immediately after/before inline monospace; in some cases won窶å\x86² compile窶� (#11537)\n Fixed 窶å»\x9Beepcopy in arc crashes窶� (#15405)\n Fixed 窶å¾\x98op pragma takes invalid input窶� (#15430)\n Fixed 窶徼ests/stdlib/tgetprotobyname fails on NetBSD窶� (#15452)\n Fixed 窶彭efer doesnt work with block, break and await窶� (#15243)\n Fixed 窶徼ests/stdlib/tssl failing on NetBSD窶� (#15493)\n Fixed 窶徭trictFuncs doesn窶å\x86² seem to catch simple ref mutation窶� (#15508)\n Fixed 窶å½\x9Cizeof of case object is incorrect. Showstopper窶� (#15516)\n Fixed 窶å½\x88ARC] Internal error when trying to use a parallel for loop窶� (#15512)\n Fixed 窶å½\x88ARC] Type-bound assign op is not being generated窶� (#15510)\n Fixed 窶å½\x88ARC] Crash when adding openArray proc argument to a local seq窶� (#15511)\n Fixed 窶å¼\x96M: const case object gets some fields zeroed out at runtime窶� (#13081)\n Fixed 窶徨egression(1.2.6 => devel): VM: const case object field access gives: 窶�sons窶� is not accessible窶� (#15532)\n Fixed 窶å»\x9Asources: huge size increase (x2.3) in 0.20窶� (#12027)\n Fixed 窶廾ut of date error message for GC options窶� (#15547)\n \ Fixed 窶彭bQuote additional escape regression窶� (#15560)\n" module: pkgsrc subject: 'CVS commit: pkgsrc/lang/nim' unixtime: '1603364088' user: nikita