Alex Shvartzkop
b784b44ed0
UTF16ToWstring: stop at NUL input terminator.
2023-07-25 00:21:55 +03:00
Alex Shvartzkop
d40e34aebe
CompoundFileReader: fix build error
2023-07-23 15:13:08 +05:00
Alex Shvartzkop
c39dfb9f05
CompoundFileReader: fix UTF16~wstring conversion on 16b wchar compilers
2023-07-23 14:55:15 +05:00
Marek Roszko
a5cf2716b6
Update {fmt} to 10.0.0
2023-07-15 13:49:55 -04:00
Simon Richter
49a72f7cb4
Fix keyword order in include setup ( Closes : #15081 )
...
The SYSTEM keyword can only be used before a visibility keyword, so
"PUBLIC SYSTEM" declares an include directory named "SYSTEM".
2023-07-03 10:11:00 +00:00
Seth Hillbrand
d5d28e5b34
Add magic_enum
2023-06-14 09:44:10 -07:00
Seth Hillbrand
fe62a3f985
Update Clipper2 to 9d946d7
...
Fixed a number of smaller issues as well as overlapping segment
cleaning.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14682
2023-06-01 11:38:33 -07:00
Ian McInerney
20ec8ed303
Fix GitLab URLs to point to the correct project page
...
GitLab 16.0 removes support for URLs that don't contain /-/ after the
repository name, so the report bug feature and various links we had in
the source (including the git-fixes script) would lead to a 404 error.
See GitLab docs for deprecation/removal notice:
https://docs.gitlab.com/ee/update/deprecations.html?removal_milestone=16.0#legacy-urls-replaced-or-removed
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14759
2023-05-17 11:23:00 +01:00
Seth Hillbrand
f7f52d77e4
Rework Copper Sliver check
...
Adds QA checks to copper sliver tests. Adds the following checks:
- Dot product between two arms (quickly avoids checks for >90°)
- Checks the sliver is convex (area test)
- Eliminates minor slivers with angles that are approximately 0 and ones
with the opposite side width beneath a configurable level
- Updates Clipper2 to fix a couple of jagged edges on inflate
- Adds simplify during zone fill inflation to limit jaggies
Fixes https://gitlab.com/kicad/code/kicad/issues/14549
2023-04-25 10:32:46 -07:00
Jeff Young
2533141583
Revert "Update pybind11 to version 2.10.4" for now.
...
This reverts commits 9d077c9ba5
and
b4938f5198
.
They cause a crash-on-startup on Mac ARM machines, failing to get the
locale encoding (nl_langinfo(CODESET) failed).
2023-04-18 17:28:10 +01:00
Alex
b4938f5198
Patch pybind11 version 2.10.4 for MSVC
...
Based on commits c483c582
and 8f1b2acd
2023-04-16 22:34:22 +00:00
Alex
9d077c9ba5
Update pybind11 to version 2.10.4
2023-04-16 22:34:22 +00:00
Marek Roszko
d18102fff6
Add a hack to try and capture more crash data
2023-04-16 13:49:21 -04:00
Marek Roszko
ca770c79ab
Make libcontext build statically
...
Fixes an issue combining cpp and obj files explicitly on arm64
2023-04-10 21:22:04 -04:00
Marek Roszko
32a747374f
Fix the #ifdef for the release_fcontext stub
...
As if the if def hell was easy to read
2023-04-10 19:12:27 -04:00
Marek Roszko
726b137fed
Fix libcontext arm64 build and purge winfiber
...
The winfiber implementation ran into memory leak issues as it didnt exit the stack jumps correctly
and lets not mislead anyone by keeping it
2023-04-10 18:07:35 -04:00
Ian McInerney
45b8dced92
Fix nanodbc build with clang and gcc stdlib
...
This should really be fixed upstream somehow, but the upstream build
with clang is broken on Fedora 38 right now anyway due to header issues.
2023-04-02 00:50:33 +01:00
jean-pierre charras
ac71227e75
Fix compil warnings.
2023-03-23 18:36:59 +01:00
Seth Hillbrand
97558b62ec
Update to Clipper 1.2+
...
Updates to Clipper2 742614f, which includes bug fixes for specific KiCad
boards beyond Clipper2 itself
Fixes https://gitlab.com/kicad/code/kicad/issues/14294
2023-03-22 15:24:26 -07:00
Ian McInerney
e20b33cb66
Fix boost dependencies
...
* Add Boost::locale explicetly to the CMake since nanoodbc requires it
* Don't let nanoodbc add all Boost libraries to the link line, since it
is used in common, and it was pulling the unit test framework into
common then.
2023-03-11 13:29:45 +00:00
Marek Roszko
b4bb1f4b46
update vcpkg to get the arm64 compatible packages
2023-03-10 21:23:09 -05:00
Marek Roszko
65818bd4a3
Add windows arm64 support
2023-03-10 21:19:56 -05:00
jean-pierre charras
67ec09c850
fix a minor compil warning
2023-03-05 09:16:04 +01:00
Jon Evans
99dea1a9d7
Update {fmt} to 9.1.0
2023-03-01 17:53:27 -05:00
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
...
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
2023-02-22 01:44:06 +00:00
Seth Hillbrand
5a56b18b0e
Revert "Update Clipper2 to version 1.1.1"
...
This reverts commit c594a0eba2
.
2023-02-17 09:24:19 -08:00
Seth Hillbrand
c594a0eba2
Update Clipper2 to version 1.1.1
2023-02-17 17:14:37 +01:00
Ian McInerney
1355561d6c
Update lemon to latest upstream sources
...
This is the lemon.c and lempar.c files from uptream as of Feb 16, 2023.
2023-02-16 18:30:46 +00:00
Marek Roszko
041b7b196d
update sentry-native to 0.6.0
...
primarily interested in windows bug fix to stack unwinding
2023-02-15 21:08:22 -05:00
Alex
89429996da
Fix a crash in rectpack2D when unable to pack footprints.
2023-02-10 22:45:07 +03:00
Kliment
327956ae27
nanosvg: Fix nanosvg default stroke width to assume 0 instead of 1px
...
Nanosvg assumes that an unspecified stroke width is 1px, whereas the SVG
specification specifies it should be read as 0px. This causes problems
when scaling factors are applied to 0px lines, leading to them being
misinterpeted by our import.
This commit fixes the nanosvg assumption by setting the initial stroke
width to 0 instead of 1px.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13353
2023-01-31 20:34:25 +00:00
Marek Roszko
0f13ab8065
Update sentry-native sdk to latest
...
There's a crash fix in sentry itself due to threading race
2023-01-27 23:54:20 -05:00
Chris Morgan
0c3e245ff3
nanodbc - CMakeLists.txt - Provide a helpful message to the developer to indicate the two odbc options to install if neither is found
2023-01-21 22:24:52 +00:00
Jon Evans
55bf6b6773
Suppress unnecessary navlib stderr output on macOS
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13562
2023-01-20 12:32:09 -05:00
Steven A. Falco
0c2e550143
Fix GCC 13 build error.
...
See https://kicad.zulipchat.com/#narrow/stream/258851-Developer-Chat/topic/GCC.20Breakage
for more info.
2023-01-18 23:14:33 +00:00
Marek Roszko
3c325f2e61
Add missing include to spacemouse CCommandTreeNode.hpp
...
Required by MSVC in conformance mode
2023-01-15 20:24:29 -05:00
Seth Hillbrand
f8d2bdbdf9
Fix Clipper2 memory leak
2022-12-18 11:45:52 -08:00
Marek Roszko
24ca892afb
Update tinysplice to latest
...
A few years worth of bug fixes
2022-12-06 22:28:23 -05:00
Seth Hillbrand
1b18e1eb6a
Avoid double-move
...
This was flagged by coverity but doesn't seem to be an actual issue in
g++/clang. It technically leaves the moved rvalue in a "valid but
undefined state", so it is best to avoid. The single copy into an
lvalue is (I think) cheap
2022-12-04 10:26:48 -08:00
Seth Hillbrand
f9a36b9c91
Update thread_pool to 3.3
...
Fixes an issue with `wait_for_tasks()` and adds a lower-overhead
`push_loop` helper. We replace our usage of `parallelize_loop` with
`push_loop` as we didn't use the multi-future vector return and don't
need the extra overhead.
2022-12-02 12:01:34 -08:00
Seth Hillbrand
203f5538aa
Correctly place static library spec
2022-11-22 05:45:26 -08:00
Seth Hillbrand
e2fd67d434
Remove extra CPack
2022-11-21 07:01:39 -08:00
Marek Roszko
6cf6888489
Update argparse
2022-11-13 11:50:27 -05:00
jean-pierre charras
85e44c2dae
pcbnew, SVG import: fix an issue for SVG files using a CR+LF end of file
...
The issue was in a validity test working only if CR+LF is not replaced by LF
Fixes #10096
https://gitlab.com/kicad/code/kicad/issues/10096
2022-11-09 09:33:51 +01:00
Jon Evans
dd94b2d3a7
Rename PROPERTIES to STRING_UTF8_MAP for clarity
...
This class has nothing to do with the properties system
2022-11-06 11:51:52 -05:00
Jon Evans
995a153f27
Update nlohmann::json to 3.11.2
...
Also update json_schema_validator to match new deprecations
2022-11-05 10:53:57 -04:00
Seth Hillbrand
fd592abddd
Refactor inline RectClip routines
2022-10-28 21:34:25 -07:00
Seth Hillbrand
f91ac8a03f
Undefine None for X11 after Clipper2 update
2022-10-28 21:30:59 -07:00
Seth Hillbrand
c6417fd101
Update Clipper2 to 1.0.6
2022-10-28 17:01:36 -07:00
Seth Hillbrand
283dba00c3
Fix the "None" define with a hammer
...
The X.h definition of None creeps in older Linux distributions in
multiple places. Better to just force undefine it because we never need
it
2022-10-20 08:24:09 -07:00