Jeff Young
10c25a2290
Update frame type enum to match current class names.
2019-09-06 23:38:20 +01:00
Jeff Young
15cd13ba6e
Don't tie generic validators to a specific field.
...
Fixes: lp:1834103
* https://bugs.launchpad.net/kicad/+bug/1834103
2019-06-26 01:13:15 +01:00
Jeff Young
cb1fd069f0
Fix inadvertant check-in of debugging code.
2019-06-26 00:51:33 +01:00
Jeff Young
dfcffddbe4
Fix destruction order in Symbol Properties grid table.
...
wxGrid is VERY cranky about this. I've only found one recipie that works,
and it must be applied strictly.
Fixes: lp:1831317
* https://bugs.launchpad.net/kicad/+bug/1831317
2019-06-04 15:02:42 +01:00
Wayne Stambaugh
ae54f34392
Eeschema: fix corrupted schematic and symbol library files.
...
Prevent user from pasting text with carriage return and/or line feed
characters in field value edit control in the schematic symbol and symbol
library properties dialogs.
Make all objects derived from GRID_CELL_TEXT_BUTTON use validators
correctly.
Add validators to FIELDS_GRID_TABLE object for field values other than
the mandatory fields.
Create a validator to check that a string is a valid LIB_ID.
Fixes lp:1828214
https://bugs.launchpad.net/kicad/+bug/1828214
2019-05-10 08:21:37 -04:00
Seth Hillbrand
9bfce26ce7
Move env var substitution into GetAssociatedDocument
...
We always want the documents to have their variables replaced when
opening the associated file.
Fixes: lp:1819309
* https://bugs.launchpad.net/kicad/+bug/1819309
2019-03-10 08:39:36 -07:00
jean-pierre charras
26acd39129
Fix a few Coverity warnings.
2019-03-07 20:01:47 +01:00
Baranovskiy Konstantin
62bf4614ad
Component fields grid: copy/paste boolean values.
...
NEW: Add ability to copy/paste from/to cells with boolean values
(checkboxes) in grid control of component properties dialog of Eeschema.
2019-01-19 14:54:43 -05:00
Maciej Suminski
44424dcbb3
Fixed a crash in Symbol Properties dialog
...
Fixes: lp:1802641
* https://bugs.launchpad.net/kicad/+bug/1802641
2018-11-13 14:02:16 +01:00
Seth Hillbrand
92758ea4ef
eeschema: Fix minor compile warning
2018-10-11 15:31:10 -07:00
Seth Hillbrand
dff92f915c
eeschema: Formatting grid table
...
Missing breaks could cause grid table to return odd text for bad values.
With the breaks, odd values are flagged for fixing
2018-10-11 14:45:23 -07:00
Jeff Young
3c2aafd7b7
Move Edit Symbol References to standard text/button control.
2018-09-29 22:07:31 +01:00
Jeff Young
e5e1a315f1
Keep name & value in sync for library items.
...
Also fixes library reference highlighting from board footprints.
Fixes: lp:1792243
* https://bugs.launchpad.net/kicad/+bug/1792243
Fixes: lp:1792256
* https://bugs.launchpad.net/kicad/+bug/1792256
2018-09-13 16:41:23 +01:00
Jeff Young
e932eed738
Allow TemplateFieldNames to specify URL-behaviour.
...
Fixes: lp:1785879
* https://bugs.launchpad.net/kicad/+bug/1785879
2018-08-11 17:14:27 +01:00
Jeff Young
8884298f29
Add file:// to list of things recognized as URL.
...
Fixes: lp:1785879
* https://bugs.launchpad.net/kicad/+bug/1785879
2018-08-08 12:51:31 +01:00
Jeff Young
99ed476de1
Treat user fields starting with http:// or https:// as a URL.
...
Fixes: lp:1785879
* https://bugs.launchpad.net/kicad/+bug/1785879
2018-08-08 01:43:26 +01:00
Jeff Young
07a665f4fd
Improve validation of symbol fields editor.
...
Don't beep when inserting character from focused grid cell (but
before editor is opened).
Handle reference validation separately from name validation and
separately from user field value validation. The old way of setting
the fieldId on the validator wasn't working because the validator
gets copied.
Run validation when leaving cell. Don't just check for empty
(particularly for fields that CAN be empty).
Fixes: lp:1782917
* https://bugs.launchpad.net/kicad/+bug/1782917
(cherry picked from commit 79e04de)
2018-07-21 21:28:13 +01:00
Jeff Young
bd90341e91
Add Footprint & Datasheet buttons to Edit Symbol dialog.
2018-07-20 18:48:06 +01:00
Jeff Young
31aebe6920
UI infrastructure enhancements and bug fixes.
...
Work around wxWidgets failure to send first key through validator.
Unify treatment of INDETERMINATE values (such as for multiple
selections with mixed values).
(cherry picked from commit 7308729)
2018-07-17 15:10:15 +01:00
Jeff Young
c8b02674dc
Direct editing of LIB_FIELDs and SCH_FIELDs in dialogs.
...
Fixes: lp:1676178
* https://bugs.launchpad.net/kicad/+bug/1676178
Fixes: lp:1749220
* https://bugs.launchpad.net/kicad/+bug/1749220
Fixes: lp:1779557
* https://bugs.launchpad.net/kicad/+bug/1779557
Fixes: lp:1425134
* https://bugs.launchpad.net/kicad/+bug/1425134
Fixes: lp:1565195
* https://bugs.launchpad.net/kicad/+bug/1565195
(cherry picked from commit b6aee79)
2018-07-17 15:10:08 +01:00