Juan Carlos
7238b968f3
Make unused code into actual test, replace echo with doassert ( #13952 )
2020-04-11 22:16:26 +02:00
alaviss
5f6962337d
osproc: added a better version of waitForExit for Haiku ( #13938 )
...
Also modified tosprocterminate to verify waitForExit implementations.
2020-04-10 09:34:52 +02:00
alaviss
cc3f5d21b2
posix: add full Haiku support ( #13931 )
...
* posix: add full Haiku support
This commit provides a posix_haiku derived from posix_other, with types
following Haiku's definition. This fixes cases where the compiler
generates type check for the wrong types (ie. checks where generated for
an int-derived type but it's actually implemented as an uint instead).
* tools/kochdocs: welcome posix_haiku to the blacklist
2020-04-09 15:56:08 +02:00
cooldome
7b582fd6a6
fixes #13863 ( #13929 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-08 19:51:23 +02:00
Hessam Mehr
bff742cd8b
Add support for zig cc as C compiler. ( #13757 )
2020-04-08 15:24:14 +02:00
Dominik Picheta
350ee0308a
Fixes issues with dynamic loading OpenSSL. Fixes #13903 . ( #13919 ) [backport]
...
This fixes at least a couple of issues:
* Procs loaded from the DLL being used even when the pointer is nil.
* The actual issue (#13903 ) which appeared to cause stack corruption on
Android 7.1.1 with OpenSSL 1.1.1f. The change that fixed this was the
move to loading the procs in `sslSym`.
2020-04-08 14:37:00 +02:00
Miran
3dc8068075
Test packages on Linux ( #13921 )
...
* test important packages on Linux
* enable chronos
2020-04-08 14:34:08 +02:00
cooldome
b4e9f8e814
fix ICE in isUnresolvedSym ( #13925 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-08 13:16:25 +01:00
cooldome
f86fc5316a
fix #13909 ( #13914 ) [backport:1.2]
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-08 11:28:09 +02:00
Timothee Cour
95fd8ae93c
fix #13902 distinct uint64 type corruption on 32-bit with borrow ( #13907 ) [backport:1.2]
...
* fix #13902 distinct uint64 type corruption on 32-bit with borrow
Co-authored-by: Timothee Cour <timothee.cour2+lightsail@gmail.com >
2020-04-08 09:56:16 +02:00
narimiran
3036ec9c44
fix #13894 , httpclient hang on Http204
2020-04-07 22:21:39 +01:00
cooldome
c835c8c4e7
fix #13910 ( #13917 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-07 19:40:14 +02:00
Timothee Cour
ab5e26c53c
fix some codegen bugs: NIM_BOOL, NIM_STATIC_ASSERT, --passc:-std=... (etc) ( #13798 )
...
* fix cgen bool D20200328T203812
* --passc:std=c++17 (etc) now works instead of silently ignored
* document caveats for NIM_NIL
2020-04-07 15:17:30 +02:00
Nicolai Søborg
b41931bf67
json doc: Note about Option and reserved keywords ( #13895 )
2020-04-07 15:14:25 +02:00
Arne Döring
37692baf49
fix #13739 ( #13742 )
2020-04-07 14:42:59 +02:00
Clyybber
92c4aad205
Fix #13889 with testcase ( #13896 ) [backport]
...
* Fix https://github.com/nim-lang/Nim/issues/13889
* Add testcase
* Reduce test time
Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com >
2020-04-06 16:25:24 +02:00
Clyybber
1e25e16c88
Fix #13872 ( #13898 )
2020-04-06 14:35:27 +01:00
Timothee Cour
e6d870896b
openDefaultBrowser now works on OSX ( #13892 ) [backport]
2020-04-06 08:26:12 +02:00
Timothee Cour
f1fd3ef7f4
fix https://github.com/timotheecour/Nim/issues/88 ( #13865 ) [backport:1.2]
2020-04-06 00:24:35 +02:00
supakeen
87847150bf
Add barebones asynchttpserver tests ( #13883 )
...
* Add isNil check to custom Content-Length.
Related to #13866 .
* Setup barebones asynchttpserver tests.
2020-04-05 21:16:13 +02:00
Hiroki Noda
b6814be653
doc: fix comment for repr*(x: char): string ( #13873 )
...
replace `$` with `repr`.
2020-04-05 16:44:55 +02:00
Timothee Cour
29734b73ff
add nimPath to nim dump ( #13876 )
...
* add nimPath to nim dump
* rename
2020-04-05 16:44:34 +02:00
cooldome
6d4f07f2ea
Fix sym owner in wrapper proc ( #13878 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-05 16:44:15 +02:00
supakeen
09ca19208f
Add isNil check to custom Content-Length. ( #13867 ) [backport:1.2]
...
Related to #13866 .
2020-04-05 09:02:30 +02:00
alaviss
813ed358bf
asyncdispatch: get rid of erroneous set constructions ( #13877 )
...
Ref #13764
2020-04-05 08:39:43 +02:00
Andreas Rumpf
a890aa75aa
finally de-deprecate the .define and .undef pragmas
2020-04-04 23:12:24 +02:00
Andreas Rumpf
9c46927fad
new feature: ability to turn specific warnings to errors
2020-04-04 22:56:03 +02:00
narimiran
ed44e524b0
bump devel version to 1.3.1
2020-04-03 21:28:11 +02:00
Alexander Ivanov
cec320b569
Remove my wrongly written mangled-related code, not needed anymore ( #13858 )
2020-04-03 20:22:03 +02:00
Alexander Ivanov
920add5880
sourcemaps for the JS codegen ( #7508 )
2020-04-03 12:06:23 +02:00
Andreas Rumpf
2b3b24a804
make bootstrapping more robust for people who have Nim inside /usr/bin ( #13855 )
2020-04-03 10:25:15 +02:00
itsumura-h
87e6b88f3b
fix #7241 ( #13779 )
...
finalize() should run in insert()
2020-04-03 09:38:05 +02:00
Timothee Cour
93cd98dd14
move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code ( #13850 )
...
* remove tinyc
* installDeps
* update tinyc paths
2020-04-03 09:10:45 +02:00
flywind
6b9ffc7fad
fix asynchttpserver content-length header ( #13846 )
2020-04-03 09:05:43 +02:00
Timothee Cour
d23371fdd7
std/byaddr => std/decls ( #13847 )
2020-04-03 09:03:13 +02:00
narimiran
7d17cd34b8
create a changelog for v1.2.0
2020-04-02 16:28:01 +02:00
Araq
8ee0771b5a
return types must not be Natural for reasons I won't outline here
2020-04-02 15:01:14 +02:00
Araq
d01fca974d
added an .assert pragma and mentioned the pragmas in the changelog
2020-04-02 12:57:32 +02:00
Dean Eigenmann
df8e0e7f0c
feature/count ( #13837 )
2020-04-02 12:09:29 +02:00
Andreas Rumpf
d01245e501
renamed new std/pragmas.nim to std/byaddr.nim ( #13844 )
...
* renamed new std/pragmas.nim to std/byaddr.nim
* minor code cleanup
2020-04-02 11:52:31 +02:00
Timothee Cour
68539a2926
fix last remaining warning when building nim (intVal should be Int128) + minor cleanups ( #13841 )
2020-04-02 08:53:52 +02:00
Juan Carlos
c167261735
Deprecate PHP ( #13838 )
2020-04-02 08:48:09 +02:00
Juan Carlos
160d5fe589
Jsconsole update ( #12448 )
...
* Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console
* Improve jsconsole, add runnableexamples
* Simplify jsconsole
2020-04-02 08:47:45 +02:00
Juan Carlos
46ca19ff18
Deprecate DCE:on ( #13839 )
2020-04-02 02:58:43 +02:00
Juan Carlos
afd0afe0a3
Deprecate when declared(echo):echo ( #13840 )
2020-04-02 02:56:18 +02:00
Juan Carlos
9102ac8c7d
Documentation and Code Style inotify ( #13836 )
2020-04-02 01:05:55 +02:00
Juan Carlos
9599757068
Add browsers.openDefaultBrowser without URL, implements IETF RFC-6694 Section-3 ( #13835 )
2020-04-01 15:46:47 -04:00
Andreas Rumpf
bc37668c5a
fixes #13782 ( #13834 )
2020-04-01 20:30:28 +02:00
Juan Carlos
4816984726
Documentation, add more examples ( #13825 )
2020-04-01 19:39:58 +02:00
Andreas Rumpf
484548c784
revert stdlib changes which are not required anymore
2020-04-01 19:38:44 +02:00