Jon Evans
856decc29b
Fix a few issues with bus member propagation to subsheets
...
Fixes #3728
2020-01-04 10:38:50 -05:00
jean-pierre charras
5707e6eac8
Fix QA arc test according to the new arc bounding box calculation.
...
Previously, the arc center was included in the bounding box,
but this is incorrect.
In many cases it is not in the bbox, and can be very far away.
2020-01-04 10:16:30 +01:00
Jon Evans
5255a29bc0
Always use local bus member names for unfolding menu
2020-01-03 22:11:00 -05:00
Jon Evans
112be3bfd1
Allow unannotated power connections to drive nets
2020-01-03 22:09:56 -05:00
Jon Evans
d5a80e9cfd
Fix shadowing warning
2020-01-03 18:52:46 -05:00
Franck Jullien
ea218bc722
eeschema: Allow hierarchy navigator to stay open
...
ADD: User can now decide to keep the hierarchy navigator open while working
on a schematic.
This behavior can be configured in eeschema->preferences->eeschema->Editing options.
2020-01-03 21:08:40 +01:00
Seth Hillbrand
d1a05e27a5
eeschema: Correct junction test routine
...
New v6 can test multiple points not previously considered. This
corrects the test to ensure that junctions are correctly added when
lines are present.
Fixes #3729 | https://gitlab.com/kicad/code/kicad/issues/3729
2020-01-03 11:46:05 -08:00
Seth Hillbrand
3fb085a0b4
eeschema: Move comparison for DANGLING_ENDS
...
The comparison functions belong inside the class if we are using them to
test the validity of the class.
2020-01-03 11:46:05 -08:00
Ian McInerney
b18b08e944
Deprecate DLIST in GerbView
2020-01-03 19:40:11 +00:00
Ian McInerney
81292d2bf1
eeschema: Cleanup processing for multiple line editing
2020-01-03 19:30:29 +00:00
Ian McInerney
20e7fc8a0e
Properly escape spaces when opening PDFs on windows
...
Fixes https://gitlab.com/kicad/code/kicad/issues/2625
2020-01-03 19:06:49 +00:00
Ian McInerney
e54c954aed
cmake: Don't install the *.in files during an in-tree build
...
If an in-tree build was done on Linux, it would install
both the configured kicad.appdata.xml file and the template
kicad.appdata.xml.in file. This breaks packaging, and is not
needed.
2020-01-03 17:49:27 +00:00
Ian McInerney
2f75dfb09c
Fix symbol editor column widths
...
102b5301
introduced an issue on GTK where the column width was
incorrect when read, then was set incorrectly (a known problem
on GTK tree views). We should only apply that fix on OSX.
Fixes https://gitlab.com/kicad/code/kicad/issues/3720
2020-01-03 17:04:18 +00:00
Jon Evans
be788c6aff
Fix default junction size
...
Fixes #3732
2020-01-03 11:17:33 -05:00
Ian McInerney
4c1e64628e
pcbnew: Modify IDs in panel_fp_lib_table
...
Move the IDs from the main enum to be local and use
the end of the main enum as the starting point.
2020-01-03 16:10:53 +00:00
Ian McInerney
079423c3cc
eeschema: Remove unused include of eeschema_id.h
2020-01-03 16:04:54 +00:00
Ian McInerney
c1839b4cc4
Remove unused IDs from main id.h
2020-01-03 15:52:53 +00:00
Ian McInerney
5d46e721e5
pcbnew: Cleanup includes of pcbnew_id.h
...
* Remove unused IDs from the enum
* Remove the include statements from files that no longer need it
2020-01-03 15:39:05 +00:00
Mark Roszko
49db816c82
Pcbnew: improve add existing footprint library browser and button
...
CHANGED: Modify Add Existing Footprint Library button to us OS file/directory browsers
2020-01-03 15:09:26 +00:00
Wayne Stambaugh
4bab82e149
Eeschema: fix text limit bug due to internal units scaling.
...
Change default text size and anchor positions back to mils. Internal
units need to be converted at the source, otherwise the size will get
converted twice in the schematic editor configuration code which will
result in the default text size being off by the conversion factor.
Fixes #3730
https://gitlab.com/kicad/code/kicad/issues/3730#
2020-01-03 09:29:38 -05:00
jean-pierre charras
baa1db031e
Fix incorrect arc bounding box calculation.
...
add comments to SHAPE_ARC ctor.
2020-01-03 14:27:00 +01:00
Jon Evans
1bffe7f48b
Ensure power pins win over bus member renaming
...
Also switch to a scoped enum for PRIORITY
Fixes https://gitlab.com/kicad/code/kicad/issues/3728
2020-01-02 22:09:15 -05:00
Jon Evans
4a65e9e515
Fix a few size issues after the internal units change
2020-01-02 20:39:31 -05:00
jean-pierre charras
ce77106994
Remove code only used during a test.
2020-01-02 20:44:43 +01:00
jean-pierre charras
18d4112fce
Demos update
2020-01-02 08:49:19 +01:00
jean-pierre charras
eaaa4eb63a
fix minor compil warnings
2019-12-31 15:03:27 +01:00
jean-pierre charras
ed0a28769a
code cleaning: remove useless includes.
2019-12-31 14:58:39 +01:00
Wayne Stambaugh
371c5a9259
Eeschema: fix symbol properties dialog bug.
...
Derived symbols were causing the symbol properties grid to assume that
the reference could not be edited because derived symbols inherit the
reference from the parent symbol. The flattened symbols in the schematic
still have the parent set which cause the issue. Clearing the parent of
the flattened symbol resolves the issue.
Fix a minor bug in the symbol information of derived symbols show in the
symbol chooser dialog.
Fixes #3723
https://gitlab.com/kicad/code/kicad/issues/3723
2019-12-31 08:05:52 -05:00
jean-pierre charras
3543de039b
More about code cleaning.
...
Remove useless includes and dead code
2019-12-31 13:08:50 +01:00
jean-pierre charras
8d649b5351
Gerbview: cleanup code.
...
Remove GERBER_FILE_IMAGE_LIST dependency to EDA_ITEM, useless.
GERBER_FILE_IMAGE: replace DLIST by std::deque to store gerber draw items.
Remove dead code
2019-12-31 11:58:43 +01:00
Mark Roszko
b84fe2b703
ADDED: Editing style of multiple graphical lines at the same time.
...
Provides the ability to quickly set the style of multiple lines. This is only allowed if the selection includes _only_ graphical lines.
2019-12-31 04:05:51 +00:00
Wayne Stambaugh
8bf9a4c811
Symbol editor: fix pin increment setting for 100nm units.
2019-12-30 15:43:10 -05:00
Wayne Stambaugh
aeb3281e27
Convert Schematic Internal Units to 100nm
2019-12-30 18:28:00 +00:00
Mark Roszko
b11d52eda1
Scope 3d viewer enums
...
Also fix one rogue character in a gerbview file that wasn't proper UTF8.
2019-12-30 13:01:06 +00:00
Fabien Corona
496f3d49e4
pcbnew: When using '+' and '-' hotkeys, skip non-visible layers
...
CHANGED: pcbnew: When using '+' and '-' hotkeys, skip non-visible layers
Fixes https://gitlab.com/kicad/code/kicad/issues/3443
2019-12-29 23:37:25 +00:00
Ian McInerney
07db846ed4
Deprecate the DLIST class
2019-12-29 18:56:56 +00:00
jean-pierre charras
2999bcb721
Try to fix SEG::PointCloserThan(), not working for quasi H or V segments.
...
Quasi H or V segments are segments having the same x value or y value
(with a + or -1 max diff) for end points coordinates.
The change is a workaround, not really a fix.
Fixes #3711
https://gitlab.com/kicad/code/kicad/issues/3711
2019-12-29 18:24:17 +01:00
jean-pierre charras
04aa45c25c
qa_eeschema build: fix missing library in library link list.
...
The issue was created by my commit 19e92c9
.
2019-12-29 14:07:17 +01:00
jean-pierre charras
19e92c9d11
Eeschema: replace dialog_bom_help.html by dialog_bom_help.md The .md files are smaller and translatable.
2019-12-29 11:16:18 +01:00
Ian McInerney
5c0656d97f
Move potrace and libcontext into thirdparty directory
...
Part of the cleanup in #3637
2019-12-28 18:17:55 +00:00
Ian McInerney
c21e96bcf9
Add virtual destructor to CMATERIAL
...
CMATERIAL is a base class, so it should have a virtual constructor
to prevent undefined behavior (and silence warnings).
2019-12-28 16:44:28 +00:00
Ian McInerney
6ba8dcc121
Re-enable deprecation warnings
...
These were disabled by a3211b2b9e
for some reason. We should not globally disable these warnings,
and instead do so on a case-by-case basis.
2019-12-28 16:11:31 +00:00
Ian McInerney
6faa2188ed
Silence warnings on MacOS about OpenGL deprecation
...
Apple has apparently deprecated OpenGL and replaced it with
their Metal API. It still works for now though.
2019-12-28 16:05:03 +00:00
jean-pierre charras
d5b8e4928c
Gerber P&P files: escape the double quote char inside user strings.
...
This is a reserved char, used to quote user strings
2019-12-28 13:27:31 +01:00
jean-pierre charras
7241247fbc
Pcbnew: add missing storage of dimension units and dimension precision in pcb files.
...
https://gitlab.com/kicad/code/kicad/issues/3712
2019-12-28 13:27:31 +01:00
Jeff Young
e85701f405
Don't allow IS_NEW flag on created-line-segments to fool us.
...
When dragging we'll create new line segments between selection-edge
objects and things outside the selection that they're attached to.
These new lines have their IS_NEW flags set, but shouldn't fool us
into thinking that the selection contains pasted (or placed) items.
2019-12-28 11:58:33 +00:00
Jeff Young
9d0198bade
Easier control of zoom in 3D viewer.
...
Go to 3 steps per doubling (instead of 2), and start at 2/3 instead
of 1/2.
2019-12-28 11:58:33 +00:00
Jeff Young
ffe3fdf832
Set m_netNamesOnVias. We currently follow m_netNamesOnPads.
...
We could also follow m_netNamesOnTracks, or add another set of
options in the GUI. But for now I suspect this is sufficient.
2019-12-28 11:58:33 +00:00
Jeff Young
87e163945e
Items added to a selection for a drag should only be temporary.
...
After the drag, cancel, or undo, only the originally-selected items
should remain selected.
2019-12-28 11:58:33 +00:00
jean-pierre charras
cd1f3acf49
Fix compil warnings
2019-12-28 08:43:29 +01:00