summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Added to docs: warning string for {.deprecated.} pragma (#8783)awr12018-08-261-1/+5
|
* [ospaths] simplify getConfigDir and introduce normalizePathEnd to make (#8680)Timothee Cour2018-08-261-4/+50
| | | | sure path endings are normalized with 0 or 1 trailing sep, taking care of edge cases
* Deprecate xlen() for strings and seqs (#8782)awr12018-08-261-2/+7
| | | | | | * deprecates xlen() for strings and seqs * added docs
* gitignore html output of nim doc foo (#8742)Timothee Cour2018-08-251-1/+5
|
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-256-31/+108
|
* Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-252-24/+30
|
* More checks for custom pragmas placement (#8765)LemonBoy2018-08-252-4/+7
| | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them.
* fixes #8739; allow --hint:foo:on --warning:bar:off (#8757)Timothee Cour2018-08-253-10/+19
|
* Fixes #8766 (#8769)hlaaf2018-08-241-1/+1
|
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-243-247/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* fixes 8754 (#8755)cooldome2018-08-242-5/+22
| | | | | | * fixes 8754 * improve test
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-08-240-0/+0
|\
| * Validate pragmas attached to for variables (#8749)LemonBoy2018-08-233-0/+13
| | | | | | Fixes #8741
* | disables flaky test; fixes #8756Andreas Rumpf2018-08-241-0/+1
| |
* | Validate pragmas attached to for variables (#8749)LemonBoy2018-08-243-0/+13
| | | | | | Fixes #8741
* | improve error messages by filtering out highly unlikely mismatchesAndreas Rumpf2018-08-241-0/+10
|/
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-08-230-0/+0
|\
| * Adds test case for #6846. (#8729)Dominik Picheta2018-08-231-0/+16
| |
| * Don't assume utcOffset == +0 for old dates on Windows (#8744)Oscar Nihlgård2018-08-231-0/+11
| |
| * Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-232-74/+89
| | | | | | | | | | | | | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* | Adds test case for #6846. (#8729)Dominik Picheta2018-08-231-0/+16
| |
* | Don't assume utcOffset == +0 for old dates on Windows (#8744)Oscar Nihlgård2018-08-231-0/+11
| |
* | Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-232-74/+89
| | | | | | | | | | | | | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* | make ospaths compile; fixes ospaths.getConfigDir for PosixAndreas Rumpf2018-08-231-3/+5
| |
* | enforce the condition of a 'when' condition to be of type bool; refs #8603Andreas Rumpf2018-08-231-1/+1
| |
* | add nimHasWarningX and nimHasHintX defines for feature detection purposesAndreas Rumpf2018-08-231-0/+6
| |
* | make nimsuggest compile againAndreas Rumpf2018-08-231-1/+1
| |
* | make niminst compile againAndreas Rumpf2018-08-231-1/+2
| |
* | fixes merge conflictAraq2018-08-2340-1695/+1844
|\|
| * Decrease source code size in `htmlparser` and add one check (#8690)Tim2018-08-231-1461/+1465
| |
| * Fix for module alias inside brackets (#8726)Oscar Nihlgård2018-08-233-14/+30
| |
| * Fixes #8719 (onFailedAssert now works for doAssert) (#8731)awr12018-08-232-8/+19
| |
| * partially fix #8218: nim doc --project (#8737)Timothee Cour2018-08-231-4/+3
| |
| * better formatting for recursive module dependency (#8735)Timothee Cour2018-08-231-1/+1
| |
| * Cleanup ttimes (#8714)Oscar Nihlgård2018-08-223-151/+75
| | | | | | | | | | | | * Refactor fromWinTime * Cleanup ttimes
| * Fix abs & unary sub in semfold (#8724)Oscar Nihlgård2018-08-222-2/+10
| |
| * Pick skParam symbols when resolving type idents (#8720)LemonBoy2018-08-222-1/+11
| | | | | | Fixes #8357
| * fixes 8594 (#8721)cooldome2018-08-222-3/+3
| |
| * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700)LemonBoy2018-08-223-17/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms.
| * Fixes #8716. (#8717)Dominik Picheta2018-08-221-1/+0
| |
| * Cosmetic: fix typo on TRIPLESTR_LIT (#8663)Iván Montes2018-08-212-2/+2
| |
| * Fix #8126 (#8712)zah2018-08-215-2/+20
| | | | | | | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release.
| * HTML generation in testament works again (#8702)LemonBoy2018-08-211-2/+2
| | | | | | Fallout from the nil-str patch. Nothing to see here, move along.
| * More robust handling of deprecated pragmas (#8696)LemonBoy2018-08-215-9/+64
| | | | | | | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867
| * sfForward is also sfReorder for skModule symbols (#8692)LemonBoy2018-08-212-1/+2
| | | | | | | | | | Take this into account while searching for undefined forward references. Fixes #8665
| * fix typo in changelog.md: nnkTupleConst => nnkTupleConstrTimothee Cour2018-08-211-1/+1
| |
| * Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-202-9/+46
| |
| * Update all the default parameters after an instantiation (#8689)LemonBoy2018-08-202-6/+16
| | | | | | | | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683
| * exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-206-20/+23
| | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
| * Fixed a minor typo (#8685)Στέφανος2018-08-201-1/+1
| |