Jeff Young
37b6cd1714
Set modified flag when loading old s-expr files.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16113
2023-11-18 20:27:24 +00:00
jean-pierre charras
7fd9226bec
Fix issue in CalcArcCenter( VECTOR2D& aStart, VECTOR2D& aMid, VECTOR2D& aEnd )
...
It happens when the segment (aStart, aMid) is horizontal
Probably also when the segment (aEnd, aMid) is horizontal
Slopes with value 0.0 are set to double:: epsilon(), but it was a too small values
generating broken calculations.
Now set to 1e-10 (it seems working).
Fixes #16089
https://gitlab.com/kicad/code/kicad/-/issues/16089
2023-11-18 20:08:26 +01:00
Wayne Stambaugh
930b695b9f
Board editor array dialog fixes.
2023-11-18 13:21:13 -05:00
Wayne Stambaugh
9e1caa0d39
Fix crash when creating an array of footprint fields in board editor.
...
Attempting to create an array of footprint child objects other than a pad
causes the crash due to the fact that only pads where checked. The change
now checks if any object has a footprint as a parent. This should prevent
any future issues when new footprint child objects are added.
There was also another subtle bug fixed when more than one child object of
a footprint were selected, the array feature would make as many copies of
the footprint as selected child items.
https://gitlab.com/kicad/code/kicad/-/issues/16088
2023-11-18 11:18:18 -05:00
Jeff Young
0de966f9ce
Add m_isClosing guard in an attempt to prevent KICAD-1XF.
2023-11-18 12:45:09 +00:00
Jeff Young
341124d831
Array bounds checking for KICAD-19D.
2023-11-18 12:29:56 +00:00
Jeff Young
21d53d0b86
Make sure Use-Netclasses checkbox gets set when loading dialog.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16110
2023-11-18 12:18:45 +00:00
Alex Shvartzkop
b108e7058b
Fix bad outline font glyphs when ligatures apply.
2023-11-18 07:59:46 +03:00
Jeff Young
08d0a4a65e
Raise default grid thickness.
...
Screens with high pixel densities are now more common.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11163
2023-11-17 22:49:37 +00:00
Jeff Young
f098405218
Handle justification for vertical text when mirroring.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15036
2023-11-17 21:50:16 +00:00
Jeff Young
afb050a67f
Header for non-MacOS builds.
2023-11-17 20:29:18 +00:00
Jeff Young
95dcf54d8d
New is-canvas-item highlighting.
2023-11-17 20:29:18 +00:00
Wayne Stambaugh
a5c34c50d7
Use natural sorting for net inspector when sorting by net name.
...
wxString sorting doesn't work when sorting strings with numbers which
results in 1,10,11...2 instead of 1,2,...9,10,11.
https://gitlab.com/kicad/code/kicad/-/issues/16100
2023-11-17 15:25:07 -05:00
Jeff Young
a4a946ab75
Clearer naming.
2023-11-17 18:36:33 +00:00
Jeff Young
2f3c0a608d
Score LIB_TREE_NODE_UNITs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16106
2023-11-17 18:36:33 +00:00
Jeff Young
78c46e5f4e
Improved clarity and comments.
2023-11-17 18:36:33 +00:00
Jon Evans
fc40b48186
Don't free state images too early
...
SetImageList relies on the state images still being valid
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16022
2023-11-17 13:11:27 -05:00
Jon Evans
aa421f036d
Revert part of 6cb046a4
that is not correct
2023-11-17 13:03:32 -05:00
Wayne Stambaugh
f6c99816b2
Change the bus selection behavior of the schematic net highlight tool.
...
[CHANGED] Bus highlight tool now supports toggling between highlighting
only the bus objects and highlighting the bus and all of the
bus member objects.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15388
2023-11-17 07:16:12 -05:00
jean-pierre charras
342a1ec78f
KIGFX::PREVIEW::DimensionLabel(): fix a compil warning: add missing cases
...
micrometers and cm.
2023-11-17 10:35:11 +01:00
Alex Shvartzkop
76352234e5
ADDED: Support Altium .IntLib (Integrated Library) in fp/sym library tables.
2023-11-17 07:20:18 +03:00
Johannes Pfister
4177b64c27
Add micrometre and centimetre units
2023-11-16 23:24:52 +00:00
Jon Evans
b7507cbd39
Add some failure output for git versioning
2023-11-16 12:11:42 -05:00
Jon Evans
6cb046a4eb
macOS: add a few more known file types
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14206
2023-11-16 12:11:42 -05:00
Jon Evans
18833ad271
Silence a warning on macOS
2023-11-16 12:11:42 -05:00
Jeff Young
7277ae93fa
Close a polygon that is marked as filled before hit-testing.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16096
2023-11-16 14:07:05 +00:00
jean-pierre charras
ed9dd55fde
DRAWING_TOOL::PlaceImportedGraphics() do not add twice items when adding to new group.
2023-11-16 12:53:00 +01:00
jean-pierre charras
83ee2ffdab
Pcbnew, dialog import graphics: add tool-tips and minor cosmetic enhancements.
2023-11-16 12:50:45 +01:00
Jeff Young
d110b5b518
Improve edit points rendering on Retina displays.
2023-11-16 10:30:09 +00:00
Jeff Young
b218617469
Honour bounding-hull setting on closed shapes and chained segments.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16092
2023-11-16 09:07:54 +00:00
Jon Evans
c8f8b2589f
Update macOS application names to current standard
2023-11-15 17:36:20 -05:00
jean-pierre charras
a663dd7ec4
Pcbnew, import graphics: fixes and enhancements:
...
- fix regression: allow grouping or not imported items
- store more settings in Pcbnew settings: all options are now stored.
- default tolerance to connect items is now 0.01 mm. 1 mm is a too big value,
and can create serious artifacts in imported outlines.
2023-11-15 20:26:05 +01:00
Jon Evans
44374c661f
Database: handle more possible datatype exceptions
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16090
2023-11-15 12:27:34 -05:00
Jon Evans
35edd84269
Handle non-IOE exceptions in symbol loader
2023-11-15 12:27:34 -05:00
Mike Williams
42e0f7c94e
kicad-cli: wxS fix and doc string change
2023-11-15 12:21:30 -05:00
Mike Williams
eb5e327086
kicad-cli: support * wildcard in BOM export
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16086
2023-11-15 10:44:17 -05:00
Mike Williams
5734a55515
kicad-cli: correctly label non-existent fields
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16085
2023-11-15 10:44:17 -05:00
Jon Evans
0422d2e70f
macOS: flatten symlinks from paths in GetExecutablePath
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14430
2023-11-15 09:25:49 -05:00
Jeff Young
d54e5b180b
Use sheetname for single-sheet plotting to PDF.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14974
2023-11-15 11:07:05 +00:00
Jeff Young
9bb6b11c1d
Separate fields from text items in FPEdit's Defaults panel.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15135
2023-11-15 10:56:14 +00:00
Jon Evans
0dea03654b
CLI: schematic path needs to be made absolute along with project path
2023-11-14 11:55:51 -05:00
Jan Wichmann
b1a044e22a
pcbnew: ADDED new feature "Center on FP" in the dialog "Edit Text and Graphic Properties"
2023-11-14 16:35:01 +00:00
Jeff Young
298b309ebe
Handle mirroring for multiple selections containing text or labels.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15936
2023-11-14 15:53:53 +00:00
Jeff Young
ca8cb5a206
Fix typo.
...
We want recursion into descendants here. Alternatively we could
change the caller to RunOnDescendents(), but it seemed cleaner to
omit the scoping of the Stage() call....
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16077
2023-11-14 14:23:23 +00:00
Marek Roszko
34a51d3c21
Make wxPython work under run from build directory on macOS
2023-11-14 07:14:13 -05:00
Marek Roszko
e5f1cfd2b2
Set PYTHONPATH internally for macOS run from build dir
2023-11-13 23:09:12 -05:00
Marek Roszko
53a90ccb88
Enable macOS builds to run from build directory....
2023-11-13 20:23:59 -05:00
Marek Roszko
0054b64143
Fix warning due to NONE enum member mixing
2023-11-13 20:23:59 -05:00
Ian McInerney
1900000371
Fix temporary variable type in schematic parser
...
The internal page info was switched to double in d8be69c3c1
but it was being rounded improperly to int on reading.
2023-11-13 22:52:12 +00:00
Jeff Young
cd05acac34
Use pageSettings & titleBlock export flags when drawing new sheets.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9285
2023-11-13 20:30:57 +00:00