Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tests green again | Andreas Rumpf | 2016-11-24 | 4 | -4/+4 |
| | |||||
* | reverted deepcopy fix for now | Andreas Rumpf | 2016-11-24 | 1 | -0/+1 |
| | |||||
* | disallow recursive module dependencies | Araq | 2016-11-23 | 6 | -4/+14 |
| | |||||
* | Merge pull request #5036 from flyx/tablesdelfix | Andreas Rumpf | 2016-11-19 | 1 | -1/+24 |
|\ | | | | | Fixes #5035 | ||||
| * | Fixes #5035 | Felix Krause | 2016-11-18 | 1 | -1/+24 |
| | | |||||
* | | added test case for deepcopy | Andreas Rumpf | 2016-11-19 | 1 | -0/+94 |
|/ | |||||
* | Parse 'Z' as valid timezone if offset is expected | Felix Krause | 2016-11-14 | 1 | -0/+4 |
| | |||||
* | Improved `-`; fixed tests | Felix Krause | 2016-11-14 | 1 | -2/+2 |
| | | | | | | * added prefix `-` operator for TimeInterval * improved `-` for both TimeInterval and TimeInfo * Fixed a DST test | ||||
* | Fixed daylight saving time | Felix Krause | 2016-11-14 | 1 | -1/+22 |
| | | | | | | | | | * 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 | ||||
* | Fixed timezone rendering, added test | Felix Krause | 2016-11-10 | 1 | -0/+12 |
| | |||||
* | Merge pull request #5002 from goldenreign/time-compare-nosideeffect | Andreas Rumpf | 2016-11-07 | 1 | -0/+11 |
|\ | | | | | Add 'noSideEffect' pragma for Time type's operators. Fixes #4981 | ||||
| * | Add 'noSideEffect' pragma for Time type's operators | goldenreign | 2016-11-07 | 1 | -0/+11 |
| | | |||||
* | | Merge pull request #4984 from flyx/timezonefix | Andreas Rumpf | 2016-11-07 | 1 | -51/+66 |
|\ \ | |/ |/| | Fixed timezone handling | ||||
| * | Use ISO 8601 format for times.`$`. Fixed tests. | Felix Krause | 2016-11-01 | 1 | -51/+66 |
| | | | | | | | | | | | | * `$` now uses format() with explicit time zone. * Fixed errors in rendering "z", "zz" and "zzz" * Updated tests | ||||
| * | Removed tzname because it's broken | Felix Krause | 2016-11-01 | 1 | -12/+12 |
| | | | | | | | | | | | | | | * No mapping between TimeInfo.tzname and TimeInfo.timezone * tzname of time.h is not well-defined, may have almost arbitrary length, and localization may differ * Code used hardcoded "UTC" string | ||||
* | | async all() now immediately completes if arg is empty | Ruslan Mustakov | 2016-11-03 | 1 | -0/+9 |
|/ | |||||
* | Merge pull request #4980 from jlp765/tostring | Andreas Rumpf | 2016-11-01 | 1 | -0/+2 |
|\ | | | | | Add nill value handling for seq/sets to system.CollectionToString() | ||||
| * | add test: echo a seq with a nil value | jlp765 | 2016-11-01 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'braces' into refactor-identcache | Araq | 2016-10-31 | 1 | -0/+432 |
|\ \ | |/ |/| | |||||
| * | implements #?braces syntax | Araq | 2016-10-16 | 1 | -0/+432 |
| | | |||||
* | | add test | andri lim | 2016-10-27 | 1 | -0/+13 |
| | | |||||
* | | Merge pull request #4924 from nigredo-tori/fix-4917 | Andreas Rumpf | 2016-10-24 | 1 | -0/+22 |
|\ \ | | | | | | | Make createDir return discardable bool | ||||
| * | | Improve as previously discussed | Dmitry Polienko | 2016-10-22 | 1 | -0/+10 |
| | | | | | | | | | | | | Better name for exposed primitive function, checks for pre-existing files | ||||
| * | | Revert createDir signature, expose rawCreateDir | Dmitry Polienko | 2016-10-22 | 1 | -7/+0 |
| | | | |||||
| * | | Make createDir return discardable bool | Dmitry Polienko | 2016-10-22 | 1 | -0/+19 |
| | | | |||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2016-10-24 | 4 | -3/+35 |
|\ \ \ | |||||
| * \ \ | Merge pull request #4800 from Wh1teDuke/FixTesterRunOpt | Andreas Rumpf | 2016-10-24 | 2 | -3/+9 |
| |\ \ \ | | | | | | | | | | | [Tester] allow running single tests with 'run' option | ||||
| | * | | | Run Option: use now processSingleTest | Wh1teDuke | 2016-09-19 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Add processSingleTest, remove file arg from processCategory | Wh1teDuke | 2016-09-19 | 1 | -2/+8 |
| | | | | | |||||
| * | | | | Merge pull request #4819 from andreaferretti/usefulmacros | Andreas Rumpf | 2016-10-24 | 1 | -0/+13 |
| |\ \ \ \ | | | | | | | | | | | | | Some useful macros | ||||
| | * | | | | Added a dump macro for debugging | Andrea Ferretti | 2016-09-22 | 1 | -0/+13 |
| | | | | | | |||||
| * | | | | | Merge pull request #4812 from andreaferretti/jsconsole | Andreas Rumpf | 2016-10-24 | 1 | -0/+13 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Added js console object | ||||
| | * | | | | | Updated js console logging to avoid wrapping into array | Andrea Ferretti | 2016-10-06 | 1 | -2/+6 |
| | | | | | | | |||||
| | * | | | | | Added js console object | Andrea Ferretti | 2016-09-21 | 1 | -0/+9 |
| | |/ / / / | |||||
* | | | | | | make tgetfileinfo work on Windows | Araq | 2016-10-24 | 1 | -8/+16 |
| | | | | | | |||||
* | | | | | | Merge branch 'devel' of https://github.com/rudis/Nim into rudis-devel | Araq | 2016-10-24 | 1 | -1/+31 |
|\ \ \ \ \ \ | |||||
| * | | | | | | tests: add more tests for getFileInfo() | Simon Ruderich | 2016-09-17 | 1 | -1/+31 |
| | | | | | | | |||||
* | | | | | | | cleanup tgorge test | Araq | 2016-10-24 | 2 | -2/+2 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #4872 from flyx/gorgefix | Andreas Rumpf | 2016-10-24 | 3 | -0/+15 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fixes #4871 | ||||
| * | | | | | | Fixes #4871 | Felix Krause | 2016-10-09 | 3 | -0/+15 |
| | |_|_|_|/ | |/| | | | | |||||
* | | | | | | Table fixes. fixes #4901 | Felix Krause | 2016-10-23 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added `==` for OrderedTable, CountTable and the *Ref types * added missing documentation to all `==` procs * fixed clear() for OrderedTables, which did not work because `var` does not work well with `|` * added tests | ||||
* | | | | | | Fix #4922, bug in times.parse, mishandling DST. | Jonathan Bernard | 2016-10-21 | 1 | -0/+16 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | One more attempt to fix #4867 | cheatfate | 2016-10-21 | 1 | -0/+16 |
| | | | | | |||||
* | | | | | fixes #4875 | Andreas Rumpf | 2016-10-20 | 1 | -0/+13 |
| | | | | | |||||
* | | | | | removed async test that never produced reliable results | Andreas Rumpf | 2016-10-20 | 1 | -66/+0 |
| | | | | | |||||
* | | | | | fixes #4856 | Andreas Rumpf | 2016-10-20 | 1 | -0/+14 |
| | | | | | |||||
* | | | | | fixes #4863 | Andreas Rumpf | 2016-10-19 | 1 | -0/+20 |
| | | | | | |||||
* | | | | | Merge pull request #4015 from arnetheduck/initallocator-fix | Andreas Rumpf | 2016-10-13 | 1 | -0/+7 |
|\ \ \ \ \ | | | | | | | | | | | | | fix initAllocator not being called when defined(nogc) and not defined… | ||||
| * | | | | | run gctest for gc:none | Jacek Sieka | 2016-10-12 | 1 | -0/+7 |
| | | | | | | |||||
* | | | | | | Bugfix for times.initInterval (issue #4889) | Jonathan Bernard | 2016-10-12 | 1 | -1/+8 |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `initInterval` had logic to calculate and carry overflowed fields (65 seconds turns into 5 seconds and carries 1 minute). However, we were not including that carried value when we recalculate the carry over for the next period of time.So if you had, for example, 3600 seconds, we carried 60 minutes into the minutes calculation, but when we calculated how much we should carry into the hours value we only considered what the user originally supplied for the minutes field, and forgot to include those 60 carried minute. So, for example, with the previous implementation this was true: `seconds(60 * 60 * 24) == seconds(0)` Or, as failing tests: ```nimrod import times assert seconds(60 * 60 * 24) != seconds(0) assert seconds(60 * 60 * 24) == days(1) ``` |