profile/ivi/evas.git
13 years agoEvas textblock: Selection should work from the start cursor up to before the end...
tasn [Tue, 5 Oct 2010 10:44:40 +0000 (10:44 +0000)]
Evas textblock: Selection should work from the start cursor up to before the end cursor, i.e it should *not* include the end cursor.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53053 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodynamic tex ref wrong. fix.
raster [Mon, 4 Oct 2010 11:17:11 +0000 (11:17 +0000)]
dynamic tex ref wrong. fix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53027 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoReduce variable useage for evas_object_box by using #define's instead
devilhorns [Mon, 4 Oct 2010 06:03:48 +0000 (06:03 +0000)]
Reduce variable useage for evas_object_box by using #define's instead
of const char's for signal strings.

Fix some formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53007 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added a small comment about where to find textblock style usage example.
tasn [Sun, 3 Oct 2010 16:42:56 +0000 (16:42 +0000)]
Evas textblock: Added a small comment about where to find textblock style usage example.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53001 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoefl 1.0.0 beta.
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52992 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix some misspellings.
devilhorns [Sun, 3 Oct 2010 01:44:21 +0000 (01:44 +0000)]
Fix some misspellings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52990 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeek stride should be in bytes - to allow for various image formats.
raster [Fri, 1 Oct 2010 12:18:18 +0000 (12:18 +0000)]
eek stride should be in bytes - to allow for various image formats.
fix for fallback.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Howell Tam <howell.tam@fluffyspider.com>
raster [Fri, 1 Oct 2010 06:33:17 +0000 (06:33 +0000)]
From: Howell Tam <howell.tam@fluffyspider.com>
Subject: Evas evas_gl_shader.c patch

Patch for evas_gl_shader.c, need to check shader compile
errors too, not only program linking errors.

Not that it's very useful now since all Evas' shaders are in
good shape already, but it was useful when we're mucking around with
things.

And also to make Robi happy that there are some FST
contributions to E ;) And probably more to come...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52941 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix flipped object texture if map enabled AND object happens to be
raster [Fri, 1 Oct 2010 06:22:31 +0000 (06:22 +0000)]
fix flipped object texture if map enabled AND object happens to be
exactly viewport size.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52940 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoaaaah and map in map clip and more bug fixes...
raster [Fri, 1 Oct 2010 04:46:04 +0000 (04:46 +0000)]
aaaah and map in map clip and more bug fixes...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52939 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomap in map render bug with gl - fix.
raster [Fri, 1 Oct 2010 03:40:12 +0000 (03:40 +0000)]
map in map render bug with gl - fix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52936 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand make values int so we can have "-1" :)
raster [Thu, 30 Sep 2010 23:23:51 +0000 (23:23 +0000)]
and make values int so we can have "-1" :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofound the gl engine flashing white bug with laucnher 3 map test! aaah
raster [Thu, 30 Sep 2010 23:20:26 +0000 (23:20 +0000)]
found the gl engine flashing white bug with laucnher 3 map test! aaah
gl state bug/assumption. reset state when moving from 1 surface target
to another and then we are all happy. also fix lip geometry issue in
gl when rendering to non-default surf - related.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52933 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoxrender engine default--
raster [Tue, 28 Sep 2010 22:43:24 +0000 (22:43 +0000)]
xrender engine default--
software_8_x11 default--
software_16_x11 default--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52867 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake sure that at any point if gl barfs... abort then.
raster [Tue, 28 Sep 2010 04:13:28 +0000 (04:13 +0000)]
make sure that at any point if gl barfs... abort then.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * evas: fix rendering of object with color (*,*,*,0)
cedric [Sun, 26 Sep 2010 16:10:59 +0000 (16:10 +0000)]
* evas: fix rendering of object with color (*,*,*,0)
and render_op != BLEND.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake fb engine default on linux too.
raster [Sun, 26 Sep 2010 03:39:18 +0000 (03:39 +0000)]
make fb engine default on linux too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52771 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Chidambar 'ilLogict' Zinnoury <illogict@online.fr>
raster [Sun, 26 Sep 2010 02:27:01 +0000 (02:27 +0000)]
From: Chidambar 'ilLogict' Zinnoury <illogict@online.fr>
Subject: [E-devel] [tentative patch] evas memleak when no callbacks

 I'm seeing some memleaks while using Evas' buffer engine. After
 investigation, it seems that evas_free does nothing and returns
 immediately if the canvas has no callbacks, which is what happens with
 the buffer engine.

  The attached patch seems to do the trick.

   However, as I don't know that much Evas' internals, I thought it'd be
   better to ask whether it's correct or I'm mistaken before committing.

    So please comment.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52769 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowooo overzealous commenting. fix. better now.
