Jon Evans
37d9b7fac0
Prevent crash if generator exists but has no items
...
See https://gitlab.com/kicad/code/kicad/-/issues/15366
2023-11-25 16:01:12 -05:00
Jon Evans
1cb1fd3516
Partial revert "Fix commit/view handling when dragging arcs"
...
Revert unintended formatting changes
This reverts commit f0988c3c5d
.
2023-11-25 15:16:57 -05:00
Jon Evans
f0988c3c5d
Fix commit/view handling when dragging arcs
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16145
2023-11-25 14:55:47 -05:00
Alex Shvartzkop
7e68da7f7f
QA: show more info in TestCalcArcCenter3Pts.
2023-11-25 20:09:51 +03:00
Alex Shvartzkop
b7824adfb1
QA: add a test for CalcArcCenter( aStart, aMid, aEnd )
2023-11-25 18:37:53 +03:00
Jeff Young
df83e24eb7
Cleanup.
...
It's been a long time since line style was specific to plotting.
2023-11-25 13:12:45 +00:00
jean-pierre charras
d4ce2c8982
Fix a few Coverity warnings.
2023-11-25 11:44:01 +01:00
jean-pierre charras
1cf9da4b69
bitmap icons: fix a text (Amin -> A, Amax->A)
...
It was previously fixed for 2 icons, but these 4 icons were not fixed.
Fixes #16155
https://gitlab.com/kicad/code/kicad/-/issues/16155
2023-11-25 11:19:51 +01:00
Jon Evans
a2379f4111
Altium QA: Fix issue with newer wx
...
Now uses std::from_chars and + prefix must be stripped
2023-11-24 16:00:42 -05:00
jean-pierre charras
bcea2aa73b
EEschema, Cairo printing engine: some fixes:
...
- Try to activate anti aliasing
- disable Preview on GTK when cairo printing is selected: it does not work,
and is also disabled for Pcbnew / Gerbview for the same reason
2023-11-24 17:43:04 +01:00
Jeff Young
2a198e22e2
Draw tuning pattern border when placing.
2023-11-23 23:25:49 +00:00
Jeff Young
b6501ce632
Report current length on roll-over.
2023-11-23 23:25:49 +00:00
Wayne Stambaugh
70dad45996
Fix broken schematic net highlighting.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16131
2023-11-23 17:29:02 -05:00
jean-pierre charras
029df17b5a
Eeschema, Cairo printing: adjust printing to page size and other refinements
2023-11-23 17:24:16 +01:00
jean-pierre charras
247a0e6501
Eeschema: Add Cairo printing to the Eeschema print engine. The current print engine (using wxDC draw engine) has frequently issues with each new wxWidgets version. Cairo printing engine, used for Pcbnew and Gerbview has less issues. On Eeschema, the cairo print is enabled only if the advanced config has the option "EnableEeschemaPrintCairo = 1"
2023-11-23 16:11:09 +01:00
Graham Keeth
1c881bcbb8
cli: fix some extra sch plot args
...
- DXF doesn't support background color
- HPGL doesn't support background color
- HPGL doesn't support color themes
- HPGL doesn't support black-and-white
2023-11-23 14:23:33 +00:00
Ian McInerney
1194a91be4
Prompt if overwriting the net inspector CSV report
2023-11-23 11:49:40 +00:00
Ian McInerney
0508a9ce83
Don't write units to every field in net inspector CSV
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16147
2023-11-23 11:46:24 +00:00
Jeff Young
d437d872ab
Re-enable corner radius of DP meanders.
...
It appears whatever bugs it had have been addressed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15257
2023-11-22 19:45:56 +00:00
Alex Shvartzkop
e9c5b4755b
3D OCE plugin: make two-sided faces for non-solid shapes (shells).
...
Fixes single-face shells display in the 3D viewer.
2023-11-22 18:53:59 +03:00
Jeff Young
85f760fc66
Run IsElementVisible() test on all markers, not just their shadows.
...
The view item doesn't always get its layers updated early enough for
the paint.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16138
2023-11-22 14:37:45 +00:00
Jeff Young
4a25ef164d
Remove children from view_group when de-selecting.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16139
2023-11-22 14:37:45 +00:00
Yang Hongbo
f324b1b88d
Merge remote-tracking branch 'origin/master' into last_net_inspector_settings
2023-11-22 07:21:03 +08:00
Yang Hongbo
5a1b30ea42
save and restore last used net inspector settings
2023-11-22 07:13:08 +08:00
Jon Evans
2604854221
Make new lib tree highlighting dark-mode compatible
2023-11-21 17:31:23 -05:00
Jeff Young
e4b7170a92
Sort on first column if none specified.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16054
2023-11-21 17:14:22 +00:00
Graham Keeth
fa580601f2
cli: remove double-added args
...
--drawing-sheet and --define-var were already added in the parent class
2023-11-21 12:06:12 +00:00
Graham Keeth
ab79977d9b
cli: --exclude-pdf-property-popups is only for pdf
2023-11-21 12:06:12 +00:00
Alex Shvartzkop
5de55b8c4a
STEP export: fix a Bnd_BoundSortBox usage bug.
2023-11-21 14:21:12 +03:00
Alex Shvartzkop
58b9d68084
STEP export: make use of footprint names instead of "SOLID".
...
Should help when importing into software that does deduplication
based on label names (e.g. SolidWorks).
2023-11-21 14:11:16 +03:00
jean-pierre charras
a3a2f43f6c
eeschema, DIALOG_PLOT_SCHEMATIC: disable PDF option when format is not PDF
...
Fixes #16129
https://gitlab.com/kicad/code/kicad/-/issues/16129
2023-11-21 10:27:21 +01:00
jean-pierre charras
7ca6344b57
Kicad PROJECT_ARCHIVER: better fix than commit 734e0ca0:
...
Do not store twice files with extension .gm?? in zip files
Previous commit did not store files like *.gm12, that can be existing when
Gerber files come from another ECAD tool, and allowed duplicate files like *.g1
2023-11-21 09:24:14 +01:00
Jeff Young
f9c8f6ab79
Support single-field-mirroring in Symbol Editor.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13395
2023-11-20 22:56:14 +00:00
Alex Shvartzkop
f3fdfa73e6
STEP export: Do not set BRepBuilderAPI precision.
...
This caused issues when loading some STEP models.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15485
2023-11-21 00:47:38 +03:00
Jon Evans
87ba1f7ea0
Fix expand selection for graphic shapes on graphic layers
2023-11-20 16:14:56 -05:00
Jeff Young
d382a11c2a
Apply new on-canvas-item marking to footprint editor tree.
2023-11-20 19:46:03 +00:00
Huibean
530b72972d
Add frame window monitor display index compare with saved dialog and centre it if display changed which caused dialog disapper
2023-11-20 19:43:34 +00:00
Alex Shvartzkop
4defa6b58f
Reduce editing timeout in 3D viewer raytracing.
2023-11-20 21:57:43 +03:00
Jeff Young
6732f35a52
Fix bad positioning for padded bitmap badges.
...
Also fixes an off-by-one error (because generally speaking it's
better to avoid writing off the end of an array).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15784
2023-11-20 18:14:54 +00:00
Jeff Young
196e05bc51
Borrow parts of simulator's separator-detection algorithm.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15248
2023-11-20 13:47:24 +00:00
Jeff Young
2ec3cd91fa
Nullptr safety.
2023-11-20 13:47:24 +00:00
jean-pierre charras
ed1924b975
Pcbnew, place menu: some enhancements:
...
- move place dimensions to a sub menu (they are not frequently used, and it
reduce the size of the place menu
- add reset drill origin, similar to reset grid origin.
2023-11-20 13:23:16 +01:00
jean-pierre charras
b698ddc82c
Eeschema: fix typo in files-io.cpp in revert command that deletes .kicad_sch file
...
Fixes #16114
https://gitlab.com/kicad/code/kicad/-/issues/16114
2023-11-20 08:47:33 +01:00
snhobbs
5cf244dd90
Added a ImportSpecctraSession overload that doesn't require a PCB_EDIT_FRAME
2023-11-20 03:06:27 +00:00
Jeff Young
d620cb8a6e
Only bump default grid thickness on Mac.
2023-11-19 23:43:42 +00:00
Jeff Young
e73048bf98
Only set modified if it's an old file.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16113
2023-11-19 23:36:36 +00:00
jean-pierre charras
734e0ca006
Kicad PROJECT_ARCHIVER: do not store twice files with extension .gm?
...
Files with extension .g?? and .gm? were stored in zip archive. but
*.gm? files also matches .g?? files so they were stored twice.
2023-11-19 19:54:58 +01:00
Wayne Stambaugh
a309e24132
Don't copy hidden files and folders when creating project from template.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16093
2023-11-19 10:48:29 -05:00
Jeff Young
c518041f9b
Collapse drawing tools to a single re-entrancy guard.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16112
2023-11-19 14:17:48 +00:00
Jeff Young
af9fc5be2f
Hack to keep 3D Viewer's "home" zoom from being too small.
2023-11-19 14:07:50 +00:00