Jeff Young
709c0f8c72
Nullptr safety.
(Potentially KICAD-372.)
5 months ago
Jeff Young
db911c0d91
Improve debugging.
8 months ago
Jeff Young
0573a32f36
Fix first tab having no effect after changing grid value.
8 months ago
Jeff Young
a1fe0f7faf
Don't process grid-change events when we're rebuilding the grid.
The selection has already changed and it's too
late to update any values.
Also regularises the event.Skip() handling from
8a1347d2c8 .
8 months ago
Jeff Young
22769b9159
Once the selection has changed, we can't commit changes.
KICAD-6Y9, among others.
8 months ago
Wayne Stambaugh
e09b095533
Common folder housekeeping part 3.
11 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
11 months ago
Jeff Young
9fcbd4e6d0
Slight reduction in asserts.
1 year ago
Wayne Stambaugh
8a1347d2c8
Property grid navigation improvements.
* Do not handle tab key event when committing property changes so the
property grid tab navigation works correctly.
* Do not call commit property changes on tab key when no changes are
pending.
* Skip event handling in the base object value change and changing event
handlers in case they do not get overloaded in derived objects.
* Do not force focus to canvas on property change so arrow and tab key
grid navigation work properly. Forcing the user to click the property
grid control to edit a single property doesn't make sense.
* Pass properties panel show event up the event stack.
* Do not set focus to canvas in tool dispatcher if it already has the
focus.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16957
2 years ago
Jeff Young
5abc7145da
Fold LIB_ITEM into SCH_ITEM.
2 years ago
Jon Evans
e7b6573717
wxWidgets 3.3 compatibility: properties API
2 years ago
wh201906
3f2e3d89e2
Fix selected item count in the properties panel
The code for updating selected item count is skipped if the properties
items don't change.
2 years ago
Marek Roszko
0c8e08ed58
Move some language changes to a event on the frame
2 years ago
Jon Evans
e9456201a7
Don't rely on dynamic_cast across DLLs
See https://gitlab.com/kicad/code/kicad/-/issues/16998
2 years ago
Jeff Young
9ff66d0e71
Don't capture references to local variables for CallAfter.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934
(cherry picked from commit 9d40374baf )
2 years ago
Jeff Young
3c6d725f93
Kick PROPERTIES_PANEL a bit harder on language change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16589
(cherry picked from commit e8b16fc64f )
2 years ago
Jeff Young
69a69cc624
Fix properties manager assert on zone layer property.
2 years ago
Jon Evans
c3deafa597
Fix deprecation warnings in latest wxWidgets
2 years ago
Jeff Young
7e46e85c7d
Update copyrights.
2 years ago
Jeff Young
9ef05fb762
Don't store document values in global PROPERTY_MANAGER.
At best it leads to the wrong units being used if they're different
between (for instance) PCB Editor and Footprint Editor. (And this
will only get worse if we ever to to a single binary.)
At worst it causes crashes when accessing freed ORIGIN_TRANSFORMS.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16062
2 years ago
Jeff Young
6d43ef5678
Don't specify sizes when we don't need to.
However, in some places we *do* have to because otherwise wxWidgets
will pick a minimum size for us (and it's rather large).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16039
2 years ago
Mike Williams
500779fc80
Properties: add ability to override writeable attribute
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
Ian McInerney
6c05801d9e
Make the property grid compatible with wx 3.3
3 years ago
Jon Evans
65193487a6
Properties: Rename methods to better reflect their purposes
3 years ago
Jon Evans
f7d59f2e89
Enable properties panel in footprint editor
3 years ago
Jon Evans
e5b376721d
Properties: remove assertion that no longer makes sense
3 years ago
Jon Evans
61dd4b7043
Properties: fix rebuilding when availability changes
3 years ago
Jon Evans
eb240fda9a
Properties: introduce validators; re-enable zone hatch settings
3 years ago
Jon Evans
769afa6fe6
Properties: refactoring
3 years ago
Jon Evans
890103a012
Properties: Fix handling of mixed value selections
3 years ago
Jon Evans
351f668645
Separate selection change updates from properties updates
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13624
3 years ago
Jon Evans
3a9ef02fdf
Clean up handling of selection changes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13620
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13609
3 years ago
Marek Roszko
d2c0f5fc2a
More wxSing
3 years ago
Jon Evans
fbaf4af489
Properties: Allow dynamic update of read-only state
3 years ago
Jon Evans
4a0588db7a
Properties: translation fixes
3 years ago
Jon Evans
1590e48ec1
Use translated strings for property display
3 years ago
Jeff Young
d3228dbab2
Differentiate search panel font between Mac and others.
Fixes https://gitlab.com/kicad/code/kicad/issues/13145
3 years ago
Jon Evans
2b0d7f65d0
Properties: sync wxPGGlobalVars map state with editor global state
Thanks to @dsa-t for suggesting this
(maybe)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12297
3 years ago
Jon Evans
435651237c
Properties: Support overridden availability functions
3 years ago
Jon Evans
33d76f63b0
Properties: save and restore splitter position
3 years ago
Jon Evans
d435ba6485
Properties: improve handling of enter/return
3 years ago
Jon Evans
1a0c774940
Properties: Space to toggle booleans; fix arrow keys
3 years ago
Jon Evans
74fa88c0f6
Defer splitter calculation until next event
Windows doesn't have valid sizes in the size event
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13019
3 years ago
Jeff Young
f6822120b3
Enable tab and return commit in property grid.
3 years ago
Jon Evans
8f39dd69be
Properties: fix caption text in dark mode on GTK
3 years ago
Jon Evans
12b7e68703
Properties: Skipped group should not assert
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13028
3 years ago
Jon Evans
b2b3f5752f
Properties: Add grouping and sorting by creation order
3 years ago
Jon Evans
5bbe21f540
Properties: don't rebuild the panel when closing an editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12984
3 years ago
Jon Evans
96fe93618e
Properties: Stop sorting by name
It's more useful to have properties shown in add order,
since we can group them
3 years ago