Marvin Schmidt
273437641c
Remove some else-after-return's
2017-11-09 19:52:18 +01:00
Marvin Schmidt
c36d666dde
Remove duplicate #include
2017-11-09 19:52:18 +01:00
Marvin Schmidt
69974b73db
Remove some extra semicolons
2017-11-09 19:52:18 +01:00
Marvin Schmidt
20f3cdaaea
Remove orphaned code files
2017-11-09 19:52:18 +01:00
jean-pierre charras
e985fc18e0
Fix a corner case in richio.cpp that creates a memory allocation overrun (allocate more space).
...
Also allows more space in memory allocation to read strings.
Could fix this bug:
Fixes: lp:1730861
https://bugs.launchpad.net/kicad/+bug/1730861
2017-11-08 13:11:51 +01:00
Maciej Suminski
40129d2244
Fixed cursor freeze after canceling a tool with cursor over a drag point
...
Fixes: lp:1716702
* https://bugs.launchpad.net/kicad/+bug/1716702
2017-11-08 11:41:45 +01:00
jean-pierre charras
7d24a576e4
Avoid drawing into a non valid gl context when closing the DIALOG_PAD_PROPERTIES dialog
...
Fixes: lp:1729843
https://bugs.launchpad.net/kicad/+bug/
2017-11-07 18:33:53 +01:00
jean-pierre charras
81ad3366f5
Avoid division by 0 in GAL::GetGridPoint( const VECTOR2D& aPoint )
2017-11-07 09:45:03 +01:00
Maciej Suminski
f5c561e281
Fix build error due to missing optional::value_or()
2017-11-04 11:29:55 +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
b945d2a708
cleanup: replace CLASS_MIRE with CLASS_PCB_TARGET for naming clarity
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
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
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
Maciej Suminski
5eb56dd8b0
Coverity fixes
...
CIDs:
102571
168696
168701
168704
168706
168708
168710
168713
168716
168717
2017-11-01 10:24:26 +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
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
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
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
Maciej Suminski
944c5481fe
Hash functions for BOARD_ITEMs
2017-10-24 23:10:40 +02:00
jean-pierre charras
788972554b
minor fix
2017-10-23 19:11:32 +02:00
jean-pierre charras
eb2340bc23
Show/Hide icons in menus (according to Icons option) in GAL, like in Legacy mode.
...
Cosmetic enhancement in Gerbview context menu.
2017-10-23 18:48:03 +02:00
jean-pierre charras
3407c6cf27
Gerbview: add icons in a context menu.
...
gal: remove a forgotten debug line.
2017-10-23 16:53:42 +02:00
jean-pierre charras
2d6496c7f6
Replace UNIT by EAGLE_UNIT in Eagle plugin to avoid having a lot of useless hits when grep for "UNIT"
2017-10-23 15:37:24 +02:00
jean-pierre charras
7418deb454
Pcbnew: fix issues with 360 deg angle arcs.
...
Fixes: lp:1725943
https://bugs.launchpad.net/kicad/+bug/1725943
2017-10-23 15:35:03 +02:00
Maciej Suminski
0ed7483868
Eeschema Eagle Import: support UTF-8 for fields
2017-10-20 09:34:33 +02:00
Maciej Suminski
e466bf50ae
Eagle PCB import plugin: fix dimensions import
2017-10-20 09:34:33 +02:00
Maciej Suminski
ee8012a5cc
Eagle import plugin: Code clean-up and formatting
2017-10-20 09:34:33 +02:00
Maciej Suminski
25b8111341
Modified Eagle import plugins to use nanometers as the internal unit
2017-10-20 09:34:33 +02:00
Maciej Suminski
6b44d12bd8
Revert modifications to SCH_EDIT_FRAME::OpenProjectFiles()
2017-10-20 09:34:32 +02:00
Maciej Suminski
ce11e9a264
Eeschema Eagle Import: Changed convertTextSize() to ETEXT::ConvertSize()
2017-10-20 09:34:32 +02:00
Russell Oliver
2a0a999350
Eeschema Eagle Import: Code clean-up and formatting
2017-10-20 09:34:32 +02:00
Maciej Suminski
985aed36c7
Moved FMT_UI & FMT_ANGLE macros to a separate header
2017-10-20 09:34:32 +02:00
Russell Oliver
3b0855d204
Eagle Project Import: Code cleanup and documentation.
...
- Also makes the project and file import functions filetype dependent.
- The change from IO_MGR::KICAD to IO_MGR::KICAD_SEXP removes a conflict from a compile definition for KICAD when compiling kicad/import_project.cpp
2017-10-20 08:58:40 +02:00
Russell Oliver
230e8978f5
Eagle Parser: Fix overwritten changes
2017-10-20 08:58:40 +02:00
Russell Oliver
869743d573
Kicad Eagle Project Import Improvements. -- schematic and board files are both visible in file selection dialog. -- Allows for the selection of either the board or schematic file. -- silently fails on not detecting the corrosponding board or schematic file. -- all new kicad files are generated in new project directory -- Silently read netlist without generating annotation warnings which synchronises timestamps and paths based on given eagle references, otherwise renumbering schematic references will break links accross schematic and pcbnew.
2017-10-20 08:58:40 +02:00
Russell Oliver
3145829b77
Fix compiler redefined warnings for FMT_IU
2017-10-20 08:58:40 +02:00
Russell Oliver
a8fa64f158
Eeschema Eagle Import: Shift convertTextSize to common eagle parser.
2017-10-20 08:38:42 +02:00
Russell Oliver
433aa653fe
Kicad: Add Project import function. -- add menu entry -- add ImportFile kiway function -- expose functions for creating/reading netlist -- add example eagle boad file as well
2017-10-20 08:38:42 +02:00
Maciej Suminski
08907d4fe8
Eeschema Eagle Import: generate unique timestamps for multiunit parts
2017-10-20 08:38:42 +02:00
Maciej Suminski
2adc3d48b4
Eeschema Eagle Import: Assign timestamps for modules
2017-10-20 08:38:39 +02:00
Maciej Suminski
f5e7c2ee48
Eeschema Eagle Import: Check if alignment is defined before parsing
2017-10-20 08:38:39 +02:00
Russell Oliver
bb754b33d0
Eeschema Eagle Import: Parse instance attributes for value and refererence positions and alignment.
2017-10-20 08:38:38 +02:00
Russell Oliver
c274a21548
WIP: Symbols are imported and displayed, and save to cache file on schematic save.
2017-10-20 08:38:38 +02:00
Russell Oliver
b9edfe4fe4
WIP: Refactor symbol importation to account for multiple gates and device connect pin maps.
2017-10-20 08:38:38 +02:00