Commit Graph

4609 Commits

Author SHA1 Message Date
Andreas Rumpf
ab43ad13dc Merge pull request #5058 from johnnovak/terminal-win-fix
Fix setStyle for Windows
2016-11-29 01:57:14 +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
e5ef32dab3 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-11-28 11:03:24 +01:00
Andreas Rumpf
734443d725 system.deepCopy should show old behaviour 2016-11-28 11:03:01 +01:00
Andreas Rumpf
7ca72a733c use -d:nimTypeNames to create RTTI with type names 2016-11-28 10:56:45 +01:00
Andreas Rumpf
d2d851a1f3 Merge pull request #4878 from yglukhov/gc-frameinfo
Cosmetics
2016-11-28 10:31:06 +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
Andreas Rumpf
e83d11e8f1 deepcopy fix 2016-11-26 14:15:37 +01: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
Ruslan Mustakov
2c146445bc Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00
Andreas Rumpf
2316c71e09 reverted deepcopy fix for now 2016-11-24 10:52:33 +01: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
83ffc6bf54 sqlite: removes weird spacing 2016-11-22 10:01:14 +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
Dominik Picheta
7c9a61f241 Merge pull request #5041 from cheatfate/upcoming_async_update1
upcoming_asyncdispatch, make it compatible again
2016-11-21 20:40:05 +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
9ca15ad369 string.add for floats and ints for more performance (JS not yet supported) 2016-11-21 13:53:55 +01:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Andreas Rumpf
fa101a722f updated sqlite3 wrapper slightly 2016-11-21 12:10:44 +01:00
cheatfate
b835df0a2b make semantic equal to current version 2016-11-20 01:20:59 +02: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
Andreas Rumpf
7c1b5b3c2b fixes deepcopy regression 2016-11-18 09:54:12 +01:00
Andreas Rumpf
8875ca750f deepCopy: proper sharing of refs 2016-11-17 19:57:35 +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
Andreas Rumpf
4a4a3cdf67 Merge pull request #5009 from flyx/timezonefix2
Fixed timezone sign error
2016-11-14 16:44:01 +01:00
Dmitry Polienko
e695d3bfba Fix asyncfile in Windows Server 2003
Fixes #5022
2016-11-14 02:55:57 -08:00
Felix Krause
91a0674961 Fixed timezone rendering, added test 2016-11-10 19:03:46 +01:00
Dominik Picheta
a29387424a Merge pull request #5011 from yglukhov/opensll-android
Fixed openssl for android
2016-11-09 20:39:41 +01:00