jean-pierre charras
87d06e5269
Very minor fixes in some sentences (remove trailing space and add missing period).
2017-11-09 14:34:16 +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
aefa0bf3b4
Avoid 0 sized grid in dialog_pad_properties.cpp
2017-11-07 10:18:13 +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
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
c536364f05
Fix a few coverity warnings. very minor other changes.
2017-11-02 18:18:57 +01: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
019dca38c4
GenCAD exporter: generate shapes per footprint and reuse them
2017-10-24 23:10:40 +02:00
Maciej Suminski
847bede635
GenCAD exporter: changed 'flip components' to 'flip pads'
...
Such option might be useful for older CAM350 versions, but it should be verified.
2017-10-24 23:10:40 +02:00
Maciej Suminski
d5fa28efe4
GenCAD exporter: option to export bottom components using MIRRORX
2017-10-24 23:10:40 +02:00
Maciej Suminski
6ba33c8489
GenCAD export: added a switch to generate unique pin names
2017-10-24 23:10:40 +02:00
Maciej Suminski
c3c5205393
GenCAD exporter: settings dialog
2017-10-24 23:10:40 +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
jean-pierre charras
107c895cfd
Pad editor: add tests to avoid incorrect values:
...
clearance must be >= 0
solder mask clearance must be >= 0
solder paste clearance must be <= 0
2017-10-20 10:25:17 +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
Tomasz Włostowski
ac095b6724
pcbnew: tools for converting between custom-shaped pads and graphical shapes
2017-10-19 23:35:18 +02:00
jean-pierre charras
1ec7fef4a2
fix a wxASSERT in dialog_keepout_area_properties.cpp
2017-10-16 13:58:36 +02:00
jean-pierre charras
3d15690817
remove a printf certainly used in debug tests during development.
2017-10-03 13:10:25 +02:00
jean-pierre charras
4a2647b771
very minor fixes in strings in dialog.
2017-10-02 15:40:36 +02:00
Maciej Suminski
f3184ebadb
Fixup for ed480bbb
2017-10-02 10:04:45 +02:00
jean-pierre charras
4b010ca129
Fix useless trailing and leading spaces in a few messages. Fix also capitalization in a few menus.
2017-10-02 09:25:48 +02:00
Maciej Suminski
ed480bbbd4
Fixed a sizer assert in pad properties dialog
2017-10-02 09:03:26 +02:00
Baranovskiy Konstantin
c34955aaed
Pcbnew: small fix for pad properties dialog.
2017-10-02 08:56:55 +02:00
Wayne Stambaugh
ded4ad9b17
Pcbnew: delete objects from removed layers.
...
This fixes potential DRC false positive bugs that occur when inner layers
are removed from the board but the actual objects on contained on those
layers remain in the board.
Since Pcbnew does not handle odd number layers, this is not a perfect fix.
When the user chooses the front or back layer only options from the layer
setup dialog, objects on the copper layers will not be removed. This will
not cause the false positive issue described above.
Get rid of dialog OK and cancel button event handlers and use the proper
TranferData(To/From)Window for handling control data.
Add PCB_LAYER_COLLECTOR for collecting board objects by layer. Factor out
redundant [] operators into base PCB_COLLECTOR object.
Fixes lp:893950
https://bugs.launchpad.net/kicad/+bug/893950
2017-09-28 13:01:09 -04:00
Maciej Suminski
6006b54dd9
Fixed a crash when editing a pad of a bottom layer module
...
Fixes: lp:1720007
* https://bugs.launchpad.net/kicad/+bug/1720007
2017-09-28 09:58:34 +02:00
jean-pierre charras
54d34c341b
Cleanup code
2017-09-28 08:38:36 +02:00
jean-pierre charras
b4a59eb96d
Fix minor issues in DIALOG_KEEPOUT_AREA_PROPERTIES.
...
Fix keepout zone creation in legacy canvas.
Add a comment in lset.cpp
2017-09-27 16:54:28 +02:00
Oliver Walters
42be6bb966
Improved keepout zone properties dialog
...
- Checkboxes next to layers
- OK button is disabled if no layers are selected
2017-09-27 10:35:00 +02:00
Oliver Walters
0f6ec7632b
Enable multi-layer for keepout zones
...
- Load / save from PCB file correctly
- Doesn't display properly yet
- Keepout only actually applies to one layer (for now)
2017-09-27 10:34:59 +02:00
jean-pierre charras
8d1d37beb0
Refinements in pad properties dialog
2017-09-20 16:14:23 +02:00
jean-pierre charras
7c1ac6fbcc
Refinements in pad properties dialog
2017-09-20 15:37:37 +02:00
jean-pierre charras
a43f3ab1fe
replace "BasicShape" by "Primitive" in code, a better name
2017-09-20 12:51:10 +02:00
jean-pierre charras
4122aa1c01
Fix translation (I18n) problems
2017-09-20 09:32:37 +02:00
Maciej Suminski
cca63801bf
Renamed D_PAD::{Set,Get}PadName() to D_PAD::{Set,Get}Name()
2017-09-19 18:23:50 +02:00
Maciej Suminski
85be485c34
Enable long names for pin numbers and pads
...
- pad names are stored as wxString instead of a char[4] & integer union
- removed pad name to string conversion functions
- fixed pad & pin properties dialog restrictions regarding the name
length
2017-09-19 18:19:49 +02:00
jean-pierre charras
e2d3fcec02
Add support for custom pad shape. Full support in DRC and PnS.
...
add option to use shape or convex hull as clearance area in zones.
simplify code to handle clearance area
2017-09-19 09:02:53 +02:00
Mathias Grimmberger
2c23c4c3a9
Dropdown list in via properties dialog to select predefined via size
2017-09-18 10:28:08 +02:00
jean-pierre charras
50164e9968
Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled
...
Fix also very minor issues in Gerbview
2017-08-30 11:04:33 +02:00
Wayne Stambaugh
55ce984f05
Minor design rule editor dialog layout improvements.
...
Fix the alignment of the unit static text control for uVia diameter and
drill size to match the rest of the units static text controls on the
global design rules tab.
2017-08-29 11:15:16 -04:00
Bastian Neumann
9b900ea834
Micro via input fields are enabled when design is loaded
...
Loading a design with micro vias enabled did check the box for enabling
micro vias in pcbnew. The value input fields for diameter and drill
size were not enabled.
This patch moves the functionality into an new function and calls that
from the onclick event of the checkbox and the init function of the
dialog.
2017-08-29 09:28:25 -04:00
Mathias Grimmberger
ffeba9de93
Change track width setting to dropbox
2017-08-25 16:46:49 +02:00
jean-pierre charras
6be2f2934e
Exchange footprint dialog uses now the reporter widget for a better report of actions and errors.
...
Fixes: lp:1711379
https://bugs.launchpad.net/kicad/+bug/1711379
2017-08-18 20:26:45 +02:00
Maciej Suminski
077fb3c294
Clearer message for exchange footprint failure
2017-08-18 09:08:07 +02:00
Maciej Suminski
9447181a08
Handle block selection removal of libraries in FP_LIB_TABLE dialog
2017-08-15 11:56:05 +02:00
jean-pierre charras
356f607cd6
fix compil warnings and replace assert by wxASSERT in dialog_track_via_properties.cpp
2017-08-11 11:38:06 +02:00
jean-pierre charras
9485a4d381
Pcbnew, dialog export STEP: fox not working export in countries using the comma as floating point separator.
...
Add origin at board center and serious cleaning code.
2017-08-10 14:25:31 +02:00
jean-pierre charras
81a4182319
Fix a not easy to translate message
2017-08-10 09:48:17 +02:00