summary refs log tree commit diff stats
path: root/changelog.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixes #7451 (#7575)RSDuck2018-04-141-0/+3
|
* fixes #6205Andreas Rumpf2018-04-141-0/+3
|
* the new feature's name is hotCodeReloadingAndreas Rumpf2018-04-131-1/+1
|
* fixes #4470Andreas Rumpf2018-04-131-1/+3
|
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-131-3/+12
| | | | | | | | | | | | | | | | | | | | | | * Support code hot reloading for JavaScript projects * Add some missing JavaScript symbols and APIs * fix the Travis build * (review changes) remove the js type from the standard library as it doesn't follow NEP-1 * more additions to the DOM module * Follow NEP-1 in jsffi; spell 'hot code reloading' correctly * introduce a jscore module * Document jscore module. * readded js type * Remove the '$' operator that doesn't behave
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-0/+4
|
* deprecate macros.callsite; fixes #7369Andreas Rumpf2018-04-121-0/+2
|
* 'func' is now an alias for 'proc .noSideEffect'Andreas Rumpf2018-04-121-1/+2
|
* Add column number to instantiation info (#7376)PMunch2018-04-121-0/+2
| | | | | | | | | | | | | | * Add column number to instantiation info Instantiation info left out column number for no good reason. This adds it in as the third element of the tuple. * Fix test that failed and added change to changelog An assertion test failed because it was declaring a type that was expected to be populated by instantiationInfo with the old signature. Also added the changes to the changelog as it is a breaking change.
* Added a few useful os calls to VM (#7440)genotrance2018-04-121-0/+1
|
* Get symbol kind (#7491)Arne Döring2018-04-111-0/+2
|
* Add a few useful os calls to nimscript (#7442)genotrance2018-04-101-0/+2
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-0/+4
|