Wayne Stambaugh
aeb3281e27
Convert Schematic Internal Units to 100nm
6 years ago
Mark Roszko
b11d52eda1
Scope 3d viewer enums
Also fix one rogue character in a gerbview file that wasn't proper UTF8.
6 years ago
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
6 years ago
Ian McInerney
07db846ed4
Deprecate the DLIST class
6 years ago
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
6 years ago
jean-pierre charras
04aa45c25c
qa_eeschema build: fix missing library in library link list.
The issue was created by my commit 19e92c9 .
6 years ago
jean-pierre charras
19e92c9d11
Eeschema: replace dialog_bom_help.html by dialog_bom_help.md The .md files are smaller and translatable.
6 years ago
Ian McInerney
5c0656d97f
Move potrace and libcontext into thirdparty directory
Part of the cleanup in #3637
6 years ago
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).
6 years ago
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.
6 years ago
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.
6 years ago
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
6 years ago
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
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
jean-pierre charras
cd1f3acf49
Fix compil warnings
6 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
Ian McInerney
a860ac5066
Align assignments using clang format
See discussion in !27
6 years ago
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
6 years ago
Mark Roszko
d3edeaec50
Fix "Properties" not appearing in right click menu for graphic line.
6 years ago
Mark Roszko
d4dee3c5a0
Inner loop iterator should be size_t as well
6 years ago
Mark Roszko
5b75c6ea5f
Add unit test though it's not great
6 years ago
Mark Roszko
a418242ca7
Prevent oob on LSET::FmtHex call when BITSET size is not a multiple of 4 (which it isn't usually)
6 years ago
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
6 years ago
Jon Evans
80fb3bde56
Don't try to write fp-info-cache to a read-only directory
Fixes #1890
6 years ago
Ian McInerney
e6e2cf47fd
eeschema: Fix return ID check in annotate dialog
Fixes https://gitlab.com/kicad/code/kicad/issues/3708
6 years ago
Jon Evans
2ea565473f
LSET: Prevent assertion in MSW when size is not a multiple of 4
6 years ago
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.
6 years ago
jean-pierre charras
951c78c901
demo update
6 years ago
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)
6 years ago
Jon Evans
07d990f4f3
Add VS cache dir to .gitignore
6 years ago
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.
6 years ago
Wayne Stambaugh
18ff60fbb9
Fix build error on non-macos builds.
6 years ago
Ian McInerney
5ed074b5c5
Add missing override specifier to fix warning
6 years ago
Ian McInerney
bf5dba847c
pcbnew: Fix cmake to work with no wxPython on macOS
6 years ago
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.
6 years ago
Ian McInerney
57253b7a3c
Update ngspice build script to new version
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Ian McInerney
6b9f2ac91a
Move markdown2html into thirdparty directory
Part of https://gitlab.com/kicad/code/kicad/issues/3637
6 years ago
Ian McInerney
116ac9aa75
Move dxflib, tinyspline and nanosvg into a thirdparty library directory
Part of fixing https://gitlab.com/kicad/code/kicad/issues/3637
6 years ago
Ian McInerney
b24fc4e2e1
Remove unused variables
6 years ago
Ian McInerney
4f7430f476
Add save item to cvpcb toolbar and make it conditional
ADD: Save icon to cvpcb toolbar and make it conditional
6 years ago
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.
6 years ago
Ian McInerney
e7557d3b88
Fix header guard in EDA_BASE_FRAME
6 years ago