| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fixes #2886 (moves compiler function into the compiler)
|
| |
| |
| | |
Only used here (not in standard library)
|
| |
| |
| | |
`-|` only used in the compiler for negative indexing
|
|\ \
| | |
| | | |
SecureHash fixup
|
| | | |
|
| | |
| | |
| | |
| | | |
https://github.com/Araq/Nim/wiki/Style-Guide-for-Nim-Code
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
1. All other modules don't use underscore, why this should be different?
2. Wrap some imports to 80 column
|
|\ \
| |/
|/| |
Allow to set position at end of stream
|
|/ |
|
|\
| |
| | |
Use SHA1 instead of CRC
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Use better names, remove quite a bit of dead code.
Change `><` to a name that's actually descriptive.
|
|\ \
| | |
| | | |
Note about deprecation in generics.txt
|
| | |
| | |
| | | |
I'm happy to change the wording or anything. It does seem like an important thing to mention, though. It might be better not to even mention typeless procs so as not to encourage bad behavior.
|
|\ \ \
| | | |
| | | | |
Updated whitespace ranges
|
|/ / /
| | |
| | | |
Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt>_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode>_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed.
|
|/ /
| |
| |
| | |
Haven't tested this patch but should work.
|
|\ \
| | |
| | | |
Resolve base type fields in `[](TAny, string)`
|
| | | |
|
|\ \ \
| | | |
| | | | |
Use builtin overflow functions of Clang and GCC (WIP, RFC)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
of recent Clang and GCC >= 5.0.
Maybe it's better that it's optional after all. GCC's code with builtin
overflow checks seems to be a bit slower actually, while Clang's is 3
times faster.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This only works with recent Clang and GCC 5.0.
Currently it doesn't work because __has_builtin can't be defined.
This is totally ugly. But we can't reliably detect whether we can use
the builtins from Nim, especially with cross-compiling where the user
may be using an older compiler version. Switching this on/off manually
with a define seems weird as well, this should work automatically.
|
|\ \ \
| | | |
| | | | |
shorten lowerBound in algorithm.nim
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fixes #2584
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Some fixes from the recent `T` renaming
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Bring back (again) bootstrap.sh executable bit
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reverts "bootstrap.sh: cannot keep exec bit on windows" commit
2d2eca18b8c326f1e3ea9101d00b3370c8c5c290.
We do not need to remove executable bits to workaround old msysGit bug that
shows files having executable bits as modified.
This can and should be addressed by msysGit user either by using latest version
that will treat `bootstrap.sh` as having executable bit because of UNIX Shebang
presence, or setting Git config's `core.fileMode` to false.
See:
http://stackoverflow.com/questions/12193020/file-mode-with-msysgit
http://www.grumpydev.com/2011/01/19/switching-from-cygwin-to-msysgit-git-thinks-everything-has-been-modified/
Quoting Git manual:
core.fileMode
If false, the executable bit differences between the index and the
working copy are ignored; useful on broken filesystems like FAT.
See git-update-index(1). True by default.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
boopcat-exportnewsocket
Conflicts:
lib/pure/asyncnet.nim
|