Jeff Young
7bd2f14342
Go back to checking individual file timestamps.
...
Too many external applications fail to touch the parent directory.
Also removes FP_CACHE_ITEM lastMod times and dirty flags as we've
always loaded libraries atomically anyway.
Claws back some of the performance lost by being more efficient
with cache management for sequential calls to Enumerate and then
Load.
Fixes: lp:1750936
* https://bugs.launchpad.net/kicad/+bug/1750936
2018-02-23 10:56:12 -05:00
Jon Evans
a83669ab19
Merge PCB_LAYER_WIDGET::SyncRenderStates into ReFillRender
2018-02-23 16:25:58 +01:00
Jeff Young
bbad8dc9af
Conditionally compile Mac-specific bug fix.
...
It apparently hangs some other window managers.
Fixes: lp:1748793
* https://bugs.launchpad.net/kicad/+bug/1748793
2018-02-23 10:01:45 -05:00
Jon Evans
8c1847f7ab
Don't allow ZONE_FILLER::Fill to run more than once at a time
2018-02-23 09:43:23 -05:00
Jeff Young
d043ef5bb6
Address inc/decAlpha bug fix code review comments.
...
Change menu names to reference Opacity instead of Brighness.
Implement a bottom-stop at 20%.
2018-02-23 14:14:56 +01:00
Jeff Young
63e113740b
Fix copy/paste compile error on Mac.
2018-02-23 14:10:06 +01:00
Jon Evans
2991c0d258
Only show microvia and blind/buried via settings if they are enabled
2018-02-23 06:57:27 -05:00
Jon Evans
9a3ea1d53c
Rename "Render" to "Items" and a few other wording changes
2018-02-23 06:57:27 -05:00
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
2018-02-23 11:59:40 +01:00
jean-pierre charras
1597f31d4b
Fix a crash due to uninitialized variable.
2018-02-23 11:50:38 +01:00
jean-pierre charras
9a462d9414
dialog_bom: modify the way a command line is created (python scripts on windows only) to call python scripts
...
For some reason, when calling python and giving a full filename script, the last separator in the filename
must be '/', not '\'.
Otherwise the import command inside the script does not find files to import in the same folder as the script.
We cannot replace blindly '\' to '/' in command line because it does not work for file on a server (name starting by \\server_name\).
So the fix is just replacing one '\' in python script full filename.
This is not perfect, but at least it works for newly created plugin commands.
2018-02-23 09:50:15 +01:00
Michael
afd4710045
Eeschema: New menubar structure
...
Update menubar to new structure and use common hotkeys.
2018-02-22 20:43:21 -05:00
Michael
1e7275c712
Kicad: Minor menubar changes
2018-02-22 20:43:10 -05:00
Simon Richter
d5f5f5e719
Remove duplicate source file from list
2018-02-22 18:40:55 -05:00
Jeff Young
e552c2fbff
Remove confusing active library interactions with save.
...
Add a library selector to the save dialog. Initialize it to the
footprint's library. This way a straigh-up save will do what's
expected.
However, the user can still select the active library (or any
other library) if they really did want to move the footprint.
Fixes: lp:1750918
* https://bugs.launchpad.net/kicad/+bug/1750918
2018-02-22 18:19:02 -05:00
Jon Evans
b67b4b9ea9
Rearrange Render panel of PcbNew layer widget; add spacers
2018-02-22 18:09:26 -05:00
jean-pierre charras
43cb1b7bc7
Fix a compil issue with too old compilers
2018-02-22 21:06:48 +01:00
Jeff Young
80f36ce264
Scale up number of segments per polygon for larger features.
...
Also fixes a typo in the plot dialog.
2018-02-22 13:17:25 -05:00
Jeff Young
4dda8a39fe
Add inc/dec current layer alpha to menus.
...
Also adds indicators in layers palette for feedback.
Also generates sized images for all indicators instead of using
scaled bitmaps (which didn't look great).
Also fixes a completely unrelated typo in a UI string.
2018-02-22 17:48:14 +01:00
Andrzej Wolski
2e42d5c006
Do not allow selecting tracks if they are hidden
...
This is a complementary patch to dbafdd39
.
2018-02-22 17:31:18 +01:00
Maciej Suminski
2dfc35a9d6
Fix a typo in KI_DIALOG::Title()
2018-02-22 17:26:35 +01:00
Maciej Suminski
918ac567e5
Fix constant naming conflict in KI_DIALOG
2018-02-22 17:15:22 +01:00
Maciej Suminski
8a8b062d8e
Fix a copy-paste error in WX_HTML_REPORT_PANEL badges creator
2018-02-22 17:05:06 +01:00
Maciej Suminski
fea71c9f8f
Separate copper and graphical zone tools
...
Previously zone drawing tool was used to draw copper and graphical
polygons, but now there is a dedicated tool for that.
2018-02-22 16:28:09 +01:00
Maciej Suminski
dd97718a50
Point Editor: prevent creation of self-intersecting polygons
2018-02-22 16:28:09 +01:00
Maciej Suminski
fe0e44ba3d
PNS: display a message in case of keep-out zone triangulation failure
2018-02-22 16:28:09 +01:00
Maciej Suminski
01aca9d783
KI_DIALOG: flexible way of creating dialogs, including "do not show again"
2018-02-22 16:24:08 +01:00
Maciej Suminski
4da47f2c01
Forbid drawing self-intersecting polygons.
2018-02-22 16:24:08 +01:00
Maciej Suminski
7129dcef91
Added STATUS_TEXT_POPUP for simple popup text display
2018-02-22 15:18:52 +01:00
Maciej Suminski
9673ac4ecd
WX_STATUS_POPUP refactor
...
- Rename WX_STATUS_POPUP -> STATUS_POPUP
- Added Expire() to show a popup temporarily
- Code formatting
2018-02-22 15:18:52 +01:00
Maciej Suminski
7775f59eec
Converted zone drawing tools to store points in a SHAPE_LINE_CHAIN
...
Simplifies the code a bit, removes redundant conversions to/from
std::vector.
2018-02-22 15:18:52 +01:00
jean-pierre charras
997d4dee4f
Minor fixes (fix a compil warning, and a incorrectly sized dialog)
2018-02-22 14:29:33 +01:00
Jon Evans
dfb0dc4dd5
Change algorithm for GetBoundingPoly() to something that works better
2018-02-22 07:58:47 -05:00
Jeff Young
c69db55c1f
Fix regression in auto-selection-disambiguation.
...
Fixes: lp:1646339
* https://bugs.launchpad.net/kicad/+bug/1646339
2018-02-22 11:31:11 +01:00
Jeff Young
cb77babe52
Only load all the libraries for a keyword or wildcard search.
2018-02-22 09:35:01 +01:00
Jeff Young
60a9befe7c
Print solder and paste masks if user asks for them.
...
Fixes: lp:1613057
* https://bugs.launchpad.net/kicad/+bug/1613057
2018-02-22 09:04:33 +01:00
Jon Evans
f7d0c3997d
Don't recache items unnecessarily when toggling D-code display
2018-02-22 08:52:43 +01:00
Jeff Young
f60c251c12
Fix regression in plotting %R and %V text.
2018-02-21 18:02:06 -05:00
Andrzej Wolski
dbafdd39b9
Add tracks display control to Render tab
2018-02-21 14:29:05 -05:00
Andrzej Wolski
370232f70d
Do not draw pads on hidden copper layers.
2018-02-21 14:18:51 -05:00
Andrzej Wolski
4c19606eb7
Fix pads and footprints rendering switches behavior
...
Pads and footprints rendering switches in Render tab were working incorrectly, as described in bug report:
https://bugs.launchpad.net/kicad/+bug/1743890
This patch fixes it and makes GAL behave as the legacy canvas.
Fixes: lp:1743890
2018-02-21 13:44:52 -05:00
Bernhard Stegmaier
b300e8cce5
Update macOS compiling instructions to use KiCad wxWidgets fork.
2018-02-21 13:37:54 -05:00
Jon Evans
0c9d11c180
Add progress reporting for GerbView file loading
2018-02-21 13:17:02 -05:00
Maciej Suminski
fad0452c0e
Fix builds with scripting disabled
...
Fixes: lp:1750853
* https://bugs.launchpad.net/kicad/+bug/1750853
2018-02-21 17:46:57 +01:00
Maciej Suminski
dd04bcbcbf
Make the wxWidgets toolkit test Linux specific
...
Other platforms (Windows, macOS) have only one base toolkit,
so there is no mismatch risk.
2018-02-21 11:44:32 +01:00
jean-pierre charras
644190301f
Minor fixes in strings.
2018-02-21 09:36:27 +01:00
Jeff Young
c47821a689
Stop nagging me about annotating.
...
Adds a checkbox to turn off confirmation dialogs.
2018-02-20 19:12:59 -05:00
Jeff Young
5159fc5952
Stop nagging me about unconnected zones.
...
Moves the nag dialog to a highly-visible warning immediately above
the OK button.
2018-02-20 19:06:33 -05:00
Jeff Young
900bd9da68
Added error and warning badges to HTML report panel.
...
Fixes: lp:1669020
* https://bugs.launchpad.net/kicad/+bug/1669020
2018-02-20 18:51:58 -05:00
Wayne Stambaugh
df2819e5bc
Eeschema: fix sheet schematic file naming bug.
...
Fixes lp:1750468
https://bugs.launchpad.net/kicad/+bug/1750468
2018-02-20 16:01:52 -05:00