Stinkfist0
c13eb9e131
The usual way of doing MSVC dllimport/export. Add a warning print if building as DLL against the static VC-runtime.
2016-05-30 01:09:39 +03: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
Thomas Krijnen
38d1ec7a78
#28
2016-05-24 13:50:50 +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
01269e5dd5
Fix missing include for debug build
2016-05-11 14:01:38 +02:00
Ivano Ras
0253c1ddbe
Extended error logging
...
Fixes #33
2016-05-11 10:56:40 +02:00
Thomas Krijnen
c848a7dbe0
remove redundant type attribute on latebound entity instance
2016-05-03 11:24:26 +02:00
Thomas Krijnen
c6d5adfa42
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcexpressparser/implementation.py
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcparse/Ifc4.cpp
2016-04-24 15:22:10 +02:00
Thomas Krijnen
d8919c50ab
Fix serialization of list of list of entity instance
2016-04-19 16:44:08 +02:00
Thomas Krijnen
9bcfe2f50e
Generate code for IFC4_ADD1
2016-04-08 23:24:35 +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
43f5d446ec
Implement --use-names and --use-guids for DAE, OBJ, and SVG output.
2016-03-10 11:35:32 +02:00
Stinkfist0
50a467fda5
Fix IfcUtil::wildcard_string_to_regex()
2016-03-07 23:15:29 +02:00
Stinkfist0
0da0e63687
Begin to implement IfcConvert enhancements discussed in #20 . Remove C++-specific getters and setters and use the same set() and get() functions in in both C++ and Python. Enhance output of IfcConvert, especially in error situations (spamming a hundred lines of options always hides the original error message), utilize Boost's foreach macro to provide cleaner iteration code.
2016-03-07 22:37:36 +02: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
aothms
da0af77570
Compatibility for older versions of cmake, python, open cascade, boost
2016-02-18 13:17:15 +01:00
Thomas Krijnen
a583339492
Merge pull request #29 from Tridify/win_build_script_improvements
...
Windows build script improvements
2016-02-15 16:14:51 +01:00
Stinkfist0
c575352d20
~IfcCharacterDecoder: call ucnv_flushCache() to fix two ICU mem leaks.
2016-02-07 23:01:34 +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
Stinkfist0
993e322a8e
Fix memory leakage from IfcSpfHeader
2016-02-07 13:14:14 +02:00
aothms
fe70acb541
Fix https://github.com/IfcOpenShell/IfcOpenShell/issues/26
2016-01-26 16:45:39 +01:00
aothms
ed8cc620ea
Use boost::shared_ptr
...
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/17
2016-01-25 14:42:41 +01:00
aothms
973fa9ccb5
Fixes for sequences of extended control directives
2016-01-08 09:17:49 +01: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
aothms
bf292cccd0
Precision fixes
2015-11-30 22:59:21 +01:00
Stinkfist0
2dc5cd44b7
Enable warning C4100 ("'identifier' : unreferenced formal parameter") and fix warnings.
2015-11-23 15:52:12 +02:00
Stinkfist0
16a82f035f
templates.py: disable C4100 warnings for headers created by this file + move <map> inclusion to .cpp as it's not needed in .h + use spaces instead of tabs consistently for these files as seems to be the convention.
2015-11-22 02:26:28 +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
aothms
d076fa588b
Work on runtime representation of schema
2015-11-05 11:55:19 +01:00
Stinkfist0
6190771817
Fix/suppress signed-unsigned int conversion warnings on Windows x64.
2015-11-04 18:27:46 +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
3e00139a87
Add const pointer cast to IfcBaseClass
2015-10-05 13:07:40 +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
aothms
a58b2ede63
Fixes for unicode handling in Python
2015-09-13 14:43:42 +02:00
aothms
e5c20a009d
Add convenience method for relating objects to types. As suggested by Cadline St2.
2015-09-12 14:27:58 +02:00
aothms
2532ba30e4
Fix addRelatedObject, fix by Cadline St2
2015-09-10 13:58:27 +02:00
aothms
3cba242295
When built without ICU filter characters outside of unencoded range
2015-08-14 22:11:32 +02:00
aothms
822fa91f4d
Work on a C++ representation of the parsed EXPRESS schema
2015-08-13 14:28:50 +02:00
Thomas Krijnen
78f4d7d592
Fix build with Boost 1.58.0. Patch by stinkfist0. Thanks.
2015-07-09 13:23:40 +00:00
Thomas Krijnen
48676a733f
Rework SWIG python binding not to rely on polymorhpic functions. Use hand-written typemaps that map vectors to tuples and iterables to vectors. Add support for multidimensional aggregates in Python.
2015-06-17 11:27:02 +00:00
Thomas Krijnen
f8c45b2a99
Fix serialization of binary values
2015-06-17 11:22:43 +00:00
Thomas Krijnen
1ec14118fe
Introduce specific exception for out of range attribute indexing
2015-06-17 11:04:28 +00:00
Thomas Krijnen
381f711103
Update string representation of ArgumentTypeToString
2015-06-16 14:47:03 +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
f70b37137d
Emit an error message rather than exception for GlobalId parsing inconsistencies to accomodate files with invalid GlobalIds.
2015-06-04 14:33:13 +00:00
Thomas Krijnen
5a994ebe28
vc9 compatibility
2015-05-26 12:56:00 +00:00
Thomas Krijnen
ffc008228d
gcc compatibility
2015-05-26 12:55:00 +00:00