Commit Graph

2831 Commits

Author SHA1 Message Date
Jochen Van de Velde
86c9fffc41 Fix osproc documentation 2015-05-13 18:19:51 +02:00
Andreas Rumpf
2dee0324f3 Merge pull request #2705 from borisvassilev/gcddocs
Document explicitly the behaviour of math.gcd with float arguments
2015-05-13 16:34:36 +02:00
Reimer Behrends
28dd0407bb Fix behavior of os.getFileInfo() for symbolic links.
The calls to lstat() and stat() were switched. As a result,
links weren't followed for followLink == true and links were
followed for followLink == false.
2015-05-13 12:26:34 +02:00
Boris Vassilev
9723e30647 Document explicitly the behaviour of math.gcd with float arguments 2015-05-13 13:00:20 +03:00
Andreas Rumpf
0b184f2584 Merge pull request #2608 from chrisheller/devel
Add procs for VirtualAllocEx and VirtualFreeEx in windows.nim
2015-05-08 02:20:14 +02:00
Andreas Rumpf
31d472d83d Merge pull request #2660 from MrJohz/contains-tables
Add contains proc for tables to allow usage of `in`
2015-05-08 02:19:45 +02:00
Andreas Rumpf
9422dbf337 Merge pull request #2657 from def-/noreturn
Pass noReturn pragma to C code.
2015-05-08 02:08:32 +02:00
Michael Werner
c384f05e49 fixed typo in threadpool.nim 2015-05-08 03:31:58 +05:00
Andreas Rumpf
9ef09fc6f5 Merge pull request #2622 from def-/times-year
Year shouldn't be arbitrarily limited to -10_000 .. 10_000
2015-05-07 20:22:26 +02:00
Varriount
ec0e60830a Merge pull request #2627 from msmith491/devel
Add arbitrary char support to the strutils  proc.  Issue #2626
2015-05-07 13:03:19 -04:00
Varriount
d3f69e14f7 Merge pull request #2596 from Nycto/devel
Fix floats in tuples in HashSets
2015-05-07 13:02:42 -04:00
Varriount
ace11f08aa Merge pull request #2537 from jsanjuas/devel
Generalize mean to other types
2015-05-07 12:59:01 -04:00
Varriount
d882718882 Merge pull request #2665 from koalazen/fix_math_is_power_of_two
fixes isPowerOfTwo returning true on the smallest integer
2015-05-07 12:54:37 -04:00
Koala Zen
cf68d926d8 fixes isPowerOfTwo returning true on the smallest integer 2015-05-06 12:37:15 -07:00
Koala Zen
d620f566b2 Fix comment in re 2015-05-06 09:09:36 -07:00
Jonathan
8e4af5ace0 Add contains proc for tables to allow usage of in 2015-05-05 23:26:58 +01:00
def
c5db4fc3a2 Move the noreturn pragma to sysFatal
Now you can choose to implement sysFatal with --os:standalone so that it
returns.
2015-05-05 20:26:54 +02:00
Araq
288400761c version 0.11.2 2015-05-04 16:47:41 +02:00
Araq
0775402f55 fixes #2651 2015-05-04 16:47:40 +02:00
Andreas Rumpf
ca67687e3b Merge pull request #2648 from def-/zipfiles
Make zipfiles module work again
2015-05-03 17:31:26 +02:00
def
ffad2be237 Make zipfiles module work again
Also adds an example usage to the module
2015-05-03 14:22:49 +02:00
Araq
c6605d3d50 development version is 0.11.1 2015-05-03 01:08:50 +02:00
Araq
7d3a6b42d9 fixes #2625 2015-05-03 01:08:48 +02:00
Chris Heller
2aa61034ba Add deprecated versions of procs in windows.nim that had DWORD parameters converted to SIZE_T 2015-05-01 23:54:28 -07:00
msmith491
50f54bf60b Add arbitrary char support to the strutils proc. Issue #2626 2015-04-30 21:40:26 -07:00
reactormonk
c82cc7c37c Merge pull request #2618 from yglukhov/dom-body-head
Added body and head properties to DOM document.
2015-05-01 03:15:11 +05:00
Araq
a4f8a89c85 preparations for version 0.11.0 2015-04-30 02:01:38 +02:00
def
60862c22f5 Year shouldn't be arbitrarily limited to -10_000 .. 10_000. Instead it's
an int now.
2015-04-29 21:34:03 +02:00
yglukhov
3161f904a5 Added body and head properties to document. 2015-04-29 10:01:26 +03:00
Chris Heller
fcb4d5a44a Update VirtualLock/Unlock to use SIZE_T instead of DWORD for sizes 2015-04-28 10:19:44 -07:00
Chris Heller
26115027bf Update the GlobalAlloc/ReAlloc and LocalAlloc/ReAlloc procs to use SIZE_T instead of DWORD. 2015-04-28 10:12:06 -07:00
Chris Heller
ef46f75572 Update Heap* procs in windows.nim that were using DWORD sizes to use SIZE_T 2015-04-28 10:00:10 -07:00
Chris Heller
c750900286 Update other Virtual* procs that were using dwSize: DWORD to use SIZE_T 2015-04-28 09:53:01 -07:00
Chris Heller
ef887d5d90 Add procs for VirtualAllocEx and VirtualFreeEx in windows.nim 2015-04-27 21:02:48 -07:00
Chris Heller
ab58e844da Change dwSize parameter in VirtualAlloc/Free procs to use SIZE_T instead of DWORD to match MSDN 2015-04-27 21:00:07 -07:00
Araq
c6398d408d fixes #1888 2015-04-27 23:11:59 +02:00
def
1b7cf0e3f3 Add warning about recvLineInto being bound to change 2015-04-26 17:06:41 +02:00
def
84315c6a9c Revert "Introduce FutureVar[T] to make recvLineInto safer."
This reverts commit 72b4912c84.
2015-04-26 17:01:04 +02:00
Araq
e40b667891 fixes regression: overloading by 'var' 2015-04-25 23:17:00 +02:00
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
Araq
6725aa3634 fixes #2517 2015-04-25 23:16:59 +02:00
Araq
ecc0090939 fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with -d:release 2015-04-25 23:16:57 +02:00
Dominik Picheta
47271b094c Merge branch 'def--clean-speedup-2' into devel 2015-04-24 19:50:15 +01:00
def
e5a186a419 Fix Termios wrapper 2015-04-24 19:41:12 +02:00
Dominik Picheta
f4c1c252a7 Fix asyncdispatch on Windows. 2015-04-24 18:12:13 +01:00
Dominik Picheta
72b4912c84 Introduce FutureVar[T] to make recvLineInto safer.
FutureVar[T] is a new distinct Future type which is designed to be used
for situations where the highest performance is needed. It reduces the
number of Future allocations needed. It acts as a replacement for
'var' params in async procs.

This commit modifies @def-'s PR in order to make it safer. The recvLineInto
procedure has been modified to take a ``FutureVar[string]`` param instead of a
``ptr string`` param.
2015-04-24 17:56:04 +01:00
Nycto
4f88238761 Fix floats in tuples in HashSets
Previously, the added tests would fail to compile with
errors complaining that 'hash(float)' didn't exist
2015-04-24 08:25:58 -07:00
Araq
c2d79a6383 fixes #2466 2015-04-24 12:40:59 +02:00
Araq
0c947f31ba system.locals is now a plugin for education 2015-04-24 02:08:06 +02:00
Dominik Picheta
62e1b3e2e3 Some small cleanup. 2015-04-23 21:57:33 +01:00