Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [backport] Documentation Fix #12251 (#13226) [ci skip] | Juan Carlos | 2020-01-22 | 1 | -0/+8 |
| | |||||
* | added note to re constructor regarding performance (#13224) | whiterock | 2020-01-22 | 1 | -1/+5 |
| | | | Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :) | ||||
* | httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add ↵ | Juan Carlos | 2020-01-21 | 2 | -5/+12 |
| | | | | headers argument instead of hardcoded empty (#13207) | ||||
* | fixes a critical times.nim bug reported on IRC [backport] (#13216) | Andreas Rumpf | 2020-01-21 | 2 | -2/+6 |
| | |||||
* | fix #13211 relativePath("foo", ".") (#13213) | Timothee Cour | 2020-01-21 | 2 | -0/+6 |
| | |||||
* | Idxmin & idxmax, continuation (#13208) | Miran | 2020-01-20 | 2 | -7/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add idxmin() which returns the index of the minimum value * Add idxmax() which returns the index of the maximum value * Add tests for idxmin() * Add tests for idxmax() * Remove initialization of result = 0 * Adds overloading for arrays (no enums indexed arrays yet) * Add support for enum index arrays * Fix tests with enum * Fix tests for idxmax * Change names of the procedures to minIndex and maxIndex * address Araq's comments: - remove 'array' versions - add .since pragma - return 'int' instead of 'Natural' - add changelog entry Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com> | ||||
* | fix range[enum] type conversion (#13204) [backport] | Jasper Jenkins | 2020-01-20 | 2 | -2/+36 |
| | |||||
* | compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199) | alaviss | 2020-01-20 | 3 | -1/+24 |
| | | | | | This hides most of stdlib's internal functions from resulting binaries/libraries, where they aren't needed on *nix. Static libraries are not affected by this change (visibility doesn't apply to them). | ||||
* | fixes #13195 (#13198) | cooldome | 2020-01-20 | 3 | -4/+30 |
| | | | | | | | | * fixes #13195 * extra fix * fix typo | ||||
* | fixes #13110 (#13197) | Andreas Rumpf | 2020-01-19 | 3 | -3/+15 |
| | |||||
* | Revert "fixes #13195" | Andrii Riabushenko | 2020-01-19 | 3 | -29/+4 |
| | | | | This reverts commit cd7904f2b29e623998a1d32ee726d000f56fc5ce. | ||||
* | Merge branch 'devel' of https://github.com/nim-lang/Nim into devel | Andrii Riabushenko | 2020-01-19 | 0 | -0/+0 |
|\ | |||||
| * | fixes #13195 | Andrii Riabushenko | 2020-01-19 | 3 | -4/+29 |
| | | |||||
* | | revert last commit | Andrii Riabushenko | 2020-01-19 | 3 | -4/+29 |
|/ | |||||
* | Fixes #13186 (#13188) | slangmgh | 2020-01-19 | 1 | -2/+4 |
| | |||||
* | Add link to packaging.html (#13194) | Federico Ceratto | 2020-01-19 | 1 | -0/+2 |
| | |||||
* | more on arc codegen (#13178) | cooldome | 2020-01-19 | 4 | -26/+81 |
| | | | | | | | | | | | | * arc codegen for union type * add more tests * fix offsetof * fix tsizeof test * fix style | ||||
* | fix docs + API for fieldPairs, fields (#13189) | Timothee Cour | 2020-01-18 | 1 | -26/+40 |
| | |||||
* | maybe: allows optional chaining of field access and indexing when LHS i snil ↵ | Timothee Cour | 2020-01-18 | 4 | -0/+196 |
| | | | | | | | | | (#13023) * maybe: allows optional chaining * fix tools/kochdocs.nim * improve semantics to distinguish valid from invalid values * for now, wrapnil, isValid, unwrap are not exported | ||||
* | times: toUnixFloat, fromUnixFloat (#13044) | Timothee Cour | 2020-01-18 | 3 | -10/+31 |
| | |||||
* | fixes #13144 (#13145) | Timothee Cour | 2020-01-18 | 1 | -9/+4 |
| | | | | * fixup: genscript now does not copy nimbase.h but uses -I$nim/lib | ||||
* | refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} ↵ | Timothee Cour | 2020-01-18 | 1 | -11/+7 |
| | | | | | | | (#13136) * refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.} * put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc | ||||
* | fixes #13157 | Araq | 2020-01-17 | 1 | -3/+6 |
| | |||||
* | followup on #10435 : should be diff, not show (#13162) | Timothee Cour | 2020-01-17 | 1 | -1/+1 |
| | |||||
* | Fix docs for subdirs too (#13180) | Clyybber | 2020-01-17 | 3 | -13/+17 |
| | | | | | * Fix doc subdirs * Extract to helper proc, and fix on windows | ||||
* | make sink operator optional (#13068) | cooldome | 2020-01-17 | 6 | -62/+56 |
| | | | | | | | | | | | | | | | | * make sink operator optional * bug fix, add changelog entry * Trigger build * fix one regression * fix test * Trigger build * fix typos | ||||
* | ARC works for async on Windows (#13179) | Andreas Rumpf | 2020-01-17 | 5 | -40/+110 |
| | |||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 35 | -204/+183 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | fixes #13095 (#13181) | cooldome | 2020-01-17 | 2 | -0/+23 |
| | | | | | | * fixes #13095 * fix typo | ||||
* | Fix docs (#13176) | Clyybber | 2020-01-16 | 6 | -6/+6 |
| | |||||
* | Cleanup DFA (#13173) | Clyybber | 2020-01-16 | 2 | -36/+16 |
| | |||||
* | fix tsizeof3 for aarch64 (#13169) | Jasper Jenkins | 2020-01-16 | 3 | -20/+22 |
| | |||||
* | fixes #12998 nim doc regression (#13117) | Timothee Cour | 2020-01-16 | 13 | -16/+28 |
| | |||||
* | Working towards arc codegen (#13153) | cooldome | 2020-01-16 | 2 | -31/+96 |
| | | | fixes #13029 | ||||
* | style fix: change 'JS' to 'js' to make it consistent (#13168) | Miran | 2020-01-16 | 14 | -60/+60 |
| | |||||
* | Remove obsolete code from osalloc (#13158) | Ico Doornekamp | 2020-01-16 | 1 | -10/+0 |
| | |||||
* | CI fix timeout error (#13134) | Timothee Cour | 2020-01-15 | 1 | -148/+153 |
| | |||||
* | ARC: misc bugfixes (#13156) | Andreas Rumpf | 2020-01-15 | 6 | -26/+298 |
| | | | | | | | | * fixes #13102 * closes #13149 * ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing) * proper fix; fixes #12957 * fixes yet another case object '=' code generation problem | ||||
* | successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix ↵ | Timothee Cour | 2020-01-15 | 5 | -6/+18 |
| | | | | | | | | #13121 (#13116) * successX now correctly shows html output for nim doc * fixes #13121 * fixup hintSuccessX to be less weird | ||||
* | export normalizePathEnd (#13152) | Timothee Cour | 2020-01-15 | 2 | -0/+11 |
| | |||||
* | System cleanup, part 2 (#13155) | Miran | 2020-01-15 | 9 | -1649/+1700 |
| | | | | | | | | * create basic_types, arithmetics, exceptions, comparisons * create setops.nim * create memalloc.nim * create gc_interface.nim * create iterators_1.nim | ||||
* | Added 'ansic' os support for minimal (embedded) targets (#13088) | Ico Doornekamp | 2020-01-15 | 6 | -71/+85 |
| | | | | | | | | * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application. | ||||
* | Fix typo in doc/destructors.rst (#13148) | Tomohiro | 2020-01-14 | 1 | -1/+1 |
| | |||||
* | fixes #9674 [backport] (#13143) | Andreas Rumpf | 2020-01-14 | 2 | -2/+21 |
| | |||||
* | fixes #13104 [backport] (#13142) | Andreas Rumpf | 2020-01-14 | 1 | -0/+1 |
| | |||||
* | pass platform argument only if vccexe is used (#13078) | cooldome | 2020-01-14 | 1 | -10/+9 |
| | | | | | * pass platform only if vccexe is used * fixes #12297 | ||||
* | fixes #10665 (#13141) [backport] | Andreas Rumpf | 2020-01-14 | 4 | -45/+101 |
| | |||||
* | fixes #13105 (#13138) | Andreas Rumpf | 2020-01-14 | 2 | -1/+19 |
| | |||||
* | fixes #13119 (#13128) | Andreas Rumpf | 2020-01-14 | 5 | -5/+25 |
| | | | | | * fixes #13119 * fixes a regression | ||||
* | fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) ↵ | Timothee Cour | 2020-01-13 | 2 | -14/+26 |
| | | | | | | | [backport] * fix #13100 nim doc now treats `export localSymbol` correctly * use owner instead |