Dominik Wernberger
bb2881a5ab
Make RENDER_SETTINGS argument const
5 years ago
Jeff Young
3d852372ca
Handle nested unescaping (for buses in particular).
Also adds a few missing unescape() calls when showing netnames to the
user.
Fixes https://gitlab.com/kicad/code/kicad/issues/6400
5 years ago
Jeff Young
11117a2d9a
Fix invalid access into empty string.
5 years ago
Franck Jullien
70cbf59846
eeschema/intersheet: don't list own page
5 years ago
Jeff Young
9dae57ae9d
Fix several bugs in SCH color printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/6723
5 years ago
Jeff Young
2050e05944
Formatting.
5 years ago
Franck Jullien
8d72a768e0
eeschema/intersheet: add print and plot functions
5 years ago
Peter Montgomery
821128cb8e
Eeschema: Make auto-decrementing net labels stop at zero
CHANGED: If you set the auto-increment value to a negative number,
created a net label and hit the insert key, when the name got below zero,
the net labels tried to go negative but created bad labels instead.
Now the code caps decrementing at zero, warns users when it has
happened, and explains why.
Fixes https://gitlab.com/kicad/code/kicad/issues/6537
5 years ago
Jeff Young
050d9e37ec
Fix rotation bugs in Eeschema.
Rotate text using the Rotate90() function which gets the orientation
right.
Also, when calculating the center point for rotation, don't include
labels if the selection contains other stuff. It just makes the
rotation odd, and tends to cause walking when continuing to rotate
(due to keep-upright being non-symmetrical).
Fixes https://gitlab.com/kicad/code/kicad/issues/git
5 years ago
Jeff Young
1f5831185e
Fix rotation of multiple global labels with intersheet references.
5 years ago
Jeff Young
7c344e9be6
Mirroring for intersheet references.
5 years ago
Jeff Young
293795fd46
Support rotation on intersheet references.
5 years ago
Jeff Young
c1d1c12b41
Simplify message panel code.
We've had the colours turned off for two releases now without any
screaming or gnashing of teeth, so it's time to clean up the code.
5 years ago
Marek Roszko
16e3e59495
Split out arrayDim and MIRROR templates from macros.h
These were not macros
5 years ago
Jeff Young
8c5c902fa3
Re-write IntersheetRefs on top of SCH_FIELDs and textVars.
1) Generalize SCH_ITEM owners (SCH_COMPONENT, SCH_SHEET, and now
SCH_GLOBALLABEL)
2) Generalize hypertext items
3) Use SCH_FIELD autoplace infrastructure for placing intersheet
references
4) Use textVar infrastructure for buildin intersheet references.
As an important side-effect this also fixes the undo issues with
intersheet refs.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
8bae52d1c3
Correct naming conventions.
5 years ago
Jeff Young
592cd99fd5
Pin dialog min size so that we don't wrap our (hacked) overbars.
Fixes https://gitlab.com/kicad/code/kicad/issues/6371
5 years ago
Marek Roszko
9de0ff22c1
Rename Mirror template to MIRRORVAL to avoid shadowing
I am bad at naming creativity here, but hey, it's unique
5 years ago
Marek Roszko
e49ac45b84
HTML_MESSAGE_BOX is a dialog
5 years ago
Marek Roszko
a785f70ea1
msgpanel is a widget, shove it to the right folder.
5 years ago
Marek Roszko
304e5faf36
Move wxStringSplit to kicad_string
5 years ago
Jeff Young
83890f8d3a
Move label editors to QuasiModal so the Syntax Help window can be shown.
Fixes https://gitlab.com/kicad/code/kicad/issues/5437
5 years ago
Marek Roszko
a1c75748a0
Remove GetChars(), a wxWidgets 2.9 compatibility hack
5 years ago
Marek Roszko
1538d737e7
Split out FILL_T to its own header to avoid spreading eda_item everywhere
5 years ago
Marek Roszko
12d21e34e2
Remove trigo.h from eda_text.h
5 years ago
Jeff Young
4565631728
Finish moving eeschema assigned netclasses to sheet-path-relative.
Also adds code for the case where a new label is created on a net
with an existing netclass assignment.
Fixes https://gitlab.com/kicad/code/kicad/issues/5886
5 years ago
Michael Kavanagh
006e383f2a
Move sch_text help into markdown file
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
jean-pierre charras
7865d8de43
more cleanup about removing useless include
5 years ago
Franck Jullien
2fc49045d1
ADDED: eeschema: Add intersheets references function
Add a new function to place intersheets references next to
global labels.
5 years ago
Jeff Young
13f1de8e73
Forgot a bunch of files from last commit.
5 years ago
Jeff Young
64fa400b19
Ease translation a bit.
Also improves the SNR and consistency of the menu item text. For
instance, a position is rarely useful, while relative sizes can be.
Also removes some unnecessary repitition, such as "Graphic Rectangle"
when "Rectangle" communicates the necessary information.
5 years ago
Jeff Young
f347118ce3
Add a min pin width advanced config for plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/5546
5 years ago
Seth Hillbrand
02a5d47de9
Avoid passing references in EESchema
This returns the connection list by value. This allows easier Python
use
Also renames m_End() to GetEnd()
5 years ago
Jeff Young
e782794f96
Flesh out object properties and DRC Rule syntax help.
5 years ago
Jon Evans
38a4e4ad5a
Remove the last bits of the old netlist system
5 years ago
Jeff Young
15c136ead2
Make a bunch of help dialogs modeless.
Fixes https://gitlab.com/kicad/code/kicad/issues/5334
5 years ago
Jeff Young
0804f487ec
Add text var cross-reference processing to SCH_FIELDs.
5 years ago
Jeff Young
55784afbfe
Allow text variables to reference parent sheet's fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/2466
5 years ago
Jeff Young
e66523586b
Add Assign Netclass... to context menu.
ADDED Assign Netclass feature to EEschema.
Netclass assignments also now shown in status bar.
Fixes https://gitlab.com/kicad/code/kicad/issues/4581
5 years ago
Jeff Young
e7603ddcb9
Add tilde escape syntax to syntax help.
5 years ago
Jeff Young
8b084c373e
Autocomplete for text variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/4190
5 years ago
Jeff Young
f3e4e61fa7
Push some more editing code out to the tool framework.
5 years ago
Jon Evans
7c7b7f41da
Move SCH_SCREEN project access to SCHEMATIC
SCH_SCREEN no longer needs to be a KIWAY_HOLDER
6 years ago
Jon Evans
d7bd4c9b04
Move Eeschema globals to new SCHEMATIC object
Set up a new lineage for SCH_ITEMS to get back to the SCHEMATIC
they live on: Items will all be parented to the SCH_SCREEN that
they are added to, and each SCH_SCREEN will point back to the
SCHEMATIC that it is part of. Note that this hierarchy is not
the same as the actual schematic hierarchy, which continues to
be managed through SCH_SHEETs and SCH_SHEET_PATHS.
6 years ago
Jeff Young
1cfcfc3ca7
Fix some formatting issues in syntax help.
Fixes https://gitlab.com/kicad/code/kicad/issues/4233
6 years ago
Jeff Young
cbe4b79107
Add syntax help for bus definitions (and upgrade parser to handle them).
Fixes https://gitlab.com/kicad/code/kicad/issues/4233
6 years ago
Jeff Young
cc1ebca242
Add syntax help to pin dialogs.
6 years ago
Jeff Young
df37887b1f
Factor line width into global label shape.
Fixes https://gitlab.com/kicad/code/kicad/issues/4323
6 years ago