Jeff Young
50b96b406f
More net selector fixes.
2018-09-27 16:58:12 +01:00
Jeff Young
3ae049c729
Address some MSW issues in net selector.
2018-09-27 14:44:42 +01:00
Jeff Young
f10635e8be
More work on arbitrary characters in references, etc.
2018-09-27 14:44:42 +01:00
jean-pierre charras
4a553b6423
NET_SELECTOR fix: remove SetHint() because it does not work on Windows, that prevents filtering.
...
Replaced by a wxStaticText
Minor cosmetic fixes (on Windows)
2018-09-27 13:19:09 +02:00
Jeff Young
521183a587
Work in progress to allow arbitrary chars in references, etc.
2018-09-27 11:56:51 +01:00
Jeff Young
eaf3d48260
Simplification of the net selector code to fix GTK issues.
2018-09-27 11:52:58 +01:00
Jeff Young
d1e64919a7
Fix for GTK net selector popup border.
2018-09-26 22:50:27 +01:00
Jeff Young
f7ffbb17bb
Another try at the net selector popup.
2018-09-26 21:57:35 +01:00
John Beard
04a1084549
QA: Place UTF8 tests under Boost unit tests
...
This transfers the old #if'd-out tests in utf8.cpp into a
proper Boost unit test in /qa (run on `make test`).
2018-09-26 09:32:26 -04:00
Jeff Young
86b654e493
Hook up 3D viewer to common preferences.
...
Also removes nanny limits on text sizes.
Fixes: lp:1794093
* https://bugs.launchpad.net/kicad/+bug/1794093
Fixes: lp:1794345
* https://bugs.launchpad.net/kicad/+bug/1794345
2018-09-25 20:47:03 +01:00
Jeff Young
3cc6e0cf02
Fixes to NET_SELECTOR event loop for non-OSX platforms.
...
Don't assume events are always Pending(). Other platforms handle
idle events differently.
2018-09-25 17:56:38 +01:00
Jeff Young
37f7faf433
Move lock checks to CLIENT_SELECTION_FILTER.
...
Also checks render item visibility as well as layer visibility
when making selections.
Fixes: lp:1066220
* https://bugs.launchpad.net/kicad/+bug/1066220
Fixes: lp:1541756
* https://bugs.launchpad.net/kicad/+bug/1541756
2018-09-25 17:56:38 +01:00
Jeff Young
66848b9334
Show pads when parent footprint is selected.
...
Fixes: lp:1670090
* https://bugs.launchpad.net/kicad/+bug/1670090
2018-09-23 23:51:13 +01:00
Seth Hillbrand
ae13e441af
pcbnew: Yield in GTK for redraw
...
GTK uses a level of cooperative multitasking when dealing with
secondary event loops. This gives the wm enough leeway to process the
redraw before returning to the secondary loop
2018-09-22 19:38:42 -07:00
Jeff Young
cbce4d7663
Work around a stupid assert in GTK wxGUIEventLoop::Dispatch()
2018-09-22 19:38:42 -07:00
Jeff Young
0309228276
Don't allow drawing to a zero-height or zero-width GAL canvas.
...
Fixes: lp:1793913
* https://bugs.launchpad.net/kicad/+bug/1793913
2018-09-22 22:06:40 +01:00
Jeff Young
458af25282
Turn problematic code off for now....
2018-09-22 17:54:59 +01:00
Jeff Young
4edf18b023
Attempt to fix Linux build issue.
2018-09-22 17:41:52 +01:00
Jeff Young
5974899fa5
Clean up file locations and names.
2018-09-22 16:23:13 +01:00
Jeff Young
666da3849b
Make esc dismiss net and layer selector popups.
2018-09-22 16:23:13 +01:00
Seth Hillbrand
f8784f30a8
Removing OpenMP
...
This commit finishes the removal of OpenMP from the KiCad codebase.
Removed in this commit are the OpenMP calls in 3d-viewer and
qa/polygon_triangulation as well as all references in CMakeLists.txt
std::thread is used instead for multithreaded computation
2018-09-21 12:44:20 -07:00
Fabio Rossi
21485e6f24
kicad_curl should be built only with BUILD_GITHUB_PLUGIN enabled
2018-09-21 12:44:20 -07:00
Jeff Young
42ab116bc2
Rewrite the NET_SELECTOR combobox in the hopes of better platform support.
2018-09-21 20:40:04 +01:00
Simon Richter
e985f797c3
Return reference to current object from operator=
2018-09-21 05:03:30 -07:00
Seth Hillbrand
8c3a82e526
Code cleanup: Fixing assignment operators
2018-09-20 20:15:47 -07:00
Maciej Suminski
cd5b1c2885
set_wxMenuIcon: prevent null pointer dereference
2018-09-19 14:07:50 +02:00
Jeff Young
e485cee384
Honour ModEdit layer colors in browser and previews.
...
Fixes: lp:1793141
* https://bugs.launchpad.net/kicad/+bug/1793141
2018-09-18 19:14:35 +01:00
Seth Hillbrand
9e33d38cd5
unit_binder: allow updates without triggers
...
Adds a helper function to allow unit binder calls that change a value
but shouldn't trigger wxevents
2018-09-17 15:55:22 -07:00
Wayne Stambaugh
aacb3f9075
Update translators list to include simplified Chinese translator.
2018-09-17 10:12:03 -04:00
Jeff Young
e45afdb912
Revert absolute-path asserts and fix off-by-one bug.
...
Fixes: lp:1767582
* https://bugs.launchpad.net/kicad/+bug/1767582
2018-09-15 22:36:09 +01:00
Jeff Young
02a3f83040
Implement poor-man's RTTI for use over KiWAY.
...
Fixes: lp:1777883
* https://bugs.launchpad.net/kicad/+bug/1777883
2018-09-15 20:06:42 +01:00
Jeff Young
872e1e6532
Remove asserts for absolute paths.
...
You can, for instance, specify relative paths via the command
line.
Fixes: lp:1767582
* https://bugs.launchpad.net/kicad/+bug/1767582
2018-09-15 20:06:42 +01:00
Wayne Stambaugh
af2dcd61bb
Fix build error against head of wxWidgets master branch.
...
The wxTreeCtrl header file wx/treectrl.h needs to be included in
common/widgets/paged_dialog.cpp.
2018-09-14 10:49:54 -04:00
jean-pierre charras
271fb7fed4
Make the color picker dialog translatable
...
Fixes: lp:1792556
https://bugs.launchpad.net/kicad/+bug/1792556
2018-09-14 13:34:53 +02:00
Maciej Suminski
b39bde0f0c
Specify string size when creating wxString from const char*
...
wxString constructor will determine string length using strlen() when it
is not explicitly specified, but there is no termination byte added when
reading file contents to 'buffer' variable.
2018-09-14 10:13:45 +02:00
Seth Hillbrand
3ebba6cbe1
pcbnew: Limit zone simplification
...
Commit 73c229714
was a bit of a sledgehammer for the associated problem
of degenerate points. This commit replaces that one by only performing
additional simplification of the zone polygons on those polygons that
fail our initial triangulation attempt.
2018-09-12 15:28:13 -07:00
Jeff Young
23726116ee
Revert code that got accidentally committed.
...
(This didn't fix the problem anyway; I had to fix it in our OSX
wxWidgets branch.)
Fixes: lp:1792196
* https://bugs.launchpad.net/kicad/+bug/1792196
2018-09-12 19:34:55 +01:00
Jeff Young
9b50b94069
Move OnUpdateUI event to dialog.
...
Fixes: lp:1792096
* https://bugs.launchpad.net/kicad/+bug/1792096
2018-09-12 14:01:36 +01:00
Jeff Young
806b1fc63d
Fix bugs to enable read-only grid cells to be copied.
...
Fixes: lp:1791129
* https://bugs.launchpad.net/kicad/+bug/1791129
2018-09-12 14:01:36 +01:00
Jeff Young
cbb3492d98
Standardize Footprint Viewer and Footprint Browser.
...
Add Display Settings to Footprint Browser.
Make each of them OpenGL on OSX and Cairo on other platforms.
Allow auto-zoom to be turned off and save last zoom setting.
Make ordering of tools in htoolbar consistent.
Standardize grid and zoom drop-downs.
Fixes: lp:1791667
* https://bugs.launchpad.net/kicad/+bug/1791667
2018-09-12 14:01:35 +01:00
Maciej Suminski
f5de8cd3e1
Fix a possible out-of-bounds access in WX_GRID::SetTable()
2018-09-12 10:53:16 +02:00
Alexey Chernov
3ad1cd8d57
Adding OpenSSL include directory explicitly
...
Fixes: lp:1791164
* https://bugs.launchpad.net/kicad/+bug/1791164
2018-09-10 07:14:37 -07:00
Seth Hillbrand
4eece522df
kicad: keep KIDIALOG boxes above other windows
...
Until answered, dialog boxes should remain at the front. This flag only
works for MSW and GTK.
2018-09-08 21:24:29 -07:00
Seth Hillbrand
ec33381064
pcbnew: Keep Yes/No dialogs above the windows
...
Modal yes/no questions should not be allowed to fall behind other
windows. They need to be answered before the program continues and
clicking outside of the dialog should not hide dialog itself.
Fixes: lp:1790640
* https://bugs.launchpad.net/kicad/+bug/1790640
2018-09-08 21:09:57 -07:00
qu1ck
c68ad411ff
pcbnew: add 3d models properties to swig
...
Fixes: lp:1758858
https://bugs.launchpad.net/kicad/+bug/1758858
2018-09-08 10:28:55 -04:00
jean-pierre charras
80b25aa601
Fix incorrect calculations in WORKSHEET_DATAITEM::GetMarkerSizeUi()
...
It creates a lot of integer overflow in Pcbnew in Debug mode (Legacy mode), although it ha meaning onlt for the Page Layout Editor.
This function should be deprecated when the GAL canvas is used in Page Layout Editor.
2018-09-06 11:48:53 +02:00
Seth Hillbrand
73c2297144
triangulation: Fracture/Simplify all polygons
...
Calls the simplify/fracture polygon code on any polygon prior to
tesselation. This avoids issues with degenerate polygons where the
degenerate points are not sequential.
Fixes: lp:1790534
* https://bugs.launchpad.net/kicad/+bug/1790534
2018-09-05 15:11:13 -07:00
Thomas Pointhuber
c170e8930b
Fix focus bug and possible race-condition for path deletion dialog
...
Fixes: lp:1788873
* https://bugs.launchpad.net/kicad/+bug/1788873
2018-09-04 08:52:51 +02:00
Seth Hillbrand
a6325aab29
Replacing Tesselation
...
Replaces Poly2Tri with updated code to process polygons faster and more
robustly. Notably, we can now handle overlapping holes in the polygons,
allowing us to cache the triangulation of complex boards
2018-09-01 19:30:50 -07:00
jean-pierre charras
23ec0cda31
Fix use of a deprecated wxGrid function.
2018-08-30 09:07:33 +02:00