Jeff Young
d2cd4de280
Allow rules to operate on hole when hole-to-track testing.
6 years ago
Jeff Young
3bd4c0c5dc
Don't allow the pad preview canvas to become too large.
Also offset canvas with pad so that hole stays in centre.
Fixes https://gitlab.com/kicad/code/kicad/issues/4185
6 years ago
Jeff Young
fa2f396a7c
Cleanup.
6 years ago
Jeff Young
5d493abea7
Check for duplicate field names.
Fixes https://gitlab.com/kicad/code/kicad/issues/4219
6 years ago
Jeff Young
c01046c12f
Give new sheets an initial name and filepath.
Fixes https://gitlab.com/kicad/code/kicad/issues/4516
6 years ago
Jeff Young
10add93d16
Fix clang compile warnings.
6 years ago
Jeff Young
9ff09aa784
Progressive disclosure pad properties.
6 years ago
Jeff Young
aadc926740
Coverity fixes and "auto" removal.
6 years ago
Wayne Stambaugh
354d53a6c5
Handle derived library symbol optional field inheritance.
CHANGED: Derived library symbols will inherit optional fields defined by
their parent symbol and override existing optional fields.
CHANGED: The symbol editor will now only display the fields defined in
derived symbols rather than show mandatory fields inherited from the
parent symbol. Showing fields that cannot be edited would be confusing.
6 years ago
Wayne Stambaugh
52078a4b1b
Allow setting mandatory derived symbol field properties.
CHANGED: All mandatory fields in derived symbols can be edited. This
not only includes the field value but also all text properties.
Kill the dual datasheet variable storage which caused many datasheet
bugs over the years. The datasheet is now always stored in the data
sheet field.
6 years ago
Wayne Stambaugh
dd1a7627f8
Move setting derived symbol field properties from parent symbol.
In order allow the new file format to support derived symbols with
field properties that are different than the parent symbol, the code
that copied the parent field properties to the derive symbol field
properties had to moved out of LIB_PART::SetParent() into the legacy
symbol library plugin and the symbol library editor add new symbol
code to preserve the current behavior and not overwrite derived
symbol field properties.
This lays the ground work for allowing field properties of derived
symbols to be different than their parent symbol.
6 years ago
Ian McInerney
57e35c9a60
Fix infobar bitmap size
Fixes https://gitlab.com/kicad/code/kicad/issues/4514
6 years ago
Jeff Young
7aaf72c473
Improve visuals of html error reporting.
6 years ago
Jeff Young
a76a1aefaa
Update membership grid when a netclass name changes.
Fixes https://gitlab.com/kicad/code/kicad/issues/4596
6 years ago
jean-pierre charras
59523efc1a
Eeschema: fix a crash after reopening the ERC dialog, after changes in schematic.
When the ERC is run and a component has a ERC error linked to it, if it is deleted,
when reopening the ERC dialog, the dialog crashed due to a not found item
(null pointer use)
6 years ago
Seth Hillbrand
21c752fa0b
eeschema: Rename shadowing var
6 years ago
jean-pierre charras
eae0c142fe
Eeschema, DIALOG_PLOT_SCHEMATIC: fix incorrect unit of default pen width.
The default line width used to set the default pen width is given in mils,
and the conversion to iu was missing.
Fix also a minor Coverity warning.
Fixes #4594
https://gitlab.com/kicad/code/kicad/issues/4594
6 years ago
jean-pierre charras
e3c3dae776
Fix PCBnew crash when show local ratsnest and selecting a footprint with no pads
Fixes #4506
https://gitlab.com/kicad/code/kicad/issues/4506
6 years ago
Jeff Young
adb1074597
Add undo for Edit Text & Graphics Properties.
6 years ago
Jeff Young
3425deff47
Hook up Edit Text and Graphics Properties to wires.
Fixes https://gitlab.com/kicad/code/kicad/issues/1974
6 years ago
Jon Evans
daad2824c5
Add ability to skip JSON writes if the params aren't modified
6 years ago
Jeff Young
0741bbb1b9
Move autocomplete to the remove filtered items paradigm.
Fixes https://gitlab.com/kicad/code/kicad/issues/4190
6 years ago
Michael Kavanagh
9414f65a3f
Eeschema: allow Properties... in wire context menu
Seems to have been forgotten from 91fd0635
6 years ago
jean-pierre charras
598ed8b394
toolbars_lib_view.cpp and toolbars_libedit.cpp: do not recreate comboboxes
when clearing toolbars.
Clearing toolbars delete only tools, not other widgets.
recreating comboboxes creates strange cosmetic issues.
Fixes #4542
https://gitlab.com/kicad/code/kicad/issues/4542
6 years ago
Jeff Young
449c90a0ae
Some more work on getting wxWidgets to stop stealing textEntry keys.
Fixes https://gitlab.com/kicad/code/kicad/issues/1941
6 years ago
Jeff Young
5d52378b80
Decrease hittest region so we don't get long clarification lists.
6 years ago
Jeff Young
a6eaa3257a
Autocomplete for page layout editor text items.
6 years ago
Jon Evans
fbef52ec33
Don't process hotkeys on text entries
Thanks @jeffyoung for the suggestion
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4463
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1941
6 years ago
Jeff Young
112316cdfb
Fixup kiway by hand when dynamic_cast fails.
Also allows a shortened version of Configure Paths without the 3D
paths when Pcbnew isn't already running.
Fixes https://gitlab.com/kicad/code/kicad/issues/4568
6 years ago
Jeff Young
6d5b6c8b81
A bit more refactoring to get code out of the DRC tool.
6 years ago
Jeff Young
e7603ddcb9
Add tilde escape syntax to syntax help.
6 years ago
Jon Evans
b0ebc476d2
Don't assert when getting line width for sheets
6 years ago
Jon Evans
5250215d97
Use the calculated bbox for zoomFitSelection
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4120
6 years ago
Steven A. Falco
7fd661f06b
Add Python 3.9 compatibility
Taken from downstream Fedora commit.
Original author info:
Charalampos Stratakis <cstratak@redhat.com> 2020-05-28 12:26:59
Downstream commit: a2677c159ad529
6 years ago
jean-pierre charras
e8c1738361
dialog_edit_label.cpp: fix a minor compil warning (shadowed var)
6 years ago
jean-pierre charras
788e29a630
Kicad, archive project: add new file ext (.kicad_sch and .kicad_sym) to file list to save.
Fixes #4575
https://gitlab.com/kicad/code/kicad/issues/4575
6 years ago
Wayne Stambaugh
91fd063585
Eeschema: allow editing of wire and bus properties.
CHANGED: Wire and bus lines properties (color, line width, and line type)
can be edited the same as graphical lines.
6 years ago
Wayne Stambaugh
c2d94358fc
Symbol editor: minor fixes to disable saving the legacy file format.
Fixes https://gitlab.com/kicad/code/kicad/issues/4093
6 years ago
Wayne Stambaugh
6c8b937e1b
Symbol editor: disable saving legacy symbol libraries.
CHANGED: The symbol library save menu entry is now only enable when the
currently selected library is modified.
CHANGED: The symbol library save all menu entry and tool bar button are
enabled when one or more of the symbol libraries have been modified.
REMOVED: The ability to save symbol libraries in the legacy file format.
6 years ago
Wayne Stambaugh
b624c7090a
Deprecate saving legacy schematic and symbol library file formats.
REMOVED: The ability to save schematics in the legacy file format.
6 years ago
Jeff Young
39ec63c4e9
Fix some inconsistencies in clearance priorities.
Fixes https://gitlab.com/kicad/code/kicad/issues/4555
6 years ago
Wayne Stambaugh
b83d64fc0d
Eeschema: remove superfluous updating of SCH_COMPONENT pins.
Every time SCH_COMPONENT::GetDrawItem() was called, the schematic symbol
pin table was updated. Under certain conditions, this happens inside
loops so the amount of time spent rebuilding the pin table can add up.
6 years ago
Jeff Young
e8524163db
Another attempt to reconcile GTK and OSX slider spacing.
6 years ago
Jeff Young
f4e7e201d8
Use a big hammer when beating wxWidgets over the head.
6 years ago
Jeff Young
b06a454559
Try and find settings that look good on both OSX and GTK.
6 years ago
Jeff Young
790b061b8b
Make sure all plotters have a RENDER_SETTINGS.
Fixes https://gitlab.com/kicad/code/kicad/issues/4556
6 years ago
Jeff Young
8d92a95cb8
Fix a couple of issues with text var autocomplete.
Fixes https://gitlab.com/kicad/code/kicad/issues/4190
6 years ago
Jeff Young
8f533e1833
A bit of dialog cleanup.
6 years ago
Jeff Young
2c0f3c8088
Recurse into title block fields when resovling text vars.
Fixes https://gitlab.com/kicad/code/kicad/issues/4554
6 years ago
Jeff Young
9f2be3714f
Add unresolved variable testing for worksheet items.
6 years ago