Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Jeff Young
f45760062b
ADDED: appearances manager for 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12413
2 years ago
Jon Evans
9741d57447
Remove duplicate path for extracting project text variables
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15283
2 years ago
Jon Evans
3a0f8214fa
ADDED: Properties panel for schematic editor
Initial infrastructure work; follow-ons will add more
properties for schematic items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6351
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14105
2 years ago
Jeff Young
29aabcf77e
Naming clarity. No functional changes.
2 years ago
Jeff Young
1518ddde74
Push much of text var autocomplete down into SCINTILLA_TRICKS.
Shared code == fewer bugs. Well, in theory anyway....
2 years ago
Jeff Young
a0adb59437
Update dimension units when opening PCBs in CLI.
Fixes https://gitlab.com/kicad/code/kicad/issues/14170
3 years ago
Jon Evans
f7d59f2e89
Enable properties panel in footprint editor
3 years ago
Jeff Young
67e6603699
Move updateUnits functionality to where it can be shared.
Also call it when adding a footprint via the chooser.
Fixes https://gitlab.com/kicad/code/kicad/issues/13340
3 years ago
Jon Evans
64f315c649
Move properties panel to widgets with the other AUI panels
3 years ago
Jeff Young
b385a4b60a
Implement DarkMode for the Appearances Palette.
Fixes https://gitlab.com/kicad/code/kicad/issues/11734
3 years ago
Jeff Young
f6c441c434
Viewport switcher keys are platform-specific.
Also fixes a regression where ctrl-tab doesn't get recognized.
Fixes https://gitlab.com/kicad/code/kicad/issues/11778
Fixes https://gitlab.com/kicad/code/kicad/issues/10127
3 years ago
Ian McInerney
1683e552f7
Add/fix some variable initializations
3 years ago
Jon Evans
3c6e8aea0f
Properties panel: post-rebase fixes and hide by default
Remove layer widget re-added by Orson's rebase
5 years ago
Maciej Suminski
c37c429c75
Rename PROPERTY_PANEL::Update() to PROPERTY_PANEL::UpdateData()
The base class (wxPanel) already provides Update() method,
which should not be overridden.
6 years ago
Maciej Suminski
f6f6ebd5f9
WIP: Properties GUI
6 years ago
Jeff Young
aa2ad3b44c
Move KICAD_T[] to std::initializer_list<KICAD_T>.
3 years ago
Marek Roszko
a8505d9c76
SEARCH_RESULT -> INSPECT_RESULT
To fix the name squatting it's doing for future functionality
3 years ago
Jeff Young
1bad72f14f
Remove bad static_cast.
(m_settings isn't a PCBNEW_SETTINGS in non-PCB_EDIT_FRAMEs)
3 years ago
Jeff Young
bf71cada4e
ADDED: User viewports for 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/5724
3 years ago
Jeff Young
9b087a3c25
Add automatic precision choices for dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/6690
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
markus-bonk
8e43409d27
Invoke correct base method in PCB_BASE_EDIT_FRAME::handleActivateEvent.
The base class of PCB_BASE_EDIT_FRAME is PCB_BASE_FRAME. Invoking
EDA_DRAW_FRAME::handleActivateEvent in the PCB_BASE_EDIT_FRAME override
will skip the definition in PCB_BASE_FRAME.
4 years ago
jean-pierre charras
05c414c816
Pcbnew: fix rotation angle issue in rotate commands.
The value of this rotation was store in 2 places: the config and the editor frame.
So after changing the rotation angle from the preferences, the value in editor
frames were not updated, and the rotation angle not modified.
Now only the config value is used.
4 years ago
Jeff Young
5176512de3
Move PCBNew rotation increment to EDA_ANGLE.
4 years ago
Jon Evans
d3d2ebe349
Do not check key states for non-key events in TryBefore
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10127
(cherry picked from commit 2306d00c89
)
4 years ago
Jeff Young
e3328e54c4
Fix view switcher on Mac.
Solution for MSW/GTK still isn't great.
4 years ago
Seth Hillbrand
4a16c603e9
Don't bind to Alt+Tab
The Alt key is not usable by programs under Windows and Alt+Tab is
reserved on both MSW and Linux. Instead, we use the Shift modifier to
determine which preset to open
4 years ago
Jeff Young
5e4a704155
Remove some more duplicated preferences.
Fixes https://gitlab.com/kicad/code/kicad/issues/10112
4 years ago
Jeff Young
da11574a19
Remove dead code.
4 years ago
Jeff Young
6c05e5d1a8
Implement user viewports.
ADDED popup to Appearances palette where users can define viewports
for later selection.
Fixes https://gitlab.com/kicad/code/kicad/issues/2271
4 years ago
Jeff Young
9ee28ea8f5
Flatten out some more preferences.
4 years ago
Jon Evans
8026863d4c
Use progress reporting in more places when loading a board
Prevents application-not-responding events while opening large designs
4 years ago
Jon Evans
75d75799f7
Move to getters/setters for aux and grid origin
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8836
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Jeff Young
16b0147af8
Prefix DIMENSION types.
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
Ian McInerney
4f05262705
Cleanup includes in board.h and footprint.h
4 years ago
Jeff Young
a4c08e2af6
Apply Eeschema cursor updating architecture to PCBNew.
Fixes https://gitlab.com/kicad/code/kicad/issues/8135
5 years ago
Ian McInerney
29cc16a4c4
Push pcbnew layer alpha change update into base frame
This code was shared between the footprint frame and
pcb edit frame, so push it into the base edit frame.
Also remove the dummy wxUpdateUIEvents that weren't
actually being used.
5 years ago
Jon Evans
d0d6352a25
Fix crash launching footprint editor frame
Apparently we get this event before the frame is fully-baked
5 years ago
Ian McInerney
f6041fb52d
Force update of some text when activation status changes
The text areas aren't always redrawn when the window is activated
or deactivated, so we need to force a refresh of the text to ensure
it is the correct font color.
5 years ago
Jon Evans
b314e0828c
Don't create project files unconditionally when importing boards
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7368
5 years ago
Jeff Young
6b420b191a
Use color theme backgrounds in page previews.
Also includes a *lot* of const fixing to make it happen.
Fixes https://gitlab.com/kicad/code/kicad/issues/6811
5 years ago
Marek Roszko
dd0ad8f3a1
Read the fp-info-cache on pcb file load rather than on frame open
Otherwise in standalone mode pcbnew will never load the cache files and also later erase them :/
5 years ago
Marek Roszko
0967995a80
Replace wxTextFile for writing fp info cache
wxTextFile uses wxFile which uses write syscalls which means its unbuffered.
This makes file IO more expensive against network shares where it will flush far too aggressively.
wxTextFile is fine for reads however.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Michael Kavanagh
3f01c5fae0
Cleanup: move remnants of LAYER_WIDGET to gerbview
These are no longer used in Pcbnew.
5 years ago