summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* DFA works for simple examplesAndreas Rumpf2017-12-211-9/+17
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-12-212-4/+57
|\
| * fixes #6353 (#6951)skilchen2017-12-212-4/+57
| |
* | Merge branch 'pyokagan-compile-deps' into develAndreas Rumpf2017-12-213-2/+8
|\ \ | |/ |/|
| * make the new --genDeps feature optional since it makes compilations slowerAndreas Rumpf2017-12-213-2/+4
| |
| * Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into ↵Andreas Rumpf2017-12-211-1/+5
|/| | | | | | | pyokagan-compile-deps
| * writeDepsFile: write included files as wellPaul Tan2017-08-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `writeDepsFile()` does not list files which were included with the `include` statement, e.g, with: import file1 include file2 `file1` will be written to the deps file, while `file2` would not. Fix this by modifying `writeDepsFile()` to write included files as well. Now, both `file1` and `file2` in the above example will be written to the deps file.
| * Generate deps file during C compilationPaul Tan2017-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The "genDepend" command was previously taught how to generate a "deps" file in 4910a87c6 (gendepend improvements; refs #5144). Such a deps file is useful in integrating the Nim compiler with an external build system or watch daemon, such that it's possible to only run the Nim compiler when any of the source files are modified. It's also useful to generate the deps file in the nimcache directory during C compilation, without needing to re-run the compilation passes with "genDepend". This would thus reduce overall project build times.
* | Merge pull request #6944 from alehander42/fix-discardableDominik Picheta2017-12-212-12/+49
|\ \ | | | | | | Make asyncjs Future[void] play nicely with last line discardable calls & forward declaration
| * | Fix docs!Alexander Ivanov2017-12-201-2/+2
| | |
| * | Fix the forward testAlexander Ivanov2017-12-201-4/+5
| | |
| * | Fix forwardAlexander Ivanov2017-12-191-13/+18
| | |
| * | Make asyncjs Future[void] play nicely with last line discardable callsAlexander Ivanov2017-12-192-5/+36
| | |
* | | move securehash back into the stdlibAraq2017-12-215-4/+5
| | |
* | | fixes #6949Araq2017-12-211-6/+18
| | |
* | | Fix json generation logic (#6909)konqoro2017-12-211-29/+27
| | |
* | | Modified behavior of walkDirRec (#6952)Dmitry Atamanov2017-12-211-11/+19
| | |
* | | fix #6462Zahary Karadjov2017-12-213-2/+27
| | |
* | | fix #6277Zahary Karadjov2017-12-212-1/+21
| | |
* | | fix #6108Zahary Karadjov2017-12-212-5/+21
| | |
* | | testament html generation improvements; merged #6667 manuallyAraq2017-12-212-256/+217
| | |
* | | testament: use splitWhitespace instead of splitAraq2017-12-211-2/+2
| | |
* | | cleanup times.nimAraq2017-12-212-9/+9
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-2124-994/+1316
|\ \ \
| * | | Minor fixes to strformat docs (#6953)Mathias Stearn2017-12-211-3/+4
| | | |
| * | | add missing math.trunc for js backend (#6950)skilchen2017-12-201-0/+2
| |/ /
| * | make asyncdispatch.poll completing all opterations that can be comple… (#6911)Andreas Rumpf2017-12-192-14/+35
| | | | | | | | | introduce asyncdispatch.drain that completes all operations that can be completed immediately; implements #6523
| * | Added a couple of procs for RSA verification (#6942)Yuriy Glukhov2017-12-191-0/+8
| | |
| * | added asyncjs standard library module (#6841)Alexander Ivanov2017-12-195-8/+150
| | |
| * | Better times module (#6552)GULPF2017-12-1813-967/+1106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First work on better timezones * Update tests to new api. Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead). * Deprecate getLocaltime & getGmTime * Add `now()` as a shorthand for GetTIme().inZone(Local) * Add FedericoCeratto's timezone tests (#6548) * Run more tests in all timezones * Make month enum start at 1 instead of 0 * Deprecate getDayOfWeekJulian * Fix issues with gc safety * Rename TimeInfo => DateTime * Fixes #6465 * Improve isLeapYear * FIx handling negative adjTime * Cleanup: - deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float) - added missing doc comments - removed some unnecessary JS specific implementations * Fix misstake in JS `-` for Time * Update usage of TimeEffect * Removed unecessary use of `difftime` * JS fix for local tz * Fix subtraction of months * Fix `days` field in `toTimeInterval` * Style and docs * Fix getDayOfYear for real this time... * Fix handling of adding/subtracting time across dst transitions * Fix some bad usage of the times module in the stdlib * Revert to use proper time resoultion for seeding in random.nim * Move deprecated procs to bottom of file * Always use `epochTime` in `randomize` * Remove TimeInterval normalization * Fixes #6905 * Fix getDayOfWeek for year < 1 * Export toEpochDay/fromEpochDay and change year/month/monthday order * Add asserts for checking that the monthday is valid * Fix some remaining ambiguous references to `Time` * Fix ambiguous reference to Time
| * | Use escape sequences rather than hex in string/char literals (#6941)Mathias Stearn2017-12-181-2/+11
| | | | | | | | | | | | This should makes documentation easier to read for people who haven't committed the ascii table to memory.
* | | first steps in adding template/macro calls to stack tracesAraq2017-12-2117-38/+96
|/ /
* | added new stdlib module 'cstrutils' for easier cstring handlingAraq2017-12-181-0/+79
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-185-43/+48
|\ \
| * | Prep for tester parallel: private nimcache for each test (#6937)Mathias Stearn2017-12-183-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Compile tester with --opt:speed This makes "tester html" substantially faster * Use a private nimcache for each test This allows reusing the cache between test runs. It is also prep for parallel testing within a single category (#6913)
| * | Alternative fix for #4910 that covers #6892; fixes #6892 (#6938)cooldome2017-12-172-11/+17
| | |
* | | next steps in giving Nim a decent DFA infrastructureAraq2017-12-182-8/+86
|/ /
* | strformat: fix the documentation examplesAraq2017-12-171-4/+4
| |
* | strformat: default for numbers is right alignmentAraq2017-12-171-10/+13
| |
* | strformat: support 'sign' as Python doesAraq2017-12-171-25/+36
| |
* | strformat: added '^' char for center alignment for Python compatAraq2017-12-171-4/+18
| |
* | fixes #6932Araq2017-12-171-1/+1
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-172-3/+3
|\ \
| * | fix #6931 terminal.eraseline() gives OverflowError on Windows (#6933)skilchen2017-12-171-2/+2
| | |
| * | Name error in example (#6935)Strømberg2017-12-171-1/+1
| | | | | | | | | Name error, example didn't compile .
* | | added new stdlib module 'strformat'; refs #5600; refs #6507Araq2017-12-174-1/+598
| | |
* | | runnableExamples feature: allow import statements and move them to the top levelAraq2017-12-171-0/+10
| | |
* | | renderer.nim: fixes a long standing bug that kept triple string literals ↵Araq2017-12-171-1/+1
|/ / | | | | | | from being rendered properly
* | make niminst compile againAraq2017-12-161-2/+2
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-161-1/+2
|\ \