Andreas Rumpf
675ca997fb
fixes #9674 [backport] ( #13143 )
2020-01-14 16:20:48 +01:00
Andreas Rumpf
8b00586488
fixes #13104 [backport] ( #13142 )
2020-01-14 15:16:36 +01:00
cooldome
b4545f03de
pass platform argument only if vccexe is used ( #13078 )
...
* pass platform only if vccexe is used
* fixes #12297
2020-01-14 15:02:10 +01:00
Andreas Rumpf
fadbd8f70d
fixes #10665 ( #13141 ) [backport]
2020-01-14 13:51:28 +01:00
Andreas Rumpf
9fc04a555c
fixes #13105 ( #13138 )
2020-01-14 12:57:20 +01:00
Andreas Rumpf
d56848878c
fixes #13119 ( #13128 )
...
* fixes #13119
* fixes a regression
2020-01-14 09:56:08 +01:00
Timothee Cour
49d1822c8f
fixes #13100 nim doc now treats export localSymbol correctly ( #13123 ) [backport]
...
* fix #13100 nim doc now treats `export localSymbol` correctly
* use owner instead
2020-01-13 22:05:38 +01:00
treeform
d9640ed075
Expose more openSSL methods. ( #13131 )
2020-01-13 22:04:43 +01:00
Andreas Rumpf
eadd1ba9ed
fixes #13112 ( #13127 )
...
* improve line error information
* fixes #13112
2020-01-13 15:47:17 +01:00
Andreas Rumpf
abea80376a
fixes #13122 ( #13126 )
...
* fixes #13122
* moved tests to where they belong
2020-01-13 14:11:51 +01:00
Jasper Jenkins
bf2e052e6d
fix rtti sizeof for varargs in global scope ( #13125 ) [backport]
2020-01-13 10:17:21 +01:00
perter lee
1f27a2f8ab
fix the ftp store function read the local file bug ( #13108 ) [backport]
...
* Update asyncftpclient.nim
When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.
* complelete the bugfix
2020-01-13 10:16:19 +01:00
Timothee Cour
ee1563ef33
VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT ( #13083 )
2020-01-12 13:44:43 +01:00
Federico Ceratto
1c001fe583
Add link to posix_utils.html in posix.nim ( #13111 )
2020-01-12 13:36:37 +01:00
treeform
01a89cc473
Remove some unused/disabled OpenSSL functions ( #13106 )
2020-01-11 10:58:38 +01:00
Andreas Rumpf
767592a3c3
more arc features ( #13098 )
...
* config update
* ARC now supports 'repr' and 'new' with finalizers is supported
2020-01-10 23:17:33 +01:00
Miran
c0973d1b47
[backport] fix #12813 , fix #13079 ( #13099 )
...
Correctly remove a key from CountTable when it is set to zero.
2020-01-10 15:24:33 +01:00
Miran
f7ce4e8705
System cleanup, part 1 ( #13069 )
...
* system.nim: mark what every .pop does
* system.nim: un-nest when statements
2020-01-10 10:14:02 +01:00
Andreas Rumpf
3a39ab83ac
fixes an asyncftpclient bug; refs #13096 [backport]
2020-01-10 09:42:21 +01:00
narimiran
e9e114058c
[backport] system/io.nim fix wrong documentation comment [ci skip]
2020-01-10 08:53:44 +01:00
Timothee Cour
4cd86c0842
typetraits: fixes #6454 ; genericParams; added lenTuple; added tuple type get ( #13064 )
2020-01-10 08:51:37 +01:00
Araq
fcd2f305ad
fixes #13070
2020-01-10 08:32:30 +01:00
Araq
033da35de1
fixes #13072 ; no test case because it will be added later with more exception handling related bugfixes
2020-01-10 08:32:30 +01:00
Tomohiro
a33b72af49
Fix error check code in osproc ( #13090 ) [backport]
2020-01-09 18:00:41 +01:00
Ico Doornekamp
bb7273bc47
Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined ( #13089 )
2020-01-09 17:27:42 +01:00
Timothee Cour
3f78873898
remove all remaining warnings when build nim (with -d:nimHasLibFFI) ( #13084 )
...
* cleanup deprecations in evalffi + elsewhere
* remove dead code getOrdValue64
2020-01-09 13:19:18 +01:00
Andreas Rumpf
852170cc78
take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize ( #13077 )
2020-01-09 11:48:37 +01:00
Teashrock
27fee4d8b4
Deleted misplaced separator ( #13085 ) [backport]
...
Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
2020-01-09 11:48:13 +01:00
Andy Davidoff
56fb909676
fix crash due to errant symbols in nim.cfg ( #13073 ) [backport]
2020-01-08 22:25:25 +01:00
narimiran
5e9ebe9ec1
move entries from the wrong changelog file [ci skip]
2020-01-08 15:20:30 +01:00
Timothee Cour
15043d35b8
make SuccessX show project file + output file ( #13043 )
...
* make SuccessX show project file + output file
* address comments
* fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used
* address comments
2020-01-08 00:39:07 +01:00
cooldome
871d5e79b1
distinctBase type trait for distinct types ( #13031 )
2020-01-08 00:36:57 +01:00
b3liever
8bcc7e8b9e
basename supports pragmaexpr ( #13045 )
...
* basename supports pragmaexpr
* update changelog
2020-01-07 11:25:51 +01:00
Bung
291608045c
add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword ( #13060 )
2020-01-07 10:52:02 +01:00
Timothee Cour
e5ae7ceaa3
[easy] --hint 🔗 on now shows link cmd instead of nothing ( #13056 )
...
* --hint🔗 on now shows link cmd instead of nothing
* update doc for --listCmd
2020-01-07 10:38:59 +01:00
Timothee Cour
569d4d18f8
--styleCheck:hint now works ( #13055 )
2020-01-07 09:53:11 +01:00
Miran
1551fff853
clean up deprecated stuff and unused imports in tests ( #13059 )
2020-01-07 09:49:08 +01:00
loloiccl
6a7a19eb15
Modify the test command for nimly (nimble-package) ( #13053 )
2020-01-07 06:47:40 +01:00
Brent Pedersen
a019cc52f6
testament/important_packages dont run hts ( #13052 )
2020-01-07 06:47:18 +01:00
Clyybber
ba4fbb6328
Continue #13002 ( #13021 )
2020-01-06 11:40:42 +00:00
Timothee Cour
72499a8d7c
[cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits ( #13041 )
...
* remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits
* D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts`
2020-01-05 19:33:33 +01:00
BinHong Lee
2cfa8d8385
Allow -o option for buildIndex ( #13037 ) [backport]
...
Addressing #12771
This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html ) but its not respected as reported in the issue.
2020-01-05 19:24:29 +01:00
Kamanji
9a5aaadda8
Rst parser respect :start-after: and :end-before: in include directive ( #12972 )
...
* [FEATURE] rst parser respect :start-after: in include
Rst parser now respects `:start-after:` and `:end-before:` attributes
for `include` directive.
* [DOC] include directive parsing proc update
* [TEST] Added unit tests for include rst directive in `rst` module
2020-01-05 10:01:21 +01:00
Araq
ae68ff959b
fixes #12996
2020-01-05 09:42:44 +01:00
Araq
fdcea66fd9
reprjs: style changes
2020-01-05 09:42:44 +01:00
cooldome
a3df1b55f3
fixes #13013 , reverts previous changes to readLines() ( #13036 ) [backport]
...
* Revert "remove default argument for readLines (#12807 ) [backport]"
This reverts commit c949b81efd .
2020-01-05 09:22:41 +01:00
Jasper Jenkins
9474a818af
fix enumtostr crash for enum-range ( #13035 )
2020-01-05 09:18:14 +01:00
Timothee Cour
13c08f3ab4
VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer ( #12877 )
...
* VM: allow certain hardcoded special var variables at CT
* VM: allow all importc var, cast[int](ptr)
* fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim
* VM: == works for ptr/pointer nodes
* bugfix: ==, cast now also works for pointer, not just ptr
* VM supports cast PtrLikeKinds <=> PtrLikeKinds / int
* improve cname handling
* fixup + bug fix
* VM: support cast from ref to int
* address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI
* defensive check against typ == nil
2020-01-05 09:11:29 +01:00
Araq
a1beeb313f
fixes #13032
2020-01-04 19:33:49 +01:00
Andreas Rumpf
0f6987a86e
fixes #12964 ( #13027 )
2020-01-04 07:40:02 +01:00