Seth Hillbrand
3260aa2213
Utilize libpopcnt
...
We need to be sure to reference the include when pulling in
dynamic_bitset
2025-01-29 08:18:46 -06:00
Jon Evans
3f7e459d62
API: add a schema for plugin config files
...
Also flip the dependence between json_schema_validator and kicommon,
and create a shared JSON_SCHEMA_VALIDATOR so that we don't have to
copy/paste the schema loading code as much
2025-01-05 17:08:33 -05:00
Jon Evans
722ffa1c66
Update magic_enum to v0.9.7
2025-01-04 13:40:11 -05:00
Jon Evans
5ef9537364
Update {fmt} to 11.1.1
2025-01-04 13:40:11 -05:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Seth Hillbrand
06e113c85d
Quiet GCC warnings
2024-12-30 12:57:15 -08:00
Seth Hillbrand
e9bc8cfe9d
Give Clipper1 a Viking funeral
...
Clears out the last spot where we were only using Clipper1 (how'd I
miss that?) and remove all calls to the Clipper1 structures
2024-12-23 17:12:09 -08:00
Jon Evans
d0b2334ceb
PNS: Support via stacks
2024-11-04 21:30:38 -05:00
Jon Evans
a007cc438f
Update {fmt} to 11.0.2
2024-09-21 17:44:10 -04:00
Seth Hillbrand
5e0abadb23
Reorganize layer numbering
...
F_Cu = 0
B_Cu = 2
Remaining internal copper layers are even and incrementing
Non-copper layers are odd and incrementing.
This means that we can no longer do things like:
for( PCB_LAYER_ID layer = F_Cu; layer <= B_Cu; ++layer)
Instead, we have the class LAYER_RANGE:
for( PCB_LAYER_ID layer : LAYER_RANGE( F_Cu, B_Cu) )
Similarly, gt/lt tests should not refer to the integer value of the
layer. We have functions such as IsCopperLayer to test whether a layer
is copper or not.
When using the connectivity RTree, the third dimension is layer, so we
provide B_Cu with the special INT_MAX value, ensuring that elements
between F_Cu and B_Cu will be identified. There is a new, special
function GetBoardLayer() for interfacing with CN_ITEMS
Similarly, PNS layers remain unchanged and sequential. A set of
interface functions is provided to map PNS layers to Board layers and
back. This allows the PNS_LAYER_RANGE to function as expected
2024-09-06 23:07:58 +00:00
Seth Hillbrand
7214ef1f14
Remove basic masking class map_string_utf8
...
This is just std::map<std::string, UTF8>, using the class just masks
what it is and adds unclear functions.
2024-08-19 11:51:13 -07:00
jean-pierre charras
a53dd998b9
Clipper2: fix a compil warning with gcc 14 (already fixed in Clipper2 repo)
2024-05-21 19:56:49 +02:00
Alex Shvartzkop
4ecca01392
Improve build times by not leaking <filesystem> everywhere.
2024-05-06 02:26:16 +03:00
Jeff Young
10aec91075
lint reduction
2024-05-05 12:55:38 +01:00
Marek Roszko
2f0ff4e557
Update sentry-native to 0.7.2
2024-04-29 22:05:05 -04:00
Marek Roszko
cd886a19d3
Partially update the json validator
2024-04-12 20:00:12 -04:00
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
...
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
2024-04-02 19:34:36 -04:00
Marek Roszko
d134d7cc2a
Add missing include to force correct linkage
2024-03-22 06:48:47 -04:00
Marek Roszko
e32b26ebeb
Move JSON_SETTINGS and PARAMS to kicommon
2024-03-20 23:29:42 -04:00
Roberto Fernandez Bautista
69107816f1
nanodbc: Fix use after free
...
Cherry picked from upstream commit e24383436703c9151af1e22652e7d4dbbb52fc15
e243834367
2024-03-19 18:50:20 +01:00
Mark Roszko
72d83cd5de
Revert "Move JSON_SETTINGS and PARAMS to kicommon"
...
This reverts commit 81855aaaa6bd2fd1bb2d812f9e64664fc1e7c18e
2024-03-18 00:08:46 +00:00
Marek Roszko
81855aaaa6
Move JSON_SETTINGS and PARAMS to kicommon
2024-03-17 18:11:49 -04:00
Alex Shvartzkop
1126227206
Add add_choices accepting std::vector to argparse for convenience.
2024-03-03 21:21:45 +03:00
Alex Shvartzkop
991b4299d6
Update argparse.
...
Otherwise .choices doesn't work properly.
See https://github.com/p-ranav/argparse/issues/307
2024-03-03 21:21:41 +03:00
Steven A. Falco
b352b1484f
Patch clipper for gcc on Fedora
2024-02-21 19:23:49 +00:00
Marek Roszko
d6d25c030e
add sentry-native files missed in earlier commit
2023-12-18 22:10:40 -05:00
Marek Roszko
421cf3d344
sentry-native update to 0.6.7
2023-12-17 21:39:10 -05:00
Marek Roszko
de2f5f6547
argparse update
2023-12-17 21:29:05 -05:00
Seth Hillbrand
4a9994931a
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
2023-12-17 21:25:39 -05:00
Marek Roszko
33f75fbd0a
Update bs_thread_pool to 3.5.0
2023-12-17 21:25:31 -05:00
Marek Roszko
8e6b8911c8
Update nlohmann_json to 3.11.3 to silence char_traits deprecated warning
2023-12-17 21:14:08 -05:00
Marek Roszko
71383c9c73
Fix warnings about sprintf use.
2023-12-17 20:56:15 -05:00
Seth Hillbrand
daf178b64f
Upgrade Clipper2 to 1.3.0
...
Fixes a number of minor inflation issues including slivers when
overlapping points are inflated
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16182
2023-11-28 16:02:39 -08:00
Mark Roszko
2b3ad808ea
Add the BTI C hint to libcontext arm64
2023-11-01 15:53:11 +00:00
Alex Shvartzkop
64a64f5216
NanoSVG: parse 'class' attribute before 'style'.
2023-10-09 07:04:50 +03:00
Jeff Young
902e5df2e8
Report unsupported DXF features on import.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15614
2023-09-25 16:21:11 +01:00
Ian McInerney
a44728bc13
Remove minimum CMake versions from thridparty
...
New CMake versions warn when support for CMake 3.5 and before is
requested, so since we use a higher CMake minumum, just remove these
version checks in the thridparty code to remove the warnings.
2023-09-24 00:21:06 +01:00
Jon Evans
9973dd3e5d
Fix sentry compile issues on macOS
2023-09-19 20:31:14 -04:00
Jeff Young
9114578004
Improve custom rules syntax help (based on info in docs).
...
Also turns on table processing in ConvertMarkdown2Html().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15609
2023-09-16 14:41:43 +01:00
Mark Roszko
ca0b103b54
Fix/disable argparse install (again)
2023-09-15 16:21:50 +00:00
Marek Roszko
0e0c267829
Add missing pragma once to compoundfilereader.h
2023-09-09 22:00:04 -04:00
Marek Roszko
bd52ed2054
Upgrade {fmt} to 10.1.1 to fix warnings
2023-09-09 18:39:24 -04:00
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
...
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
Alex Shvartzkop
2c07866fff
NanoSVG: update image size to the actual size after scaling.
2023-09-07 10:57:02 +03:00
jean-pierre charras
ecd8c7e2cc
Fix a compil issue (in sch_altium_plugin.cpp) and compil warnings.
2023-09-07 08:53:30 +02:00
Alex Shvartzkop
c64b44913c
NanoSVG: change preserveAspectRatio default to "xMidYMid meet".
2023-09-02 22:06:32 +03:00
Alex Shvartzkop
2cd7c0636f
NanoSVG: basic support for stylesheets.
...
Based on https://github.com/memononen/nanosvg/pull/175
2023-09-02 19:17:31 +03:00
Marek Roszko
88a76d4b01
Update argparse to get multiline alignment
2023-08-31 22:09:34 -04:00
jean-pierre charras
9e446ba17b
Update Clipper2 to commit 7cf615c2799a9328ec32eb116f46b64ed34aecff.
...
(it fixes (or try to fix) an issue impacting Kicad)
2023-08-27 11:13:27 +02:00
Seth Hillbrand
57ae1b872e
Fix build issue in Clipper2 for *nix
2023-08-22 12:15:05 -07:00