Wayne Stambaugh
a1fb8e1b1d
Coverity fixes and code cleaning.
3 years ago
Seth Hillbrand
59fc62e898
Correct parent symbol for lib_text
The edited symbol should be pulled from the parent window when there is
not an existing text object
3 years ago
Wayne Stambaugh
789bf6455a
Coverity fixes and code cleaning.
3 years ago
Seth Hillbrand
3207d1386e
Avoid forcing all units
When the enduser is not allowed to change the status of "common to all
units", then it should be disabled
Fixes https://gitlab.com/kicad/code/kicad/issues/14084
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
Jeff Young
7ffdfb1067
Clear Scintilla undo history after setting initial text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12650
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Jeff Young
d07c6699ce
Bring symbol editor in line with eeschema for empty text.
Fixes https://gitlab.com/kicad/code/kicad/issues/11799
3 years ago
Jeff Young
494d79423e
Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/issues/11809
3 years ago
Jeff Young
52bc2511cd
Add a radioButton mode to IMAGE_BUTTON.
Fixes https://gitlab.com/kicad/code/kicad/issues/11797
3 years ago
Jeff Young
a0421b172a
Add missing color swatch to Symbol Editor Text Properties.
Fixes https://gitlab.com/kicad/code/kicad/issues/11791
3 years ago
Jeff Young
c6a8100d46
Schematic and symbol text boxes.
Also fixes some plot bugs with arcs.
Also moves polygonization of arcs (when required) in plotting code
from 5 degrees to calculated based on ARC_HIGH_DEF.
Fixes https://gitlab.com/kicad/code/kicad/issues/5017
4 years ago
Jeff Young
e048e51f5d
Improve SNR of EDA_ANGLE stuff.
4 years ago
Jeff Young
a2030a5956
GUI for font selection.
4 years ago
Jeff Young
86cb57f4a7
Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont
4 years ago
Jeff Young
c3552a940a
Make sure standard OK/Cancel buttons respond to current language.
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
4 years ago
Jeff Young
889970a449
SCH_NETCLASS_FLAGs and SCH_FIELDs for labels.
ADDED: a new label type for netclass flags.
ADDED: the ability to define fields on labels.
4 years ago
Jeff Young
c508c89a81
Pretty-up some warning messages.
4 years ago
jean-pierre charras
f11687c5e5
Do not allow sheet filename change from DIALOG_SCH_FIELD_PROPERTIES.
It does not work. Changing a sheet filename is complex, and can be
made only in sheet properties dialog.
4 years ago
Jeff Young
2479e1d7b1
Improve common settings property grouping.
Also moves apply-icon-scaling-to-fonts to its own checkbox. (We used
to try to infer when to do it, but that turns out to be a rathole.)
4 years ago
Jeff Young
9c78e4cf54
Mac needs different font size handling than MSW & GTK.
Mac already uses diverse font sizes (for instance, smaller fonts for
radio button groups), and the anti-aliasing is a lot better. The
other platforms need a more limited range of sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Jeff Young
fbee62fc15
Tie font size scaling to when automatic icon scaling fails.
It appears that SetSymbolicSize() and ConvertDialogToPixes() fail
under the same circumstances.
4 years ago
Jeff Young
7a822b55aa
Another round of changes to attempt to fix the GTK font size issue.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Roberto Fernandez Bautista
a06f3f1d14
Don't update text items until modified explicitly
Ensures that any complex formatting in text items created by importers
or pasted S-expressions is preserved.
4 years ago
Jeff Young
6eb59b9d9e
Dialog naming conventions.
4 years ago
Jeff Young
0c2ac9a711
Move GUI font code to common.
This also allows the Mac fixes for font facenames to be more
compartmentalized.
Fixes https://gitlab.com/kicad/code/kicad/issues/8657
4 years ago
Marek Roszko
d946d6e68f
Cleanup some pgm_base.h includes
4 years ago
Marek Roszko
33bbf85a3e
Use the parent frame GetSettings helper rather than including for Pgm()
4 years ago
jean-pierre charras
2b89511887
DIALOG_LIB_EDIT_TEXT: Remove useless code creating a wxWidgets alert. Fixes #8093 https://gitlab.com/kicad/code/kicad/issues/8093
5 years ago
Jeff Young
f0e6f812ff
Edit One Field improvements.
1) Accept <enter> as OK if the multiline textbox isn't shown.
2) Focus and select all in first control if multiline textbox isn't shown.
3) Make title be title caps ("Edit Sheet name Field" looked dorky).
Fixes https://gitlab.com/kicad/code/kicad/issues/7940
5 years ago
Jeff Young
a0b9b0c3ee
Improve IsSymbolEditable to differentiate fields.
Fields are editable in Aliases, but still not in Legacy libraries,
locked libraries, etc.
Fixes https://gitlab.com/kicad/code/kicad/issues/7175
5 years ago
Wayne Stambaugh
e34756d596
Symbol editor: fix read only dialogs when symbol is from schematic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6968
5 years ago
Jeff Young
fb7ac450d9
Read-only dialogs for symbols in legacy libraries.
Fixes https://gitlab.com/kicad/code/kicad/issues/5211
5 years ago
Jeff Young
b6e267b78d
Naming conventions.
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Jeff Young
bddc97df30
LibEdit -> SymbolEditor
5 years ago
jean-pierre charras
bda275de46
more cleanup about removing useless include
5 years ago
Jeff Young
8b084c373e
Autocomplete for text variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/4190
6 years ago
Jeff Young
d61b6f965e
Flatten some settings and remove some more globals.
6 years ago
Jeff Young
591428b0d9
Remove some problematic global variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/4121
6 years ago
Ian McInerney
ae91312416
Fix default pin orientation (from Coverity scan)
6 years ago
Jeff Young
ea0941cab3
Implement modern tools for LibEdit.
7 years ago
Jeff Young
469231ae15
Move Pin, Symbol Text and Symbol Anchor to modern toolset.
7 years ago
Jeff Young
ff6a3482ec
Remove on-kill-focus-validation.
Fixes: lp:1805361
* https://bugs.launchpad.net/kicad/+bug/1805361
7 years ago
Tomasz Wlostowski
90c7c60471
eeschema-gal: initial GALified version. Lots of stuff still to do!
7 years ago
Jeff Young
829ba27206
Another round of dialog spacing/font adjustments for Windows.
7 years ago
Jeff Young
68e7a49b53
Add position to Eeschema's edit text dialogs.
Fixes: lp:1627467
* https://bugs.launchpad.net/kicad/+bug/1627467
(cherry picked from commit 07c7828)
7 years ago
Jeff Young
06bf958bf1
UNIT_BINDERize eeschema's plot and text edit dialogs.
(cherry picked from commit 298ea70)
8 years ago
jean-pierre charras
8022f1cc01
fix code after renamin files
8 years ago
Baranovskiy Konstantin
1412296398
Fix field align settings in dialogs of Eeschema.
8 years ago