summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix #10717, fix #13284 (#13307)genotrance2020-02-041-4/+17
|
* enable testing -d:nimHasLibFFI mode (#13091)Timothee Cour2020-02-048-89/+103
|
* fix #13132 tnetdial (#13318)Timothee Cour2020-02-041-2/+2
|
* koch: enable checks in the compiler when running CI (#13323)alaviss2020-02-041-1/+1
|
* Make build_all.sh more portable and a bit simpler (#13308)Clyybber2020-02-031-6/+3
|
* Quote nim executable before executing. (#13316) [backport]Fredrik Høisæther Rasch2020-02-022-11/+11
| | | | | In case nim executable is located in PATH containing spaces. fixes #13311
* Fix capture for object types (#13315)Clyybber2020-02-022-3/+17
| | | | | | * Fix capture for object|tuple|... types * Add test case
* build_all.sh: building csources 5X faster thanks to make -j (#13300)Timothee Cour2020-01-311-4/+24
| | | | | | | * 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
* refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294)Timothee Cour2020-01-301-52/+51
| | | | | | | | * refs #8391: fix errmsg for setCurrentDir * raiseOSError calls for copyFile * refs #8391 std/os now shows runtime context for raiseOSError exceptions
* CT FFI: fix for windows; fix case transition; error msg shows more useful ↵Timothee Cour2020-01-301-3/+8
| | | | | | | | 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
* miscellaneous bug fixes (#13291)Timothee Cour2020-01-304-3/+12
| | | | | | | | * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace
* fix critical bug discovered by #11591 (#13290) [backport]Timothee Cour2020-01-291-1/+1
|
* Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)Hiroki Noda2020-01-292-4/+7
| | | | | 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.
* csize => csize_t for sysctlTimothee Cour2020-01-283-11/+10
|
* fix stdout(etc) for emscriptenTimothee Cour2020-01-282-6/+8
|
* removed unused importTimothee Cour2020-01-281-1/+1
|
* refactor htmldocs; gitignore itTimothee Cour2020-01-282-4/+8
|
* Repr v2 progress (#13268)cooldome2020-01-284-77/+96
| | | | | | | | | | * progress on repr_v2 * repr progress * add ref objects with distrinct * fix failing tests
* nimv2 widestring indexing (#13279)cooldome2020-01-281-2/+2
|
* Tiny since cleanup (#13286)Clyybber2020-01-284-119/+119
|
* TlSF Alloctor: use less memory for --gc:arc (#13280)Andreas Rumpf2020-01-283-80/+103
|
* unittest add resetOutputFormatters proc (#13267)cooldome2020-01-282-1/+6
| | | | | | | | * add resetOutputFormatters * remove space * resolve comments
* fixes #13281 (#13282)cooldome2020-01-282-5/+21
| | | | | | * fixes ##13281 * add comment to test
* fixes #13219 (#13272)Andreas Rumpf2020-01-271-3/+5
|
* scrollTop must be settable (#13263)Jairo2020-01-271-0/+1
| | | | | | | | * scrollTop must be assignable Make scrollTop settable * add missing export
* Clearer final objects error; fixes #13256 (#13257)hlaaftana2020-01-261-1/+2
|
* Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use ↵hlaaftana2020-01-261-10/+13
| | | | | | | | allCharsInSet (#13258) * Rename isNilOrWhitespace to isEmptyOrWhitespace * Make isEmptyOrWhitespace use allCharsInSet(Whitespace)
* make nre compile with --gc:arcAraq2020-01-261-66/+54
|
* ARC: optimize complete object constructors to use nimNewObjUninitAraq2020-01-265-12/+40
|
* ARC: remove unnecessary codeAraq2020-01-262-18/+3
|
* make goto based exceptions available for 'nim cpp' (#13244)Andreas Rumpf2020-01-2511-18/+29
| | | | | * make goto based exceptions available for 'nim cpp' * optimize seq.add to be comparable to C++'s emplace_back
* Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254)Ico Doornekamp2020-01-255-392/+416
|
* testament/azure: major rewrite (#13246)alaviss2020-01-252-77/+125
| | | | | | | | | | | 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.
* contributing docs: symbols need package prefix; changed allocStats to ↵Timothee Cour2020-01-2510-9/+23
| | | | nimAllocStats (#13247)
* nim dump: add libpath (#13249)Timothee Cour2020-01-241-0/+1
|
* Add "origin" to window.location (#13251)Jairo2020-01-241-0/+1
| | | Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
* Fix typo for literal `[` (#13243)Euan2020-01-241-1/+1
| | | 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...
* Fixes asyncftpclient multiline reading, fixes #4684 (#13242)hlaaftana2020-01-241-5/+6
| | | | | Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line. Also made it work for taint mode.
* Remove name attribute from docutils.nimble (#13239)hlaaftana2020-01-231-1/+0
|
* Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)Ico Doornekamp2020-01-231-15/+33
| | | | | | * Updated 'nim for embedded systems' section to use --os:any and --gc:arc * Added section about size optimization to embedded systems
* [backport] Make all parseutils examples auto-checking (#13238)Kaushal Modi2020-01-231-32/+25
| | | - Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
* [backport] documentation: Add channels examples (#13202) [ci skip]chr v1.x2020-01-231-0/+114
|
* Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵Ico Doornekamp2020-01-2321-311/+274
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Unexport even more symbols (#13214)alaviss2020-01-237-22/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* fix lots of bugs with parentDir, refs #8734 (#13236)Timothee Cour2020-01-232-19/+28
|
* kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; ↵Timothee Cour2020-01-233-148/+141
| | | | | | | bugfixes (#13221) * kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes * fixup after #13212 isRelativeTo got merged
* VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)Timothee Cour2020-01-236-10/+13
|
* [backport] fix #11440, add docs to isNil for seq types needing nilseq ↵D-Nice2020-01-231-0/+12
| | | | (#13234) [ci skip]
* [backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' ↵Mera2020-01-231-2/+3
| | | | (#13231) [ci skip]
* new os.isRelativeTo (#13212)Timothee Cour2020-01-233-0/+26
|