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
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
2019-12-28 00:55:11 +00:00
Ian McInerney
a860ac5066
Align assignments using clang format
...
See discussion in !27
2019-12-27 16:12:01 +00:00
Wayne Stambaugh
c67a52ffd8
Symbol editor: fix various crash and behavior bugs.
...
Abandon the previous behavior of always creating a new copy of the
buffered symbol which required a re-parenting of every derived symbol
to prevent accidentally orphaning a derived symbol parent symbol
pointers.
This change required something that should have been done a long time
ago by adding an assignment operator to LIB_PART. The assignment
operator makes it possible to create a single copy of the symbol to
buffer which gets updated rather than deleting the last copy and
replacing it with a new copy.
Add a clear method to the MULTIVECTOR class so that existing LIB_PART
object draw items can be removed before assigning the draw items from
the part being assigned.
Fixes #3672
https://gitlab.com/kicad/code/kicad/issues/3672
2019-12-26 10:28:51 -05:00
Mark Roszko
d3edeaec50
Fix "Properties" not appearing in right click menu for graphic line.
2019-12-26 15:15:34 +00:00
Mark Roszko
d4dee3c5a0
Inner loop iterator should be size_t as well
2019-12-26 13:10:18 +00:00
Mark Roszko
5b75c6ea5f
Add unit test though it's not great
2019-12-26 13:10:18 +00:00
Mark Roszko
a418242ca7
Prevent oob on LSET::FmtHex call when BITSET size is not a multiple of 4 (which it isn't usually)
2019-12-26 13:10:18 +00:00
Ian McInerney
25a302758e
Fix macos plist version string generation
...
Generate these resource files similar to how it is done one Linux.
Fixes mac-builder issue https://gitlab.com/kicad/packaging/kicad-mac-builder/issues/275
2019-12-26 12:42:25 +00:00
Jon Evans
80fb3bde56
Don't try to write fp-info-cache to a read-only directory
...
Fixes #1890
2019-12-25 18:38:31 -05:00
Ian McInerney
e6e2cf47fd
eeschema: Fix return ID check in annotate dialog
...
Fixes https://gitlab.com/kicad/code/kicad/issues/3708
2019-12-25 23:17:00 +00:00
Jon Evans
2ea565473f
LSET: Prevent assertion in MSW when size is not a multiple of 4
2019-12-25 11:34:12 -05:00
jean-pierre charras
a12b803af5
Add missing option to show footprint texts in fill or sketch (line) mode.
...
This option is settable in stable version, but not in master.
So, this option set from the stable version could be modified in master version.
2019-12-23 18:11:45 +01:00
jean-pierre charras
951c78c901
demo update
2019-12-23 17:08:37 +01:00
jean-pierre charras
034b87dec0
Eeschema: connection_graph.cpp: clear old pointers to avoid using outdated or deleted data.
...
m_connected_bus_item and m_connected_bus_items pointers were not cleared when
rebuilding connection data.
So in some cases these pointers were not updated, and created a crash
once the old data was no longer available (deleted)
2019-12-23 14:55:47 +01:00
Jon Evans
07d990f4f3
Add VS cache dir to .gitignore
2019-12-23 08:32:48 -05:00
jean-pierre charras
7b80b2dc7b
Eeschema: fix a crash that sometimes happens with bus entries,
...
connected to the same point on a bus.
The pointers used in previous code could be null, but they were not tested.
The pointer validity is now tested.
2019-12-22 16:19:05 +01:00
Wayne Stambaugh
18ff60fbb9
Fix build error on non-macos builds.
2019-12-22 07:38:50 -05:00
Ian McInerney
5ed074b5c5
Add missing override specifier to fix warning
2019-12-22 11:21:54 +00:00
Ian McInerney
bf5dba847c
pcbnew: Fix cmake to work with no wxPython on macOS
2019-12-22 02:04:15 +00:00
Ian McInerney
1d050e9b9d
Update macOS build documentation with moved wxWidgets repo
...
Also remove --enable-utf8 from the configure flags since
the custom build doesn't work with UTF8 enabled.
Add rich text support to wxWidgets for the multi-line editor.
2019-12-22 01:32:42 +00:00
Ian McInerney
57253b7a3c
Update ngspice build script to new version
2019-12-21 23:34:38 +00:00
jean-pierre charras
b53501d8cf
Eeschema: very minor change: make a string shorter to reduce the panel size
...
This is not noticeable in English, but noticeable in translated language.
Frequently, strings are longer once translated.
2019-12-21 11:19:08 +01:00
jean-pierre charras
60dd1cd5c7
Gerber files: update unicode coding to the 2019 06 Gerber specifications.
...
In gbr files, not allowed chars are coded using a 16 bit (4 hexa digits) unicode sequence.
Previously, it was \XXXX and now is \uXXXX escape sequence.
2019-12-21 11:15:57 +01:00
Ian McInerney
2e5b8d0a8f
Update commit message policy
...
Giving both the issue number and URL is redundent in the message.
GitLab can automatically close the issue using the URL, so only
give the URL so it can be viewed in the log.
2019-12-20 15:32:38 +00:00
Ian McInerney
7fb56cf9a3
Fix compile error due to enum changes
...
Merge request !23 changed to strongly typed enums,
so we now need to explicitly cast the output in the
Python getters.
2019-12-20 14:47:41 +00:00
Mark Roszko
11ff16be4e
Switch to scoped enums
2019-12-20 14:11:39 +00:00
Ian McInerney
6b9f2ac91a
Move markdown2html into thirdparty directory
...
Part of https://gitlab.com/kicad/code/kicad/issues/3637
2019-12-19 17:57:15 +00:00
Ian McInerney
116ac9aa75
Move dxflib, tinyspline and nanosvg into a thirdparty library directory
...
Part of fixing https://gitlab.com/kicad/code/kicad/issues/3637
2019-12-19 17:41:02 +00:00
Ian McInerney
b24fc4e2e1
Remove unused variables
2019-12-19 15:38:15 +00:00
Ian McInerney
4f7430f476
Add save item to cvpcb toolbar and make it conditional
...
ADD: Save icon to cvpcb toolbar and make it conditional
2019-12-19 15:35:11 +00:00
Ian McInerney
b9d8849b28
Unify unsaved changes detection logic in all frames
...
Create an IsContentModified() function in each frame
that provides if the content has been modified, and
use that instead of always copying the checks.
2019-12-19 15:34:01 +00:00
Ian McInerney
e7557d3b88
Fix header guard in EDA_BASE_FRAME
2019-12-19 14:22:42 +00:00