Commit Graph

11210 Commits

Author SHA1 Message Date
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
Andreas Rumpf
d7bfafaa42 Merge pull request #5003 from zevlg/strutils-enh
[enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
2016-11-07 13:47:22 +01:00
Araq
24c47dd6e7 fixes #4975 2016-11-07 12:07:52 +01:00
Zajcev Evgeny
b1a369d2fb [enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
iteration as soon as possible
2016-11-07 13:21:17 +03:00
Felix Krause
6e604e2f9f More cosmetic changes
* Don't use factor var, it's overly complicated
 * Removed proc that's now unused
 * Better documented timezone field
2016-11-07 11:08:31 +01:00
goldenreign
63c450abdc Fix - operator for Time type for JS target 2016-11-07 14:26:27 +07:00
goldenreign
554105ff7c Add 'noSideEffect' pragma for Time type's operators 2016-11-07 12:14:28 +07:00
Araq
8b30506f72 never was documented anyway 2016-11-07 00:56:47 +01:00
Araq
52bb696cd4 make tests green again 2016-11-06 18:59:49 +01:00
Araq
d6601b729f Merge branch 'devel' into new-dependency-tracking 2016-11-06 17:35:16 +01:00
Andreas Rumpf
2f7c2de1c2 nimsuggest: minor bugfix; include file should be dirtied, no the belonging module 2016-11-06 17:33:33 +01:00
Andreas Rumpf
2caf08855f nimsuggest supports include files properly; added the compiler itself as a testcase 2016-11-06 17:33:33 +01:00
Andreas Rumpf
fc7127153f nimsuggest & tester: many improvements, test new dependency tracking 2016-11-06 17:33:33 +01:00
Andreas Rumpf
91bcf99d8a os.nim: posix copyFile showed a weird problem about buffer flushing; worked around via flushFile() call 2016-11-06 17:33:33 +01:00
Andreas Rumpf
a99b94e523 nimsuggest tester supports editing of files 2016-11-06 17:33:33 +01:00
Araq
03edb91caf added missing module 2016-11-06 17:33:33 +01:00
Araq
bec9c4be27 new dependency tracking for nimsuggest 2016-11-06 17:33:33 +01:00
Andreas Rumpf
21288c220a nimsuggest: minor bugfix; include file should be dirtied, no the belonging module 2016-11-06 17:13:40 +01:00
Andreas Rumpf
0c49822b50 nimsuggest supports include files properly; added the compiler itself as a testcase 2016-11-06 11:19:59 +01:00
Andreas Rumpf
eb2455075e nimsuggest & tester: many improvements, test new dependency tracking 2016-11-05 22:56:33 +01:00
Andreas Rumpf
a644471b12 os.nim: posix copyFile showed a weird problem about buffer flushing; worked around via flushFile() call 2016-11-05 22:54:52 +01:00
Andreas Rumpf
5471b1eaca htmlparser: support parsing of class=foobar without quotes 2016-11-05 15:27:47 +01:00
Andreas Rumpf
162f5ddb7d nimsuggest tester supports editing of files 2016-11-05 10:32:24 +01:00