Commit Graph

15384 Commits

Author SHA1 Message Date
wmayer
53321bb6a3 Py3: make string concatenation to work with Py2 and Py3 2019-03-18 12:17:56 +01:00
Yorik van Havre
bbd78986bb Fixed six.py2 -> PY2 2019-03-17 20:59:22 +01:00
Yorik van Havre
0a34b6d9a0 Fixed six.py2 -> PY2 2019-03-17 20:59:08 +01:00
Yorik van Havre
dad62a13e3 Fixed six.py2 -> PY2 2019-03-17 20:58:51 +01:00
cclauss
ec35f61985 six.text_type --> six.string_types 2019-03-17 20:58:34 +01:00
cclauss
5f9d5db1de Remove a stray 'not' 2019-03-17 20:58:17 +01:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
Torsten Sadowski
0e44b87446 Fixed Python3 build, Python slots Qt slots clash 2019-03-17 10:22:40 +01:00
Torsten Sadowski
888a0839d2 Fix Windows build 2019-03-17 10:22:25 +01:00
Torsten Sadowski
1914aec92f Spacemice support refactored to use a common base class 2019-03-17 10:21:59 +01:00
Torsten Sadowski
5d7d278df2 Fix Windows build 2019-03-17 10:21:43 +01:00
Torsten Sadowski
9840275af6 Copyright notices added 2019-03-17 10:20:50 +01:00
Torsten Sadowski
b527a7b916 Not used for SpaceNavigator devices, no change necessary 2019-03-17 10:15:16 +01:00
Torsten Sadowski
f88474454d Use std::vector to copy Spacemouse data from helper class to Application 2019-03-17 10:03:41 +01:00
Torsten Sadowski
020fb993b8 x11EventFilter must be overridden for Qt4 2019-03-17 10:03:20 +01:00
Torsten Sadowski
8e48d58bcc Fixed compilation of 3Dconnexion/libspacenav wit Qt4 2019-03-17 10:02:56 +01:00
Torsten Sadowski
a2d4d3bb91 Use QSocketNotifier for the libspnav polling interface 2019-03-17 10:02:38 +01:00
Torsten Sadowski
d14917ebff GuiNativeEventLinux* compiles again after changes for Mac 2019-03-17 10:02:12 +01:00
Torsten Sadowski
89927ad5b7 Mac build of new Spacenavigator class works 2019-03-17 10:01:50 +01:00
Torsten Sadowski
e6a7c4ee8c Blind update for Windows code 2019-03-17 10:01:30 +01:00
Torsten Sadowski
535f4cb161 The platform dependant stuff is in different files chosen by the build system. Building on Linux/Qt5 works without libspacenav, with the X11 interface and the polling interface. All run. Spacemouse works with the polling interface and should work with the X11 interface under a real X system. 2019-03-17 10:00:49 +01:00
Torsten Sadowski
35fec577c1 Spacemouse platform dependent code is moved to different classes. Compiles and works for Linux 2019-03-17 10:00:24 +01:00
Torsten Sadowski
0435211582 X11 independant implementation for USB SpaceNavigator, works with Wayland 2019-03-17 09:59:58 +01:00
Sabin Iacob
79bd762b13 Path: fix grbl_post preamble parameter handling 2019-03-17 09:39:44 +01:00
Sabin Iacob
635fef59d1 Path: fix grbl_post postamble parameter handling 2019-03-17 09:39:44 +01:00
wandererfan
664f7dc9f6 Fix PVS-studio error
- QGCMark duplicates field & method from base class
2019-03-16 20:11:58 -04:00
wmayer
f2bd5c3b8c PVS: V703 It is odd that the 'previewFaceSet' field in derived class 'ViewProviderPrimitive' overwrites field in base class 'ViewProviderAddSub' 2019-03-16 12:41:53 +01:00
wmayer
7cdef5dcd9 reset expressions of a property when removing it 2019-03-16 00:01:33 +01:00
wmayer
136934ea13 in case object deletion fails then make sure to re-enable updates of the main window 2019-03-15 14:43:50 +01:00
wmayer
0dde354716 Document::breakDependency should handle exceptions to avoid to leave document in an inconsistent state 2019-03-15 14:41:43 +01:00
Abdullah Tahiri
22f34a53a9 Complete parameter comments 2019-03-14 23:46:46 +01:00
Abdullah Tahiri
434ad220cf Correct paramter comments 2019-03-14 23:46:45 +01:00
Abdullah Tahiri
1b64c1458b PVS Fix 2019-03-14 23:46:45 +01:00
Craig Marshall
3a19456672 Fix #2034 with more precision attempt 2 2019-03-14 23:16:14 +01:00
Fabio Rossi
e9af9b74f3 An error happens when building with gcc8:
freecad-9999/src/Mod/Assembly/App/opendcm/core/imp/clustergraph_imp.hpp: In member function ‘void dcm::ClusterGraph<edge_prop, vertex_prop, cluster_prop, objects>::initIndexMaps()’:
freecad-9999/src/Mod/Assembly/App/opendcm/core/imp/clustergraph_imp.hpp:881:38: error: expected primary-expression before ‘>’ token
         setProperty<vertex_index_prop>(*vit.first, c);
                                      ^
freecad-9999/src/Mod/Assembly/App/opendcm/core/imp/clustergraph_imp.hpp:886:36: error: expected primary-expression before ‘>’ token
         setProperty<edge_index_prop>(*eit.first, c);
                                    ^
2019-03-14 23:11:16 +01:00
wmayer
9a835dcafc fix mouse selection for high DPI screens 2019-03-14 19:51:44 +01:00
wmayer
f2447f5781 fixes 0003130: FreeCAD 0.17 Qt5 bugs with external display 2019-03-14 19:28:11 +01:00
wmayer
b7dba09a5a improve drawing of overlay pixmaps for high DPI screens 2019-03-14 18:32:21 +01:00
wmayer
047a18ccb5 PVS: V601 The bool type is implicitly cast to the double type
PVS: V668 There is no sense in testing pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error
2019-03-13 14:09:10 +01:00
wmayer
7bcee67566 PVS: V728 An excessive check can be simplified 2019-03-13 13:49:04 +01:00
wmayer
23bc00e1a1 PVS: V1024 The 'file' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data 2019-03-13 13:34:45 +01:00
wmayer
56b9d509a1 PVS: V519 Variable is assigned values twice successively 2019-03-13 12:55:31 +01:00
wmayer
10d267b5a2 PVS: V522 There might be dereferencing of a potential null pointer 2019-03-13 12:47:05 +01:00
wmayer
21c1301df1 PVS: V794 The assignment operator should be protected from the case of 'this == ...' 2019-03-13 12:38:46 +01:00
wmayer
ba96c0773a PVS: V688 A local variable possesses the same name as one of the class members, which can result in a confusion 2019-03-13 11:58:43 +01:00
wmayer
ac92e1e98d extend mesh repair functions 2019-03-13 01:39:27 +01:00
wmayer
afed9ba5d5 PVS: fixes several issues 2019-03-13 01:19:00 +01:00
wmayer
8bcd3aa338 fixes 0003861: Sketch change plane when changing Attachment Offset (UI quirk) 2019-03-12 22:54:37 +01:00
wmayer
4e8a684a6d PVS: fix several issues 2019-03-12 22:38:22 +01:00
wmayer
174b7143ef PVS: V547 Expression is always true/false 2019-03-12 18:33:26 +01:00