Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -0/+110 |
| | |||||
* | Better times module (#6552) | GULPF | 2017-12-18 | 11 | -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 | ||||
* | added new stdlib module 'cstrutils' for easier cstring handling | Araq | 2017-12-18 | 1 | -0/+79 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+590 |
|/ | |||||
* | Merge branch 'parsesql' of https://github.com/treeform/Nim into ↵ | Araq | 2017-12-15 | 1 | -187/+276 |
|\ | | | | | | | treeform-parsesql | ||||
| * | fix | treeform | 2017-12-14 | 3 | -12/+8 |
| | | |||||
| * | Fix identifier in cursor* templates in terminal | Jon Caldwell | 2017-12-14 | 1 | -4/+4 |
| | | |||||
| * | Fix onSignal example | Federico Ceratto | 2017-12-14 | 1 | -4/+7 |
| | | |||||
| * | Expand dbQuote to handle backslashes | Euan T | 2017-12-14 | 1 | -0/+1 |
| | | |||||
| * | fix | treeform | 2017-12-14 | 1 | -100/+85 |
| | | |||||
| * | fix | treeform | 2017-12-14 | 1 | -17/+24 |
| | | |||||
| * | fix | treeform | 2017-12-14 | 1 | -159/+256 |
| | | |||||
* | | Merge branch 'issue-6805' of https://github.com/Veladus/Nim into ↵ | Araq | 2017-12-15 | 1 | -1/+1 |
|\ \ | | | | | | | | | | Veladus-issue-6805 | ||||
| * | | Now analyzes over magics instead of symbol names; but dosn't compile for me | Veladus | 2017-12-11 | 1 | -1/+1 |
| | | | |||||
* | | | Fix counttable smallest loop start (#6917) | GULPF | 2017-12-15 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | * Fix counttable smallest * Fix counttable smallest loop start | ||||
* | | | make JS tests green again | Araq | 2017-12-15 | 1 | -1/+1 |
| | | | |||||
* | | | many improvements to random.nim; fixes #4726 | Araq | 2017-12-14 | 1 | -26/+97 |
| | | | |||||
* | | | fixes #6033 | Araq | 2017-12-14 | 1 | -195/+0 |
| |/ |/| | |||||
* | | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 7 | -36/+79 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-12-14 | 4 | -15/+124 |
|\ \ | |||||
| * | | Genode: constrain `osTryAllocPages` to RAM quota (#6883) | Emery Hemingway | 2017-12-14 | 2 | -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 dom | konqoro | 2017-12-13 | 1 | -2/+2 |
| | | | |||||
| * | | Fix counttable smallest (#6912) | GULPF | 2017-12-13 | 1 | -2/+7 |
| | | | |||||
* | | | make hidden visibility the default for Unix | Araq | 2017-12-13 | 1 | -0/+2 |
|/ / | |||||
* | | Merge branch 'nosproc2' of https://github.com/cheatfate/Nim into ↵ | Araq | 2017-12-13 | 2 | -62/+108 |
|\ \ | | | | | | | | | | cheatfate-nosproc3 | ||||
| * | | Fix | cheatfate | 2017-12-13 | 1 | -1/+1 |
| | | | |||||
| * | | execProcesses optimization. | cheatfate | 2017-12-12 | 1 | -24/+29 |
| | | | |||||
| * | | Windows: Fix invalid handle value for `execProcesses`. | cheatfate | 2017-12-12 | 1 | -7/+11 |
| | | | | | | | | | | | | Windows. Fix named pipes leak. | ||||
| * | | Remove `-3` as marker of exited process. | cheatfate | 2017-12-11 | 2 | -41/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | Cache exiting process for Windows to omit unnecessary syscalls. Fix closing hThread for Windows. Fix for pause/resume on Windows. Fix process handle leak on Windows. Change behavior for waitForExit on Windows. | ||||
* | | | improve the docs for tables.add | Araq | 2017-12-12 | 2 | -0/+5 |
|/ / | |||||
* | | fix #6264 and #6141 (#6884) | skilchen | 2017-12-11 | 1 | -2/+6 |
| | | |||||
* | | merged patch #6876 manually, taking care of poDemon | Andreas Rumpf | 2017-12-11 | 1 | -17/+18 |
| | | |||||
* | | allocator: minor fix for deallocOsPages | Andreas Rumpf | 2017-12-11 | 1 | -0/+1 |
| | | |||||
* | | Use addCallback rather than callback= in asyncfutures.all() (#6850) | Mathias Stearn | 2017-12-09 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | * Use addCallback rather than callback= in asyncfutures.all() Addresses part of #6849 * Stop using do notation for #6849 * Update example style | ||||
* | | Merge branch 'devel' into araq-new-mm2 | Araq | 2017-12-08 | 2 | -7/+8 |
|\ \ | |||||
| * \ | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-08 | 2 | -7/+8 |
| |\ \ | |||||
| | * | | optimize setLen (#6816) | Brent Pedersen | 2017-12-07 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | inline the call to setLengthSeq and avoid decref for types if ntfNoRefs closes #6721 and speeds setLen when newLen < len for non reference types. | ||||
| | * | | fix documentation comments in sequtils.nim | Andreas Rumpf | 2017-12-05 | 1 | -2/+2 |
| | |/ | |||||
* | | | parsesql: some bugfixes | Andreas Rumpf | 2017-12-08 | 1 | -2/+3 |
| | | | |||||
* | | | cleanup todo.txt | Araq | 2017-12-07 | 1 | -1/+2 |
| | | | |||||
* | | | make the new allocator work | Araq | 2017-12-07 | 1 | -8/+15 |
| | | | |||||
* | | | Threading: increase TLS size for new allocator | Araq | 2017-12-07 | 1 | -2/+2 |
| | | |