Commit Graph

1597 Commits

Author SHA1 Message Date
Mike McCormack 81ce922044 eina: Fix broken main loop thread check
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63263
2011-09-07 08:06:42 +00:00
Tom Hacohen 98b5aa4b36 Eina (u)strbuf: Added eina_(u)strbuf_manage_new.
This lets us take a string and use it as the string buffer instead of
copying and allocating.

SVN revision: 63226
2011-09-06 10:58:53 +00:00
Cedric BAIL 336806d264 eina: oops. Thanks Vincent.
SVN revision: 63214
2011-09-05 20:26:21 +00:00
Cedric BAIL 6936745755 eina: add eina_inlist_sorted_state_insert and helper.
Note: this function help keep a jump table so we reduce
the need to walk over the complete list to insert one
element. It's of course doesn't make it an O(log(n)) in
access time, but it increase it's cost more slowly.
   With 10000 items, you can count around 50 pointers
dereferencing and with with 50000 items around 200 pointers
dereferencing.
   Of course the comparison stay in O(log(n)).


SVN revision: 63213
2011-09-05 20:15:12 +00:00
Carsten Haitzler 325dbc04ae fix COPYING to say 2011.
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Gustavo Sverzut Barbieri 32110747c9 eina_prefix: use log infrastructure.
use eina_log instead of weirdo printfs... multiple levels, greatness
everywhere... helped me debug emotion's warning.

It is always a pain to try to use library log and notice they are not
using their own standards :-/

   export EINA_LOG_LEVELS=eina_prefix:4





SVN revision: 63108
2011-09-03 05:31:25 +00:00
Tom Hacohen 1cacec0d41 Eina rbtree: Fixed EINA_RBTREE_GET. Should enclose in parenthesis.
SVN revision: 63054
2011-09-01 12:11:24 +00:00
Vincent Torri f9e44b36d4 Add missing function in lock void
Patch by Youness Alaoui


SVN revision: 63018
2011-08-31 08:50:19 +00:00
Mike Blumenkrantz b45b6fb6af seriously guys.
null checks.
why are there still functions that don't have them after we've hit 1.0?


SVN revision: 62900
2011-08-28 06:30:51 +00:00
Vincent Torri bdde82fda3 fix main loop stuff on Windows
SVN revision: 62864
2011-08-26 16:13:29 +00:00
Vincent Torri 56f0311cd3 define HAVE_DLOPEN also on Windows
SVN revision: 62863
2011-08-26 16:01:28 +00:00
Carsten Haitzler c20670baa2 u know... if u are going to add lots of pthread calls to .x headers
that get inlined.. u should be telling apps to enable pthread too at
link time eh? :)



SVN revision: 62850
2011-08-26 04:50:55 +00:00
Carsten Haitzler 3705bda72b oooooh wowo! that prefix change broke stuff1 it looks ok on elm. revert!
SVN revision: 62813
2011-08-25 12:13:16 +00:00
Jérémy Zurcher c5606319d9 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62795
2011-08-25 10:01:22 +00:00
Gustavo Lima Chaves b63efee190 [eina] Repeated link, be gone.
SVN revision: 62749
2011-08-24 15:13:10 +00:00
Carsten Haitzler 19124f1282 add some comments and debug to eina_preifx. in case we have to test it
when packaged under debians new multiarch.



SVN revision: 62706
2011-08-22 23:40:05 +00:00
Cedric BAIL 1ec7bacc52 eina: add eina_main_loop_define.
Do not use it.


SVN revision: 62530
2011-08-17 09:42:43 +00:00
ChunEon Park 0b30e759ed eina - just removed white spaces.
SVN revision: 62495
2011-08-16 09:08:02 +00:00
Mike Blumenkrantz 3b3f567975 guys...null checks are not the end of the world.
SVN revision: 62360
2011-08-11 21:26:46 +00:00
Mike Blumenkrantz c2d2867a2b fix segv from missing null check
SVN revision: 62320
2011-08-10 22:42:27 +00:00
Carsten Haitzler 6bc6891370 if we are going to have %d's - use them in the next scanf too.
SVN revision: 62282
2011-08-10 04:39:04 +00:00
Mike McCormack db31bed29e eina: Use %d to get build time
eina_hamster_count() was returning -1 on my machine (Ubuntu 11.04/AMD64),
causing make check to fail.

eina_test_main.c:51:F:Main:eina_hamster:0: Failure 'eina_hamster_count() <= 0' occured

