jean-pierre charras
673f03e595
Convert circle to polygon: minimize rounding errors.
...
Fixes: lp:1735206
https://bugs.launchpad.net/kicad/+bug/1735206
2018-01-19 21:10:40 +01:00
jean-pierre charras
ab2333bcf0
Footprint Editor, GAL mode: make option tool "show footprint in outline mode" working.
...
Fix also option tool "show footprint texts in outline mode" code,
but because there is no code to show texts in outline mode in GAL canvas, this option still works only in legacy canvas
2018-01-19 19:26:48 +01:00
Jeff Young
90cc896af2
Fix compile error in quasi-modal wxWidgets patch.
2018-01-19 17:26:21 +01:00
Maciej Suminski
388d07a808
Fix disappearance of placed objects after 'Properties' action
2018-01-19 14:20:42 +01:00
Maciej Suminski
903e33375f
Fix rotation & flip of newly placed texts
...
When a rotation/flip command was issued when a newly placed text
was hovering over an existing item - the item underneath would be
affected by the command and the new text would be discarded.
Fixes: lp:1744152
* https://bugs.launchpad.net/kicad/+bug/1744152
2018-01-19 14:20:42 +01:00
jean-pierre charras
afeaf909fa
Better error message
2018-01-19 11:51:01 +01:00
Michael Geselbracht
d8f0527677
Fix crash while reading netlist and delete extra footprints enabled
...
Fixes: lp:1710492
* https://bugs.launchpad.net/kicad/+bug/1710492
2018-01-19 11:25:32 +01:00
jean-pierre charras
41eeb05d81
Fix compil warnings
2018-01-19 11:01:42 +01:00
jean-pierre charras
2e83103c3d
WIDGET_NET_SELECTOR: speedup the net list creation.
...
Add comments and better names for variables.
2018-01-19 11:01:42 +01:00
jean-pierre charras
1b8ab1c23d
Demos update
2018-01-19 11:01:41 +01:00
Jon Evans
10b635ffe2
Clear autoplaced flag when modifiying field orientation/justification
...
Fixes: lp:1743893
* https://bugs.launchpad.net/kicad/+bug/1743893
2018-01-19 10:09:00 +01:00
Maciej Suminski
7d821cb08c
Fix netname layers visibility when copper layers are initially off
...
Fixes: lp:1744183
* https://bugs.launchpad.net/kicad/+bug/1744183
2018-01-19 10:03:42 +01:00
Jeff Young
959767c09f
Don't warp mouse when context menu was cancelled.
...
Fixes: lp:1674199
* https://bugs.launchpad.net/kicad/+bug/1674199
2018-01-18 13:43:24 -05:00
Maciej Suminski
8721f7ed70
Changed remaining occurences of 'part' to 'symbol' in the symbol editor
2018-01-18 11:24:02 +01:00
Maciej Suminski
d87a7ae58e
Fallback to Cairo when OpenGL is not supported
...
Fixes: lp:1741787
* https://bugs.launchpad.net/kicad/+bug/1741787
2018-01-18 10:17:06 +01:00
Jon Evans
b21f301097
Defer canvas type setting save until destruction of EDA_DRAW_FRAME
...
Fixes: lp:1741787
* https://bugs.launchpad.net/kicad/+bug/1741787
2018-01-18 10:17:06 +01:00
jean-pierre charras
47d392d83e
Fix incorrect name (typo) of a method.
2018-01-18 10:11:45 +01:00
Maciej Suminski
ef13b97ff7
Complementary patch to 3114fa4a (filter invisible vias when selecting)
...
This patch handles items selected with selection box.
Fixes: lp:1743894
* https://bugs.launchpad.net/kicad/+bug/1743894
2018-01-18 09:56:43 +01:00
Jon Evans
2b2612120c
Filter via selection based on render settings
...
Fixes: lp:1743894
* https://bugs.launchpad.net/kicad/+bug/1743894
2018-01-18 09:56:43 +01:00
jean-pierre charras
08b15a6990
Pcbnew: graphic segments type S_POLYGON: allows 0 for outline thickness (this allows to create easily the exact polygonal shape).
...
Fixes: lp:1743982
https://bugs.launchpad.net/kicad/+bug/1743982
2018-01-18 09:32:28 +01:00
Jeff Young
3f6af59cac
Avoid selection disambiguation menu when possible.
...
Some actions, such as select trivial connection, don't need the
user to choose which trace at a corner to start from -- either
one will do. Same for moving a simple trace corner.
Likewise, Edit in Footprint Editor shouldn't ask if you mean the
footprint or the pad. Obviously it's the footprint.
This change adds a CLIENT_SELECTION_FILTER which allows clients
to do tool- or action-specific filtering of the selection before
the disambiguation menu is run.
It also removes some tool- and action-specific code which was
in the selection_tool and shouldn't have been.
Fixes: lp:1708869
* https://bugs.launchpad.net/kicad/+bug/1708869
2018-01-18 09:09:25 +01:00
Jeff Young
17e6720bc9
Implement undo for eeschema's "Import existing drawings"
...
Fixes: lp:1522189
* https://bugs.launchpad.net/kicad/+bug/1522189
2018-01-17 15:30:36 -05:00
Seth Hillbrand
2fa5c723d8
Don't cleanup schematic when symbols are rescued.
...
Schematic cleanup only makes sense after the libraries are fully updated
and loaded. Before pin caching, this was a minor difference but once we
needed to update pin caches, schematic cleanup can remove junctions from
pin-wire connections incorrectly.
Instead, we use the global OpenProjectFiles() schematic cleanup call to
be sufficient and not call a second time, prior to all libraries being
rescued and loaded.
Fixes: lp:1743148
* https://bugs.launchpad.net/kicad/+bug/1743148
2018-01-17 12:53:38 -05:00
Jeff Young
e1c01e1e7f
Render transparent layer colors over the correct background.
...
This fixes the layer comboboxes, the copper zones properties
dialog, and the differental-pair icon in the htoolbar.
Fixes: lp:1741049
* https://bugs.launchpad.net/kicad/+bug/1741049
2018-01-17 11:36:37 -05:00
jean-pierre charras
6014307d06
Pcbnew, DRC dialog: Fix a few issues:
...
Gal mode: graphic cross-air cursor moved on items when clicking on & DRC error, like in legacy mode.
Make popup menu shown when right clicking on a DRC error item working.
2018-01-17 15:36:04 +01:00
Maciej Suminski
60963fe2fc
Fixes for 590cac9d
...
The original patch did properly recognize the case when all transient
source definition fields are empty, which is perfectly valid.
2018-01-17 10:37:57 +01:00
Dan Weatherill
590cac9d55
Fix transient SPICE source field check logic
...
Fixes: lp:1743486
https://bugs.launchpad.net/kicad/+bug/1743486
2018-01-17 10:36:35 +01:00
Maciej Suminski
c1649b1138
Code formatting fixes for 3d177e9c
2018-01-17 10:35:40 +01:00
Jeff Young
3d177e9c2a
Thaw pcb window to scroll markers into view.
...
Fixes: lp:1606849
* https://bugs.launchpad.net/kicad/+bug/1606849
2018-01-17 10:11:02 +01:00
Maciej Suminski
ac1771a9f0
Handle block selection removal of libraries in SYMBOL_LIB_TABLE dialog
...
Fixes: lp:1741543
* https://bugs.launchpad.net/kicad/+bug/1741543
2018-01-17 09:59:48 +01:00
Jeff Young
a386da9ee9
Make sure wxWidgets updates DRC notebook when switching pages.
...
Fixes: lp:1583466
* https://bugs.launchpad.net/kicad/+bug/1583466
2018-01-17 08:38:47 +01:00
jean-pierre charras
2e79b93b99
Eeschema: fix issue (2 tools not working in left vertical toolbar) created by commit 7e6a6540c8
2018-01-16 19:39:31 +01:00
Maciej Suminski
d85cf732b6
TEXT_CTRL_EVAL: Evaluate expressions when Enter key is pressed
...
Fixes: lp:1741320
* https://bugs.launchpad.net/kicad/+bug/1741320
2018-01-16 14:53:13 +01:00
Jeff Young
947a4839fd
Use generic Save (and New and Open) commands where unambiguous.
...
Fixes: lp:1743426
* https://bugs.launchpad.net/kicad/+bug/1743426
2018-01-16 08:39:12 -05:00
Seth Hillbrand
e53fa2dda6
Partially revert 316ddad
that added warnings but no functionality
...
Fixes: lp:1742978
* https://bugs.launchpad.net/kicad/+bug/1742978
2018-01-16 14:25:45 +01:00
jean-pierre charras
6b9740e681
Fix issues when in Pcbnew the Update PCB from schematic command is run.
...
Now, if not yet opened, the schematic editor frame is created, and shown iconized.
(although iconize it is perhaps not the best option)
It fixes a few (minor) issues (when the schematic editor frame is created, but not shown):
- On OSX the schematic frame is shown as a "ghost" frame.
- If later, the schematic editor is opened from Kicad, a message saying the schematic is already opened is shown.
This is technically true, but unexpected by user.
- If symbols need an annotation, the annotation dialog is opened, can can modify the schematics.
So it could be better to really open the schematic editor frame.
2018-01-16 13:53:03 +01:00
Jeff Young
d4ddc009e1
Don't include module drawings in coverage ratio calculation.
...
If we do, we'll almost always conclude that coverage is near 100%
due to the outline drawing.
Fixes: lp:1743164
* https://bugs.launchpad.net/kicad/+bug/1743164
2018-01-16 13:45:32 +01:00
jean-pierre charras
433b2bff40
Add comments in progress_reporter.h; Remove unused parameter in Fill_All_Zones and remove empty file.
2018-01-16 10:22:25 +01:00
Maciej Suminski
495c4125f9
Set line width for SELECTION_AREA
...
Fixes: lp:1743242
* https://bugs.launchpad.net/kicad/+bug/1743242
2018-01-16 09:27:56 +01:00
Jon Evans
74d47d8173
Ensure DrawRectangle() stroke outline will always be visible
...
Fixes: lp:1743242
* https://bugs.launchpad.net/kicad/+bug/1743242
2018-01-16 09:20:02 +01:00
jean-pierre charras
94c8a947ad
Progress reporter: remove wxPD_APP_MODAL style, not useful, that creates issues on OSX.
...
All platforms now use the same code.
2018-01-15 17:57:03 +01:00
Maciej Suminski
5141a4ecf0
Remove dangerous 'rm *' from a bash script
...
Fixes: lp:1545337
* https://bugs.launchpad.net/kicad/+bug/1545337
2018-01-15 11:37:13 +01:00
jean-pierre charras
b327da6e5a
Fix incorrect parsing in kicad2step when a footprint has both locked and placed options activated.
...
Fixes: lp:1742700
https://bugs.launchpad.net/kicad/+bug/1742700
2018-01-15 11:24:09 +01:00
Jon Evans
11fa7cdaf3
Save view control settings before dispatching new tool events
...
Fixes: lp:1741357
* https://bugs.launchpad.net/kicad/+bug/1741357
2018-01-15 10:46:09 +01:00
Jon Evans
6eb5733a0b
LSET::UIOrder and LSET::Technicals now match layer widget order
...
Fixes: lp:1673792
* https://bugs.launchpad.net/kicad/+bug/1673792
2018-01-15 10:08:30 +01:00
jean-pierre charras
63e55e9180
Try to fix a regression on OSX
...
Fixes: lp:1740909
https://bugs.launchpad.net/kicad/+bug/1740909
2018-01-14 17:38:48 +01:00
jean-pierre charras
e0f819d02e
Fix minor compil warning (not used var)
2018-01-14 15:57:46 +01:00
jean-pierre charras
0ee38bcb6b
fix incorrect filename
2018-01-14 15:04:24 +01:00
jean-pierre charras
5a74fe373b
Fix incorrect parent in dialog edit_module_text, when this dialog is called from an other dialog.
...
Fix also a coding style issue.
2018-01-14 14:28:48 +01:00
jean-pierre charras
82174b5b2d
Speed up zone fill calculations after a zone parameters edition.
2018-01-14 11:27:11 +01:00