Charles Blake
740c5b13ea
Let handles be seen outside of memfiles module so that "updating"
...
operations (like eg., resizing a file and re-mapping) do not need
to worry about race conditions of re-opened paths, renamed parent
directories and that sort of thing. Operating directly on already
open handles is both safer and more efficient than relying upon the
stability of filesystem paths.
2018-12-10 11:40:08 -05:00
Andreas Rumpf
cd81f368d1
Merge pull request #9826 from cooldome/destructor_move_them_all
...
destructors: sink`em all
2018-12-10 15:46:19 +01:00
Andreas Rumpf
4f8ae98446
Merge pull request #9914 from nc-x/fix-koch
...
Fixes #9913
2018-12-10 13:18:44 +01:00
Andrii Riabushenko
d22fa09000
minor correction
2018-12-10 09:20:43 +00:00
Timothee Cour
9d10278a9c
--errorMax:0 means: unlimited
2018-12-09 23:39:57 -08:00
Timothee Cour
fc7b3a7c2a
enhance dump --dump.format:json
2018-12-09 21:45:15 -08:00
Timothee Cour
daaf50ae03
refs #9906 ; --errorMax:10 allows stopping after 10 errors
2018-12-09 19:11:08 -08:00
Timothee Cour
f3ecc15a94
refs #9880 show index and bound in lots of index out of bounds errors
2018-12-09 16:50:45 -08:00
Ico Doornekamp
71e9fff364
Added basic AF_UNIX support to asyncnet.
...
Unfortunately this required some code duplication because the
doConnect() from asynccommon.nim only works with addrInfo which does not
make sense for AF_UNIX.
makeUnixAddr() was moved to nativesocket.nim and exported
2018-12-09 20:53:05 +01:00
Andrii Riabushenko
8b7f416c37
reduce changes
2018-12-09 18:40:46 +00:00
Andrii Riabushenko
8a690fd530
Remove not used code
2018-12-09 18:38:21 +00:00
Andrii Riabushenko
97b9e8a435
remove not used code
2018-12-09 18:37:33 +00:00
Andrii Riabushenko
dc935f2b41
use control flow graph for sink params
2018-12-09 18:32:43 +00:00
Andreas Rumpf
606b43ba11
Merge pull request #9911 from nc-x/fixes-#9627
...
`include` now accepts collective arguments
2018-12-09 13:47:45 +01:00
Andreas Rumpf
981dcc6b9a
Merge pull request #9890 from nim-lang/remove-asynccommon
...
Merge async common into asyncdispatch.
2018-12-09 13:00:10 +01:00
Andreas Rumpf
9cafa5ac58
Merge pull request #9902 from arnetheduck/daily-clean
...
daily cruft removal
2018-12-09 12:59:28 +01:00
Andreas Rumpf
c16963083d
Merge pull request #9912 from nim-lang/araq-fixes-nested-gensym
...
fixes nested gensym'ed parameters; fixes #9476
2018-12-09 12:58:33 +01:00
Neelesh Chandola
04a4ff5671
Fixes #9913
2018-12-09 15:54:53 +05:30
Neelesh Chandola
96647618c2
Fix compilation of test on linux and mac
2018-12-09 15:44:18 +05:30
Andreas Rumpf
8035f408f1
Merge pull request #9898 from cooldome/enum_notused
...
Enum fields get hintXDeclaredButNotUsed hint even marked with used pragma
2018-12-09 09:51:35 +01:00
Neelesh Chandola
e44641b6cb
Float values are invalid in enum
2018-12-09 14:20:01 +05:30
Neelesh Chandola
81427b535d
Add final newlines
2018-12-09 13:57:17 +05:30
Neelesh Chandola
f77ddccb6c
add tests
2018-12-09 13:56:11 +05:30
Neelesh Chandola
9aa783624d
include now accepts collective arguments
2018-12-09 12:33:58 +05:30
Neelesh Chandola
d977fc6f32
Fix test case expected output
2018-12-09 11:20:52 +05:30
Neelesh Chandola
abdfbd07a5
Fixes #9907
2018-12-09 10:35:30 +05:30
Neelesh Chandola
93503c18aa
Add test
2018-12-09 10:33:20 +05:30
Neelesh Chandola
b0f860d90f
Fix enum regression
2018-12-09 10:28:34 +05:30
Andrii Riabushenko
e03fb08c24
change approach
2018-12-09 00:05:57 +00:00
Andrii Riabushenko
a50cfbf814
fix
2018-12-08 23:05:45 +00:00
Andrii Riabushenko
ae24b87219
Double sink checks
2018-12-08 23:04:38 +00:00
Araq
7a66616d74
fixes #9889 , fixes #9886
2018-12-08 23:48:20 +01:00
Timothee Cour
f838b1e6c1
fix #9872 : setLen now works properly at CT [backport]
2018-12-08 14:33:42 -08:00
Jacek Sieka
a65141fc0b
daily cruft removal
2018-12-08 13:36:38 -06:00
Andrii Riabushenko
e5b9d89bcf
style improvements
2018-12-08 19:20:34 +00:00
Andrii Riabushenko
0fdd7629b4
remove dropbits in favour of destructive moves
2018-12-08 19:18:00 +00:00
Andreas Rumpf
32a08d4450
Merge pull request #9895 from GULPF/unpack-defect
...
Make options.UnpackError inherit from system.Defect
2018-12-08 17:42:16 +01:00
Araq
e874705971
fixes nested gensym'ed parameters; fixes #9476
2018-12-08 13:30:06 +01:00
Andrii Riabushenko
5f9234e5cb
add comment, fixes #9896
2018-12-08 11:39:11 +00:00
Andrii Riabushenko
94a63eef9a
Fix hintXDeclaredButNotUsed for enum fields marked as used
2018-12-08 11:35:18 +00:00
Oscar Nihlgård
0a749f1a37
Make options.UnpackError inherit from system.Defect
2018-12-08 10:04:53 +01:00
Dominik Picheta
775bfb3e8d
Merge async common into asyncdispatch.
2018-12-07 22:47:10 +00:00
Andrii Riabushenko
43c70a6b12
improve test
2018-12-07 22:25:32 +00:00
Andrii Riabushenko
d9815574c0
more undo
2018-12-07 22:14:46 +00:00
Andrii Riabushenko
948c625f95
undo more stuff
2018-12-07 22:11:34 +00:00
Andrii Riabushenko
961b7a9f66
undo more changes
2018-12-07 22:00:55 +00:00
Andrii Riabushenko
4799589fb3
undo some changes
2018-12-07 21:59:43 +00:00
Arne Döring
43ea41bdf4
added lib/std/diff.nim
2018-12-07 16:21:50 +01:00
data-man
a38f353597
Add the parameter isSorted for the sequtils.deduplicate
2018-12-07 02:17:40 +05:00
Andreas Rumpf
160a034643
Merge pull request #9803 from GULPF/walkdirrec-relative
...
Add `relative` parameter to walkDirRec
2018-12-06 09:29:35 +01:00