Neelesh Chandola
0f05a0dd5b
Fixes #12832 ( #12842 ) [backport]
...
(cherry picked from commit ff5ef95414 )
2019-12-10 16:14:22 +01:00
Mark
512727d75e
Manual update: custom exceptions ( #12847 ) [backport]
...
Said that you can have custom exceptions and showed how to create and raise them.
(cherry picked from commit 73dd348ddd )
2019-12-10 16:10:51 +01:00
Elliot Waite
00408a4554
Removing the mention of using discard for block comments ( #12837 ) [backport]
...
* Remove mention of using `discard` for block comments
* Add a 32x32 alternate favicon
(cherry picked from commit 5da27a891c )
2019-12-10 16:10:40 +01:00
Mark
09be379b91
deviated -> derived ( #12846 ) [backport]
...
(cherry picked from commit 0ebc709037 )
2019-12-10 16:10:33 +01:00
Mark
6f520fb6d9
deviated -> derived ( #12845 ) [backport]
...
(cherry picked from commit 46144a31ab )
2019-12-10 16:09:51 +01:00
Neelesh Chandola
789a984c1e
Fixed objects being erroneously zeroed out before object construction ( #12814 ) [backport]
...
(cherry picked from commit 1db21721ec )
2019-12-10 16:09:43 +01:00
cooldome
1edb81b66c
fixes #12783 [backport] ( #12810 )
...
* fixes #12783
* Trigger build
(cherry picked from commit 9b0e874687 )
2019-12-10 16:09:30 +01:00
itsumura-h
340c9248f1
fix db_mysql getRow() when column is null error raised ( #12806 ) [backport]
...
* fix db_mysql getRow()
* added if y == nil [backport]
(cherry picked from commit 208b018f6b )
2019-12-10 16:09:19 +01:00
Araq
9ec09bfa55
fixes #12798 [backport]
...
(cherry picked from commit de1a283383 )
2019-12-10 16:09:08 +01:00
Jasper Jenkins
a13f623f16
[backport] always set fileInfoIdx.isKnownFile ( #12773 )
...
(cherry picked from commit b6b8d540e3 )
2019-12-10 16:08:54 +01:00
Jasper Jenkins
5129a1e88d
make addQuoted work on nimscript ( #12717 ) [backport]
...
(cherry picked from commit 9ea55eccbb )
2019-12-10 16:08:42 +01:00
Araq
3f6a08d5b0
fixes #11727 [backport]
...
(cherry picked from commit 0996eb174f )
2019-12-10 16:00:29 +01:00
Araq
299f1e99cd
fixes #12488 [backport]
...
(cherry picked from commit 87f0d534d6 )
2019-12-10 16:00:20 +01:00
3n-k1
a02a4d8fc5
[backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687 . ( #12754 )
...
(cherry picked from commit 0944b0f441 )
2019-12-10 16:00:07 +01:00
Brian Wignall
10935a71ed
[backport] Fix spelling typos ( #12755 )
...
(cherry picked from commit a7aeabb9d2 )
2019-12-10 15:55:19 +01:00
Andreas Rumpf
d0e8ad17b5
more fixes for --cpu:avr [backport] ( #12748 )
...
(cherry picked from commit fd85a5ae05 )
2019-12-10 15:49:11 +01:00
narimiran
60100a9a64
bump version to 1.0.5
2019-12-10 15:44:36 +01:00
narimiran
c8998c498f
clean up the changelog
v1.0.4
2019-11-27 09:33:51 +01:00
narimiran
97e0ce3c75
bump version to 1.0.4
2019-11-25 17:46:16 +01:00
narimiran
aa7b0c8581
create a changelog for v1.0.4
2019-11-25 17:45:58 +01:00
Andreas Rumpf
d6f52f3cef
added 'since' template for further stdlib additions
...
(cherry picked from commit 372b01711e )
2019-11-25 17:25:41 +01:00
Timothee Cour
fa15083cc9
fixes #12663 staticRead now creates a dependency for rebuilds ( #12731 ) [backport]
...
* fix #12663 staticRead
* address comments
(cherry picked from commit dfe5d115fb )
2019-11-25 17:05:26 +01:00
tauplus
c868f1ef67
Fix wrong section hierarchy in the manual ( #12724 ) [backport]
...
(cherry picked from commit bfad0056ab )
2019-11-25 17:05:26 +01:00
Andy Davidoff
8f0b891e68
export nim.cfg parser ( #12602 )
...
(cherry picked from commit 61889c604a )
2019-11-25 09:46:51 +01:00
Andreas Rumpf
4084ef19a3
conversions to unsigned numbers are not checked anymore ( #12688 ) [backport]
...
* conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175
* change the spec yet again to be less consistent but to make more sense; updated the changelog
(cherry picked from commit c98e0e22ad )
2019-11-21 17:31:35 +01:00
Andreas Rumpf
7d444ff04c
fixes #12670 [backport] ( #12693 )
...
(cherry picked from commit 78e02d174d )
2019-11-21 17:27:50 +01:00
Andy Davidoff
aaf06dba1b
restore --define 🔑 val in nim.cfg and fix #12367 ( #12611 )
...
(cherry picked from commit 5544a13236 )
2019-11-20 10:23:02 +01:00
Andy Davidoff
0e1dd54fee
add --clearNimblePath; fixes #12601 ( #12609 )
...
(cherry picked from commit 738c957e94 )
2019-11-20 10:22:45 +01:00
Andreas Rumpf
c78cee697d
fixes #12612 [backport] ( #12681 )
...
(cherry picked from commit 56a00da34a )
2019-11-20 10:22:12 +01:00
narimiran
4c4116d63a
a better way to test Arraymancer + test more packages
...
(cherry picked from commit a1e7bf81b3 )
2019-11-18 12:33:24 +01:00
Andreas Rumpf
9d17d02734
attempt to add valgrind support to the CIs and testament ( #12646 )
...
* attempt to add valgrind support to the CIs and testament
* valgrind (currently) works only on 64-bit Linux
(cherry picked from commit 223e65e529 )
2019-11-18 12:28:33 +01:00
Juan Carlos
e8578c926e
Fix htmlgen html lang ( #12668 ) [backport]
...
(cherry picked from commit 9c46526cfa )
2019-11-18 12:28:18 +01:00
Dominik Picheta
5937c40928
Fixes ambiguity errors when evaluating Nimble files. ( #12674 ) [backport]
...
When trying to evaluate a Nimble file which imports a Nim module
I was getting the following errors for some reason:
```
/Users/dom/projects/nim/lib/pure/parseopt.nim(229, 46) Error: ambiguous call; both system.paramCount() [declared in /Users/dom/projects/nim/lib/system/nimscript.nim(65, 6)] and os.paramCount() [declared in /Users/dom/projects/nim/lib/pure/os.nim(2613, 8)] match for: ()
```
(cherry picked from commit bab5351d43 )
2019-11-18 12:24:33 +01:00
Miran
f3e088f11a
remove two asserts in int128.nim ( #12648 ) [backport]
...
Before this PR, `tests/misc/tconv.nim` fails when the compiler
is compiled without `-d:danger` flag.
Bear in mind that even without the asserts, the values outside of
a given range are still checked and a meaningful error message
(from `compiler/semexprs.nim`) is printed.
(cherry picked from commit 107b40f097 )
2019-11-18 12:24:32 +01:00
David Krause
39122ecd93
fix documentation of $*(dt: DateTime) ( #12660 )
2019-11-14 20:41:04 +01:00
Volodymyr Lashko
7ea60f78b5
Fix crash in terminate handler ( #12572 ) [backport]
...
* fix undefined behavior in terminate handler
* fix failing unit test
* Revert "fix failing unit test"
This reverts commit 0e5e385fbf .
* Revert "fix undefined behavior in terminate handler"
This reverts commit 2b582871f1 .
* do not throw inside terminate handler with msvc < 1923
(cherry picked from commit 4e841ab156 )
2019-11-08 15:08:08 +01:00
cooldome
ee260dd838
fixes #5050 ; fixes #11826 ( #12606 ) [backport]
...
(cherry picked from commit e1b1759439 )
2019-11-08 15:08:08 +01:00
Andreas Rumpf
23881b188e
bugfix that enables the 'since' template [backport]
...
(cherry picked from commit f69ee294c8 )
2019-11-08 15:08:08 +01:00
narimiran
e5f968da0c
revert the most of #12532
...
The reason for this revert is that 'runnableExamples' keep
mysteriously failing on 32-bit OS-es on version 1.0.x
(devel version is fine, as are 64-bit OS-es).
2019-11-08 15:07:49 +01:00
narimiran
cb2f8d4d39
[backport] print more information for the previous commit
...
(cherry picked from commit 717da9f158 )
2019-11-06 16:14:53 +01:00
narimiran
e2aa1d6d84
[backport] rewrite flaky runnable example
...
(cherry picked from commit 5381c810a8 )
2019-11-06 15:54:39 +01:00
Tor Arvid Lund
beaead0fd1
[backport] doc/tut3.rst: Fix typo in Introduction ( #12607 ) [ci skip]
...
Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
(cherry picked from commit 5ccbf7e3cf )
2019-11-06 15:54:39 +01:00
Federico Ceratto
763486a3aa
[backport] Add links to packaging and distro pages ( #12603 ) [ci skip]
...
(cherry picked from commit 59c212607e )
2019-11-06 15:54:39 +01:00
narimiran
d61dd518d9
clean up a previous merge conflict
2019-11-06 14:38:37 +01:00
Clyybber
2a292c0e71
Refactor injectdestructors ( #12295 )
...
One improvement over #devel is visible in the transformation of getEnv. With this approach we move to result whenever possible.
(cherry picked from commit 5f5879dc4c )
2019-11-06 13:49:24 +01:00
Araq
814e237ab6
refactoring: --newruntime consists of 3 different switches
...
(cherry picked from commit 61ea85687c )
2019-11-06 12:34:23 +01:00
narimiran
8324b7a86d
port the whole 'lambdalifting.nim' from devel
2019-11-06 09:44:26 +01:00
Clyybber
7ccefbc422
Fixes #12379 ( #12591 ) [backport]
...
(cherry picked from commit cf5c3f2400 )
2019-11-05 16:20:43 +01:00
Miran
8fddc8e8a1
[backport] fix #12395 ( #12590 )
...
'countBits32' is now fixed in the same way that
'countBits64' was already patched earlier (by adding 'u32
where needed).
(cherry picked from commit ae32d637f7 )
2019-11-05 16:20:25 +01:00
Andreas Rumpf
f47d977f6d
--os:ios needs to imply defined(macosx) [backport] ( #12585 )
...
(cherry picked from commit 62fc3db9d7 )
2019-11-05 16:18:50 +01:00