summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'devel' of https://github.com/Araq/Nim into add-nreFlaviu Tamas2015-06-07168-6974/+6318
|\ | | | | | | | | | | * 'devel' of https://github.com/Araq/Nim: Fix #964, fix #1384 Don't inspect typedescs
| * Merge pull request #2643 from grncdr/TAny-and-inheritanceAndreas Rumpf2015-06-071-0/+2
| |\ | | | | | | Resolve base type fields in `[](TAny, string)`
| | * Resolve base type fields in `[](TAny, string)`Stephen Sugden2015-05-031-0/+2
| | |
| * | Merge pull request #2645 from def-/builtin_overflowAndreas Rumpf2015-06-071-54/+122
| |\ \ | | | | | | | | Use builtin overflow functions of Clang and GCC (WIP, RFC)
| | * | Use -d:builtinOverflow for builtin overflow checksdef2015-05-081-141/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Use builtin overflow functions of Clang and GCC (WIP, RFC)def2015-05-031-0/+99
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #2682 from koalazen/refactor_lowerbound_algorithmAndreas Rumpf2015-06-071-7/+17
| |\ \ | | | | | | | | shorten lowerBound in algorithm.nim
| | * | refactored lowerBound in algorithm.nimKoala Zen2015-05-181-7/+17
| | | |
| * | | Merge pull request #2867 from Araq/fix-2584Andreas Rumpf2015-06-077-10/+17
| |\ \ \ | | | | | | | | | | Fixes #2584
| | * | | s/procedure/routine/ in tests.Dominik Picheta2015-06-054-4/+4
| | | | |
| | * | | Rename errUndeclaredProcedure to errUndeclaredRoutine.Dominik Picheta2015-06-052-3/+3
| | | | |
| | * | | Got rid of errUndeclaredProcedureField.Dominik Picheta2015-06-043-9/+4
| | | | |
| | * | | Fixes #2584Dominik Picheta2015-06-047-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Better compiler errors for accessing undeclared fields, calling undeclared procedures and procedure fields.
| * | | | Merge pull request #2878 from Perelandric/rename_fixesAndreas Rumpf2015-06-075-54/+58
| |\ \ \ \ | | | | | | | | | | | | Some fixes from the recent `T` renaming
| | * | | | Fixed malformed pragmapatrick dw2015-06-061-1/+1
| | | | | |
| | * | | | Reverted TZipFileStream (is going to be reference type)patrick dw2015-06-061-3/+2
| | | | | |
| | * | | | Updated deprecated namespatrick dw2015-06-061-4/+4
| | | | | |
| | * | | | Updated usage of deprecated typespatrick dw2015-06-062-25/+25
| | | | | |
| | * | | | Renaming fixes in sdl.nimpatrick dw2015-06-061-23/+27
| | | | | |
| | * | | | Dropped from TZipFileStreampatrick dw2015-06-062-2/+3
| | |/ / /
| * | | | Merge pull request #2875 from nanoant/patch/bring-back-bootstrap-executable-bitAndreas Rumpf2015-06-071-0/+0
| |\ \ \ \ | | | | | | | | | | | | Bring back (again) bootstrap.sh executable bit
| | * | | | Bring back (again) bootstrap.sh executable bitAdam Strzelecki2015-06-051-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | fixes #2774Araq2015-06-062-1/+15
| | | | | |
| * | | | | fixes #2687Araq2015-06-061-3/+7
| | | | | |
| * | | | | use new type namesAraq2015-06-061-5/+5
| | | | | |
| * | | | | fixes #2854Araq2015-06-062-1/+27
| | | | | |
| * | | | | fixes 'noreturn' regression for Visual C++Araq2015-06-061-0/+2
| | | | | |
| * | | | | Update version in compiler.nimbleDominik Picheta2015-06-051-2/+2
| | | | | |
| * | | | | moved sexp.nim to nimsuggest repoSimon Hafner2015-06-051-698/+0
| | | | | |
| * | | | | Merge branch 'boopcat-exportnewsocket' into develDominik Picheta2015-06-052-6/+6
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Merge branch 'exportnewsocket' of https://github.com/boopcat/Nim into ↵Dominik Picheta2015-06-052-6/+6
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boopcat-exportnewsocket Conflicts: lib/pure/asyncnet.nim
| | * | | | Export newSocket(fd) from net.nim and standardize args in net/asyncnetboopcat2015-05-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your own socket FD. newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of "isBuff" and defaults to true to match the other constructors on both.
| * | | | | Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-053-10/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | Perform lambda lifting for compile-time stuff when targeting JS.
| | * | | | | Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-293-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unittest test.
| * | | | | | Merge pull request #2859 from nanoant/patch/norewrite-pragmaAndreas Rumpf2015-06-056-8/+21
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | {.noRewrite.} pragma for term rewriting
| | * | | | | | Parser: Inline expr pragmas with parenthesisAdam Strzelecki2015-06-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously pragmas could be attached only to whole statements, this change allows attaching pragmas to inline statements, eg.: template rewriteAdd{a + b}(a: expr, b: expr): expr = ({.noRewrite.}: a + b) + 1 Code above will cause a + b to be rewritten once, because rewriteAdd attaches {.noRewrite.} to resulting a + b expr.
| | * | | | | | Parser: Properly represent parsePar in grammarAdam Strzelecki2015-06-021-4/+6
| | | | | | | |
| | * | | | | | Introduce {.noRewrite.} expr pragma disabling TRAdam Strzelecki2015-06-025-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab"
| * | | | | | | Merge pull request #2873 from nanoant/develAndreas Rumpf2015-06-051-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fixup: Reverted TZipFileStream name change
| | * | | | | | | Fixup: Reverted TZipFileStream name changeAdam Strzelecki2015-06-051-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes broken b0469c11e334e96cebe53cbe804b6a877831c85a that incompletely reverted TZipFileStream name change.
| * | | | | | | Removed nimsuggest from this repo.Dominik Picheta2015-06-042-343/+2
| | | | | | | |
| * | | | | | | Add WSAEADDRINUSE to winlean.Dominik Picheta2015-06-041-0/+1
| | | | | | | |
| * | | | | | | Fixes compilation with --gc:markandsweep.Dominik Picheta2015-06-041-1/+1
| | | | | | | |
| * | | | | | | Hopefully fixes nimsuggest building against the compiler package.Dominik Picheta2015-06-044-19/+25
| | | | | | | |
| * | | | | | | Merge pull request #2871 from apense/patch-7Andreas Rumpf2015-06-041-2/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fixed Error hierarchy links in manual
| | * | | | | | | Fixed links in Error hierarchyapense2015-06-041-2/+2
| |/ / / / / / / | | | | | | | | | | | | | | | | Manual contained invalid links
| * | | | | | | Merge pull request #2870 from apense/patch-6Dominik Picheta2015-06-041-1/+1
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | Fixed code indentation in procs.txt
| | * | | | | | Fixed code indentation in procs.txtapense2015-06-041-1/+1
| |/ / / / / / | | | | | | | | | | | | | | Now matches tut2.txt
| * | | | | | stdlib: don't use deprecated symbolsAraq2015-06-044-52/+52
| | | | | | |
| * | | | | | Reverted all changesPerelandric2015-06-041-75/+69
| | | | | | |