date | project | content | link |
|---|
| 21:30 Saturday | e | Commit by barbieri :: r 67851 eina/src/include/ (4 files): ( link) improve documentation of eina model and value. | # |
| 04:14 Saturday | e | Commit by barbieri :: r 67845 eina/src/ (include/eina_model.h lib/eina_model.c): ( link) model: add helper for common pattern | # |
| 04:07 Saturday | e | Commit by barbieri :: r 67844 eina/src/tests/eina_test_model.c: ( link) one day I'll be less stupid...
... or one day we'll move to git so I can rewrite stupid commits :-D | # |
| 03:59 Saturday | e | Commit by barbieri :: r 67843 eina/src/ (5 files in 3 dirs): ( link) eina_value: break usage, but makes it more uniform and correct.
I did a bad decision to steal memory for Array, List, Hash and Struct types, it was nice to not have to copy it internally, but breaks when one needs to set a new value that was set elsewhere. What did not happen with string, integers and other basic types.
This was exposed by Raphael Kubo using eina_model_property_set() with complex types (Array, List and Hash) and it was not possible to correctly set such properties.
Now it's all set, but the behavior changed and the memory is not stolen and released anymore. Test eina_test_value.c was changed to reflect it. | # |
| 01:29 Saturday | e | Commit by barbieri :: r 67841 eina/src/ (2 files in 2 dirs): ( link) value: be safer on reset of existing values.
if user get and then set the same value, we should not crash and this may happen with previous code as the old string/array/value/list... were released, then you ended with the released memory still being pointed. | # |
| 01:09 Saturday | e | Commit by barbieri :: r 67840 eina/src/include/eina_inline_value.x: ( link) value: just setup on new memory!
We should not flush and then setup the memory, instead we leave vset/pset functions do their own stuff to clean previous data, if any. | # |
| 00:59 Saturday | e | Commit by barbieri :: r 67839 eina/src/lib/eina_value.c: ( link) value: allow multiple flush.
multiple flush may happen when handling errors. May be used in some cases. | # |
| 00:44 Saturday | e | Commit by barbieri :: r 67838 eina/src/lib/eina_value.c: ( link) eina_value: fix convert to string on empty/null cases. | # |
| 00:22 Saturday | e | Commit by barbieri :: r 67837 eina/ (. src/examples/ src/tests/): ( link) ignore generated files. | # |
| 00:04 Saturday | e | Commit by barbieri :: r 67836 eina/src/tests/eina_test_value.c: ( link) fix test leaks | # |
| 00:04 Saturday | e | Commit by barbieri :: r 67835 eina/src/lib/eina_value.c: ( link) eina_value_hash: must free hash value after it's flushed. | # |
| 00:03 Saturday | e | Commit by barbieri :: r 67834 eina/src/tests/eina_suite.c: ( link) fix memleak in test suite. | # |
| 20:43 Friday | e | Commit by barbieri :: r 67832 eina/src/ (4 files in 2 dirs): ( link) | # |
| 14:28 Friday | e | Commit by barbieri :: r 67822 eina/configure.ac: ( link) thanks vincent.
I just did that mistake to see if you were paying attention... /me liar! :-) | # |
| 14:13 Friday | e | Commit by barbieri :: r 67821 eina/ (3 files in 3 dirs): ( link) eina_model: add xref/xunref, xrefs_get and models_usage_dump!
Let's try to help debug by allowing extended reference management that takes in account an identifier. This identifier is accounted on xref and xunref and must match.
xrefs_get will return the list of such references, for debugging purposes.
eina_models_list_get() was added to return all live models, just tracked when EINA_MODEL_DEBUG is enabled.
eina_models_usage_dump() was added and use the same infrastructure as eina_models_list_get() and eina_model_xrefs_get() to aid debugging :-) | # |
| 13:59 Friday | e | Commit by barbieri :: r 67818 eina/src/examples/eina_model_02.c: ( link) add missing shutdown | # |
| 01:07 Friday | e | Commit by barbieri :: r 67799 eina/src/modules/mp/ (7 files in 7 dirs): ( link) remove @EINA_CPPFLAGS@ from remaining Makefile.am
Thanks to Tommy[D] for spotting the problem! | # |
| 23:50 Thursday | e | Commit by barbieri :: r 67798 eina/AUTHORS: ( link) add Jonas to authors.
He worked previously with documentation, now is helping me with Eina_Model and will keep adding some examples and fixes here and there. | # |
| 22:38 Thursday | e | Commit by barbieri :: r 67797 eina/src/ (4 files in 2 dirs): ( link) | # |
| 19:54 Thursday | e | Commit by barbieri :: r 67796 eina/src/ (include/eina_model.h lib/eina_model.c): ( link) eina_model: rename all "search" to "criteria_match" | # |