Commit Graph

9782 Commits

Author SHA1 Message Date
Dominik Picheta
0c527c6d80 Add new article about Nim in Action. 2016-11-20 20:57:46 +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
Andreas Rumpf
9ca3ae14ab Merge pull request #5036 from flyx/tablesdelfix
Fixes #5035
2016-11-19 10:46:43 +01:00
Andreas Rumpf
3eba4b510f added test case for deepcopy 2016-11-19 09:22:29 +01:00
Felix Krause
93a998204c Fixes #5035 2016-11-18 23:42:15 +01:00
Andreas Rumpf
885f250f1b 'koch temp --option' passes options to the compiler compilation itself 2016-11-18 15:28:14 +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
Dominik Picheta
ceff18d479 Merge pull request #5032 from enthus1ast/patch-1
fixed typo
2016-11-17 18:22:29 +01:00
Andreas Rumpf
933f9d9857 Merge pull request #5014 from Parashurama/fix_excessive_stacktrace
make 'excessivestacktrace' option available for testing.
2016-11-17 17:03:24 +01:00
David Krause
5058ae1ba5 fixed typo 2016-11-17 16:47:36 +01:00
Araq
0e1304a3e2 the compiler uses tyAlias internally; tester compiles again 2016-11-16 00:13:45 +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
Andreas Rumpf
26f0c10c6b Merge pull request #5029 from nigredo-tori/unittest-colors
Use default colors for test and suite names
2016-11-15 09:27:52 +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
Araq
e6c5622aa7 removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes 2016-11-14 23:18:30 +01: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
Araq
b234b082b6 bootstrapping works again 2016-11-12 12:39:21 +01:00
Araq
860cbd3107 signature hashing: more progress 2016-11-11 08:58:42 +01:00
Parashurama
bd818d4fe1 make 'excessivestacktrace' option available for testing. 2016-11-10 23:19:23 +01: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
Yuriy Glukhov
2f3c8c2f34 Fixed openssl for android 2016-11-09 15:09:08 +02:00
Andreas Rumpf
d3162fb19a Merge pull request #5008 from apahl/patch-2
added dist/ to .gitignore
2016-11-08 22:06:59 +01:00
Felix Krause
9b2aaf0df6 Fixed timezone sign error
* This was introduced in recent "cosmetic" fix. Not so cosmetic
   after all…
2016-11-08 20:57:53 +01:00
Axel Pahl
9a68e1ad05 added dist/ to .gitignore
When using `./koch tools`, the directory `dist/` is generated (it contains the `nimble` sources).
The `dist` directory was added to .gitignore.
2016-11-08 15:09:37 +01:00
Andreas Rumpf
86b58e83ea Merge pull request #4994 from arnetheduck/nim-check-abi
add a simple sizeof checker to compare nim & c types
2016-11-08 14:08:36 +01:00
Andreas Rumpf
b2f694a326 Merge pull request #5006 from apahl/patch-1
Update .gitignore
2016-11-08 12:59:45 +01:00
Axel Pahl
2f48dbd166 Update .gitignore
Update .gitignore to reflect the new target dir of the generated documentation.
`./koch doc` now writes the documentation to `doc/html/...`
2016-11-08 09:08:42 +01:00
Araq
72af7e6821 use a full MD5 hash with no collision detection for proc names 2016-11-08 08:37:15 +01:00
Araq
c0b8a79315 make tests green 2016-11-08 08:37:14 +01:00
Araq
3b43cff0f8 C codegen: first version of signature hashing for better incremental builds 2016-11-08 08:37:11 +01:00
Araq
c66580911e htmlparser: different error corrections 2016-11-07 18:58:39 +01:00
Andreas Rumpf
4c79583a95 Merge pull request #5002 from goldenreign/time-compare-nosideeffect
Add 'noSideEffect' pragma for Time type's operators. Fixes #4981
2016-11-07 16:52:34 +01:00
Andreas Rumpf
be296c3274 Merge pull request #4984 from flyx/timezonefix
Fixed timezone handling
2016-11-07 14:28:54 +01:00