Jeff Young
c163f0a24c
CHANGED: better real-estate usage in Edit Symbol Fields dialog.
...
1) Moved view controls list to a wx_grid.
2) Allow show/hide of columns in view controls.
3) Allow editing of BOM Names in grid without long-click on Mac.
3) Added column show/hide states and sash pos to prefs.
4) Decreased mininum sash pane width to allow wider main grid.
5) Simplified presentation by moving "include" and "cross-probe"
settings to config menu.
2025-09-05 13:00:50 +01:00
Jeff Young
e1d1243a91
Don't trip over a stale sort column index. (KICAD-B3X)
2025-07-04 15:33:12 -06:00
Jeff Young
4e4dfa0a38
Sort col may not be in the current columns. (KICAD-G74)
2025-07-03 23:14:35 -06:00
Mike Williams
774cf6fbc8
bom export: don't break column order on mismatched column counts
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20520
2025-05-05 13:52:37 -04:00
Jeff Young
66bacb3ea5
Honour template fieldname vis flag when adding fields.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20575
2025-04-28 17:39:54 +01:00
Jeff Young
b01fef5ca8
Update visibility flag when adding fields.
...
Also removes extra c'tor which fails to set the
ordinal.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20556
2025-04-26 16:37:36 +01:00
Jeff Young
8113824f7c
Don't conflate generated fields (${DNP}) and fields with variable references.
...
They're not quite the same thing as the later
can have un-applied values which require expanding.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20417
2025-04-18 13:41:18 -07:00
Jeff Young
5279cc8767
Use EDA_COMBINED_MATCHER more consistently.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20678
2025-04-16 12:20:15 +01:00
Jeff Young
901ad3064d
Remove assert that fires when applying preset.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20467
2025-04-02 13:06:40 +01:00
Jon Evans
4ef0d3554e
Handle duplicate entries in BOM presets
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20342
2025-03-17 18:37:52 -04:00
Jon Evans
2ef123d9e1
Code style
2025-03-17 18:27:33 -04:00
Jeff Young
c61b6b8bdd
Initialize props of fields created by BOM table.
...
We use the same algorithm as the Symbol Properties
dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20212
2025-03-04 11:57:24 +00:00
Jeff Young
c5bb59468d
Get rid of assumptions about field order.
2025-02-24 11:08:29 +00:00
Jeff Young
fea659a002
Remove prohibition from clearing Value field in Symbol Fields Table.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19745
2025-02-19 23:43:53 +00:00
Jeff Young
3c71e7ab09
Auto-recognize URLs in SCH_FIELD and PCB_FIELD grids.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17066
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17745
2025-02-19 23:43:53 +00:00
Jeff Young
f65d260961
Pretty-print cross references in Symbol Fields Table.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19941
2025-02-19 23:43:53 +00:00
Jeff Young
fec6882e0a
Fix row shading.
...
Don't use the wxGrid convenience covers. They assume
you're doing nothing else with attributes.
2025-02-03 20:06:30 +00:00
Jeff Young
e19bce2f93
Reduce reliance on MANDATORY_FIELDS and their implied order.
2025-01-22 17:51:57 +00:00
Jeff Young
a0dd0485e9
Pull a little harder on the MANDATORY_FIELDs string.
...
We still conflate the fieldID, the position in the
array of fields, and whether or not that means the
field is mandatory. But this attempts to clean up
*some* of that, without introducing too much risk.
2025-01-21 16:48:13 +00:00
Jeff Young
d50b69f1ae
Reconcile divergence of MANDATORY_FIELDS between symbols and footprints.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19697
2025-01-21 13:28:28 +00:00
jean-pierre charras
c77c921297
Eeschema, BOM exporter dialog: Fix empty fields other than references
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19557
2025-01-10 17:31:21 +01:00
Jeff Young
8481eb8cf5
Export comma-delimited values instead of "-- mixed values --".
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17912
2025-01-06 11:56:51 +00:00
Jeff Young
5c80f6c7d8
Honour private flag in Symbol Fields Table.
2025-01-05 20:48:49 +00:00
Jeff Young
c7af744bc2
Formatting.
2025-01-05 20:48:49 +00:00
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
2025-01-01 14:12:04 -08:00
Jeff Young
e04f873765
Honour sheet-level DNP & Exclude from BOM in symbol fields table.
...
(And also in netlist exporter.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18717
2024-12-22 21:22:30 +00:00
Uli Köhler
7187f1b705
Fix empty BOM preset fields leading to crash when opening Edit Fields Dialog
2024-09-21 00:42:23 +00:00
Jeff Young
e9d376c912
Don't attempt to rename field more than once.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18330
2024-07-07 11:55:45 +01:00
Mike Williams
cc350cf279
symbol fields table: remember includeExcludedFromBOm correctly
2024-05-29 08:41:25 -04:00
Jeff Young
df3eaf0e03
Trim before sorting.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17046
2024-05-26 19:28:24 +01:00
Mike Williams
21022b4fa4
Symbol Fields Table: better handle variable fields with attributes
...
Attributes need to be checked first since we do some internally hackery
to make the checkboxes work.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18005
2024-05-20 08:52:00 -04:00
Mike Williams
ea904c9fb1
Symbol Fields Table: configurable excluded from BOM filtering
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17747
2024-04-15 13:08:04 -04:00
Jeff Young
a836a66170
Update labels when editing field names.
...
This is yet another path for getting duplciate fields
when changing the case of an existing field name.
2024-01-23 14:58:56 +00:00
Jeff Young
8b56b3d999
Formatting.
2024-01-23 13:42:17 +00:00
Mike Williams
382fe3de09
Symbol Fields Table: fix regroup button using schematic values
...
Should use the datastore where possible since users are using this to
regroup before applying the data.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16574
2024-01-11 12:01:12 -05:00
Wayne Stambaugh
04d15026c5
Rename SCH_SYMBOL::GetInstanceReferences() to GetInstances().
2023-12-28 18:25:56 -05:00
Wayne Stambaugh
6183a1e4de
Coverity warning fixes.
2023-10-30 09:16:24 -04:00
Wayne Stambaugh
5d6ef69726
Coding policy and Doxygen comment fixes.
2023-10-12 09:36:28 -04:00
Jeff Young
9f5e583ced
Readability.
2023-10-03 17:14:03 +01:00
Jon Evans
017dafc8e3
Just use \n for newline
...
Fixes issues with extra blank lines in CSV on some platforms
2023-09-27 15:46:23 -04:00
Mike Williams
6425c5cc1a
Symbol Fields Table: fix issues with selecting row of starting selection
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15684
2023-09-20 09:42:52 -04:00
Mike Williams
e1d5089c74
Symbol Fields Table: handle recursive sheet add/delete/update
2023-08-14 14:19:26 -04:00
Mike Williams
dc103b88d1
Symbol Fields Table: make non-modal
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2141
2023-08-14 14:19:26 -04:00
Mike Williams
1c52a60270
Symbol Fields Table: API cleanups for non-modal window
2023-08-14 14:19:26 -04:00
Mike Williams
bdecdce1b4
Exclude from Sim: move from field to attribute
2023-08-08 12:36:36 -04:00
Mike Williams
fe32492252
Symbol Fields Table: scope control for limited view of symbols
2023-08-07 15:05:24 -04:00
Mike Williams
37fdcce0a0
Fields Editor Table: add checkboxes for fields representing attributes
...
DNP, Exclude from ..., etc.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15300
2023-08-01 14:33:30 -04:00
Mike Williams
25e391719e
Fields Table: convert special strings like Quantity to named variables
...
Before, we did not actually prevent users from adding a field also named
Quantity to their symbols. This of course does not play nicely with the
assumptions that Quantity is a special column in the fields editor.
By making it a named variable, the user can safely add it to a symbol
and it will not be editable, and will also work in the fields table
editor as expected.
2023-08-01 10:55:32 -04:00
Mike Williams
cfa0d4bfb7
Symbol Fields Table: handle missing fields better
...
Treat missing ones as empty, unless they are a named variable field and
then resolve the field.
2023-07-12 16:40:08 -04:00
Mike Williams
e26dcbece4
Symbol Fields Table: add item number support
2023-07-12 15:08:50 -04:00