Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | --gc:destructors: baby steps | Andreas Rumpf | 2018-12-15 | 5 | -25/+27 |
| | |||||
* | better error message for 'proc' that is not intended to be used as a typeclass | Andreas Rumpf | 2018-12-15 | 1 | -4/+8 |
| | |||||
* | fixes #9982 | Andreas Rumpf | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | document the change for fix #9978 | Andreas Rumpf | 2018-12-14 | 1 | -0/+3 |
| | |||||
* | fixes #9978 | Andreas Rumpf | 2018-12-14 | 3 | -1/+10 |
| | |||||
* | fixes yet another NimScript regression | Araq | 2018-12-14 | 1 | -0/+2 |
| | |||||
* | Allow an escape hatch for platform specific flags/default override (#9968) | c-blake | 2018-12-14 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow an escape hatch for platform specific flags (of which there are many, for example MAP_POPULATE itself is a Linux-only thing, not other Unix). Continue with same defaults as before in this commit, but that really should be changed to *not* include MAP_POPULATE. While pre-faulting all the pages can be useful sometimes *if* you know you're going to access all the data, it is highly unlikely to be what users expect the default to be. For some things all that up front work is 1000s of times slower than being lazy/on-demand/only ever faulting parts of the file. Even the MAP_POPULATE fan who originally in 2014 committed to this file defaulted it to off (but turned it always-on as a "temporary" work around for some long since gone/mutated compiler issue). Anyway, at least something like this `mapFlags` gives users the ability to override the poor default choice or activate any other idiosyncratic platform-specific features. * Use simple, efficient default flags, but also accept whatever the open/mapMem caller specifies. Save flags in MemFile so they can be used in `resize`. This field should not need exporting like the others -- callers can always save whatever values they pass -- but we include a cautionary comment in case anyone ever asks for a `*` there, as well as for documentation. Also make documentation for ``mapFlags`` in open more likely to inspire care. | ||||
* | added parseopt.remainingArgs; refs #9951 | Araq | 2018-12-14 | 2 | -0/+6 |
| | |||||
* | fixes #9965 | Araq | 2018-12-14 | 2 | -15/+94 |
| | |||||
* | timers.nim: avoid parser warning | Araq | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | os.nim: use the new pathnorm.normalizePath implementation | Araq | 2018-12-14 | 4 | -86/+68 |
| | |||||
* | fixes joinPath regressions | Araq | 2018-12-13 | 3 | -2/+15 |
| | |||||
* | fixes testament regression due to changed '/' operator | Araq | 2018-12-13 | 1 | -2/+1 |
| | |||||
* | enum types can now be assigned values from enum with holes (#9958) | Neelesh Chandola | 2018-12-13 | 2 | -7/+7 |
| | | | | | | * Fixes https://github.com/nim-lang/Nim/issues/9952 * Remove workaround from vccexe | ||||
* | os.nim: big refactoring, use the new pathnorm that was extracted by ↵ | Araq | 2018-12-13 | 6 | -375/+425 |
| | | | | compiler/pathutils.nim; added os.relativePath | ||||
* | Show lineinfo of for in yield (#9779) | Alexander Ivanov | 2018-12-13 | 1 | -0/+5 |
| | |||||
* | Give error when case has an else branch even though all cases are already ↵ | Neelesh Chandola | 2018-12-13 | 3 | -6/+3 |
| | | | | | | | | | covered (#9930) * Give error when case has an else branch even though all cases are already covered. * Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError * Remove unnecessary else in unittest.nim * Fix sockets.nim | ||||
* | Undefine some symbols and globalOptions when processing nimscript (#9945) ↵ | Neelesh Chandola | 2018-12-13 | 1 | -0/+12 |
| | | | | | | | | [backport] * Undefine some symbols when processing nimscript * Undefine taintMode when processing nimscript * Reload .cfg configuration | ||||
* | Merge pull request #9950 from nc-x/fix-nimsuggest-build | Andreas Rumpf | 2018-12-13 | 1 | -1/+1 |
|\ | | | | | Fix nimsuggest build with clang on windows | ||||
| * | Fix nimsuggest build with clang on windows | Neelesh Chandola | 2018-12-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #9956 from nc-x/fix-vccexe | Andreas Rumpf | 2018-12-13 | 2 | -11/+11 |
|\ \ | | | | | | | Fix vccexe compilation | ||||
| * | | Fix vccexe compilation | Neelesh Chandola | 2018-12-13 | 2 | -11/+11 |
|/ / | |||||
* | | Merge pull request #9915 from zevv/asyncnet-unix | Dominik Picheta | 2018-12-12 | 3 | -7/+66 |
|\ \ | |/ |/| | Added basic AF_UNIX support to asyncnet. | ||||
| * | Added basic AF_UNIX support to asyncnet. | Ico Doornekamp | 2018-12-09 | 3 | -7/+66 |
| | | | | | | | | | | | | | | | | Unfortunately this required some code duplication because the doConnect() from asynccommon.nim only works with addrInfo which does not make sense for AF_UNIX. makeUnixAddr() was moved to nativesocket.nim and exported | ||||
* | | Merge pull request #8748 from LemonBoy/when-in-objects | Andreas Rumpf | 2018-12-12 | 2 | -0/+91 |
|\ \ | | | | | | | Pervasive replacement of nkRecWhen in generic types | ||||
| * | | Pervasive replacement of nkRecWhen in generic types | LemonBoy | 2018-10-19 | 2 | -0/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long story short, even if the type contains no reference at all to its generic parameters we still have to walk its AST and evaluate any nkRecWhen nodes that semRecordNodeAux skipped due to the type being a generic one. We also must be careful to modify the type `n` node in place since it may be referenced by the caller as seen in the tillegaltyperecursion test. Moreover we also can't have the nkSym drift away from their original values in order not to break the JS nkObjConstr codegen. | ||||
* | | | Merge branch 'couven92-devel' into devel | Araq | 2018-12-12 | 9 | -147/+367 |
|\ \ \ | |||||
| * | | | resolve merge conflicts | Araq | 2018-12-12 | 9 | -147/+367 |
|/| | | | |||||
| * | | | VCCEXE: lower case const identifier | Fredrik Høisæther Rasch | 2017-04-04 | 1 | -2/+2 |
| | | | | |||||
| * | | | Moved vccdiscover to vccexe | Fredrik Høisæther Rasch | 2017-04-04 | 2 | -108/+66 |
| | | | | |||||
| * | | | Added documentation and explanatory comments to vccexe | Fredrik Høisæther Rasch | 2017-03-26 | 4 | -36/+117 |
| | | | | |||||
| * | | | Exchanged debug compilation with verbose command-line argument | Fredrik Høisæther Rasch | 2017-03-21 | 2 | -14/+15 |
| | | | | |||||
| * | | | vcvarsallpath explaination no longer needed with vccdiscover | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -29/+0 |
| | | | | | | | | | | | | | | | | This reverts commit 7c4911d | ||||
| * | | | vccdiscover: Added additional documentation | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Added explaination that vccdiscover output is machine-parsable | ||||
| * | | | vccexe tool can use vccdiscover utility | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -2/+22 |
| | | | | | | | | | | | | | | | | Used when vcvarsall path is not specified, or if only a vccversion is specified | ||||
| * | | | Created vccdiscover utility for vcc auto-discovery | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+76 |
| | | | | |||||
| * | | | vccenv module for vcc auto-discovery | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | Only works for VCC Installations with Visual Studio 2015 and below | ||||
| * | | | Fixed vccexe, now regards the command argument | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -1/+1 |
| | | | | |||||
| * | | | Reduced verbosity of vcvarsall | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | Only lines that are not part of the loaded developer environment are echoed | ||||
| * | | | Added explanatory comments about vccexe and its path argument in nim.cfg | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+33 |
| | | | | |||||
| * | | | Corrected erroneous vccexe tool path in koch | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -1/+1 |
| | | | | |||||
| * | | | Moved vccexe to a more logical place (vccexe) | Fredrik Høisæther Rasch | 2017-03-21 | 2 | -0/+0 |
| | | | | |||||
| * | | | Moved vccenv over to vcvarsall | Fredrik Høisæther Rasch | 2017-03-21 | 3 | -72/+116 |
| | | | | | | | | | | | | | | | | Updated vccexe with new command-line arguments | ||||
| * | | | Added Visual Studio build artifacts to gitignore | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | The Microsoft Linker creates an incremental linker database (extension: ilk) Debugging symbols are stored in pdb files. | ||||
| * | | | Removed arch option in compiler definition | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Previous Artifiact, changed to better reflect the settings in the default nim.cfg | ||||
| * | | | Added missing VCC C++ options to nim.cfg | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -0/+13 |
| | | | | |||||
* | | | | fix merge conflict | Araq | 2018-12-12 | 3 | -6/+51 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #9552 from recloser/strmisc-doc | Andreas Rumpf | 2018-12-12 | 1 | -1/+28 |
| |\ \ \ \ | | | | | | | | | | | | | Add runnableExamples for strmisc procs and a better doc for expandTabs | ||||
| | * | | | | Add runnable examples for strmisc procs and a better doc for expandTabs | recloser | 2018-10-29 | 1 | -1/+28 |
| | | | | | | |||||
| * | | | | | Merge pull request #9879 from data-man/sorted_deduplicate | Andreas Rumpf | 2018-12-12 | 2 | -4/+22 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Add the parameter isSorted for the sequtils.deduplicate |