Maciej Suminski
82b8014a34
Properties: Fixed INSPECTABLE::Get<T>()
...
The code was not correct as it returned either wxAny or type T.
2022-08-22 21:32:32 -04:00
Maciej Suminski
b7a734ad61
Stop passing the focus to the layer widget on layer change
...
Most often it is not needed, but with the Object Inspector in place,
it keeps deactivating the properties panel.
2022-08-22 21:32:32 -04:00
Maciej Suminski
d5677a6dfe
Properties: const getters
2022-08-22 21:32:32 -04:00
Maciej Suminski
8fa513e903
Properties: fix Properties panel refresh
2022-08-22 21:32:32 -04:00
Maciej Suminski
3220a1dfbc
Properties: Code formatting
2022-08-22 21:32:32 -04:00
Maciej Suminski
f6f6ebd5f9
WIP: Properties GUI
2022-08-22 21:32:32 -04:00
Maciej Suminski
95fd58b25a
Properties meta-data for pcbnew classes
2022-08-22 21:32:00 -04:00
Maciej Suminski
745c94b0a1
Properties (introspection)
...
Introduces classes:
- INSPECTED: base class for types taking advantage of
generic properties system.
- PROPERTY*: meta-data storing information about properties
- PROPERTY_MANAGER: singleton class to get properties data
2022-08-22 21:32:00 -04:00
Jeff Young
1e68c353f1
Account for groups in undo of Position Relative To.
...
Also fixes a bug were pads weren't correctly being found for anchoring
the selection before the Position Relative To.
Fixes https://gitlab.com/kicad/code/kicad/issues/11793
2022-08-22 22:33:38 +01:00
Jeff Young
32461c91e9
Wide status bars can afford to give the text more room.
2022-08-22 22:33:38 +01:00
Seth Hillbrand
4b63c7012d
Silence some clang warnings
2022-08-22 12:54:00 -07:00
Alex
3a76d42630
Cross-probing/selection for multiple items (PCB -> SCH)
...
Fixes https://gitlab.com/kicad/code/kicad/issues/10469
2022-08-22 19:33:39 +00:00
Seth Hillbrand
8757b3f98a
Catch errors thrown from `at()`
...
at() can throw when it doesn't find the proper reference. This catches
the errors and attempts to properly handle them assuming the user
initiated the removal. Warns the developer (wxLogDebug) when this is
not the case
Fixes https://gitlab.com/kicad/code/kicad/issues/12241
2022-08-22 11:57:13 -07:00
Jeff Young
638198251a
Coverity fixes.
2022-08-22 17:52:58 +01:00
Jeff Young
f42b66bc1c
Regularize ellipsization of menu and status text.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12257
2022-08-22 17:52:58 +01:00
Mark Roszko
952669e747
Bump swig minimum to 4.0
2022-08-22 15:22:26 +00:00
Wayne Stambaugh
c72457482c
Fix Eagle plugin footprint QA test issue.
...
Apparently mapping Eagle footprint layers to the KiCad Dwg_User
that were previously mapped to UNDEFINED_LAYER breaks the QA test
and causes the footprint editor to crash when opening Eagle
footprints. This means that the potential data loss issue when
loading Eagle footprints is still in play.
2022-08-22 09:11:30 -04:00
Jeff Young
792d7babe3
Performance (std::map -> std::unordered_map) and commenting.
2022-08-22 12:43:57 +01:00
Jeff Young
03454684fa
Commenting.
2022-08-22 12:43:57 +01:00
Mikolaj Wielgus
6fad25f8ed
Allow mapping sim model pins to arbitrary string symbol pin numbers
...
This change removes the incorrect assumption that symbol pin numbers are
integers and are the same as indexes in the vector storing the symbol
pins.
"~" is now used to denote a floating sim model pin.
2022-08-22 08:13:26 +02:00
Marek Roszko
73cfea892c
Adjust two qa resource files for msys2
2022-08-21 20:20:03 -04:00
Marek Roszko
425edf3a7e
Revert "Simplify the generated lexers to the use of a templated class"
...
This reverts commit 6eb6447708
.
2022-08-21 18:45:09 -04:00
Marek Roszko
19584cfc2e
Remove unused hash function
...
Confirmed by looking at blame that it was meant for something that got dropped
2022-08-21 18:29:18 -04:00
Marek Roszko
6eb6447708
Simplify the generated lexers to the use of a templated class
2022-08-21 18:23:28 -04:00
Marek Roszko
f63a099fad
Remove unused function to squash warning
2022-08-21 18:23:28 -04:00
Jeff Young
4f0136db3b
Attempt to fix std::initializer_list lifetime issue.
2022-08-21 20:54:41 +01:00
Jeff Young
88c9177ff6
Move bus members from wxArray to std::vector and fix some bugs in dialog.
2022-08-21 20:54:41 +01:00
Wayne Stambaugh
0bc1188897
Fix Eagle plugin board layer mapping issue.
...
The Eagle plugin layers have to be mapped differently depending on
whether a board is being imported or a footprint library is being
cached. Footprint libraries can bypass the manual layer remapping
step that happens when importing a board.
Please note that when loading footprints in the footprint editor
and viewer, all layers that do not directly map to KiCad layers are
put on the Dwg_User layer so that there is data loss. Users will
have to manually remap objects to the correct layer as required.
This is less than ideal but until the footprint library table parser
supports prompting users to remap unknown layers, it will have to do.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11839
2022-08-21 14:56:04 -04:00
Wayne Stambaugh
10123d164f
Fix schematic symbol initial default instance data bug.
...
The commit bumps the schematic file format version in order to fix the
initial symbol default instance data to the first instance of each symbol.
It also sets the initial instance data to undefined in the SCH_SYMBOL
ctor so on the first schematic save, the default instance will be set
to the first instance of the symbol.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12190
2022-08-21 08:03:28 -04:00
Jeff Young
b2a2d66005
Move Bus Definitions to common GUI paradigm in Schematic Setup.
...
Also includes a change to the std::initializer_list stuff to try and
fix a crash.
2022-08-21 12:29:51 +01:00
jean-pierre charras
1f4d51ecb3
French translation update
2022-08-21 12:58:37 +02:00
jean-pierre charras
a75b537a52
Avoid using a single word in dialog, not really translatable.
...
Single word string having many meanings is not translatable.
2022-08-21 10:16:29 +02:00
jean-pierre charras
1a18f9a839
Kicad/PCM: Better message asking for **plugins** update.
...
Previous message asked for update, but the update is not for Kicad, only for loaded plugins
2022-08-21 08:39:42 +02:00
jean-pierre charras
a5283d91eb
shape.i: disable a SWIG warning (warn 509) creating noise for this file.
2022-08-21 08:29:19 +02:00
Seth Hillbrand
53a4b580fb
Update translations
2022-08-20 20:18:16 -07:00
Ivan Chuba
2f79bafbdd
Translated using Weblate (Ukrainian)
...
Currently translated at 55.1% (4250 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-08-21 04:53:04 +02:00
Ivan Chuba
77eb311e87
Translated using Weblate (Russian)
...
Currently translated at 90.7% (6988 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-08-21 04:53:04 +02:00
이기형
55fed83c54
Translated using Weblate (Korean)
...
Currently translated at 99.9% (7699 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:04 +02:00
김랑기
3bd1823d17
Translated using Weblate (Korean)
...
Currently translated at 99.9% (7699 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:04 +02:00
Seth Hillbrand
dd952d52dd
Translated using Weblate (German)
...
Currently translated at 91.5% (7048 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2022-08-21 04:53:03 +02:00
gurqja3810
fed3f952ef
Translated using Weblate (Korean)
...
Currently translated at 99.7% (7682 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:03 +02:00
김랑기
a6158585ad
Translated using Weblate (Korean)
...
Currently translated at 99.7% (7682 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:03 +02:00
YunJiSang
052910240d
Translated using Weblate (Korean)
...
Currently translated at 99.5% (7668 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:03 +02:00
김랑기
bd3b37e1ae
Translated using Weblate (Korean)
...
Currently translated at 99.5% (7668 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:03 +02:00
이기형
ca225e16d1
Translated using Weblate (Korean)
...
Currently translated at 99.5% (7668 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:03 +02:00
김랑기
05c825f9b3
Translated using Weblate (Korean)
...
Currently translated at 99.5% (7666 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-21 04:53:02 +02:00
Ivan Chuba
421e7148df
Translated using Weblate (Ukrainian)
...
Currently translated at 48.4% (3730 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-08-21 04:53:02 +02:00
Ondřej Čertík
9cbf1ff545
Translated using Weblate (Czech)
...
Currently translated at 83.8% (6456 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-08-21 04:53:02 +02:00
Ulices
75f09e8f02
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 99.7% (7678 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2022-08-21 04:53:02 +02:00
Ivan Chuba
97d38cb6f1
Translated using Weblate (Ukrainian)
...
Currently translated at 45.9% (3540 of 7700 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-08-21 04:53:02 +02:00