From a5ccdb4dc50d11831c4c5de2334912d750f3fad9 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Mon, 5 Oct 2020 16:46:41 +0000 Subject: [PATCH] nim: Autospec creation for update from version 1.0.0 to version 1.2.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3n-k1 (1): [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. (#12754) Alex Mitchell (1): Update events.nim (#12803) Alexander Ivanov (2): Fixes semCustomPragma when nkSym (#12414) [backport] sourcemaps for the JS codegen (#7508) Andrea Ferretti (1): Fix #13573 and #13574 (#13575) Andreas Rumpf (165): fixes the --verbosity:2 regression [backport] updated the contributing.rst guidelines fixes #12294 [backport] fixes #12281 [backport] fixes #12264 [backport] (#12302) fixes #12240 [backport] (#12308) fixes #12336 [backport] fixes #12291 [backport] (#12338) minor optimization for asynchttpserver.nim use system.move instead of system.shallowCopy if the GC mode requires it VM: no special casing for big endian machines; refs #9690 [backport] (#12364) render typeof as typeof fixes #12323 [backport] fixes #12315 [backport]; refs #12314 (#12385) fixes #12366 [backport] (#12393) fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] (#12400) minor improvements for htmlgen.nim [backport] add back a check that got accidentically removed; fixes #12379 (#12444) Revert "Fixes #12187 (#12321)" (#12447) fixes #12420 [backport] (#12456) fixes #12310 [backport] (#12470) VM: fixes most ran-out-registers problems [backport] (#12485) fixes #12491 [backport] VM: fixes register leaks [backport] (#12510) minor improvements development version should be 1.1.0 so that version checking can work properly fixes #12502 some progress on bug #12443 proof that refcounting can handle Nim's async (#12533) [backport] fix #12528, fix #12525: incorrect generic type resolution for default values (#12538) --gc:destructors now means Nim uses pure refcounting (#12557) better testing for nimcrypto; re-enable chronos testing (#12560) improve codegen quality for --gc:destructors make renderIds work again --gc:destructors: simple closures work fixes #12577 [backport] (#12584) newruntime: only check for dangling refs when 'owned ref T' support is enabled --os:ios needs to imply defined(macosx) [backport] (#12585) implement the --useVersion emulation feature remove deprecated procs (#12535) error message: Nim calls it 'proc' osproc needs 'import linux' for -d:useClone pragmas.nim: tiny code formatting bugfix that enables the 'since' template [backport] added 'since' template for further stdlib additions make parsexml compatible with --gc:destructors/newruntime --gc:destructors improvements (#12626) .cursor implementation (#12637) fixes #12644 make tests green again ARC: solves phase ordering problems (#12654) ARC: fixes leaking new() statement (#12665) fixes and changes the recently introduced 'alignas' to be 'align' (#12666) attempt to add valgrind support to the CIs and testament (#12646) ARC: closure bugfixes (#12677) fixes #12612 [backport] (#12681) more arc improvements (#12690) conversions to unsigned numbers are not checked anymore; implements /… (#12688) [backport] fixes #12670 [backport] (#12693) added the --asm command line option for inspection of the produced assember code (#12699) implemented a new localPassc pragma (#12706) fixes #11863 multipart data need $ (#12707) more fixes for --cpu:avr [backport] (#12748) VM: improvements for var T/addr (#12667); fixes #12489 better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799) ARC related bugfixes and refactorings (#12781) feature dracula themed doc (#12816) completes #12799, fixes #12216 (#12870) ARC: yet another bugfix (#12871) ARC: fixes cycle detection and move the .cursor attribute into closures (#12872) fixes #12148 [backport] (#12888) fixes #12874 (#12890) fixes #12885 [backport] (#12895) ARC: cycle detector (#12823) fixes #12899 (#12921) minor refactorings fixes #12965 (#12991) --exception:goto switch for deterministic exception handling (#12977) fixes #12978 (#13012) fixes #12961 (#13019) fixes #12956 (#13020) fixes #12964 (#13027) take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077) fixes an asyncftpclient bug; refs #13096 [backport] more arc features (#13098) fixes #13122 (#13126) fixes #13112 (#13127) fixes #13119 (#13128) fixes #13105 (#13138) fixes #10665 (#13141) [backport] fixes #13104 [backport] (#13142) fixes #9674 [backport] (#13143) ARC: misc bugfixes (#13156) ARC works for async on Windows (#13179) fixes #13110 (#13197) fixes a critical times.nim bug reported on IRC [backport] (#13216) make goto based exceptions available for 'nim cpp' (#13244) fixes #13219 (#13272) TlSF Alloctor: use less memory for --gc:arc (#13280) make monotimes have zero overhead if you don't use it (#13338) [backport] fixes #13269 (#13344) fixes #13314 (#13372) fixes #13378 [backport] (#13392) Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396) fixes #13457 (#13458) added operateOn to sugar.nim to give Nim the chaining mechanism it de… (#13092) std/compilesettings implementation (#13584) sink parameter inference for types that have destructors (#13544) fix #13579 joinPath("/foo/", "../a") is now /a (#13586) fixes #5170 (#13589) Removed simpleGetOrDefault (#13590) fixes #13605 (#13611) fixes #13596 (#13612) fixes #13599 (#13614) fixes #13436 (#13615) catchable defects (#13626) fixes #13661 (#13664) [backport] fixes #13654 updated builds.sr.ht script according to their email (#13669) rewritten goto based exception handling; much cleaner implementation;… (#13677) fixes #13671 [backport] (#13678) fixes #13622 (#13679) new feature: --staticBoundChecks:on to enforce static array index checking (#10965) arc optimizations (#13325) enable --tlsEmulation:on for --gc:arc (#13685) gc.rst that doesn't lie (#13686) added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions (#13692) fixes #13691 (#13694) cycle breaker (#13593) fixes #13698 (#13706) Revert "fix #13417 (#13712)" (#13728) fixes #13722 (#13729) fixes #13763 (#13777) '.push raises: []' now also affects proc types (#13776) macros for proc types, macros for types (#13778) DrNim (Nim compiler with Z3 integration) (#13743) revert stdlib changes which are not required anymore fixes #13782 (#13834) renamed new std/pragmas.nim to std/byaddr.nim (#13844) make bootstrapping more robust for people who have Nim inside /usr/bin (#13855) fixes #14052 [backport:1.2] (#14055) fixes #14079 [backport:1.2] (#14163) fixes #14054 [backport:1.2] (#14061) fixes #13986 [backport:1.2] (#14173) fixes #13698 [backport:1.2] (#14175) arc: do not unload globals when building a library [backport:1.2] (#14180) destructors: don't produce stupid code for 'cast' (#14208) [backport:1.2] fixes #14209 [backport:1.2] (#14213) fixes #13104 [backport] fixes #13998 [backport:1.2] fixes #14126 [backport:1.2] (#14390) specialize genericReset (#14398) manual.rst: updates [backport] (#14445) fixes #14495 [backport:1.2] (#14496) fixes #14498 [backport:1.2] (#14503) warn about observerable stores but don't prevent them for 1.2.2 [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510) fixes #14514 [backport:1.2] (#14533) more precise analysis about 'observable stores' [backport:1.2] (#14582) optimized wrapWords; fixes #14579 (#14606) [backport:1.2] fixes #14458 [backport:1.2] (#14756) fixes #14240 [backport:1.2] (#14757) enforce browsers.nim only handles URLs [backport] (#15045) fixes #15044 [backport:1.2] fixes #15038 [backport:1.2] fixes #14616 [backport:1.2] (#15109) Andrew Owen (1): [backport] Fix typo in docs (#12356) [ci skip] Andrew Smith (1): Updated the code example in the os module to use better grammar. (#12328) Andrey Makarov (3): fix nimgrep color on posix #7591 (#12288) nimgrep improvements (#12779) fix 3 minor bugs in joinPath (see #13455) (#13462) [backport] Andrii Riabushenko (5): fixes #12989 Revert "fixes #12989" fixes #13195 revert last commit Revert "fixes #13195" Andy Davidoff (11): tweaked for clarity after editing to fix a typo (#12473) export nim.cfg parser (#12602) add --clearNimblePath; fixes #12601 (#12609) restore --define:key:val in nim.cfg and fix #12367 (#12611) replace some runtime repr in stdlib for gc:arc (#12716) add a StringTable.clear that requires no mode specification (#12853) fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport] fix crash due to errant symbols in nim.cfg (#13073) [backport] surgical fix for #13319 (#13604) fix .deprecated. object typedef crash (#13643) add error for missing commandLineParams (#13719) Anthon van der Neut (1): [backport] fix broken link to non-existing c2nim manual html, fixes #12537 [ci skip] (#12544) Antonis (2): fix closure env check better error message Araq (99): fixes #12279 [backport] fixes #12298 different fix for #12279 [backport] JS: gensym is stricter for 'this'; refs #12246 [backport] fixes #12244 [backport] refactoring: --newruntime consists of 3 different switches refactoring: use the new strings and seqs when optSeqDestructors is active first implementation of the new --seqsv2 switch ast.nim: slightly better documentation fixes a regression that caused that Nim devel cannot compile 1.0 anymore fixes a regression that caused that Nim devel cannot compile 1.0 anymore destructors.rst: added a missing 'var' to the motivating example fixes #12547 [backport] expr -> untyped async: use $ and not repr in debug mode inhibit silly warning about moving closure environments for performance --gc:destructors: bugfixes async: cleaner solution that avoids GC_ref on strings which doesn't exist for --gc:arc gc:arc: support GC_ref/unref for ref T ARC: use the new .cursor annotation for 'up' pointers ARC: handle closures like tuples consistently ARC: closure inside object constructor now works thavlak.nim test: improved the code style more thavlak.nim improvements more thavlak.nim improvements thavlak.nim: more idiomatic code ARC: yet another silly bugfix ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data ARC: ported the GC tests over to --gc:arc test suite: rename tests containing 'fail' for easier search in logs fixes a flaky test for the realtime GC ARC: implemented a simple cycle detector fixes #12488 [backport] fixes #11727 [backport] fixes #12766 fixes #12669 fixes #12798 [backport] docs: tiny style improvements added guidelines for evolving Nim's stdlib fixes a bug that kept sugar.collect from working with for loop macros [backport] fixes #12826 fixes a regression a better bugfix fixes a test case fixes a silly regression fixes the distros.nim regression ported channels to ARC ported osproc.nim to ARC ported re.nim to ARC ARC: default to a shared heap with --threads:on osproc: fixes regression fixes another regression fixes #13032 reprjs: style changes fixes #12996 fixes #13072; no test case because it will be added later with more exception handling related bugfixes fixes #13070 fixes #13157 ARC: remove unnecessary code ARC: optimize complete object constructors to use nimNewObjUninit make nre compile with --gc:arc contributing.rst: Add a special rule for 'outplace'-like features fixes #13444 ARC hotfix; proper destruction of seqs and strings after a move hotfix: make --useVersion:1.0 work fixes #13607 fixes #12757 fixes #13519 fixes #13240 fixes async regression disable chronos testing for now disable nimgame2 for now minor code style changes minor code style change fixes #13646 fixes #13645 rename sfAlwaysReturn to sfNeverRaises fixes a bug for 'dup' and 'with'; they can now handle nested statement lists that can result from macros fixes hash(HashSet) which was wrong as it didn't respect tombstones; refs #13649 removed .gitattributes as it only causes trouble for me make 'nim check' more robust for illdefined constants fight the code bloat in base64.nim threadpool.nim: allow control over MaxThreadPoolSize and MaxDistinguishedThread; refs #10584 typo Windows API callbacks cannot raise exceptions better error messages for Nim's effect system trees.nim: compare floating points by their bitpatterns because NaN comparisions are always false (WORST design in the history of computing!) disable even more of scope based destruction handling; fixes #13709 trees.nim: compare floating points by their bitpatterns because NaN comparisions are always false (WORST design in the history of computing!) hotfix: make 'nim doc nimhcr' work on all platforms use nimEmulateOverflowChecks for ARM/ARM64 encodeMIME should be encodeMime by our coding guidelines updated the changelog added an .assert pragma and mentioned the pragmas in the changelog return types must not be Natural for reasons I won't outline here fixes another silly arc/orc bug [backport:1.2] fixes #14159 [backport:1.2] fixes #14718 [backport] fixes #15056 [backport] Arne Döring (31): fix #12332 (#12402) [backport] refactor illegal iterator assignment detection (#12212) Refactor json macro (#12391) fix #12426 (#12462) fixes #12453 (#12475) no html comments in issue template [skip ci] (#12496) fixes #12514 (#12520) [backport] integer literal documentation [ci skip] (#12513) Extent json.to testing to VM, add workrounds for VM bugs. (#12493) introduce csize_t instead of fixing csize (#12497) fix conversions to uint in varints.nim (#12564) backtick and export marker handling in `eqIdent` (#12574) fix #12597 (#12604) implemented alignas pragma (#12643) fix regression in align (#12680) delete list comprehension (#12392) fix in tests/js/tconsole (#12709) fix #12740 (#12774) add $nimeq for gdb (#12909) printing float values will have one more digit. (#13276) [backport] fix #13255 (#13275) [backport] fix bug in int128 (#13403) fix #13479 (#13503) Remove dead magics (#13551) fix operators containing percent for VM usage (#13536) add expectIdent to macros (#12778) allow category nimble-packages to test a single package (#13576) fix #13720 (#13721) fixes #13715 (#13716) fix #13417 (#13712) fix typos and deprecation warnings for tconvariancerules.nim (#13772) Artem V L (3): Docstring refined for the getSectionValue() (#12478) [backport] '#' value parcing is explained (disambiguated) (#12476) splitPath() behavior synchronized with splitFile() (#12481) BinHong Lee (2): Add `--git.devel` option to the documentation Allow `-o` option for `buildIndex` (#13037) [backport] Brent Pedersen (1): testament/important_packages dont run hts (#13052) Brian Wignall (1): [backport] Fix spelling typos (#12755) Bung (4): add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060) fix #9771 (#14357) fix #14534 (#15060) [backport] fixes #14189 (#15080) [backport] Chris Heller (1): Check pqntuples > 0 in getValue. Fixes #12973 (#12974) Christian Ulrich (1): introduce getPeerCertificates, fixes #13299 (#13650) Clyybber (33): Fixes #10514 (#12268) More of StringStream now works at compile time (#12284) Refactor injectdestructors (#12295) Fixes #12187 (#12321) Fixes #12379 (#12591) [backport] Implemented outplace differently (#12599) Cosmetic compiler cleanup (#12718) Fix #12812 Cleanup leftovers of #12911(#12916) system.reset is no longer magic (#12937) Continue #13002 (#13021) Cleanup DFA (#13173) Fix docs (#13176) Fix docs for subdirs too (#13180) Tiny since cleanup (#13286) Fix capture for object types (#13315) Make build_all.sh more portable and a bit simpler (#13308) build_all.sh update (#13320) expectLen now shows the length that we got (#13387) capture macro now accepts variables of different types (#13356) Remove testutils (#13435) [backport] Only print the link command when listCmd is active; fix docs (#13603) Make listCmd honor hint:cc:off (#13606) Fix #13633 Amend fix for #13633 (#13636) Change order of forwarded koch boot command line options, so as to be able to overwrite the nimcache location (#13637) Fix vm.nim for --gc:arc (#13741) Small typo (#13824) Fix #13889 with testcase (#13896) [backport] Fix the DFA for "unstructured controlflow" (#14263) New "ping-pong" DFA (#14322) Fix #14269 (#14286) Fix #14911 (#14922) [backport] D-Nice (1): [backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip] Danil Yarantsev (2): Fix some typos in the manual [backport] (#14399) Change severity of template instantiation message [backport] (#14526) David Krause (1): fix documentation of `$`*(dt: DateTime) (#12660) Dean Eigenmann (1): feature/count (#13837) Dominik Picheta (5): Change future version number in changelog Fixes ambiguity errors when evaluating Nimble files. (#12674) [backport] Revert broken asynchttpserver FutureStream additions. Fixes issues with dynamic loading OpenSSL. Fixes #13903. (#13919) [backport] [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012) Elliot Waite (2): Removing the mention of using `discard` for block comments (#12837) [backport] Add a 32x32 favicon (#12856) Emery Hemingway (1): Implement NixOS distro check (#12914) Endeg (1): Fix #12242, replacing ":" with "@c" in packages [backport] (#12265) Euan (7): #12389: Check working directory for getAppFilename() (#12390) Fix #12135 and #12109 (#12137) #12103 - CI for FreeBSD (#12179) Fix typo for literal `[` (#13243) __stderrp and friends are only on FreeBSD & DragonFlyBSD. (#13735) `import macros` rather than `import std/macros`. (#13762) #13806 - getApplFreebsd might lose data (#13807) Federico Ceratto (8): Fix spellings (#12277) [backport] Expose some layouter elements, improve readme (#12361) Refactor closeEmitter to make it more modular (#12365) [backport] Add link to posix_utils.html - related to #10723 (#12509) [backport] Add links to packaging and distro pages (#12603) [ci skip] Add link to posix_utils.html in posix.nim (#13111) Add link to packaging.html (#13194) SSL certificate verify GitHub action (#13697) Fredrik Høisæther Rasch (2): Quote nim executable before executing. (#13316) [backport] Make vccexe parse response files (#13329) Gampol T (2): documented behaviour of recv on bufferd socket (#12374) fixes #12319 - change exception handling for finish.exe (#12413) Ganesh Viswanathan (1): Fix #9405 - cfg and nims run in sync Hayden (1): Detect Ubuntu by checking release() and uname() (#13704) Henrique Dias (3): Option to allow the request body to be processed outside the asynchttpserver library. (#13147) Added a basic example how to handle a Post request. (#13339) Fix to asynchttpserver form data/body broken with #13147 (#13394) Hideki Okamoto (1): Fixes #12010; Add the description for "cc" option into --fullhelp (#12350) Hiroki Noda (2): Thread attributes should be destroyed using the pthread_attr_destroy() (#13293) Add EPOLLEXCLUSIVE (#13718) Huy Doan (1): Fix telebot test failed, closes ba0f3/telebot.nim#49 [ref #13812] (#13814) Ico Doornekamp (13): Fixed #12337, leaking pipe after gorge (#12339) added cpuTime to VM (#12346) Refactored VM registerlayout. The size and location of the registers in (#12775) Increased TInstr field sizes: allow long jumps and 65535 VM registers (#12777) Auto-initialize deques (#12879) Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089) Added 'ansic' os support for minimal (embedded) targets (#13088) Remove obsolete code from osalloc (#13158) Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190) Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237) Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254) Fixed codegen for constant cstring with --gc:arc (#13326) Improved assertion error messages on usage of JsonNode iterators on wrong kinds (#13389) Jack Tang (2): index out of bounds exception when data is empty (#12428) Allow customize Host header Jae Yang (1): Fixes #14110 (#14111) Jairo (2): Add "origin" to window.location (#13251) scrollTop must be settable (#13263) Jasper Jenkins (18): remove nimnomagic64 (#12243) Macro docs additions (#12270) ungeneric unsigned ops (#12230) make addQuoted work on nimscript (#12717) [backport] [backport] always set `fileInfoIdx.isKnownFile` (#12773) fix nimsuggest deprecation warnings (#12772) Better case coverage error message for alias and range enum (#12913) case coverage error message for `char` (#12948) fix enumtostr crash for enum-range (#13035) fix rtti sizeof for varargs in global scope (#13125) [backport] fix tsizeof3 for aarch64 (#13169) make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) fix range[enum] type conversion (#13204) [backport] fix sets of scoped imported enums (#13666) add nnkMacroDef to RoutineNodes (#13676) fix when statements in inheritable generic objects (#13667) [backport] fix nimpretty warning (#13700) fix nimsuggest warning (#13699) Jjp137 (13): threadpool: fix link in docs [ci skip] (#12258) [backport] Fix many broken links Prefer relative links for Nim documentation koch.rst: remove link to nonexistent section manual.rst: remove unintended link asyncstreams: replace unintended link with emphasis Fix word wrapping sequtils: replace deprecated 'random' call within example (#12515) [backport] Remove sentences referring to the graphics module (#12522) colors: fix 'mix' template and make most examples runnable (#12532) [backport] Remove a stray file (#12697) lib.rst: add a link for jsconsole [backport] (#13383) parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport] Joey (3): Make gdb script work on mac and linux; add windows gdb script (#13453) Fix gdb scripts (#13658) Revert –#13658 for nim-gdb.bat. Fixes #13705 (#13707) John Paul Adrian Glaubitz (1): Add build support for Linux/hppa (#12271) Juan Carlos (32): Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console (#12440) Fix #10804 (#12438) Fixes #10824 (#12437) Improve htmlgen (#12452) Add no-ident for GCC when -d:release (#12454) Fixes #8802 (#12439) [backport] Documentation Math module (#12460) Improve Math.Trunc code emit on JS, had weird whitespaces and indents (#12549) JS improve indent (#12581) Fix htmlgen html lang (#12668) [backport] Improve head comment on JS (#12548) httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207) [backport] Documentation Fix #12251 (#13226) [ci skip] Add browsers.osOpen (#12901) Documentation staticRead maximum file size limits (#13485) Nimpretty Fix negative indent breaks code (#13580) Add isValidFilename (#13561) Documentation GC (#13109) Clean 1 old deprecated empty file (#13696) Remove 2 old deprecated files (#13702) Add Base64 safe (#13672) Fix #13631 (#13789) Add Documentation (#13811) Fix a 'See XXX' on documentation, clean out (#13820) Tiny fix on browsers.openDefaultBrowser (#13818) Documentation, add more examples (#13825) Add browsers.openDefaultBrowser without URL, implements IETF RFC-6694 Section-3 (#13835) Documentation and Code Style inotify (#13836) Deprecate when declared(echo):echo (#13840) Deprecate DCE:on (#13839) Jsconsole update (#12448) Deprecate PHP (#13838) Judd (3): allow random module to be used in standalone: (#12617) introduce capture macro (#12712) update documentation for `closureScope` and `capture` (#12886) Kamanji (1): Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972) Kartik Saranathan (1): fix typo (#13660) [ci skip] Kaushal Modi (9): [backport] Add docs to better distinguish among getProjectPath, getCurrentDir and currentSourcePath (#12565) Make sequtils.zip return seq of anonymous tuples (#12575) [backport] Make all parseutils examples auto-checking (#13238) Add `sequtils.unzip` to complement `sequtils.zip` (#13429) [backport] tut1: Update the proc overloading examples (#13497) [skip ci] xmltree: Make indentation consistent with any num of children nodes (#13482) unicode.split: Fix the splitting when a Rune separator is used [backport] (#13629) Document that proc named fooTask is created for every foo task [backport] (#14187) Fail quickly if re or nre module is attempted to be compiled with js [backport] (#14341) KeepCoolWithCoolidge (1): Fixes classify function to detect subnormal floating points (#12836) Kevin (1): added cstrutils (#12858) [backport] Khronos (1): Fix vertical tab in JSON. (#13399) King Eca (1): Fixes stackoverflow links in readme (#12963) [backport] Krzysztof Majk (1): remove unused import (#12900) Lee Matos (1): Update advopt.txt to include link to nim cache docs (#13464) Leorize (5): azure-pipelines: add pipelines for linux, mac and win testament: add azure integration azure: disable failing tests gitattributes: fix tests for windows workflows/ci: disable Mamy Ratsimbazafy (2): csize_t changes: pinToCpu didn't compile (#12725) The whole options module should be inline (#14417) [backport:1.2] Manav (1): Fixed non-working examples in Manual: Exception Handling (#13424) Mark (3): deviated -> derived (#12845) [backport] deviated -> derived (#12846) [backport] Manual update: custom exceptions (#12847) [backport] Mathias Stearn (1): Explicitly state that trailing underscores are banned (#12257) Mera (1): [backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip] Milan (1): [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip] Miran (40): [backport] bundle nimpretty on Windows (#12358) [backport] fix #12418, fix `random.randomize` on JS backend (#12432) fixes #11764, faster hashing of (u)int (#12407) [backport] fix type's case in random.nim (#12445) fix deprecation warnings related to Int128 (#12474) [backport] fix #12395 (#12590) fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592) fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take (#12600) remove two asserts in int128.nim (#12648) [backport] increase the timeout for 'tasyncclosestall' (#12744) clean up deprecated stuff and unused imports in tests (#13059) System cleanup, part 1 (#13069) [backport] fix #12813, fix #13079 (#13099) System cleanup, part 2 (#13155) style fix: change 'JS' to 'js' to make it consistent (#13168) Idxmin & idxmax, continuation (#13208) [backport] -d:danger should imply -d:release (#13336) testament: introduce 'matrix' for testing multiple options (#13343) [backport] remove 'CountTable.mget' (#13355) fix #6736: templates in unittest now show actual value (#13354) fixes #3339 by documenting the limitations of case-statement (#13366) remove outplace version of 'merge' for CountTables (#13377) add ggplotnim to important_packages (#13206) add more files to the ignore list, hopefully fixes nightlies on windows (#13474) docgen: don't create compiler's docs + cleanup (#13509) important_packages: change the order of arguments in the template (#13577) fix #13531 by adding a test (#13581) fix #12508, unaligned access on sparc64 (#13594) fix #13310, Deque misbehaves on VM (#13625) rename `lenTuple` and `lenVarargs` (#13639) add `move` to `tables` to prevent warnings when compiled with `--gc:arc` (#13684) fix #13731, ambiguous repr of pointers (#13732) fix deprecations and other warnings (#13748) bump copyright year to 2020 (#13753) faster CIs (#13803) make fuzzy search a bit less fuzzy (#13996) [backport:1.2] [backport] fix #14748, move gdb files to other section of installer.ini (#14772) fix #14082, don't crash on incorrectly formatted input (#14977) [backport] fix several newline problems (#15028) [backend] asyncftpclient.nim - don't assume a sufficiend line length (#14973) Neelesh Chandola (4): Fixed objects being erroneously zeroed out before object construction (#12814) [backport] Fixes #12832 (#12842) [backport] Assigning template to var/let/const gives a proper error (#12851) Support cross compiling from host to host (#12859) Nindaleth (2): fix a few dead links and a missing sentence in documentation (#12387) fix several typos in documentation and comments (#12553) Nな人(N na hito) (1): Update LICENSE (#13421) Oscar Nihlgård (4): Fix compiler crash caused by top level return (#12501) Fix jsgen bug with uninitialized seq (#12500) [backport] Fix JS bug in std/monotimes (#12499) [backport] Fix sequtils.delete bug with out of bounds indexes (#12506) PMunch (3): Fix for 16 bit platforms (#12760) [backend] Fix AVR target to define ints properly (#12817) Add signatures object to jsondoc for routine types (#13530) Paul Tan (1): guards.nim:sameTree(): handle uint literals correctly (#12483) [backport] Pierre-Jean Grenier (1): fix httpclient.lastModified bad pattern in parsing (#12698) RSDuck (1): Fix #12785 (#12943) Ray Imber (11): Locks modules should give a compile error when threads are not enabled. (#12231) Test + fix for epoll and kqueue selector modules to properly unregister Additional fix for User key unregister in the KQueue backend lowered the number of events in the test because some CI's have an extremely low FD limit Documentation improvements around the db interface (#12362) Fix io slector unregister for windows as well. Fix drain to correctly take into account hasPendingOperations and the timeout value Remove unnecessary change to ioselectors_kqueue.nim found by @cheatfate. fixes based on code review by @dom96 Updated the changelog Update changelog.md based on feedback from Dom96 Ridho Pratama (2): Fixed sizeOf to sizeof (#12347) renderer letAux fix only for octal literal (#12343) Rory O’Kane (3): docs: say that `nil` can be used as a value (#13756) [skip ci] docs: reword Part 3 link to communicate that it exists (#13755) [ci skip] docs: make the syntax for generics easy to look up (#13754) Sam Wang (1): Added fix for handling TaintedStrings in streams and httpclient (#12969) Siegfried Ehret (1): Fix typo (#13015) [backport] Simon Krauter (1): parsecfg: retain CRLF line breaks, fixes #12970 (#12971) Solitude (1): Fix code style errors (#12545) Teashrock (1): Deleted misplaced separator (#13085) [backport] Timothee Cour (124): fixes #12330 (#12331) fixes #12663 staticRead now creates a dependency for rebuilds (#12731) [backport] [minor] fix doc for $(Time) (#12795) [backport] osx: support nanosecond resolution for file stat (eg getLastModificationTime) (#12794) VM: allow ptr setting ptr fields (#12825) fix json regression D20191212T144944 (#12902) [backport] allow typed/untyped in magic procs (#12911) fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport] fix #12919 tasyncclosestall flaky: Address already in use (#12934) fixes #12735 on osx, call dsymutil for debug builds (#12931) lenVarargs: number of varargs elements (#12907) [ci skip] docfix .. < => ..< (#12981) [backport] fix #12985 {.push.} now does not apply to generic instantiations (#12986) VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) [cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041) --styleCheck:hint now works (#13055) [easy] --hint:link:on now shows link cmd instead of nothing (#13056) make SuccessX show project file + output file (#13043) remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084) typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064) VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083) fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport] export normalizePathEnd (#13152) successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116) CI fix timeout error (#13134) fixes #12998 nim doc regression (#13117) followup on #10435 : should be diff, not show (#13162) refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} (#13136) fixes #13144 (#13145) times: toUnixFloat, fromUnixFloat (#13044) maybe: allows optional chaining of field access and indexing when LHS i snil (#13023) fix docs + API for fieldPairs, fields (#13189) fix #13211 relativePath("foo", ".") (#13213) new os.isRelativeTo (#13212) VM: allow overriding MaxLoopIterations without rebuilding nim (#13233) kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221) fix lots of bugs with parentDir, refs #8734 (#13236) nim dump: add libpath (#13249) contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247) refactor htmldocs; gitignore it removed unused import fix stdout(etc) for emscripten csize => csize_t for sysctl fix critical bug discovered by #11591 (#13290) [backport] miscellaneous bug fixes (#13291) CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292) refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294) build_all.sh: building csources 5X faster thanks to make -j (#13300) fix #13132 tnetdial (#13318) enable testing -d:nimHasLibFFI mode (#13091) nim secret: support linenoise when available (#13328) fix #13150 `nim doc --project` now works reliably (#13223) fix #13349 regression: isNamedTuple now works with generic tuples (#13350) replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347) fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport] miscellaneous bug fixes (part 3) (#13304) Revert "printing float values will have one more digit. (#13276) [backport]" (#13363) testament: this now works: "testament r /abspath/to/test.nim" (#13358) fix `is` with generic types; fix `genericHead(Foo[T])` (#13303) fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport] fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (#13232) fix several bugs with `repr` (#13386) remove dead code test_nimhcr_integration.(bat,sh) (#13388) fix linenoise regression (#13395) fix incorrect lenTuple implementation (#13423) [backport] pseudorandom probing for hash collision (#13418) make unzip faster: seq[i]=val can be 7X faster than seq.add(elem) (#13448) relativePath("foo", "foo") is now ".", not "" (#13452) only enable linenoise for -d:nimUseLinenoise (#13478) fix #13449 texitcode flaky on windows (#13487) fix #8312 --hints:off and --warnings:off now honored everywhere (#13489) runCI: logs now show CPU/OS/etc info to be self contained (#13486) fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") (#13467) tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots of tests (#13498) [backport] cleanup Ordinal (#13501) make CI tests faster + more precise revert changes to tests/gc/gcleak2.nim CI tests run faster: save 120s in azure machines, 335s on local OSX save another 33s of CI for tests/gc/gcleak.nim correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order remove isCmdLine; use passCmd1 properly handle note override logic/verbosity/config/cmdline using modifiedyNotes, cmdlineNotes fixes #13543 and added times.isLeapDay (#13547) fix broken nim CI, disable blscurve (#13555) fix #13528 nimgrep --word now works better with operators (#13537) make genericParams support static[T] generic params (#13433) workaround refs #13563 freebsd CI (#13564) fix hintSuccess: `out` was wrong for `nim doc` without `-o` flag (#13569) close #12704 by adding a test (tuple codegen error) (#13592) `koch --nim:pathto/nim boot` and `koch boot --hint:cc:off` now work (#13516) fixes #13558: toDateTime buggy on 29th, 30th and 31th of each month; breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565) fix #13633 fix koch boot crashing regression (#13635) azure-pipelines: use OSX 10.15 (was just enabled upstream) (#13546) fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + other fixes (#13550) fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647) fix #13524 astToStr now works inside generics (#13681) fix #11458 oswalkdir (#13689) fix #13412 nim now recompiles for stdin input; SuccessX now configurable; can show whether it recompiled (#13506) fix #13538 sigmatch errors are now sorted (#13701) [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other languages (#13642) new syntax for lvalue references: `var b {.byaddr.} = expr` (#13508) fix #13737 (#13738) distinctBase overload for values (#13746) [CI] fix recent freebsd systematic failure (#13788) fix #13730 (#13787) fix #13794 HashSet leak (#13800) stacktraces can now show custom runtime msgs per frame (#13351) refs #13797 (#13812) fix #13829 (#13831) fix open file leak when running --debugger:native (#13832) make `usage of foo is a user-defined error` more informative (#13833) fix last remaining warning when building nim (`intVal should be Int128`) + minor cleanups (#13841) std/byaddr => std/decls (#13847) move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850) fix https://github.com/timotheecour/Nim/issues/88 (#13865) [backport:1.2] openDefaultBrowser now works on OSX (#13892) [backport] fix #13902 distinct uint64 type corruption on 32-bit with borrow (#13907) [backport:1.2] backport nimExe from #13876 (#14024) fix https://github.com/nim-lang/RFCs/issues/211: `var a: DateTime` compiles and is usable (#14002) [backport:1.2] [ci skip] changelog conflicts are a thing of the past (#14098) fix nim CI; fix local testament (#14102) fix #14132 dsymutil should not be called on static libraries (#14133) [backport:1.2] fix a critical bug in windows.osproc leading to resource leaks and blocking IO [backport] (#14296) fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set (#14277) Tomohiro (12): Fix how `relativePath` handle case sensitiviy (#12312) [backport] On windows, os.relativePath returns path as is when roots are different (#12329) Fix vcc linker option name (#12422) Fix Nim specify wrong option to vccexe when vcc.options.always is set (#12490) [backport] Add /nologo option when nim call cl.exe (#12524) [feature]strformat: add 2 'fmt' macros that use specified characters instead of '{}' (#11748) Add a changelog entry related to PR #11748 [ci skip] (#12541) Fixes #12536 (#12568) [backport] Fixes #12734 (#12784) Fix error check code in osproc (#13090) [backport] Fix typo in doc/destructors.rst (#13148) Add sideEffect pragma to importC procs in posix, winlean and time module (#13370) Tor Arvid Lund (1): [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip] UNIcodeX (1): [backport] Clarifies experimental / parallel example on manual.rst (#12472) Varriount (1): fix nightlies builds on Windows (#13587) Volodymyr Lashko (1): Fix crash in terminate handler (#12572) [backport] Yanis Zafirópulos (1): added support for openArray's for `gcd` and `lcm` (#12621) Yuriy Glukhov (1): Fixed yield in nkCheckedFieldExpr (#12429) [backport] Zahary Karadjov (19): First steps, the compiler can boot with enforced requiresInit More sophistication; Allow requiresInit to be specified per-field Don't allow 'var x: T' for objects that require initialization Plug another hole: default(T) forbidden for objects requiring initialization Enable the requiresInit checks only for objects Fix tests/notnil/tnotnil_in_objconstr.nim Turn the warning for uninitialized (result) variables into errors not nil types are illegal to construct through default(T) Hrm, the new errors highlighted some code that seems to be broken More precise error messages for uninitialized fields in the presence of inheritance Perform nil checks during object construction and within compiles() Close https://github.com/nim-lang/Nim/issues/11428 Fix https://github.com/nim-lang/Nim/issues/4907 Fix a CI failure during koch doc Fix tests/parallel/tguard2.nim Replace tfHasRequiresInit with a more accurate mechanism Turn some of the errors back into warnings The raises list can now use expressions referencing the generic params Fix tests/types/tparameterizedparent0 Zed (2): Implement file streaming for httpclient's MultipartData (#12982) Fix asynchttpserver newline breaking content-length (#14565) [backport] aguspiza (1): SSL_CTX_load_verify_locations parameters are reversed (#14815) [backport] alaviss (31): nimsuggest: fix tcp socket leak (#12377) [backport] nimsuggest: fix tcp socket leak for epc backend (#12384) [backport] nimsuggest: add option to force finding the project file (#12409) nimsuggest: add a command that returns the project file (#12411) compiler/options: improve project file detection (#12404) compiler/options: only check the last folder for a candidate (#12421) compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484) compiler/semtypes: improve lineinfo for exported object fields (#12495) compiler/suggest: add variable support to `con` (#12569) compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199) Unexport even more symbols (#13214) testament/azure: major rewrite (#13246) koch: enable checks in the compiler when running CI (#13323) manual: documents changes regarding dynlib (#13425) nimsuggest: don't add CRLF to replies (#13545) Revert "nimsuggest: don't add CRLF to replies (#13545)" (#13597) azure-pipelines: walkaround issues with triggers (#13657) .github/workflows: new CI pipeline (#13656) httpcore: deprecate `==`(string, HttpCode) (#13682) asyncdispatch: fix erroneous set construction (#13765) ssl_certs: add Haiku support (#13761) More fixes for Haiku (#13774) workflows/ci_docs: lots of goodies (#13809) workflows/ci_docs: fix documentation deployment (#13819) asyncdispatch: export Callback (#14042) [backport] tools/finish: don't quote path with space (#14058) [backport] testament: don't rely on Nim source structure [backport:1.2] (#14077) testament: don't try to test nimgrep if it's not there [backport:1.2] (#14085) net: remove more erroneous set constructions (#14252) [backport] encodings: use only one iconv definition [backport:1.2] (#14741) posix_other: add define to force time_t to 64 bit [backport] (#14753) awr1 (1): [backport] Mention "lambdas" and `=>` in the manual (#12397) [ci skip] b3liever (3): Version of trimZeros without temp strings (#12633) add collect macro (#12708) basename supports pragmaexpr (#13045) c-blake (4): Discussion both in (#12678) Unwind just the "pseudorandom probing" part of recent sets,tables changes (#13816) Fulfill https://github.com/nim-lang/Nim/pull/14995#issuecomment-664914391 (#15104) Attempt to explain better why delImplIdx is the way it is. Maybe this can (#15108) chr v1.x (1): [backport] documentation: Add channels examples (#13202) [ci skip] cooldome (50): External file compilation improvement (#12380) fixes #5050; fixes #11826 (#12606) [backport] fix compilation warning (#12618) Fix external file recompilation (#12802) fixes #12804 (#12809) fixes #12783 [backport] (#12810) fixes #12821 (#12822) fixes #12820 (#12828) fixes #12827 (#12829) [backport] invoke createTypeBoundOps for constructors (#12878) fixes #12882 (#12889) Better clang_cl support (#12896) Fixes #12883 (#12894) NaN floatFormat with clang_cl (#12910) fixes #12945 (#12959) fixes #12989 (#12992) Sink to MemMove optimization in injectdestructors (#13002) remove default argument for readLines (#12807) [backport] Fixes #13026 (#13028) fixes #13013, reverts previous changes to readLines() (#13036) [backport] distinctBase type trait for distinct types (#13031) pass platform argument only if vccexe is used (#13078) Working towards arc codegen (#13153) fixes #13095 (#13181) make sink operator optional (#13068) more on arc codegen (#13178) fixes #13195 (#13198) fixes #13281 (#13282) unittest add resetOutputFormatters proc (#13267) nimv2 widestring indexing (#13279) Repr v2 progress (#13268) fixes #13368 (#13397) stdlib/system: add sink and move (#13283) fixes #12627 (#13521) EndsInNoReturn in expressions extension, fixes #13490 (#13520) make it possible to pass linker options for vcc (#13535) [backport] fixes #12747 [backport] (#13651) Fixes #13659 (#13674) Attempt to finish off araq cpp exceptions (#13695) fixes #13708 (#13711) fixes #13744 (#13749) Continue bool conversion fixing (#13751) make nim_temp compile with --gc:arc --sinkInference:off (#13769) fixes #13810 (#13821) fix #13909 (#13914) [backport:1.2] fixes #14003 (#14006) [backport:1.2] fix #14007 (#14012) [backport] Implements RFCs #209 (#13995) fix #14219 (#14225) fix odbc regressions (#15009) [backport] ducdetronquito (1): Namespace unittest enums to avoid name conflicts (#12468) [backport] ee7 (1): [backport] Docs: Fix broken `code-block` (#14749) flywind (2): fix error in assertions document (#12925) [backport] fix asynchttpserver content-length header (#13846) genotrance (13): Fixes #12286 - require explicit disabling of boehm interior pointer checking (#12406) [backport] Switch mingw links (#12561) Substitute $nimbleDir in --path flags (#12750) Fixes #12767 (#12768) Path substitution for --out and --outdir (#12796) Fix single match output (#12920) Fix #10717, fix #13284 (#13307) Fix #8648 - use parent streams to avoid hang (#13445) Fix docgen snippet numbering (#13507) Revert "Support cross compiling from host to host (#12859)" (#13591) Fix #12676 (#13634) Improve #12920 fix (#13958) Fix #14057 - moveFile should overwrite on Windows (#14433) hlaaftana (11): Sets need copying in JS (#11392) Remove name attribute from docutils.nimble (#13239) Fixes asyncftpclient multiline reading, fixes #4684 (#13242) Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258) Clearer final objects error; fixes #13256 (#13257) Consider proc as a pointer type in options (#13460) Remove genToArray in jsgen, a PHP remnant (#13466) Minor doc change in macros, future -> sugar (#13475) [ci skip] Document import/include outside of top level semantics (#13548) fix #13409: Document as infix operator (#13570) small docs fix in typetraits (#14108) itsumura-h (2): fix db_mysql getRow() when column is null error raised (#12806) [backport] fix #7241 (#13779) jiro (1): Add `or detectOs(Manjaro)` (#12587) [backport] kraptor (1): Fix reference to parseSpec proc in readme (#12359) lbartoletti (1): Add arm/arm64 for FreeBSD (#13822) loloiccl (1): Modify the test command for nimly (nimble-package) (#13053) narimiran (50): devel version is 1.0.99 [ci skip] Nim now has Patreon account [ci skip] [backport] fix #12278, don't expose internal PCRE documentation [backport] fix nimpretty removing space before pragma [backport] run nimpretty on async [backport] run nimpretty on numbers stuff [backport] run nimpretty on parsers [backport] run nimpretty on hashes [backport] run nimpretty on web stuff [backport] run nimpretty on string stuff [backport] run nimpretty on os-related stuff [backport] run nimpretty on the remaining files test more packages [ci skip] disable two packages until #11764 is merged Revert "[ci skip] disable two packages until #11764 is merged" [backport] package chronos now has dependencies disable flaky test on OSX add changelog for v1.0.2 disable package 'chronos' for now NimPatch of devel version should be an odd number because of the earlier hacks remove unused imports remove unused imports from tests [backport] rewrite flaky runnable example [backport] print more information for the previous commit fix failing test remove long-deprecated 'mapIt' a better way to test Arraymancer Revert "ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data" move entries from the wrong changelog file [ci skip] [backport] system/io.nim fix wrong documentation comment [ci skip] [backport] fix #13352 make devel green again: tnetdial still doesn't work on Travis [ci skip] important_packages: change the order in commented out packages too travis now only builds devel docs [ci skip] add back unintentionally removed line create a changelog for v1.2.0 bump Nim version to 1.2.0 bump Nim version to 1.2.1 package 'inim' now has dependencies use the same Azure Pipelines workflow as current devel disable the new fragile test in 'tosproc.nim' install gtk3 on osx for package testing correctly backport #14496 disable 'nimx' package, see PR #14293 bump Nim version to 1.2.2 bump NimVersion to 1.2.3 update test command for 'norm' package bump NimVersion to 1.2.4 bump NimVersion to 1.2.5 bump NimVersion to 1.2.6 perter lee (1): fix the ftp store function read the local file bug (#13108) [backport] pietroppeter (1): [doc/tut1] removed discard discussion in comments (#12352) pyloor (1): adding sqlite3 backup functions (#13346) rockcavera (1): fix #12988 (#13022) slangmgh (3): Fixes #13186 (#13188) Fix #14151 (#14205) [backport] Fix #14289 (#14304) [backport] solo989 (1): Update pegs.nim to work at compiletime. No range errors. (#13459) supakeen (1): Add isNil check to custom Content-Length. (#13867) [backport:1.2] tauplus (2): Fix wrong section hierarchy in the manual (#12724) [backport] fix typo in the manual (#12723) treeform (6): Fix -d:logGC compile cerror: 'stdout not defined' (#12237) Easier build instructions for windows - just run `build_all.bat`. (#12276) About 50% faster base64 implemention. (#12436) Remove some unused/disabled OpenSSL functions (#13106) Expose more openSSL methods. (#13131) Add more JS stuff to dom.nim (#13483) whiterock (1): added note to re constructor regarding performance (#13224) zah (4): macros.newLit now works for ref object types (#12307) `system.writeFile` has been overloaded to also support `openarray[byte]` (#12313) Fix newLit for objects having string fields (#12542) [backport] Fix typeSym.getImpl for ref types (#13752) Ștefan Talpalaru (4): generic stack trace overriding mechanism (#12922) c_fflush() the rawWrite() buffer (#12987) isolate the build process from external config files (#13411) fix #14364 (#14372) [backport:1.2] めぐみ発動機 (isVowel / GreenWing) (1): fixed to jsonArrayEnd comment. (#13624) --- Makefile | 2 +- nim.spec | 59 ++++++++++++++++++++++++++++++++++++---------------- options.conf | 2 +- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 46 insertions(+), 23 deletions(-) diff --git a/Makefile b/Makefile index 06b4f2e..1687b87 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := nim -URL = https://nim-lang.org/download/nim-1.0.0.tar.xz +URL = https://nim-lang.org/download/nim-1.2.6.tar.xz ARCHIVES = include ../common/Makefile.common diff --git a/nim.spec b/nim.spec index bdab47e..0d34743 100644 --- a/nim.spec +++ b/nim.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : nim -Version : 1.0.0 -Release : 3 -URL : https://nim-lang.org/download/nim-1.0.0.tar.xz -Source0 : https://nim-lang.org/download/nim-1.0.0.tar.xz +Version : 1.2.6 +Release : 4 +URL : https://nim-lang.org/download/nim-1.2.6.tar.xz +Source0 : https://nim-lang.org/download/nim-1.2.6.tar.xz Summary : No detailed summary available Group : Development/Tools License : BSD-2-Clause BSD-3-Clause MIT @@ -48,8 +48,8 @@ license components for the nim package. %prep -%setup -q -n nim-1.0.0 -cd %{_builddir}/nim-1.0.0 +%setup -q -n nim-1.2.6 +cd %{_builddir}/nim-1.2.6 %patch1 -p1 %patch2 -p1 @@ -58,7 +58,7 @@ export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1589824900 +export SOURCE_DATE_EPOCH=1601916387 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -71,12 +71,12 @@ make %{?_smp_mflags} -f build.mk %install -export SOURCE_DATE_EPOCH=1589824900 +export SOURCE_DATE_EPOCH=1601916387 rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/nim -cp %{_builddir}/nim-1.0.0/copying.txt %{buildroot}/usr/share/package-licenses/nim/1e01035cf0b9fd00719676ec8841b53e7286660c -cp %{_builddir}/nim-1.0.0/dist/nimble/license.txt %{buildroot}/usr/share/package-licenses/nim/22ff85e051d41d7e1171a0c0080bb51df080f326 -cp %{_builddir}/nim-1.0.0/lib/wrappers/linenoise/LICENSE.txt %{buildroot}/usr/share/package-licenses/nim/3bd655bcdbe6f4f14e9da385f1953c50dd89ea8e +cp %{_builddir}/nim-1.2.6/copying.txt %{buildroot}/usr/share/package-licenses/nim/541e8c63af74be0e66873b8beb26bdf8118a31f5 +cp %{_builddir}/nim-1.2.6/dist/nimble/license.txt %{buildroot}/usr/share/package-licenses/nim/22ff85e051d41d7e1171a0c0080bb51df080f326 +cp %{_builddir}/nim-1.2.6/lib/wrappers/linenoise/LICENSE.txt %{buildroot}/usr/share/package-licenses/nim/3bd655bcdbe6f4f14e9da385f1953c50dd89ea8e make -f build.mk install DESTDIR=%{buildroot} ## install_append content mkdir -p %{buildroot}/usr/share/defaults/nim @@ -87,15 +87,11 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ %defattr(-,root,root,-) /usr/lib/nim/arch/x86/amd64.S /usr/lib/nim/arch/x86/i386.S -/usr/lib/nim/core/allocators.nim /usr/lib/nim/core/hotcodereloading.nim /usr/lib/nim/core/locks.nim /usr/lib/nim/core/macrocache.nim /usr/lib/nim/core/macros.nim /usr/lib/nim/core/rlocks.nim -/usr/lib/nim/core/runtime_v2.nim -/usr/lib/nim/core/seqs.nim -/usr/lib/nim/core/strs.nim /usr/lib/nim/core/typeinfo.nim /usr/lib/nim/cycle.h /usr/lib/nim/deprecated/pure/LockFreeHash.nim @@ -115,8 +111,6 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/impure/db_sqlite.nim /usr/lib/nim/impure/nre.nim /usr/lib/nim/impure/nre/private/util.nim -/usr/lib/nim/impure/osinfo_posix.nim -/usr/lib/nim/impure/osinfo_win.nim /usr/lib/nim/impure/rdstdin.nim /usr/lib/nim/impure/re.nim /usr/lib/nim/js/asyncjs.nim @@ -145,6 +139,7 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/posix/posix_macos_amd64.nim /usr/lib/nim/posix/posix_nintendoswitch.nim /usr/lib/nim/posix/posix_nintendoswitch_consts.nim +/usr/lib/nim/posix/posix_openbsd_amd64.nim /usr/lib/nim/posix/posix_other.nim /usr/lib/nim/posix/posix_other_consts.nim /usr/lib/nim/posix/posix_utils.nim @@ -203,6 +198,7 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/pure/htmlparser.nim /usr/lib/nim/pure/httpclient.nim /usr/lib/nim/pure/httpcore.nim +/usr/lib/nim/pure/includes/decode_helpers.nim /usr/lib/nim/pure/includes/osenv.nim /usr/lib/nim/pure/includes/oserr.nim /usr/lib/nim/pure/includes/osseps.nim @@ -249,6 +245,7 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/pure/selectors.nim /usr/lib/nim/pure/smtp.nim /usr/lib/nim/pure/smtp.nim.cfg +/usr/lib/nim/pure/ssl_certs.nim /usr/lib/nim/pure/stats.nim /usr/lib/nim/pure/streams.nim /usr/lib/nim/pure/strformat.nim @@ -269,30 +266,43 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/pure/volatile.nim /usr/lib/nim/pure/xmlparser.nim /usr/lib/nim/pure/xmltree.nim +/usr/lib/nim/std/compilesettings.nim +/usr/lib/nim/std/decls.nim /usr/lib/nim/std/editdistance.nim +/usr/lib/nim/std/logic.nim /usr/lib/nim/std/monotimes.nim +/usr/lib/nim/std/private/underscored_calls.nim /usr/lib/nim/std/sha1.nim +/usr/lib/nim/std/stackframes.nim /usr/lib/nim/std/sums.nim /usr/lib/nim/std/time_t.nim /usr/lib/nim/std/varints.nim +/usr/lib/nim/std/with.nim /usr/lib/nim/std/wordwrap.nim +/usr/lib/nim/std/wrapnils.nim /usr/lib/nim/stdlib.nimble /usr/lib/nim/system.nim /usr/lib/nim/system/alloc.nim /usr/lib/nim/system/ansi_c.nim /usr/lib/nim/system/arithm.nim +/usr/lib/nim/system/arithmetics.nim /usr/lib/nim/system/assertions.nim /usr/lib/nim/system/assign.nim /usr/lib/nim/system/atomics.nim /usr/lib/nim/system/avltree.nim +/usr/lib/nim/system/basic_types.nim /usr/lib/nim/system/cellsets.nim /usr/lib/nim/system/cgprocs.nim /usr/lib/nim/system/channels.nim /usr/lib/nim/system/chcks.nim +/usr/lib/nim/system/comparisons.nim +/usr/lib/nim/system/cyclebreaker.nim +/usr/lib/nim/system/cyclicrefs_v2.nim /usr/lib/nim/system/deepcopy.nim /usr/lib/nim/system/dollars.nim /usr/lib/nim/system/dyncalls.nim /usr/lib/nim/system/embedded.nim +/usr/lib/nim/system/exceptions.nim /usr/lib/nim/system/excpt.nim /usr/lib/nim/system/fatal.nim /usr/lib/nim/system/formatfloat.nim @@ -300,25 +310,38 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ /usr/lib/nim/system/gc2.nim /usr/lib/nim/system/gc_common.nim /usr/lib/nim/system/gc_hooks.nim +/usr/lib/nim/system/gc_interface.nim /usr/lib/nim/system/gc_ms.nim /usr/lib/nim/system/gc_regions.nim /usr/lib/nim/system/hti.nim /usr/lib/nim/system/inclrtl.nim /usr/lib/nim/system/indexerrors.nim +/usr/lib/nim/system/integerops.nim /usr/lib/nim/system/io.nim /usr/lib/nim/system/iterators.nim +/usr/lib/nim/system/iterators_1.nim /usr/lib/nim/system/jssys.nim +/usr/lib/nim/system/memalloc.nim /usr/lib/nim/system/memory.nim /usr/lib/nim/system/memtracker.nim +/usr/lib/nim/system/mm/boehm.nim +/usr/lib/nim/system/mm/go.nim +/usr/lib/nim/system/mm/malloc.nim +/usr/lib/nim/system/mm/none.nim /usr/lib/nim/system/mmdisp.nim /usr/lib/nim/system/nimscript.nim /usr/lib/nim/system/osalloc.nim /usr/lib/nim/system/platforms.nim /usr/lib/nim/system/profiler.nim +/usr/lib/nim/system/refs_v2.nim /usr/lib/nim/system/repr.nim +/usr/lib/nim/system/repr_v2.nim /usr/lib/nim/system/reprjs.nim +/usr/lib/nim/system/seqs_v2.nim +/usr/lib/nim/system/setops.nim /usr/lib/nim/system/sets.nim /usr/lib/nim/system/strmantle.nim +/usr/lib/nim/system/strs_v2.nim /usr/lib/nim/system/syslocks.nim /usr/lib/nim/system/sysspawn.nim /usr/lib/nim/system/sysstr.nim @@ -356,6 +379,6 @@ install config/nim.cfg %{buildroot}/usr/share/defaults/nim/ %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/nim/1e01035cf0b9fd00719676ec8841b53e7286660c /usr/share/package-licenses/nim/22ff85e051d41d7e1171a0c0080bb51df080f326 /usr/share/package-licenses/nim/3bd655bcdbe6f4f14e9da385f1953c50dd89ea8e +/usr/share/package-licenses/nim/541e8c63af74be0e66873b8beb26bdf8118a31f5 diff --git a/options.conf b/options.conf index 7c69926..be41ea7 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = nim -url = https://nim-lang.org/download/nim-1.0.0.tar.xz +url = https://nim-lang.org/download/nim-1.2.6.tar.xz archives = giturl = https://github.com/nim-lang/Nim.git domain = diff --git a/release b/release index 00750ed..b8626c4 100644 --- a/release +++ b/release @@ -1 +1 @@ -3 +4 diff --git a/upstream b/upstream index c51d3c7..6f36471 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -81d315804146e608fb9892e6af75b8cba3690481/nim-1.0.0.tar.xz +1f8718eda5a6a6954e3f5c791b1f36e9a6e19bba/nim-1.2.6.tar.xz diff --git a/versions b/versions index 3eefcb9..3c43790 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -1.0.0 +1.2.6