Seth Hillbrand
4d2e953f42
Cleanup: Replace C-only deprecated headers
This replaces headers deprecated by C++14 with their equivalent
replacement
6 years ago
Jean Philippe EIMER
e0f7958dbd
Compatibility fixes for GLM 0.9.9
Fixes: lp:1746546
* https://bugs.launchpad.net/kicad/+bug/1746546
8 years ago
Camille
3168d03fe5
Fix unnecessary copy initialization detected by clang-tidy
8 years ago
Marvin Schmidt
69974b73db
Remove some extra semicolons
8 years ago
Cirilo Bernardo
5013ea2e8e
Added comments on skipped patterns in VRML2 parser
9 years ago
Cirilo Bernardo
68bcdec87e
Workaround for non-ASCII filenames in Windows
9 years ago
Simon Richter
b0f9864bc4
Clean up warnings from exception handlers
The exception objects caught are either not referenced at all, or only in
debug builds. This avoids the warnings for the unused variables.
9 years ago
Cirilo Bernardo
44ba343a7b
Changed test for invalid numeric strings in VRML files
9 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
Dick Hollenbeck
7311f07eaf
SWIG Improvements
*) Extend SWIG support deeper into the BOARD class.
*) Move swig *.i files into a directory identified for SWIG, in preparation
for a parallel universe involving Phoenix's SIP.
*) Move swig files which will be common to both eeschema and pcbnew into
common/swig.
*) Sketch out a "common" python module, and plan on dovetailing that into a
libkicad_shared.{dll,so}
*) Add common/swig/ki_exceptions.i and define a macro HANDLE_EXCEPTIONS()
which is to be applied to any function which needs C++ to python
exception translation.
*) Move the test for SWIG tool into top level CMakeLists.txt file for use
in all python modules beyond pcbnew, i.e. eeschema and common.
*) Add SWIG_MODULE_pcbnew_EXTRA_DEPS which generates a better Makefile, one
which rebuilds the swig generated *.cxx file when one of its dependencies
change.
*) Re-architect the board.i file so that it can be split into multiple *.i
files easily.
*) Make some KIWAY from python progress, in preparation for Modular KiCad
phase III.
9 years ago
jp-charras
4a3cb050ed
Fix incorrect management of C locale in vrml plugin
9 years ago
Cirilo Bernardo
9b2dba2b1b
3D Viewer: fix swapped VRML material colors.
* Fix a bug in the VRML2 parser which exchanged the blue and green components
of the ambient lighting.
9 years ago
Cirilo Bernardo
dbef1d41c5
Remove dead code (Coverity CID 149046)
10 years ago
Cirilo Bernardo
47e2aab7de
PATCH: segfault in VRML2 plugin
The attached patch fixes a segfault in the VRML2 plugin
which is caused by Shape entities with empty vertex
lists.
10 years ago
Cirilo Bernardo
0ec15c9157
VRML plugin: VRML plugin. This patch modifies the behavior of the VRML name parser so that a name may be immediately succeeded by ] or }.
The previous behavior was to reject a valid name since the brace or bracket was considered an invalid character within a name.
10 years ago
Cirilo Bernardo
c2a60d14d7
3D: fix issues reported by Coverity scan
*** CID 143752: Incorrect expression (USELESS_CALL)
*** CID 143751: Incorrect expression (UNUSED_VALUE)
*** CID 143749: Uninitialized members (UNINIT_CTOR)
*** CID 143748: Uninitialized members (UNINIT_CTOR)
*** CID 143747: Uninitialized members (UNINIT_CTOR)
*** CID 143746: Uninitialized members (UNINIT_CTOR)
*** CID 143745: Uninitialized members (UNINIT_CTOR)
*** CID 143744: Uninitialized members (UNINIT_CTOR)
*** CID 143740: Null pointer dereferences (NULL_RETURNS)
*** CID 143739: Memory - corruptions (MISMATCHED_ITERATOR)
*** CID 143735: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
*** CID 143734: Error handling issues (CHECKED_RETURN)
10 years ago
Cirilo Bernardo
20b40aba1c
Fixed bad delete/delete [] invocations and other warnings and errors as suggested by cppcheck
10 years ago
Cirilo Bernardo
18bb852030
Removed incorrect special treatment of commas within VRML files
10 years ago
Cirilo Bernardo
2dfd8064d4
Fix filename resolution within VRML2 Inline{}
10 years ago
Cirilo Bernardo
5e0e2538d0
Added comments to 3D Plugin CMake files regarding debugging output
10 years ago
Bernhard Stegmaier
5b0a250609
Fix compilation and install for OSX plus general code cleanup
10 years ago
Cirilo Bernardo
611d5de179
Removed code stubs for WWWInline support in VRML1; the construct will not be supported
10 years ago
Cirilo Bernardo
b0a26f32ef
Fixed bugs in VRML/X3D parser log code
10 years ago
Cirilo Bernardo
d2a13efc12
Changed VRML2 parser debug output from stderr to wxLogTrace
10 years ago
Cirilo Bernardo
d6af042c64
Revert accidental change to VRML logging levels
10 years ago
Cirilo Bernardo
14178ee521
Change logging of X3D and VRML1 parsers from stderr to wxLogTrace
10 years ago
Cirilo Bernardo
0d14fd0f9b
Fix scaling bug in vrml2_box.cpp
10 years ago
Cirilo Bernardo
684e41358a
Added support for VRML2 Inline{}
10 years ago
Cirilo Bernardo
970955d1a2
Improved non-compliant VRML1 model support by processing all top-level nodes (spec. mandates single top-level node which must be a grouping node)
10 years ago
Cirilo Bernardo
52e093087e
Relaxed VRML1 parsing rules to support yet more non-compliant models
10 years ago
Cirilo Bernardo
7ffa20a668
Fixed bug: X3D models not scaled to conform to legacy expectation
10 years ago
Cirilo Bernardo
8e63862d7c
Fixed coloring bugs related to uninitialized variable
10 years ago
Cirilo Bernardo
3c22f0f48f
Bumped VRML plugin version number
10 years ago
Cirilo Bernardo
943c5d8ea8
Changed default creaseAngle from ~30deg (VRML spec) to ~42deg for prettier smoothing
10 years ago
Cirilo Bernardo
99aba8f261
Changed handling of ambientIntensity; change of major version in SG* lib
10 years ago
Cirilo Bernardo
67832dbc74
Removed temporary debug info message
10 years ago
Cirilo Bernardo
c180390a08
Converted WRLVEC2, WRLVEC3, WRLROTATION to GLM equivalents
10 years ago
Cirilo Bernardo
f52744b29c
Added back-pointers to referenced entities
10 years ago
Cirilo Bernardo
cd6b0fbef1
Added visualization of X3D models
10 years ago
Cirilo Bernardo
ffa0775074
Added preliminary X3D parser with no visualization data
10 years ago
Cirilo Bernardo
bf3d2b252e
Fixed VRML normals calculations
10 years ago
Cirilo Bernardo
b987445676
Forced smoothed normals calculations for VMRML2 parser
10 years ago
Cirilo Bernardo
ca9ada70a2
Deactivate SG* VRML output
10 years ago
Cirilo Bernardo
1f796ef494
Fixed normals calculations in wrlfacet
10 years ago
Cirilo Bernardo
eadb34e22e
Remove accidental activation of SG->VRML debug write
10 years ago
Cirilo Bernardo
8fa9e28e85
Fixed inverted normals bug in wrlfacet
10 years ago
Cirilo Bernardo
55c7c61458
Initial introduction of improved VRML normals calculations; working on VRML1
10 years ago
Cirilo Bernardo
8dd744f635
Improved 3D cache manager's ability to replace outdated cache models
10 years ago
Cirilo Bernardo
b1d35965f5
Relax VRML1 specifications conformance to support more non-conformant models
10 years ago
Cirilo Bernardo
dddc3d91e9
Cleaned up 3D SceneGraph API by removing references to wxString
10 years ago