FLAM Issue Tracker - CLE/P
View Issue Details
0000414CLE/P2. CLPpublic2014-04-28 12:112017-01-26 12:33
Falk Reichbott 
Falk Reichbott 
0000414: Support of dynamic length strings and arrays
Add a flag or support new data types to make a string or array dynamic. Means the memory will be dynamic allocated by CLP in the required length to support longer file names, URLs or arrays without any static limitations.

This feature will significant reduce the memory usage for CLP structures.
First design are:

 - a new flag to allocate data types dynamic
 - a new chain for each dynamic allocated data block
 - this chain will be used to free all dynamic allocated data block in the close opartion of CLP
 - if the FLAG are set, the data type will be a pointer to the original type.
 - The new flag will be used for strings and arrays, but not for scalar data types
No tags attached.
related to 0000415resolved Falk Reichbott FL5 Use dynamic allocated memory for URL/file names and arrays (amount of conversions) 
Issue History
2014-04-28 12:11Falk ReichbottNew Issue
2014-04-28 12:11Falk ReichbottStatusnew => assigned
2014-04-28 12:11Falk ReichbottAssigned To => Falk Reichbott
2014-04-28 12:15Falk ReichbottRelationship addedrelated to 0000415
2016-12-16 08:58Falk ReichbottTarget Version1.2 => 1.3
2016-12-16 08:58Falk ReichbottDescription Updatedbug_revision_view_page.php?rev_id=323#r323
2017-01-26 12:33Falk ReichbottNote Added: 0001079
2017-01-26 12:33Falk ReichbottStatusassigned => resolved
2017-01-26 12:33Falk ReichbottFixed in Version => 1.3
2017-01-26 12:33Falk ReichbottResolutionopen => fixed

Falk Reichbott   
2017-01-26 12:33   
The new makros DYNARY and DYNSTR can now be used to dynamic allocate the memory for the CLP structure. It replaced the static part in the CLP structure by a pointer to the dynamic allocated memory.

All internal values (lexem, ...) are also dynamic in length.