Commit Graph

4332 Commits

Author SHA1 Message Date
Araq
37c3c0033d generated theindex.html is valid html 2016-09-09 16:16:58 +02:00
Araq
89320e133b Make htmlparser compile without warnings 2016-09-09 16:15:53 +02:00
Andreas Rumpf
6699387c9b make net.nim compile for osx doc2 2016-09-08 15:06:27 +02:00
Andreas Rumpf
1f6b2c4d11 Merge pull request #4733 from cheatfate/asyncssl_and_tests
async: small ssl fix and updated tests
2016-09-08 08:57:47 +02:00
Andreas Rumpf
4cb4961f7c Merge pull request #4732 from cheatfate/borrowse
upcoming_async: Borrow for AsyncEvent.
2016-09-08 08:38:10 +02:00
Anatoly Galiulin
5e48bdd632 Allow to use strtabs module with js target 2016-09-08 10:21:00 +07:00
cheatfate
1350d5312b Removed tests with asyncio.
Fix ssl connection drop in asyncnet
Add tasyncssl test
2016-09-07 12:19:06 +03:00
cheatfate
7788b5a043 Borrow SelectEvent ==. 2016-09-07 10:33:08 +03:00
Dominik Picheta
87eb3a105d Some small fixes to changes introduced by #4683. 2016-09-06 20:35:02 +02:00
Dominik Picheta
3760a8b973 Merge branch 'async_buffers_v2' of https://github.com/vegansk/Nim into vegansk-async_buffers_v2
Merges #4683.
2016-09-06 20:10:19 +02:00
Andreas Rumpf
e554c1d7cf Merge pull request #4725 from cheatfate/fixtest_upcoming
upcoming_async: Fix multiple issues and add test.
2016-09-06 13:48:50 +02:00
cheatfate
ec7aec3d58 Fix windows issues.
Fix semantic of AsyncEvent close/unregister #4694.
Fix #4697.
Added first test.
2016-09-06 12:29:53 +03:00
Anatoly Galiulin
60dbfb2ec9 Revert function names scheme due to the @dom96 comment 2016-09-06 09:31:13 +07:00
Anatoly Galiulin
862d6ad234 Restore `recvInto` for backwards compatibility 2016-09-06 09:31:13 +07:00
Anatoly Galiulin
436a5a01ab Fix typo 2016-09-06 09:31:13 +07:00
Anatoly Galiulin
e4c46e6fba Add async IO operations with buffers on files and sockets 2016-09-06 09:31:13 +07:00
Andreas Rumpf
41f6c08f92 Merge pull request #4717 from nigredo-tori/xml-escaping
xmltree: separate escaping for attributes
2016-09-05 17:18:31 +02:00
Dmitry Polienko
8c9e2d7a43 xmltree: separate escaping for attributes 2016-09-05 15:43:44 +07:00
Andreas Rumpf
4077050a42 fixes a critical tables bug that caused 'enlarge' to crash after 'add' 2016-09-05 08:51:38 +02:00
Andreas Rumpf
147c257720 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-09-04 23:46:01 +02:00
Andreas Rumpf
a5be42c024 Merge branch 'async-readwrite-no-conflict' of https://github.com/endragor/Nim into endragor-async-readwrite-no-conflict 2016-09-04 23:41:18 +02:00
Yuriy Glukhov
99bbda28ee Store stack trace in exception 2016-09-04 22:57:10 +03:00
Dominik Picheta
63851b2c91 Merge pull request #4705 from yglukhov/js-logging
Logging compatible with js
2016-09-04 15:52:34 +02:00
Yuriy Glukhov
a994f142b5 Enabled logging tests for js 2016-09-03 22:46:10 +03:00
Eugene Kabanov
4fa3ded9c7 async: transfer all await/async macro related code to asyncmacro.nim module. (#4704)
* Transfer all async macro related code to asyncmacro.nim.

* Make tests green.
2016-09-03 20:52:45 +02:00
Yuriy Glukhov
c43a7f3980 Logging compatible with js 2016-09-03 21:11:10 +03:00
cheatfate
685830de79 Make upcoming version to be up to date with current version. 2016-09-03 13:41:56 +03:00
Dominik Picheta
46948a9509 Merge pull request #4680 from cheatfate/asyncwinsend
async: protect data argument in windows send operation.
2016-09-02 18:21:35 +02:00
Ruslan Mustakov
b676a08b3a Async read/write procedures no longer replace each other in upcoming asyncdispatch 2016-09-02 19:15:59 +07:00
Araq
7332266c7e Merge branch 'devel' of https://github.com/c-blake/Nim into c-blake-devel 2016-09-02 01:22:59 +02:00
Charles Blake
e4ddcd836c Use new name for call to low-level terminalWidth. 2016-09-01 14:44:33 -04:00
Charles Blake
7b39545eb3 Evidently Travis build termios.h does not pull in sys/ioctl.h
but my initial test system did.
2016-09-01 14:08:40 -04:00
Andreas Rumpf
11f7eb2d9b fixes #4689 2016-09-01 16:57:34 +02:00
Charles Blake
d65589fe27 Make Windows part match Unix part more closely per Araq request. 2016-09-01 08:49:07 -04:00
Charles Blake
8df2078f08 Change type name to be more NEP-1-ish as per Araq request. 2016-09-01 08:33:39 -04:00
Charles Blake
5db1de87b1 Convert TaintedString to string. 2016-09-01 08:16:28 -04:00
Charles Blake
7b73a94afc Oops - L_ctermid must be a global var to compile. 2016-09-01 07:54:17 -04:00
Charles Blake
19f83ccd0b Add terminal.terminalWidth and supporting types/calls. 2016-09-01 07:34:42 -04:00
cheatfate
b75ddf5ba2 Fix 32bit architecture problems with SelectEvent. 2016-08-31 10:30:25 +03:00
cheatfate
c5ffdd0389 Protect data argument for GC. 2016-08-30 23:15:08 +03:00
Yuriy Glukhov
f12f27c185 Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635 2016-08-29 13:10:06 +03:00
Andreas Rumpf
10ee254a50 Merge pull request #4661 from yglukhov/js-uncaught-stacktrace
Uncaught exceptions in JS now always propagate with better stack trace. Fixed codegen bug.
2016-08-29 11:52:41 +02:00
Araq
686ab6a0d2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-08-27 21:12:24 +02:00
Araq
884d5518dd Merged 2016-08-27 20:52:26 +02:00
Yuriy Glukhov
dddae2ddcc Fixed frame corruption 2016-08-27 19:34:31 +03:00
Yuriy Glukhov
c1dd65c01a Reset framePtr on unhabdled exception. Dont reset on getStackTrace. 2016-08-27 18:10:13 +03:00
Yuriy Glukhov
90b0a771e4 Uncaught exceptions in JS now always propagate with better stack trace. 2016-08-27 16:52:08 +03:00
Andreas Rumpf
9b365ddfdd json module: use ordered tables instead of ordinary tables 2016-08-25 20:28:21 +02:00
Andreas Rumpf
54cc702351 update stdlib to not use deprecated symbols 2016-08-25 17:21:48 +02:00
Andreas Rumpf
1e134aed49 Merge pull request #4367 from kierdavis/4365-tables-clear
Improvements to tables.clear()
2016-08-25 16:46:53 +02:00