summaryrefslogtreecommitdiffstats
path: root/runtime/prop.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: strings improperly reused [backported from v5]Rainer Gerhards2009-08-211-1/+1
| | | | | ... resulting in some message properties be populated with strings from previous messages. This was caused by an improper predicate check.
* now put the new property-based methods to good useRainer Gerhards2009-07-011-13/+63
| | | | | | ... hopefully reducing the number of allocs/frees as well as overall memory usage in a busy system (plus that these shared properties hopefully remain in cache longer than its single-instance counterparts...)
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-4/+14
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-0/+63
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* going forward in moving string-handling functions to new interface...Rainer Gerhards2009-06-171-3/+1
|
* added basic plumbing to support message properties separate from messageRainer Gerhards2009-06-161-0/+126
will fill this with live somewhat later, noticed I need to do some stage work first (at least this is useful).