Jeff Young
15c136ead2
Make a bunch of help dialogs modeless.
Fixes https://gitlab.com/kicad/code/kicad/issues/5334
5 years ago
Jeff Young
b8bbe72e48
Another attempt to fix the select-reference-point toolstack thing.
This time remove the push/pop from the picker tools as that's
responsible for the issue of trying to re-activate the move action
when its popped. Instead do the push/pop from the client code
of other actions that need it, and not at all from the move-with-
reference action.
Fixes https://gitlab.com/kicad/code/kicad/issues/5336
5 years ago
Jeff Young
50b182574d
Missing change from last commit.
5 years ago
Jeff Young
5a0db6802a
Use IsOnLayer(); GetViewLayers() now returns synthetic ZONE layers.
Also uses IsPadOnLayer() for pads so that it will drop layers which
have had their pads removed.
Fixes https://gitlab.com/kicad/code/kicad/issues/5349
5 years ago
Jeff Young
a4ff339a1e
Clear toolstack after cancel.
Fixes https://gitlab.com/kicad/code/kicad/issues/5336
5 years ago
Jeff Young
d5878e552d
Fixes for line, wire and bus styles.
1) Return the default netclass if an assignment is not found
2) Local overrides have precedence over netclass values
Fixes https://gitlab.com/kicad/code/kicad/issues/5308
5 years ago
jean-pierre charras
d1e2b57d96
mathplot.cpp: optimize a plot function to have a better look for dashed lines,
and less lines to plot when they can be merged.
5 years ago
jean-pierre charras
fd4fb61acc
DIALOG_SPICE_MODEL: fix incorrect readonly setting of m_libraryContents.
This wxStyledTextCtrl was set to readonly before writing its contents,
so nothing was shown, at least on wxWidgets 3.1.4.
5 years ago
Jeff Young
1d1a5afe0c
Remove minimum pin after fixing size.
Fixes https://gitlab.com/kicad/code/kicad/issues/5347
5 years ago
Jeff Young
8eda4d93ee
Use LAYER_VIAS instead of via-type-specific layers for visibility.
Fixes https://gitlab.com/kicad/code/kicad/issues/5344
5 years ago
Jeff Young
502f2ca2ef
Fix some snarled up event processing.
See the bug for details. It's complicated.
Fixes https://gitlab.com/kicad/code/kicad/issues/5336
5 years ago
jean-pierre charras
dfe3270142
Pcb_calculator: fix config read/write issue in non English language.
Some translated strings were used as keyword if json file.
this is incorrect. Now translatable names and keywords are separate strings.
(Although they are the same in English)
Fixes #5244
https://gitlab.com/kicad/code/kicad/issues/5244
5 years ago
jean-pierre charras
e3d9d5fa88
Pcb_calculator: add missing code to store its full config.
5 years ago
Jon Evans
3673c23696
Code style
5 years ago
Mark Roszko
89e74140eb
Save file / window states for kicad project locally
5 years ago
Ian McInerney
2f7094b352
Cleanup some unused variables
* Make the app progress indicator only have the indeterminate state
when the taskbar indicator is used (causes an uused variable warning
on wx<3.1)
* Remove unused dry run variable in pcb_netlist.h
* Remove unused forceDropAnnotations from the paste special dialog
since the dialog only controls keeping them.
5 years ago
Ian McInerney
750b186582
Return the type and shape for alternate pins
These return statements were missing from the original implementation,
so the alternate style was never being returned.
5 years ago
Jeff Young
fba6152709
Force wxWidgets to set widths smaller than BestWidth().
5 years ago
Jeff Young
d41f196d7f
Appearance panel must be initialized from board before setting active layer.
5 years ago
Jeff Young
2c7093439e
Don't attempt to set active layer to a non-activated layer.
5 years ago
Jeff Young
605ddce651
Make sure ERC has a current sheet to resolve text vars with.
Fixes https://gitlab.com/kicad/code/kicad/issues/5318
5 years ago
Jon Evans
e343234c61
Allow both 'save' and 'save as' for layer presets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5309
5 years ago
Jon Evans
63fb6d49e0
Make sure ratsnest gets redrawn when enabled
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5335
5 years ago
Jeff Young
49ac89f72c
Only paint pads on layers they appear on.
Also adds pad layer removal controls to Pad Properties dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/5320
5 years ago
Jeff Young
6edcc9d38f
Resolve textvars in Pad Settings dialog.
5 years ago
Jon Evans
8a5163a9f5
Build cvpcb after pcbnew
cvpcb now depends on ${PCBNEW_IO_LIBRARIES} set in pcbnew's CMakeLists.txt
5 years ago
Jon Evans
75d813f1bf
Fix gcc-only include
5 years ago
Jon Evans
8e03d278f0
Fix buttons in appearance panel in MSW
Ensure we pass the focus back to the canvas when
closing dialogs that might have been launched from the
appearance panel
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5326
5 years ago
Thomas Pointhuber
a03fb7a9a8
Altium: Refactor and add initial structure for schematic importer
altium: move pcbnew/altium2kicadpcb_plugin -> pcbnew/plugins/altium
See: https://gitlab.com/kicad/code/kicad/-/issues/4412
5 years ago
Jon Evans
eb0d3d653f
Fix updating of grid view in MSW
5 years ago
Jon Evans
a77000f9d9
Add DRC markers to the list of never-dimmed layers
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5307
5 years ago
Jon Evans
6720473db9
Move net visibility/color controls to a wxGrid
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5235
Might improve https://gitlab.com/kicad/code/kicad/-/issues/5210
5 years ago
Jon Evans
625f0afcff
Fix link issue on MSVC (thanks @mroszko )
wxScrolledCanvas is not properly exported, so when we
add a wxGrid it has a chance of creating linker errors.
Including the wx/grid.h ensures that the linker does not
see two conflicting symbols between gal and the other
place where wxGrid is used.
5 years ago
Jon Evans
342fae7768
Don't allow color overrides for Default netclass
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5330
5 years ago
Jon Evans
41f53cc138
Check that net is valid before dereferencing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5325
5 years ago
Jon Evans
9a0f956b92
Fix clearing netclass color override
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5327
5 years ago
Jon Evans
f5a6492f85
Fix load/save of layer presets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5322
5 years ago
jean-pierre charras
6eab1ce17d
Fix a minor wxWidgets alert.
5 years ago
jean-pierre charras
c80d029681
json_settings.cpp: add more log traces on errors, when trying to save a json config.
pcb_calculator: fix a minor cosmetic issue: disabled wxStaticTexts are not very readable
on wxWidgets 3.1.4, so do not use disabled wxStaticTexts.
5 years ago
PJM
dd374e12ad
Pcbnew: Fix bug when mouse moves off clarification menu
CHANGED: This code fixes an issue where bringing up the clarification
menu and moving off it while keeping the button pressed the entire
time caused an assertion.
Fixes https://gitlab.com/kicad/code/kicad/issues/5250
5 years ago
Jeff Young
c71bb246e6
Don't allow preview to try and draw empty polygons.
Fixes https://gitlab.com/kicad/code/kicad/issues/5314
5 years ago
Jeff Young
591e1c5de9
Resolve textvars in Gerber place files.
Fixes https://gitlab.com/kicad/code/kicad/issues/5287
5 years ago
Jeff Young
8fc8e2c5f1
Add support for RECTs to VRML exporter.
5 years ago
Jeff Young
6598ad81e7
Resolve text vars when exporting IDF.
Fixes https://gitlab.com/kicad/code/kicad/issues/5287
5 years ago
Jeff Young
929528a72c
Coding style.
5 years ago
Jeff Young
a2341f0f33
Pin dragged pad edges to hole (if it has one).
Fixes https://gitlab.com/kicad/code/kicad/issues/5317
5 years ago
Jon Evans
0fa755ebb8
Don't refresh appearance panel until after project is loaded
5 years ago
Jeff Young
aa84bd6283
Use the right sign when dealing with the clearance epsilon.
Fixes https://gitlab.com/kicad/code/kicad/issues/5313
5 years ago
Wayne Stambaugh
80ee805782
Eeschema: fix broken symbol exclude from BOM support.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5284
5 years ago
jean-pierre charras
c196423192
fix a wxWidgets alert
5 years ago