Using %d instead of %i for integers fixes it.

Signed-off-by: Mike McCormack <mj.mccormack@ring3k.org>

SVN revision: 62268
2011-08-09 23:48:47 +00:00
Cedric BAIL 2b247bc166 eina: windows cleanup.
Patch by Vincent Torri.


SVN revision: 62246
2011-08-09 09:21:07 +00:00
Cedric BAIL fb56b5f5e3 eina: add generic macro to generate error when outside of the main loop.
SVN revision: 62240
2011-08-09 08:48:57 +00:00
Cedric BAIL 9838bda52f eina: detect main loop for windows to.
SVN revision: 62239
2011-08-09 08:47:57 +00:00
Cedric BAIL bfa83a2ff5 eina: correct guard of thread code.
SVN revision: 62238
2011-08-09 08:46:29 +00:00
Cedric BAIL c89dfa73b6 eina: make dlopen optional.
SVN revision: 62236
2011-08-09 08:39:39 +00:00
Iván Briano 72a46b4342 It may be good to link Eina examples against Eina
SVN revision: 62141
2011-08-05 15:59:22 +00:00
Iván Briano 60730094bd Check Evas too, DSO thingy
SVN revision: 62139
2011-08-05 15:39:18 +00:00
Jonas M. Gastal 433c56be47 Eina: Fixing borked eina_stringshare diagram.
SVN revision: 62135
2011-08-05 13:45:01 +00:00
Jonas M. Gastal aefb755102 Eina: Fixing image in pdf doc.
SVN revision: 62116
2011-08-04 22:52:29 +00:00
Jonas M. Gastal 8b64d75531 Eina: eina tiler example.
SVN revision: 62113
2011-08-04 22:05:46 +00:00
Jonas M. Gastal 05e1dc49c6 Eina: eina_tiler docs(examples to follow).
SVN revision: 62112
2011-08-04 22:05:25 +00:00
Jonas M. Gastal 610facb5be Eina: adding image to eina_stringshare.
SVN revision: 62104
2011-08-04 20:44:05 +00:00
Jonas M. Gastal 1e9076c27b Eina: adding image showing eina array growth.
SVN revision: 62103
2011-08-04 20:43:51 +00:00
Tom Hacohen 41f840b9b1 Eina list: eina_list_data_set is *not* pure.
SVN revision: 62081
2011-08-04 06:44:19 +00:00
Jonas M. Gastal 7e095c6b70 Eina: Separating eina_lock and company from eina_file's
group.



SVN revision: 62067
2011-08-03 19:13:18 +00:00
Cedric BAIL bcf2d84237 eina: the actual patch.
SVN revision: 62052
2011-08-03 12:01:35 +00:00
Cedric BAIL 5a42968177 eina: fix eina_share_common_ref/del
patch by Myungjae Lee <mjae.lee@samsung.com>.


SVN revision: 62051
2011-08-03 12:00:46 +00:00
Carsten Haitzler 601a4e3cef improve eina main page and links
SVN revision: 62038
2011-08-03 04:55:12 +00:00
Tom Hacohen ea689302c5 Eina: Moved valgrind check to the libararies check section.
As suggested by vtorri.

SVN revision: 61990
2011-08-02 10:50:13 +00:00
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Cedric BAIL 770e7fe863 eina: forgotten since.
SVN revision: 61957
2011-08-01 14:59:51 +00:00
Cedric BAIL 811b050ee8 eina: better implementation.
SVN revision: 61900
2011-07-29 15:37:39 +00:00
Cedric BAIL 2b574523d2 eina: add eina_main_loop_is.
SVN revision: 61896
2011-07-29 14:56:42 +00:00
Jonas M. Gastal cd8cd93209 Eina: Groups shouldn't be inside themselves, and both groups
and conditionals need to be properly closed..



SVN revision: 61413
2011-07-15 18:37:44 +00:00
Jonas M. Gastal 2d6dec2b4e Eina: Making html tags in doc appear only in html doc.
SVN revision: 61412
2011-07-15 18:35:45 +00:00
Jonas M. Gastal eff8c0568e Eina: Giving some pages better names and fixing a typo.
SVN revision: 61411
2011-07-15 18:33:41 +00:00
Lucas De Marchi 6fb6089ea1 eina: fix common misspellings
Misspellings detected by codespell.



