Wayne Stambaugh
f15af3ac8d
Restore FindOpenSSL.cmake, the cmake version does not work on MinGW.
2016-01-14 10:31:59 -05:00
Dick Hollenbeck
f527b29e68
GitHub plugin: fix threading issues when libcurl is build against openssl.
...
* Dick Hollenbeck also contributed commit r6440. I inadvertently forgot to set
the Bazaar author tag before I committed it. My apologies.
* Switch to static linking of libcurl and on linux and windows and also
statically link in only required portions of openssl.
* Add the required thread locks which openssl needs.
* Remove the get curl version call from BASEFRAME since it pulls in curl and
openssl into every derived wxFrame class link image.
* Remove curl function from PGM_BASE, switch to atexit() instead. Anything in
PGM_BASE made the singletops bigger.
* Tested on Linux, Windows, and OSX.
2016-01-14 10:17:13 -05:00
jean-pierre charras
731f785256
Fix erroneous calculation of segments by circle count in shape_poly_set.cpp Inflate method.
2016-01-14 12:37:09 +01:00
Cirilo Bernardo
d519df22ca
Change parameter type to accommodate expected integer range
2016-01-14 13:50:16 +11:00
Cirilo Bernardo
f4414e8325
Change 3D cache manager to use boost SHA-1 digest rather than in-tree MD5
2016-01-14 13:49:40 +11:00
Simon Richter
5af18e553c
Compress consecutive numbers in pin summary.
...
For pin numbers ending in digits, consecutive numbers are collapsed to
ranges for a better overview.
2016-01-13 14:18:05 -05:00
Simon Richter
3c5a4a3505
Add pin number summary
...
Below the pin table, display which pins are currently defined, in order to
find gaps.
2016-01-13 14:17:54 -05:00
Chris Pavlina
f7c7920b0b
Add missing files from 6461 and 6462
2016-01-13 14:13:38 -05:00
Simon Richter
9e8acdc71a
Move container functionality
...
The "set of pin numbers" functionality is also useful outside the pin table
dialog, so create a wrapper class that exposes the relevant interfaces.
2016-01-13 14:09:24 -05:00
Simon Richter
a7b102c366
Move comparison helper class to generic header
...
This class wraps the comparison function in a way that is compatible with
std::map and std::set. This, too is generally useful, so it should be moved
to the generic header.
At the same time, the criterium for less-than is changed from "equal to -1"
to "smaller than 0", because technically the comparison function may return
other values.
2016-01-13 14:09:18 -05:00
Simon Richter
88ccd787a4
Split off pin number comparison
...
Pin numbers need to be ordered in more places in the future, so fold this
out of the pin table dialog into a utility class.
2016-01-13 14:09:07 -05:00
Tomasz Wlostowski
991b9d509a
GAL: apply grid offset when board is loaded and respect grid color setting. (fixes lp:1533168)
2016-01-13 13:37:52 -05:00
Wayne Stambaugh
99ba5259a6
Undo commit r6456 which completely breaks building on MSYS2/MingGW.
2016-01-12 21:50:18 -05:00
Wayne Stambaugh
cdba425bad
Eeschema: move get components from SCH_SHEET_PATH to SCH_SHEET.
...
* Add sheet number that is set by schematic file load order. This duplicates
the previous SCH_SHEET_PATH behavior.
* Uncouple SCH_REFERENCE and SCH_REFERENCE_LIST from SCH_SHEET_PATH.
* Add - operator to SCH_SHEET for comparison purposes. This duplicates the
behavior of SCH_SHEET_PATH::Cmp().
2016-01-12 21:31:34 -05:00
Simon Richter
b09c88042b
Synchronize FindwxWidgets.cmake with CMake project
2016-01-12 20:33:13 -05:00
Simon Wells
09ef795a02
Minor coding style fixes in headers
2016-01-12 11:33:33 -05:00
Chris Pavlina
3a8e78c586
Eeschema: always enable Replace All when there is a search term
2016-01-12 10:57:17 -05:00
Chris Pavlina
ee2752827a
Remove old, empty header
2016-01-12 10:35:27 -05:00
Cirilo Bernardo
2ef42001df
Added missing header to 3D plugin loader
2016-01-12 18:18:11 +11:00
Cirilo Bernardo
81977ed6b7
Finished checking debug/info messages and internationalization where appropriate
2016-01-12 18:03:17 +11:00
Cirilo Bernardo
3a5110f74a
Work in progress: checking debug output messages, internationalizing user info messages
2016-01-12 17:09:04 +11:00
Cirilo Bernardo
4919f2ba75
Fix IDF parse error when final EOL is missing
2016-01-11 23:02:12 -05:00
Simon Wells
731a137af0
Remove unused items in gpcb_plugin.cpp
2016-01-11 22:07:33 -05:00
Simon Wells
2028fa7926
Add missing header to richio
2016-01-11 21:41:33 -05:00
Cirilo Bernardo
217a5f39e1
Resync with main branch r6449
2016-01-12 10:36:31 +11:00
Cirilo Bernardo
c952cb4902
Changed VRML parsers to use LINE_READER
2016-01-12 10:12:50 +11:00
Simon Wells
9362a6ec24
Update FindwxWidgets.cmake to new version without -isystem
...
See: https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4d05f195
2016-01-11 17:15:48 -05:00
Simon Wells
a88e61a6e0
Fix uninitialized variable in PCBNEW_CONTROL::CursorControl
2016-01-11 17:12:49 -05:00
Simon Wells
712ff51d3f
Clarify assignment as conditional in EDIT_TOOL::Main
2016-01-11 17:12:11 -05:00
Simon Wells
dbb7b38bae
Delete unused variables in GRID_HELPER::AlignToSegment
2016-01-11 17:06:11 -05:00
Tomasz Wlostowski
95252267ec
Router: check layers of all traversed joints in FindLinesBetweenJoints(). (fixes lp:1531762)
2016-01-11 13:37:00 -05:00
Wayne Stambaugh
ef87a0de54
Fix build errors when casting wxString to const char * with some compilers.
2016-01-11 10:44:33 -05:00
jean-pierre charras
74b629fa19
Fix issues I created in rev 6442 (no issue on msys2/gcc5.3, but issues on Kubuntu 14.04/ gcc 4.8). I'll find a better fix later.
2016-01-11 10:13:13 +01:00
jean-pierre charras
41db57c5f0
pcbnew.py: fix error "NameError: name 'UNDEFINED_LAYER' is not defined" when running pcbnew/wxPython, which prevents from openning the Python console.
...
CMakeLists.txt: remove no more used boost libs, and add missing coroutine lib in list.
Fix 2 minor compil warnings.
2016-01-11 09:26:55 +01:00
Cirilo Bernardo
cbfd05e799
Change dynamic loader from wxPluginManager to wxDynamicLoader (wxPluginManager was causing segfaults)
2016-01-11 18:32:37 +11:00
Cirilo Bernardo
f123fab15b
Removed unnecessary platform-dependent includes
2016-01-11 16:25:38 +11:00
Cirilo Bernardo
e0b50b4002
Ensuring consistent internal kicad file separator character on MSWin
2016-01-11 16:24:51 +11:00
Cirilo Bernardo
c81a0d0f2f
Moved data transfer from OnOK to TransferDataFromWindow() and removed all instances of OnOK and OnExit
2016-01-11 16:14:35 +11:00
Cirilo Bernardo
14bee875cf
Replaced platform-dependent dynamic loading code with wxPluginManager
2016-01-11 15:47:08 +11:00
Cirilo Bernardo
2bdc4d770b
Fixed plugin->Load invocation (passed wxString instead of const char*)
2016-01-11 14:04:54 +11:00
Chris Pavlina
020ba521df
Remove FindOpenSSL.cmake (not used since removing avhttp)
2016-01-10 19:47:30 -05:00
Wayne Stambaugh
5c6c2a0661
GitHub plugin: fix potential multiple initialization of libcurl bug.
...
* Prevent libcurl from inadvertently being initialized twice.
* Dynamically load libcurl only when required.
* Reduce the number of worker threads when loading footprint libraries to
prevent issues with the GitHub plugin.
2016-01-10 16:44:37 -05:00
Jon Neal
f309eaab00
Pcbnew: spread and pick up new footprints when loaded.
2016-01-10 16:24:13 -05:00
Bernhard Stegmaier
7e2af163dd
Silence unused-local-typedef warnings when building with clang
2016-01-10 11:17:06 -05:00
Chris Pavlina
13c5341040
pcbnew/scripting: delete orphaned header
2016-01-10 09:08:13 -05:00
Chris Pavlina
fc22580d9a
Eeschema: replace accidental dynamic_casts with static_casts
...
Coverity: 134084, 134805, 134086, 134087
2016-01-09 18:36:09 -05:00
Chris Pavlina
b381d99300
Eeschema: fix uninitialized members
...
Coverity: 102614, 102723
2016-01-09 18:35:20 -05:00
Chris Pavlina
5e36c48012
Eeschema: remove dead code in autoplace (Coverity)
...
CID 134043, 134094 in autoplace_fields: variable overwritten due to dead code
that should have been removed.
2016-01-09 16:59:01 -05:00
Simon Schubert
c1b8a01e03
pcbnew: simplify pad DRC
...
This simplifies the pad DRC significantly and fixes a bug when two pads
are close to each other in a right angle, when the edge distances are
below the clearance, but the corner distance is actually above the
clearance:
+---..
|
+---..
+---+
| |
: :
---
----
<Chris> Pad DRC has handling for trapezoid pads and handling for square
pads. This patch looks relatively low-risk to me, as square is a subset
of trapezoid and the handling for trapezoid pads is not specific to that
pad type.
2016-01-09 16:07:52 -05:00
Chris Pavlina
a298e18d6d
Fix enum comparison warnings
2016-01-08 17:28:21 -05:00