Thomas Krijnen
815ed07192
MinGW fixes and warnings
2016-06-05 14:03:03 +02:00
Thomas Krijnen
009870135f
Merge branch 'pr/78' into mingw
2016-06-05 14:01:55 +02:00
Fredounet
3b169219af
MSYS2 Mingw64 compilation. Compilation successful considering everything but the following:
...
- IFC4 (only IFC2x3 tried; should work)
- VLD
- IfcMax
- shared libraries
2016-05-29 17:58:03 +01:00
stgatilov
b5c4eb3b6f
IfcParse dynamic linking, IFCPARSE_NO_REGEX, fixes for three memory leaks ( #76 )
...
* CMake: moved setting link directories before all the projects.
* Added IfcParse_Export header for declaring export macro.
* Added IFCPARSE_STATIC_DEFINE macro to all projects.
* Added include for export macro to swig file.
* Added IfcParse_EXPORT macro for all classes in headers generated by express parser.
* Allow removing boost.regex dependency by defining macro IFCPARSE_NO_REGEX.
* Fixed bug in deletion of ICU converter.
* Added export macro to most of the classes across headers
* Fixed memory leak: delete nested IfcAbstractEntity in EntityArgument.
* Fixed memory leak in destructor of IfcWritableEntity (args values).
2016-05-29 14:12:57 +02:00
Johannes Obermayr
42188904af
Fixes to build on openSUSE/Packman. ( #67 )
...
- Support different BINDIR, INCLUDEDIR and LIBDIR on install
- Take right python dir on x86_64 arch
- Fix build against Boost >= 1.58
- Make it possible to build libIfcGeom shared to reduce size of dependent binaries
- Fix INSTALL_RPATH
- Fix some more compiler warnings
2016-05-15 15:47:21 +02:00
Thomas Krijnen
ee56aad90d
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcconvert/ColladaSerializer.cpp
# src/ifcconvert/ColladaSerializer.h
# src/ifcgeom/IfcGeomIterator.h
# src/ifcgeom/IfcGeomRenderStyles.h
2016-03-22 16:15:28 +01:00
Thomas Krijnen
0ceef8fe67
Use constant time parent enumeration lookup
2016-03-18 11:14:14 +01:00
Stinkfist0
e35cefac52
Fix crash (deleting garbage ptr) when nonexisting file passed to IfcSpfStream ctor. Bug surfaced due to recent memory leak fix.
2016-03-07 22:37:04 +02:00
Stinkfist0
2f8fa3282b
Fix mem leak in IfcSpfStream (not closed upon destruction), make Entity's dtor virtual.
2016-02-07 22:45:42 +02:00
aothms
4eee9a1936
Merge remote-tracking branch 'official/master'
...
Conflicts:
src/ifcconvert/IfcConvert.cpp
src/ifcgeom/IfcGeomIterator.h
2015-12-21 11:36:23 +01:00
Stinkfist0
2dc5cd44b7
Enable warning C4100 ("'identifier' : unreferenced formal parameter") and fix warnings.
2015-11-23 15:52:12 +02:00
Stinkfist0
a13042f227
Fix warnings: unused variables, shadowing variable names, constant conditional expressions, integer conversions, inability to generate copy-ctor and/or assignment operator, etc.
2015-11-21 23:05:28 +02:00
Stinkfist0
d4b51a82e7
Fix/suppress plethora of integer conversion warnings on x64 Visual Studio build.
2015-11-03 17:58:08 +02:00
aothms
7b82bfb477
Update log messages in parser
2015-10-05 13:08:24 +02:00
aothms
94d214808e
Use boost::to_upper() and -::to_upper_copy() for string manipulation throughout codebase
2015-09-13 15:00:21 +02:00
Thomas Krijnen
1ec14118fe
Introduce specific exception for out of range attribute indexing
2015-06-17 11:04:28 +00:00
Thomas Krijnen
4f60c7d48c
Provide concrete C++ implementations for all multidimensional aggregate types in IFC4
2015-06-16 12:58:07 +00:00
Thomas Krijnen
955190b517
Add support for reading and writing BINARY attributes. Rename members of the IfcUtil::ArgumentType enumeration.
2015-04-07 15:06:56 +00:00
Thomas Krijnen
df1805921b
Create writable argument copies when duplicating entity instances
2015-03-12 17:54:52 +00:00
Thomas Krijnen
dada40735b
#include <xlocale.h> header on OS X
2015-02-20 22:02:22 +00:00
Thomas Krijnen
b0ccf69870
Don't add inverse references to the entity being added itself.
2015-02-19 14:42:19 +00:00
Thomas Krijnen
e6ff1126ad
Catch errors in entity traversal while adding a new entity. In particular for late bound instances having unset attributes.
2015-02-17 22:02:06 +00:00
Thomas Krijnen
6c8a60db6e
Fixes related to r312: gcc refuses to erase a const_iterator
2015-02-17 21:24:18 +00:00
Thomas Krijnen
5fe4cfab63
More fixes related to locales
2015-02-17 20:23:21 +00:00
Thomas Krijnen
b3e5264aa9
WARNING: more function renames
2015-02-17 20:07:09 +00:00
Thomas Krijnen
e3d5b6220d
Rename AddEntity to addEntity
2015-02-17 19:55:27 +00:00
Thomas Krijnen
ee87466521
1) Implement a breadth-first traversal of forward references 2) implement entity instance deletion from a file 3) recursively copy entity instances to another file
2015-02-17 19:48:41 +00:00
Thomas Krijnen
c597404dfe
Increase the severity of the 'different schema' message
2015-02-06 12:59:36 +00:00
Thomas Krijnen
0124034803
Fix typo in locale code
2015-02-04 15:31:01 +00:00
Thomas Krijnen
2da6f5428d
Make real number parsing and serializing locale-independent, as suggested by Ian Clevy.
2015-02-03 13:53:36 +00:00
Thomas Krijnen
b789839e4a
Fix errors in serialization
2015-01-25 10:50:12 +00:00
Thomas Krijnen
7b17c2dccd
Make header values writable
2015-01-16 16:26:40 +00:00
Thomas Krijnen
8581fed39b
Track inverse attributes more correctly
...
Rename Size() to size() on EntityList and friends
2015-01-10 22:13:52 +00:00
Thomas Krijnen
1c757c351b
Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace
2015-01-06 10:19:24 +00:00
Thomas Krijnen
f3c26c372d
Parse the spf header and check schema_identifiers against compiled schema
2015-01-05 17:46:23 +00:00
Thomas Krijnen
4d5d749255
Merge developments from the python_wrapper branch into master
2015-01-05 14:11:42 +00:00
Thomas Krijnen
3f285ea639
Prevent another exception being thrown upon adding entity instances to a file, as reported by ch0kee
2014-11-27 09:22:58 +00:00
Thomas Krijnen
96ce5f6b25
Don't compare smart pointers to zero, but convert to bool
2014-11-04 12:02:28 +00:00
Thomas Krijnen
872dd4e831
Rewrite IfcFile::AddEntity() not to rely on exceptions, as suggested by ch0kee.
2014-11-02 18:36:51 +00:00
Thomas Krijnen
948d7675f0
- Take better care of inverse cardinalities and respect more CoordinationView agreements in IfcOpenHouse
...
- Track inverse relationships in an IfcWrite context as well
- Fix for lists of SELECT types
2014-05-05 16:17:28 +00:00
Thomas Krijnen
1b54ba039d
- Add support for IFC4 nurbs surfaces (IfcBSplineSurfaceWithKnots and IfcAdvancedFace)
...
- Remove unnecessary typedefs
2014-05-04 14:42:55 +00:00
Thomas Krijnen
bd83259d2b
More fixes for parsing files with comments
2014-04-19 09:35:08 +00:00
Thomas Krijnen
aebb9469a9
Fixes for parsing files with comments
2014-04-02 15:04:09 +00:00
Thomas Krijnen
80b39c0d22
No longer accept and silently convert invalid REAL tokens to zero
2014-03-22 13:02:21 +00:00
Thomas Krijnen
05c98de100
Add parameterized profile test files and script to generate them
2014-02-23 11:25:35 +00:00
Thomas Krijnen
17f873b486
First stab at a new express parser to have some more luck with Ifc4
2014-02-17 22:13:55 +00:00
Thomas Krijnen
4f26622e03
Do revert to unknown plane angle unit state after guessing when creating an IfcCompositeCurve
2012-12-31 15:48:04 +00:00
Thomas Krijnen
71b5cd12a8
- Getting ready for Blender 2.65 and Python 3.3.0 with universal Unicode according to PEP 393
...
- Allow opening of non-latin filenames on Windows, by using the non-standard _wfopen(), meaning that the IfcSpfStream no longer relies on a std::istream but a FILE* descriptor
2012-12-31 11:47:46 +00:00
Thomas Krijnen
578dce4a47
Provide more contextual information in the IFC SPF file header
2012-11-17 15:19:38 +00:00
Thomas Krijnen
e729795da2
Add an option to disable the subtraction of IfcOpeningElements from relating building elements to the IfcGeomObject settings
2012-10-19 08:20:43 +00:00