Commit Graph

2682 Commits

Author SHA1 Message Date
Andreas Rumpf
36a9703866 Merge branch 'devel' into sighashes 2016-12-06 10:08:38 +01:00
Andreas Rumpf
14b9eaee06 Merge pull request #5078 from johnnovak/terminal-height
Add terminalHeight, terminalHeightIoctl & terminalSize
2016-12-06 08:49:07 +01:00
Yuriy Glukhov
4423da465a Workaround for #5098 2016-12-05 23:44:55 +02:00
Dominik Picheta
d6ab21eed5 Merge pull request #5080 from FedericoCeratto/httpheaders
Add HTTP header deletion, improve tests
2016-12-01 18:01:04 +01:00
Andreas Rumpf
0f700d2277 Merge pull request #5074 from nigredo-tori/fix-5073
Make xmltree.innerText recursive, define for all node kinds
2016-12-01 11:20:27 +01:00
Araq
2eee15d7f3 Merge branch 'devel' into sighashes 2016-12-01 10:06:41 +01:00
Dmitry Polienko
ff69656f80 Clean up (as suggested by @Araq) 2016-12-01 09:14:14 +07:00
Federico Ceratto
74e442f766 Add HTTP header deletion, improve tests 2016-12-01 00:11:59 +00:00
Dominik Picheta
75345ad1aa Merge pull request #5069 from yglukhov/ssl-init-fix
Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.
2016-11-30 18:44:20 +01:00
Yuriy Glukhov
a80a0972b7 Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern. 2016-11-30 17:16:54 +02:00
John Novak
3fcb8a3246 Add terminalHeight, terminalHeightIoctl & terminalSize 2016-11-30 21:29:35 +10:00
Dmitry Polienko
6bd86f7543 Rewrite xmltools.innerText
Make it recursive, define for node types other than xnElement
2016-11-30 10:38:22 +07:00
cheatfate
d40b783110 Add comments to latest fixes.
One more fix.
Some artifacts removed.
2016-11-30 04:55:17 +02:00
Dominik Picheta
9ee3a887f2 Merge pull request #5051 from FedericoCeratto/smtp_test
Improve SMTP testing
2016-11-29 20:35:25 +01:00
Araq
82448b1304 times.nim: remove code duplication 2016-11-29 10:36:42 +01:00
Andreas Rumpf
ab43ad13dc Merge pull request #5058 from johnnovak/terminal-win-fix
Fix setStyle for Windows
2016-11-29 01:57:14 +01:00
Araq
27723af469 Merge branch 'devel' into sighashes 2016-11-28 20:59:30 +01:00
Andreas Rumpf
6a83306b5f Merge pull request #5060 from johnnovak/terminal-showhide-cursor
Add hideCursor & showCursor
2016-11-28 13:32:42 +01:00
Andreas Rumpf
1a85c5231b Merge pull request #5044 from endragor/deques
Added deques module, deprecating queues
2016-11-28 10:29:05 +01:00
Yuriy Glukhov
10292a2626 Corrected test case for #5057. 2016-11-27 13:34:24 +02:00
John Novak
88e01ffd92 Add hideCursor & showCursor 2016-11-26 21:08:01 +10:00
Yuriy Glukhov
41205493c0 Fixes #5057 2016-11-26 12:43:36 +02:00
John Novak
64dd3eb9c1 Fix setStyle for Windows
* setStyle did not take the current color flags into account on Windows, this
  is fixed now
* refactoring to get rid of magic constants
2016-11-26 16:36:08 +10:00
Federico Ceratto
bebeee46de Improve SMTP testing
Test both sync and async email delivery
2016-11-24 16:25:21 +00:00
Ruslan Mustakov
2c146445bc Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00
Andreas Rumpf
249fd5e56b further memtracking improvements 2016-11-24 08:27:19 +01:00
Andreas Rumpf
204838b358 make tests green again 2016-11-22 10:01:51 +01:00
Andreas Rumpf
439f43fc52 better memory tracking 2016-11-22 08:40:57 +01:00
Dominik Picheta
c538e1ae08 Fixes asyncdispatch.all completing its res future more than once. 2016-11-21 23:44:38 +01:00
Andreas Rumpf
585a970106 json.toUgly also uses optimized string routines 2016-11-21 15:16:54 +01:00
Andreas Rumpf
18690d4a61 speed up json core module 2016-11-21 13:54:16 +01:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Dominik Picheta
53f5f26c66 Merge pull request #5037 from FedericoCeratto/patch-18
Add [un]marshalling examples
2016-11-19 20:40:35 +01:00
Dominik Picheta
beb44ef13d Async: Refactors asyncdispatch.poll. 2016-11-19 20:21:52 +01:00
Dominik Picheta
ffbe7382f8 Async: Fixes problem when callbacks add other callbacks.
For context, see http://irclogs.nim-lang.org/19-11-2016.html#19:08:51
2016-11-19 20:16:15 +01:00
Dominik Picheta
d847d35009 Async: Further callbacks will no longer be called after an EAGAIN.
For context, see discussion here https://gitter.im/nim-lang/Nim?at=583090a2df9f0f6e7f576e43 or here http://irclogs.nim-lang.org/19-11-2016.html#17:30:59.
2016-11-19 20:06:23 +01:00
Federico Ceratto
0ce459ac53 Add marshal format warning 2016-11-19 18:52:28 +00:00
Federico Ceratto
80744fe4f7 Add [un]marshalling examples 2016-11-19 16:55:47 +00:00
Felix Krause
93a998204c Fixes #5035 2016-11-18 23:42:15 +01:00
David Krause
5058ae1ba5 fixed typo 2016-11-17 16:47:36 +01:00
Andreas Rumpf
c629d6fef1 Merge pull request #5024 from flyx/timesimprovement
Improvements to times.nim
2016-11-15 09:32:48 +01:00
Andreas Rumpf
ff628e242f Merge pull request #5027 from nigredo-tori/descriptor-logger
Add newFileLogger overload accepting file descriptor
2016-11-15 09:29:29 +01:00
Dmitry Polienko
c62c38ca46 Use default colors for test and suite names 2016-11-15 13:43:39 +07:00
Dmitry Polienko
2c46fdd0ab Add newFileLogger overload accepting file descriptor 2016-11-15 12:13:05 +07:00
Felix Krause
0ffd14e169 Updated times.parse() documentation 2016-11-14 19:18:23 +01:00
Felix Krause
434c27343e Parse 'Z' as valid timezone if offset is expected 2016-11-14 18:46:35 +01:00
Dominik Picheta
52f20abf22 Merge pull request #5023 from nigredo-tori/fix-5022
Fix asyncfile in Windows Server 2003
2016-11-14 18:45:48 +01:00
Felix Krause
0587a57807 Assume local DST iff no timezone is given 2016-11-14 18:36:03 +01:00
Felix Krause
aa08c32c2b Improved -; fixed tests
* added prefix `-` operator for TimeInterval
 * improved `-` for both TimeInterval and TimeInfo
 * Fixed a DST test
2016-11-14 18:28:55 +01:00
Felix Krause
544a2cfe1a Fixed daylight saving time
* When formatting timezone, substract 1 hour from timezone when isDST
 * Do not depend DST in current timezone when parsing arbitrary date
   because formatted timestamps are never in DST.
 * On the way, removed an unnecessary line in parsing code which could
   cause bugs.
 * Added DST tests
2016-11-14 18:28:55 +01:00