Kristoffer Ödmark
19d5cc7548
Removed all exception specifiers since deprecated.
...
Exception specifiers are deprecated in cpp11, so went through them all
and removed them from the code.
2017-06-12 13:54:55 -04:00
Maciej Suminski
b304dafc5b
Fixed headers in Position Relative tool
2017-06-12 16:58:47 +02:00
Maciej Suminski
fc58bd3848
Position Relative Move tool fixes
...
- corrected copyright headers
- code formatting
- made dialog pointer private, added UpdateAnchor() and modified click
handler routine accordingly
- renamed .fbp file to match other dialogs pattern
2017-06-12 16:24:52 +02:00
Russell Oliver
aeb23188f1
Add Position Relative tool
2017-06-12 16:24:52 +02:00
Maciej Suminski
f0c8391a46
Use mouse (rather than cursor) position when selecting an item.
2017-06-12 16:24:52 +02:00
Maciej Suminski
dcc803ecb1
VIEW_CONTROLS::GetMousePosition() returns the mouse position in world coordinates.
2017-06-12 16:24:52 +02:00
jean-pierre charras
ad48cd435d
Replace SetToolID( ID_NO_TOOL_SELECTED, ...) by SetNoToolSelected() in code
2017-06-12 16:17:48 +02:00
jean-pierre charras
6ed4f9b208
Make EDA_DRAW_FRAME::SetToolID and mouse cursor shape setting working in GAL canvases, and uses same mouse cursor shapes in legacy and gal canvases.
...
Starting fixing incorrect UI behavior of Zoom to selection in Pcbnew.
2017-06-12 15:16:09 +02:00
Oliver Walters
18488342a5
Improved speed of Duplicate action
...
- Removed repetitive tool calls
2017-06-12 11:16:30 +02:00
Simon Richter
a9ca1e9930
Remove unreferenced local variables
2017-06-11 17:52:49 -04:00
Wayne Stambaugh
3cec63e9b9
Pcbnew: plugin improvements.
...
Allow partial library reads in libraries that support footprint per file.
This includes the KiCad and GEDA footprint libraries.
Allow for partially cached libraries rather than ignoring all valid files
when an error occurs.
2017-06-11 16:21:19 -04:00
Wayne Stambaugh
d37a33723a
Pcbnew: GEDA plugin fixes and improvements.
...
Fix a bug in library cache modification check. The Pcbnew footprint
file extension (.kicad_mod) was used instead of the GEDA footprint file
extension (.fp) which always caused the cache to reload on every library
call.
Allow for partially cached libraries rather.
Remove #ifdefed out exception throw in FootprintEnumerate(). Exceptions
should not be disabled in plugins.
2017-06-09 09:03:27 -04:00
jean-pierre charras
9d524fe2e3
Remove incorrect leading spaces in some strings.
2017-06-07 18:43:53 +02:00
jean-pierre charras
32abc273d0
3D shapes downloader: add .step and .stp files to the list of files to download
2017-06-07 11:17:27 +02:00
Bernhard Stegmaier
0e71686bfd
Reunion of zoom toolbar buttons.
...
The zoom window toolbar button is on the right toolbar separated from the
other zoom buttons on the top toolbar. Move the zoom window button to the
top toolbar beside the other zoom buttons.
2017-06-06 09:35:20 -04:00
jean-pierre charras
79823d573a
fix incorrect comment
2017-06-05 18:16:08 +02:00
Fabrizio Tappero
ac9a64a173
general UI fix. Fixed a lot of icons and a lot of menu.
...
Also a few no longer used .cpp icon files are removed.
2017-06-02 11:51:11 +02:00
jean-pierre charras
b8183a1aa5
Fix Coverity warnings
2017-05-30 09:07:18 +02:00
Cirilo Bernardo
453e220fd8
Fix default line widths for non-mm units in DXF import
2017-05-29 09:48:22 +02:00
jean-pierre charras
1951ee924c
Very minor change in some sources: replace in comments CHANGE_LOG.TXT AUTHORS.txt
2017-05-25 09:05:35 +02:00
jean-pierre charras
38c8470cdc
add comments in pcbnew_scripting_helpers.h
2017-05-24 21:34:56 +02:00
jean-pierre charras
9c7b0c2ee5
Fix a compil issue created by may commit 413a3d828a
...
.
2017-05-24 21:14:24 +02:00
jean-pierre charras
413a3d828a
remove dead code in swig
2017-05-24 18:08:15 +02:00
jean-pierre charras
1a33efa133
Fix an issue when reading a gpcb footprint library when a .fp file has a problem.
...
Now the full library loading is not aborted (and the other libraries in list are also loaded).
Only the bad .fp file(s) is not loaded.
Mainly, a .fp file load error does not throw a library load error, and this is a temporary fix.
But throwing a library error when a .fp file cannot be loaded is worst (you even cannot import a good .fp file).
2017-05-24 14:38:08 +02:00
Maciej Suminski
e79f97860c
Bezier2Poly refactor
...
Before the refactor library browser display Bezier curves correctly only
once, at other times they were just straight lines or crashed the
application.
2017-05-16 17:58:09 +02:00
jean-pierre charras
f77db7b4b9
Fixes: lp:1690840 (Pcbnew crashes when creating a drill file)
...
https://bugs.launchpad.net/kicad/+bug/1690840
2017-05-16 13:00:54 +02:00
Maciej Suminski
499eabceb4
More data validity checks in POINT_EDITOR
...
Fixes: lp:1690658
* https://bugs.launchpad.net/kicad/+bug/1690658
2017-05-16 11:47:00 +02:00
Maciej Suminski
4336db3a7c
Clear selection before 'Global Deletion' action
...
Fixes: lp:1690783
* https://bugs.launchpad.net/kicad/+bug/1690783
2017-05-16 09:16:12 +02:00
Eldar Khayrullin
14bb238b30
Fix typo (NTPH instead of NPTH) in DIALOG_GENDRILL_BASE.
2017-05-14 19:32:03 +02:00
jean-pierre charras
305a166e95
Pcbnew: update immediately the 3D viewer opened from the footprint editor/viewer/wizard after a change.
2017-05-13 08:17:06 +02:00
Maciej Suminski
b823d0b784
Use separate GAL_DISPLAY_OPTIONS instance in pad properties dialog
...
DIALOG_PAD_PROPERTIES disables the axis display which propagates
back to the parent frame when they share the same GAL_DISPLAY_OPTIONS
instance.
Fixes: lp:1687014
* https://bugs.launchpad.net/kicad/+bug/1687014
2017-05-12 01:01:38 +02:00
Maciej Suminski
b71fc5564a
Code formatting fixes
2017-05-10 11:40:49 +02:00
Oliver Walters
cd738297b0
SELECTION_AREA color now indicates selection mode
...
BLUE = Normal
GREEN = Addition
RED = Subtraction
Line color indicates "window" or "crossing" selection mode
2017-05-10 10:57:29 +02:00
Oliver Walters
2ae47d31cc
Fix for Arc HitTest
...
compureArcBBox does not account for line width
2017-05-10 10:57:29 +02:00
Oliver Walters
a2fda9bd39
Fixed selection filtering
...
- Fixed "double selection" of pads and pad parents in PCBNEW
- Disabled selection of entire module in MODEDIT
2017-05-10 10:57:29 +02:00
Oliver Walters
b53ba56ac2
Use CTRL modifier to deselect items
2017-05-10 10:57:29 +02:00
Oliver Walters
c8fe9ffa79
Adjusted selection for ZONE
2017-05-10 10:57:28 +02:00
Oliver Walters
9c80d63b5c
Fixed HitTest for text and modules
2017-05-10 10:57:28 +02:00
Oliver Walters
d9308fcab1
Fixed HitTest for ZONE_CONTAINER
2017-05-10 10:57:28 +02:00
Oliver Walters
6aadc703f0
Updated HitTest for PCB_TEXT and TEXT_MOD
2017-05-10 10:57:28 +02:00
Oliver Walters
e29abd6204
HitTest for trapezoid pad
2017-05-10 10:57:28 +02:00
Oliver Walters
7cfc882448
HitTest for RoundRect pad
2017-05-10 10:57:28 +02:00
Oliver Walters
8caef05ad6
HitTest for Oval pads
...
HitTest for Oval pads
Required fix for GetBoundingBox method for Oval Pad shape
2017-05-10 10:57:28 +02:00
Oliver Walters
f338d46476
HitTest for Rectangular pads
...
HitTest for Rectangular pads
- Works at any rotation, even with Shape Offset
- Fixed bugs in D_PAD BoundingBox calculation
2017-05-10 10:57:28 +02:00
Oliver Walters
a0afcd5a62
HitTest for pads
...
- Circular pads
2017-05-10 10:57:28 +02:00
Oliver Walters
2b4c2efc85
Fixed HitTest for Arc segment
2017-05-10 10:57:28 +02:00
Oliver Walters
f8734bd057
Fixed ::HitTest for Circle shape
...
- Testing against rectangle intersection now works correctly
- Previously tested against BoundingBox() not circle outline
2017-05-10 10:57:28 +02:00
Oliver Walters
ef25ffbab7
Alter selection mode based on drag direction
...
LEFT > RIGHT = Enclosed selection
RIGHT > LEFT = Touching selection
2017-05-10 10:57:28 +02:00
Maciej Suminski
6cefb68c7d
Fixed a crash on Eagle PCB import with dimensions on unsupported layers
2017-05-08 11:04:10 +02:00
Maciej Suminski
2ac8ab2a8f
Eagle layers as enums
2017-05-08 10:26:48 +02:00