Commit Graph

724 Commits

Author SHA1 Message Date
Jérôme Pinot fc00b1b637 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] eina_simple_xml example

Here is an example for eina_simple_xml
This patch includes a small sample XML file, source code (for parsing and
printing it out) and the doxygen doc.



SVN revision: 70385
2012-04-22 05:27:25 +00:00
Cedric BAIL d80dae3035 eina: fix Eina_Inarray API to at least match Eina_Array API.
NOTE: some of this function should be moved as inline, but that's to late for a change
I think. So we will fix that if needed.

Second point, I am not happy with is eina_inarray_insert and eina_inarray_insert_at. The
naming is really poor.


SVN revision: 70352
2012-04-20 08:30:59 +00:00
Carsten Haitzler 8bce681d16 and fully de-modelify eina
SVN revision: 70293
2012-04-18 09:19:47 +00:00
Carsten Haitzler 1fb2825ac8 and extract model stuff from value...
SVN revision: 70292
2012-04-18 09:12:26 +00:00
Carsten Haitzler fbdadd1bea well as there is no reason to put eina_model in release - disabled
until later.



SVN revision: 70289
2012-04-18 09:02:27 +00:00
Guilherme Iscaro 0e7939a89a Fixing the eina_prefix example
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 70279
2012-04-17 17:18:58 +00:00
Daniel Juyung Seo 90556f6e4b eina eina_main.h: Fixed documentation.
SVN revision: 70198
2012-04-16 00:21:57 +00:00
Tom Hacohen 011fd3b1ce Eina: Fixed usage of gnu extension.
(idx, ## __VA_ARGS__) is a gnu extension, fixed to be (__VA_ARGS__).
Should be fine this way. Less descriptive maybe, because now people will
may think it's ok to pass 0 arguments, but there's no avoiding this.

SVN revision: 70194
2012-04-15 09:54:47 +00:00
Jonas M. Gastal 6122b8a8de Cleanup Doxygens Warnings - eina
Warnings resolved for:
eina_clist.h
eina_file.h
eina_hash.h
eina_inlist.h
eina_lalloc.h
eina_lock.h

SVN revision: 70156
2012-04-12 17:44:45 +00:00
Thiago Thamada 0ae4bf95e7 Cleanup Doxygen Warnings - eina
Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 69999
2012-04-10 18:16:09 +00:00
Jihoon Kim 7eace88750 eina: fix typos in doc
SVN revision: 69927
2012-04-05 04:24:36 +00:00
Jihoon Kim 7fb7cec16d eina: fix doc return type
Sign-Off By: Jérôme Pinot


SVN revision: 69924
2012-04-05 03:52:51 +00:00
Christopher Michael 255d17ce9e Eina: Fix doxy typo.
SVN revision: 69920
2012-04-04 16:48:23 +00:00
Cedric BAIL 792801491e eina: abort early on free(NULL).
SVN revision: 69897
2012-04-03 13:31:29 +00:00
Jérôme Pinot c8eac1ee80 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] eina doc leftover

Forgot this one



SVN revision: 69792
2012-03-30 10:13:38 +00:00
Jérôme Pinot f88759f4cb From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] eina doxygen doc

Here is a patch that fix several links in the eina doxygen doc. Most of
the problems come from unescaped special characters.



SVN revision: 69746
2012-03-29 11:35:34 +00:00
Daniel Juyung Seo 13f1bc5049 eina eina_list.h: Fixed typo in the documentation.
SVN revision: 69605
2012-03-25 08:51:02 +00:00
Mike Blumenkrantz da4d59e589 eina 1.2 changelog: docs are now slightly less french
SVN revision: 69025
2012-03-07 19:58:17 +00:00
Cedric BAIL fed23d8ca4 eina: fix argument numbering.
SVN revision: 68917
2012-03-07 09:38:08 +00:00
Daniel Vieira Franzolin 9816cfd263 Another eina_inarray example.
Patch by: "Daniel Vieira Franzolin" <daniel@profusion.mobi>

SVN revision: 68835
2012-03-06 14:27:03 +00:00
Raphael Kubo da Costa 37efb6c4db Eina: Add eina_value_array_value_get().
Since k-s is on the road this days, we'd better write some code ourselves.
This is array counterpart of eina_value_struct_value_get(), and retrieves
an item from an Eina_Value_Array as an Eina_Value.

Code writing the setter is welcome.

Patch by: "Raphael Kubo da Costa" <kubo@profusion.mobi>


