Commit Graph

29546 Commits

Author SHA1 Message Date
Jeff Young ffd6fde700 Improve consistency and hotkey access in Appearances.
Added hotkey for cycling through net & netclass color modes.
Added hotkey for cycling through ratsnest layer visibilities.
Added code to display hotkey (if set) on the above and on high-contrast
cycle.

Fixes https://gitlab.com/kicad/code/kicad/issues/9312
2021-10-04 13:44:43 +01:00
jean-pierre charras 78ddb1408f pcb_calculator/eserie.*: fix some coding style issues.
No actual code change (I hope...)
2021-10-04 13:09:28 +02:00
jean-pierre charras 21d3662ed3 pcb_calculator rework: move attenuators panel to its own files panel_attenuators_xx 2021-10-04 10:25:33 +02:00
Seth Hillbrand bf8a020501 Update translations 2021-10-03 16:56:14 -07:00
Ulices 9d0efe91b9
Translated using Weblate (Spanish (Mexico))
Currently translated at 97.8% (7002 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2021-10-04 01:55:27 +02:00
Tokita, Hiroshi d35d630e3f
Translated using Weblate (Japanese)
Currently translated at 99.9% (7149 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2021-10-04 01:55:27 +02:00
Mark Hämmerling 5cabae9ada
Translated using Weblate (German)
Currently translated at 97.6% (6984 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-10-04 01:55:27 +02:00
Ulices 874fd6fcb7
Translated using Weblate (Spanish (Mexico))
Currently translated at 97.8% (7001 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2021-10-04 01:55:27 +02:00
Augusto Fraga Giachero f2114f8bfc
Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.3% (4747 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-10-04 01:55:27 +02:00
boonchai k 29f2fecca1
Translated using Weblate (Thai)
Currently translated at 99.9% (7004 of 7007 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-10-04 01:55:27 +02:00
David Chen 600035ae5a
Translated using Weblate (Chinese (Traditional))
Currently translated at 94.3% (6754 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-10-04 01:55:27 +02:00
Tokita, Hiroshi 676df8a609
Translated using Weblate (Japanese)
Currently translated at 99.9% (7149 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2021-10-04 01:55:27 +02:00
Mark Hämmerling 61321397a1
Translated using Weblate (German)
Currently translated at 97.3% (6964 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-10-04 01:55:26 +02:00
Jeff Young 701623b50e Fix compile error in mocks. 2021-10-03 22:48:40 +01:00
Jeff Young 7c432d7a50 When annotating for another feature, make sure scope is entire schematic.
Fixes https://gitlab.com/kicad/code/kicad/issues/9303
2021-10-03 19:42:29 +01:00
Jeff Young 930c4e5582 Cleanup.
Formatting.
Naming conventions.
Use of auto.
Use of STL cover types.
2021-10-03 19:42:29 +01:00
jean-pierre charras 0f48522342 pcb_calculator rework: move regulator panel to its own files panel_regulator_xx
also rename regulators_funct.cpp to panel_regulator.cpp
2021-10-03 18:09:20 +02:00
Jeff Young 11c91c7179 Improve obscuring dialog algorithm to handle multiple dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/8970
2021-10-03 13:27:46 +01:00
Jeff Young 5c402a64ab Use mathematical rotation direction in Move Exactly dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/1897
2021-10-03 00:11:01 +01:00
Jeff Young 574bef2237 Normalize drawing sheet path to env vars & prj, not just prj.
Also cleans up the dialog a bit.

Also changes the workings of NormalizePath to return the input if
it couldn't be shortened which saves open coding that behaviour in
all its callers.

Fixes https://gitlab.com/kicad/code/kicad/issues/9036
2021-10-02 23:39:45 +01:00
Jeff Young 0dce303c49 Prefer wxASSERT to assert.
The former gives warning when not running under a debugger; the latter
does not.
2021-10-02 23:39:45 +01:00
Jeff Young e2baacec21 Add cross-probing between PCB (markers) and DRC marker list.
Fixes https://gitlab.com/kicad/code/kicad/issues/7246
2021-10-02 23:39:45 +01:00
jean-pierre charras da79a3dd69 Option graphics limited to 45deg in creation: separate options for brd and fp editors.
Add these options in PANEL_EDIT_OPTIONS.
This option was previously living only in some context menus, not really visible.
2021-10-02 16:43:31 +02:00
Jeff Young 10dd70881c New paramaterized interface doesn't like quoted parameters.
(At least on MSW, anyway.)
2021-10-02 14:08:36 +01:00
Jeff Young 4e9b747e86 Fix wx3.0 (presumably) compile issue. 2021-10-02 12:39:33 +01:00
Jeff Young 671e9f2dba A better algorithm for centering library items in the tree.
It still doesn't center as wxWidgets' API is poorly suited for that.
But it does now at least keep it off the very top or bottom.
2021-10-02 10:41:26 +01:00
Marek Roszko 94552ed838 Fix grid cell highlight not functioning on Windows in the symbol pin table
Fixes https://gitlab.com/kicad/code/kicad/issues/9290
2021-10-01 23:44:16 -04:00
Jeff Young ef74421922 Move centering of lib-tree item to idle event.
Fixes https://gitlab.com/kicad/code/kicad/issues/9294
2021-10-01 22:46:14 +01:00
Jeff Young 5f5ee7335d Formatting. 2021-10-01 21:49:14 +01:00
Jeff Young f606679164 Proper numeric sorting for intersheet refs.
Also expunges the horrifically named std::remove and std::remove_if
(neither of which remove anything).
2021-10-01 18:29:21 +01:00
Jeff Young 5d579d14c1 Give intersheet refs a bit more breathing room. 2021-10-01 18:29:21 +01:00
jean-pierre charras e96108d3c8 Fix int ExecuteFile(...) incorrect behavior with quoted filename.
It uses a wxExecute() version that add quotes to filename, so the final
filename was incorrect.
Fixes #9292
https://gitlab.com/kicad/code/kicad/issues/9292
2021-10-01 17:26:01 +02:00
Seth Hillbrand dd1d36d40a Fix segfault when check for editing points
The point editor is not always available when checking for points.  We
need to handle the missing tool without crashing
2021-09-30 17:25:33 -07:00
jean-pierre charras a738257c43 Remove a tool tip not related to the parent widget. 2021-09-30 20:17:45 +02:00
jean-pierre charras 222c4ce7df Update demos. 2021-09-30 20:17:44 +02:00
Jeff Young b6d723e44e The parameterized interface doesn't like its parameters quoted. 2021-09-30 19:10:23 +01:00
Jeff Young b9596a0a5d Update dangling flags in color settings' preview. 2021-09-30 18:53:39 +01:00
Jeff Young c7e6c273b4 Fix missing RTREE update. 2021-09-30 18:53:39 +01:00
Seth Hillbrand 455f6fadac Fix the fixes alias to work on Windows
Apparently Windows doesn't have normal things.  Like sed.  Or tail.  So,
we need to use git langauge instead
2021-09-30 10:11:07 -07:00
Seth Hillbrand c4fcff46ab Add Thai language option 2021-09-30 08:38:41 -07:00
Marek Roszko 0e3b001c51 Lock the windows when we ask about unsaved changes
Fix #9274
2021-09-29 23:01:06 -04:00
Seth Hillbrand 13d913a014 Choose centering after zoom
When we zoom after centering, the screen does not display the item at
the appropriate location until you center again.  Choose the zoom first
to set the appropriate scale before translating the viewport
2021-09-29 16:30:52 -07:00
Seth Hillbrand e7ae3a181f Handle casing for FocusOnItem
Some items are complex (footprints) and some don't have logical polygons
(PCB_MARKER), so we can't transform everything.  So, handle the items we
can transform normally and use bbox or boundinghull for everything else
2021-09-29 16:19:49 -07:00
Seth Hillbrand 9e72c3b38d Don't add quotes for LaunchExternal in 3.0 either
The quotes do not work in GTK 3.0.5.  Since GTK is the only platform we
have left running 3.0, we can remove this.
2021-09-29 16:19:49 -07:00
Jeff Young df2afd8345 Copy a bunch of bug fixes back from sch_move_tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/9169
2021-09-29 20:59:31 +01:00
Jeff Young 12b726ba2f Prevent the point editor from fighting with other tools.
1) Don't start a long-click timer when the point editor is active.
2) Don't auto-start a wire when the point editor is active.

Fixes https://gitlab.com/kicad/code/kicad/issues/9270
2021-09-29 19:16:06 +01:00
Wellington Terumi Uemura 200ecfa8aa
Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.3% (4744 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-09-29 19:58:43 +02:00
boonchai k ef44363e36
Translated using Weblate (Thai)
Currently translated at 100.0% (7007 of 7007 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-09-29 19:58:43 +02:00
Eric 31e3e9a44d
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (7154 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-09-29 19:58:43 +02:00
ZbeeGin 2bf5e4a6a4
Translated using Weblate (Polish)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-09-29 19:58:43 +02:00