Seth Hillbrand
e8c96a8a20
Fixups for a9ae86ee
...
Correcting a couple mistakes and clarifying rounding
2024-05-31 17:31:50 -07:00
Seth Hillbrand
382477c622
Fix sin/cos fixed values
2024-05-31 17:10:36 -07:00
Marek Roszko
8b4253cda4
Drop the first point of an arc when building an outline when there's a previous point that's being changed
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18125
2024-05-31 18:40:16 -04:00
Seth Hillbrand
2f9b10e379
Revert "Add additional 45° shortcuts for sin/cos"
...
Needs more testing
This reverts commit e83ca5e91d
.
2024-05-31 14:40:10 -07:00
Jeff Young
5d62345cbd
ADDED checkbox to turn Margin layer on/off.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12493
2024-05-31 22:08:40 +01:00
Seth Hillbrand
79a354bf0e
Unify SCH_PIN ambiguity in equality operator
...
Remove != operator that is not used for C++20 and reworked
SCH_PIN==SCH_ITEM operator that was not reciprocal
2024-05-31 13:42:36 -07:00
Seth Hillbrand
c6499cf5db
Remove unneeded != operator
...
C++20 defines these implicitly
2024-05-31 13:29:34 -07:00
Seth Hillbrand
e83ca5e91d
Add additional 45° shortcuts for sin/cos
2024-05-31 13:27:52 -07:00
Seth Hillbrand
a9ae86eefd
Cleanup geometry functions
...
Added Distance(VECTOR2) function that returns a double. Removed
superfluous EuclideanNorm, GetLineLength, integer constructor for
EDA_ANGLE (this promotes to double in the CTOR), DistanceLinePoint and
HitTestPoints
Also extended the size for arc calculations that get distances to center
points to avoid overflow
2024-05-31 12:26:37 -07:00
Jeff Young
931de12072
Use wxWidgets to track DPI.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
2024-05-31 17:08:43 +01:00
Jeff Young
e3f77cd410
Handle DPI_CHANGED events for 3D canvases.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
2024-05-31 17:08:43 +01:00
jean-pierre charras
1322e0bc73
symbol editor: allows rotation of fields in derived symbols.
...
Fields in derived symbols are editable, so the context menu must allow rotations.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18003
2024-05-31 17:32:31 +02:00
Jeff Young
3cc653b6ff
Revert DPI-change fix.
...
(Jon has a better one coming.)
2024-05-31 15:46:01 +01:00
Jeff Young
f907b58d17
Handle DPI-change for footprint 3D-previews in Footprint Chooser.
2024-05-31 13:48:44 +01:00
Jeff Young
2681461992
Formatting.
2024-05-31 13:35:44 +01:00
Jeff Young
f3d5d4afdd
Formatting.
2024-05-31 12:35:17 +01:00
Jeff Young
3be6d5c5de
Setup 3D canvas for Footprint Chooser previews.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17910
2024-05-31 12:33:32 +01:00
Jeff Young
6f0a1ade01
Don't add things to the selection that aren't in the commit.
...
Don't process line-pairs when one has already been deleted.
Clean up created line segments when operation is cancelled.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18122
2024-05-31 11:49:24 +01:00
Jeff Young
b567e4d521
Silently interpret 0 as cancel.
...
No need to interrupt the user's workflow.
2024-05-31 10:54:07 +01:00
Jeff Young
c60796aa4f
Formatting.
2024-05-31 10:46:34 +01:00
Jeff Young
7151f9a131
Formatting.
2024-05-31 10:36:51 +01:00
Jeff Young
1eb26b439a
REMOVED new footprint dialog.
...
We now just create an "Untitled" footprint.
Also fixes a bug where the preview of new footprints
would zoom in too far.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17573
2024-05-31 10:36:51 +01:00
Seth Hillbrand
015b93b474
Fixup arc check in dp coupled
...
Handle arcs starting at candidate end point.
Fix total arc size
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17967
2024-05-30 22:45:33 -07:00
Marek Roszko
0354345963
Fix another spot the logger for boost test is hardcoded
2024-05-30 20:17:55 -04:00
Seth Hillbrand
75ab3d9e8b
Handle arcs dp coupling
...
Calculate coupled arcs and spacing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17967
2024-05-30 16:11:12 -07:00
Seth Hillbrand
bffbdad9c0
Cleanup track comps
2024-05-30 14:21:51 -07:00
Seth Hillbrand
429625e311
Unify SHAPE_ARC clockwise calc.
...
We don't really need the extra angle calculations
2024-05-30 14:19:57 -07:00
jean-pierre charras
1c9e96c89a
do not flag an empty string as translatable.
2024-05-30 15:50:32 +02:00
Jeff Young
f84b66b985
Change 3D Viewer default to follow-plot-settings.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17060
2024-05-30 14:30:56 +01:00
Jeff Young
652c1d4006
Formatting.
2024-05-30 13:12:53 +01:00
Jeff Young
c0635f222d
Apply ExportPdf fix to remaining jobs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17863
2024-05-30 09:19:23 +01:00
Marek Roszko
16ae81abb3
Change log level for boost test text log to message
2024-05-29 22:23:59 -04:00
Marek Roszko
4c5b4cd99f
Add BOOST_TEST_CONTEXT wrap in one function
2024-05-29 22:23:59 -04:00
Alex Shvartzkop
7a0d75a5c4
Improve GRID_CELL_ICON_TEXT_RENDERER rendering on hidpi monitors.
2024-05-30 03:56:30 +03:00
Jeff Young
3cf424d929
Make sure var overrides get synced to board properties.
...
Also allow the board properties to override title-block properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17863
2024-05-30 00:09:43 +01:00
Jeff Young
ac59a65d8d
Resolve variables in LIB_SYMBOLs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18099
2024-05-29 22:52:55 +01:00
Jeff Young
d82522304c
Improve clarity.
2024-05-29 19:53:20 +01:00
Jeff Young
c828deee35
Sorting is not implemented on LIB_TREE columns.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18101
2024-05-29 18:49:11 +01:00
Jeff Young
ec89d2c22e
Formatting.
2024-05-29 17:56:15 +01:00
Jeff Young
15d4e114e0
Move pad checking to Footprint Checker.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18102
2024-05-29 15:25:49 +01:00
Mike Williams
cc350cf279
symbol fields table: remember includeExcludedFromBOm correctly
2024-05-29 08:41:25 -04:00
Mike Williams
a8daa38e83
pcb: grab unconnected needs to ignore same-footprint ratsnets items
2024-05-28 16:46:53 -04:00
jean-pierre charras
8165ec66e9
FOOTPRINT::CheckPads(): better check for hole in PHT pad.
...
Hole not fully inside the pad copper area is now tested.
2024-05-28 20:00:08 +02:00
Jeff Young
f7b971ecb7
Setup Footprint-Editor-specific severities.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18102
2024-05-28 18:11:25 +01:00
Alex Shvartzkop
139d356065
Fix scale factors of layer box selectors.
2024-05-28 18:52:03 +03:00
Jeff Young
51004e42f4
Improve comments.
2024-05-28 15:37:11 +01:00
Jeff Young
bab97f91cc
Tidy up string find API usages.
2024-05-28 15:30:29 +01:00
Jeff Young
11b72c294b
ADDED: expose plot-pad-numbers in plot dialog.
2024-05-28 15:30:29 +01:00
Seth Hillbrand
43a622cadf
Ensure we are checking all ERC errors
...
Also, handle the possiblity that we return NULL when calling
DeserializeFromString in the case where we don't handle all cases or the
file is corrupted
2024-05-28 06:55:34 -07:00
Alex Shvartzkop
e3e63fb1b8
Disable hidpi cursors on GTK and OSX.
...
wxCursor scale factors won't be supported before wx 3.3.
MSW doesn't scale cursors, so it works as expected there.
2024-05-28 16:25:01 +03:00