jean-pierre charras
c536364f05
Fix a few coverity warnings. very minor other changes.
2017-11-02 18:18:57 +01:00
Maciej Suminski
5eb56dd8b0
Coverity fixes
...
CIDs:
102571
168696
168701
168704
168706
168708
168710
168713
168716
168717
2017-11-01 10:24:26 +01:00
Maciej Suminski
3a8b4a2fb7
Fixed a memleak in GerbView
...
Changed m_painter PAINTER* to unique_ptr<PAINTER> to avoid confusion
regarding the objection destruction.
2017-10-30 09:36:34 +01:00
Baranovskiy Konstantin
a4440395be
Gerbview: fix zoom to selection tool duplication.
2017-10-30 09:05:35 +01:00
Jon Evans
b18cd4cb19
Fix arc drawing algorithm in GerbView GAL (Fixes lp:1720384)
2017-10-26 08:18:09 +02:00
jean-pierre charras
cffe1b51e2
Gerbview: avoid a crash with malformed Gerber files.
...
Fix also incorrect handling of %LN (Load Name) deprecated command
2017-10-24 18:09:33 +02:00
jean-pierre charras
eb2340bc23
Show/Hide icons in menus (according to Icons option) in GAL, like in Legacy mode.
...
Cosmetic enhancement in Gerbview context menu.
2017-10-23 18:48:03 +02:00
jean-pierre charras
3407c6cf27
Gerbview: add icons in a context menu.
...
gal: remove a forgotten debug line.
2017-10-23 16:53:42 +02:00
jean-pierre charras
cdb577bbbc
Gerbview: fix an issue in legacy mode (locate items was not working)
2017-10-23 11:32:05 +02:00
jean-pierre charras
9bd5522419
Add a gerber test file
...
remove a few minor coverity warnings
2017-10-23 09:20:10 +02:00
jean-pierre charras
9b4eddb744
Update gerber job file to latest format
2017-10-20 13:55:42 +02:00
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
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
jean-pierre charras
d00fc993f3
Fix job file extension.
2017-09-30 09:18:47 +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
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
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
Jon Evans
4341c0eb2b
Change LOD cutoff for D-Codes
2017-09-26 10:58:03 +02:00
Jon Evans
e5df4304a6
Minor tweaks to GerbView for performance
2017-09-25 13:39:38 +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
Seppe Stas
e46fdb0115
Implement OnLayerRightClick for Gerber layer widget
2017-09-22 17:41:42 +02: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
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
jean-pierre charras
b0bfbd4f41
Gerbview: remove analysis of fully outdated (and never used) gerber commands
2017-08-11 11:21:33 +02:00
Tomasz Włostowski
32185ddcd3
Multiple improvements concerning colors, configuration handling and legacy features in pcbnew:
...
- support for background color setting
- removed several global config settings (such as g_Drc_On)
- wrapped most of global config settings in PCB_GENERAL_SETTINGS class
- reorganized PCB general options dialog to clearly mark which options concern only the legacy canvas
- new GAL feature for legacy users: double-click (or E) to change track width available as an option.
Fixes: lp:1530543
* https://bugs.launchpad.net/kicad/+bug/1530543
Fixes: lp:1707145
* https://bugs.launchpad.net/kicad/+bug/1707145
2017-08-04 16:06:57 +02:00
jean-pierre charras
2237de0153
Gerbview "Always hide all layers but active" context menu selection doesn't work with keyboard
...
Fixes: lp:1701008
https://bugs.launchpad.net/kicad/+bug/1701008
2017-06-28 18:32:04 +02:00
jean-pierre charras
996bcdf458
Fix a few doxygen warnings
2017-06-16 09:18:31 +02:00
jean-pierre charras
2476e88c9d
Fix a few doxygen warnings
2017-06-15 13:13:24 +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
526b5e2cd3
Fix broken behavior of the "Zoom to selection" tool in Gerbview and Eeschema.
2017-06-10 09:07:17 +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
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
jean-pierre charras
000ee22e39
Drill dialog: creates the directory, when the path entered in dialog does not exist.
2017-05-01 20:42:18 +02:00
jean-pierre charras
afe92c7bfc
Pcbnew: Add creation of Drill Files in Gerber X2 format.
...
Gerbview: add support of drill files in Gerber format.
Fix also an issue in drill dialog: Axis choice is now common to plot a drill files.
2017-05-01 12:43:40 +02:00
jean-pierre charras
e6545ec982
Gerbview: evaluate Aperture Macro Parameters using precedence rules for the arithmetic expressions found in AM.
2017-04-10 18:44:32 +02:00
jean-pierre charras
f007601507
Gerbview: fix an issue (crash or hang) when a aperture macro definition contains ( and ).
...
Note: currently Gerbview does not handle yet operator precedence in aperture macro parameters.
2017-04-09 16:42:17 +02:00
jean-pierre charras
9992a07def
Gerbview: Fix an issue in aperture macro for a Circle AM primitive inside a macro definition
2017-04-08 17:41:53 +02:00
jean-pierre charras
36255d8523
Gerbview: Fix a few issues in aperture macro definitions.
2017-04-08 15:35:11 +02:00
jean-pierre charras
aad80c9bf4
Fix compil issue on Linux
2017-04-08 14:26:32 +02:00
jean-pierre charras
ba517db96c
Gerbview: fix a subtle issue when reading parameter values in Gerber files.
...
In Gerber files the char 'X' is used as separator.
But when reading parameter values, the sequence "0xnnn" is a number in hexadecimal format, and the 'X' char is not seen as separator by usual strtod or strtol C functions.
This is now fixed.
2017-04-08 12:53:40 +02:00
jean-pierre charras
f16f39fd4c
Gerbview: rework on load zip archive: better handling of non ascii7 filenames.
...
non ascii7 filenames of zip files issues are fixed.
There are still issues with non ascii7 filenames inside the zip archives (especially when a zip archive was created on Windows)
2017-03-31 10:55:13 +02:00