Seth Hillbrand
fb68fc3f85
Use more compliant sleep command
2 years ago
Seth Hillbrand
4a19bef2ac
Handle external simulator output gracefully
On Windows, ngspice doesn't output messages to stdout or stderr, it
starts the gui which causes KiCad to hang until ngspice is terminated.
We want to handle immediate responses but not get hung by the external
process. Passing a process class to wxExecute allows us to detach the
process (it will terminate and free itself) while still handling the
immediate output and errors
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15446
2 years ago
Mike Williams
58cc0e2d1e
Schematic: correctly resolve SHEETNAME for root sheet
2 years ago
jean-pierre charras
d1aa49e1c9
Eeschema, sch_painter.cpp: remove a line that was used only for a test.
It was added during a debug... and forgotten in code.
Fixes #16176
https://gitlab.com/kicad/code/kicad/-/issues/16176
2 years ago
Seth Hillbrand
75c6b0ab28
Added IPC2581 support
IPC2581 is a modern production file exchange system. It provides
single-file data output for an entire board including BOM and netlist
information.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1954
3 years ago
Jon Evans
90a61b8d36
Prevent some issues with recursion on repeat-last-item
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16168
2 years ago
Jon Evans
c3deafa597
Fix deprecation warnings in latest wxWidgets
2 years ago
Jeff Young
df83e24eb7
Cleanup.
It's been a long time since line style was specific to plotting.
2 years ago
jean-pierre charras
d4ce2c8982
Fix a few Coverity warnings.
2 years ago
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
2 years ago
Wayne Stambaugh
70dad45996
Fix broken schematic net highlighting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16131
2 years ago
jean-pierre charras
029df17b5a
Eeschema, Cairo printing: adjust printing to page size and other refinements
2 years ago
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"
2 years ago
Jeff Young
4a25ef164d
Remove children from view_group when de-selecting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16139
2 years ago
Jeff Young
e4b7170a92
Sort on first column if none specified.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16054
2 years ago
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
2 years ago
Jeff Young
f9c8f6ab79
Support single-field-mirroring in Symbol Editor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13395
2 years ago
Jeff Young
d382a11c2a
Apply new on-canvas-item marking to footprint editor tree.
2 years ago
Jeff Young
196e05bc51
Borrow parts of simulator's separator-detection algorithm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15248
2 years ago
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
2 years ago
Jeff Young
e73048bf98
Only set modified if it's an old file.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16113
2 years ago
Jeff Young
c518041f9b
Collapse drawing tools to a single re-entrancy guard.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16112
2 years ago
Jeff Young
37b6cd1714
Set modified flag when loading old s-expr files.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16113
2 years ago
Jeff Young
f098405218
Handle justification for vertical text when mirroring.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15036
2 years ago
Jeff Young
95dcf54d8d
New is-canvas-item highlighting.
2 years ago
Jeff Young
a4a946ab75
Clearer naming.
2 years ago
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
2 years ago
Alex Shvartzkop
76352234e5
ADDED: Support Altium .IntLib (Integrated Library) in fp/sym library tables.
2 years ago
Jon Evans
6cb046a4eb
macOS: add a few more known file types
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14206
2 years ago
Jon Evans
44374c661f
Database: handle more possible datatype exceptions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16090
2 years ago
Jon Evans
35edd84269
Handle non-IOE exceptions in symbol loader
2 years ago
Mike Williams
42e0f7c94e
kicad-cli: wxS fix and doc string change
2 years ago
Mike Williams
eb5e327086
kicad-cli: support * wildcard in BOM export
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16086
2 years ago
Mike Williams
5734a55515
kicad-cli: correctly label non-existent fields
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16085
2 years ago
Jeff Young
d54e5b180b
Use sheetname for single-sheet plotting to PDF.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14974
2 years ago
Jon Evans
0dea03654b
CLI: schematic path needs to be made absolute along with project path
2 years ago
Jeff Young
298b309ebe
Handle mirroring for multiple selections containing text or labels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15936
2 years ago
Marek Roszko
0054b64143
Fix warning due to NONE enum member mixing
2 years ago
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.
2 years ago
Jeff Young
cd05acac34
Use pageSettings & titleBlock export flags when drawing new sheets.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9285
2 years ago
Jeff Young
752d2d5295
Filter must return true for libraries.
Also fixes a bug where a single symbol library wasn't expanded
due to the presence of the "-- already placed --" and
"-- recently used --" pseudo-libraries.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16074
2 years ago
Jeff Young
229bcc7308
Cleanup.
2 years ago
Jeff Young
f25a06b2a5
More globals eradication.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16031
2 years ago
Jeff Young
03953e80fc
Enforce SCH_SHEET_PATH processing in (yet) more places.
Also fixes a bug where ERC testing for text variables in sheet pins
would start with the wrong sheet.
Also fixes a bug where ERC testing of similar labels would use the
wrong sheet.
Also fixes a bug where ERC testing of bus-to-net conflicts would use
the wrong sheet.
Also fixes a bug where ERC didn't process variable references when
checking hierarchical labels against sheet pins.
Also fixes a bug where ERC multiple-drivers and netclass-conflicts
tests didn't set a sheetpath.
2 years ago
Jeff Young
3819b2d5e7
Enforce SCH_SHEET_PATH processing in more places.
Making assumptions about the current SCH_SHEET_PATH has caused no end
of pain.
2 years ago
Jeff Young
7e46e85c7d
Update copyrights.
2 years ago
Jeff Young
bdead1d0b1
Use correct sheetpath when we have it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15870
2 years ago
Alex Shvartzkop
7589de6120
Optimize footprint/symbol library hover previews.
2 years ago
Alex Shvartzkop
f8095fd31a
Optimize CADSTAR library parsing.
-60% loading time.
2 years ago
Jeff Young
78e00ade7a
Clearer naming.
2 years ago