Jeff Young
16c645bfd9
Quiet the CLang compiler.
(It's a false-positive, but CLang doesn't seem to know any better.)
5 years ago
Jon Evans
0d70cb70ea
Update nlohmann::json to 3.9.0
Release notes:
https://github.com/nlohmann/json/releases/tag/v3.9.0
5 years ago
Seth Hillbrand
acf4756e73
Remove extraneous build warning
5 years ago
Tomasz Wlostowski
151b4e4e5e
libcontext: clean up own's shit when coroutine call is over (MSVC only)
5 years ago
Ian McInerney
b5adf5bb21
Only try to remove the implicit conversion warning if it is supported
5 years ago
Seth Hillbrand
4ef02fd699
Replace TTL delauney triangulator
Removes the TTL triangulator in favor of the delaunator triangulator.
This removes the only AGPL code in the KiCad codebase and therefore
allows the full project to be licensed under the GPLv3.
5 years ago
Ian McInerney
e4b6487fca
Overhaul compiler warnings infrastructure
* Track our warnings separate from normal flags
* Remove all warnings from the SWIG code
* Add more GCC warnings
6 years ago
Thomas Pointhuber
b707c84b62
Use Record handling for parsing
Now, we know how big a record is, and should be able to parse all boards without missing bytes?
6 years ago
jean-pierre charras
48fba00eb4
Fix a compil warning.
Fixes #3964
https://gitlab.com/kicad/code/kicad/issues/3964
6 years ago
Jon Evans
1449af40ed
Add forward-declaration header for nlohmann/json
6 years ago
jean-pierre charras
79e7a27492
Fix a few Coverity warnings.
6 years ago
Jeff Young
e42788a3eb
Avoid divide-by-zero.
6 years ago
Jeff Young
32823a0855
Handle nullptr.
6 years ago
Seth Hillbrand
6a47d0f507
RTree: Fix iterator in single branch trees
In a single branch tree, we need to verify that all leaves do not match
the input search before returning.
Fixes #3764 | https://gitlab.com/kicad/code/kicad/issues/3764
6 years ago
Jeff Young
91d1508c16
Fix some Coverity identified issues.
6 years ago
jean-pierre charras
c3fc98c31d
Fix a compil error.
Fixes #3763
https://gitlab.com/kicad/code/kicad/issues/3763
6 years ago
Jeff Young
9e8a66a0a3
Don't try to clear memory if the bitmap has an invalid size.
6 years ago
Mark Roszko
94a9e81a0f
Fixes invalid initialization for Rect in rtree iterator.
The rtree has the rect array sizes templated by NUMDIM, initializing with 3 default values violates the templating.
6 years ago
Seth Hillbrand
6e5e453d0d
Replace EESchema DLIST
This moves EESchema DLIST structures to rtree. These changes are more
fundamental than the pcbnew changes from 9163ac543
888c01d11
d1877d7c1
and 961b22d60
as eeschema operations were more dependent on passing
drawing list references around with SCH_ITEM* objects.
6 years ago
Ian McInerney
792e841ecf
Update readme for libcontext
Provide the background for why this library exists
6 years ago
Ian McInerney
3342055af6
Remove section changes inside libcontext _asm calls
Changing the section like this in inline assembly
is not supported, and leads to issues because code
following the inline assembly macro ends up in the
wrong assembly section. This was causing linking
errors on gcc.
The files appear to be compiled so that the stack
isn't executable anyway, so we don't need to manually
create the section to say that.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190
6 years ago
Ian McInerney
13b6028e1b
Refactor all math into a new kimath library
* Split up the thirdparty code into the thirdparty folder (#3637 )
* Create a new kimath static library containing all the math functions
This is part of cleaning the build system for #1906 .
6 years ago
Jon Evans
772835e3e3
Add fifo_map and use it for Gerber job file generation
6 years ago
Jon Evans
3cb05155be
Remove one level of nesting; add README.txt
6 years ago
Jon Evans
4ae4c4e243
Switch from JSON11 to nlohmann/json in GerbView
See #3638
6 years ago
Ian McInerney
5c0656d97f
Move potrace and libcontext into thirdparty directory
Part of the cleanup in #3637
6 years ago
Ian McInerney
6b9f2ac91a
Move markdown2html into thirdparty directory
Part of https://gitlab.com/kicad/code/kicad/issues/3637
6 years ago
Ian McInerney
116ac9aa75
Move dxflib, tinyspline and nanosvg into a thirdparty library directory
Part of fixing https://gitlab.com/kicad/code/kicad/issues/3637
6 years ago