Andreas Rumpf
e3e4cd9fd5
make tests green again
2019-03-06 09:26:48 +01:00
Andreas Rumpf
cfd5210405
dfa.nim: continues are bad
2019-03-06 09:00:06 +01:00
Arne Döring
2c01f0ad8d
tsizeof test is now correct ( #10788 )
2019-03-06 08:12:16 +01:00
Dominik Picheta
63c847dc50
Merge pull request #10787 from silent-observer/patch-1
...
Remove var
2019-03-05 23:13:05 +00:00
Andreas Rumpf
551d6d00df
make tests green again
2019-03-05 20:05:47 +01:00
Andreas Rumpf
1c64934f46
implement system.default for the JS target
2019-03-05 19:58:54 +01:00
Andreas Rumpf
4be36d77f6
introduce tfHasOwned for fast must-move checkings; removed tfAcyclic as the GC has ignored this hint for quite some time now
2019-03-05 19:58:54 +01:00
Arne Döring
20a21aa184
colors for debugging (not for windows) ( #10786 )
2019-03-05 19:58:14 +01:00
Andreas Rumpf
c86b1fbcac
fixes a critical GC safety inference bug ( #10615 )
...
* fixes a critical GC safety inference bug
* make nimsuggest compile again
* make Nimble compile again
2019-03-05 19:54:44 +01:00
silent-observer
7e52c798db
Remove var
...
Shouldn't testing bit require only immutable access? I think this is a typo
2019-03-05 14:19:41 +05:00
Andreas Rumpf
aed8766e84
stdlib: use system.default if it exists
2019-03-05 10:03:24 +01:00
Andreas Rumpf
142a2d3551
added system.default in order to prevent the abstraction inversion that 'template default(T): untyped = (var x: T; x)' causes
2019-03-05 09:54:59 +01:00
Andreas Rumpf
2dc8a32324
make megatest green again
2019-03-05 08:17:30 +01:00
Andreas Rumpf
22445867d4
no underscores
2019-03-05 07:45:28 +01:00
Andreas Rumpf
e0437dfec4
better error message for 'owned'
2019-03-05 06:25:33 +01:00
Andreas Rumpf
9a9c002abe
make exception handling use owned refs
2019-03-05 05:54:42 +01:00
Andreas Rumpf
9c6b628df6
DFA: fixes wrong 'def' instruction emission
2019-03-05 05:54:08 +01:00
Andreas Rumpf
71fd4acaeb
make test green
2019-03-05 05:53:28 +01:00
Andreas Rumpf
f907354121
make tests green again
2019-03-04 22:44:23 +01:00
Andreas Rumpf
3e922d0fec
destructors/dfa: more documentation
2019-03-04 22:41:50 +01:00
Andreas Rumpf
a59f5e5a9d
attempt to make the CIs happy by using the older syntax
2019-03-04 16:48:02 +01:00
Andreas Rumpf
55bc29c761
nimsuggest: make use project file name if none given for 'sug' command; allows for more convenient debugging
2019-03-04 15:41:07 +01:00
Andreas Rumpf
75f8e136e1
ccgexprs.nim: less confusing code layout
2019-03-04 15:41:07 +01:00
Andreas Rumpf
4700018d7e
cgen.nim: code cleanups
2019-03-04 15:41:07 +01:00
Andreas Rumpf
a6d49c3a81
special typing rules for owned pointers
2019-03-04 15:41:07 +01:00
Andreas Rumpf
0fd5417aff
code cleanup: there is no MoveError and sinks are always available
2019-03-04 15:41:07 +01:00
Tomohiro
df3d08b58b
Fixes #10387 ( #10743 )
2019-03-04 12:15:07 +01:00
sealmove
bf1f4b914b
Added optional proc parameter to llStreamOpenStdIn ( #10769 )
2019-03-04 10:52:34 +01:00
Jacek Sieka
7072e3ddca
doc: move specific checks to advanced options, for a less intimidatin… ( #10779 )
...
* doc: move specific checks to advanced options, for a less intimidating help
* remove useless bool
2019-03-04 10:49:55 +01:00
Arne Döring
1d9b88f25d
sizealign of union type ( #10780 )
...
* sizealign of union type
* add error message for packed union
2019-03-04 09:19:38 +01:00
Arne Döring
ebe0473511
More depth debug proc ( #10782 )
...
* improved output on debugType
* cycle detection in debug print
* debug info finally really helpful
* finally usable debug info
* quote enum values
2019-03-04 09:17:47 +01:00
alaviss
8e12691213
compiler/extccomp: use getNimcacheDir for writing build instruction ( #10772 )
...
`conf.nimcacheDir` might be empty during build, which results in the
json build instructions being generated in the current directory. This
commit fixes the problem by using getNimcacheDir, which generates a
valid nimcacheDir should it be empty.
Fixes #10768
2019-03-04 09:09:14 +01:00
Andreas Rumpf
65ad496fed
typo
2019-03-04 09:04:54 +01:00
Andreas Rumpf
1d1be03d81
make 'doc io.nim' work
2019-03-04 09:04:14 +01:00
Andreas Rumpf
f9231eb569
make 'nim doc times.nim' work on old versions of OSX again
2019-03-04 08:50:28 +01:00
Dominik Picheta
2647653589
Merge pull request #10776 from arnetheduck/wasm32-platform
...
add wasm32 platform
2019-03-03 22:59:57 +00:00
Jacek Sieka
7edc8bfe14
add wasm32 platform
2019-03-03 09:03:28 -06:00
narimiran
792dfac521
hashes: fix inconsistent tests, fixes #10771
2019-03-03 10:53:37 +01:00
ee7
d6882691ad
times.nim: Fix docs for duration conversion procs [ci skip] ( #10770 )
2019-03-02 18:25:14 +01:00
Anthon van der Neut
5ac7e32c7c
Matching actual proc name ( #10766 ) [ci skip]
2019-03-02 15:50:21 +01:00
Dominik Picheta
5d67208e34
Merge pull request #10764 from alaviss/htmlparser-doc
...
htmlparser: update example
2019-03-01 20:46:36 +00:00
Leorize
78d7ecae90
htmlparser: update example
...
This update htmlparser example to compile with the current stdlib.
2019-03-02 01:51:38 +07:00
Araq
e1d17ece5b
alloc et al don't have any effect; fixes #9746
2019-03-01 14:50:51 +01:00
Miran
ca7980f301
improved documentation for several modules ( #10752 )
...
More detailed documentation for:
* md5
* hashes
Mostly cosmetic improvements for:
* threadpool
* typetraits
* channels
* threads
2019-03-01 12:57:55 +01:00
zah
e9d3c5de19
Fix corner-case uses of newLit ( #10760 )
2019-03-01 11:09:13 +01:00
Federico Ceratto
7d7cd69070
Improved posix module, added new posix_utils module ( #10723 )
2019-02-28 23:03:49 +01:00
Arne Döring
1102b8ac6e
StringStream and parseJson, parseCfg, parseSql et al for the vm ( #10746 )
2019-02-28 22:57:57 +01:00
Andreas Rumpf
728ff1004a
gc:destructors: progress
2019-02-28 22:39:24 +01:00
Andreas Rumpf
9563be37d3
destructor based seqs: bugfix
2019-02-28 22:39:24 +01:00
narimiran
ec66fd07cb
quickfix: make tsizeof3 also work on 32-bit
2019-02-28 19:20:22 +01:00