jean-pierre charras
54f14b08ca
commit forgotten change in my previous commit
8 years ago
jean-pierre charras
fa39acfc2f
Gerbview, export to pcbnew : export polygons as new DRAWSEGMENT polygonal shape.
It can creates issues on copper layers, but the only one other alternative is to ignore polygons in export,
and this is worst.
8 years ago
jean-pierre charras
5b8c35f64d
Gerbview: minor fix: do not report error if in header INCH ot METRIC command has no parameter (,LZ or ,TZ format)
I am not sure it should be reported, because LZ or TZ format has no meaning in decimal format, and can be omitted.
8 years ago
Jon Evans
1ec217d70e
Fix hit testing for zero-width gerber items
8 years ago
Wayne Stambaugh
8d8c422a19
Add zoom to selection menu entry to all editors.
Fixes lp:1753339
https://bugs.launchpad.net/kicad/+bug/1753339
8 years ago
jean-pierre charras
29ebca4053
Very minor fix: make a menu string more easily translatable
8 years ago
Jon Evans
5b653c0c1e
Update MacOS icons
Fixes: lp:1750284
* https://bugs.launchpad.net/kicad/+bug/1750284
8 years ago
Jon Evans
a931ac436a
Add some safety checks to Excellon number format detection
Fixes: lp:1754121
* https://bugs.launchpad.net/kicad/+bug/1754121
8 years ago
jean-pierre charras
2ff74cb3fc
Add support for .gbrjob new file format (JSON format) in Gerbview
Add experimental code to generate .gbrjob files in the new JSON file format
8 years ago
jean-pierre charras
5e34563f52
Fix a long calculation time that happens with some gerber files when closing Gerbview in legacy display mode.
8 years ago
Jon Evans
4e76a18d5d
Add checks against missing D-Codes in flashed Gerber items
Fixes: lp:1756710
* https://bugs.launchpad.net/kicad/+bug/1756710
8 years ago
jean-pierre charras
827b818b5d
Very minor fixes in Gerbview and Kicad:
Gerbview: fix X2 z order display of Adhesive (Glue) layers.
Kicad: very minor cosmetic enhancement in Create Project dialog.
8 years ago
Marco Ciampa
9e8bcbea04
Gerbview: fix typo in tooltip string.
8 years ago
Jon Evans
213b600b54
Revert active layer behavior so gerber/drill load behavior matches
Fixes: lp:1755713
* https://bugs.launchpad.net/kicad/+bug/1755713
8 years ago
jean-pierre charras
fa41026f36
Fix issue in aperture macro with some strange gerber files.
Fixes: lp:1755623
https://bugs.launchpad.net/kicad/+bug/1755623
8 years ago
jean-pierre charras
66d5d10b49
Gerbview: bigger line buffer to read some gerber files that have only one (very long) line.
small code refactor.
8 years ago
Wayne Stambaugh
71d8a1ea1e
GerbView: fix legacy canvas refresh when drawing outline modes.
8 years ago
Wayne Stambaugh
a5cca18dd1
GerbView: add view menu.
Include all actions provided by left vertical toolbar in a new view
menu for consistency with other main frames.
Move show/hide layer manager to view menu.
Simplify some toolbar and menu update logic.
Fixes lp:1753337
https://bugs.launchpad.net/kicad/+bug/1753337
8 years ago
Jeff Young
43899bbe0e
Fix compile issues under some compilers.
8 years ago
Jeff Young
4eedb3a27d
The _() macro affords some nullptr safety over a naked immediate.
Fixes: lp:1477448
* https://bugs.launchpad.net/kicad/+bug/1477448
8 years ago
Jon Evans
e4b847b345
GerbView: fix a few issues with layer selection / info synchronization
Fixes: lp:1754135
* https://bugs.launchpad.net/kicad/+bug/1754135
8 years ago
Seth Hillbrand
9bede6900c
Standardize Kicad -> KiCad
8 years ago
Jon Evans
23f49f014b
Code style fixes
8 years ago
Jon Evans
3e033aee0c
Perform coordinate format detection on Excellon drill files
Fixes: lp:1754121
* https://bugs.launchpad.net/kicad/+bug/1754121
8 years ago
Jon Evans
c3333d4665
GerbView: ensure view settings are saved/restored in measure tool
Fixes: lp:1754100
* https://bugs.launchpad.net/kicad/+bug/1754100
8 years ago
Clemens Koller
f7ef010fe1
GerbView: Minor cleanup of Menus + Toolbar for consistency.
replace: File -> File(s) when wxFD_MULTIPLE
replace: Load -> Open
replace: Erase -> Clear
add Excellon / Gerber where it makes sense
re-sort File menu
8 years ago
jean-pierre charras
5a33f09608
Fix memory leak
8 years ago
Jon Evans
cd2224b94d
Add missing hotkey support to GerbView
Fixes: lp:1752982
* https://bugs.launchpad.net/kicad/+bug/1752982
8 years ago
Jon Evans
d2c86f8594
GerbView: Disable legacy-only event handlers when GAL is active
Fixes: lp:1752209
* https://bugs.launchpad.net/kicad/+bug/1752209
8 years ago
Jon Evans
2da7199a37
GerbView: Fix active layer synchronization
8 years ago
jean-pierre charras
2c85de3ab2
gerbview layer manager: fix a minor issue, and and icons in context menu, similar to pcbnew layer manager context menu
8 years ago
Jon Evans
2c54f6fe32
GerbView: Fix DCode reordering; ensure loaded layers are visible
8 years ago
Jon Evans
de483ac1aa
GerbView: only erase current layer if a new file is chosen
8 years ago
Jon Evans
490a2105c3
Properly update view when GerbView display settings changed
8 years ago
Jon Evans
cd14525839
GerbView: More accurate selection of arc shapes
8 years ago
Jon Evans
e2408989a4
GerbView: redraw negative items when visibility changes
8 years ago
Jon Evans
37beb726e3
GerbView: Implement in-place GAL layer reordering (for X2 sorting)
8 years ago
jean-pierre charras
eb94d2fcd0
Gerbview: fix an issue when loading files: Layer filenames order in right tab view modified each time a new file is loaded.
It creates strange issues (inconsistent layer filenames order, inconsistent items colors) especially with non X2 files.
8 years ago
Jon Evans
80035661dc
Use proper path when loading files from Gerber job file
8 years ago
Jon Evans
5292829e05
Fix edge case GERBER_FILE_IMAGE creation logic
8 years ago
Jon Evans
b03ac1f614
Only update item color when highlighting items in GerbView
8 years ago
Jon Evans
449da4303e
Remove more unnecessary calls to RecacheAllItems
8 years ago
Jon Evans
319b7cfc67
Remove extra call to SetTopLayer() when switching active layer
8 years ago
Jon Evans
4ec7a02ccd
Add a method to conditionally update VIEW_ITEMs (GerbView performance)
8 years ago
Jon Evans
d7bb83ddcb
Add a REPAINT flag for faster redraw when bounding box hasn't changed
8 years ago
Jon Evans
be8bb24390
Make all new hotkeys editable; label some GAL-only hotkeys
Fixes: lp:1751183
* https://bugs.launchpad.net/kicad/+bug/1751183
8 years ago
Jon Evans
b90528a7ae
Fix regression in GerbView display settings; some optimization too
8 years ago
Jon Evans
9a3ea1d53c
Rename "Render" to "Items" and a few other wording changes
8 years ago
Jon Evans
1ed7d5f816
Clear out old layer data when loading on top of an existing image
Fixes: lp:1747443
* https://bugs.launchpad.net/kicad/+bug/1747443
8 years ago
Jon Evans
f7d0c3997d
Don't recache items unnecessarily when toggling D-code display
8 years ago