Marek Roszko
8eb6123985
Move PAGE_INFO to kicommon
2024-01-09 07:26:04 -05:00
Marek Roszko
f53c3f895d
pcb_group.h should live in pcbnew
2024-01-08 22:32:18 -05:00
Marek Roszko
00f3a315d2
Create a default file name for cli 3d export if empty
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16547
2024-01-08 21:40:33 -05:00
Jon Evans
8c7d126ced
Fix flipped boolean in teardrop serialization
...
Also change to explicit bools
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16552
2024-01-08 18:44:09 -05:00
John Beard
b57626807d
Fix crash when cancelling fp table setup
...
The missing OnPgmExit leads to a segfault later if you
cancel the FP table setup when initialising a new config.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16525
2024-01-08 23:33:12 +00:00
Andre Iwers
047cb41a1d
Implemented Timeout for HTTP LIB
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15756
2024-01-08 23:20:23 +00:00
Wayne Stambaugh
92c58f2564
Fix sheet path dependent ERC dialog selection issues.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16519
2024-01-08 11:16:55 -05:00
Alex Shvartzkop
4f9fbd230d
EasyEDA (JLCEDA) Pro: fix PCB parse error.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16544
2024-01-08 14:38:06 +03:00
Jeff Young
120937b6b0
Honour forced transparency for strokes and fills.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16542
2024-01-07 17:40:50 +00:00
Jeff Young
392242b9a4
Make sure OK button has focus when re-displaying ERC window.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16541
2024-01-07 17:23:45 +00:00
jean-pierre charras
c5bb939cc9
LIB_TEXTBOX: fix incorrect line style in plot function for LINE_STYLE::DEFAULT.
...
LINE_STYLE::DEFAULT is fixed as SOLID in all plot functions, but not for this item.
Fixes #16543
https://gitlab.com/kicad/code/kicad/-/issues/16543
2024-01-07 16:14:15 +01:00
Jeff Young
3a781f5dbe
Let router draw tuning pattern baselines.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15996
2024-01-07 13:54:40 +00:00
Jeff Young
cd83dfa831
Stage/add/delete group members when adding/deleting group.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16540
2024-01-07 13:39:13 +00:00
jean-pierre charras
f795e40584
Altium Importer: do not stop import when an item looks bad (happens in old files)
...
An importer should not stop import when an item just looks strange. Just skip it.
It can happen with old files.
Better do not import one item than import nothing.
2024-01-07 13:10:59 +01:00
jean-pierre charras
3f70387a17
KISTATUSBAR: code refinement and add comments
2024-01-07 09:47:40 +01:00
Jeff Young
84d161a4b7
Don't use referential values as defaults.
2024-01-06 22:01:23 +00:00
Jeff Young
7c5eaed69e
Un-comment and repair TRRANDOM sources.
...
Also adds new parameters to AM sources for ngspice-43.
Also fixes a bug in the spice parameter parser (which would
puke on any parameter name starting with one of the flag
parameter strings).
Also fixes a bug where the skipped source parameters would
get set to "0" instead of their default values.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16393
2024-01-06 20:34:36 +00:00
jean-pierre charras
1649b7dd56
Kicad manager: fix some issues about the wxStatusBar:
...
- fix broken code KICAD_MANAGER_FRAME::PrintPrjInfo()
- fix issues created by using KISTATUSBAR instead of wxStatusBar
(the user field count differs because there are 4 other fields added)
- do do use a fixed size in KISTATUSBAR for FIELD_OFFSET_BGJOB_TEXT field:
fixed field size does not work fine if the text to display is not known
Fixes #16535
https://gitlab.com/kicad/code/kicad/-/issues/16535
2024-01-06 20:23:37 +01:00
Wayne Stambaugh
50cad558cf
Do not update tree to selected sheet in schematic hierarchy navigator.
...
This was causing unwanted tree expansions when descending a sheet hierarchy
in editor.
Also fixed an issue with the tree highlighting when changing sheets in the
schematic editor.
2024-01-06 12:25:39 -05:00
Jeff Young
bbdefa05eb
Un-comment and repair AM and SFFM sources.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16529
2024-01-06 14:49:05 +00:00
Wayne Stambaugh
a310c0a05a
Do not expand the entire schematic hierarchy navigator tree by default.
...
The new behavior is to only expand to the first child of the root sheet
level. On very complex hierarchies, this makes the navigator far more
useful.
Do not update schematic hierarchy navigator on every edit. Now only
sheet changes will trigger a rebuild of the tree.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16371
2024-01-06 07:56:16 -05:00
jean-pierre charras
f5e76e6116
Demos update
2024-01-06 10:52:46 +01:00
jean-pierre charras
3626a9e4cc
SVG_PLOTTER: Update brush color also when the alpha value has changed.
...
Previously, the alpha value change was not tested, so the SVG style was
not always updated.
Fixes #16530
https://gitlab.com/kicad/code/kicad/-/issues/16530
2024-01-06 09:11:40 +01:00
Marek Roszko
be21c689e8
Change the __except to use the exception result codes
2024-01-05 21:03:43 -05:00
Marek Roszko
05cbfc6aca
Add Windows SEH to catch fontconfig/freetype font read faults
...
Related https://gitlab.com/kicad/code/kicad/-/issues/16484
2024-01-05 15:23:00 -05:00
Seth Hillbrand
d3e1e54b24
Avoid removing segments that do not maintain conns
...
If the two segments being merged have connection points originally, then
the merged segment must have the same connection points. We had been
moving the merged segment to match the original connections but this is
not as robust as just not merging these lines (and therefore leaving the
original)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15495
2024-01-05 11:40:30 -08:00
Jeff Young
f5aa2ea8cf
Fix copy/pasta in arc plotting.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16531
2024-01-05 16:42:57 +00:00
Fabian Pflug
a1f796ffa0
Respect exclude from bom in all python files
...
Two scripts were missing the excludeBOM=True selector.
2024-01-05 16:11:20 +00:00
Jeff Young
169ece3b71
Try reusing the TOOL_DISPATCHER menu hack for libtree previews.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16493
2024-01-05 14:20:33 +00:00
Marek Roszko
23f35e1c8b
Allow lexers to build into kicommon
2024-01-05 07:48:08 -05:00
Ian McInerney
8d9185919a
Give git-based projects a default file extension on repo clone
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16523
2024-01-05 12:36:12 +00:00
Ian McInerney
44ee299941
Fix layout issues in git clone dialog
2024-01-05 12:22:37 +00:00
Jeff Young
015a050169
Escape error messages for HTML.
2024-01-05 11:03:36 +00:00
Wayne Stambaugh
f07d797ab3
Don't show ERCs for every sheet path when using shared schematics.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16434
2024-01-04 13:53:16 -05:00
Wayne Stambaugh
38562db023
Coding policy fixes.
2024-01-04 13:30:02 -05:00
Jeff Young
d05675f673
Minor performance wins.
2024-01-04 16:26:32 +00:00
Jeff Young
5aae8e2fd0
Code cleanup.
2024-01-04 16:13:42 +00:00
Jeff Young
fceace93da
Remove dead code. (Coverity)
2024-01-04 16:00:43 +00:00
Jeff Young
e438fc2569
Remove dead code. (Coverity)
...
Also fixes a (small) memory leak.
2024-01-04 15:57:30 +00:00
Jeff Young
ffa3b27a4e
Fix uninitialized variable. (Coverity)
2024-01-04 14:58:59 +00:00
Jeff Young
3fd81fe7c0
Only generate event on setting current value.
...
(And do it last.)
2024-01-04 14:35:08 +00:00
Jeff Young
559bef0ea6
Switch default thicknesses to um.
...
Also fix a bug where resetting the values doesn't work if
the thickness units were changed because it tries to keep
the old width values which are then re-scaled to the reset
thickness units. Probably better to just reset the widths
too, as it's potentially less confusing.
2024-01-04 14:35:08 +00:00
Jeff Young
91d144c720
Do NOT return false from a visitor unless you want to stop visiting!
...
This fixes a bug where DRC would bail out early if any of
the colliding objects was a free pad.
2024-01-04 14:35:08 +00:00
Jeff Young
aa4107ce2d
Code cleanup (and Coverity quieting).
2024-01-04 14:35:08 +00:00
jean-pierre charras
df4e72827b
Eeschema printing, advanced config: set EnableEeschemaPrintCairo to true by default.
2024-01-04 15:10:08 +01:00
Marek Roszko
f8744b7797
dsnlexer can live in kicommon
2024-01-03 23:18:31 -05:00
Marek Roszko
675e126eae
Use the new flag() shorthand for arg setup
2024-01-03 21:39:54 -05:00
Marek Roszko
58af6b8dea
Add missing drill precision arg integer specifier
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16508
2024-01-03 21:29:02 -05:00
Marek Roszko
9195de9849
Disable the update check on non-apple, non windows systems by default
2024-01-03 19:32:05 -05:00
Roberto Fernandez Bautista
9004a5920f
CADSTAR PCB: Handle multi-layer figures & fix multi-layer mapping
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16515
2024-01-03 20:57:27 +01:00