Jeff Young
2d15067453
ADDED allow update of teardrops before running DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/14264
3 years ago
Jeff Young
521aa5b5ae
Update DRC exclusions model to match terminology.
DRC exclusions were originally written following the C++
pragma model (ie: allow this violation here). However, the
"exclusion" terminology we used in the GUI suggests a model
model where the exclusions go away when the violation no
longer exists.
Fixes https://gitlab.com/kicad/code/kicad/issues/14351
3 years ago
jean-pierre charras
27ebba6b33
Python and footprint wizard: fix issues and update to be compatible
with recent changes in Kicad code.
3 years ago
Jeff Young
4a3f77cd9d
Clear board soldermask when undoing/redoing items that affect it.
Fixes https://gitlab.com/kicad/code/kicad/issues/13446
3 years ago
Jeff Young
d01c023d5a
Retire the lib-tree scoring algorithm.
It appears to cause more confusion than help.
Fixes https://gitlab.com/kicad/code/kicad/issues/13905
3 years ago
Jeff Young
d64cb7f81b
More uniform handling of power symbols and exclude-from-simulation.
3 years ago
Jeff Young
9f56b75f01
Clean up atrophied code.
3 years ago
Lucas Dumont
923f386f08
Dont' create new cell if editing one
Return key is used to change cell line. If cell was in edition, the edition is saved before changing line.
Before this change using return key in the last row, if edited, both saved the change and create new row.
After this change, it'll just save the just, and will need a second key press to create a new row.
3 years ago
Jeff Young
05185ec81a
Save library when it's selected in lib tree.
Fixes https://gitlab.com/kicad/code/kicad/issues/14220
3 years ago
Salvador E. Tropea
d5c0bf3d0e
Load the global fp-lib-table before running the Python DRC
Without this we get parity errors for all the KiCad footprints
(cherry picked from commit e5087ca3db )
3 years ago
jean-pierre charras
77fb7b1182
ERC: set default setting ERCE_SIMULATION_MODEL to ignore
Most of projects do not manage spice settings.
3 years ago
Jeff Young
4eb0ccffe5
Bring Sim Command dialog layout in line with Kicad std dialog layout.
3 years ago
Jeff Young
26609bbf05
Fix PNS_KICAD_IFACE_BASE::IsFlashedOnLayer() to be able to handle multi-layer queries.
3 years ago
Okan Demir
75267a7366
Fixes issues pointed in the reviews
Wraps string literals with 'wxS', form is generated by wxFormBuilder
3 years ago
Okan Demir
82e8198fee
Adds missing transient simulation settings
Adds maximum step size setting used by transient analysis solver,
and 'use initial conditions (uic)' setting. Enabling uic disables
DC operating point analysis and may introduce singularities. It requires
a careful selection of initial conditions of circuit elements.
Fixes https://gitlab.com/kicad/code/kicad/issues/2515
3 years ago
jean-pierre charras
b2bf3229e6
BOARD::Move(): o not move twice PCB_SHAPES in footprints. Altium importer:
fix incorrect position of imported PCB_TEXTs in footprints.
3 years ago
Marek Roszko
0eefde6046
Fix build error pre wx 3.1.6
3 years ago
Alex
21103924f4
Don't crash when canceling initial setup in Manage Footprint Libraries
3 years ago
jean-pierre charras
97a4e535dc
ConvertOutlineToPolygon(): fix handling of polygons living in footprints.
Due to recent changes in PCB_SHAPE items, the polygon coordinates are now
in board coordinates, not in coord relatives to the parent footprint.
Fixes #14530
https://gitlab.com/kicad/code/kicad/issues/14530
3 years ago
Mike Williams
33b2b5b09d
STEP Export: Update options to reflect DNP and Unspecified filtering
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14125
3 years ago
Lucas Dumont
3c24017aa4
Check KiFACE return value
Avoid segfault when cancelling initial global library setup
3 years ago
Jeff Young
df5456bb5b
Attempt to fix gcc compile error.
3 years ago
Jeff Young
8e29a054f3
Performance improvement for GetShownColumns.
(This needs to be fast as it's called from OnUpdateUI events.)
3 years ago
aris-kimi
18cebe3779
Don't assume an EDA_ITEM is a SCH_ITEM. v2
In the same way as cec4109176 did
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14528
3 years ago
Jeff Young
a24a63e416
Search in label fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/14075
3 years ago
Jeff Young
1f140953d6
Manual cherry-pick of 912bd4458f
3 years ago
Jeff Young
b876af55df
Don't exit symbol compare early when reporting.
3 years ago
Ian McInerney
6c05801d9e
Make the property grid compatible with wx 3.3
3 years ago
Ian McInerney
a6be0eef4a
Add const to a PGPROPERTY constructor to match upstream
The base class constructor expected a const string, and the other
PGPROPERTY constructors do as well, so make this const.
This was also a compile error when building against wx 3.3.
3 years ago
Ian McInerney
2b22ff9f39
Add missing include
The implicit includes have changed in wx 3.3, so this is no longer being
included in the file, so include it explicetly to et
wxMessageOutputStderr.
3 years ago
Ian McInerney
18e573d5e9
Remove stray wx include
There is no reason to include the actual string implementation header
here.
3 years ago
Ian McInerney
73a1e63e8e
Modify how we print the wx version compat macros
3 years ago
Ian McInerney
871f7e05a5
Remove use of wxGRIDTABLE_REQUEST_VIEW_GET_VALUES from the appearance panel
That even was removed by upstream wxWidgets in
81570ae070
which is included in all versions after 3.1.1, so our 3.2 versions
definitely aren't doing anything when we pass this event. The actual
identifier has also been guarded behind a 3.0 compatibility define in wx
as of 3.3.
3 years ago
Ian McInerney
8f3bbf36f8
Replace __WXGTK20__ with __WXGTK__
We no longer care about a GTK2 vs 3 difference, we only support GTK 3.
3 years ago
Ian McInerney
f0684510f0
Replace wxScopedPtr with std::unique_ptr
Upstream has deprecated wxScopedPtr and recommends users switch to using
std::unique_ptr instead.
3 years ago
jean-pierre charras
c3ae2d4f43
Demos update
3 years ago
Ian McInerney
5d0b5e16ff
Remove python-based board_item duplicate method
This method shadows the C++ method, and doesn't properly handle updating
the duplicated object's KIID to be unique.
Also add tests to ensure the KIIDs are unique after duplication.
Fixes https://gitlab.com/kicad/code/kicad/issues/14460
3 years ago
Ian McInerney
a77e94d16f
Add hack to speed up font choice box widget creation
There are problems internal to GTK that mean creating choice boxes with
a lot of items is a very slow process. This hack works around one of
those issues to make it faster to create and display the menu in the
choice box.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14277
3 years ago
Jeff Young
e1c9e0e6fc
ADDED memberOfFootprint() to DRC custom rules functions.
Also added memberOfGroup(), and deprecated memberOf().
3 years ago
Jeff Young
66f48d56ae
Separate sheet reloads (MODEL_RELOAD) and schematic reloads (SUPERMODEL_RELOAD).
Fixes https://gitlab.com/kicad/code/kicad/issues/14523
3 years ago
Jeff Young
6059e895d7
Fix a typo.
Fixes https://gitlab.com/kicad/code/kicad/issues/14515
3 years ago
jean-pierre charras
de579af352
SCH_LABEL_BASE::SetPosition(): ensure field positions are also handled.
Fixes #14520
https://gitlab.com/kicad/code/kicad/issues/14520
3 years ago
jean-pierre charras
f56e569a25
Ensure we do not use a non existing pin in SIM_MODEL::MigrateSimModel()
Fixes #14522
https://gitlab.com/kicad/code/kicad/issues/14522
3 years ago
jean-pierre charras
9b0a92552a
French translation update
3 years ago
jean-pierre charras
8d206d6a67
LIB_TABLE_GRID_TRICKS, popup context menu: fix minor issues:
- add separator only if needed
- ensure selection parameters are up to date.
3 years ago
Marek Roszko
bfad8bb0d5
Prevent VIEW::UpdateItems and onShowTimer from firing repaints if GAL did not complete init
This appears to be a possible event race on startup
Fixes sentry KICAD-10A
3 years ago
Marek Roszko
37eaa29679
Fix crash due to extra right parens in pcad files
Fixes sentry KICAD-TA
3 years ago
Marek Roszko
ed94bc4bf9
Don't crash on empty pcad polygons
Fixes sentry KICAD-103
3 years ago
Jeff Young
01564a254f
Make sure "Item" and "Description" end up in the translation database.
3 years ago
Jeff Young
eef3492fc0
Make symbol/footprint trees sensitive to language change.
3 years ago