Commit Graph

2511 Commits

Author SHA1 Message Date
Simon Ruderich
fc0a3dceaf os: always use pcLinkToDir as kind for links to directories
Only the OS-specific case in walkDir() handled that correctly. Adapt the
general case and handle it in getFileInfo().
2016-09-17 18:32:45 +02:00
Dominik Picheta
dfe416eaad Fixes Futures' or operation so that asyncftpclient compiles. 2016-09-17 17:21:05 +02:00
Dominik Picheta
75e5c87f15 Fixes #4170. 2016-09-17 14:19:26 +02:00
Dominik Picheta
5bf16439e1 Fixes #4262. 2016-09-17 13:22:04 +02:00
Andreas Rumpf
e78b9b7268 Merge pull request #4782 from endragor/marshal-non-utf8
Use array encoding for non-UTF-8 strings in marshal
2016-09-17 00:00:52 +02:00
Ruslan Mustakov
e26f9cb665 Use array encoding for non-UTF-8 strings in marshal. Fixes #4779. 2016-09-16 17:02:34 +07:00
pyloor
453f8357c0 fix missing procvar pragma 2016-09-16 03:06:13 +02:00
Andreas Rumpf
0531658c00 Merge pull request #4771 from rudis/devel
Misc minor (doc) fixes
2016-09-16 01:38:59 +02:00
Andreas Rumpf
20b844ec53 Merge pull request #4759 from endragor/marshal-strs-as-arrays
marshal now can handle binary strings
2016-09-15 11:18:10 +02:00
Simon Ruderich
21433477df os: createHardlink: clarify documentation
I know no (UNIX-like) system which restricts creation of hardlinks.
2016-09-15 04:20:45 +02:00
Simon Ruderich
af2b0aed06 algorithm: sort: fix link in documentation 2016-09-15 04:20:24 +02:00
Simon Ruderich
4f1886621e os: createSymlink: fix typo in documentation 2016-09-15 04:20:24 +02:00
Araq
6a1b8e691f fixes #4764, fixes #4731, fixes #4724 2016-09-14 19:59:32 +02:00
Ruslan Mustakov
6013240f5d marshal now can handle binary data in strings 2016-09-13 22:29:35 +07:00
Andreas Rumpf
5f685bb0e6 fixes #4760 2016-09-13 17:20:53 +02:00
Dmitry Polienko
d810b4515e Fix AsyncSocket send 2016-09-12 22:42:12 -07:00
Andreas Rumpf
a57a5d8980 Merge pull request #4739 from coffeepots/patch-2
Allow compilation of sharedtables.nim
2016-09-09 21:09:31 +02:00
Araq
3a3aeb94ec minor stdlib cleanups 2016-09-09 20:41:26 +02:00
Araq
89320e133b Make htmlparser compile without warnings 2016-09-09 16:15:53 +02:00
coffeepots
9af584707d Allow compilation of sharedtables.nim
tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl.
2016-09-09 11:53:17 +01: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
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
Dominik Picheta
87eb3a105d Some small fixes to changes introduced by #4683. 2016-09-06 20:35:02 +02: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
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