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
Jeff Young
f95651841e
Report all extra footprints, even if they're duplicates.
Fixes https://gitlab.com/kicad/code/kicad/issues/5303
5 years ago
Jeff Young
6a5644d981
Make spice model library contents read-only.
Fixes https://gitlab.com/kicad/code/kicad/issues/5062
5 years ago
Jeff Young
93ef18d775
Fix typo where two footprint warning messages were transposed.
Fixes https://gitlab.com/kicad/code/kicad/issues/5303
5 years ago
jean-pierre charras
f28d30a87b
Fix minor wxWidgets alert and a few Coverity warnings.
5 years ago
Seth Hillbrand
686af65a9b
Fix issue generating alternate shape
Boolean ops need boolean inputs.
5 years ago
jean-pierre charras
e5198e7404
Fix minor wxWidgets alerts.
5 years ago
Seth Hillbrand
c1a97fc0c3
GAL: Revision to 80af7b3158, allow LIB_POLYLINE
LIB_POLYLINE has a filled/not completely stroked draw mechanism that
allows stroking singular lines that will skip the fill
5 years ago
Jeff Young
d71d127c1a
Put up infobar when editing board footprint.
Fixes https://gitlab.com/kicad/code/kicad/issues/5294
5 years ago
Jeff Young
e92f58bb4f
Implement "fromOtherCommand" for PlaceModule() too.
Fixes https://gitlab.com/kicad/code/kicad/issues/5281
5 years ago
Seth Hillbrand
80af7b3158
Fix GAL check to account for shared function
Cairo Polyline and Polygon draw functions share a common routine. While
Polygons must have 3 points to allow triangulation, a polyline (like our
text) need only have 2
5 years ago
Jeff Young
a3a36ed4d6
Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.
Fixes https://gitlab.com/kicad/code/kicad/issues/5293
5 years ago
Jeff Young
23c8123ac9
Update a bunch of netlist exporters to resolve textVars.
Fixes https://gitlab.com/kicad/code/kicad/issues/5285
5 years ago
Jeff Young
65bdaff133
Add include for GCC.
5 years ago
Jeff Young
c324c2cbf6
Make sure zone fills are up-to-date before deleting unconnected things.
Fixes https://gitlab.com/kicad/code/kicad/issues/5253
5 years ago