Commit Graph

9104 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 15ee9e8847 documentation improvements:
- quick access in the huuuuuuuge edcref
 - block name is top-aligned to its example fragment



SVN revision: 46668
2010-02-28 19:25:10 +00:00
Vincent Torri e9b5f89824 F_SETFL and O_NONBLOCK are supported by evil
SVN revision: 46658
2010-02-28 17:38:24 +00:00
Vincent Torri 555709fa24 abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46657
2010-02-28 17:28:43 +00:00
Vincent Torri 9706b7206e abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46656
2010-02-28 17:28:05 +00:00
Vincent Torri 9129d1d30a abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46655
2010-02-28 17:27:38 +00:00
Vincent Torri 43908b1905 abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46654
2010-02-28 17:27:23 +00:00
Gustavo Sverzut Barbieri cc5e332525 remove warnings from edje binaries.
SVN revision: 46647
2010-02-28 16:14:50 +00:00
Gustavo Sverzut Barbieri fcb71a4b3b Edje now uses Eina_Bool where it should.
SVN revision: 46646
2010-02-28 15:57:17 +00:00
Vincent Torri a8180883bb update ChangeLog
SVN revision: 46640
2010-02-28 07:58:39 +00:00
Vincent Torri c0f295f2de * remove cegcc compiler support. Only mingw32ce is supported now
* remove some shadow declarations


SVN revision: 46639
2010-02-28 07:57:03 +00:00
Gustavo Sverzut Barbieri 336e1aac6c Revert EINA_(TRUE|FALSE) as requested by vincent.
windows have TRUE/FALSE and he wants it to be like that, if required
he will replace the efl-specific places later.



SVN revision: 46586
2010-02-27 16:45:20 +00:00
Gustavo Sverzut Barbieri 54b0b06c1e Better resize rotine, linear instead of double.
Increment in steps linearly instead of doubling them, otherwise it
will get to maximum limit of 4096 too soon.

Also replace the loop with simple math.



SVN revision: 46585
2010-02-27 16:41:24 +00:00
Gustavo Sverzut Barbieri 4d9ed8cb79 macro -> inline
clear, type checking and same runtime cost.



SVN revision: 46584
2010-02-27 15:38:58 +00:00
Gustavo Sverzut Barbieri 66ff799e5e Fix other EINA_PURE/EINA_CONST.
Some of them were working because they were inline, so the compiler
would know an just ignore the flag.

For lists and rbtree there is no problem as after each operation we
must change the pointer to the new head, thus the compiler will
consider it changed.



