Michael Kavanagh
7db355e34a
ADDED: TOOL_ACTION for switching PNS router mode.
Fixes https://gitlab.com/kicad/code/kicad/issues/2249
6 years ago
Jeff Young
b2cd66f0a3
Add specific selection updating when adding 3D models.
This keeps us from being at the receiving end of wxWidgets' vagaries.
Fixes https://gitlab.com/kicad/code/kicad/issues/3760
6 years ago
Jeff Young
c977addfa2
Fix conflict between special char escaper and super/subscript.
Fixes https://gitlab.com/kicad/code/kicad/issues/4227
6 years ago
Jeff Young
7e4d255cdd
Apply Scintilla hack to get auto-sizing canvas.
Fixes https://gitlab.com/kicad/code/kicad/issues/4207
6 years ago
Jeff Young
c08a6adb2a
Implement GUI and file R/W for 3D model opacity.
Fixes https://gitlab.com/kicad/code/kicad/issues/2087
6 years ago
Jeff Young
a286cb5a8f
Keep labels on dragged wires.
Fixes https://gitlab.com/kicad/code/kicad/issues/2107
6 years ago
Jeff Young
71fd560735
Add "Export to other sheets" to paper settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/2177
6 years ago
Simon Richter
f663f199b4
Tighten version requirements: GLM >= 0.9.8
Commit ae6fbc9c6 builds a glm::vec4 from a vec3 and one float, which
requires 0.9.8 at least.
6 years ago
jean-pierre charras
d28fea5502
Dxf import: fix a bug that disable import of data inside blocks
Provide also a minimal debug info when enabled in code (and only in debug version)
6 years ago
Ian McInerney
e528769637
Move TOOLS_HOLDER into tools/ folder
Also clean up some compiler warnings
6 years ago
Ian McInerney
7bda8178d1
Move library includes to main CMake file
Placing them behind the SYSTEM directive tells CMake to tell
the compiler they are system libraries, so it shouldn't show
warnings created from them.
6 years ago
Jeff Young
895f46da8f
Another attempt to fix the textbox scrollbars on GTK.
Fixes https://gitlab.com/kicad/code/kicad/issues/4207
6 years ago
Jeff Young
2b6089240a
Change super/subscript syntax to ^{foo} and _{foo}.
6 years ago
Jeff Young
42cd604c3c
Expose Show Hidden Fields to GUI.
Fixes https://gitlab.com/kicad/code/kicad/issues/2010
6 years ago
Jeff Young
d7d1cb6f78
A bunch of fixes to Eeschema Find/Replace.
6 years ago
jean-pierre charras
56c31e65f6
Fix a compil issue: Try a better fix than commit 8f0449c.
6 years ago
jean-pierre charras
98b9c80eb4
Schematic editor: fix not working tool to show/hide invisible pins.
Fixes #4222
https://gitlab.com/kicad/code/kicad/issues/4222
6 years ago
jean-pierre charras
8f0449cbab
Fix a compil issue.
6 years ago
Stefan
8abe07f6e7
altium importer: Fix size of record
Previous size led to incorrect import of some boards.
From https://gitlab.com/kicad/code/kicad/-/merge_requests/172
6 years ago
Ian McInerney
1ba4710ab0
Shorten build artifact lifetime
These are large artifacts, so we shouldn't keep them around
for too long (they are only needed for the tests that run
immediately after build).
6 years ago
Ian McInerney
d44a252182
Clean up spice tests in qa_eeschema
* Guard their inclusion with the KICAD_SPICE flag
* Code cleanup inside actual testing function
Fixes https://gitlab.com/kicad/code/kicad/issues/4220
6 years ago
Ian McInerney
3b67e3d0a4
Rewrite window positioning logic
Now only reposition a window if it is completely on a
disconnected display or if only one corner is on screen
and it is within a region close to the screen border.
CHANGED: Window position on startup should be preserved more
6 years ago
Ian McInerney
b8d2802cfe
Add missing cases to silence compiler warnings
6 years ago
Jeff Young
7526d2affb
Fix possible null-dereference.
6 years ago
Seth Hillbrand
6af21703fe
P-CAD: Support Rounded Rect import
The P-CAD import supports rounded rectangles but doesn't allow
modification of the radius.
6 years ago
Oleg Endo
ae6fbc9c60
Improve 3D viewer rendering performance
* Use GL vertex buffers and index buffers for 3D model rendering
* Use material or average vertex color for bounding boxes instead of red
* Reinstate bounding box rendering with GL vertex/index buffers
* Use compact vertex/index data representation
- 8-bit normals
- 8-bit colors
- 16-bit or 32-bit indices, depending on model size
This should improve performance a bit on lower end GPUs with less memory
and bandwidth.
Fixes #4112
6 years ago
Jeff Young
0dfdc37ae7
Clean up label spacing to be more predictable.
Don't try to use complex algorithms taking into account default
margins, line-widths and pen-widths (especially when they differed
between label types). We now use the (user-controlled) text
offset ratio to determine the margins (from the center-point of
the attached line).
6 years ago
Thomas Pointhuber
2703bd6b81
alitum: set layer name, fix handling of odd layercount
6 years ago
Thomas Pointhuber
ff5a0f61b2
altium: trim property string to avoid things like spurious newline characters
6 years ago
Thomas Pointhuber
a29e55fe7e
altium: Fix handling of odd layercount (otherwise, saved *.kicad_pcb file would no longer load)
6 years ago
Jeff Young
919a66a703
Remove side-effect from finishTool().
It belongs out in the calling loop so that if someone else uses
finishTool() later they won't get bit by it.
This also fixes a crash bug where we weren't deactivating all tools
because we couldn't back up at the beginning of the stack (and the
loop increment therefore went past the first element).
Fixes https://gitlab.com/kicad/code/kicad/issues/4206
6 years ago
Jeff Young
cb708aaadb
Fix some memory leaks.
6 years ago
Jeff Young
66059d6d55
Remove scrollbars from multi-line text ctrl.
Fixes https://gitlab.com/kicad/code/kicad/issues/4207
6 years ago
Jeff Young
96db1c7b1e
Add pin reference to PINLABEL for use when generating ERC marker.
Fixes https://gitlab.com/kicad/code/kicad/issues/4208
6 years ago
Jeff Young
37023da56f
Tidy some compiler warnings.
6 years ago
Jeff Young
9c8941e040
Remove a bunch of globals.
6 years ago
Simon Richter
99c1d7cf96
Add noexcept to some functions in the 3d viewer.
6 years ago
Michael Kavanagh
7513303cf4
Remove pad properties wxNotebook background
Fixes https://gitlab.com/kicad/code/kicad/issues/3920
6 years ago
Mikołaj Wielgus
5049214f33
Pcbnew statistics: remove horizontal margin in drill table
This margin caused a horizontal scrollbar to appear on Debian Buster
Xfce.
6 years ago
jean-pierre charras
e1af9df83e
Pcbnew, legacy_plugin.cpp: fix broken conversion of pad layers.
Fix also incorrect copper layer count setting
6 years ago
Simon Richter
6250476ab8
Document that OCE 0.18 or OCC 6.9.0 are required now
This updates the documentation after commit 25d7c0cae
6 years ago
jean-pierre charras
25d7c0cae2
Opencascade: fix min version: OCE=0.18, OCC=6.9.0
Fix also a few minor Coverity warnings.
6 years ago
Simon Richter
8dcbd1e6d2
Tag kicad2step as using WIN32 API
wxWidgets for Windows uses the WIN32 subsystem, not CONSOLE.
6 years ago
jean-pierre charras
8e27cf3a04
Demo update
6 years ago
jean-pierre charras
515e57c02f
demo update.
6 years ago
Simon Richter
5aac36dba9
New enum for trace selection mode
This avoids giving KICAD_T another meaning, which is especially messy here
as "select up to the next via" is encoded as SCH_JUNCTION_T, which belongs
to eeschema.
Also, document what is happening.
6 years ago
Tomasz Wlostowski
4a3cd77416
router: smarter way to check the shove direction without using silly heuristics
6 years ago
Tomasz Wlostowski
88d0092e43
libs: added POINT_INSIDE_TRACKER, a state-based class to track if a point is inside/outisde a dynamically built closed polyline
6 years ago
Tomasz Wlostowski
c121f8f52c
pcbnew: speed up ZONE_CONTAINER bounding box calculation
6 years ago
Tomasz Wlostowski
9b2fbae706
geometry: don't copy stuff in SHAPE_POLY_SET::GetRelativeIndices. Huge performance improvement for large polygons
6 years ago