Thomas Krijnen
b09ff828de
#2186 rerun codegen
2022-05-16 13:07:40 +02:00
Adrien SCHVALBERG
42448cae4e
Add missing exports for ifcopenshell-python when we build shared libs.
2022-05-09 14:13:47 +02:00
Adrien SCHVALBERG
e5b3455533
Fix memory leak for HeaderEntity instances:
...
the getArgumentCount() call in IfcEntityInstanceData destructor isn't virtually dispatched so it returns 0 instead of correct number of arguments => memory leak
added IfcEntityInstanceData::clearArguments() which clears all arguments and resets the attributes_ field to nullptr
Remove unnecessary copy in IfcEntityInstanceData::setArgument() when argument is created at the call site (no more leak of original argument)
Fix memory leak in IfcFile: delete entities from both byid and entity_file_map
2022-05-08 10:21:46 +02:00
Adrien SCHVALBERG
e677355438
Add IfcParse::clear_schemas() and individual Ifc___::clear_schema() to clear any resource allocated by registered schemas
...
Add missing virtual destructors in IfcSchema.h
2022-05-08 10:21:46 +02:00
Adrien SCHVALBERG
e7f3856d64
Fix shared libraries exports.
2022-04-27 14:08:05 +02:00
Thomas Krijnen
2985bba157
#650 Unsure about 1b5c20e14f
2022-03-19 20:18:12 +00:00
Thomas Krijnen
1b5c20e14f
#650 fclose()
2022-03-19 14:45:19 +01:00
Thomas Krijnen
5317746a82
#2037 Rerun codegen
2022-02-10 13:06:32 +01:00
Thomas Krijnen
68baa416fa
#2037 option to throw on invalid cast
2022-02-10 13:05:05 +01:00
Thomas Krijnen
4a679812ca
#2018 prevent select types to be serialized as booleans
2022-02-04 13:54:07 +01:00
Thomas Krijnen
7efd9cea2a
Log performance aggregates as logger messages
2022-01-09 14:31:13 +01:00
Thomas Krijnen
b8ea42540e
#1973 Performance logging
2022-01-07 15:12:32 +01:00
Thomas Krijnen
671ab78c76
#1969 take uppercase in register_schema()
2022-01-07 12:49:28 +01:00
Thomas Krijnen
c52f851d79
#1807 method mapping proposal
2021-12-14 09:57:31 +01:00
Dion Moult
ebe5460a9f
Fix segfault thanks to aothms.
2021-12-02 09:28:04 +01:00
Dion Moult
01bc29c5b2
Purge by_ref_cached_
2021-12-02 09:28:04 +01:00
Dion Moult
5ad6d455f9
get_total_inverses now efficiently gets the full number of references to an entity
2021-12-02 09:28:04 +01:00
Dion Moult
cef1c86f6d
Experimental get_inverse_cardinality proposal. See #1904 .
2021-12-02 09:28:04 +01:00
Thomas Krijnen
0504556e7a
#1885 consider schema type when copying attribute values
2021-11-19 09:38:28 +01:00
Thomas Krijnen
e6e1978584
only call expensive wstring_convert() when necessary
2021-11-06 14:36:58 +01:00
Thomas Krijnen
4cee76ddc3
Make preprocessor defs consistent in IfcConvert.cpp and util.h
2021-10-08 15:25:28 +02:00
Thomas Krijnen
cd965fd4a9
todo note re #1769
2021-10-03 09:00:59 +02:00
Dion Moult
adf784236c
Upon removal, empty aggregates prioritise null if possible.
2021-10-03 08:58:47 +02:00
Thomas Krijnen
6182814845
rerun code gen
2021-09-26 19:55:04 +02:00
Thomas Krijnen
4334775618
#1747 retry
2021-09-24 10:02:20 +02:00
Thomas Krijnen
768b754a0b
Merge remote-tracking branch 'origin/v0.6.0' into v0.7.0
...
# Conflicts:
# .github/workflows/ci.yml
# src/ifcparse/IfcParse.cpp
2021-09-24 09:03:58 +02:00
Thomas Krijnen
e1a5de793a
#1747
2021-09-23 13:46:37 +02:00
Thomas Krijnen
fe533077f4
Regen schema code
2021-09-23 10:33:56 +02:00
Thomas Krijnen
37bddc25ca
#1734 fix inv attr population on entity addition
2021-09-22 10:34:19 +02:00
Thomas Krijnen
99cd952c98
Add time stamp to logging
2021-09-13 14:52:23 +02:00
Thomas Krijnen
1058dc7099
Fix some casting logic
2021-09-13 13:19:56 +02:00
Thomas Krijnen
99a27fbfef
option to disable guid map and lazy loading
2021-09-13 13:17:08 +02:00
Thomas Krijnen
7440321b30
Fix static atomic init
2021-09-11 13:31:20 +02:00
Thomas Krijnen
e37c2d8aab
Small character decoder fixes
2021-09-11 13:11:02 +02:00
Thomas Krijnen
7661899e9d
#1732 0.7 IfcBaseClass::identity()
2021-09-11 12:59:48 +02:00
Thomas Krijnen
09d6f1130d
#1730 correctly register inverse attributes on rooted types
2021-09-10 09:27:07 +02:00
Thomas Krijnen
3bebfcd8a7
Pass branch and sha to compiler
2021-09-09 09:43:28 +02:00
Dion Moult
5b711a23d3
Expose MaxId to Python
2021-09-09 08:44:12 +02:00
Thomas Krijnen
b9084ad0f5
#1725 exports
2021-09-08 10:14:30 +02:00
Thomas Krijnen
41f2b11234
Virtual inheritance prototype for select
2021-09-06 18:52:37 +02:00
Thomas Krijnen
f898893607
whitespace
2021-09-05 09:32:39 +02:00
Thomas Krijnen
cfc1ddee5e
#1676 null handling in inverses
2021-09-04 14:27:46 +02:00
Dion Moult
cb4001b47b
Detect units from project libraries, and convert nested double aggregates
2021-08-24 10:58:26 +02:00
Thomas Krijnen
37851fac9d
#1674 store inverse references as tuple of (id type index)
2021-08-22 12:22:44 +02:00
Thomas Krijnen
8f1db0019b
Merge remote-tracking branch 'origin/v0.6.0' into v0.7.0
2021-08-15 20:40:55 +02:00
Thomas Krijnen
44c868caed
#1531 Breadth-first search and maintain insertion order on remove_deep()
2021-08-12 13:35:45 +02:00
Thomas Krijnen
b3087e31f8
Regenerate schemas
2021-08-10 15:17:25 +02:00
Thomas Krijnen
a8fbdb4c92
update RC4 schema
2021-08-10 15:14:59 +02:00
Thomas Krijnen
43f528ce04
Merge remote-tracking branch 'origin/v0.6.0' into v0.7.0
...
# Conflicts:
# src/ifcgeom/IfcGeomTree.h
# src/ifcgeom_schema_agnostic/IfcGeomIterator.h
# src/ifcgeom_schema_agnostic/IteratorImplementation.cpp
# src/ifcgeom_schema_agnostic/IteratorImplementation.h
# src/ifcparse/Ifc4x3_rc3.cpp
# src/ifcparse/Ifc4x3_rc3.h
# src/serializers/SvgSerializer.cpp
2021-08-10 14:30:07 +02:00
Thomas Krijnen
85645aca28
use assignment operator
2021-08-07 10:08:19 +02:00