summary refs log tree commit diff stats
path: root/lib/pure/browsers.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix some warnings (#16952)flywind2021-02-081-1/+1
|
* enforce browsers.nim only handles URLs [backport] (#15045)Andreas Rumpf2020-07-231-4/+10
|
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-021-1/+2
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* openDefaultBrowser now works on OSX (#13892) [backport]Timothee Cour2020-04-061-2/+2
|
* Add browsers.openDefaultBrowser without URL, implements IETF RFC-6694 ↵Juan Carlos2020-04-011-14/+38
| | | | Section-3 (#13835)
* Tiny fix on browsers.openDefaultBrowser (#13818)Juan Carlos2020-03-311-1/+3
|
* Add Documentation (#13811)Juan Carlos2020-03-311-0/+3
| | | | * Add more Docs and runnableExamples
* Add browsers.osOpen (#12901)Juan Carlos2020-02-151-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add osOpen alias for the operating system specific open command * Add `--git.devel` option to the documentation remove unused import (#12900) fix json regression D20191212T144944 (#12902) [backport] Peer Review Feedback https://github.com/nim-lang/Nim/pull/12901#issuecomment-565851680 Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen Peer Review Feedback https://github.com/nim-lang/Nim/pull/12901#issuecomment-565851680 Update lib/pure/browsers.nim Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com> Peer Review Feedback https://github.com/nim-lang/Nim/pull/12901#discussion_r358492316 allow typed/untyped in magic procs (#12911) NaN floatFormat with clang_cl (#12910) * clang_cl nan floatFormat * format add $nimeq for gdb (#12909) ARC: cycle detector (#12823) * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish Cleanup leftovers of #12911(#12916) Fix single match output (#12920) fixes #12899 (#12921) * fixes #12899 * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it Implement NixOS distro check (#12914) Better case coverage error message for alias and range enum (#12913) fix error in assertions document (#12925) [backport] fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport] fix #12919 tasyncclosestall flaky: Address already in use (#12934) system.reset is no longer magic (#12937) It has now means setting x to default for new and old runtime alike Fix #12785 (#12943) * Fix #12785 and add test * better variable name update documentation for `closureScope` and `capture` (#12886) fixes #12735 on osx, call dsymutil for debug builds (#12931) * fix #12735 osx: dsymutil needs to be called for debug builds * also write dsymutil command to extraCmds in json build file Auto-initialize deques (#12879) case coverage error message for `char` (#12948) lenVarargs: number of varargs elements (#12907) 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 #12945 (#12959) minor refactorings Fixes stackoverflow links in readme (#12963) [backport] Allow customize Host header [ci skip] docfix .. < => ..< (#12981) [backport] parsecfg: retain CRLF line breaks, fixes #12970 (#12971) generic stack trace overriding mechanism (#12922) * libbacktrace support * switch to a generic stack trace overriding mechanism When "nimStackTraceOverride" is defined, once of the imported modules can register its own procedure to replace the default stack trace generation by calling `registerStackTraceOverride(myOwnProc)`. Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace` for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim` for an external program. * make the StackTraceOverrideProc {.noinline.} Added fix for handling TaintedStrings in streams and httpclient (#12969) * Added fix for taint mode in streams and httpclient * Removed taintMode export from system.nim Check pqntuples > 0 in getValue. Fixes #12973 (#12974) c_fflush() the rawWrite() buffer (#12987) Stack traces on an unbuffered stderr get out of sync with line-buffered stdout - usually on Windows terminals or CI logs. This fixes it by calling C's fflush() on the output buffer in the procedure used for printing stack traces. fixes #12989 Revert "fixes #12989" This reverts commit 928c2fee06bd11a0901c5f563b4953788be76ae6. fixes #12965 (#12991) fixes #12989 (#12992) * fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5. fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport] --exception:goto switch for deterministic exception handling (#12977) This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented. fix #12985 {.push.} now does not apply to generic instantiations (#12986) Sink to MemMove optimization in injectdestructors (#13002) remove default argument for readLines (#12807) [backport] fixes #12978 (#13012) Fix typo (#13015) [backport] fixes #12961 (#13019) fixes #12956 (#13020) fix #12988 (#13022) fix #12988 Fixes #13026 (#13028) fixes #12964 (#13027) fixes #13032 VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) * VM: allow certain hardcoded special var variables at CT * VM: allow all importc var, cast[int](ptr) * fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim * VM: == works for ptr/pointer nodes * bugfix: ==, cast now also works for pointer, not just ptr * VM supports cast PtrLikeKinds <=> PtrLikeKinds / int * improve cname handling * fixup + bug fix * VM: support cast from ref to int * address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI * defensive check against typ == nil fix enumtostr crash for enum-range (#13035) fixes #13013, reverts previous changes to readLines() (#13036) [backport] * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15. reprjs: style changes fixes #12996 Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972) * [FEATURE] rst parser respect :start-after: in include Rst parser now respects `:start-after:` and `:end-before:` attributes for `include` directive. * [DOC] include directive parsing proc update * [TEST] Added unit tests for include rst directive in `rst` module Allow `-o` option for `buildIndex` (#13037) [backport] Addressing #12771 This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue. [cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041) * remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits * D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts` Continue #13002 (#13021) testament/important_packages dont run hts (#13052) Modify the test command for nimly (nimble-package) (#13053) clean up deprecated stuff and unused imports in tests (#13059) --styleCheck:hint now works (#13055) [easy] --hint:link:on now shows link cmd instead of nothing (#13056) * --hint:link:on now shows link cmd instead of nothing * update doc for --listCmd add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060) basename supports pragmaexpr (#13045) * basename supports pragmaexpr * update changelog distinctBase type trait for distinct types (#13031) make SuccessX show project file + output file (#13043) * make SuccessX show project file + output file * address comments * fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used * address comments move entries from the wrong changelog file [ci skip] fix crash due to errant symbols in nim.cfg (#13073) [backport] Deleted misplaced separator (#13085) [backport] Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted. take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077) remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084) * cleanup deprecations in evalffi + elsewhere * remove dead code getOrdValue64 Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089) Fix error check code in osproc (#13090) [backport] fixes #13072; no test case because it will be added later with more exception handling related bugfixes fixes #13070 typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064) [backport] system/io.nim fix wrong documentation comment [ci skip] fixes an asyncftpclient bug; refs #13096 [backport] System cleanup, part 1 (#13069) * system.nim: mark what every .pop does * system.nim: un-nest when statements [backport] fix #12813, fix #13079 (#13099) Correctly remove a key from CountTable when it is set to zero. more arc features (#13098) * config update * ARC now supports 'repr' and 'new' with finalizers is supported Remove some unused/disabled OpenSSL functions (#13106) Add link to posix_utils.html in posix.nim (#13111) VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083) fix the ftp store function read the local file bug (#13108) [backport] * Update asyncftpclient.nim When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise. * complelete the bugfix fix rtti sizeof for varargs in global scope (#13125) [backport] fixes #13122 (#13126) * fixes #13122 * moved tests to where they belong fixes #13112 (#13127) * improve line error information * fixes #13112 Expose more openSSL methods. (#13131) fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport] * fix #13100 nim doc now treats `export localSymbol` correctly * use owner instead fixes #13119 (#13128) * fixes #13119 * fixes a regression fixes #13105 (#13138) fixes #10665 (#13141) [backport] pass platform argument only if vccexe is used (#13078) * pass platform only if vccexe is used * fixes #12297 fixes #13104 [backport] (#13142) fixes #9674 [backport] (#13143) Fix typo in doc/destructors.rst (#13148) Added 'ansic' os support for minimal (embedded) targets (#13088) * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application. System cleanup, part 2 (#13155) * create basic_types, arithmetics, exceptions, comparisons * create setops.nim * create memalloc.nim * create gc_interface.nim * create iterators_1.nim export normalizePathEnd (#13152) successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116) * successX now correctly shows html output for nim doc * fixes #13121 * fixup hintSuccessX to be less weird ARC: misc bugfixes (#13156) * fixes #13102 * closes #13149 * ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing) * proper fix; fixes #12957 * fixes yet another case object '=' code generation problem CI fix timeout error (#13134) Remove obsolete code from osalloc (#13158) style fix: change 'JS' to 'js' to make it consistent (#13168) Working towards arc codegen (#13153) fixes #13029 fixes #12998 nim doc regression (#13117) fix tsizeof3 for aarch64 (#13169) Cleanup DFA (#13173) Fix docs (#13176) fixes #13095 (#13181) * fixes #13095 * fix typo make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) ARC works for async on Windows (#13179) make sink operator optional (#13068) * make sink operator optional * bug fix, add changelog entry * Trigger build * fix one regression * fix test * Trigger build * fix typos Fix docs for subdirs too (#13180) * Fix doc subdirs * Extract to helper proc, and fix on windows followup on #10435 : should be diff, not show (#13162) fixes #13157 refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} (#13136) * refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} * put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc fixes #13144 (#13145) * fixup: genscript now does not copy nimbase.h but uses -I$nim/lib times: toUnixFloat, fromUnixFloat (#13044) maybe: allows optional chaining of field access and indexing when LHS i snil (#13023) * maybe: allows optional chaining * fix tools/kochdocs.nim * improve semantics to distinguish valid from invalid values * for now, wrapnil, isValid, unwrap are not exported fix docs + API for fieldPairs, fields (#13189) more on arc codegen (#13178) * arc codegen for union type * add more tests * fix offsetof * fix tsizeof test * fix style Add link to packaging.html (#13194) Fixes #13186 (#13188) fixes #13195 revert last commit Merge branch 'devel' of https://github.com/nim-lang/Nim into devel Revert "fixes #13195" This reverts commit cd7904f2b29e623998a1d32ee726d000f56fc5ce. fixes #13110 (#13197) fixes #13195 (#13198) * fixes #13195 * extra fix * fix typo compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199) This hides most of stdlib's internal functions from resulting binaries/libraries, where they aren't needed on *nix. Static libraries are not affected by this change (visibility doesn't apply to them). fix range[enum] type conversion (#13204) [backport] Idxmin & idxmax, continuation (#13208) * Add idxmin() which returns the index of the minimum value * Add idxmax() which returns the index of the maximum value * Add tests for idxmin() * Add tests for idxmax() * Remove initialization of result = 0 * Adds overloading for arrays (no enums indexed arrays yet) * Add support for enum index arrays * Fix tests with enum * Fix tests for idxmax * Change names of the procedures to minIndex and maxIndex * address Araq's comments: - remove 'array' versions - add .since pragma - return 'int' instead of 'Natural' - add changelog entry Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com> fix #13211 relativePath("foo", ".") (#13213) fixes a critical times.nim bug reported on IRC [backport] (#13216) httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207) added note to re constructor regarding performance (#13224) Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :) [backport] Documentation Fix #12251 (#13226) [ci skip] [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip] new os.isRelativeTo (#13212) [backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip] [backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip] VM: allow overriding MaxLoopIterations without rebuilding nim (#13233) kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221) * kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes * fixup after #13212 isRelativeTo got merged fix lots of bugs with parentDir, refs #8734 (#13236) Unexport even more symbols (#13214) * system/gc: don't export markStackAndRegisters * compiler/cgen: unexport internal symbols As these functions are Nim-specific walkaround against C's optimization schemes, they don't serve any purpose being exported. * compiler/cgen: don't export global var unless marked * compiler/ccgthreadvars: don't export threadvar unless marked * tests/dll/visibility: also check for exports This ensure that these changes don't break manual exports. * compiler/cgen: hide all variables created for constants * compiler/ccgtypes: don't export RTTI variables * compiler/ccgexprs: make all complex const static * nimbase.h: fix export for windows * compiler/cgen, ccgthreadvars: export variables correctly For C/C++ variables, `extern` means that the variable is defined in an another unit. Added a new N_LIB_EXPORT_VAR to correctly export variables. Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190) * Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use allocShared0 by default. * Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc. * Removed debug printfs * Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc * More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that * Introduced realloc0 and reallocShared0, these procs are now used by strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to drop the extra header with allocation length. * Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field * Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats * *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs [backport] documentation: Add channels examples (#13202) [ci skip] [backport] Make all parseutils examples auto-checking (#13238) - Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr) Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237) * Updated 'nim for embedded systems' section to use --os:any and --gc:arc * Added section about size optimization to embedded systems Remove name attribute from docutils.nimble (#13239) Fixes asyncftpclient multiline reading, fixes #4684 (#13242) Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line. Also made it work for taint mode. Fix typo for literal `[` (#13243) The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes... Add "origin" to window.location (#13251) Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp nim dump: add libpath (#13249) contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247) testament/azure: major rewrite (#13246) This commit features a major rewrite of Azure Pipelines integration, turning the spaghetti it originally was into something maintainable. Key changes: - No longer requires a ton of hooks into testament. - Results are now cached then bulk-uploaded to prevent throttling from Azure Pipelines, avoiding costly timeouts. - A low timeout is also employed to avoid inflated test time. - The integration is now documented. Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254) make goto based exceptions available for 'nim cpp' (#13244) * make goto based exceptions available for 'nim cpp' * optimize seq.add to be comparable to C++'s emplace_back ARC: remove unnecessary code ARC: optimize complete object constructors to use nimNewObjUninit make nre compile with --gc:arc Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258) * Rename isNilOrWhitespace to isEmptyOrWhitespace * Make isEmptyOrWhitespace use allCharsInSet(Whitespace) Clearer final objects error; fixes #13256 (#13257) scrollTop must be settable (#13263) * scrollTop must be assignable Make scrollTop settable * add missing export fixes #13219 (#13272) fixes #13281 (#13282) * fixes ##13281 * add comment to test unittest add resetOutputFormatters proc (#13267) * add resetOutputFormatters * remove space * resolve comments TlSF Alloctor: use less memory for --gc:arc (#13280) Tiny since cleanup (#13286) nimv2 widestring indexing (#13279) Repr v2 progress (#13268) * progress on repr_v2 * repr progress * add ref objects with distrinct * fix failing tests refactor htmldocs; gitignore it removed unused import fix stdout(etc) for emscripten csize => csize_t for sysctl Thread attributes should be destroyed using the pthread_attr_destroy() (#13293) On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate memory. So it is necessary to deallocate that memory by using pthread_attr_destroy. fix critical bug discovered by #11591 (#13290) [backport] miscellaneous bug fixes (#13291) * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292) * evalffi: fix case transition * evalffi: fix for windows * evallffi: `cannot import` errmsg now also shows which library it tried to import symbol from refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294) * refs #8391: fix errmsg for setCurrentDir * raiseOSError calls for copyFile * refs #8391 std/os now shows runtime context for raiseOSError exceptions build_all.sh: building csources 5X faster thanks to make -j (#13300) * build_all.sh: building csources 5X faster thanks to make -j * fix for freebsd * use OS-dependent formula to get number of logical cores * make is an optional dependency Fix capture for object types (#13315) * Fix capture for object|tuple|... types * Add test case Quote nim executable before executing. (#13316) [backport] In case nim executable is located in PATH containing spaces. fixes #13311 ReSync with devel Make build_all.sh more portable and a bit simpler (#13308) koch: enable checks in the compiler when running CI (#13323) fix #13132 tnetdial (#13318) enable testing -d:nimHasLibFFI mode (#13091) Fix #10717, fix #13284 (#13307) Fixed codegen for constant cstring with --gc:arc (#13326) * Fixed codegen for constant cstring with --gc:arc, fixes #13321 * Added test for #13321 Option to allow the request body to be processed outside the asynchttpserver library. (#13147) Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything. build_all.sh update (#13320) * Don't overload the system, don't crash when you can't determine the CPU count and don't rely on bash * Extract to variable * Limit number of spawned jobs for systems with weak IO * Use proper arithmetic braces contributing.rst: Add a special rule for 'outplace'-like features [backport] -d:danger should imply -d:release (#13336) nim secret: support linenoise when available (#13328) fix #13150 `nim doc --project` now works reliably (#13223) * fix #13150 `nim doc --project` works with duplicate names and with imports below main project file * add to help; fixup after #13212 isRelativeTo got merged * fix test tests/compilerapi/tcompilerapi.nim * remove nimblePkg field; compute on the fly instead * kochdocs: compiler docs now under compiler/ * --docRoot now has smart default: best among @pkg, @path make monotimes have zero overhead if you don't use it (#13338) [backport] fix #13349 regression: isNamedTuple now works with generic tuples (#13350) fixes #13269 (#13344) adding sqlite3 backup functions (#13346) * adding sqlite3 backup functions * changing sleep to sqlite3_sleep to prevent clashes Added a basic example how to handle a Post request. (#13339) * Added a basic example how to handle a Post request. They were also made minor cosmetic changes. * Minor fixes suggested by Yardanico * Fixed a wrong value in chunkSize constant. * Re-added the request.body for compatibility! replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347) * replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple * fix for bootstrap fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport] miscellaneous bug fixes (part 3) (#13304) * fix deprecation; fix indentation * git clone: use -q * fix Warning: pragma before generic parameter list is deprecated; fix typo * bugfix: sysTypeFromName("float64") was never cached testament: introduce 'matrix' for testing multiple options (#13343) printing float values will have one more digit. (#13276) [backport] * printing float values will have one more digit. Fixes #13196 [backport] fix #13352 [backport] remove 'CountTable.mget' (#13355) It didn't work, and it was an oversight to be included in v1.0. fix #6736: templates in unittest now show actual value (#13354) Revert "printing float values will have one more digit. (#13276) [backport]" (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe. Add sideEffect pragma to importC procs in posix, winlean and time module (#13370) * Add sideEffect pragma to procs in winlean * Add sideEffect pragma to procs in posix * Add test for #13306 * Add sideEffect pragma to procs in times * Fixes #13306 fixes #3339 by documenting the limitations of case-statement (#13366) fixes #13314 (#13372) testament: this now works: "testament r /abspath/to/test.nim" (#13358) fix `is` with generic types; fix `genericHead(Foo[T])` (#13303) * fix #9855, fix #9855, fix genericHead * render TTypeKind via toHumanStr fix #13255 (#13275) [backport] remove outplace version of 'merge' for CountTables (#13377) * remove outplace version of 'merge' for CountTables * remove 'merge' tests 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 #9634 debugging a program using execCmdEx now works * only apply EINTR to c_gets for now This reverts commit c0f5305b5a0b46983dfd27e3d77ecbf4f8744dcc. lib.rst: add a link for jsconsole [backport] (#13383) Make vccexe parse response files (#13329) expectLen now shows the length that we got (#13387) fix several bugs with `repr` (#13386) fixes #13378 [backport] (#13392) remove dead code test_nimhcr_integration.(bat,sh) (#13388) * enable test for osx: import tests/dll/nimhcr_integration * re-disable osx test fix linenoise regression (#13395) * fix nightlies linenoise regression * fix other installers Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396) This reverts commit 90491ea0a98aaca198bebf3ce99a1f86559f18ec. fixes #13368 (#13397) fix bug in int128 (#13403) isolate the build process from external config files (#13411) add ggplotnim to important_packages (#13206) Fix to asynchttpserver form data/body broken with #13147 (#13394) * Fix to asynchttpserver form data/body broken with #13147 * New implementation that use a interator instance of future streams * asynchttpserver now can handle chunks of data. Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen Squash Commits; Peer review feedbacks https://github.com/nim-lang/Nim/pull/12901#discussion_r379694384
* [backport] run nimpretty on web stuffnarimiran2019-09-301-1/+1
|
* last stdlib cleanupsAraq2019-09-211-1/+5
|
* Don't run "kde-open" and "gnome-open" under Unix (#6426)konqoro2017-11-191-13/+7
|
* Fix a few more warningsdef2015-02-171-1/+1
|
* big renameAraq2014-08-271-2/+2
|
* case consistency part 2Araq2013-12-271-3/+3
|
* Use quoteShell in stdlib, where appropriate.Michał Zieliński2013-12-111-2/+2
|
* browsers.nim compiles again on WindowsAraq2013-05-201-4/+2
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* browsers module should compile on windows againAraq2012-03-101-1/+8
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* tester checks exitcode; osproc additions; DLL fixes; taint mode fixesAraq2011-11-071-1/+1
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* sockets module completeAndreas Rumpf2010-01-131-0/+43
<dickey@invisible-island.net> 1996-09-02 19:39:24 -0400 snapshot of project "lynx", label v2_6' href='/ingrix/lynx-snapshots/commit/src/LYBookmark.c?id=e087f6d44e87f489fcb3056e86319ebba4218156'>e087f6d4
6bd78b38 ^























c3ec4181 ^
6bd78b38 ^






























































e4409c40 ^
6bd78b38 ^

c3ec4181 ^
6bd78b38 ^











































c3ec4181 ^
6bd78b38 ^




















c3ec4181 ^


6bd78b38 ^




c3ec4181 ^






6bd78b38 ^





c3ec4181 ^



6bd78b38 ^
c3ec4181 ^



6bd78b38 ^







c3ec4181 ^











6bd78b38 ^

c3ec4181 ^
6bd78b38 ^



























































c3ec4181 ^
6bd78b38 ^
c3ec4181 ^
6bd78b38 ^





















c3ec4181 ^



















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909