SVN revision: 61405
2011-07-15 14:31:31 +00:00
Jonas M. Gastal f99a16d27d Eina: add descriptions to eina accessor and eina strbuf.
SVN revision: 61404
2011-07-15 14:07:03 +00:00
Vincent Torri 70d3c66bd7 Eina: link against iconv, use rt_libs to hold -lrt and add -lrt to eina.pc.in's Libs.private
SVN revision: 61358
2011-07-14 07:18:11 +00:00
Vincent Torri f9fe039a95 Eina : configure.ac : improve shm_open detection
* Do not use spaces around '=' in configure scripts
 * formatting
 * put -lrt in EINA_LIBS instead of LIBS


SVN revision: 61357
2011-07-14 06:58:59 +00:00
Cedric BAIL 43e1e44168 eina: fix typo.
SVN revision: 61329
2011-07-13 09:25:49 +00:00
Cedric BAIL fc8f5a4be9 eina: fix eina shm_open detection.
SVN revision: 61328
2011-07-13 09:21:55 +00:00
Cedric BAIL 5d21b6699b eina: fix build on NetBSD.
NOTE: we need a fallback for shm_open that will work on BSD system.


SVN revision: 61324
2011-07-13 08:51:19 +00:00
Vincent Torri 090ab4805c Eina : lock (win32) : fix compilation
cedric, can you confirm me that

-             LeaveCriticalSection(&mutex->cond_read->threads_count_lock);
...
+             LeaveCriticalSection(&mutex->cond_read.waiters_count_lock);

is correct ?



SVN revision: 61170
2011-07-09 10:20:02 +00:00
Jonas M. Gastal 4b0536d424 Eina: Adding diagrams for eina list macros.
SVN revision: 61132
2011-07-07 19:26:47 +00:00
Daniel Juyung Seo 72bcec17b9 edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.


SVN revision: 61104
2011-07-07 04:58:34 +00:00
Rafael Antognolli 0dd5077566 eina/hash - Add examples to list and fix doc of some functions.
SVN revision: 61094
2011-07-06 18:01:42 +00:00
Rafael Antognolli 948cdf95f1 eina/hash - Add example that demonstrate many ways of deleting items.
SVN revision: 61093
2011-07-06 18:00:38 +00:00
Rafael Antognolli 9bb4278df8 eina/hash - Added examples that use different types of hash.
SVN revision: 61092
2011-07-06 17:59:58 +00:00
Rafael Antognolli eb7f4de17d eina/hash - improve performance comparison between different hashes.
For the hashes available for storing string keys, give a better
explanation about the difference of performance.

Also add to the documentation that the data_free_cb will be called when
when items are deleted from the hash table, not only on the hash table
free.



