Commit Graph

93 Commits

Author SHA1 Message Date
qu1ck a221f7aa56 Mark json validator lib explicitly STATIC 2021-09-25 13:24:10 +00:00
Marek Roszko daca9d21f2 Add dxf point import
Fix #9149
2021-09-12 19:38:52 -04:00
Seth Hillbrand 45c7ef7e76 Remove last pybind11 forcing non-debug libs 2021-08-31 09:19:26 -07:00
Seth Hillbrand fc01eb73ae Remove unused elif in FindPythonLibsNew.cmake 2021-08-31 09:12:14 -07:00
Marek Roszko ef38642bf1 Patch pybind11 for MSVC
Pulls a series of patches for MSVC options from earlier in tree
2021-08-31 06:35:35 -07:00
Seth Hillbrand 317fae2098 Update Pybind11 to prevent conflict with wxTranslate
We change the pybind templates '_' to be '_x' to avoid conflicting with
the wxTranslate macro `_`
2021-08-30 16:55:49 -07:00
Seth Hillbrand 84c7cc6c21 Update to pybind11 v2.7.1 2021-08-30 16:55:36 -07:00
qu1ck 1d17e12371 Add json-schema-validator library 2021-08-27 21:11:47 +00:00
qu1ck 2ba41c9b27 Add picosha2 library 2021-08-27 21:11:47 +00:00
Roberto Fernandez Bautista cad27f9baa Clipper: Use std::function for Z fill callback 2021-07-03 19:37:50 +00:00
Roberto Fernandez Bautista 83263784ea Define use_xyz in clipper.hpp to allow use of Z values 2021-07-03 19:37:50 +00:00
Marek Roszko 2bde19bde2 Patch pybind11 to use debug python libraries on windows 2021-06-01 20:18:24 +00:00
Marek Roszko 3c361aae59 Fix vcpkg find of python libraries 2021-06-01 20:18:24 +00:00
Seth Hillbrand d585b6580d Patchup pybin11 FindPythonLibsNew for MSVC 2021-06-01 20:18:24 +00:00
Seth Hillbrand 24f6cc99fa Add missing cmake 2021-06-01 20:18:24 +00:00
Seth Hillbrand 256f259627 Fix PyBind11 _ usage to be compatible with i18n 2021-06-01 20:18:24 +00:00
Seth Hillbrand 81d58bcea9 Working python window 2021-06-01 20:18:24 +00:00
Mark Roszko 27bf45417a Fix typo in arch name 2021-03-12 15:05:38 +00:00
Marek Roszko db1f457ff9 Add msvc flag definition for ARM64 2021-03-10 21:48:04 -05:00
Marek Roszko 204e615b49 Fix wrong offset in msys2 x64 libcontext implementation not saving fiber data pointer
This should have/may have been causing random crashes on calls into win32 api. fiber data is located at offset 0x20 of the stack not 0x18.
2021-03-07 15:55:23 -05:00
Marek Roszko ccaf352a5e Add /safeseh for 32bit msvc libcontext
Special flag thats default for modern platforms already
2021-03-04 22:20:58 -05:00
Marek Roszko 2bf488e0c7 Add cmake option to enable win32 fibers 2021-03-04 21:48:26 -05:00
Marek Roszko bdb141da0a Fix fiber local storage offset (crashfix) 2021-03-03 21:14:17 -05:00
Marek Roszko 320b519278 Add assembly based libcontext implementation for MSVC builds 2021-03-03 21:14:17 -05:00
Jon Evans 24e375742b Update nlohmann::json to 3.9.1
Release notes:
https://github.com/nlohmann/json/releases/tag/v3.9.1
2021-03-03 19:36:05 -05:00
Marek Roszko 907e282347 Silence some msvc warnings
- exception variables that were unused
- RAYSEG2D improperly foward declared with class instead of struct
- unused vars
2021-02-20 11:58:55 -05:00
Marek Roszko 627d321ec5 Remove questionable dropping of inline for msvc in markdown2html 2021-01-31 19:54:33 -05:00
Marek Roszko 9d0b16e814 bool/int type safety 2021-01-31 19:54:32 -05:00
Marek Roszko b17ba9d632 Tiny tiny cleanup 2021-01-31 19:09:28 -05:00
Seth Hillbrand 1a3ab551cf Cleanup
FindLineSegmentIntersection() was refactored in 2012 but there are a few
uses that didn't get updated.  This finalizes the cleanup

