summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* macros: typoAndreas Rumpf2019-03-261-1/+1
|
* logging: better documentation (#10895)Jjp1372019-03-241-94/+572
|
* stats.nim: bugfix: use min in '+' [backport]Andreas Rumpf2019-03-231-1/+1
|
* improvements on the hot code reloading support (#10892)Viktor Kirilov2019-03-232-8/+15
| | | | | | | | * calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON * dynamically linking to the runtime for VS when HCR is on - binaries are smaller * compilerProcs are also called using the _actual direct version within the module they are defined (system)! * updated comments & goals * handling VS-compatible compilers on Windows in a cleaner way * now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated
* system.nim: documentation improvementsAndreas Rumpf2019-03-232-20/+22
|
* add short overview of the system module (#10883)Miran2019-03-232-24/+223
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-233-9/+27
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* Add OpenMP overload with stepping (#10891)Mamy Ratsimbazafy2019-03-221-0/+18
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2019-03-216-12/+22
|\
| * use abort instead of quit (#10872)Arne Döring2019-03-212-5/+9
| |
| * improve docs for os.joinPath, fixes #10836 (#10866)Miran2019-03-201-2/+7
| |
| * live with the hacks, PCRE's design is crapAraq2019-03-193-5/+6
| |
* | fixes -d:nimTypeNames leak detection regressionAndreas Rumpf2019-03-211-4/+4
|/
* pcre.nim: added pcre_free and removed hacks in nre and re.nimAndreas Rumpf2019-03-193-6/+5
|
* sizeof alignof offsetof macros api (#10855)Arne Döring2019-03-191-0/+12
|
* correct argument name, (#10813)Anthon van der Neut2019-03-181-1/+2
| | | | | | | | | | * correct argument name, updated using poUsePath, based on feedback from c-blake * Update osproc.nim * explicit args parameter
* Detect local "primary" IP addressFederico Ceratto2019-03-171-0/+20
|
* make DLLs tests green againAndreas Rumpf2019-03-151-1/+1
|
* fixes #10845Andreas Rumpf2019-03-151-15/+20
|
* rename for code clarityAndreas Rumpf2019-03-151-5/+5
|
* newruntime: make dynamic destructors compatible with C++Andreas Rumpf2019-03-151-2/+3
|
* --newruntime: progressAndreas Rumpf2019-03-1411-87/+83
|
* bring back `typetraits.$` for backward compatibilitynarimiran2019-03-141-0/+2
| | | | | Some packages are still using ``from typetraits import `$` `` which is now available from system (no need to import it).
* Revert "put extracted modules behind the switch, to enable doc generation"narimiran2019-03-146-17/+11
| | | | This reverts commit 71bff7d2df428896d3395d18b09c6f0c9c2fea4d.
* put extracted modules behind the switch, to enable doc generationnarimiran2019-03-146-11/+17
|
* --newruntime: work in progressAndreas Rumpf2019-03-145-113/+198
|
* gc: removed dead codeAndreas Rumpf2019-03-142-6/+0
|
* seqs.nim: added a remark about C++ optimizersAndreas Rumpf2019-03-141-0/+8
|
* move system.dollars in a separate file (#10829)Miran2019-03-137-209/+222
|
* Make HWND a pointer instead of a cint and fix MSVC compiler warning (#10789)Bogdan2019-03-132-3/+3
| | | In Windows, a HWND is a HANDLE which is a PVOID so a pointer in Nim
* bitops: add reverseBits and test (#10835)Tomohiro2019-03-131-0/+45
|
* Merge pull request #10823 from narimiran/json-tuplesDominik Picheta2019-03-111-13/+7
|\ | | | | simplify json.% for tuples and objects
| * simplify json.% for tuples and objectsnarimiran2019-03-111-13/+7
| |
* | Less warnings in macros (#10799)Arne Döring2019-03-112-20/+34
|/
* system: some documentation improvements (#10809)Miran2019-03-115-813/+1405
|
* Revert "Follow the documentation's recommendation (#10808)"narimiran2019-03-101-2/+1
| | | | This reverts commit 1a13b3a14eafc35615c7e9f1b72b3ab646fa7550.
* Don't include the nimhcr dev docs in the system module documentation (#10759)zah2019-03-082-182/+180
|
* documentation style tweaks (#10790)Miran2019-03-081-4/+4
| | | | | | | * exports are the least important field in the docs: they are put in the last place (at the bottom) * indent text after proc/type declaration for an easier navigation (noticeable difference between declarations and examples) * quickfix invalid style in `asynchttpserver`
* Follow the documentation's recommendation (#10808)Anthon van der Neut2019-03-081-1/+2
| | | | The doc states "Make sure to pass options explicitly.", but the example didn't. Since constructing a string for the shell with appropriate quotes is non-trivial, the first example should be how to use `execProcess` including `args`
* move assertions and iterators out of system.nim (#10597)Miran2019-03-074-423/+444
| | | | | * move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions
* fixes #10795Andreas Rumpf2019-03-061-5/+5
|
* Merge pull request #10787 from silent-observer/patch-1Dominik Picheta2019-03-051-1/+1
|\ | | | | Remove var
| * Remove varsilent-observer2019-03-051-1/+1
| | | | | | Shouldn't testing bit require only immutable access? I think this is a typo
* | fixes a critical GC safety inference bug (#10615)Andreas Rumpf2019-03-051-2/+2
|/ | | | | | * fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again
* stdlib: use system.default if it existsAndreas Rumpf2019-03-052-12/+10
|
* added system.default in order to prevent the abstraction inversion that ↵Andreas Rumpf2019-03-051-0/+4
| | | | 'template default(T): untyped = (var x: T; x)' causes
* make exception handling use owned refsAndreas Rumpf2019-03-051-5/+13
|
* attempt to make the CIs happy by using the older syntaxAndreas Rumpf2019-03-041-1/+1
|
* special typing rules for owned pointersAndreas Rumpf2019-03-041-15/+35
|
* code cleanup: there is no MoveError and sinks are always availableAndreas Rumpf2019-03-042-32/+16
|