Clyybber
18e2ea787e
Cleanup leftovers of #12911( #12916 )
2019-12-17 17:58:04 +01:00
Andreas Rumpf
83a736a34a
ARC: cycle detector ( #12823 )
...
* first implementation of the =trace and =dispose hooks for the cycle collector
* a cycle collector for ARC: progress
* manual: the .acyclic pragma is a thing once again
* gcbench: adaptations for --gc:arc
* enable valgrind tests for the strutils tests
* testament: better valgrind support
* ARC refactoring: growable jumpstacks
* ARC cycle detector: non-recursive algorithm
* moved and renamed core/ files back to system/
* refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
2019-12-17 17:37:50 +01:00
Arne Döring
5848f0042c
add $nimeq for gdb ( #12909 )
2019-12-17 11:30:01 +01:00
cooldome
7650617448
NaN floatFormat with clang_cl ( #12910 )
...
* clang_cl nan floatFormat
* format
2019-12-17 11:25:46 +01:00
Timothee Cour
e8f4586c68
allow typed/untyped in magic procs ( #12911 )
2019-12-17 11:07:32 +01:00
Timothee Cour
e5ed4c1b7d
fix json regression D20191212T144944 ( #12902 ) [backport]
2019-12-15 23:04:06 +01:00
Krzysztof Majk
e4e74a5565
remove unused import ( #12900 )
2019-12-15 22:59:08 +01:00
BinHong Lee
20a59da401
Add --git.devel option to the documentation
2019-12-15 12:45:57 +00:00
Andreas Rumpf
347a04606b
fixes #12885 [backport] ( #12895 )
2019-12-13 19:20:29 +01:00
Andreas Rumpf
a0aa8fa857
fixes #12874 ( #12890 )
...
* fixes #12874
* fixes introduced regressions
2019-12-13 15:36:39 +01:00
cooldome
12d2b980e8
Fixes #12883 ( #12894 )
...
* fixes #12883
* fix comment
* add normalize
* fix
2019-12-13 13:30:27 +00:00
cooldome
777c9ad0ef
Better clang_cl support ( #12896 )
2019-12-13 12:12:04 +00:00
cooldome
1e1fd73530
fixes #12882 ( #12889 )
...
* fixes #12882
2019-12-13 11:24:05 +00:00
Andreas Rumpf
22b2684608
fixes #12148 [backport] ( #12888 )
2019-12-12 11:05:18 +01:00
cooldome
94289161f9
invoke createTypeBoundOps for constructors ( #12878 )
2019-12-11 10:46:20 +00:00
Andreas Rumpf
3524944e21
ARC: fixes cycle detection and move the .cursor attribute into closures ( #12872 )
2019-12-11 06:57:00 +01:00
Ico Doornekamp
e61d702206
Increased TInstr field sizes: allow long jumps and 65535 VM registers ( #12777 )
...
* Increased regBx size from 16 to 24 bits to increase jump range in the VM
from 32K to 8M instructions. Fixes #12727
* Increased VM TInst register field sizes to 16 bits to allow up to 65535 VM registers per proc
* Added test case for >255 VM registers
2019-12-10 19:04:02 +01:00
Andreas Rumpf
b8152b29e8
ARC: yet another bugfix ( #12871 )
2019-12-10 16:44:54 +01:00
Judd
56cf3403b4
introduce capture macro ( #12712 )
...
capture works for more cases than `closureScope`.
2019-12-10 13:16:37 +01:00
PMunch
65fd95bf85
Fix AVR target to define ints properly ( #12817 )
...
* Fix AVR target to define ints properly
* Fix more than AVR target
* Test to see how robust not using stdint is
* Fix for namespaces using cstdint
* Fix for pre C++11 compilers when using namespaces
2019-12-10 12:10:33 +01:00
Andreas Rumpf
61d89aae11
completes #12799 , fixes #12216 ( #12870 )
2019-12-10 12:09:48 +01:00
cooldome
13d232ec56
fixes #12827 ( #12829 ) [backport]
2019-12-10 07:08:46 +01:00
Andreas Rumpf
c282cee4db
feature dracula themed doc ( #12816 )
...
* Implement gorgeous Dracula themed Nim documentation
* Add color for escape sequences
* fixes the test cases
* the big CSS cleanup
2019-12-10 06:48:11 +01:00
cooldome
5929c3da21
fixes #12820 ( #12828 )
2019-12-09 20:03:23 +01:00
Neelesh Chandola
e4f7656772
Support cross compiling from host to host ( #12859 )
2019-12-09 13:39:25 +01:00
Neelesh Chandola
7ebb2baa6c
Assigning template to var/let/const gives a proper error ( #12851 )
...
* Assigning template to var/let/const gives a proper error
* Fix style
2019-12-09 08:19:40 +00:00
Andy Davidoff
a3d45d0c1b
add a StringTable.clear that requires no mode specification ( #12853 )
...
* add clear overload, test, changelog
* add since annotation
2019-12-09 06:58:36 +01:00
Kevin
a02d043b58
added cstrutils ( #12858 ) [backport]
...
fixed for 'csuCmpIgnoreStyle' error on hotcodereloading
2019-12-09 06:58:06 +01:00
Neelesh Chandola
ff5ef95414
Fixes #12832 ( #12842 ) [backport]
...
* Fix #12832
* nimVm -> nimvm in json.nim
* Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations
2019-12-08 23:27:25 +01:00
Mark
73dd348ddd
Manual update: custom exceptions ( #12847 ) [backport]
...
Said that you can have custom exceptions and showed how to create and raise them.
2019-12-08 21:39:44 +00:00
Elliot Waite
50c1e50184
Add a 32x32 favicon ( #12856 )
2019-12-08 22:19:35 +01:00
KeepCoolWithCoolidge
ae7b53ec51
Fixes classify function to detect subnormal floating points ( #12836 )
...
* Fix classify to test for subnormality.
* Minor fix.
* Modified to maintain existing API.
* Minor change.
* Removed 32-bit case since float is always 64-bit.
2019-12-08 20:17:11 +01:00
Elliot Waite
5da27a891c
Removing the mention of using discard for block comments ( #12837 ) [backport]
...
* Remove mention of using `discard` for block comments
* Add a 32x32 alternate favicon
2019-12-08 20:16:17 +01:00
Mark
0ebc709037
deviated -> derived ( #12846 ) [backport]
2019-12-08 20:15:19 +01:00
Mark
46144a31ab
deviated -> derived ( #12845 ) [backport]
2019-12-08 20:14:54 +01:00
Timothee Cour
23fc93fc2d
VM: allow ptr setting ptr fields ( #12825 )
2019-12-06 22:38:53 +01:00
cooldome
7213969901
fixes #12821 ( #12822 )
2019-12-06 09:56:54 +01:00
Neelesh Chandola
1db21721ec
Fixed objects being erroneously zeroed out before object construction ( #12814 ) [backport]
2019-12-05 17:31:51 +01:00
Andreas Rumpf
3fbb3bfd3f
ARC related bugfixes and refactorings ( #12781 )
2019-12-05 16:59:06 +01:00
cooldome
9b0e874687
fixes #12783 [backport] ( #12810 )
...
* fixes #12783
* Trigger build
2019-12-05 15:17:45 +01:00
Andrey Makarov
26074f594d
nimgrep improvements ( #12779 )
...
* fix sticky colors in styledWrite
* nimgrep: context printing, colorthemes and other
* add context printing (lines after and before a match)
* nimgrep: add exclude/include options
* nimgrep: improve error printing & symlink handling
* nimgrep: rename dangerous `-r` argument
* add a `--newLine` style option for starting matching/context
lines from a new line
* add color themes: 3 new themes besides default `simple`
* enable printing of multi-line matches with line numbers
* proper display of replace when there was another match replaced at
the same line / context block
* improve cmdline arguments error reporting
2019-12-05 14:42:20 +01:00
Andreas Rumpf
0e7338d65c
better support for PROGMEM like annotations for lets/vars; fixes #12216 ( #12799 )
2019-12-05 13:45:16 +01:00
Clyybber
267fed53ee
Fix #12812
2019-12-05 13:22:40 +01:00
itsumura-h
208b018f6b
fix db_mysql getRow() when column is null error raised ( #12806 ) [backport]
...
* fix db_mysql getRow()
* added if y == nil [backport]
2019-12-05 10:28:47 +01:00
cooldome
0987872675
fixes #12804 ( #12809 )
2019-12-05 07:38:12 +01:00
Araq
de1a283383
fixes #12798 [backport]
2019-12-04 20:38:20 +01:00
Arne Döring
b0c06aa711
fix #12740 ( #12774 )
...
* fix #12740
* A different kind of a hack
* proper fix
* fix typo
2019-12-04 07:33:01 +00:00
Timothee Cour
3383985c44
osx: support nanosecond resolution for file stat (eg getLastModificationTime) ( #12794 )
2019-12-04 08:12:55 +01:00
cooldome
01c7409924
Fix external file recompilation ( #12802 )
2019-12-03 16:54:42 +01:00
Alex Mitchell
7b562dd43d
Update events.nim ( #12803 )
...
Removing old username.
2019-12-03 16:54:23 +01:00