Wayne Stambaugh
e832212d89
Pcbnew: fix bug in footprint library plugin cache reloading.
...
Check the footprint library path modification against the last load
time and reload the cache if the path modification time has changed
when a new file is added to the footprint library path.
Fixes lp:1727977
https://bugs.launchpad.net/kicad/+bug/1727977
2018-02-10 17:14:53 -05:00
Wayne Stambaugh
5ef0b6b67e
Pcbnew: add refill zone option to DRC.
...
Make refilling zones during DRC optional to prevent the board from being
changed by changes in the polygon filling. Default to off to prevent
changes by default.
Fixes lp:1721547
https://bugs.launchpad.net/kicad/+bug/1721547
2018-02-10 15:17:30 -05:00
jean-pierre charras
b4a17808b0
pcbnew: Fix bug (Linux specific): change Footprints dialog: All radio buttons selected
...
* Cleanup .fbp file, and remove fixed sizes in a few widgets.
* use wxID_CANCEL in close button ID, to allow closing the dialog by the ESC key
Fixes: lp:1748626
https://bugs.launchpad.net/kicad/+bug/1748626
2018-02-10 18:40:39 +01:00
jean-pierre charras
5ecfd32654
OpenGl fix: call enableGlDebug( true ) only in Kicad debug build, and only on Linux
...
(Because we have crashes on OSX and some Window installs)
2018-02-10 11:57:22 +01:00
jean-pierre charras
dba198e576
Fix code after renaming files
...
Change class names according to the new name of the main dialog
2018-02-09 17:36:54 +01:00
jean-pierre charras
35a0688bf7
rename dialog_bom_editor* files to dialog_fields_editor_global*
...
rename also associated files
2018-02-09 17:36:52 +01:00
Maciej Suminski
8a68a21570
Enable OpenGL debug output in debug builds
2018-02-09 16:20:38 +01:00
Maciej Suminski
6dbd7a8d73
Selection Tool: compare footprint area ratio only if there are >1 footprints
...
There is no point in comparing candidate footprint areas when there is
only one footprint, because it is always equal to 1 and rejected.
Fixes: lp:1745787
* https://bugs.launchpad.net/kicad/+bug/1745787
Fixes: lp:1747378
* https://bugs.launchpad.net/kicad/+bug/1747378
2018-02-09 16:19:48 +01:00
Maciej Suminski
86566fc142
Fix a hang-up during zone filling
...
On OpenMP single core systems only the first thread launched. It means
that only the UI updating thread was running, without the one
responsible for actual computation. It is fixed by enforcing at least
two threads.
2018-02-09 14:26:06 +01:00
Maciej Suminski
c39fd46c07
PROGRESS_REPORTER: code formatting
2018-02-09 14:20:25 +01:00
Tomasz Włostowski
bc7ca08f07
router: check type before static_cast-ing
2018-02-09 13:00:57 +01:00
Jeff Young
15f1300221
Flip sense of Plot pads on silkscreen.
...
Added a better tooltip too.
Fixes: lp:1372233
* https://bugs.launchpad.net/kicad/+bug/1372233
2018-02-09 11:03:03 +01:00
Kristoffer Ödmark
8f4a954236
Differ the dialog text for when choosing power-symbols and all symbols
2018-02-09 11:00:32 +01:00
Maciej Suminski
2c3a7c9dc4
CMP_TREE_MODEL: Reset SearchTextNormalized flag when a node is updated
2018-02-09 11:00:32 +01:00
jean-pierre charras
ab73c80ee6
Dialog pad properties: minor fixes.
...
Fix incorrect text for non flipped footprints.
minor cosmetic enhancements.
2018-02-09 10:50:45 +01:00
jean-pierre charras
07fff6ed35
Eeschema, choose component dialog: remember the relative size of the component tree and the symbol viewer canvas during a session
2018-02-09 08:08:14 +01:00
Michael Geselbracht
b04b1dcfb5
Update fields: Add option to omit empty fields
...
Fixes lp:1747405
https://bugs.launchpad.net/kicad/+bug/1747405
2018-02-08 21:05:10 -05:00
Jeff Young
6c61a46721
Rationalize label orientations for dialog display.
...
Fixes: lp:593795
* https://bugs.launchpad.net/kicad/+bug/593795
2018-02-08 20:16:26 -05:00
Jeff Young
60a4ce6623
Don't let pads that *should* be NPTHs get lost.
...
Borrow the hidden text colour so that they can be distinguished
from PTHs and correctly-marked NPTHs.
Fixes: lp:1494738
* https://bugs.launchpad.net/kicad/+bug/1494738
2018-02-08 15:04:23 -05:00
Russell Oliver
864c152a5b
Add converted footprint library to library table during Eagle project.
2018-02-08 13:54:40 -05:00
Jeff Young
a6c436c2cd
Move Pad Properties flipped warning.
...
This makes it more visible and keeps it from messing up the layout
of the dialog.
Fixes: lp:1426756
* https://bugs.launchpad.net/kicad/+bug/1426756
2018-02-08 13:14:41 -05:00
Robbert Lagerweij
54ce01f8d5
pcbnew: make the distribute horizonally and vertically tools gap based
...
This changes the distribute horizonally and vertically tools to place
items with constant gaps between them. The previous implementation put
item centers evenly apart but thereby ignored the relative width and
height of the items (i.e. wide items appeared closer together than
narrow items).
Fixes lp;1745366
https://bugs.launchpad.net/kicad/+bug/1745366
2018-02-08 08:44:55 -05:00
Robbert Lagerweij
3556c4b8d6
pcbnew: change alignment tools use footprint rect where appropriate
...
Using footprint rects instead of the larger bounding box means that
reference and value texts no longer influence the positioning of the
footprint in unexpected ways. Treatment of non-module items is
unchanged.
2018-02-08 08:44:55 -05:00
Andrzej Wolski
936a8c1a7e
Initialize color of vias netnames text
...
LAYER_VIAS_NETNAMES color was not initialized which resulted in black text, not visible in outline mode.
2018-02-08 08:09:04 -05:00
Jon Evans
9452c61462
Use vector instead of bitset for VIEW_ITEM_DATA layer storage
...
Shows 10-15% speed improvement in rendering large files in MacOS
2018-02-08 11:54:18 +01:00
Tomasz Włostowski
c0b61c19b7
router: fixed use-after-free error occuring when a newly routed segment covered exactly an older one
...
Fixes: lp:1747973
* https://bugs.launchpad.net/kicad/+bug/1747973
2018-02-08 11:34:31 +01:00
Maciej Suminski
835fc22892
wxWidgets/GTK3 compatibility fixes for eeschema
...
- Keep refreshing the screen as the cursor is moved.
- Invert the cursor color as it is not drawn using XOR mode anymore.
2018-02-08 11:08:17 +01:00
Maciej Suminski
4561b2cba9
GTK3: Display a warning and enable wxGraphicsContext
2018-02-08 11:07:25 +01:00
jean-pierre charras
2fad12bda0
Fix bug: Pressing Enter in the Move Relative dialog doesn't close the dialog.
...
Fix also minor issues in this dialog.
Fixes: lp:1748054
https://bugs.launchpad.net/kicad/+bug/1748054
2018-02-08 10:51:05 +01:00
jean-pierre charras
be70ce7d4a
Global pad edition:Custom Pad Shapes incorrectly exported (push command)
...
Fixes: lp:1748043
https://bugs.launchpad.net/kicad/+bug/1748043
2018-02-08 09:24:38 +01:00
jean-pierre charras
826efab999
Add comments.
2018-02-07 14:24:10 +01:00
jean-pierre charras
a088ea84fd
Rename files
2018-02-07 14:16:05 +01:00
Jeff Young
17ce87a7a5
Add library descriptions to component tree.
...
Fixes: lp:1747547
* https://bugs.launchpad.net/kicad/+bug/1747547
2018-02-07 08:45:33 +01:00
Jon Evans
a35cc44bd1
Change mechanism for updating gerbview toolbar widths
2018-02-06 17:44:15 +01:00
Maciej Suminski
f0adf81a99
Do not draw circles of 0 radius
...
Apparently calling wxDC::DrawEllipse() with parameters resulting in a
circle with radius equal to 0 lead to printing problems.
Fixes: lp:1746210
* https://bugs.launchpad.net/kicad/+bug/1746210
2018-02-06 17:28:56 +01:00
Russell Oliver
8f07da7953
Fix empty footprints when using Eagle libraries
...
This removes a line that deletes the templates created from the eagle
library every time EAGLE_PLUGIN::init( const PROPERTIES* aProperties )
is called, which seems quite often. The templates are deleted though if
the library path for the plugin is changed or the file has been
modified.
Fixes: lp:1731802
* https://bugs.launchpad.net/kicad/+bug/1731802
2018-02-06 14:50:08 +01:00
Jean Philippe EIMER
e0f7958dbd
Compatibility fixes for GLM 0.9.9
...
Fixes: lp:1746546
* https://bugs.launchpad.net/kicad/+bug/1746546
2018-02-06 13:30:13 +01:00
jean-pierre charras
8d0932dd58
Fix MSW issue with Exchange Footprints dialog, step 2
2018-02-06 10:59:48 +01:00
Jeff Young
7c48fad737
Fix MSW issue with Exchange Footprints dialog.
...
Fixes: lp:1747413
* https://bugs.launchpad.net/kicad/+bug/1747413
2018-02-06 10:59:47 +01:00
Tomasz Włostowski
271363f822
router: support for board outline
2018-02-06 09:43:56 +01:00
Tomasz Włostowski
2faf1a1ed3
Initial support for keepout zones in the P&S router.
2018-02-06 09:43:56 +01:00
Chris Pavlina
d1a45d1476
Remove icon scaling diagnostic from eeschema
2018-02-05 19:49:07 -07:00
Wayne Stambaugh
00749af914
Eeschema: fix using subpaths in sheets.
...
Fix double path name issue when using sheet file name paths that differ
from the project path.
This fix also allows for nesting schematics in subfolder in multiple
root paths.
Fixes lp:1745109
https://bugs.launchpad.net/bugs/1745109
Fixes lp:1735982
https://bugs.launchpad.net/bugs/1735982
2018-02-05 17:07:33 -05:00
jean-pierre charras
ac3bf11bc4
Fix a minor render issue in GAL mode: hole contours inside a zone outline are not drawn.
2018-02-05 19:50:02 +01:00
Maciej Suminski
351a8d72b8
Better test whether a symbol library is saved to its original file
...
File names can be reliable compared only after normalization. The
problem is the easiest to observe on Windows, where one can use slash or
backslash as path separator, so even though C:/file.txt and C:\file.txt
pointed to the same file - simple string comparison would indicate they
are different files.
Fixes: lp:1744724
* https://bugs.launchpad.net/kicad/+bug/1744724
2018-02-05 17:04:10 +01:00
Maciej Suminski
fe62760f39
Corrected a BOARD::SetElementVisibility() invocation.
...
Supplementary fix to 6b12fef2
.
2018-02-05 12:20:31 +01:00
Jon Evans
1f487593fa
Respect item polarity when redrawing cached gerber view items
...
Fixes: lp:1746825
* https://bugs.launchpad.net/kicad/+bug/1746825
2018-02-05 07:55:15 +01:00
Jeff Young
b0d1e49319
Fix plotting of 360 degree arcs and printing of mirrored arcs.
...
The second issue is OSX-only; the first is universal.
2018-02-05 07:53:51 +01:00
Jeff Young
6b12fef288
Print items irrespective of render settings.
...
This fixes SMD pads and module text. All the other setting were
already correct.
Fixes: lp:1744730
* https://bugs.launchpad.net/kicad/+bug/1744730
2018-02-04 21:26:52 +01:00
jean-pierre charras
141ef0c4be
Dialog footprint generators list selector: open the first page (generators list) by default.
2018-02-04 18:38:01 +01:00