Commit Graph

15063 Commits

Author SHA1 Message Date
Araq
fda1352ccf json.nim: tiny refactoring 2019-04-01 16:24:04 +02:00
Araq
cce8d3da27 fixes #10934 2019-03-31 19:59:17 +02:00
Miran
aeb30a72c0 update unicode.nim (#10921)
* update unicode.nim

* create a script to create the needed unicode data
* make unicode.nim compatible with Unicode v12.0.0
* slightly improve unicode.nim documentation (fixes #4795)

* more documentation
2019-03-31 08:36:04 +02:00
Andreas Rumpf
aa072b9525 fixes #10930 2019-03-30 23:45:40 +01:00
Araq
caf0552573 make Boehm GC work on Windows 2019-03-30 00:56:21 +01:00
Arne Döring
00f419bcd6 remove check for better error message (#10926) 2019-03-29 20:21:28 +01:00
Andreas Rumpf
f8e720fda9 fixes json.nim regression 2019-03-29 08:01:59 +01:00
Miran
dafd995402 change the order of appveyor tests (#10920)
Testing packages sometimes randomly fails because of some
reason not connected to Nim (e.g. github is down).
Currently, that would prevent "regular" appveyor tests
from running.

Changing the order will allow "regular tests" to run
regardless of the outside problems with packages.
2019-03-28 17:18:42 +01:00
Arne Döring
e904b3f952 code cleanup (#10874) 2019-03-28 12:32:02 +01:00
Andreas Rumpf
fcd3b0c4d8 manual: prefer 'typeof(x)' over 'type(x)' 2019-03-27 15:08:32 +01:00
Andreas Rumpf
3cb645ab50 move more stuff into manual_experimental 2019-03-27 15:08:32 +01:00
Andreas Rumpf
4d0f05a98a manual.rst: move experimental features to manual_experimental 2019-03-27 15:08:32 +01:00
Miran
d74179dde3 use atomicInc/atomicDec (#10906) 2019-03-27 11:17:44 +01:00
genotrance
0378bfa402 Fix #10907 - remove unused typedef string (#10908) 2019-03-26 16:20:26 -05:00
narimiran
d9913593c1 proper fix 2019-03-26 20:26:23 +01:00
narimiran
3c4f1acf0c fix nim-chronicles test: there is a new dependency 2019-03-26 18:35:17 +01:00
Araq
3cf846e02c fixes #10904 2019-03-26 16:12:47 +01:00
narimiran
73a77e9bef disable testing of nim-chronicles until is fixed 2019-03-26 16:03:40 +01:00
Arne Döring
04f901b63b add NimFrameFilter to nim-gdb.py (#10873) 2019-03-26 13:12:39 +01:00
Andreas Rumpf
bc29094af9 fixes 'nimble install nimble' problems 2019-03-26 09:51:31 +01:00
Andreas Rumpf
802ecbc49e macros: typo 2019-03-26 09:51:31 +01:00
Andreas Rumpf
8e1c6e2e2d fixes #10896 (#10903) 2019-03-25 19:26:38 +01:00
Andreas Rumpf
663b1f2c96 newruntime: bugfixes 2019-03-25 16:45:51 +01:00
Jjp137
b0e236674c logging: better documentation (#10895) 2019-03-24 18:53:04 +01:00
Andreas Rumpf
1332f649b2 stats.nim: bugfix: use min in '+' [backport] 2019-03-23 15:09:28 +01:00
Andreas Rumpf
0cc6e12425 fixes #8202 (#10888)
* fixes #8202

* make tests green
2019-03-23 14:49:21 +01:00
Viktor Kirilov
f8146dfd84 improvements on the hot code reloading support (#10892)
* 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
2019-03-23 14:48:47 +01:00
Andreas Rumpf
0b2a3f6f7f fixes #10886 [backport] (#10897) 2019-03-23 14:44:53 +01:00
Andreas Rumpf
7c08303faf system.nim: documentation improvements 2019-03-23 10:55:26 +01:00
Miran
714c4f0d67 add short overview of the system module (#10883) 2019-03-23 08:34:59 +01:00
Andreas Rumpf
bf592c4e94 more destructor based changes (#10885)
* 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
2019-03-23 00:12:05 +01:00
Mamy Ratsimbazafy
25649616ea Add OpenMP overload with stepping (#10891) 2019-03-22 23:38:43 +01:00
Andreas Rumpf
04ad200b40 fixes #10884 (#10887) 2019-03-22 11:55:15 +01:00
Andreas Rumpf
83c105c3a3 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2019-03-21 09:34:02 +01:00
Andreas Rumpf
49c786331a fixes -d:nimTypeNames leak detection regression 2019-03-21 09:33:53 +01:00
Arne Döring
48d5e4f95c add condition for szUnknown (#10869) 2019-03-21 06:55:21 +01:00
Arne Döring
3794338aba Lineinfo fix (#10871) 2019-03-21 06:54:42 +01:00
Arne Döring
514674cb38 use abort instead of quit (#10872) 2019-03-21 06:52:30 +01:00
cooldome
28a926cb67 fixes #10861 (#10877) 2019-03-21 06:48:54 +01:00
Andrii Riabushenko
67e91558cf REVERT "optPar"
This reverts commit 5f1a59216b.
2019-03-21 00:45:21 +00:00
Andrii Riabushenko
5f1a59216b optPar 2019-03-21 00:17:52 +00:00
cooldome
7ba877914a increase VM limit (#10870) 2019-03-20 14:01:07 +01:00
Miran
54151ce398 docgen: add links for var, let and const (refs #10487) (#10868)
* docgen: add links for var, let and const (refs #10487)

* change the expected html
2019-03-20 11:23:38 +01:00
Miran
1eefbf6da8 improve docs for os.joinPath, fixes #10836 (#10866) 2019-03-20 08:38:24 +01:00
Araq
eeae88d81e live with the hacks, PCRE's design is crap 2019-03-19 15:49:24 +01:00
Miran
bfc7522401 docgen: generate pragma after generic, fixes #10792 (#10865) 2019-03-19 12:55:28 +01:00
Andreas Rumpf
cd9caf09d1 pcre.nim: added pcre_free and removed hacks in nre and re.nim 2019-03-19 12:48:54 +01:00
Andreas Rumpf
d3df1b8eda mark user defined destructors with sfOverriden to simplify the logic 2019-03-19 12:48:54 +01:00
Arne Döring
389b140029 add tastspec (and ast_pattern_matching) (#10863) 2019-03-19 11:45:29 +01:00
Anthon van der Neut
5c1c5902e2 fixes #10857 invisible span had width (#10860) 2019-03-19 10:38:48 +01:00