Commit Graph

2486 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
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
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
Charles Blake
e4ddcd836c Use new name for call to low-level terminalWidth. 2016-09-01 14:44:33 -04: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
dddae2ddcc Fixed frame corruption 2016-08-27 19:34:31 +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
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
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
Felix Krause
68680a9880 Calculate correct yearday in times.parse 2016-08-19 12:34:10 +02:00
Dominik Picheta
006207742f Enable SO_NOSIGPIPE for sockets on OS X. 2016-08-16 21:10:55 +02:00
Dominik Picheta
f44486cc85 Fixes #4406. 2016-08-13 23:30:22 +02:00
cheatfate
ab69849a05 Resolve #4606
Resolve some new deprecated warnings for test.
2016-08-12 02:41:23 +03:00
Dmitry Polienko
2edd3786ce Add a workaround for threadpool deadlocks on recursion 2016-08-11 03:11:57 -07:00
Andreas Rumpf
f1092512e3 tiny style changes 2016-08-09 14:16:26 +02:00
andri lim
be6f792cbd Fixed #4532, VS2010 now can compile Nim
Fixed #4532, VS2010 now can compile Nim


Fixed #4532, VS2010 now can compile Nim
2016-08-08 20:24:33 +07:00
Mathijs Saey
756beb5b5b Removed trailing whitespace in math module 2016-08-05 17:58:31 +02:00
Mathijs Saey
2a84206e89 Fixed #4574 2016-08-05 17:57:51 +02:00
James Parkinson
a241b0f131 Add doco on mapMem(), extend doco on open(), and add extra lines space for readability 2016-08-05 20:55:25 +10:00
Andreas Rumpf
64663387db fixes #4562 2016-08-04 01:37:41 +02:00
Andrey Sobolev
3c03877701 Enable embedded profiler to display filenames.
Enable embedded profiler to display filenames in profile_results.txt
2016-08-02 19:19:31 +07:00
Dominik Picheta
8e853368c3 Merge branch 'devel' of https://github.com/RyanMarcus/Nim into RyanMarcus-devel 2016-07-30 21:29:00 +02:00
Andreas Rumpf
8876ed23f1 expr and stmt are now deprecated 2016-07-30 16:34:42 +02:00
Andreas Rumpf
a8edf67a28 make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Andreas Rumpf
d7a1abd5f7 Merge pull request #4527 from hendi/httpclient-close-sockets
make httpclient close opened Socket on error
2016-07-28 20:54:58 +02:00
Andreas Rumpf
c23cbe1722 Merge branch 'htmlparser' of https://github.com/Lompik/Nim into Lompik-htmlparser 2016-07-28 20:48:38 +02:00
Hendrik Richter
4bef9d020d use defer instead of try ... finally 2016-07-28 15:50:34 +02:00