cedric [Wed, 13 Oct 2010 15:22:13 +0000 (15:22 +0000)]
* evas: don't use eina_list in thread that's not safe.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53359
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Oct 2010 14:14:40 +0000 (14:14 +0000)]
Evas text: Fixed inset handling.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53357
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Oct 2010 13:33:59 +0000 (13:33 +0000)]
Evas textblock + font engine: Don't take inset into account when not needed.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53353
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 12 Oct 2010 09:36:58 +0000 (09:36 +0000)]
Evas text object: Fixed shaping.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53301
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 11 Oct 2010 09:53:52 +0000 (09:53 +0000)]
fix clip bug.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53261
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 8 Oct 2010 11:21:37 +0000 (11:21 +0000)]
disable ref.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53183
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 8 Oct 2010 05:11:32 +0000 (05:11 +0000)]
fix for dyn image size change.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53180
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 7 Oct 2010 23:46:42 +0000 (23:46 +0000)]
better logging.
* log domains in lower-case only please. let's make it a standard so
we don't have to look at the code everytime to figure out the name...
* logs do NOT require trailing newline (\n), it's automatic!
* do NOT add newline inside log messages!
* add gl_common logging.
NOTE: I tried to compile all modules, but there are clear broken
modules such as cairo and qtopia. Other modules like gl_sdl are
broken as they were not updated to new gl_common api (resize
method AFAIR).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53174
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 7 Oct 2010 21:07:53 +0000 (21:07 +0000)]
Fix issue when using word-cache: Make sure we have a 'last' word
before trying to free it, else we segfault.
Fix compiler warnings wrt const vs non-const of Evas_BiDi_Props.
Fix formatting and remove whitespace also.
NB: The major change here is in evas_font_word_prerender wrt freeing
the 'last' word of the cache.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53166
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
etrunko [Thu, 7 Oct 2010 19:52:47 +0000 (19:52 +0000)]
Evas: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53159
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Oct 2010 14:09:17 +0000 (14:09 +0000)]
* evas: fix bug in box vertical layout preventing object to
reduce size properly.
Bug reported by Boris 'billiob' Faure <billiob@gmail.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53142
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 Oct 2010 03:54:51 +0000 (03:54 +0000)]
shortcut some smart acceses for clipped smart.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53132
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 6 Oct 2010 18:26:29 +0000 (18:26 +0000)]
Evas textblock: Removed duplicated if.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53108
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 6 Oct 2010 12:24:14 +0000 (12:24 +0000)]
Evas font query: query coords should not take bitmap positioning into account.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53097
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 6 Oct 2010 08:53:06 +0000 (08:53 +0000)]
i think i foundsed me a fontconfig bug.. this i think is a
workartound.. it depends what fc's intent was tho.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53093
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 6 Oct 2010 08:45:10 +0000 (08:45 +0000)]
Evas textblock: Fixed a type in remove_pair that caused issues with offset adjustment of formats.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53092
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 5 Oct 2010 16:17:04 +0000 (16:17 +0000)]
Evas textblock: Fix bug with removing formats, format removal should stop at 'end' non-inclusive, just like text removal works.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53068
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 5 Oct 2010 16:17:01 +0000 (16:17 +0000)]
Evas textblock: Fixed a bug with deleting range when the first char is a visible format.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53067
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 5 Oct 2010 14:05:23 +0000 (14:05 +0000)]
Evas textblock and font engine: Fixed cursor position to be at the end of the current item, and not the end of the line, this looks nicer in bidi strings.
Fixed querying char coords to return the current position of the NULL according to the text's alignment, not the paragraph's.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53061
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 5 Oct 2010 10:50:58 +0000 (10:50 +0000)]
Evas textblock: In continuation to the previous commit: range get should also work up until the char, not including.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53054
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@53053
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 4 Oct 2010 11:17:11 +0000 (11:17 +0000)]
dynamic tex ref wrong. fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53027
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@53007
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@53001
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52992
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Sun, 3 Oct 2010 01:44:21 +0000 (01:44 +0000)]
Fix some misspellings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52990
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52948
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52941
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52940
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52939
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 1 Oct 2010 03:40:12 +0000 (03:40 +0000)]
map in map render bug with gl - fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52936
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 30 Sep 2010 23:23:51 +0000 (23:23 +0000)]
and make values int so we can have "-1" :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52934
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52933
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52867
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52838
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 26 Sep 2010 03:39:18 +0000 (03:39 +0000)]
make fb engine default on linux too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52771
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52769
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 25 Sep 2010 14:46:10 +0000 (14:46 +0000)]
wooo overzealous commenting. fix. better now.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52734
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 25 Sep 2010 14:30:02 +0000 (14:30 +0000)]
working on debug. doesn't affect anything atm.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52733
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52727
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 25 Sep 2010 04:40:54 +0000 (04:40 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52714
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 23 Sep 2010 20:40:35 +0000 (20:40 +0000)]
Use eina_sched_prio_drop()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52653
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 13:25:17 +0000 (13:25 +0000)]
fix error enum too
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52588
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 12:02:35 +0000 (12:02 +0000)]
fmting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52586
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:57:19 +0000 (11:57 +0000)]
fmting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52585
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:29:42 +0000 (11:29 +0000)]
docs++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52584
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:28:31 +0000 (11:28 +0000)]
fmormatting cleanups
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:14:25 +0000 (11:14 +0000)]
fmting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52581
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:04:32 +0000 (11:04 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52579
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:03:28 +0000 (11:03 +0000)]
formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52578
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 11:02:19 +0000 (11:02 +0000)]
warning--, formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52577
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52576
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52575
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 09:37:18 +0000 (09:37 +0000)]
fmting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52572
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 09:28:23 +0000 (09:28 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52571
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Sep 2010 09:19:31 +0000 (09:19 +0000)]
int -> bool
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52570
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52566
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 21 Sep 2010 15:39:26 +0000 (15:39 +0000)]
Evas textblock: merged changes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52544
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52541
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Mon, 20 Sep 2010 17:09:13 +0000 (17:09 +0000)]
Fix typos
"he->the" where appropriate
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52493
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52489
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 20 Sep 2010 13:04:37 +0000 (13:04 +0000)]
Evas textblock: Updated docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52488
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52486
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52485
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52484
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Sep 2010 01:32:05 +0000 (01:32 +0000)]
fix booboo
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52482
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52477
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 19 Sep 2010 20:32:14 +0000 (20:32 +0000)]
svn:ignore set on 8bpp engine.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52474
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 19 Sep 2010 20:11:42 +0000 (20:11 +0000)]
warnings-- on 16bpp and 8bpp
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52472
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:43:08 +0000 (02:43 +0000)]
warnings--
warnings = 0.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52449
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:33:19 +0000 (02:33 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52448
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:28:09 +0000 (02:28 +0000)]
fix clip in simple img obj case
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52446
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:10:09 +0000 (02:10 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52445
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:04:12 +0000 (02:04 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 02:02:09 +0000 (02:02 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:57:19 +0000 (01:57 +0000)]
warnings--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52442
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:46:13 +0000 (01:46 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52441
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:42:45 +0000 (01:42 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52440
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:41:46 +0000 (01:41 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52439
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:33:51 +0000 (01:33 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 01:14:56 +0000 (01:14 +0000)]
maybe actually fix things correctly eh? -> images load again.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52435
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 00:28:58 +0000 (00:28 +0000)]
fix gl stride
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52432
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 18 Sep 2010 23:45:42 +0000 (23:45 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52431
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 18 Sep 2010 23:39:30 +0000 (23:39 +0000)]
warning--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52430
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 18 Sep 2010 23:17:27 +0000 (23:17 +0000)]
free the main region (leak--)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52429
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52428
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52427
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52426
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52425
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52421
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52420
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 18 Sep 2010 17:31:00 +0000 (17:31 +0000)]
remove debug messages
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52419
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52416
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 18 Sep 2010 14:23:20 +0000 (14:23 +0000)]
fix actually supporting clip for maps in gl.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52415
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52414
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52408
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/evas@52406
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33