Jeff Young
930c4e5582
Cleanup.
Formatting.
Naming conventions.
Use of auto.
Use of STL cover types.
4 years ago
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
4 years ago
Jeff Young
11c91c7179
Improve obscuring dialog algorithm to handle multiple dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/8970
4 years ago
Jeff Young
5c402a64ab
Use mathematical rotation direction in Move Exactly dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/1897
4 years ago
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
4 years ago
Jeff Young
0dce303c49
Prefer wxASSERT to assert.
The former gives warning when not running under a debugger; the latter
does not.
4 years ago
Jeff Young
e2baacec21
Add cross-probing between PCB (markers) and DRC marker list.
Fixes https://gitlab.com/kicad/code/kicad/issues/7246
4 years ago
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.
4 years ago
Jeff Young
10dd70881c
New paramaterized interface doesn't like quoted parameters.
(At least on MSW, anyway.)
4 years ago
Jeff Young
4e9b747e86
Fix wx3.0 (presumably) compile issue.
4 years ago
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.
4 years ago
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
4 years ago
Jeff Young
ef74421922
Move centering of lib-tree item to idle event.
Fixes https://gitlab.com/kicad/code/kicad/issues/9294
4 years ago
Jeff Young
5f5ee7335d
Formatting.
4 years ago
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).
4 years ago
Jeff Young
5d579d14c1
Give intersheet refs a bit more breathing room.
4 years ago
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
4 years ago
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
4 years ago
jean-pierre charras
a738257c43
Remove a tool tip not related to the parent widget.
4 years ago
jean-pierre charras
222c4ce7df
Update demos.
4 years ago
Jeff Young
b6d723e44e
The parameterized interface doesn't like its parameters quoted.
4 years ago
Jeff Young
b9596a0a5d
Update dangling flags in color settings' preview.
4 years ago
Jeff Young
c7e6c273b4
Fix missing RTREE update.
4 years ago
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
4 years ago
Seth Hillbrand
c4fcff46ab
Add Thai language option
4 years ago
Marek Roszko
0e3b001c51
Lock the windows when we ask about unsaved changes
Fix #9274
4 years ago
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
4 years ago
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
4 years ago
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.
4 years ago
Jeff Young
df2afd8345
Copy a bunch of bug fixes back from sch_move_tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/9169
4 years ago
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
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
Roberto Fernandez Bautista
0dffce4152
Translated using Weblate (Spanish)
Currently translated at 96.0% (6873 of 7155 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
4 years ago
Jonathan Haas
ecebcc60b6
Translated using Weblate (German)
Currently translated at 96.5% (6908 of 7155 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
4 years ago
Arnau Llovet Vidal
386545719a
Translated using Weblate (Catalan)
Currently translated at 42.2% (3026 of 7155 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ca/
4 years ago
Jeff Young
ee2789943f
Supply grid with a GRID_TRICKS.
Fixes https://gitlab.com/kicad/code/kicad/issues/9273
4 years ago
Jeff Young
2489408c34
Use position as well as time-based drag semantics on Mac.
Fixes https://gitlab.com/kicad/code/kicad/issues/9276
4 years ago
Jeff Young
0438a45176
Don't allow reentrancy into PlaceFootprint.
Fixes https://gitlab.com/kicad/code/kicad/issues/9269
4 years ago
Jeff Young
9cf9abbd66
Don't allow Text Properties dialog on intersheets references field.
4 years ago
Jeff Young
3b6da14614
Don't allow offset for circular pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/9266
4 years ago
Jon Evans
07e01e6297
Allow converting graphic arc to track arc
4 years ago
Jon Evans
0458afe20a
Fix escaping of double quotes in LIB_IDs
4 years ago
Mikolaj Wielgus
cd3b019b43
Enable bugprone-* in .clang-tidy
It was disabled due to a typo.
4 years ago
Jon Evans
62ef27e372
Remove hard-coded anchor color in eeschema
4 years ago
Mikolaj Wielgus
adafb15126
Remove LaunchURL()
Unused and insecure.
Related to https://gitlab.com/kicad/code/kicad/-/issues/9236
4 years ago
Roberto Fernandez Bautista
2e120528c8
Length Tuner: Allow single meander when it fits on its own
4 years ago
Roberto Fernandez Bautista
71156368c9
Length Tuner: Allow controlling the side of the meander using the cursor
Also fixes an issue that did not allow single meanders to be placed
4 years ago