summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Implement language feature #6885 (#6954)cooldome2017-12-241-1/+0
|
* cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968)Mathias Stearn2017-12-242-5/+8
|
* Merge pull request #6957 from cheatfate/fix6906Dominik Picheta2017-12-221-1/+1
|\ | | | | Fix #6906
| * Fix #6906cheatfate2017-12-211-1/+1
| |
* | Merge pull request #6725 from FedericoCeratto/unittest-5114Dominik Picheta2017-12-221-11/+80
|\ \ | | | | | | Add unittest suite/test name filters
| * | Add unittest suite/test name filtersFederico Ceratto2017-11-281-11/+80
| | | | | | | | | | | | Support simple globbing
* | | fixes #6353 (#6951)skilchen2017-12-211-4/+13
| |/ |/|
* | Merge pull request #6944 from alehander42/fix-discardableDominik Picheta2017-12-211-6/+37
|\ \ | | | | | | Make asyncjs Future[void] play nicely with last line discardable calls & forward declaration
| * | Fix docs!Alexander Ivanov2017-12-201-2/+2
| | |
| * | Fix forwardAlexander Ivanov2017-12-191-13/+18
| | |
| * | Make asyncjs Future[void] play nicely with last line discardable callsAlexander Ivanov2017-12-191-3/+29
| | |
* | | move securehash back into the stdlibAraq2017-12-211-0/+195
| | |
* | | Modified behavior of walkDirRec (#6952)Dmitry Atamanov2017-12-211-11/+19
| | |
* | | cleanup times.nimAraq2017-12-211-8/+7
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-2116-806/+1018
|\ \ \
| * | | 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-191-11/+32
| | | | | | | | | 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-191-0/+110
| | |
| * | Better times module (#6552)GULPF2017-12-1811-792/+862
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | first steps in adding template/macro calls to stack tracesAraq2017-12-212-1/+13
|/ /
* | added new stdlib module 'cstrutils' for easier cstring handlingAraq2017-12-181-0/+79
| |
* | 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
| |
* | 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-171-0/+590
|/ /
* | Merge branch 'parsesql' of https://github.com/treeform/Nim into ↵Araq2017-12-151-187/+276
|\ \ | | | | | | | | | treeform-parsesql
| * | fixtreeform2017-12-143-12/+8
| | |
| * | Fix identifier in cursor* templates in terminalJon Caldwell2017-12-141-4/+4
| | |
| * | Fix onSignal exampleFederico Ceratto2017-12-141-4/+7
| | |
| * | Expand dbQuote to handle backslashesEuan T2017-12-141-0/+1
| | |
| * | fixtreeform2017-12-141-100/+85
| | |
| * | fixtreeform2017-12-141-17/+24
| | |
| * | fixtreeform2017-12-141-159/+256
| | |
* | | Merge branch 'issue-6805' of https://github.com/Veladus/Nim into ↵Araq2017-12-151-1/+1
|\ \ \ | | | | | | | | | | | | Veladus-issue-6805
| * | | Now analyzes over magics instead of symbol names; but dosn't compile for meVeladus2017-12-111-1/+1
| | | |
* | | | Fix counttable smallest loop start (#6917)GULPF2017-12-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Fix counttable smallest * Fix counttable smallest loop start
* | | | make JS tests green againAraq2017-12-151-1/+1
| | | |
* | | | many improvements to random.nim; fixes #4726Araq2017-12-141-26/+97
| | | |
* | | | fixes #6033Araq2017-12-141-195/+0
| |/ / |/| |
* | | Improved collection-to-string behavior (#6825)Fabian Keller2017-12-147-36/+79
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-12-144-15/+124
|\ \ \
| * | | Genode: constrain `osTryAllocPages` to RAM quota (#6883)Emery Hemingway2017-12-142-11/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Genode software components all start with an explicit RAM resource quota which may or may not be upgraded during runtime by the parent process. With this patch `osTryAllocPages` will fail if allocation exceeds quotas set by the parent and the `osAllocPages` procedure will trigger a blocking request to the parent to increase quotas. The previous behavior could potentially block both procedures indefinitely for a quota upgrade rather than fail and trigger garbage collection. This patch also adds tracking of Genode dataspace mappings into the component address space so they can be detached and freed.
| * | | Small fix for js domkonqoro2017-12-131-2/+2
| | | |
| * | | Fix counttable smallest (#6912)GULPF2017-12-131-2/+7
| | | |