Mike Blumenkrantz
dd2dc39bff
this was supposed to go with the last commit...
...
SVN revision: 50502
2010-07-26 05:09:20 +00:00
Mike Blumenkrantz
f3ad2982b8
+eina_stringshare_vprintf for using a va_list
...
SVN revision: 50501
2010-07-26 05:09:02 +00:00
Brett Nash
8b858d5f7b
Use offsetof rather the manual pointer compares. C89 can be taken as given I
...
think. Also update authors to add Mwa, and fix copyright statement to be
useful. (Always list years, not ranges of years... longer, but covered by
international conventions).
SVN revision: 50500
2010-07-26 04:21:47 +00:00
Mike Blumenkrantz
d5b507adcc
add typedefs for ecore thread function types because I'm tired of typing them out
...
SVN revision: 50499
2010-07-26 04:20:18 +00:00
Brett Nash
9357c5d284
Use memcmp instead of stringshare. Much faster.
...
Everyones favourite arm benchmarks (a8 cortex)
Base stringshare memcmp Diff Diff %
Widgets File Icons 32.48 36.78 4.3 13.24%
Widgets File Icons 2 73.65 74.93 1.28 1.74%
Widgets File Icons 3 44.87 46.89 2.02 4.50%
Widgets File Icons 4 65.66 66.45 0.79 1.20%
Text Basic 88.67 91.21 2.54 2.86%
Text Styles 10.71 10.95 0.24 2.24%
Text Styles Different St 8.3 8.45 0.15 1.81%
Text Change 56.4 57.34 0.94 1.67%
Textblock Basic 60.75 68.8 8.05 13.25%
Textblock Intl 155.33 193.51 38.18 24.58%
SVN revision: 50498
2010-07-26 03:17:40 +00:00
Sebastian Dransfeld
31c6799a7e
goto not needed anymore with alloca
...
SVN revision: 50496
2010-07-25 20:38:28 +00:00
Sebastian Dransfeld
78f80647ea
use eina hash set
...
SVN revision: 50494
2010-07-25 20:28:21 +00:00
Sebastian Dransfeld
230461d56b
free data on error
...
SVN revision: 50493
2010-07-25 20:25:51 +00:00
Sebastian Dransfeld
b76d9490dc
Fix errors reported by clang
...
SVN revision: 50492
2010-07-25 20:25:40 +00:00
Mike Blumenkrantz
e43175fa37
add doxy
...
SVN revision: 50491
2010-07-25 19:32:03 +00:00
Mike Blumenkrantz
7ff1096672
+eina_stringshare_printf
...
+eina_stringshare_nprintf
the long awaited printf functions for stringshare!
SVN revision: 50490
2010-07-25 19:18:26 +00:00
Andreas Volz
5967027157
doxygen
...
SVN revision: 50486
2010-07-25 18:29:01 +00:00
Mike Blumenkrantz
37de5b807f
+eina_error_msg_modify to change the error string of a registered error; preserves allocation state of message creation (errors created with static_register() will remain statically allocated)
...
SVN revision: 50484
2010-07-25 06:25:06 +00:00
Mike Blumenkrantz
846e224fd2
+eina_str_toupper for completion
...
SVN revision: 50483
2010-07-25 02:03:10 +00:00
Brett Nash
a834d2e85f
Some improvements to 90 degree rotated neon.
...
SVN revision: 50476
2010-07-24 04:52:13 +00:00
Brett Nash
68682317e8
Bump the default buffer size. USeful for expedite ;-)
...
SVN revision: 50474
2010-07-24 02:38:36 +00:00
Christopher Michael
32d67b080a
Don't need 2 of the same variables.
...
SVN revision: 50473
2010-07-24 02:28:24 +00:00
Mike Blumenkrantz
034e320ac1
fix longstanding leak
...
SVN revision: 50470
2010-07-24 02:05:35 +00:00
Mike Blumenkrantz
5d5517868b
fix leak
...
SVN revision: 50469
2010-07-24 02:04:53 +00:00
Mike Blumenkrantz
bc9b536b14
correctly init some variables that I missed somehow. I blame Sachiel.
...
SVN revision: 50465
2010-07-23 22:28:18 +00:00
Mike Blumenkrantz
15f3719964
shut up eina
...
SVN revision: 50460
2010-07-23 17:52:50 +00:00
Mike Blumenkrantz
2e9651eeca
fix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps to wait in data_wait functions
...
SVN revision: 50459
2010-07-23 17:30:21 +00:00
Mike Blumenkrantz
f10870c933
whoops
...
SVN revision: 50455
2010-07-23 16:40:40 +00:00
Mike Blumenkrantz
e488119c47
+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
...
SVN revision: 50454
2010-07-23 16:24:35 +00:00
Mike Blumenkrantz
4436081e5b
add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
...
SVN revision: 50453
2010-07-23 15:33:22 +00:00
Mike Blumenkrantz
8ed22a2023
rename mutex
...
SVN revision: 50451
2010-07-23 13:35:14 +00:00
Mike Blumenkrantz
680ec26e8a
fix doxy
...
SVN revision: 50450
2010-07-23 13:12:42 +00:00
Mike Blumenkrantz
9efdf6c9d4
remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
...
SVN revision: 50449
2010-07-23 13:08:38 +00:00
Mike Blumenkrantz
2f183fa194
eina_hash_modify_or_add -> eina_hash_set
...
SVN revision: 50448
2010-07-23 13:04:21 +00:00
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
Christopher Michael
c3ed53b869
Move Embryo.h header to own dir.
...
SVN revision: 50145
2010-07-09 06:31:53 +00:00
Christopher Michael
c6f20a9cdf
Missed two .pc.in files on the header move there :(
...
SVN revision: 50144
2010-07-09 06:31:32 +00:00
Christopher Michael
4f972b800b
Move Efreet (and associated headers) to own dir.
...
SVN revision: 50143
2010-07-09 06:28:29 +00:00
Christopher Michael
bb651d8eb8
Move Ecore.h (and associated headers) to own dir.
...
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Christopher Michael
fefbc09a63
Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
...
move).
SVN revision: 50141
2010-07-09 06:10:55 +00:00
Carsten Haitzler
9f2028be95
message worketh now too.
...
SVN revision: 50140
2010-07-09 05:57:17 +00:00
Carsten Haitzler
519ca3be8b
lua2 getting gooooooooooooooood. message method still needs work.
...
SVN revision: 50139
2010-07-09 05:12:35 +00:00
Lucas De Marchi
442fe3afae
Add missing macros
...
Add missing EINA_SAFETY_ON_NULL_GOTO and define all the *GOTOs macros when
safety checks are disabled.
SVN revision: 50138
2010-07-09 03:27:04 +00:00
Carsten Haitzler
f723c133d7
more api. yo.
...
SVN revision: 50137
2010-07-09 00:46:42 +00:00
Gustavo Sverzut Barbieri
a2a0ab8d4c
Fix memory alignment and remove dead/useless code.
...
* those write to stderr were legacy from development, some of them
were even wrongly accessing out-of-buffer memory;
* some platforms cannot access non-aligned memory, like integers that
are not aligned to sizeof(int) and do on. Change the generated
message using memcpy to aligned memory before using them. Add
comment to explain that;
SVN revision: 50135
2010-07-08 22:37:04 +00:00
Lucas De Marchi
b07f70b85c
Update doc of eina_str_split functions
...
Mention that they can return NULL in case malloc() fails.
SVN revision: 50127
2010-07-08 15:08:31 +00:00
Carsten Haitzler
0a642224aa
hmm seems not kosher
...
SVN revision: 50122
2010-07-08 06:53:06 +00:00
Lucas De Marchi
9df58ae530
Remove NULL pointer dereference
...
Bug found by the "andand" semantic patch:
// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU. GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:
@ expression@
expression E;
identifier fld;
@@
- !E &&
+ !E ||
<+...E->fld...+>
@ expression@
expression E;
identifier fld;
@@
- E ||
+ E &&
<+...E->fld...+>
SVN revision: 50118
2010-07-08 03:21:33 +00:00
Carsten Haitzler
e9d4afc9d7
moved eet.h to its own dir - pkgconfig handles all the right stuff.
...
SVN revision: 50117
2010-07-08 03:05:00 +00:00
Lucas De Marchi
7c12cc36aa
Fixes for Ecore Api changes
...
Patch automatically generated by Coccinelle to fix the
callbacks used by the following functions:
* ecore_event_handler_add()
* ecore_event_filter_add()
* ecore_idler_add()
* ecore_idle_enterer_add()
* ecore_idle_enterer_before_add()
* ecore_idle_exiter_add()
* ecore_main_fd_handler_add()
* ecore_main_win32_handler_add()
* ecore_timer_add()
* ecore_timer_loop_add()
* ecore_animator_add()
* ecore_poller_add()
SVN revision: 50113
2010-07-08 01:00:48 +00:00
Lucas De Marchi
4686d20b47
Fixes for Ecore Api changes
...
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:
* ecore_event_handler_add()
* ecore_event_filter_add()
* ecore_idler_add()
* ecore_idle_enterer_add()
* ecore_idle_enterer_before_add()
* ecore_idle_exiter_add()
* ecore_main_fd_handler_add()
* ecore_main_win32_handler_add()
* ecore_timer_add()
* ecore_timer_loop_add()
* ecore_animator_add()
* ecore_poller_add()
SVN revision: 50099
2010-07-08 00:51:55 +00:00
Carsten Haitzler
3f941f2e46
bah! i didnt mean to add this "make 2 of them" test to svn. remove.
...
SVN revision: 50097
2010-07-07 23:39:12 +00:00
Carsten Haitzler
bf32b545f3
notes, setjmp safety for panics.
...
SVN revision: 50092
2010-07-07 03:24:05 +00:00
Carsten Haitzler
ba9137e404
more time calls.
...
SVN revision: 50091
2010-07-07 02:40:46 +00:00
Carsten Haitzler
06dd419b4b
transition++
...
SVN revision: 50089
2010-07-07 00:58:34 +00:00
Carsten Haitzler
d26b1c46fd
animator works.
...
SVN revision: 50088
2010-07-07 00:19:39 +00:00
Lucas De Marchi
62391791bf
Move ifdefs
...
Much better and readable, with less code and the same result. Moreover this
makes some parsers not to kill themselves.
SVN revision: 50069
2010-07-06 17:20:30 +00:00
Lucas De Marchi
93f03880bd
Do not purify what's impure
...
Two tests were failing, but no more.
SVN revision: 50067
2010-07-06 15:50:15 +00:00
Gustavo Sverzut Barbieri
5b03bc86ec
add some gcc modifiers: non-null args, warn unused results and malloc.
...
SVN revision: 50066
2010-07-06 15:48:24 +00:00
Gustavo Sverzut Barbieri
ed15713785
add eina_file_direct_ls()
...
Similar to eina_file_ls(), but useful when one wants to apply some
filters to the names before using them as it provides sizes of the
whole path and basename, index of the basename inside the path, dirent
structure for reference (skip directories, etc) and last but not
least, it is faster as it does not stringshare or even builds the full
path at each iteration, instead it keeps the invariant prefix
untouched and just copy the filename.
All in all this is a faster version of eina_file_ls(), use it as
possible as it will avoid overheads.
SVN revision: 50065
2010-07-06 15:45:12 +00:00
Lucas De Marchi
33892c5fc4
Do not clobber type with var name
...
value => val, because value is a pre-defined type
SVN revision: 50063
2010-07-06 14:16:41 +00:00
Carsten Haitzler
ec1bf49da9
lua2 stuff.
...
SVN revision: 50061
2010-07-06 09:35:34 +00:00
Lucas De Marchi
c7d1c78c46
Finish fixing int => Eina_Bool
...
A buggy standard.h caused some parser errors in the previous committed
patch generated by Coccinelle. This commit find the other places.
SVN revision: 50052
2010-07-06 00:08:52 +00:00
Brett Nash
8dfc47998e
Add more control over word-cache size. Also really fix my leak on international text.
...
The new wordcache option is an environment variable called:
EVAS_WORD_CACHE_MAX_WORDS
set this to a number between 1-500 to change the cache size.
Larger values (40+) fix regressions in a few of the expedite tests.
SVN revision: 50047
2010-07-05 06:40:20 +00:00
Brett Nash
1c185410b4
Old bug: Don't suffer from buffer overflow in readlink.
...
SVN revision: 50040
2010-07-05 04:11:53 +00:00
Iván Briano
b895f0c07f
Re-convert to old format on Edje_Edit when saving
...
SVN revision: 50016
2010-07-03 22:50:58 +00:00
Lucas De Marchi
622d0a901f
segv--
...
SVN revision: 50011
2010-07-03 15:48:01 +00:00
Rui Seabra
b4fe249fce
edje_convert.h wasn't included in make dist
...
SVN revision: 50010
2010-07-03 11:26:00 +00:00
Mike Blumenkrantz
b3a4801b79
fix leak in free
...
SVN revision: 50009
2010-07-03 05:29:31 +00:00
Nicholas Hughart
520441b412
Fix a couple of missed Eina_Bool conversions
...
SVN revision: 50007
2010-07-03 03:07:28 +00:00
Jonathan Atton
88c1bf3585
Fix research with Alias
...
SVN revision: 50003
2010-07-02 18:17:37 +00:00
Cedric BAIL
d4059c7107
* eina: rename ecore_file_ls_iterator to eina_file_ls.
...
SVN revision: 50002
2010-07-02 17:23:05 +00:00
Cedric BAIL
9560d51241
* edje: Add alias for part too. This should help designer to
...
provide the right part name and still use GROUP and BOX.
SVN revision: 50001
2010-07-02 16:56:42 +00:00
Cedric BAIL
f424ca1e1e
* ecore: for the 50 000 commits, why not adding some docs ?
...
SVN revision: 50000
2010-07-02 16:01:21 +00:00
Cedric BAIL
ba95606159
* edje: prevent some segv in edje_cc and detect wrong edje file
...
before compiling them.
Patch by Rafael Fonseca <rfonseca@profusion.mobi>.
SVN revision: 49999
2010-07-02 15:37:37 +00:00
Cedric BAIL
87b85132dd
* ecore: add ecore_file_ls_iterator.
...
SVN revision: 49997
2010-07-02 15:25:22 +00:00
Cedric BAIL
062f4c3920
* ecore: fix long run thread, now that I have a nice user.
...
SVN revision: 49994
2010-07-02 11:15:20 +00:00
Brett Nash
977221953e
Stringshare doesn't have a 64k limit. Don't say it does.
...
SVN revision: 49992
2010-07-02 08:56:09 +00:00
Brett Nash
daa5685bd3
Don't check alloca, it's like checking the stack exists.
...
SVN revision: 49991
2010-07-02 08:31:12 +00:00
Brett Nash
0227f22ad7
Some fixes for internation support and word cache
...
SVN revision: 49990
2010-07-02 07:05:20 +00:00
Brett Nash
59bbcfbb8a
Put a FIXME where someone doesn't understand alloca.
...
SVN revision: 49989
2010-07-02 06:53:41 +00:00
Brett Nash
b304ae1642
Only use work and metric cacheing on 3 character or longer strings.
...
SVN revision: 49988
2010-07-02 06:47:22 +00:00
Brett Nash
ac552cd762
Renable 'free' for word cache
...
SVN revision: 49986
2010-07-02 02:20:11 +00:00
Lucas De Marchi
7051feb04e
Fix callback signatures
...
The change from returning int to Eina_Bool left several call sites with
warnings because they were not updated. Here they are fixed by using
Coccinelle, a tool that allows us to automate tasks like that. This
commit was generated from the following semantic patch:
virtual org
@r1@
identifier fn!=NULL, fn2;
expression E1, E2, E3;
@@
(
ecore_event_handler_add(E1, fn, ...)
|
ecore_event_filter_add(E1, fn, ...)
|
ecore_idler_add(fn, ...)
|
ecore_idle_enterer_add(E1, fn, ...)
|
ecore_idle_enterer_before_add(E1, fn, ...)
|
ecore_idle_exiter_add(E1, fn, ...)
|
ecore_main_fd_handler_add(E1, E2, fn, E3, fn2, ...)
|
ecore_main_win32_handler_add(E1, fn, ...)
|
ecore_timer_add(E1, fn, ...)
|
ecore_timer_loop_add(E1, fn, ...)
|
ecore_animator_add(fn, ...)
|
ecore_poller_add(E1, E2, fn, ...)
)
@r2@
identifier r1.fn;
identifier ret;
typedef Eina_Bool;
position p;
@@
- int
+ Eina_Bool
fn@p(...) {
<...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...>
}
@r3@
identifier r1.fn2;
identifier ret;
position p;
@@
- int
+ Eina_Bool
fn2@p(...) {
...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...
}
@r4@
identifier r1.fn;
@@
- int
+ Eina_Bool
fn(...);
@r5@
identifier r1.fn2;
@@
- int
+ Eina_Bool
fn2(...);
@script:python depends on org@
p << r2.p;
f << r1.fn;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
@script:python depends on org@
p << r3.p;
f << r1.fn2;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
SVN revision: 49985
2010-07-02 01:38:05 +00:00
Brett Nash
4b7cab6ed4
Not pure, don't need to care about results.
...
Code with side effects is NOT pure. Cdoe where you can ignore the return
value because you care about the side effects should not have WARN_UNUSED...
Please only add such things when you've checked
SVN revision: 49984
2010-07-02 00:44:03 +00:00
Brett Nash
bb4c28dbb1
Commit ecore_evas_ecore_evases get
...
Coming soon:
ecore_ecore_evas_evas_get
evas_ecore_ecore_evas_get
get_ecore_evas_ecore_evas_name_gen()
SVN revision: 49983
2010-07-02 00:32:56 +00:00
Iván Briano
b9d2cf0983
Fix nasty cenourette.
...
Also from Raphael Kubo, you can ask him what the commit message means (rakuco around the irc plane of existence)
SVN revision: 49976
2010-07-01 19:54:47 +00:00
Iván Briano
8e50bcb41b
More from Raphael Kubo, register log domains
...
SVN revision: 49975
2010-07-01 19:48:54 +00:00
Iván Briano
01b6434842
From Raphael Kubo da Costa, fix callbacks to match Ecore changes
...
SVN revision: 49974
2010-07-01 19:42:12 +00:00
Carsten Haitzler
5716032298
no! include this!
...
SVN revision: 49961
2010-07-01 05:06:23 +00:00
Carsten Haitzler
41e2c165ec
ok - i think this can double-check if neon code can be compiled at all.
...
SVN revision: 49960
2010-07-01 04:52:45 +00:00
Lucas De Marchi
e502081fa3
Use macro to get container of inlist
...
Revove warning.
SVN revision: 49959
2010-07-01 03:12:14 +00:00
Carsten Haitzler
65ee259ada
code example wrong
...
SVN revision: 49957
2010-07-01 02:42:57 +00:00
Gustavo Lima Chaves
e868c81b30
Documentation fix for eina iterators.
...
SVN revision: 49951
2010-06-30 18:41:16 +00:00
Tom Hacohen
3e2b214065
evas: Removed the obsolete Arabic shaping as it's now done in FrBiDi (starting from version 0.19.2).
...
If you are having any problems with Arabic shaping please make sure you have FriBiDi version 0.19.2 installed at the time of compilation. If your distro doesn't have that version yet, make them upgrade, it's an year and a half old.
SVN revision: 49949
2010-06-30 16:51:49 +00:00
Cedric BAIL
d1fcb71f84
* ecore: add ecore_long_run facility with notify to main loop.
...
SVN revision: 49948
2010-06-30 13:25:28 +00:00
Cedric BAIL
c2b8feda9e
* Edje: deprecate Gradient part by displaying an error message
...
on edje file load.
WARNING: THIS CODE WILL BE GONE IF NO ONE IS WILLING TO TAKE
MAINTAINER SHIP OF IT.
SVN revision: 49946
2010-06-30 09:49:15 +00:00
Cedric BAIL
7d75cf9914
* Evas: deprecating gradient API.
...
WARNING: I AM SORRY, BUT IF NO ONE IS PLANNING TO BECOME
THE EFFECTIVE MAINTAINER OF THAT PIECE OF CODE, I WILL
REMOVE IT NEXT WEEK.
SVN revision: 49945
2010-06-30 09:47:55 +00:00
Cedric BAIL
6df28268ca
* eet: add support for eet_alias.
...
SVN revision: 49939
2010-06-29 16:20:23 +00:00
Cedric BAIL
4e30cb2411
* edje: move structure from Eina_List to array now that Eet support
...
them.
SVN revision: 49936
2010-06-29 13:48:03 +00:00
Vincent Torri
11f53993b0
put __UNUSED__ after parameter, not before
...
SVN revision: 49935
2010-06-29 10:47:06 +00:00
Vincent Torri
383343f251
On Windows 64, long is of size 32 bits and not 64 bits. Also
...
LONG_BIT is not defined on Windows.
SVN revision: 49934
2010-06-29 05:29:50 +00:00
Cedric BAIL
5da985c981
* edje: add an cache for group exist test.
...
SVN revision: 49928
2010-06-28 17:18:47 +00:00
Cedric BAIL
e17a4089df
* edje: This is the first commit of a rewrite of edje file
...
internal representation.
The objectiv is to simplify code, consume less CPU and memory
without loosing feature. Please report any breakage when you
see them. It will take a few weeks before we change the file
layout, during that time the load time may increase.
SVN revision: 49922
2010-06-28 13:56:30 +00:00
Brett Nash
13fcfaa5a1
Neon fixes for text rendering
...
SVN revision: 49917
2010-06-28 05:21:34 +00:00
Brett Nash
5710adfa7b
whitespace --
...
SVN revision: 49916
2010-06-28 05:21:05 +00:00