SVN revision: 68581
2012-03-01 17:15:54 +00:00
Cedric BAIL 423cc7ba43 eina: add Exotic support.
SVN revision: 68398
2012-02-24 11:15:14 +00:00
Carsten Haitzler 0e38e05208 lets not deprecate things just yet shall we?
SVN revision: 68369
2012-02-24 00:50:30 +00:00
Cedric BAIL 3597d526eb eina: forgotten since.
SVN revision: 68341
2012-02-23 14:11:18 +00:00
Cedric BAIL b693dd6035 eina: introduce Eina_Stat to prevent issue when building with different config option.
SVN revision: 68315
2012-02-23 11:45:25 +00:00
Jonas M. Gastal 563271a109 Container page improvements.
SVN revision: 68278
2012-02-22 16:20:55 +00:00
Jonas M. Gastal 48b90afbbf Stringshare doc additions.
SVN revision: 68271
2012-02-22 13:35:01 +00:00
Jonas M. Gastal b985aae805 Eina inline array example.
SVN revision: 68270
2012-02-22 13:15:38 +00:00
Cedric BAIL c461a7eed9 eina: add eina_file_stat helper function.
SVN revision: 68259
2012-02-22 10:24:11 +00:00
Vincent Torri 630c6f41d5 Eina: fix win32 RWlocks
* initialize all the mutex members in eina_rwlock_new()
* fix assigments in eina_rwlock_take_read() and eina_rwlock_take_write()


SVN revision: 68248
2012-02-22 08:34:38 +00:00
Vincent Torri 4f28f9c0ca Eina: gnu_printf format attribute was introduced in gcc 4.4
SVN revision: 68174
2012-02-20 23:34:15 +00:00
Vincent Torri 851c947323 Use gnu_printf attribute to detect wrong usage of printf family functions
SVN revision: 68086
2012-02-17 20:52:15 +00:00
Vincent Torri e52cadb377 move standard header file before private ones
SVN revision: 68085
2012-02-17 20:51:05 +00:00
Jonas M. Gastal 30d73cffd7 Eina value example with user defined type.
SVN revision: 68082
2012-02-17 18:52:58 +00:00
Jonas M. Gastal a42425297c Documented example of eina_value struct usage.
SVN revision: 68072
2012-02-17 13:24:05 +00:00
Jonas M. Gastal 9770ad9675 Documented example for eina_value.
SVN revision: 68071
2012-02-17 13:24:02 +00:00
Leif Middelschulte e7c134bc58 rename 'size' param of eina_list_sort to 'limit'
SVN revision: 68064
2012-02-17 10:48:49 +00:00
Gustavo Sverzut Barbieri 88d6b934aa eina_model: new events for load/unload.
Added the events: loaded and unloaded to notify eina_model_load() and
eina_model_unload() were called.

To be more specific, the interfaces used by EINA_MODEL_TYPE_MIXIN
(Eina_Model_Interface_Properties and Eina_Model_Interface_Children)
also do:
 * properties,loaded
 * properties,unloaded
 * children,loaded
 * children,unloaded



SVN revision: 68035
2012-02-16 19:48:13 +00:00
Jonas M. Gastal e4f6736b86 Documentation for all eina model functions.
SVN revision: 67992
2012-02-15 18:44:50 +00:00
Tom Hacohen de808a0fb8 Eina model: Added an advanced inheritance + interface example.
SVN revision: 67965
2012-02-15 08:18:47 +00:00
Gustavo Sverzut Barbieri c511fece19 improve documentation of eina model and value.
SVN revision: 67851
2012-02-11 18:04:32 +00:00
Gustavo Sverzut Barbieri 4915aeb8db model: add helper for common pattern
SVN revision: 67845
2012-02-11 00:48:42 +00:00
Gustavo Sverzut Barbieri 1fc6b13d10 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.



SVN revision: 67843
2012-02-11 00:34:25 +00:00
Gustavo Sverzut Barbieri 3fbce27e8d 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.



SVN revision: 67841
2012-02-10 22:03:48 +00:00
Gustavo Sverzut Barbieri 6609523415 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.



SVN revision: 67840
2012-02-10 21:43:55 +00:00
Jonas M. Gastal 27f0f4cceb Another example for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67832
2012-02-10 17:18:10 +00:00
Gustavo Sverzut Barbieri 687e59a102 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 :-)




SVN revision: 67821
2012-02-10 10:48:39 +00:00
Jonas M. Gastal 9f90af4dc7 More documentation for eina_model.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67797
2012-02-09 19:13:54 +00:00
Gustavo Sverzut Barbieri 0bcae96ccb eina_model: rename all "search" to "criteria_match"
SVN revision: 67796
2012-02-09 16:29:50 +00:00
Gustavo Sverzut Barbieri 013c986c40 eina_model: helper function to setup subclass during runtime.
SVN revision: 67795
2012-02-09 16:20:16 +00:00