Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DFA works for simple examples | Andreas Rumpf | 2017-12-21 | 1 | -9/+17 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-12-21 | 2 | -4/+57 |
|\ | |||||
| * | fixes #6353 (#6951) | skilchen | 2017-12-21 | 2 | -4/+57 |
| | | |||||
* | | Merge branch 'pyokagan-compile-deps' into devel | Andreas Rumpf | 2017-12-21 | 3 | -2/+8 |
|\ \ | |/ |/| | |||||
| * | make the new --genDeps feature optional since it makes compilations slower | Andreas Rumpf | 2017-12-21 | 3 | -2/+4 |
| | | |||||
| * | Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into ↵ | Andreas Rumpf | 2017-12-21 | 1 | -1/+5 |
|/| | | | | | | | pyokagan-compile-deps | ||||
| * | writeDepsFile: write included files as well | Paul Tan | 2017-08-25 | 1 | -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 compilation | Paul Tan | 2017-08-25 | 1 | -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-discardable | Dominik Picheta | 2017-12-21 | 2 | -12/+49 |
|\ \ | | | | | | | Make asyncjs Future[void] play nicely with last line discardable calls & forward declaration | ||||
| * | | Fix docs! | Alexander Ivanov | 2017-12-20 | 1 | -2/+2 |
| | | | |||||
| * | | Fix the forward test | Alexander Ivanov | 2017-12-20 | 1 | -4/+5 |
| | | | |||||
| * | | Fix forward | Alexander Ivanov | 2017-12-19 | 1 | -13/+18 |
| | | | |||||
| * | | Make asyncjs Future[void] play nicely with last line discardable calls | Alexander Ivanov | 2017-12-19 | 2 | -5/+36 |
| | | | |||||
* | | | move securehash back into the stdlib | Araq | 2017-12-21 | 5 | -4/+5 |
| | | | |||||
* | | | fixes #6949 | Araq | 2017-12-21 | 1 | -6/+18 |
| | | | |||||
* | | | Fix json generation logic (#6909) | konqoro | 2017-12-21 | 1 | -29/+27 |
| | | | |||||
* | | | Modified behavior of walkDirRec (#6952) | Dmitry Atamanov | 2017-12-21 | 1 | -11/+19 |
| | | | |||||
* | | | fix #6462 | Zahary Karadjov | 2017-12-21 | 3 | -2/+27 |
| | | | |||||
* | | | fix #6277 | Zahary Karadjov | 2017-12-21 | 2 | -1/+21 |
| | | | |||||
* | | | fix #6108 | Zahary Karadjov | 2017-12-21 | 2 | -5/+21 |
| | | | |||||
* | | | testament html generation improvements; merged #6667 manually | Araq | 2017-12-21 | 2 | -256/+217 |
| | | | |||||
* | | | testament: use splitWhitespace instead of split | Araq | 2017-12-21 | 1 | -2/+2 |
| | | | |||||
* | | | cleanup times.nim | Araq | 2017-12-21 | 2 | -9/+9 |
| | | | |||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-21 | 24 | -994/+1316 |
|\ \ \ | |||||
| * | | | Minor fixes to strformat docs (#6953) | Mathias Stearn | 2017-12-21 | 1 | -3/+4 |
| | | | | |||||
| * | | | add missing math.trunc for js backend (#6950) | skilchen | 2017-12-20 | 1 | -0/+2 |
| |/ / | |||||
| * | | make asyncdispatch.poll completing all opterations that can be comple… (#6911) | Andreas Rumpf | 2017-12-19 | 2 | -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 Glukhov | 2017-12-19 | 1 | -0/+8 |
| | | | |||||
| * | | added asyncjs standard library module (#6841) | Alexander Ivanov | 2017-12-19 | 5 | -8/+150 |
| | | | |||||
| * | | Better times module (#6552) | GULPF | 2017-12-18 | 13 | -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 Stearn | 2017-12-18 | 1 | -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 traces | Araq | 2017-12-21 | 17 | -38/+96 |
|/ / | |||||
* | | added new stdlib module 'cstrutils' for easier cstring handling | Araq | 2017-12-18 | 1 | -0/+79 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-18 | 5 | -43/+48 |
|\ \ | |||||
| * | | Prep for tester parallel: private nimcache for each test (#6937) | Mathias Stearn | 2017-12-18 | 3 | -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) | cooldome | 2017-12-17 | 2 | -11/+17 |
| | | | |||||
* | | | next steps in giving Nim a decent DFA infrastructure | Araq | 2017-12-18 | 2 | -8/+86 |
|/ / | |||||
* | | strformat: fix the documentation examples | Araq | 2017-12-17 | 1 | -4/+4 |
| | | |||||
* | | strformat: default for numbers is right alignment | Araq | 2017-12-17 | 1 | -10/+13 |
| | | |||||
* | | strformat: support 'sign' as Python does | Araq | 2017-12-17 | 1 | -25/+36 |
| | | |||||
* | | strformat: added '^' char for center alignment for Python compat | Araq | 2017-12-17 | 1 | -4/+18 |
| | | |||||
* | | fixes #6932 | Araq | 2017-12-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-17 | 2 | -3/+3 |
|\ \ | |||||
| * | | fix #6931 terminal.eraseline() gives OverflowError on Windows (#6933) | skilchen | 2017-12-17 | 1 | -2/+2 |
| | | | |||||
| * | | Name error in example (#6935) | Strømberg | 2017-12-17 | 1 | -1/+1 |
| | | | | | | | | | Name error, example didn't compile . | ||||
* | | | added new stdlib module 'strformat'; refs #5600; refs #6507 | Araq | 2017-12-17 | 4 | -1/+598 |
| | | | |||||
* | | | runnableExamples feature: allow import statements and move them to the top level | Araq | 2017-12-17 | 1 | -0/+10 |
| | | | |||||
* | | | renderer.nim: fixes a long standing bug that kept triple string literals ↵ | Araq | 2017-12-17 | 1 | -1/+1 |
|/ / | | | | | | | from being rendered properly | ||||
* | | make niminst compile again | Araq | 2017-12-16 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-16 | 1 | -1/+2 |
|\ \ |