Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
...
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
2021-07-29 16:03:25 +01:00
Wayne Stambaugh
1a301d8eea
Stop using wxDialog::EndModal() from inside dialogs.
...
Calling wxDialog::EndModal() directly from inside the dialog is a
potential bug if the dialog is shown in the modeless or window modal
(quasi-modal). Use the internal button events where possible and
check for the appropriate mode before calling the correct end dialog
function.
2021-07-21 17:38:14 -04:00
Seth Hillbrand
adf885b667
Move pcbnew swig
...
Separates the python scripts into those using swig and those needed for
other scripting
2021-06-01 20:18:24 +00:00
Seth Hillbrand
81d58bcea9
Working python window
2021-06-01 20:18:24 +00:00
Seth Hillbrand
f274a00c08
Remove PYTHON_* compile options
2021-06-01 20:18:24 +00:00
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
2021-03-20 12:09:18 -04:00
qu1ck
07d4a28024
Improvements to pcbnew action plugins settings panel
...
1. Add open plugins directory button (same as in tools menu)
2. Add show plugin errors button to help debug issues
2021-01-20 09:09:53 +00:00
Jeff Young
a207bd97bb
Naming conventions.
2020-11-17 16:05:49 +00:00
Marek Roszko
304e5faf36
Move wxStringSplit to kicad_string
2020-10-24 00:17:07 -04:00
Jon Evans
e59a3d981e
Implement a new settings framework across all of KiCad
...
CHANGED: Settings are now stored in versioned sub-directories
ADDED: First-run dialog for migrating settings from a previous version
CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files
CHANGED: Color settings are now all stored in a separate settings file
CHANGED: The symbol editor and footprint editor now have their own settings files
CHANGED: Color settings are no longer exposed through BOARD object
CHANGED: Page layout editor now uses Eeschema's color scheme
Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE.
Existing settings will be migrated from the wxConfig format on first run of each application.
Per-application settings are now stored in one class for each application.
2020-02-19 23:44:56 -05:00
Seth Hillbrand
7cf394e34f
pcbnew: Handle missing footprint wizards
...
When we do not have any footprint wizards to display, we cannot select
the grid rows.
Fixes: lp:1823608
* https://bugs.launchpad.net/kicad/+bug/1823608
2019-04-09 11:54:01 -07:00
Jeff Young
a0364a1137
Don't make user click twice to toggle checkbox in wxGrid.
2018-03-23 12:46:17 +00:00
jean-pierre charras
6d6ef0097b
Fix code after renaming files. Minor other fix.
2018-01-30 20:23:35 +01:00
Marvin Schmidt
69974b73db
Remove some extra semicolons
2017-11-09 19:52:18 +01:00
jean-pierre charras
4d3054599b
Fix a warning in Debug build on Linux, when there is no wizard loaded.
2017-02-01 13:02:08 +01:00
jean-pierre charras
a7c4c8c7f2
Pcbnew: Fix a crash when reloading python scripts, when Kicad uses wxPython.
...
also, refresh the board editor action plugins menu, when reloading python scripts from the footprint wizard selector.
2017-01-28 18:47:11 +01:00
jean-pierre charras
4f46f79cf0
dialog_footprint_wizard_list.cpp: allows updating (on request) python modules from this dialog.
...
This option reloads modules which are more recent than already loaded modules, and load new modules.
2017-01-09 14:44:24 +01:00
jean-pierre charras
1039b6dda7
Make dialog_footprint_wizard_list.cpp compilable when scripting is not enabled.
2017-01-08 08:25:04 +01:00
jean-pierre charras
e72a3b99ee
dialog_footprint_wizard_list: cosmetic enhancements.
2017-01-07 21:10:38 +01:00
jean-pierre charras
e6a8294c56
dialog_footprint_wizard_list: add button to show the trace of errors when python scripts wizards failed to load.
2017-01-07 20:43:39 +01:00
jean-pierre charras
76a82dcd3b
Dialog footprint wizard selector: better dialog (displays the wizard search path list) and allows double click to select a wizard
2017-01-07 13:39:47 +01:00
jean-pierre charras
56f8e10eb4
Footprint wizards management: Now display the list of not loadable footprint wizards in footprint wizard dialog.
...
Not loadable wizards are Python scripts having a syntax error or are not compatible scripts due to changes in API.
2017-01-06 20:15:23 +01:00
jean-pierre charras
02fa9639cd
DIALOG_FOOTPRINT_WIZARD_LIST: minor enhancement. qrcode_footprint_wizard.py: use filled polygons instead of square pads on silkscren layer.
2017-01-04 15:03:43 +01:00
jean-pierre charras
a76f40be3b
Pcbnew: fix compil issue when Python scripting isn't enabled.
2016-12-29 08:17:33 +01:00
Oliver
636e060c99
A few enhancements from a larger patch, not yet committed, for footprint wizards
2016-12-28 10:26:01 +01:00
jean-pierre charras
c94a5dd46f
Footprint wizard: fixes and enhancements in python scripts.
2015-10-31 12:54:48 +01:00
jean-pierre charras
19124ceee8
Fix crash when exporting vrml (see bug Bug #1502549 ) when there is a Glu error.
...
Enhancement: dialog_footprint_wizard_list remembers now its size.
2015-10-04 13:46:56 +02:00
jean-pierre charras
3084c0aa0b
Eeschema: add missing rotate and mirror sheet in sheet context menu (these transforms were possible in block commands, but not from the sheet menu).
...
Fix a i18n issue in field names when loading a component, if the language was changed during a session, and kicad not restarted (see Bug #1448654 ).
However changing the language needs restarting kicad, in order to have all messages or menus translated.
2015-04-26 18:32:16 +02:00
jean-pierre charras
ea6b03cd5f
footprint wizard python plugins management: Fix a memory leak. Remove useless and outdated code, and add a minor enhancement.
...
Make a string translatable in a pcbnew info dialog.
2015-04-21 17:42:30 +02:00
Wayne Stambaugh
86b39ca3c0
More missing source license fixes.
2014-10-27 10:14:39 -04:00
jean-pierre charras
5a38d2b657
Rework on env. variable KISYS3DMOD. Until now, was used in different files using different ways, so no consistency between files.
...
code cleanup.
2014-08-24 09:05:07 +02:00
jean-pierre charras
e89db97dd4
Pcbnew: footprint wizard dialogs: minor fixes, and fixes a not working parmeters dialog under Windows, due to an incorrect Printf format.
2013-08-05 15:43:15 +02:00
jean-pierre charras
b810135e4e
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
2012-09-11 21:03:21 +02:00
Miguel Angel Ajo
465dabd919
Fixes Win32 compilation that my previous commit broke, thanks to JP
2012-07-16 16:48:51 +02:00
Miguel Angel Ajo
70df15175b
Footprint wizard, plus fixes
2012-05-16 11:35:18 +02:00
Miguel Angel Ajo
351e08c8a9
Footprint wizard UI gets the module from python wizard, and show it
2012-05-10 10:53:05 +02:00
Miguel Angel Ajo
c051c1a4a9
footprint wizard UI and footprint wizard lists
2012-05-10 01:04:08 +02:00