Commit Graph

3518 Commits

Author SHA1 Message Date
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
Wim Lewis
df1cdced1d Make the post-connection wrapSocket() call available in both the synchronous and asynchrinous net modules. 2015-04-26 22:10:35 -07: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
Simon Hafner
147037bd1e added id for sexp 2015-04-26 08:36:54 +05: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
Wim Lewis
9c19ce0698 Add a handshake parameter to wrapSocket() to allow it to work on an already-connected socket. 2015-04-23 20:45:33 -07: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
Dominik Picheta
03cbf689a1 Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into def--clean-speedup-2 2015-04-23 15:26:39 +01:00
Simon Hafner
7d42eb2de2 barebones in nimsuggest for EPC 2015-04-22 21:53:04 +05:00
Araq
d631958124 news.txt updates; fixes bootstrapping 2015-04-22 13:57:20 +02:00
Araq
4be0d16520 added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler 2015-04-22 12:04:11 +02:00
Araq
aacaa8f171 cleaned up some magics to make room for new magics; added '..<' and '..^' templates 2015-04-22 12:04:09 +02:00
Simon Hafner
766b7ea61d enabled sexp tests 2015-04-22 06:11:30 +05:00
Oleh Prypin
22db40e5e4 Turn some test outputs into actual tests 2015-04-21 15:59:32 +03:00
Oleh Prypin
c433ae1aaa Fix romans module 2015-04-21 14:40:18 +03:00
Oleh Prypin
a8c3c2ef0d Fix a test in xmltree 2015-04-21 14:39:34 +03:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
Andreas Rumpf
d203d6fad4 Merge pull request #2411 from reactormonk/merge-counttables
merge for CountTable, see #1680
2015-04-21 09:04:46 +02:00
Andreas Rumpf
72e513991f Merge pull request #2572 from maxgrenderjones/fix-2431-against-devel
{} returns nested results in json & standardise on 'key' not 'name'
2015-04-21 09:02:39 +02:00
Andreas Rumpf
1b80e2f296 Merge pull request #2506 from BlaXpirit/update-pcre
Update and improve PCRE wrapper
2015-04-21 08:58:28 +02:00
Andreas Rumpf
f7f5a690a9 Merge pull request #2449 from def-/slice-items
Add items iterator for slices
2015-04-21 08:56:59 +02:00
Araq
43eae0c113 macros: added bool literal support 2015-04-20 20:40:10 +02:00
Araq
2b4e233510 Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-04-20 11:44:54 +02:00
Araq
dc3a0bc009 added macros.newTree proc (why didn't we do this earlier?) 2015-04-20 11:34:18 +02:00
Araq
5cea6807e1 fixes #2476 2015-04-19 02:43:19 +02:00
Josep Sanjuas
f72bb57fff Convert to float before sum 2015-04-18 13:40:20 +02:00
Josep Sanjuas
44246b6709 Document toFloat is necessary 2015-04-18 13:38:15 +02:00
Josep Sanjuas
e76f54e059 Generalize variance to other types 2015-04-18 13:28:48 +02:00
Kay Zheng
a11a2f0fdb Check for async errors in 2015-04-18 10:27:35 +08:00