Andreas Rumpf
bae08d0961
Merge pull request #11753 from kaushalmodi/fix-compilation-warning-in-macros
...
[bugfix] Fix compilation warning in macros.nim
2019-07-17 15:17:45 +02:00
Kaushal Modi
44d80dd863
[bugfix] critbits styleCheck fix: consistent var naming ( #11752 )
2019-07-16 21:24:09 +02:00
Kaushal Modi
3f7142fcfd
[bugfix] openssl styleCheck fix: consistent var naming ( #11750 )
2019-07-16 21:23:12 +02:00
Kaushal Modi
0b511b15ea
styleCheck fix: type naming: s/outType/OutType/ ( #11749 )
2019-07-16 21:22:34 +02:00
Kaushal Modi
dcbb2d66da
Fix compilation warning in macros.nim
...
Fixes:
> macros.nim(1423, 35) Warning: `typed` will change its meaning in future versions of
Nim. `void` or no return type declaration at all has the same
meaning as the current meaning of `typed` as return type declaration. [Deprecated]
2019-07-16 15:03:44 -04:00
Oscar Nihlgård
1f32498a47
Use std/monotimes in the stdlib
2019-07-16 11:05:42 +02:00
Andreas Rumpf
102b71f42e
Merge pull request #11740 from nim-lang/araq-fixes-11723
...
fixes #11723
2019-07-16 09:08:15 +02:00
Araq
76f9ddb6ab
fixes #11723
2019-07-15 17:22:01 +02:00
Andreas Rumpf
8513f50a8d
Add std/monotimes which implements monotonic timestamps ( #11712 )
...
* [feature] Added std/monotimes
* [other] Minor optimization in times
2019-07-15 13:47:30 +02:00
Araq
dd7dd1b6dc
styleCheck fixes [bugfix]
2019-07-15 13:16:02 +02:00
Araq
ad67a46e5d
styleCheck fixes [bugfix]
2019-07-15 12:03:21 +02:00
Araq
52cbd0c558
styleCheck fixes [bugfix]
2019-07-15 10:56:55 +02:00
Araq
edbe02b4e1
newruntime: progress to make 'async' work with --newruntime
2019-07-15 10:56:55 +02:00
Araq
fab70e4fe3
minor update for the genode target
2019-07-14 16:08:15 +02:00
alaviss
a59fb5b352
os: confine osErrorMsg example to Linux ( #11725 )
...
POSIX does **not** define the exact number for each errors. This caused
a failure in docs building on Haiku.
2019-07-13 16:16:09 +02:00
Jacek Sieka
cf36e4a44a
times: use posix constant instead of import ( #11692 )
...
* times: use posix constant instead of import
* simplify clock id usage
2019-07-13 08:39:20 +02:00
Araq
416ba133ad
made --newruntime ready for multi-threading
2019-07-12 21:53:46 +02:00
Araq
bb5ca0772e
atomics.nim: minor improvements
2019-07-12 21:53:45 +02:00
Araq
03ded27021
preparations to be able to use atomics in runtime_v2.nim
2019-07-12 21:53:45 +02:00
Oscar Nihlgård
974362c98f
[other] Minor optimization in times
2019-07-12 10:15:12 +02:00
Oscar Nihlgård
fd24a8923e
[feature] Added std/monotimes
2019-07-12 10:15:06 +02:00
Araq
eaf4b42ff9
JS codegen: supports toOpenArray [bugfix]
2019-07-12 10:11:59 +02:00
Dominik Picheta
b8be1ccb85
Give NilAccessError a message ( #11706 )
2019-07-11 11:14:38 +02:00
Andreas Rumpf
ac458448d8
make async tests green again
2019-07-11 11:09:10 +02:00
Araq
cb3c3c306c
minor style changes
2019-07-11 00:28:20 +02:00
Araq
38bdf1cd7f
minor style changes
2019-07-10 23:55:56 +02:00
Araq
87a2ced1ba
there is only one style -- my style
2019-07-10 19:17:06 +02:00
Araq
dc0bbba3fa
make editdistance work with --styleCheck:error
2019-07-10 18:58:59 +02:00
Araq
bc7733827d
make more parts of the stdlib compile with --styleCheck:error
2019-07-10 15:48:30 +02:00
Huy
e5425b5f2f
[feature] add unsafeColumnAt procs, that return unsafe cstring from InstantRow ( #11647 )
2019-07-10 14:56:09 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Ivan Bobev
96523cdd3e
Make public additional types from sha1 module [feature] ( #11694 )
...
* Make public additional types from sha1 module
After making public newSha1State, update and finalize methods from the
sha1 module was forgotten to be made public Sha1Digest and Sha1State
types used by the new public methods.
* Update changelog.md with sha1 module changes
2019-07-10 10:20:08 +02:00
Araq
ff4a9a226f
style changes
2019-07-10 09:06:54 +02:00
Araq
c6c9e30379
minor system.nim style changes
2019-07-10 00:29:58 +02:00
Miran
2255d8795b
[other] prettify collections ( #11695 )
2019-07-09 22:45:23 +02:00
Araq
55e8aefbea
newruntime: async progress
2019-07-09 20:15:57 +02:00
Araq
ad58ed344a
newruntime: map system.reset to =destroy
2019-07-09 20:15:57 +02:00
Araq
7993d61d00
async: more 'owned' annotations
2019-07-09 11:38:00 +02:00
Araq
2c2f2de614
asyncmacro produces 'owned' types
2019-07-09 11:38:00 +02:00
Andreas Rumpf
124a584eb2
fixes #11530
2019-07-08 19:40:42 +02:00
Timothee Cour
655cb08461
[refactoring] nimbase.h: remove dead code which was confusing ( #11682 )
2019-07-08 10:36:02 +02:00
Jacek Sieka
9e7d885f35
dynlib: use posix module ( #11623 )
2019-07-08 09:14:35 +02:00
awr1
6a7f8e8ab5
[HCR] Added warning for using performCodeReload() in main module ( #11667 )
...
* [HCR] Added error for using performCodeReload() in main module
* [HCR] changed this to a warning, clarified usage
* [HCR] fixed typo
2019-07-07 09:18:33 +02:00
Andreas Rumpf
d2684cdfd2
fixes #11447
2019-07-06 21:20:16 +02:00
Andreas Rumpf
02b9af2f75
ABI fixes for OSX/BSD; fixes #6860 ( #11666 )
2019-07-06 13:00:29 +02:00
Juan Carlos
25cd8a5490
Documentation Diff, Typo ( #11566 )
...
* Documentation for Diff, add Examples and runnableExamples
2019-07-06 09:45:48 +02:00
Andreas Rumpf
5f515410af
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
2019-07-05 01:42:17 +02:00
Ivan Bobev
d914dca513
Make public some sha1 module procedures ( #11655 ) [feature]
...
Make "newSha1State", "update" and "finalize" procedures from the sha1
module public in order to be possible to compute single sha1 hash of
multiple separate blocks of data.
2019-07-04 22:29:03 +02:00
Akito13
0a501932c2
Corrected example shown in documentation ( #11654 ) [ci skip]
...
Used template within example was added to imports.
2019-07-04 15:59:29 +02:00
Graeme Cross
dad3c40f55
Fix the broken link in math.nim ( #11653 ) [ci skip]
2019-07-04 13:24:19 +02:00