jean-pierre charras
4905bbe500
hotkey management: enhancements in code to know if a hotkey was handled by an event or not.
...
No actual change in key management: in legacy it was partially existing, and not yet used in GAL mode.
2017-10-06 09:23:13 +02:00
Maciej Suminski
78c285b83a
'Update Fields' icon for eeschema
2017-10-02 15:57:23 +02:00
Tomasz Włostowski
c6a0ad895b
pcbnew: code formatting, removed previous module editor copy/paste functions
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
5731000135
pcbnew/copy&paste: multiple improvements:
...
- fixed netcode propagation bug
- factored out EDIT_TOOL::m_offset, now selection offset is stored in SELECTION class
- added VECTOR2I-based Move/Flip/Rotate methods in BOARD_ITEM
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
931a1ccaff
Improved copy/paste functionality by Kristoffer:
...
- added selection of reference point
- added snapping when pasting
- some minor code refactoring
- disabled pasting between footprint and pcb editors due to model incompatibility
2017-09-30 14:28:54 +02:00
jean-pierre charras
5aeb6129ca
Fix a bug in KIGFX::COLOR4D ctor: . The alpha channel (opacity) was set to 0. this is a mistake. It is now set to 1.0
...
Fixes lp:1718389
2017-09-29 14:52:51 +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
068a29952c
Changed AUI toolbars background from gradient to solid
...
Based on patches from Windsor Schmidt <windsor.schmidt@gmail.com>
2017-09-27 23:23:06 +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
Jon Evans
9383987b1c
Skip calling RTREE::Remove() when adding items to a VIEW
2017-09-25 13:39:38 +02:00
Jon Evans
1994cc3ae2
Use unordered_map instead of map for GROUPS_MAP
2017-09-25 13:39:37 +02:00
Maciej Suminski
05a120f09f
Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME
2017-09-25 13:39:32 +02:00
Jon Evans
915e51e1f0
GerbView GAL support part 1: changes to existing files
...
- New GAL draw layers for GerbView
- Improved bounding boxes for Gerber shapes
- Switched to use of SHAPE_POLY_SET for polygons
- Add GAL methods to support selection and rendering
- Add GUI support of editing GAL options
- Rename get/setActiveLayer to Get/SetActiveLayer to match convention
2017-09-25 13:35:01 +02:00
Jon Evans
460b1e8540
Move forceColorsToLegacy() to EDA_DRAW_FRAME as virtual method
2017-09-25 13:35:01 +02:00
Jon Evans
77bf22359e
Move zoom_tool.h to include
2017-09-25 13:35:01 +02:00
Jon Evans
0b9b8d3e93
Add support for reversed draw order and Cairo negative draw mode
2017-09-25 13:35:01 +02:00
Maciej Suminski
df472e6426
Added mouse position refresh event WX_VIEW_CONTROLS::WarpCursor()
2017-09-22 11:13:45 +02:00
Michael Geselbracht
da037027fb
Do not warp viewport when dragging FPs
...
Fixes: lp:1714611
* https://bugs.launchpad.net/kicad/+bug/1714611
2017-09-22 11:13:40 +02:00
Wayne Stambaugh
427e5ec461
Eeschema: fix crash when undo called during item edit.
...
Add EDA_DRAW_FRAME::isBusy() method to test if the current item is being
edited or a block operation is in progress.
Ignore undo and redo commands when editor is busy.
Fixes lp:1718656
https://bugs.launchpad.net/kicad/+bug/1718656
2017-09-21 12:37:52 -04:00
Wayne Stambaugh
cb764d73c5
Minor trace logging improvements.
...
Make all trace environment variable strings upper case and prefix with
KICAD_TRACE_ for consistency.
Add Doxygen group for the trace environment variable strings.
2017-09-21 08:58:41 -04:00
jean-pierre charras
963efd248d
Fix compil warning
2017-09-20 09:31:48 +02:00
Maciej Suminski
1edaa8090d
Turned LIB_ITEMS_CONTAINER into a template
2017-09-20 08:39:14 +02:00
Fabrizio Tappero
d2d665e540
library option reviewed and renamed, minor menu text changes
2017-09-19 08:11:24 -04: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
Kristoffer Ödmark
5e70810161
Disabled the automatic schematic-cross probing due to performance reasons. Added sheet-context menu entry for the cross-probing instead.
2017-09-18 11:16:18 +02:00
Jon Evans
d9396616ef
Add support for panning with left and right mouse buttons
2017-09-15 13:35:52 +02:00
Maciej Suminski
fa8aaf9d27
Consistent grid options map and GRID_STYLE values
2017-09-14 16:53:21 +02:00
Oliver Walters
04adacdea6
Added build steps for previously unused bitmaps
...
- plus
- minus
- go_up
- go_down
2017-09-14 08:44:34 -04:00
jean-pierre charras
e15acbb00d
Fp editor and board editor have now a separate color setup.
...
fp viewer uses the default colors, because it has no color setup dialog.
class_colors_design_settings: remove not used members.
Fix issue in modedit: the color config was never read.
2017-09-11 18:51:48 +02:00
Maciej Suminski
8c7175b00d
Upload correct amount of vertex data in CACHED_CONTAINER_RAM
...
Previous implementation uploaded only vertices with indices less
or equal to the number of stored vertices, which is invalid when
the container become fragmented.
Fixes: lp:1712887
* https://bugs.launchpad.net/kicad/+bug/1712887
2017-09-09 21:07:32 +02:00
Maciej Suminski
342bb2bf78
Code formatting
...
Renamed VERTEX related constants to follow UPPER_CASE naming.
2017-09-09 21:07:32 +02:00
jean-pierre charras
8c70681b31
Remove useless includes and more fixes to avoid including curl.h in files, when not mandatory.
2017-09-05 08:07:31 +02:00
jean-pierre charras
6ea6c7219a
Avoid including curl.h in dialog about (including curl.h creates constraints with wxWidgets especially on Windows)
...
and remove duplicate code.
2017-09-04 12:53:50 +02:00
Jon Evans
eec1366ead
Move ZOOM_TOOL to common; add RMB-drag to zoom out
2017-08-31 10:04:00 +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
Tomasz Włostowski
2e4c22f718
router: fix corruption of board data when the inline drag is activated while the router tool is running
...
Fixes: lp:1712838
* https://bugs.launchpad.net/kicad/+bug/1712838
2017-08-30 01:16:06 +02:00
Michael Kavanagh
82ce90ecdc
PL Editor UI Improvements: Menubar, toolbar and hotkeys
2017-08-29 11:52:34 -04:00
jean-pierre charras
a557838c61
Fix incorrect refresh of User Interface after running an action plugin, and add comments
2017-08-27 08:13:35 +02:00
Mathias Grimmberger
ffeba9de93
Change track width setting to dropbox
2017-08-25 16:46:49 +02:00
Maciej Suminski
31ef52a365
Fix fine-grid cursor movement using arrow keys
...
Fixes: lp:1497976
* https://bugs.launchpad.net/kicad/+bug/1497976
2017-08-22 15:14:33 +02:00
Maciej Suminski
91ed3e2bae
VERTEX_CONTAINER documentation update
2017-08-21 13:30:35 +02:00
Maciej Suminski
b5db6a7d5d
Map/unmap vertices once per layer order update
...
Multiple memory map/unmap operations cause a significant delay on
GPUs that fetch vertices from RAM.
Fixes: lp:1701936
* https://bugs.launchpad.net/kicad/+bug/1701936
2017-08-21 13:28:09 +02:00
Fabrizio Tappero
f12b19dd89
delete library upgrade icon and make two new icons for the archive footprint menu in pcbnew
2017-08-15 19:48:52 +02:00
jean-pierre charras
0999b5cb77
Make texts search-able in PDF files (using invisible texts behind stroked texts)
2017-08-15 15:53:00 +02:00
jean-pierre charras
0f219dc40c
Fix a compil warning when compiling pcbnew_wrap.cxx
2017-08-09 11:55:12 +02:00
jean-pierre charras
9bb43a89ba
Pcbnew: keep layer manager synchronized with board items visibility after switching to a new canvas.
2017-08-09 09:48:56 +02:00
Maciej Suminski
c18d148589
Moved VERTEX_CONTAINERs intialization to the constructors
2017-08-08 15:33:57 +02:00
Maciej Suminski
262fcc91af
Fixes for video cards unable to use gl{Un,}MapBuffer correctly
...
Fixes: lp:1685335
* https://bugs.launchpad.net/kicad/+bug/1685335
Fixes: lp:1683041
* https://bugs.launchpad.net/kicad/+bug/1683041
2017-08-08 14:26:05 +02:00
Maciej Suminski
46b5575c51
OpenGL driver debug routines
2017-08-08 09:31:57 +02:00
jean-pierre charras
b8c621a991
fix a few Coverity warnings.
2017-08-06 14:23:03 +02:00