summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* std/byaddr => std/decls (#13847)Timothee Cour2020-04-033-3/+3
|
* create a changelog for v1.2.0narimiran2020-04-023-229/+542
|
* return types must not be Natural for reasons I won't outline hereAraq2020-04-021-1/+1
|
* added an .assert pragma and mentioned the pragmas in the changelogAraq2020-04-024-4/+8
|
* feature/count (#13837)Dean Eigenmann2020-04-022-1/+20
|
* renamed new std/pragmas.nim to std/byaddr.nim (#13844)Andreas Rumpf2020-04-023-8/+8
| | | | | * renamed new std/pragmas.nim to std/byaddr.nim * minor code cleanup
* fix last remaining warning when building nim (`intVal should be Int128`) + ↵Timothee Cour2020-04-024-47/+29
| | | | minor cleanups (#13841)
* Deprecate PHP (#13838)Juan Carlos2020-04-021-16/+1
|
* Jsconsole update (#12448)Juan Carlos2020-04-022-35/+37
| | | | | | * Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console * Improve jsconsole, add runnableexamples * Simplify jsconsole
* Deprecate DCE:on (#13839)Juan Carlos2020-04-0224-43/+0
|
* Deprecate when declared(echo):echo (#13840)Juan Carlos2020-04-024-85/+83
|
* Documentation and Code Style inotify (#13836)Juan Carlos2020-04-021-52/+53
|
* Add browsers.openDefaultBrowser without URL, implements IETF RFC-6694 ↵Juan Carlos2020-04-012-14/+40
| | | | Section-3 (#13835)
* fixes #13782 (#13834)Andreas Rumpf2020-04-014-20/+81
|
* Documentation, add more examples (#13825)Juan Carlos2020-04-015-12/+26
|
* revert stdlib changes which are not required anymoreAndreas Rumpf2020-04-016-21/+20
|
* Fix tests/types/tparameterizedparent0Zahary Karadjov2020-04-011-1/+1
|
* The raises list can now use expressions referencing the generic paramsZahary Karadjov2020-04-014-5/+16
|
* Turn some of the errors back into warningsZahary Karadjov2020-04-017-33/+63
|
* Replace tfHasRequiresInit with a more accurate mechanismZahary Karadjov2020-04-0111-45/+181
| | | | | | | | | The new mechanism can deal with more complex scenarios such as not nil field appearing in a non-default case object branch or a field within a generic object that may depend on a when branch. The commit also plugs another hole: the user is no longer able to create illegal default values through seq.setLen(N).
* Fix tests/parallel/tguard2.nimZahary Karadjov2020-04-013-3/+5
|
* Fix a CI failure during koch docZahary Karadjov2020-04-011-1/+2
|
* Fix https://github.com/nim-lang/Nim/issues/4907Zahary Karadjov2020-04-013-5/+78
|
* Close https://github.com/nim-lang/Nim/issues/11428Zahary Karadjov2020-04-011-0/+12
|
* Perform nil checks during object construction and within compiles()Zahary Karadjov2020-04-014-7/+10
| | | | Close https://github.com/nim-lang/Nim/issues/6494
* More precise error messages for uninitialized fields in the presence of ↵Zahary Karadjov2020-04-013-38/+39
| | | | inheritance
* Hrm, the new errors highlighted some code that seems to be brokenZahary Karadjov2020-04-018-22/+23
| | | | | | New issue: since `Table[A, B]` allocates its backing storage with `newSeq[KeyValuePair[A, B]]`, it's no longer legal to create a table with `not nil` types used as either keys or values.
* not nil types are illegal to construct through default(T)Zahary Karadjov2020-04-012-0/+16
|
* Turn the warning for uninitialized (result) variables into errorsZahary Karadjov2020-04-017-17/+103
|
* Fix tests/notnil/tnotnil_in_objconstr.nimZahary Karadjov2020-04-011-1/+1
|
* Enable the requiresInit checks only for objectsZahary Karadjov2020-04-012-2/+2
|
* Plug another hole: default(T) forbidden for objects requiring initializationZahary Karadjov2020-04-015-19/+31
|
* Don't allow 'var x: T' for objects that require initializationZahary Karadjov2020-04-014-37/+63
|
* More sophistication; Allow requiresInit to be specified per-fieldZahary Karadjov2020-04-014-15/+61
|
* First steps, the compiler can boot with enforced requiresInitZahary Karadjov2020-04-017-29/+26
|
* make `usage of foo is a user-defined error` more informative (#13833)Timothee Cour2020-04-011-3/+5
|
* fix open file leak when running --debugger:native (#13832)Timothee Cour2020-04-012-6/+16
|
* updated the changelogAraq2020-04-011-1/+1
|
* encodeMIME should be encodeMime by our coding guidelinesAraq2020-04-011-3/+3
|
* fix #13829 (#13831)Timothee Cour2020-04-011-1/+1
|
* Small typo (#13824)Clyybber2020-03-311-1/+1
|
* Add arm/arm64 for FreeBSD (#13822)lbartoletti2020-03-312-3/+3
| | | | | * Add arm and arm64 for FreeBSD * Add arm64 with aarch64 and reorder to avoid conflict with arm
* DrNim (Nim compiler with Z3 integration) (#13743)Andreas Rumpf2020-03-3125-35/+1242
| | | | | | | | | | | | | | | | | | | | | | | | * code cleanups and feature additions * added basic test and koch/CI integration * make it build on Unix * DrNim: now buildable on Unix, only takes 10 minutes, enjoy * added basic documentation for DrNim which can also be seen as the RFC we're following * drnim: change the build setup so that drnim.exe ends up in bin/ * makes simple floating point ranges work * added basic float range check * drnim: teach Z3 about Nim's range types plus code refactoring * drnim: make unsigned numbers work * added and fixed index checking under setLen * first implementation of .ensures, .invariant and .assume (.requires still missing and so is proc type compatibility checking * drnim: .requires checking implemented * drnim: implemented .ensures properly * more impressive test involving min() * drnim: check for proc type compatibility and base method compatibility wrt .requires and .ensures * testament: support for 'pattern <directory> * koch: uses new <directory> feature of testament * drnim: added tiny musings about 'old' * Make testament work with old SSL versions * koch: add support for 'koch drnim -d:release' * drnim: preparations for the param.old notation
* Tiny fix on browsers.openDefaultBrowser (#13818)Juan Carlos2020-03-311-1/+3
|
* Fix a 'See XXX' on documentation, clean out (#13820)Juan Carlos2020-03-311-2/+1
|
* fixes #13810 (#13821)cooldome2020-03-312-2/+23
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* macros for proc types, macros for types (#13778)Andreas Rumpf2020-03-317-140/+303
| | | | | | | | | * new minor feature: macros for proc types, to be documented * Finished the implementation and added tests * [skip ci] Describe the new custom pragmas in the manual and the changelog Co-authored-by: Zahary Karadjov <zahary@gmail.com>
* workflows/ci_docs: fix documentation deployment (#13819)alaviss2020-03-311-3/+9
| | | | | | | | | | | | * workflows/ci_docs: fix docs publishing It turns out that github.ref is the full ref name, so we have to be a bit more specific. See https://developer.github.com/v3/activity/events/types/#pushevent Also fixed a silly typo :) * workflows/ci_docs: run CI when there are changes to the workflow
* Unwind just the "pseudorandom probing" part of recent sets,tables changes ↵c-blake2020-03-318-175/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#13816) * Unwind just the "pseudorandom probing" (whole hash-code-keyed variable stride double hashing) part of recent sets & tables changes (which has still been causing bugs over a month later (e.g., two days ago https://github.com/nim-lang/Nim/issues/13794) as well as still having several "figure this out" implementation question comments in them (see just diffs of this PR). This topic has been discussed in many places: https://github.com/nim-lang/Nim/issues/13393 https://github.com/nim-lang/Nim/pull/13418 https://github.com/nim-lang/Nim/pull/13440 https://github.com/nim-lang/Nim/issues/13794 Alternative/non-mandatory stronger integer hashes (or vice-versa opt-in identity hashes) are a better solution that is more general (no illusion of one hard-coded sequence solving all problems) while retaining the virtues of linear probing such as cache obliviousness and age-less tables under delete-heavy workloads (still untested after a month of this change). The only real solution for truly adversarial keys is a hash keyed off of data unobservable to attackers. That all fits better with a few families of user-pluggable/define-switchable hashes which can be provided in a separate PR more about `hashes.nim`. This PR carefully preserves the better (but still hard coded!) probing of the `intsets` and other recent fixes like `move` annotations, hash order invariant tests, `intsets.missingOrExcl` fixing, and the move of `rightSize` into `hashcommon.nim`. * Fix `data.len` -> `dataLen` problem.
* #13806 - getApplFreebsd might lose data (#13807)Euan2020-03-311-16/+16
| | | | | | | | | * #13806 - first call sysctl with a null buffer to get the length, then alloc buffer and call again * Use csize_t rather than csize * Suggestions from @Clyybber Co-authored-by: Euan Torano <euan.torano@bluesky-wireless.co.uk>