Cedric BAIL
4df9bbead1
* eio: Add an error callback, some docs and a small README.
...
SVN revision: 50446
2010-07-23 11:00:44 +00:00
Boris Faure
2ac69e62f0
eet: typo. Patch by Vincent Torri
...
SVN revision: 50445
2010-07-23 07:32:34 +00:00
Mike Blumenkrantz
a1022c849e
shutup libtool on convenience libs
...
SVN revision: 50444
2010-07-23 04:20:24 +00:00
Mike Blumenkrantz
c85f521ffa
+ecore_thread_pool_data_modify_or_add
...
SVN revision: 50443
2010-07-23 04:17:41 +00:00
Mike Blumenkrantz
92cd8f2705
api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
...
SVN revision: 50442
2010-07-23 03:39:52 +00:00
Mike Blumenkrantz
ebd21717c6
+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
...
SVN revision: 50438
2010-07-22 20:28:34 +00:00
Christopher Michael
e42fd65b80
Fix use of __UNUSED__ and fix some formatting.
...
SVN revision: 50437
2010-07-22 18:42:44 +00:00
Cedric BAIL
c5cc3b6e19
* eio: please welcome our asynchronous input output library.
...
NOTE: right now only help with file listing and provide a
wrapper around eina_file_ls and eina_file_direct_ls and ecore_long_run.
But the idea is to do the same with all Ecore_File code so that one
day we can remove Ecore_File.
SVN revision: 50429
2010-07-22 16:08:17 +00:00
Cedric BAIL
7726478790
* ecore: add ecore_con_lookup for dns request retrieval.
...
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.
SVN revision: 50425
2010-07-22 11:32:55 +00:00
Mike Blumenkrantz
0ffbf90242
should probably make thread functions threadsafe. and compile.
...
SVN revision: 50411
2010-07-21 08:33:25 +00:00
Brett Nash
8528bb0179
Tweaks to neon text: Help with some bugs at least.
...
SVN revision: 50410
2010-07-21 08:09:41 +00:00
Mike Blumenkrantz
977be45e37
fix some function variables and a cedric-requested rename
...
SVN revision: 50409
2010-07-21 07:09:51 +00:00
Brett Nash
59d93f9353
Minor fix: Don't render text if there is nothing to do
...
SVN revision: 50408
2010-07-21 06:43:47 +00:00
Mike Blumenkrantz
55f0882da4
revert previous. why would I do that in the first place?
...
SVN revision: 50407
2010-07-21 05:02:17 +00:00
Mike Blumenkrantz
00023656af
man I fail at formatting
...
SVN revision: 50406
2010-07-21 04:26:57 +00:00
Mike Blumenkrantz
82d7183f47
+ecore_thread_total_get to return total number of pending jobs
...
SVN revision: 50405
2010-07-21 04:03:40 +00:00
Mike Blumenkrantz
50e621c5c2
remove tolower() from eina_str_tolower
...
SVN revision: 50404
2010-07-21 03:59:37 +00:00
Brett Nash
9dc5a96f2d
Generally speaking, dereffing uninited pointners is not so good.
...
Squash one nasal daemon!
SVN revision: 50403
2010-07-21 03:51:36 +00:00
Mike Blumenkrantz
489cae4eee
+eina_hash_modify_or_add to always add a value to the hash at the specified key
...
SVN revision: 50402
2010-07-21 03:15:39 +00:00
Mike Blumenkrantz
35ca9e3e12
+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
...
SVN revision: 50399
2010-07-21 02:12:10 +00:00
Mike Blumenkrantz
ec1d528178
+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
...
SVN revision: 50397
2010-07-21 01:04:28 +00:00
Christopher Michael
13399b7362
Fix for Ecore Api changes wrt Eina_Bool.
...
SVN revision: 50394
2010-07-20 22:02:31 +00:00
Cedric BAIL
3f4ca260af
* eet: reduce likeliness of race condition by checking file size too.
...
SVN revision: 50382
2010-07-20 16:13:51 +00:00
Cedric BAIL
58dfd1c2b8
* evas: make WORD/METRIC cache work with pipe rendering.
...
SVN revision: 50381
2010-07-20 12:11:49 +00:00
Cedric BAIL
3479d5e0ea
* evas: fix fribidi lock.
...
SVN revision: 50380
2010-07-20 12:10:40 +00:00
Cedric BAIL
0a5c65549a
* evas: font config access is not thread safe at all. Don't forget
...
to call FTLOCK/FTUNLOCK around each FT_* call.
SVN revision: 50379
2010-07-20 12:09:46 +00:00
Cedric BAIL
8006ed3753
* evas: METRIC and WORD cache require stringshare use in thread, so
...
enable it.
SVN revision: 50378
2010-07-20 12:07:51 +00:00
Mike Blumenkrantz
5701a455d1
some variable renames to make this easier to understand
...
SVN revision: 50376
2010-07-20 09:40:53 +00:00
Mike Blumenkrantz
75d478dfac
+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
...
SVN revision: 50375
2010-07-20 09:40:18 +00:00
Cedric BAIL
8bd358c65e
* evas: unbreak pipe rendering, that was a long break.
...
SVN revision: 50374
2010-07-20 09:32:28 +00:00
Mike Blumenkrantz
b0ce982544
make some comments that were so close to being real doxy blocks into doxy blocks. come on guys. let's see some doxy hustle!
...
SVN revision: 50373
2010-07-20 05:32:29 +00:00
Mike Blumenkrantz
952dd2bd44
note: '/*' is not how you begin a doxygen code block
...
SVN revision: 50372
2010-07-20 05:25:02 +00:00
Christopher Michael
e6f4e7be70
Remove useless if statement. Regardless if count is greater than 1, we
...
were still returning the count anyway.
SVN revision: 50369
2010-07-19 18:16:56 +00:00
Cedric BAIL
05a03bd60c
* edje: fix constness warning.
...
SVN revision: 50368
2010-07-19 16:41:19 +00:00
Cedric BAIL
9660c1c66f
* eina: fix tolower call.
...
SVN revision: 50366
2010-07-19 11:25:10 +00:00
Mike Blumenkrantz
f18e1899e5
+eina_str_tolower for lowercasing an entire string in one line
...
SVN revision: 50361
2010-07-19 01:56:42 +00:00
Mike Blumenkrantz
0c983ac8d8
dox fixes
...
SVN revision: 50355
2010-07-18 18:59:01 +00:00
Mike Blumenkrantz
c146935917
+eina_stringshare_replace_length to replace a stringshared string with a given length of another string
...
SVN revision: 50320
2010-07-18 07:39:21 +00:00
Mike Blumenkrantz
9dcd70a33d
and macro whoops
...
SVN revision: 50319
2010-07-18 06:48:08 +00:00
Mike Blumenkrantz
8e56225323
attribute whoops
...
SVN revision: 50318
2010-07-18 06:45:22 +00:00
Mike Blumenkrantz
02ef2d58e5
small patch from andmils in #e; fixes compile on freebsd
...
SVN revision: 50317
2010-07-18 06:38:23 +00:00
Mike Blumenkrantz
9276378041
+eina_strbuf_string_free to free string in strbuf without freeing strbuf
...
SVN revision: 50316
2010-07-18 06:21:50 +00:00
Mike Blumenkrantz
d3982d4b5c
+eina_hash_free_buckets to free buckets without freeing a hash
...
SVN revision: 50315
2010-07-18 04:24:24 +00:00
Mike Blumenkrantz
af32bf04f0
well this was just plain wrong
...
SVN revision: 50314
2010-07-18 03:55:53 +00:00
Mike Blumenkrantz
7d3bf122ac
on the fifth day the rasterman said "let there be docs for hash tables!"
...
but there were no docs for hash tables because k-s and cedric were busy writing new functions for hash tables. so rasterman again said "let there be docs for hash tables! really guys, I mean it this time!"
and this time there were docs, but these docs were incomplete and in some places vague and misleading.
these docs frustrated little discomfitor, who had just healed up after learning to ride his edje bicycle and was just starting to read. so he read all that he could, and then he started to write. he wrote his little heart out until finally there were more docs for hash tables like the rasterman had wanted.
then he went and got ice cream.
The End.
SVN revision: 50313
2010-07-18 03:29:10 +00:00
Christopher Michael
39adb32e71
Use eina_stringshare_replace rather than several _del & _add calls
...
(tested w/ no apparent adverse affects).
Fix some formatting.
SVN revision: 50307
2010-07-17 19:49:16 +00:00
Gustavo Sverzut Barbieri
7521047f09
Fix invalid access if using async-render
...
Ouch, that was nasty! src/lib/cache/evas_cache_image.c was assuming
all Image_Entry were RGBA_Image (why?!?!?), thus doing the cast and
having mutexes and other to operate on garbage (possibly crashing due
segv). This happened to be the case with Soft16_Image used by
software_16 engines.
I'm not sure, but this may fix problems that people noticed with
async-render hanging their systems even if not explicitly enabled
during runtime.
I also found it quite strange the number of locks required by this
code! Clearly we could use macros to simplify and avoid bugs, but
maybe some atomic_inc/dec code should be used to remove half of the
mutexes in that code?
/me wonders what kinds of bug more we can expect from this code :-/
SVN revision: 50300
2010-07-16 22:52:04 +00:00
Gustavo Sverzut Barbieri
a7e471700b
Fix soft16 preload by replicating Image_Entry::info.
...
Software 16bpp variants were crashing if using preload as the
Image_Entry that was used by preload did not keep the loader and
module information, since these were only set in the
Soft16_Image::source. Now we copy these members while the source is
live.
SVN revision: 50299
2010-07-16 22:47:31 +00:00
Lucas De Marchi
01d20339dd
Create interface to system bell
...
Only the xlib implementation is done. It's calling XBell() to alert user.
SVN revision: 50290
2010-07-16 20:54:18 +00:00
Cedric BAIL
793c66b5dc
* edje: last move of properties in the right structure.
...
SVN revision: 50284
2010-07-16 16:00:26 +00:00
Cedric BAIL
93ea3f4e52
* edje: move all structures outside of Edje_Part_Description.
...
SVN revision: 50283
2010-07-16 14:24:57 +00:00
Cedric BAIL
04ffefa9e5
* edje: move image specific properties to their own structure.
...
SVN revision: 50282
2010-07-16 14:13:38 +00:00
Cedric BAIL
83bb52f7c9
* edje: attempt to reduce code size by using more macro.
...
SVN revision: 50281
2010-07-16 13:58:35 +00:00
Cedric BAIL
8e1a7c28e6
* edje: jump to the right offset in the string.
...
SVN revision: 50280
2010-07-16 13:05:37 +00:00
Cedric BAIL
30d35eb1ba
* edje: start to split structure content.
...
SVN revision: 50279
2010-07-16 11:37:58 +00:00
Christopher Michael
6f110efad1
Remove duplicate if (This is already checked a few lines above, so not
...
needed).
SVN revision: 50272
2010-07-15 20:52:29 +00:00
Eduardo de Barros Lima
9b3cf97523
Ability to disable NEON code in runtime
...
Just set the EVAS_CPU_NO_NEON environment var if you want to disable Neon.
The same is done for other specific CPU codes, such as MMX, MMX2, SSE, etc.
SVN revision: 50271
2010-07-15 17:58:38 +00:00
Cedric BAIL
9685d5d369
* edje: count each type of description.
...
SVN revision: 50267
2010-07-15 13:38:07 +00:00
Gustavo Sverzut Barbieri
5882201502
ethumb: Invalid access upon ethumb_free
...
The sub-ecore_evas is automatically deleted by ecore_evas_object_image
object when it is deleted, so we were double-freeing it.
By: Brian Wang <brian.wang.0721@gmail.com>
SVN revision: 50265
2010-07-15 12:45:52 +00:00
Vincent Torri
8351950dee
Add native Windows thread support instead of using pthread
...
(less overhead). On other OS, pthread is still used by default.
Pass --enable-win32-threads to activate thread support on
Windows.
SVN revision: 50262
2010-07-15 06:34:32 +00:00
Carsten Haitzler
cebe53cd3d
final existing exposed api works. fixme time.
...
SVN revision: 50246
2010-07-14 08:07:26 +00:00
Carsten Haitzler
a6224e33b0
more edje lua api in.
...
SVN revision: 50245
2010-07-14 05:32:48 +00:00
Lucas De Marchi
749cc7478c
Remove unneeded code with notnull.cocci script
...
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi
2a84379ba9
Remove unneeded code with notnull.cocci script
...
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
SVN revision: 50241
2010-07-14 02:05:47 +00:00
Carsten Haitzler
3a00e81a7c
add pixmap set/get for comp.
...
SVN revision: 50238
2010-07-13 23:31:16 +00:00
Vincent Torri
c7bb6d41f5
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
...
i really dislike having PATH_MAX in a header file...
SVN revision: 50231
2010-07-13 19:17:35 +00:00
Vincent Torri
84efd3507f
leak--, thanks cedric
...
SVN revision: 50225
2010-07-13 16:43:15 +00:00
Cedric BAIL
b49c2411bd
* edje: when gradient meet dodo. Yes, they are gone !
...
SVN revision: 50223
2010-07-13 15:47:19 +00:00
Tiago Rezende Campos Falcao
ab8cdf1979
EDC Snippets for vim snipmate
...
SVN revision: 50222
2010-07-13 13:58:37 +00:00
Vincent Torri
971f0800ca
useless headers now
...
SVN revision: 50221
2010-07-13 13:57:21 +00:00
Vincent Torri
c97a897584
use Win32 native mutex on Windows. To use it, pass the following option
...
to configure:
--enable-win32-threads
By default, pthreads are used
SVN revision: 50220
2010-07-13 13:51:00 +00:00
Vincent Torri
9f425c5892
make it compile on Windows
...
SVN revision: 50219
2010-07-13 13:08:14 +00:00
Vincent Torri
fd59d59930
newline --
...
SVN revision: 50218
2010-07-13 12:49:37 +00:00
Carsten Haitzler
290e2bb6b7
fill in moar.
...
SVN revision: 50213
2010-07-13 06:47:18 +00:00
Carsten Haitzler
038e71b4ce
oooh lua... looking good.
...
SVN revision: 50212
2010-07-13 06:17:15 +00:00
Rafael Antognolli
3934ad9f68
Fix accounting safeness logic introduced at rev. 50158.
...
SVN revision: 50202
2010-07-12 17:59:48 +00:00
Gustavo Lima Chaves
2c1a54103d
Changes accounting safeness logic introduced at rev. 50158.
...
SVN revision: 50201
2010-07-12 17:20:14 +00:00
Cedric BAIL
3015da94da
* ecore: fix build without thread.
...
NOTE: if you build ecore without pthread support, you really should know
that it is a bad idea. Only people without pthread support on their
device/C library should disable it.
SVN revision: 50200
2010-07-12 14:39:06 +00:00
Carsten Haitzler
e80f08b4b4
bitrot-- > work again (minus map features etc. tho)
...
SVN revision: 50192
2010-07-12 02:47:02 +00:00
Carsten Haitzler
ac9bd77564
fix flags/libs used.
...
SVN revision: 50189
2010-07-12 01:00:52 +00:00
Carsten Haitzler
9d610104a3
more correct dso fix.
...
SVN revision: 50186
2010-07-11 23:59:06 +00:00
Carsten Haitzler
6a6d4d991c
more correct version of the dso fix
...
SVN revision: 50185
2010-07-11 23:57:08 +00:00
Carsten Haitzler
c8765d7594
a more correct version of the dso fix.
...
SVN revision: 50184
2010-07-11 23:56:40 +00:00
Carsten Haitzler
86166e7bc4
make emotion do the same snap/rev thing. while i'm poking around.
...
SVN revision: 50183
2010-07-11 23:42:38 +00:00
Vincent Torri
c012d2e7f6
fix compilation on Windows
...
SVN revision: 50179
2010-07-11 11:52:43 +00:00
Massimo Maiurana
f7d49e0b6d
updating french translation
...
SVN revision: 50178
2010-07-11 08:11:07 +00:00
Vincent Torri
3e15fef7b8
fix warnings
...
SVN revision: 50174
2010-07-10 11:09:40 +00:00
Vincent Torri
5ae1fc61e1
fix spaces
...
SVN revision: 50173
2010-07-10 11:08:20 +00:00
Vincent Torri
82fa7e0fa0
don't install private headers
...
SVN revision: 50166
2010-07-09 20:24:49 +00:00
Mike Blumenkrantz
e9568abe33
sigh
...
SVN revision: 50163
2010-07-09 16:44:33 +00:00
Mike Blumenkrantz
718fb33521
remove copypasta
...
SVN revision: 50162
2010-07-09 15:59:49 +00:00
Gustavo Sverzut Barbieri
675b20a859
ethumb: cleanup headers
...
This bug of including Ecore, Evas and Ecore_Evas from Ethumb.h was
actually expoed from recent evas-0/Evas.h change, as these were not
required in the public file, I'm removing them and just letting eina
as it is used to typedef Eina_Bool and function attributes.
SVN revision: 50160
2010-07-09 15:24:17 +00:00
Gustavo Sverzut Barbieri
747fd6151a
be loud about deleting timers, idlers and events more than once.
...
SVN revision: 50158
2010-07-09 14:52:45 +00:00
Gustavo Sverzut Barbieri
dcced661a2
fix amalgamation after lua2 changes.
...
BTW, if lua2 is the default, maybe we could remove the mess that is
the first version? SVN serves as history as well.
SVN revision: 50157
2010-07-09 14:24:14 +00:00
Jonathan Atton
d97c0b0a9a
the min size of the box is the sum of the items min size
...
SVN revision: 50156
2010-07-09 11:17:35 +00:00
Christopher Michael
6d4c38f97b
Move Ethumb headers to own directory.
...
Fix trying to free an evas_object by using ecore_evas_free...spankies !!
SVN revision: 50152
2010-07-09 08:14:24 +00:00
Carsten Haitzler
b4748494e2
start to fill in some object methods. empty for now
...
SVN revision: 50151
2010-07-09 07:52:53 +00:00
Christopher Michael
03b7bd2653
Move Eeze header to own dir.
...
SVN revision: 50148
2010-07-09 06:41:31 +00:00
Christopher Michael
f503b5f75b
Move Emotion.h to own dir.
...
SVN revision: 50147
2010-07-09 06:38:12 +00:00
Christopher Michael
5cf875426f
Move Edje (and associated headers) to own dir.
...
SVN revision: 50146
2010-07-09 06:35:02 +00:00