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
Tomasz Wlostowski
ee70c6dd5b
NESTED_SETTINGS: allow to create/load without a parent settings object. Used for test/mocking
6 years ago
jean-pierre charras
5143f87678
Kicad2step: Many fixes in oce_utils.
- Better code and messages.
- Speedup calculations when removing cutouts and holes from main board.
- Do not stop step generation when trying to load a 3D modele having issues.
6 years ago
jean-pierre charras
b68bdc22d7
Fix in kicadpcb reader. Update dialog export step
kicad2step: code cleanup, and more activity messages displayed
7 years ago
jean-pierre charras
110b05fe78
kicad2step: convert it from a wxAppConsole to a wxApp, using a wxFrame/wxPanel
7 years ago
Sylwester Kocjan
fdccdd5cb9
Eeschema: adding .op SPICE simulation support
ADDED new tab on simulation settings dialog, which allows to run .op analysis.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2368
6 years ago
Mikołaj Wielgus
6a8ace55c4
Re-add mistakenly removed empty line in 'kicad.cpp'
6 years ago
Mikołaj Wielgus
59c971e1e1
Confirm only once when multi-deleting files
Also do not open empty popup window.
6 years ago
jean-pierre charras
952e7a5fb4
Eeschema: move some default values to default_values.h.
These default values are used in many files, and some files were using
magic numbers.
6 years ago
Ian McInerney
45dabde68e
Small cleanup in zone class
6 years ago
Ian McInerney
37a4dd927b
Allow deletion of zone cutout areas
ADDED: Ability to delete zone cutout areas
Fixes https://gitlab.com/kicad/code/kicad/issues/4188
6 years ago
Ian McInerney
7068b6453e
Fix latent bug in zone area calculation
The filled polygons don't have holes, so this was never hit,
but it still needs to be fixed.
6 years ago
jean-pierre charras
4a2a5a9403
qa_eeschema: fix a crash due to LIB_PIN ctor that was using default config values,
but in QA tests, we do not have config values available.
6 years ago
jean-pierre charras
a49deec278
Eeschema: fix crash when plotting in HPGL format.
6 years ago
jean-pierre charras
6148461484
Eeschema plot: fix (temporary) line 0 thickness.
Plotting lines having 0 thickness is not acceptable and create issues.
6 years ago
jean-pierre charras
04ea20dd44
Eeschema, SCH_PAINTER: fix max text thickness issue, to have small texts readable.
6 years ago
Jeff Young
e93684015c
Add a "when in Rome..." clause to the formatting doc.
6 years ago
Jeff Young
6e800bddae
Rationalize penWidth processing as first step in removing some globals.
6 years ago
Jeff Young
d014dc47ab
Finish moving text markup flags to project-level settings.
6 years ago
Jeff Young
122b1ddaae
Unwrap an unnecessary layer now that we have new config stuff.
6 years ago
Jeff Young
35b647d134
Document coding standard changes agreed on Zulip.
6 years ago
jean-pierre charras
5405c09b81
Eeschema: avoid initializing default line thickness to 0: it can create issues.
Some graphic line thickness were initialized to 0.
The actual line thickness is set after reading config.
But in some cases the config does not exist, and 0 line thickness creates draw issues.
6 years ago
jean-pierre charras
bcf31ef3d1
DIALOG_SCHEMATIC_SETUP: fix incorrect parent of some sub-page panels.
These panels must have the wxTreeBook as parent to receive mouse and key events.
They previously have the dialog itself, but it does not work on any OS.
6 years ago
Jeff Young
c82679a6f2
Fix crash bug when highlighting no net (found by Coverity).
6 years ago
jean-pierre charras
bdada70ee7
Cosmetic enhancements: add bitmaps to a few context menus.
Fix also a minor compil warning.
6 years ago
Jeff Young
292a9fadd9
Allow a click in the value field when searching for power nodes.
Fixes https://gitlab.com/kicad/code/kicad/issues/4180
6 years ago
Jeff Young
350696ecdd
Only convert references to KIIDs if the variable resolves.
Fixes https://gitlab.com/kicad/code/kicad/issues/2458
6 years ago
Jeff Young
dbded3e5dc
Make sure to check for unit designator when converting to KIIDs.
Fixes https://gitlab.com/kicad/code/kicad/issues/2458
6 years ago
Jeff Young
505d8bf56e
Allow ':'s in field name references in text variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/2458
6 years ago
Jeff Young
c66fe5e91e
Don't try to add unit designator for a component without multiple units.
Fixes https://gitlab.com/kicad/code/kicad/issues/2458
6 years ago
jean-pierre charras
48a0f25ce6
EE_COLLECTOR::Collect(): fix an issue when called with filter = SCH_LOCATE_ANY_T.
When the filter = SCH_LOCATE_ANY_T, components and sheets were selected twice, one
from the main loop, and one from specialized loops for SCH_COMPONENT_T and SCH_SHEET_T.
6 years ago
Jeff Young
8854b799e8
Fix a minor spelling error.
Also changes the capitalisation of a string which isn't used, but looks
so wrong in FormBuilder that I couldn't help fixing it.
6 years ago
Jeff Young
c4994eee7b
Fix a pair of bugs in the new highlight net logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/4180
6 years ago
Jeff Young
a8b025ab06
Fix "show" column label.
6 years ago
jean-pierre charras
096564ec0c
Fix some typos and I18n issues
6 years ago
Jeff Young
174856bac5
Promote 3D model "preview" flag to a persisted "show" flag.
Fixes https://gitlab.com/kicad/code/kicad/issues/2061
6 years ago