Commit Graph

4320 Commits

Author SHA1 Message Date
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
Andreas Rumpf
9c33a5f0b1 Merge pull request #4603 from nigredo-tori/threadpool-deadlocks
Add a workaround for threadpool deadlocks on recursion
2016-08-25 16:38:47 +02:00
Andreas Rumpf
feec7f9334 Merge pull request #4629 from flyx/times-parse-yearday
Calculate correct yearday in times.parse
2016-08-25 16:36:49 +02:00
Dmitry Polienko
885543e43e Add a lock to prevent race condition 2016-08-24 22:01:37 +07:00
Felix Krause
7e342ec4a1 unittest: Output suite name, nice formatting 2016-08-23 19:23:58 +02:00
Andreas Rumpf
eb03040d7d Merge pull request #4645 from endragor/asyncevent-recursion
Fixed infinite recursion in setEvent and close procs in new asyncdispatch
2016-08-23 14:37:14 +02:00
Andreas Rumpf
605ff68839 Merge pull request #4648 from endragor/remove-gensym-pragma
Removed the use of .gensym pragma from stdlib templates
2016-08-23 14:36:49 +02:00
Dennis Felsing
2ee88fef53 Get rid of initialization warning 2016-08-23 12:26:38 +02:00
Andreas Rumpf
660e4e7123 Merge pull request #4646 from endragor/genoid-race
Fixed race condition in genOid()
2016-08-23 10:45:57 +02:00
Andreas Rumpf
bbfe28ec5c make tests green again 2016-08-23 10:16:52 +02:00
Ruslan Mustakov
91d3661522 Removed the use of .gensym pragma inside stdlib templates 2016-08-23 14:01:16 +07:00
Ruslan Mustakov
2dc3d5c967 Fixed race condition in genOid() 2016-08-23 13:57:03 +07:00
Ruslan Mustakov
b6844bf487 Fixed infinite recursion in setEvent and close procs in upcoming asyncdispatch 2016-08-23 13:48:23 +07:00