Thomas Krijnen
90ad3a4a93
Merge pull request #97 from aothms/dynamic_lib_fixes_2
...
Dynamic lib fixes
2016-06-22 14:57:16 +02:00
Thomas Krijnen
2c2be389fb
Fix header parsing
2016-06-21 11:11:16 +02:00
Thomas Krijnen
62a0f21a57
Fix #94
2016-06-20 11:34:13 +02:00
Johannes Obermayr
ea6fbc77dd
Bring back logic for BUILD_SHARED_LIBS.
...
Also remove C++11 code.
2016-06-14 20:30:02 +02:00
Thomas Krijnen
be10bc46ca
More elaborate error reporting
2016-06-12 11:22:08 +02:00
Thomas Krijnen
f4fd3a5ca1
Compiler warnings
2016-06-12 10:43:28 +02:00
stgatilov
8725c66306
Performance improvement of IfcParse tokenizer ( #82 )
...
* Applied MSVC tabify to IfcParse.cpp/h.
* Now Argument base class has throwing implementation for each conversion operator (removed those from derived classes).
* Added NullArgument class for the case when null arguments appear after setting elements.
* Now operator tokens are handled just like any other token.
* Refactoring: Token is now a struct with good fields, not a nameless pair.
* Now end position of token is set at its construction.
* Now type of token is determined on construction, as* function simply check stored type.
* Now int-s, float-s and some etc are parsed when token is created.
* Implemented simple way to remove spaces in parsing.
* Tokens are now created without allocations.
* Call RemoveTokenSeparators once for every token.
* Added temporary std::string object in lexer (for optimization purposes).
* Reimplemented asString without allocations.
* Parsing keywords without allocations.
* Added checks for type to tokenFunc::as*** functions.
2016-06-09 18:25:50 +02:00
Thomas Krijnen
44f785cce0
Merge branch 'master' into dynamic_lib_fixes
...
# Conflicts:
# cmake/CMakeLists.txt
2016-06-09 10:46:58 +02:00
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
Stinkfist0
4d6e25fb69
Also mark the full URL source for Ifc2x3* files
2016-06-02 14:36:09 +03:00
Stinkfist0
37aadcbfbf
Update the source information for Ifc4* files
2016-06-02 14:20:12 +03:00
Stinkfist0
74a3f131be
Make IfcException's dtor and what() virtual
2016-05-31 17:08:39 +03:00
Stinkfist0
77b72a9dde
IfcException.h: suppress C4275 warnings
2016-05-31 14:45:22 +03:00
Stinkfist0
c644ffbe5e
Move wildcard_string_to_regex() from IfcParse to IfcGeom as it's not really related to parsing IFC at all.
2016-05-31 14:04:44 +03:00
Stinkfist0
42acc7224c
Add couple missing IfcParse_EXPORTs + add a missing license information
2016-05-30 17:12:53 +03:00
Stinkfist0
90a2c445ea
Fix broken build of the project when BUILD_SHARED_LIBS=1
2016-05-30 13:54:24 +03:00
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
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