summary refs log tree commit diff stats
path: root/changelog.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | Add algorithm.upperBound (#7851)Dmitry Atamanov2018-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | * Add algorithm.upperBound * Docs updated
| * | | | Small grammar/spelling fix for changelog (#7896)Clyybber2018-05-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Small grammar/spelling fix. * Tiny grammar fix
* | | | | rewrote nimeval.nim; added tcompilerapi example to show how the compiler can ↵Andreas Rumpf2018-05-291-0/+5
|/ / / / | | | | | | | | | | | | be used as an API
* | | | Added: type name output when exception raised from unittest (#7869)七秒不觉梦2018-05-281-0/+2
| | | |
* | | | binarySearch improvements (#7850)Dmitry Atamanov2018-05-201-0/+1
| | | |
* | | | Fixes CritBitTree.inc's bug (#7838)Dmitry Atamanov2018-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Fixes CritBitTree.inc's bug * Update changelog
* | | | implement the export/except statementZahary Karadjov2018-05-071-0/+2
| | | |
* | | | The `terminal` module now exports additional procs for generating ANSI colorZahary Karadjov2018-05-071-0/+2
| | | | | | | | | | | | | | | | codes as strings.
* | | | Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-071-0/+3
| | | |
* | | | Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-071-0/+2
| | | |
* | | | update the changelogAndreas Rumpf2018-05-061-0/+3
| | | |
* | | | Merge branch 'devel' into araq-parser-fixesAndreas Rumpf2018-05-061-0/+3
|\ \ \ \
| * | | | Deprecate smart binary search (#7745)Arne Döring2018-05-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate smartBinarySearch * changelog entry
* | | | | warn about inconsistent spacing around binary operators; fixes #7582Andreas Rumpf2018-05-051-1/+4
|/ / / /
* | | / make 'not nil' experimentalAndreas Rumpf2018-05-021-1/+4
| |_|/ |/| |
* | | introduce --laxStrings:on switchAraq2018-04-301-1/+3
| | |
* | | make more tests greenAndreas Rumpf2018-04-301-0/+3
| |/ |/|
* | string to cstring conversions produce the empty C string for nil; this will ↵Andreas Rumpf2018-04-281-1/+4
|/ | | | be consistent with alternative string implementations
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-0/+6
|
* fixes #7637; assignments are not allowed to slice object; minor breaking changeAndreas Rumpf2018-04-211-0/+4
|
* Change type of `Timeval.tv_sec` to `posix.Time` (#7646)Oscar Nihlgård2018-04-181-0/+1
|
* rename SomeReal to SomeFloat (#7617)Arne Döring2018-04-151-2/+4
| | | | | * rename SomeReal to SomeFloat * added changelog entry
* Add recent `times` changes to changelog (#7607)Oscar Nihlgård2018-04-151-0/+8
|
* Nim namespace for cpp (#7453)AdrianV2018-04-151-0/+4
| | | | | - new option --usenamespace to generate nim cpp code in its own namespace Nim - minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
* implements first version of for-loop macrosAndreas Rumpf2018-04-151-0/+3
|