Commit Graph

17607 Commits

Author SHA1 Message Date
Timothee Cour
0768d3ae38 fixup 2018-12-03 15:40:03 -08:00
Timothee Cour
53147cc546 fixup 2018-12-03 14:25:04 -08:00
Timothee Cour
af7d758cfc address comments 2018-12-03 14:03:06 -08:00
Timothee Cour
0caab530fb fixup 2018-12-03 12:51:28 -08:00
Timothee Cour
e7ab4817e2 fixup 2018-12-03 12:46:32 -08:00
Timothee Cour
b93fbcf09a add osproc.processID() 2018-12-03 12:04:46 -08:00
Araq
f86b827d9e IC: more things work 2018-12-03 18:57:44 +01:00
data-man
b0a977fe41 Don't use deprecated fmod in VM 2018-12-01 23:23:51 +05:00
Andreas Rumpf
c74226f4c1 enables .raises: [] via a .push (#9834) [backport] 2018-12-01 16:12:46 +01:00
PMunch
3f546b70ed Moved some code around in nimsuggest to avoid crash when run as library (#9818)
* Moved some code around in nimsuggest to avoid crash when run as library

* Moved the common executecallback setting to a procedure

* Fixed slight issue
2018-12-01 09:38:18 +01:00
Araq
abbafe606e IC: further progress 2018-12-01 00:36:14 +01:00
Andrii Riabushenko
ca473d0f94 add array constructors 2018-11-30 09:47:55 +00:00
Andrii Riabushenko
6459d4ec72 reduce changes 2018-11-30 09:37:26 +00:00
Andrii Riabushenko
e90f70af42 Improve approach 2018-11-30 09:36:04 +00:00
Timothee Cour
9a2736d999 fix #8289 (#9828) 2018-11-30 09:09:32 +01:00
Arne Döring
2f13d27720 improve line info retreival (#9822)
* improve line info
* fix error message
2018-11-30 08:12:11 +01:00
Andrii Riabushenko
c0b91bc024 revert debug statements 2018-11-29 23:43:19 +00:00
Andrii Riabushenko
4c327d9ae2 merge devel 2018-11-29 23:41:38 +00:00
Andrii Riabushenko
9bba790534 fix spacing 2018-11-29 23:36:06 +00:00
Andrii Riabushenko
4b31d7bb83 move moves 2018-11-29 23:33:48 +00:00
Andreas Rumpf
350396e1ca gc:destructors: more progress 2018-11-29 20:10:52 +01:00
Andreas Rumpf
7d82df20be gc:destructors further progress 2018-11-29 01:13:32 +01:00
Timothee Cour
ab38c075f8 add: proc deepCopy*[T](y: T): T (#9740) 2018-11-28 08:46:22 +01:00
Dominik Picheta
8ff18c0fb9 Merge pull request #9813 from yyyc514/fix_outdated_invoke_example
fix outdated example to invoke Nim from C
2018-11-27 22:44:31 +00:00
Josh Goebel
dace2a0999 fix outdated example to invoke Nim from C
- resolves #8139
2018-11-27 15:44:03 -05:00
cooldome
5b98afb8a8 Destructors: more moves for tuples (#9808) 2018-11-27 18:59:21 +01:00
pacien
4e483bb01a add SinglyLinkedList.append procs 2018-11-27 10:34:34 +01:00
Arne Döring
cc0364e72f Tester tests (#9787)
* remove --lib:lib
* added some tests for testatment
* tests are addad WIP: add colors switch to tester
* meta tester is integrated
2018-11-27 10:00:32 +01:00
Andreas Rumpf
8990764709 some progress on --gc:destructors 2018-11-27 00:36:29 +01:00
Andreas Rumpf
413580bc04 new minor language feature: .noSideEffect blocks like .gcsafe blocks 2018-11-27 00:36:29 +01:00
Andreas Rumpf
93cf0ef52e don't crash where there is an unknown statement pragma [backport] 2018-11-27 00:36:29 +01:00
Oscar Nihlgård
e5aae93bfe Add relative parameter to walkDirRec 2018-11-26 22:08:45 +01:00
pgkos
518c72e57a fixes #9800 (#9804) [backport]
* fixes #9800
* add tests for #9800
2018-11-26 18:59:24 +01:00
Emery Hemingway
ed8b4befbf times: use clock_gettime for cpuTime with POSIX (#9793)
The POSIX 'clock()' procedure returns process CPU time in an
implementation specific unit, which for historical reasons can be as
large as ~7ms in the case of FreeBSD. Use 'clock_gettime' for higher
accuracy.
2018-11-26 17:00:17 +01:00
alaviss
ac56d3b0ed fixes #7365 2018-11-26 13:02:37 +01:00
Andreas Rumpf
eb919c35b2 fixes #9675 2018-11-26 10:41:26 +01:00
Andreas Rumpf
6206ba8f30 document the breaking change for osproc 2018-11-26 10:40:16 +01:00
Tomohiro
3a3ff76526 Add workingDir parameter to execProcess and test (#9549)
* Add workingDir parameter to execProcess
* Fix tests/stdlib/tosproc.nim compile error
* Suppress output from tosproc.nim
2018-11-26 10:28:44 +01:00
Constantine Molchanov
3f3aee4078 Added cgi.readData. Add test for cgi module. (#9645)
Added cgi.readData. Add test for cgi module.
2018-11-26 10:27:13 +01:00
cooldome
c50a04adc5 More converter fixes (#9737)
* fixes #9735
* fixes #9736
* fixes #3503
2018-11-26 09:51:13 +01:00
Jacek Sieka
87568830ab Remove dead code (#9777)
* gc/gc2: remove unused ref counting stuff
* also removes some false threading support - hasSharedHeap is always
false in gc/gc2
* gc: remove some threading cruft
* remove asgnRefNoCycle
* compiler: remove TLoc.dup (unused)
2018-11-26 09:47:39 +01:00
cooldome
ea5fc9f204 fixes #9794: sizeof tuple is incorrect if contains imported object (#9795)
* fixes #9794

* Fix linux test
2018-11-26 09:46:19 +01:00
cooldome
2ac7f52388 Fixes multiple bugs with sink arguments (#9802)
* fixes #9781

* fix spacing
2018-11-26 09:45:45 +01:00
Yuriy Glukhov
410fd1deae Fixes 9716 [backport] (#9790)
* reuse temporary variable
* fixes #9716 [backport]
* Declare local vars in safer place
2018-11-24 10:50:48 +01:00
Dominik Picheta
47d0582ebf Merge pull request #9548 from tonygparsehub/put-delete
fix #8777 add missing http methods in httpClient
2018-11-23 22:45:28 +00:00
Arne Döring
56c4a4ae1f fix #9759 (#9789) 2018-11-23 16:19:35 +01:00
PMunch
a20169af91 Made nimsuggest importable as a library and add Nim-path override option (#9784)
* Made nimsuggest importable as a library and add Nim-path override option

* Remove leftover debug output
2018-11-23 15:45:48 +01:00
Alexander Ivanov
88d707cb88 Support only some types as JsAssoc types (#8627) 2018-11-23 15:05:15 +01:00
Araq
562d185cb7 cleanup tests; don't use non-working 'msg' spec field 2018-11-23 13:16:45 +01:00
Araq
2d0aa9b72b testament: remove debugging echo 2018-11-23 11:59:59 +01:00