Bernhard Stegmaier
0135d11412
Fix macOS pinch-to-zoom for 3d-viewer.
2017-12-18 16:26:01 +01:00
Bernhard Stegmaier
19d7112fa2
Merge HIDPI_GL_CANVAS wrapper with OPENGL_GAL implementation.
2017-12-18 16:26:01 +01:00
Bernhard Stegmaier
909d95b5be
Create HIDPI_GL_CANVAS wrapper for transparent wxGLCanvas HiDPI/Retina support. Enable HiDPI/Retina for 3d-viewer.
2017-12-18 16:26:01 +01:00
Tomasz Włostowski
9da1dc4c51
pcbnew: highlight net highlights ratnsest too
...
Fixes: lp:1738636
* https://bugs.launchpad.net/kicad/+bug/1738636
2017-12-18 15:30:35 +01:00
jean-pierre charras
1f78de409f
Define "template<> struct hash<wxString>" in Kicad only if wxWidgets version < 3.1.0, because it is already defined in 3.1.0
2017-12-18 09:53:14 +01:00
jean-pierre charras
9d4bfbded8
libedit, UI very minor change:
...
Enable "save curr lib" tool of main toolbar when modified even if this lib is empty.
It happens when all items are erased, and it is consistent with the close libedit dialog
that ask for saving all modified libraries
2017-12-18 09:50:28 +01:00
Christian Jacobsen
ff4829eee6
Added a validity check in SIM_PLOT_PANEL::IsGridShown()
...
Fixes: lp:1712086
* https://bugs.launchpad.net/kicad/+bug/1712086
2017-12-18 09:34:25 +01:00
Andrew Wygle
9413793ef4
Eeschema: Correctly assign unit when copy/pasting
...
Fixes: lp:1738656
* https://bugs.launchpad.net/kicad/+bug/1738656
2017-12-17 22:27:31 +01:00
Seth Hillbrand
3f24128f17
Eeschema: Updates pin cache correctly for multi-unit components
...
Fixes: lp:1738615
* https://bugs.launchpad.net/kicad/+bug/1738615
2017-12-17 14:44:12 -05:00
Maciej Suminski
2e00169ae7
Explicitly cast wxString to std::string when throwing std::exception
2017-12-17 20:17:02 +01:00
Maciej Suminski
3f68af177a
Eagle Schematic Importer fixes
2017-12-17 19:55:23 +01:00
Maciej Suminski
378846c2e3
Eagle Schematics Importer: support for UTF-8
...
Fixes: lp:1736083
* https://bugs.launchpad.net/kicad/+bug/1736083
2017-12-17 19:54:21 +01:00
Maciej Suminski
812b8b081d
Implemented std::hash<wxString> specialization
...
Thanks to that wxString objects can be stored in certain
STL containers, e.g. unordered_map.
2017-12-17 18:45:40 +01:00
Maciej Suminski
124c82f1cf
Eagle Schematic Import: fixed imported libraries location
...
Standalone eeschema did not have the project path set when importing
a non-KiCad sheet. Due to this any libraries created during the import
were saved to the directory of eeschema executable instead of the actual
schematic directory.
2017-12-17 18:45:40 +01:00
Maciej Suminski
7665a839cd
Eagle Schematic Import: try harder to generate a meaningful library name
...
The previous implementation relied only on the project name. When it is
set, the imported library was named '-eagle-import'. Now it tries
the project name and then the file name, using 'noname-eagle-import'
as fallback.
The library name is stored in the plugin to avoid changing the library
name after the project name has been set.
2017-12-17 18:45:40 +01:00
Maciej Suminski
a13c89c83d
Removed old debug output
2017-12-17 18:43:43 +01:00
Eldar Khayrullin
9f2c6e20cb
P-Cad PCB importer fixes
2017-12-17 11:27:19 +01:00
Eldar Khayrullin
4cd3992b94
pcad2kicadpcb_plugin: import graphic polygons from modules
...
Fixes: lp:1725931
* https://bugs.launchpad.net/kicad/+bug/1725931
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
d62d3b8e21
pcad2kicadpcb_plugin: map layers Top/Bot Assy to F/B Fab
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
87566eedc5
pcad2kicadpcb_plugin: fix size of text
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
613272852d
pcad2kicadpcb_plugin: fix import a flipped RefDes
...
Fixes: lp:1730172
* https://bugs.launchpad.net/kicad/+bug/1730172
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
9620a43022
pcad2kicadpcb_plugin: correct text position with arbitrary angle
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
6f0e0826fa
pcad2kicadpcb_plugin: unlock orientation of footprint fields
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
c9852d7c81
pcad2kicadpcb_plugin: import circles
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
08b71cd252
pcad2kicadpcb_plugin: use a valid font properties
...
Use current selected font (Stroke, TrueType) properties.
Import TrueType Font properties: bold, italic.
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
897702b2dc
pcad2kicadpcb_plugin: prepend numerical Ref with '.'
...
Kicad (EESchema) doesn't support only numerical references (like '1').
Prepend with '.' same references (convert reference '1' to '.1').
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
21ddb2d989
pcad2kicadpcb_plugin: use default text parameters if not defined
2017-12-17 10:58:29 +01:00
jean-pierre charras
845ca5f641
very minor fixes in a few strings (replace ' by ", and module by footprint)
2017-12-16 20:46:55 +01:00
jean-pierre charras
2b4a2ce67b
update demo ecc83
2017-12-16 20:44:52 +01:00
jean-pierre charras
766a9bec1e
Allows negative solder-mask margin in dialog pad properties.
...
However, this is not allowed for custom shapes pads, because it can create very strange solder mask shapes.
2017-12-16 20:43:47 +01:00
Seth Hillbrand
0ef2a7f08b
Eeschema: Mark wire-bus entries correctly
...
Marks wire-bus entries as not dangling if there is at least a wire
and a bus on each end. Corrects behavior when wires and buses overlap
at the endpoint.
2017-12-16 09:03:23 -05:00
jean-pierre charras
2398d5ef8b
DIALOG_EDIT_COMPONENTS_LIBID: enhancement in orphan automatic remap:
...
add dialog to choose the right candidate when more than one is found
2017-12-16 14:50:37 +01:00
Jeff Young
833534537d
Fix touchpad tapping.
...
Don't apply missing-mouse-up logic to mouse-down events. The
logic depends on mouse-state, and the OS-synthesized mouse-up
and mouse-down events from a tap don't contain any state.
Fixes: lp:1737010
* https://bugs.launchpad.net/kicad/+bug/1737010
2017-12-15 16:59:19 -05:00
Seth Hillbrand
6f3e55d344
wx: Add double-click handling in disambiguation cases
...
Fixes: lp:1154020
* https://bugs.launchpad.net/kicad/+bug/1154020
2017-12-15 16:32:19 -05:00
Jeff Young
27a55c5cd4
Commit in-place editing changes when dialog OK'ed.
...
Grid control in-place editing changes are not automatically
committed (at least on OSX).
Fixes: lp:1736836
* https://bugs.launchpad.net/kicad/+bug/1736836
2017-12-15 08:01:43 -05:00
Simon Richter
a9ccf1161b
Fix quotes in UI messages
...
This replaces all single and angle bracket quotes in UI messages with
double quotes, for consistency.
Sorry to all translators.
2017-12-15 07:33:07 -05:00
jean-pierre charras
9ed0f2184b
Fix: Gerber plot output creates incorrect custom pads when a rectangular anchor pad with x size > y size is used.
...
Fixes: lp:1738384
https://bugs.launchpad.net/kicad/+bug/1738384
2017-12-15 12:33:28 +01:00
Tomasz Włostowski
75b21d010b
pcbnew: more thread (and nested wx event loop) safety for the zone filling/connectivity algo
2017-12-14 23:49:46 +01:00
Seth Hillbrand
87938b06b4
Eeschema: TestDanglingEnds on Cross-probe
...
Fixes: lp:1672381
* https://bugs.launchpad.net/kicad/+bug/1672381
2017-12-14 16:04:30 -05:00
Eldar Khayrullin
185c77e2fd
pcad2kicadpcb_plugin: fix compiling warning `override`
2017-12-14 18:52:11 +01:00
Maciej Suminski
9bb660a6bc
Fix P-Cad importer plugin warnings
...
A few methods differed by the number or type of arguments in derived
classes. They were changed to match the base class method signature and
marked as 'override'.
2017-12-14 18:52:05 +01:00
jean-pierre charras
dee93e5eeb
Minor fix: rename LIB_PART::m_dateModified to LIB_PART::LIB_PART::m_dateLastEdition
...
and use m_dateLastEdition type for LIB_PART::m_dateLastEdition
2017-12-14 17:27:40 +01:00
Maciej Suminski
4671b9b34e
Fixed module removal when rotating/flipping a placed module
...
Module placer did not mark the newly placed modules as selected,
but all edit functions (rotate/place/etc.) rely on getting a selected
item. When a rotation/flip command was issued, the newly placed module
was dropped and the one underneath the cursor has been rotated.
To fix this the newly placed modules are marked as selected.
It also simplifies the placer code a bit.
Fixes: lp:1738148
* https://bugs.launchpad.net/kicad/+bug/1738148
2017-12-14 17:13:42 +01:00
Maciej Suminski
9c2d1cf890
Fixed BOARD_COMMIT::Revert()
...
Revert() method was still not aware of CHT_DONE flag, therefore
the switch statement was always invalid. To fix it, the commit
type is split to type and flags as is done in Push() method.
2017-12-14 17:13:42 +01:00
Maciej Suminski
d599a83c4b
Removed unused variables in PCB_VIEW
2017-12-14 17:13:42 +01:00
jean-pierre charras
dc6c98310f
Export drawing in symbol editor results in error message and no drawing file (.sym file) saved
...
Fixes: lp:1737875
https://bugs.launchpad.net/kicad/+bug/1737875
2017-12-14 16:45:30 +01:00
jean-pierre charras
a287748921
Cosmetic enhancement: Add icons to track length tuner menu.
2017-12-14 14:33:20 +01:00
Tomasz Włostowski
b47a06e42a
poly2tri: include stdexcept in each file throwing an std::exception.
2017-12-14 02:29:33 +01:00
Tomasz Włostowski
a83ece88fd
poly2tri use std::runtime_error, fixes builds on many Linux distributions
2017-12-14 02:14:35 +01:00
Tomasz Włostowski
eed924fe45
Fixed zone filling crash & thermal stubs inconsistency
...
Fixes: lp:1737557
* https://bugs.launchpad.net/kicad/+bug/1737557
Fixes: lp:1737542
* https://bugs.launchpad.net/kicad/+bug/1737542
Fixes: lp:1737541
* https://bugs.launchpad.net/kicad/+bug/1737541
2017-12-14 01:29:08 +01:00