Maciej Suminski
f5c561e281
Fix build error due to missing optional::value_or()
2017-11-04 11:29:55 +01:00
Maciej Suminski
6cc1f66dfd
Added missing include directories to qa
2017-11-04 11:11:04 +01:00
Tomasz Włostowski
9932ff32ae
refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future
2017-11-03 23:59:02 +01:00
Tomasz Włostowski
3292d622c1
qa: added simple GAL+Tool Framework test program
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
b945d2a708
cleanup: replace CLASS_MIRE with CLASS_PCB_TARGET for naming clarity
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
3170eba801
refactoring: implemented SELECTION_TOOL's own GetCollectorsGuide() to avoid dependency on PCB_BASE_FRAME
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
c9817df9db
refactoring: implemented BOARD-specific view Add()/Remove()/Update() methods in PCB_VIEW, moved to libpcbcommon
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
0245912c34
refactoring: split BOARD_ITEM::SwapData to use polymorphic per-item methods
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
26f862a9d0
refactoring: remove PNS router dependency on PCB_EDIT_FRAME
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
d0ef881a53
refactoring: make BOARD_COMMIT independent from pcbnew
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
ec61a00371
refactoring: remove link-time dependency between PCB_BASE_FRAME and EDA_3D_VIEWER
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
781008bfa5
refactoring: allow to run TOOL_MANAGER and SELECTION_TOOL without a host wxFrame
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
06f3b35255
refactoring: moved BOARD_COMMIT, PCB_GENERAL_SETTINGS and TransformShapeWithClearanceToPolygon() to libpcbcommon
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
7a44ab914d
refactoring: replaced manual plugin registration with link-time plugin binding
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
8a09a1d329
refactoring: derive PCB-specific PCB_VIEW from VIEW with the intention of moving PCB_EDIT_FRAME entries used by the tools (e.g. GetActiveLayer) there
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
81d1e17f02
refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS
2017-11-03 20:02:06 +01:00
Tomasz Włostowski
90ab5860dc
refactoring: removed dependency of libpcbcommon on 3d-viewer.
2017-11-03 20:01:42 +01:00
jean-pierre charras
08a9dc01c5
Fix minor coding style issues
2017-11-03 10:22:34 +01:00
jean-pierre charras
4e391ef21c
Housekeeping: remove no more in use options.
2017-11-02 21:01:32 +01:00
jean-pierre charras
c536364f05
Fix a few coverity warnings. very minor other changes.
2017-11-02 18:18:57 +01:00
Maciej Suminski
e5c4cfc3b0
Eagle board importer: enable rectangle on drawing layers
...
Now the graphical polygons in footprints are properly handled by the
footprint editor, so there is no reason not to import them.
Coverity CID: 168709
2017-11-01 10:41:57 +01:00
Maciej Suminski
5eb56dd8b0
Coverity fixes
...
CIDs:
102571
168696
168701
168704
168706
168708
168710
168713
168716
168717
2017-11-01 10:24:26 +01:00
Wayne Stambaugh
83cf726cd6
Fix crash when no symbol libraries are found.
...
Remove adding the power symbol library when no libraries are specified
in the project file to prevent unexpected missing library dialog.
Only show progress dialog if there are actually libraries to load.
Do not call wxWindow::Destroy(). The dialog is created on the stack and
will be destroyed properly in the wxWindow dtor.
Fixes lp:1728648
https://bugs.launchpad.net/kicad/+bug/1728648
2017-10-31 18:37:44 -04:00
jean-pierre charras
bd73a39a4b
DSN export: export keepout zone polygons on each layer they are living
2017-10-31 19:53:52 +01:00
Maciej Suminski
05ab44f463
Fixed a memleak when no undo entry is requested in BOARD_COMMIT
2017-10-31 09:14:03 +01:00
Maciej Suminski
93e7d52633
Restore ecc83 demo
2017-10-31 09:01:19 +01:00
jean-pierre charras
6300041ce4
Fix a focus issue in GAL canvas:
...
Sometimes there is no window that has the focus (it happens when an other PCB_BASE_FRAME is opened and is iconized on Windows).
2017-10-30 15:12:41 +01:00
Maciej Suminski
e8e10c9245
Fixed a memleak in PCB_EDIT_FRAME::LoadFootprints()
2017-10-30 14:19:42 +01:00
Maciej Suminski
3a8b4a2fb7
Fixed a memleak in GerbView
...
Changed m_painter PAINTER* to unique_ptr<PAINTER> to avoid confusion
regarding the objection destruction.
2017-10-30 09:36:34 +01:00
Baranovskiy Konstantin
a4440395be
Gerbview: fix zoom to selection tool duplication.
2017-10-30 09:05:35 +01:00
Maciej Suminski
a6f84051e9
Fixed a memory leak in Spice probe
2017-10-29 00:54:22 +02:00
Maciej Suminski
4bf8bb79ce
Removed a redundant comparison
2017-10-29 00:54:08 +02:00
jean-pierre charras
3ed106fb70
Make a translation more easy
...
Better title in dialog netlist option (Unconnected Tracks ->Tracks Connecting 2 Nets)
The previous title (Unconnected Tracks) is incorrect.
2017-10-28 15:27:45 +02:00
Maciej Suminski
2b052265b2
Added library contents preview to Spice model editor dialog
2017-10-27 17:10:37 +02:00
Maciej Suminski
162d445ce4
Spice Model Editor upgrades
...
- set a proper title for the dialog
- changed the library parser delimiters to all whitespaces
- sorts the model list in the alphabetical order
- one tab to select subcircuit and semiconductor models
- model type is automatically selected
2017-10-27 16:53:04 +02:00
Maciej Suminski
acbe30af51
Improved Spice library parser
...
Now the parser filters out models placed inside .subckt sections.
2017-10-27 16:53:04 +02:00
Kristoffer Ödmark
65b615bc4b
Removed extra space in header part, fixed coding style
2017-10-27 12:13:23 +02:00
Kristoffer Ödmark
2e4dbdaf4b
Fixed nest level when saving to not get giant diffs with version control software such as git
2017-10-27 11:30:11 +02:00
jean-pierre charras
fc5e8e5f52
ENV_VAR config dialog enhancements.
...
From an initial work of Oliver <oliver.henry.walters@gmail.com>
2017-10-26 11:47:57 +02:00
jean-pierre charras
d2d1237506
minor enhancement in code
2017-10-26 10:55:01 +02:00
Simon Richter
48ed0dcda2
code enhancement (remove duplicate)
2017-10-26 10:19:15 +02:00
Jon Evans
b18cd4cb19
Fix arc drawing algorithm in GerbView GAL (Fixes lp:1720384)
2017-10-26 08:18:09 +02:00
jean-pierre charras
1929727966
rename dialog_dxf_import.fbp to dialog_dxf_import_base.fbp, like other .fpb files
2017-10-25 10:10:03 +02:00
jean-pierre charras
78ec983632
DRAWSEGMENT fix crash when trying to copy a empty polygon.
...
SHAPE_POLY_SET: fix crash in VertexCount when it is a empty poly set, or when params are incorrect.
minor other fixes:
warning in degug mode in dialog_dxf_import_base.cpp
pcb_painter.cpp: remove a useless debug line.
2017-10-25 09:39:26 +02:00
José Ignacio Romero
73c88bd0fe
Add more layers in default layers selection plot parameter.
2017-10-25 08:07:42 +02:00
jean-pierre charras
aa5faa9520
Update logo to a recent Inkscape version. No actual change.
2017-10-25 08:07:39 +02:00
Maciej Suminski
43c00ead16
GenCAD exporter fixes
...
Fixes: lp:1461147
* https://bugs.launchpad.net/kicad/+bug/1461147
2017-10-24 23:13:02 +02:00
Maciej Suminski
bbe947e0f8
GenCAD exporter: quote and escape strings
2017-10-24 23:10:40 +02:00
Maciej Suminski
bb68dad77c
GenCAD exporter: clear shape name maps when export is finished
...
Otherwise the maps could contain stale data leading to a crash
2017-10-24 23:10:40 +02:00
Maciej Suminski
125781c7e1
GenCAD exporter: two level map for shape names
...
Previously the component to shape map contained
a lot of duplicated strings. Now the map stores
the component shape hash used for getting the
name from another map.
2017-10-24 23:10:40 +02:00