summary refs log tree commit diff stats
path: root/changelog.md
Commit message (Collapse)AuthorAgeFilesLines
* Net module fixes (#8597)Dominik Picheta2018-08-281-0/+3
| | | | | * net.accept no longer needs an initialised socket. Fixes #7848. * Assert error when using sendTo/recvFrom on TCP socket. * net.sendTo now raises OSError.
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* fix typo in changelog.md: nnkTupleConst => nnkTupleConstrTimothee Cour2018-08-211-1/+1
|
* Update changelogOscar Nihlgård2018-08-171-0/+5
|
* times.Timezone changes (#8527)Oscar Nihlgård2018-08-171-0/+4
| | | | | | | | | | * Use floorDiv in times.nim * New implementation of times.Timezone * Tweak doc comments * Fix typo
* Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662)Kaushal Modi2018-08-171-0/+7
| | | Fixes https://github.com/nim-lang/Nim/issues/8661.
* fixes #8653Andreas Rumpf2018-08-161-0/+3
|
* minor edit to the changelogAndreas Rumpf2018-08-161-1/+1
|
* implements 'case statement macros' in order to encourage the development of ↵Andreas Rumpf2018-08-161-4/+10
| | | | pattern matching mechanisms that are not terrible to look at
* renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-0/+4
|
* document the new --nilseqs:on switchAraq2018-08-131-1/+1
|
* rename SystemError to CatchableError in order to avoid breaking Nimble and ↵Araq2018-08-101-1/+1
| | | | probably lots of other code
* rework the exception hierarchy; refs #8363Andreas Rumpf2018-08-101-0/+4
|
* change the VM's max instruction count to 3_000_000Andreas Rumpf2018-08-101-1/+1
|
* deprecated regionized pointersAraq2018-08-101-0/+3
|
* deprecate the .this pragmaAraq2018-08-091-0/+4
|
* fixes merge conflictAraq2018-08-071-0/+1
|\
| * fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-1/+2
| |
* | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-061-5/+8
|/
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-051-0/+1
|
* fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-0/+5
| | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
* `lineInfoObj` (and `check`, `expect`) now return absolute paths (#8466)Timothee Cour2018-07-311-1/+2
|
* Deprecate the dot style for import paths (#8474)Oscar Nihlgård2018-07-301-0/+2
|
* Fix setCursorPos and setCursorXPos on POSIX (#8310)John Novak2018-07-171-0/+5
|
* Fixes #5880. (#7229)Dominik Picheta2018-07-101-0/+1
|
* Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)Vindaar2018-07-031-0/+2
| | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix.
* Nintendo switch support (#8069)Joey2018-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* Add missing backtick to the changelog.mdDaniil Yarancev2018-06-271-1/+1
|
* Merge pull request #7736 from cooldome/range_float_typeAndreas Rumpf2018-06-271-0/+2
|\ | | | | Language feature: range float types
| * merge develcooldome2018-06-121-2/+7
| |\
| * \ merge develcooldome2018-06-101-4/+47
| |\ \
| * | | fix spacing in changelogcooldome2018-04-301-2/+1
| | | |
| * | | Merge branch 'devel' into range_float_typecooldome2018-04-301-0/+5
| |\ \ \
| * \ \ \ merge develcooldome2018-04-291-2/+5
| |\ \ \ \
| * | | | | update the doccooldome2018-04-291-0/+2
| | | | | |
* | | | | | Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-261-0/+3
|\ \ \ \ \ \
| * | | | | | Pegs AST read access (#8050)gemath2018-06-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category.
* | | | | | | document the new `type[T]` and `static[T]` featuresZahary Karadjov2018-06-161-0/+7
|/ / / / / /
* | | | | | Add MemMapFileStream. Fixes in memFiles. (#7944)Dmitry Atamanov2018-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MemMapFileStream * Added tests * Fixed bug in memfiles (zero index for string) * Added flush to changelog * Attempt to fix Win's nuances * Fix attempt to fix * Continue... * And again... * Reworked tests (all for win on Win) * Fixes in flush (Win) * Replace fn vars to consts * Added the attempts parameter to the flush * Replace while to for * Move to memfiles * Use Natural instead of uint * Better error messages for append mode. Handle specific cases.
* | | | | | Add parse bin int, fixes #8018 (#8020)Vindaar2018-06-131-1/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clarify `parseHexInt`, `parseOctInt` docstring and exception msgs * add `parseBinInt` based on `parseutil.parseBin` implementation Adds a `parseBinInt`, which parses a binary integer string and returns it as an integer. This is based on the implementation of `parseutil.parseBin`, removing the unnecessary parts. * add tests for all `parse(Hex|Oct|Bin)Int` procs * replace `parse*Int` proc impls by call to parseutil procs Replaces the `parse(Hex|Oct|Bin)Int` procedure implementation by calls to the `parseutil` procs, which receive a mutable argument. Has the main advantage that the empty string as well as a "prefix only" string, e.g. "0x" counts as an invalid integer. Also moves the `parseOctInt` proc further up in the file so that all `parse` procs are below one another. * replace `var L` by `let L` in `parse` procs There's no reason for the usage of `var` here. * add `maxLen` optional arg for `parseutil.parse(Oct|Bin)` Plus small change to test cases. * update changelog about `parse*Int` procs * fix `rejectParse` template in `tstrutils` * make sure only `s.len` chars are parsed, if `maxLen+start` > s.len Fixes a previous bug in `parseHex` (and now affected `parseOct` and `parseBin`), which allowed to set `start + maxLen` to be larger than the strings length. This resulted in an out of bounds access. * move `parse*Int` proc change to breaking changes, add double `
* | | | | fixes merge conflictAndreas Rumpf2018-06-111-0/+7
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Make isUpper (and variants) work for strings with non-alpha charsKaushal Modi2018-06-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The other variants are isLower, isUpperAscii and isLowerAscii Fixes https://github.com/nim-lang/Nim/issues/7963. This commit changes the behavior and signatures of: - isUpper, isLower in the unicode module - isUpperAscii, isLowerAscii in the strutils module A second mandatory parameter skipNonAlpha is added to these 4 procs. (This change affects only for the case where the input is a *string*.) --- With skipNonAlpha set to true, the behavior mimics the Python isupper and islower behavior i.e. non-alphabetic chars/runes are ignored when checking if the string is upper-case or lower-case. Before this commit: doAssert(not isUpper("A B")) After this commit: doAssert(not isUpper("A B", false)) <-- old behavior doAssert isUpper("A B", true) Below two are equivalent: isUpper("A B", true) isAlpha("A B") and isUpper("A B", false) .. and the similar for other 3 procs.
| * | | | Add the val parameter for CritBitTree[T].incl (#7988)Dmitry Atamanov2018-06-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the val parameter for CritBitTree[T].incl * Updated changelog
* | | | | fixex merge conflictsAraq2018-06-081-0/+2
|\| | | |
| * | | | Rename tgamma to gamma (#7929)Koki Fushimi2018-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename tgamma to gamma * set the deprecating version 0.19.0 * update changelog and use description in deprecated pragma
| * | | | Add product proc (#7951)Koki Fushimi2018-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add product proc * Update changelog
* | | | | fixed merge conflictAndreas Rumpf2018-06-041-3/+11
|\| | | |
| * | | | Support `div`, `mod`, floorDiv and floorMod for Rationals (#7918)Koki Fushimi2018-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support `div`, `mod`, floorDiv and floorMod for Ratinoals. * Bug fix and add tests. * Update changelog
| * | | | Use truncation division in mod for floats (#7118)Oscar Nihlgård2018-05-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use truncation division in mod for floats * Add changelog entry * Add floorDiv/floorMod to math.nim * Update changelog
| * | | | Add inverse hyperbolic, and cot, sec and csc; and their hyperbolic, inverse, ↵Koki Fushimi2018-05-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inverse hyperbolic, and change to use defined functions in C or JS for logs and hyperbolics. (#7893) * Add secant, cosecant and cotangent. * Add hyperbolic functions of cotangent, secant and cosecant. * Add inverse hyperbolic functions. * Change to use defined function of C and JS. * Bug fix and refactoring. * Add change to changelog.md