Fixes https://gitlab.com/kicad/code/kicad/issues/7365
2021-01-31 15:55:52 -08:00
Jiajie Chen ce8039c327 libcontext: Initial support for Apple Silicon
The assembly for apple_arm64 is adapted from linux_arm64 target with small modifications:

1. Re-enable FPU conditional save/restore as apple_x86_64 does
2. Workaround limitation in relocation in assembly for clang
2021-01-08 19:51:28 +00:00
Ian McInerney 580293c7fa libcontext: Call exit instead of random memory address on MSW x86_64
The original call would jump to a meaningless low address on error,
but the upstream Boost context and 32bit version of this function
call exit to properly terminate the code when this error occurs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/6820
2020-12-23 23:40:56 +00:00
Ian McInerney 31c5776fc0 Add missing header to rtree
Another GCC11 header change that broke the build
2020-12-09 23:13:33 +00:00
jean-pierre charras 20880268bf fix a few Coverity warnings 2020-11-26 07:36:37 +01:00
jean-pierre charras e5daac97c2 fix compil warrnings (shadowed vars) 2020-11-20 09:13:31 +01:00
Marek Roszko 6dfcc8a755 dxflib_qcad: add <cstring> to includes for strlen() prototype
upstream commit
d4ea687c4a6039a43cc782fbbce477720df11e78
2020-11-19 19:19:59 -05:00
Marek Roszko 86d4daa591 dxflib_qcad: add support for flipped dimension arrows to dxflib
upstream: 2f8c19e2a4434f1ce2b94ac798028b9bb12c983a
2020-11-19 19:19:59 -05:00
Marek Roszko d7e10c22c6 dxflib_qcad: match rename of DimAngularData to DimAngularData2L
upstream 1655be6c7d58609397e9f04cfaff08336d69b20e
2020-11-19 19:19:59 -05:00
Marek Roszko baebf7036f dxflib_qcad: Saving dimension with custom text position
upstream commit b4c74180a6857c7b63f7a71e1236930e85c15134
2020-11-19 19:19:59 -05:00
Marek Roszko 5ea6755594 dxflib_qcad: add dimscale support for leaders
upstream commit
049e1bf95138f32360609b83372e358963a9dd9c
2020-11-19 19:19:59 -05:00
Marek Roszko ac31cee0cc dxflib_qcad: fix DL_POLYLINE3D flag definition
upstream commit
3504cddee254bec2240456d8b3acbbc2dec06fef
2020-11-19 19:19:58 -05:00
Marek Roszko 4b890212ba dxflib_qcad: fix LWPOLYLINE without Z values
upstream commit
715f02eee3f76e3862aeb788a2c814334f74186d
2020-11-19 19:19:58 -05:00
Marek Roszko 7fd37c39a1 dxflib_qcad: backport "cleanup"
upstream commits
6a43fa3c6d6a99f73bda7a36eaf3b78906d41380
f2db48daf183575a3767beed6345767901803cb9
722ee2223069afac1b5a3c02812242cd9f723b8a
2020-11-19 19:19:58 -05:00
Marek Roszko 1703eb8494 dxflib_qcad: cherry std::istream usage
upstream e0046e6dbff8148f5d8ef8e3f149ad99384c67a8
2020-11-19 19:19:58 -05:00
Marek Roszko e8ae7e91e2 Fix MSVC warnings in dl_dxf.cpp 2020-11-19 01:24:32 -05:00
Marek Roszko d0e504f26e Better name the include guard 2020-11-19 01:06:29 -05:00
Marek Roszko f7065a2643 Add missing include guard in gzip-hpp 2020-11-19 01:04:42 -05:00
Marek Roszko 9115f6031f Suppress msvc warning due to pragma gcc 2020-11-19 01:03:58 -05:00
Ian McInerney 11e6cac42b Introduce EGL backend support for the OpenGL canvas
wxWidgets 3.1.5+ on Linux will compile with the Wayland EGL
canvas as the backend instead of the X11 backend. This requires a
version of GLEW compiled with the proper EGL defines and a different
header/code for certain parts that are X11 GLEW specific.

This introduces an in-tree version of GLEW that will be built with the
GLEW_EGL flag then statically linked into the KiCad executables when
EGL support is needed.
2020-11-11 00:41:02 +00:00
Jeff Young a730478d5d Fixes to Clipper fixes.
Clipper was only broken when rounding down, not when rounding up.
2020-11-04 15:25:44 +00:00