SVN revision: 46583
2010-02-27 15:17:15 +00:00
Carsten Haitzler d0551b44e4 eek - map event adjus gone wrong. fix!
SVN revision: 46581
2010-02-27 15:12:54 +00:00
Gustavo Sverzut Barbieri 8daa98f42e ouch, SPANK SPANK SPANK... me :-( wrong function attributes.
I forgot that EINA_CONST refer to the pointer itself, not to its
contents, as such the pointer did not changed, so gcc was optimizing
subsequent fetches of the value.

There should be another optimization to check for this... but then I
guess it's just c++



SVN revision: 46580
2010-02-27 14:51:52 +00:00
Carsten Haitzler 498dec5154 hmm fix resize before change alpha...
SVN revision: 46579
2010-02-27 14:40:10 +00:00
Carsten Haitzler da89f13454 yes yes yes!
SVN revision: 46578
2010-02-27 14:25:48 +00:00
Carsten Haitzler 8c14ff2e76 hmmmm oops. re-enable bgra support.
SVN revision: 46577
2010-02-27 10:34:19 +00:00
Carsten Haitzler 6559804d43 found booboo on non-bgra extended gl-es.
SVN revision: 46576
2010-02-27 10:31:17 +00:00
Carsten Haitzler b8955f3a50 neon back - found the bug! expedite!
SVN revision: 46572
2010-02-27 07:50:11 +00:00
Carsten Haitzler b62185b395 disabel neon blend for now.. i smell some trouble somewhere.
SVN revision: 46570
2010-02-27 07:29:16 +00:00
Gustavo Sverzut Barbieri f98c65afcc missing useful warnings for eina_str
SVN revision: 46549
2010-02-27 03:49:13 +00:00
Gustavo Sverzut Barbieri 19a99eecab Edje needs to detect files changed on disk before considering cache.
If file changed on disc (mtime), then make the reference dangling so
it is not reused anymore on subsequent open. If it is in cache, just
free it as it is not useful anymore.

This solves the following problem:


     edje_object_file_set(ed, path, group);
     ecore_file_cp(new_gen_file, path);
     edje_object_file_set(ed, path, group); /* still uses the old one! */


By: Bruno Dilly <bdilly@profusion.mobi>




SVN revision: 46548
2010-02-27 03:47:04 +00:00
Gustavo Sverzut Barbieri 08127ecc3e eina_str speedups.
* eina_str_split() now does the minimum number of passes and
   allocations. The first pass figures out the string size (strlen())
   and number of delimiters, so we can allocate the exact number of
   elements in array. The second repeats the loop copying elements to
   string and also setting them to the result array.

 * eina_str_split_full() is a variation of eina_str_split() that
   returns also the number of elements in array, in the case you need
   to pre-allocate another array to copy.

 * eina_strlen_bounded() is introduced to limit strlen() results, this
   is used in has_prefix and has_suffix, but possibly other use cases
   where string must be of a maximum size as we don't do useless
   iterations;



SVN revision: 46547
2010-02-27 03:42:27 +00:00
Gustavo Sverzut Barbieri b2816b08e9 ecore_txt is also a thin and picky wrapper around eina_str_convert()
this remove explicit dependency on iconv, so no checks are required
anymore.



SVN revision: 46546
2010-02-27 01:10:26 +00:00
Gustavo Sverzut Barbieri 064cea0516 be picky about ecore_data even during runtime.
let's try to remove ecore_data from code asap, so we can remove it
from svn as well.

If you need help ask mail list or #edevelop.



SVN revision: 46545
2010-02-27 01:01:03 +00:00
Gustavo Sverzut Barbieri 1f03f022fb be picky even during runtime, let's try to spot and remove these ASAP.
SVN revision: 46544
2010-02-27 00:56:36 +00:00
Gustavo Sverzut Barbieri f838e162b3 ecore_data is deprecated, flag everything as such.
those functions with drop-in replacement are just calls to the eina version.



SVN revision: 46543
2010-02-27 00:53:58 +00:00
Gustavo Sverzut Barbieri 9436429a09 follow vtorri's advice and mark txt and config as deprecated in the summary
SVN revision: 46542
2010-02-27 00:33:19 +00:00
Gustavo Sverzut Barbieri 456f222a0f [PATCH2/2] Improve edje documentation.
This reorder couple of functions so the generated documentation makes
sense.

By: Eduardo Felipe < eduardofelipe87@gmail.com>



SVN revision: 46541
2010-02-27 00:25:32 +00:00
Gustavo Sverzut Barbieri 46f0a73003 [PATCH1/2] Improve edje documentation.
This fixes the documentation, but they are still in the wrong order.

By: Eduardo Felipe <eduardofelipe87@gmail.com>


SVN revision: 46540
2010-02-27 00:15:41 +00:00
Gustavo Sverzut Barbieri e54bd066ec Convert everything to EINA_(TRUE|FALSE)
make it consistent.

By: Lucas de Marchi.



SVN revision: 46539
2010-02-27 00:01:10 +00:00
Gustavo Sverzut Barbieri 6e00c5f84a update docs to say EINA_(TRUE|FALSE)
By: Lucas De Marchi


SVN revision: 46538
2010-02-26 23:59:47 +00:00
Gustavo Sverzut Barbieri 2a204c684a find and replace too much!
SVN revision: 46535
2010-02-26 23:41:43 +00:00
Gustavo Sverzut Barbieri 9c3af651ba simplify and optimize parsing of percentage and float values.
Use strtod() and avoid couple of walks. Of course the walks were quite
small and it will not bring noticeable improvements, but code is
smaller and easier to read, so why not?



SVN revision: 46530
2010-02-26 22:51:07 +00:00
Gustavo Sverzut Barbieri 62301bc16d minor but easy speedups for tag processing.
keep tag and replacement size, compare it before doing strcmp() and
return the size so further calculations use it (eina_strbuf_append()
-> eina_strbuf_append_length())



SVN revision: 46529
2010-02-26 22:32:07 +00:00
Gustavo Sverzut Barbieri 3a11fbe02c use eina_strbuf faster variants whenever possible.
call me your bitch, call me your duplicated code, call me your complex code!



SVN revision: 46528
2010-02-26 22:03:25 +00:00
Gustavo Sverzut Barbieri 6769ba3b45 optimization attributes for functions.
SVN revision: 46523
2010-02-26 21:42:03 +00:00
Gustavo Sverzut Barbieri 7dfc83a627 add missing macro for prepend.
SVN revision: 46522
2010-02-26 21:34:28 +00:00
Gustavo Sverzut Barbieri bba70aef2e eina_strbuf_insert variants and fix leak with eina_strbuf_append_escaped()
SVN revision: 46521
2010-02-26 21:33:17 +00:00
Gustavo Sverzut Barbieri 3a8741c75e more docs for strbuf
SVN revision: 46518
2010-02-26 20:25:09 +00:00
Gustavo Sverzut Barbieri 2511972dde documentation improvements for eina_strbuf.
SVN revision: 46517
2010-02-26 20:23:12 +00:00
Gustavo Sverzut Barbieri f32672764d add eina_strbuf_append_length()
SVN revision: 46516
2010-02-26 20:09:36 +00:00
Christopher Michael a4571eb6bb Fix FALSE...should be EINA_FALSE.
SVN revision: 46504
2010-02-26 06:01:09 +00:00
Christopher Michael 300d53a4f4 Patch from Brian Wang to fix the TRUE/FALSE --> EINA_TRUE/EINA_FALSE mess.
(NB: Win32/CE people may need to fix some TRUE/FALSE parts...couldn't test
those).

Thanks Brian :)



SVN revision: 46503
2010-02-26 05:56:49 +00:00
Gustavo Sverzut Barbieri e3c9d3f62a TRUE/FALSE are gone, use EINA_TRUE/EINA_FALSE instead.
SVN revision: 46500
2010-02-26 00:59:11 +00:00
Gustavo Sverzut Barbieri ff6532a1bd minor documentation fixes.
still needs someone to read and review that.


SVN revision: 46499
2010-02-26 00:57:20 +00:00
Gustavo Sverzut Barbieri 926789e247 fix warnings.
SVN revision: 46498
2010-02-26 00:38:35 +00:00
Gustavo Sverzut Barbieri fc6c3ebb65 remove static/builtin modules warning, we ship with them on by default.
SVN revision: 46497
2010-02-26 00:30:01 +00:00