SVN revision: 61091
2011-07-06 17:58:41 +00:00
Jonas M. Gastal d8d3e290be Eina: Improving eina_accessor documentation.
SVN revision: 61089
2011-07-06 14:50:46 +00:00
Jonas M. Gastal 6b3b2c15b5 Eina: Improvements to eina_list's documentation.
SVN revision: 61088
2011-07-06 14:50:33 +00:00
Jonas M. Gastal 0705400fbf Eina: Improvement to eina_iterator's documentation.
SVN revision: 61087
2011-07-06 14:50:12 +00:00
Jonas M. Gastal aef23ad7ef Eina: Improvements to eina_array's documentation.
SVN revision: 61086
2011-07-06 14:49:44 +00:00
Jonas M. Gastal 750fa56716 Make eina docs work on IE8 and IE9.
SVN revision: 61055
2011-07-05 16:35:20 +00:00
Jonas M. Gastal 239864e32c Eina: Spelling fixes and using smaller size for hash image.
SVN revision: 61018
2011-07-04 19:48:01 +00:00
Jonas M. Gastal 8bd2207fd7 Eina: Adding link to example in eina_str documentation.
SVN revision: 61013
2011-07-04 17:18:30 +00:00
Carsten Haitzler db6157d408 and include eina_mmap.h in Eina.h <- forgot
SVN revision: 60977
2011-07-04 09:35:17 +00:00
Carsten Haitzler d926889559 add eina mmap safety handling.
SVN revision: 60976
2011-07-04 09:29:59 +00:00
Jonas M. Gastal 2587a69af7 Eina: eina_strbuf example and documentation.
SVN revision: 60762
2011-06-28 14:38:17 +00:00
Jonas M. Gastal 1eb2a44f08 Eina: Slight improvement to eina_strbuf's documentation.
SVN revision: 60761
2011-06-28 14:37:49 +00:00
Jonas M. Gastal 2b6a9986cb Eina: improve eina_str documentation.
SVN revision: 60757
2011-06-28 13:52:59 +00:00
Jonas M. Gastal fc62f8d13d Eina: eina_str example and accompanying documentation.
SVN revision: 60742
2011-06-27 20:26:43 +00:00
Rafael Antognolli c7ebecd004 eina/autotools - fix typo on eina_log example
SVN revision: 60735
2011-06-27 15:10:34 +00:00
Jonas M. Gastal 0a0fc20529 Eina: Reorganization of eina log documentation.
SVN revision: 60733
2011-06-27 14:02:10 +00:00
Mike Blumenkrantz 5e56d28dbd fix eina_binbuf_* signatures to use unsigned char instead of char...
SVN revision: 60693
2011-06-26 00:08:03 +00:00
Cedric BAIL a5fe2772c7 eina: add Eina_LockRW. more refactoring code comming.
SVN revision: 60628
2011-06-23 09:58:54 +00:00
Jonas M. Gastal 9f9686f2f3 Eina: Adding eina file example to makefile.
SVN revision: 60606
2011-06-22 19:48:37 +00:00
Jonas M. Gastal 655ca9d44e Eina: Eina error documentation improvement.
SVN revision: 60605
2011-06-22 19:48:27 +00:00
Jonas M. Gastal dbe4c5d613 Eina: Eina file documentation.
SVN revision: 60604
2011-06-22 19:25:44 +00:00
Cedric BAIL 563fbf97f2 eina: update Eina_Refcount API to please Tasn.
SVN revision: 60592
2011-06-22 14:04:09 +00:00
Carsten Haitzler 6c96111e0a dont bloody cache files! all this will do is leak them forever. no
cache. JUSt a shared hash. ZERO speculative retention cache. it was
broken before anyway.

grrrrr..........



SVN revision: 60589
2011-06-22 12:47:12 +00:00
Cedric BAIL 6aade06b3f eina: fix eina_stringshare_dump bug #791 reported by jgastal@profusion.mobi.
SVN revision: 60580
2011-06-22 08:14:32 +00:00
Jonas M. Gastal 7a1da7d624 Eina: Eina_Stringshare documentation.
SVN revision: 60559
2011-06-21 20:45:50 +00:00
Jonas M. Gastal 702eb939d9 Eina: EINA_MAGIC example and documentation.
SVN revision: 60535
2011-06-20 21:15:17 +00:00
Lucas De Marchi cde2bec9f6 eina: fix common misspellings
Common misspellings found by codespell.



SVN revision: 60479
2011-06-18 19:48:28 +00:00
Jonas M. Gastal c0d8ef9ede Eina: Adding images for latex docs.
SVN revision: 60452
2011-06-17 14:20:59 +00:00
Cedric BAIL c2d99295bd eina: rename eina_hash_free_set as eina_hash_free_cb_set.
SVN revision: 60439
2011-06-17 09:49:15 +00:00
Cedric BAIL d70d67c288 eina: forgotten commit.
SVN revision: 60428
2011-06-17 08:55:22 +00:00
Cedric BAIL eb976c2571 eina: disabling Eina_Object until 1.1 is released.
SVN revision: 60427
2011-06-17 08:48:02 +00:00
Michael Jennings 092d2d861b Since the SVN revision is now included in %{version}, it's redundant
to have it in %{release} also.  So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.



SVN revision: 60407
2011-06-16 20:36:43 +00:00
Cedric BAIL a336a811ec eina: @since
SVN revision: 60356
2011-06-15 15:54:42 +00:00
Cedric BAIL 7decbe6825 eina: +eina_hash_free_set.
SVN revision: 60354
2011-06-15 15:46:10 +00:00
Rafael Antognolli 5ab79258a2 eina: Add detailed description and some examples to Eina_Inlist.
SVN revision: 60310
2011-06-14 17:43:53 +00:00
Jonas M. Gastal aab43b7ead eina: A few fixes for the Eina_List doc.
SVN revision: 60288
2011-06-13 17:46:22 +00:00
Jonas M. Gastal d3ee1a3353 eina: Add acknowledgment of Samsung's patronage to
documentation project.



SVN revision: 60285
2011-06-13 16:44:08 +00:00
Jonas M. Gastal 0be4917595 eina: Eina_Accessor documentation.
SVN revision: 60284
2011-06-13 16:42:25 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00