raster [Sat, 25 Sep 2010 14:46:10 +0000 (14:46 +0000)]
wooo overzealous commenting. fix. better now.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52734 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoworking on debug. doesn't affect anything atm.
raster [Sat, 25 Sep 2010 14:30:02 +0000 (14:30 +0000)]
working on debug. doesn't affect anything atm.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52733 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowell that improves map a bit! less overdraw! :) and 1 bug fixed. still
raster [Sat, 25 Sep 2010 06:19:30 +0000 (06:19 +0000)]
well that improves map a bit! less overdraw! :) and 1 bug fixed. still
1 left.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52727 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting
caro [Sat, 25 Sep 2010 04:40:54 +0000 (04:40 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52714 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoUse eina_sched_prio_drop()
lucas [Thu, 23 Sep 2010 20:40:35 +0000 (20:40 +0000)]
Use eina_sched_prio_drop()

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52653 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix error enum too
raster [Wed, 22 Sep 2010 13:25:17 +0000 (13:25 +0000)]
fix error enum too

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52588 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofmting.
raster [Wed, 22 Sep 2010 12:02:35 +0000 (12:02 +0000)]
fmting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofmting
raster [Wed, 22 Sep 2010 11:57:19 +0000 (11:57 +0000)]
fmting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52585 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodocs++
raster [Wed, 22 Sep 2010 11:29:42 +0000 (11:29 +0000)]
docs++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofmormatting cleanups
raster [Wed, 22 Sep 2010 11:28:31 +0000 (11:28 +0000)]
fmormatting cleanups

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52583 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofmting
raster [Wed, 22 Sep 2010 11:14:25 +0000 (11:14 +0000)]
fmting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52581 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting
raster [Wed, 22 Sep 2010 11:04:32 +0000 (11:04 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52579 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting.
raster [Wed, 22 Sep 2010 11:03:28 +0000 (11:03 +0000)]
formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--, formatting.
raster [Wed, 22 Sep 2010 11:02:19 +0000 (11:02 +0000)]
warning--, formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosize_t -> int.
raster [Wed, 22 Sep 2010 10:58:44 +0000 (10:58 +0000)]
size_t -> int.
really - i prefer it and if we hit the 2gb limit of a signed int for
bytes added to a textblock... thats the day we will need evas 2 :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52576 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomove some simple #define constants to typedefs. api compatible tho.
raster [Wed, 22 Sep 2010 10:52:54 +0000 (10:52 +0000)]
move some simple #define constants to typedefs. api compatible tho.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52575 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofmting
raster [Wed, 22 Sep 2010 09:37:18 +0000 (09:37 +0000)]
fmting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting
raster [Wed, 22 Sep 2010 09:28:23 +0000 (09:28 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52571 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoint -> bool
raster [Wed, 22 Sep 2010 09:19:31 +0000 (09:19 +0000)]
int -> bool

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52570 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobrutally evil... internally.. but it works. map perspective correct
raster [Wed, 22 Sep 2010 06:52:28 +0000 (06:52 +0000)]
brutally evil... internally.. but it works. map perspective correct
now in gl engine. hooray for that. one complaint less.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: merged changes.
tasn [Tue, 21 Sep 2010 15:39:26 +0000 (15:39 +0000)]
Evas textblock: merged changes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52544 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago Adding callback for box to be called when a child is added or removed.
sachiel [Tue, 21 Sep 2010 14:04:28 +0000 (14:04 +0000)]
Adding callback for box to be called when a child is added or removed.

    Also sets the children_changed flag when changing children list.

    by Otavio Pontes <otavio@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52541 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed deleting the last visual format in a row of visual formats...
tasn [Tue, 21 Sep 2010 13:05:30 +0000 (13:05 +0000)]
Evas textblock: Fixed deleting the last visual format in a row of visual formats, for example in '<b>ab</b><tab>cd' the tab wouldn't have gotten erased correctly.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52540 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix typos
lucas [Mon, 20 Sep 2010 17:09:13 +0000 (17:09 +0000)]
Fix typos

"he->the" where appropriate

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52493 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Removed the usuned type field from the textblock item.
tasn [Mon, 20 Sep 2010 14:14:52 +0000 (14:14 +0000)]
Evas textblock: Removed the usuned type field from the textblock item.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52489 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Updated docs.
tasn [Mon, 20 Sep 2010 13:04:37 +0000 (13:04 +0000)]
Evas textblock: Updated docs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52488 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRemove unused field from Evas_Object
lucas [Mon, 20 Sep 2010 10:54:09 +0000 (10:54 +0000)]
Remove unused field from Evas_Object

Previous commits removed the use of havemap_parent. So, remove the
field as well.

Fix some trailing whitespaces too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52486 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed the mixed usage of a replacement char (e.g * on password textbl...
tasn [Mon, 20 Sep 2010 10:06:01 +0000 (10:06 +0000)]
Evas textblock: Fixed the mixed usage of a replacement char (e.g * on password textblocks) with formats.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52485 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added evas_textblock_node_format_remove_pair to remove formats.
tasn [Mon, 20 Sep 2010 09:44:48 +0000 (09:44 +0000)]
Evas textblock: Added evas_textblock_node_format_remove_pair to remove formats.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52484 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix booboo
raster [Mon, 20 Sep 2010 01:32:05 +0000 (01:32 +0000)]
fix booboo

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52482 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoupdate README.in with relevant information, fix typos and improve formatting.
barbieri [Sun, 19 Sep 2010 21:12:04 +0000 (21:12 +0000)]
update README.in with relevant information, fix typos and improve formatting.

 * add information about modules "=static" suffix.
 * fix lots of typos spotted by emacs "flyspell-mode".
 * add more spacing and separator lines around sections.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52477 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosvn:ignore set on 8bpp engine.
barbieri [Sun, 19 Sep 2010 20:32:14 +0000 (20:32 +0000)]
svn:ignore set on 8bpp engine.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52474 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarnings-- on 16bpp and 8bpp
barbieri [Sun, 19 Sep 2010 20:11:42 +0000 (20:11 +0000)]
warnings-- on 16bpp and 8bpp

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52472 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarnings--
raster [Sun, 19 Sep 2010 02:43:08 +0000 (02:43 +0000)]
warnings--
warnings = 0.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52449 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 02:33:19 +0000 (02:33 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52448 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix clip in simple img obj case
raster [Sun, 19 Sep 2010 02:28:09 +0000 (02:28 +0000)]
fix clip in simple img obj case

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52446 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 02:10:09 +0000 (02:10 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52445 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 02:04:12 +0000 (02:04 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52444 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 02:02:09 +0000 (02:02 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarnings--
raster [Sun, 19 Sep 2010 01:57:19 +0000 (01:57 +0000)]
warnings--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 01:46:13 +0000 (01:46 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52441 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 01:42:45 +0000 (01:42 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52440 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 01:41:46 +0000 (01:41 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52439 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 01:33:51 +0000 (01:33 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomaybe actually fix things correctly eh? -> images load again.
raster [Sun, 19 Sep 2010 01:14:56 +0000 (01:14 +0000)]
maybe actually fix things correctly eh? -> images load again.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix gl stride
raster [Sun, 19 Sep 2010 00:28:58 +0000 (00:28 +0000)]
fix gl stride

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sat, 18 Sep 2010 23:45:42 +0000 (23:45 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sat, 18 Sep 2010 23:39:30 +0000 (23:39 +0000)]
warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52430 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofree the main region (leak--)
caro [Sat, 18 Sep 2010 23:17:27 +0000 (23:17 +0000)]
free the main region (leak--)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocleanup: internal image information is now unsigned.
barbieri [Sat, 18 Sep 2010 23:16:25 +0000 (23:16 +0000)]
cleanup: internal image information is now unsigned.

There is no meaning in negative values for image loading, marking as
dirty or size, so image internals (cache, entry) were changed to
unsigned, reducing possible errors, particularly with overflow.

engines were converted to the new way, but any 3rd party modules will
still work as they should be using values >= 0 only anyway.

please review.

new cases introduced by "comparison between signed and unsigned" were
fixed in the modules that used cache_entry or Image_Entry dimensions.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52428 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocleanup: fb uses unsigned to match linux/fb.h
barbieri [Sat, 18 Sep 2010 23:11:01 +0000 (23:11 +0000)]
cleanup: fb uses unsigned to match linux/fb.h

this removes warnings and keep consistency between system and evas
value signs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52427 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocleanup: simple clean of "comparison between signed and unsigned errors"
barbieri [Sat, 18 Sep 2010 23:07:31 +0000 (23:07 +0000)]
cleanup: simple clean of "comparison between signed and unsigned errors"

not much to see here, please review but these are simple changes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52426 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocleanup: evas_macros.h - less comparison between signed and unsigned errors
barbieri [Sat, 18 Sep 2010 23:06:22 +0000 (23:06 +0000)]
cleanup: evas_macros.h - less comparison between signed and unsigned errors

update macro to do fine with unsigned integers (avoids width and
height getting below 0) and force casts.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52425 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocleanup: fix some "unused" errors from -Wextra.
barbieri [Sat, 18 Sep 2010 19:17:41 +0000 (19:17 +0000)]
cleanup: fix some "unused" errors from -Wextra.

As we're heading for a release we better remove as much errors as
possible and as the first step I'm removing warnings due unused
parameters, variables and functions. These tend to pollute real errors
spotted by -Wall and clang/llvm.

This does not fixes all, just the clear that could be set to
__UNUSED__, particularly to do (and I'd like some help from the
authors):

 * src/lib/engines/common/evas_font_{draw,query}.c (tasn):
   intl_props is just used while doing BIDI, but also used in other
   #ifdef blocks :-/

 * evas_map_* (raster):
   huge amount of warnings, code is quite confusing and thus I'm not
   touching it. I have no idea whenever the commented blocks or extra
   parameters are intended to be used or no.

 * src/modules/engines/fbevas_fb_main.c (raster?):
   is fb_setvt() to be used? If not do you mind removing it?

 * src/modules/engines/gl_{common,x11} (raster):
   huge amount of warnings, code is quite nested and full of #ifdefs
   that does not help to give a clear picture of what's going on.

 * src/bin/evas_cserve_main.c (raster):
   I could have ignored most of the errors, but is the code correct? I
   mean, there is no unload of images being applied. If you confirm
   none of those warnings are harmful I can flag them as unused.

 * src/lib/engines/common_8 (dottedmag):
   lots of unused functions that were acquired from common_16, they
   are unused and if they will not, then they should be removed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52421 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd missing evas_common prefix, avoid symbol redefinition.
barbieri [Sat, 18 Sep 2010 17:43:13 +0000 (17:43 +0000)]
Add missing evas_common prefix, avoid symbol redefinition.

soft16 was written as a single engine, thus it was all static/global
and had no EAPI in its functions, but then it was moved into
"src/lib/common_16" and got that, but got no prefix! That could cause
clash with other libraries, so adding such prefix.

soft8 was a copy of 16, thus had the same problems.

the engines were all based on software_x11, thus they defined the same
methods to deal with Xlib, however if you link them all in the same
binary (--enable-MODULE=static), the symbol would be redefined. Rename
symbols according to their module.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52420 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove debug messages
caro [Sat, 18 Sep 2010 17:31:00 +0000 (17:31 +0000)]
remove debug messages

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52419 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix shaped windows on Windows. It uses regions.
caro [Sat, 18 Sep 2010 17:19:11 +0000 (17:19 +0000)]
Fix shaped windows on Windows. It uses regions.

Advantages:
 * it is the simplest method to implement

Disadvantages:
 * it's slow
 * it does not take into account transparency
 * it does not work with the composite manager (Windows >= Vista)

Layered windows should be used (all the disadvantaged above are
fixed), but i've never succeeded in making them work.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix actually supporting clip for maps in gl.
raster [Sat, 18 Sep 2010 14:23:20 +0000 (14:23 +0000)]
fix actually supporting clip for maps in gl.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52415 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobe less agressive performance-wise but clear up some gl sync issues
raster [Sat, 18 Sep 2010 13:49:56 +0000 (13:49 +0000)]
be less agressive performance-wise but clear up some gl sync issues
that have been lurking.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52414 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix function call after previous change
lucas [Sat, 18 Sep 2010 06:41:04 +0000 (06:41 +0000)]
Fix function call after previous change
Forgot one function call.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52408 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoMake _evas_event_havemap_adjust() recursive
lucas [Sat, 18 Sep 2010 06:31:41 +0000 (06:31 +0000)]
Make _evas_event_havemap_adjust() recursive
Make this function recursive, so it can adjust the coords for all
parent objects. It starts with the grand-grand-grand-...-parent and goes
down until the same object.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoUse also map of current object
lucas [Sat, 18 Sep 2010 06:31:12 +0000 (06:31 +0000)]
Use also map of current object
Do not use only the map of the parent. Apply the obj's map first and
then go to the parent.

+  simple formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52406 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRemove havemap_parent shortcut
lucas [Sat, 18 Sep 2010 06:31:05 +0000 (06:31 +0000)]
Remove havemap_parent shortcut

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52405 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoClean unneeded check
lucas [Sat, 18 Sep 2010 06:30:59 +0000 (06:30 +0000)]
Clean unneeded check

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDon't set parmap for the other objects
lucas [Sat, 18 Sep 2010 06:30:51 +0000 (06:30 +0000)]
Don't set parmap for the other objects
We are iterating EINA_INLIST_REVERSE_FOREACH(list, obj) in a recursive
function. Don't mark the other objects as havemap_parent if the first
in the list has it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52403 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting
lucas [Sat, 18 Sep 2010 06:30:45 +0000 (06:30 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52402 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoclean a bit more
lucas [Sat, 18 Sep 2010 06:30:37 +0000 (06:30 +0000)]
clean a bit more

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52401 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoClean it a bit to be easier to understand
lucas [Sat, 18 Sep 2010 06:30:30 +0000 (06:30 +0000)]
Clean it a bit to be easier to understand

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52400 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert r52345
lucas [Sat, 18 Sep 2010 06:29:47 +0000 (06:29 +0000)]
Revert r52345

This function is not needed at all, and as of now it's borken. Coming patches
will properly fix coords on events.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52398 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd function to check if point is inside an object
lucas [Thu, 16 Sep 2010 13:59:46 +0000 (13:59 +0000)]
Add function to check if point is inside an object

Add evas_object_inside_get() to check if a certain (x,y) point is inside
an evas_object. This is needed because there's no simple way to
determine it outside of evas when map transformations are used.

For instance, edje uses evas_object_geometry_get() and checks if point is
whithin the rectangle. This is wrong because the object might be
rotated, scaled. Below is a test program:

/**
 * Simple Evas test
 *
 * Compile with: gcc -O0 -g  -o evas_hello_world evas_hello_world.c $(pkg-config --cflags --libs eina evas ecore ecore-evas)
 */
 #include <Eina.h>
 #include <Evas.h>
 #include <Ecore_Evas.h>
 #include <Ecore.h>
 #include <stdio.h>

 #define WIDTH (320)
 #define HEIGHT (240)

Eina_Bool main_signal_exit(void *data, int ev_type, void *ev)
{
    ecore_main_loop_quit();
    return EINA_FALSE;
}

static void
_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
    Evas_Event_Mouse_Up *ev = event_info;
    Eina_Bool b;

    b = evas_object_inside_get(obj, ev->canvas.x, ev->canvas.y);
    fprintf(stderr, "mouse_up: x=%d, y=%d inside=%d\n", ev->canvas.x,
            ev->canvas.y, b);
}

static void
_cb_move(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
    Evas_Event_Mouse_Move *ev = event_info;
    const char *id = data;
    Eina_Bool b;

    b = evas_object_inside_get(obj, ev->cur.canvas.x, ev->cur.canvas.y);
    fprintf(stderr, "[%s] mouse_move: x=%d, y=%d inside=%d\n", id,
            ev->cur.canvas.x, ev->cur.canvas.y, b);
}

int main(void)
{
   Evas *evas;
   Ecore_Evas *window;
   Evas_Object *bg, *r1, *r2;
   Evas_Map *m;

   evas_init();
   ecore_init();
   ecore_evas_init();

   window = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
   if (!evas)
     return -1;

   evas = ecore_evas_get(window);

   bg = evas_object_rectangle_add(evas);
   evas_object_color_set(bg, 255, 255, 255, 255); // white bg
   evas_object_move(bg, 0, 0);                    // at origin
   evas_object_resize(bg, WIDTH, HEIGHT);         // covers full evas
   evas_object_show(bg);

   r1 = evas_object_rectangle_add(evas);
   evas_object_color_set(r1, 255, 0, 0, 255); // 100% opaque red
   evas_object_move(r1, 50, 50);
   evas_object_resize(r1, 100, 100);

   m = evas_map_new(4);
   evas_map_util_points_populate_from_object(m, r1);
   evas_map_util_rotate(m, 45.0, 100, 100);
   evas_map_alpha_set(m, 0);
   evas_map_smooth_set(m, 1);

   evas_object_map_set(r1, m);
   evas_object_map_enable_set(r1, 1);
   evas_map_free(m);
   evas_object_show(r1);
   evas_object_event_callback_add(r1, EVAS_CALLBACK_MOUSE_UP, _cb, NULL);
   evas_object_event_callback_add(r1, EVAS_CALLBACK_MOUSE_MOVE, _cb_move, "r1");

   r2 = evas_object_rectangle_add(evas);
   evas_object_color_set(r2, 0, 255, 0, 255);
   evas_object_move(r2, 210, 150);
   evas_object_resize(r2, 50, 50);
   evas_object_show(r2);
   evas_object_event_callback_add(r2, EVAS_CALLBACK_MOUSE_MOVE, _cb_move, "r2");

   ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, main_signal_exit, evas);

   ecore_evas_show(window);
   ecore_main_loop_begin();

   ecore_evas_free(window);

   ecore_evas_shutdown();
   ecore_shutdown();
   evas_shutdown();

   return 0;
}

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52345 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added a lot of fixes to evas_textblock_cursor_geometry_get in the...
tasn [Thu, 16 Sep 2010 09:59:39 +0000 (09:59 +0000)]
Evas textblock: Added a lot of fixes to evas_textblock_cursor_geometry_get in the case where ctype = EVAS_TEXTBLOCK_CURSOR_BEFORE

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed evas_textblock_range_text_get that didn't work on textblocks...
tasn [Thu, 16 Sep 2010 07:12:23 +0000 (07:12 +0000)]
Evas textblock: Fixed evas_textblock_range_text_get that didn't work on textblocks with no formats at all (not even newlines or tabs).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52339 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotrivial: spelling in documentation
lucas [Wed, 15 Sep 2010 20:40:51 +0000 (20:40 +0000)]
trivial: spelling in documentation

Some misspellings found in doxy.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52326 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCheck there are callbacks before trying to copy them.
sachiel [Wed, 15 Sep 2010 19:51:08 +0000 (19:51 +0000)]
Check there are callbacks before trying to copy them.

Patch by Otávio Pontes

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52323 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * evas: we don't need all the stuff from pthreads to do preload.
cedric [Wed, 15 Sep 2010 17:20:37 +0000 (17:20 +0000)]
* evas: we don't need all the stuff from pthreads to do preload.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52311 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: fix deleting the first tab in 'a<TAB><TAB>a' that caused weird behavior.
tasn [Wed, 15 Sep 2010 14:07:09 +0000 (14:07 +0000)]
Evas textblock: fix deleting the first tab in 'a<TAB><TAB>a' that caused weird behavior.
The solution is that we only delete invisible standalones now, not visible ones, this is correct intuitively and of course fixes the bug.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52302 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: we should also take width of tabs into account when calculating line...
tasn [Wed, 15 Sep 2010 12:45:06 +0000 (12:45 +0000)]
Evas textblock: we should also take width of tabs into account when calculating line width.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52297 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix and simplify _find_layout_item_line_match which is an helper...
tasn [Wed, 15 Sep 2010 10:24:07 +0000 (10:24 +0000)]
Evas textblock: Fix and simplify _find_layout_item_line_match which is an helper function used in many parts of textblock.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: removed old (already removed a long time ago) functions from evas_font.h.
tasn [Wed, 15 Sep 2010 09:11:19 +0000 (09:11 +0000)]
Evas font: removed old (already removed a long time ago) functions from evas_font.h.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed the bug with disappearing text with many tabs and text.
tasn [Tue, 14 Sep 2010 13:57:26 +0000 (13:57 +0000)]
Evas textblock: Fixed the bug with disappearing text with many tabs and text.
I removed a function that caused the issue and made no sense at all, honestly, it didn't make any sense.
I did a lot of testing trying to see if there are any new bugs after the fix, and nothing, so I guess my instincts were correct.
Please if you can, check out the removed function (_layout_walk_back_to_item_word_redo) and see if it makes any sense to you, if it does, please let me know.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoPending patch from glima, who's on vacations.
sachiel [Mon, 13 Sep 2010 18:04:23 +0000 (18:04 +0000)]
Pending patch from glima, who's on vacations.

Add two new canvas level callbacks: OBJECT_FOCUS_IN/OUT
As we already had callbacks for objects gaining or losing focus, then
two more for the Canvas, now we can have the entire Evas be notified when
any object changes its focused status. The object in question is passed
as the event_info for the callback.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52196 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAssert cache->usage never becomes negative
lucas [Mon, 13 Sep 2010 13:58:34 +0000 (13:58 +0000)]
Assert cache->usage never becomes negative
Assert cache->usage never becomes negative as was occurring before the
fix in r52149.

Just in time, the fix in r52149 was made by Ulisses, not me.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52190 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33