| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Since the source and destination types are the same the result should be
trimmed to fit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
Added NIM_STRLIT_FLAG to seq literals
|
| | |
|
| | |
|
| |
| |
| |
| | |
paths; refs #7250
|
| | |
|
|\ \
| | |
| | | |
Add log for base b of x
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add hint on JSON serialization
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
hotfix 3221ac094398492e09ea618638204793b0990eca broke gc:regions/aka …
|
| | | |
| | | |
| | | |
| | | |
| | | | |
underallocating for sequences of any type larger than 1 byte. This does the
necessary multiply to restore basic functionality.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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 `
|
|\ \ \
| | | |
| | | | |
Fixed uncaught exception in vm gen
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
fix #5930
|
|/ / / |
|
| | |
| | |
| | |
| | | |
conventions outlined in NEP-1
|
| | | |
|
|\ \ \
| | | |
| | | | |
Allow stacktrace and linetrace pragmas on procs
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Fixes 7980
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixes #6803
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Fixes #6770
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | | |
Removed oldIterTranf feature
|
| | | | | |
|
| | | | | |
|
|\| | | | |
|
| | | | | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
fix #7997
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes issue #7997, which was caused by an export of a `release` proc
in `locks`. Thus the `release` in `defined(release)` of the `ifDebug`
template, was of kind `nkSym` instead of `nkIdent`.
We fix this by getting the `PIdent` of the argument to `defined` using
`considerQuotedIdent`.
This has the nice property of also checking for a valid identifier for
us. E.g. `defined(123)` would fail with
```
Error: in expression 'defined(123)': identifier expected, but found
'123'
```
The `localError` is removed, due to a clear distinction between
`declared` and `defined` now.
|
| | | | | |
|
|\| | | | |
|
| |/ / / |
|