Kristoffer Ödmark
79d81ae9ff
forward the event
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
4ce38abce2
renamed copypasta functions, fixed a paste_module error
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
e19882577a
fixed a comment, copies now retain their path if any
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
b4879d061c
Fixed menu items, moved the copy and cut to the EDIT_TOOL, Fixed rendering when copying a module
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
7ff096fbac
updating patch to master
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
bd8980596f
Some code cleanup to follow kicad style better
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
6a02ee6c4b
fixed crash on copying texte modules
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
84b803042c
Improvements to copy-paste
...
-Can paste items from board to module-editor (only module parts)
-Can paste entire modules just as copy
-Can copy items inside module-editor
Known limitations:
-Will crash if trying to paste a module containing module_text inside
the module editor ( dont know why, problem existed before )
-If copying things with strange layer names, the layer names will be
changed.
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
05d8f1071e
Made the formatHeader into multiple small functions
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
c0981b8444
Added a new plugin that can save and load to clipboard, using ctrl+shift+c/v for copy pasting
...
Added the needed kicad_clipboard files and made copy pasted modules have no path
2017-09-30 14:28:53 +02:00
Seth Hillbrand
6573a43f3a
pcbnew: multiple keepout zone bug fixes
...
- Fixes segfault in ZONE_CONTAINER::SetLayerSet
- Copies layerset when using assignment and new()
2017-09-30 13:56:25 +02:00
jean-pierre charras
d00fc993f3
Fix job file extension.
2017-09-30 09:18:47 +02:00
Maciej Suminski
4bd51b7049
Fixed EDA_BASE_FRAME::removePaneBorder() for classes not using AUI
...
Fixes: lp:1720386
* https://bugs.launchpad.net/kicad/+bug/1720386
Fixes: lp:1720388
* https://bugs.launchpad.net/kicad/+bug/1720388
Fixes: lp:1720389
* https://bugs.launchpad.net/kicad/+bug/1720389
2017-09-29 17:08:32 +02:00
Baranovskiy Konstantin
4612a52b50
3D Viewer: fixed entry labels in popup menu.
2017-09-29 15:31:36 +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
Simon Schubert
b6d54acf3b
Corrected the default net class assignment
2017-09-29 08:47:40 +02:00
jean-pierre charras
5731acc97c
Fix typo and and comment
2017-09-29 07:58:15 +02:00
Seth Hillbrand
5b2248fad8
gerbview: Corrects handling of %FSD statement
2017-09-29 07:40:58 +02:00
Oliver Walters
948dfe88ce
Added option to not test other pins when setting pin parameters
...
- On loading from file, other pins are not LINKED and thus can be ignored
- 90% reduction in library load time when launching eeschema
2017-09-28 13:10:08 -04: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
jean-pierre charras
517921e2e1
update doc and remove a outdated file
...
Update or fix a few strings in menus and tool tips
2017-09-28 18:56:36 +02: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
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
jean-pierre charras
df830dab4c
Add comments and a comment asking to fix a call to a GUI inside a io plugin, that is not allowed
2017-09-27 18:59:17 +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
c977c88a10
Zone keepout exclusion now works on multiple layers!
...
Bug fixes for keepout layers
- Changed LSET::size() -> LSET::count()
- Save/load functions no longer depend on zone being a keepout
2017-09-27 10:35:00 +02:00
Oliver Walters
363fc598c0
Fixed bug in FlipLayerMask
...
- Offset for internal copper layers was incorrect
- Incorrect mask was used
2017-09-27 10:35:00 +02:00
Oliver Walters
7e0fa329d0
DRC checks for keepout zones work on all layers
2017-09-27 10:35:00 +02:00
Oliver Walters
2895030cfa
Add multi-layer zone rendering for GAL
...
Enable multi-layer selection for keepout zones in GAL
2017-09-27 10:34:59 +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
Baranovskiy Konstantin
28997e7f37
Footprint viewer: fix zooming from toolbar or menu in GAL.
2017-09-26 16:24:54 +02:00
Wayne Stambaugh
9ca3f632a2
Pcbnew: fix update schematic from PCB file name bug.
...
Use ctor wxFileName( path, name, extension) to create full schematic file
name in update PCB from schematic code path. This prevents file names with
dots '.' from being interpreted as the extension when using the wxFileName
assignment operator.
2017-09-26 10:13:21 -04:00
Kevin Zheng
6487ec5c21
Reword hotkey reset menu items
...
Fixes lp:1717637
2017-09-26 09:21:48 -04:00
Wayne Stambaugh
39b27e39a9
Eeschema: silently save project file after schematic plot setting changes.
...
Don't prompt the user to save the project file after the schematic plot
settings change. It is not done this way anywhere else in KiCad.
Fixes lp:1478131
https://bugs.launchpad.net/kicad/+bug/1478131
2017-09-26 08:32:04 -04:00
Jon Evans
4341c0eb2b
Change LOD cutoff for D-Codes
2017-09-26 10:58:03 +02:00
Maciej Suminski
6e440ffc2d
GerbView GALification
2017-09-25 14:04:06 +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
e5df4304a6
Minor tweaks to GerbView for performance
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
Jon Evans
256f52f27e
Use VIEW_GROUP for candidate highlighting; enable in PcbNew also
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
Maciej Suminski
88cab885af
Code formatting
2017-09-25 13:35:02 +02:00
Jon Evans
d87c9f7ed7
Highlight selection candidates instead of using BRIGHT_BOX
2017-09-25 13:35:01 +02:00
Jon Evans
b90d86aa2d
Properly update toolbar buttons on application start
2017-09-25 13:35:01 +02:00
Jon Evans
cc5c5010f0
Fix some layer visibility behavior
2017-09-25 13:35:01 +02:00
Jon Evans
050489d719
GerbView GAL support part 2: New files for GAL
...
- New draw panel
- New painter
- GerbView-specific tools
2017-09-25 13:35:01 +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