summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [backport] Documentation Fix #12251 (#13226) [ci skip]Juan Carlos2020-01-221-0/+8
|
* added note to re constructor regarding performance (#13224)whiterock2020-01-221-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 Carlos2020-01-212-5/+12
| | | | headers argument instead of hardcoded empty (#13207)
* fixes a critical times.nim bug reported on IRC [backport] (#13216)Andreas Rumpf2020-01-212-2/+6
|
* fix #13211 relativePath("foo", ".") (#13213)Timothee Cour2020-01-212-0/+6
|
* Idxmin & idxmax, continuation (#13208)Miran2020-01-202-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 Jenkins2020-01-202-2/+36
|
* compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199)alaviss2020-01-203-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)cooldome2020-01-203-4/+30
| | | | | | | | * fixes #13195 * extra fix * fix typo
* fixes #13110 (#13197)Andreas Rumpf2020-01-193-3/+15
|
* Revert "fixes #13195"Andrii Riabushenko2020-01-193-29/+4
| | | | This reverts commit cd7904f2b29e623998a1d32ee726d000f56fc5ce.
* Merge branch 'devel' of https://github.com/nim-lang/Nim into develAndrii Riabushenko2020-01-190-0/+0
|\
| * fixes #13195Andrii Riabushenko2020-01-193-4/+29
| |
* | revert last commitAndrii Riabushenko2020-01-193-4/+29
|/
* Fixes #13186 (#13188)slangmgh2020-01-191-2/+4
|
* Add link to packaging.html (#13194)Federico Ceratto2020-01-191-0/+2
|
* more on arc codegen (#13178)cooldome2020-01-194-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 Cour2020-01-181-26/+40
|
* maybe: allows optional chaining of field access and indexing when LHS i snil ↵Timothee Cour2020-01-184-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 Cour2020-01-183-10/+31
|
* fixes #13144 (#13145)Timothee Cour2020-01-181-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 Cour2020-01-181-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 #13157Araq2020-01-171-3/+6
|
* followup on #10435 : should be diff, not show (#13162)Timothee Cour2020-01-171-1/+1
|
* Fix docs for subdirs too (#13180)Clyybber2020-01-173-13/+17
| | | | | * Fix doc subdirs * Extract to helper proc, and fix on windows
* make sink operator optional (#13068)cooldome2020-01-176-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 Rumpf2020-01-175-40/+110
|
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-1735-204/+183
| | | | a few magic numbers with consts (#13170)
* fixes #13095 (#13181)cooldome2020-01-172-0/+23
| | | | | | * fixes #13095 * fix typo
* Fix docs (#13176)Clyybber2020-01-166-6/+6
|
* Cleanup DFA (#13173)Clyybber2020-01-162-36/+16
|
* fix tsizeof3 for aarch64 (#13169)Jasper Jenkins2020-01-163-20/+22
|
* fixes #12998 nim doc regression (#13117)Timothee Cour2020-01-1613-16/+28
|
* Working towards arc codegen (#13153)cooldome2020-01-162-31/+96
| | | fixes #13029
* style fix: change 'JS' to 'js' to make it consistent (#13168)Miran2020-01-1614-60/+60
|
* Remove obsolete code from osalloc (#13158)Ico Doornekamp2020-01-161-10/+0
|
* CI fix timeout error (#13134)Timothee Cour2020-01-151-148/+153
|
* ARC: misc bugfixes (#13156)Andreas Rumpf2020-01-156-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 Cour2020-01-155-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 Cour2020-01-152-0/+11
|
* System cleanup, part 2 (#13155)Miran2020-01-159-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 Doornekamp2020-01-156-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)Tomohiro2020-01-141-1/+1
|
* fixes #9674 [backport] (#13143)Andreas Rumpf2020-01-142-2/+21
|
* fixes #13104 [backport] (#13142)Andreas Rumpf2020-01-141-0/+1
|
* pass platform argument only if vccexe is used (#13078)cooldome2020-01-141-10/+9
| | | | | * pass platform only if vccexe is used * fixes #12297
* fixes #10665 (#13141) [backport]Andreas Rumpf2020-01-144-45/+101
|
* fixes #13105 (#13138)Andreas Rumpf2020-01-142-1/+19
|
* fixes #13119 (#13128)Andreas Rumpf2020-01-145-5/+25
| | | | | * fixes #13119 * fixes a regression
* fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) ↵Timothee Cour2020-01-132-14/+26
| | | | | | | [backport] * fix #13100 nim doc now treats `export localSymbol` correctly * use owner instead