Commit Graph

14798 Commits

Author SHA1 Message Date
Lucas De Marchi 428c512599 ecore: silence warnings the right way
Setting a variable but not using it will trigger another warning on gcc >= 4.6.



SVN revision: 62717
2011-08-23 12:04:52 +00:00
Jiyoun Park 9cce5f3959 From: Jiyoun Park <jy0703.park@samsung.com>
Sometimes, gif loader can miss some previous frame.
In that case, display can be dirty.
If frame N loaded without N-1 make these problem.
I fixed this problem. 
And I modified wrong document.



SVN revision: 62712
2011-08-23 06:08:02 +00:00
Carsten Haitzler 19124f1282 add some comments and debug to eina_preifx. in case we have to test it
when packaged under debians new multiarch.



SVN revision: 62706
2011-08-22 23:40:05 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Christopher Michael 121d5b7314 Ecore_X(cb): Enable code for using xprint to get window root list
(like xlib has). Remove some fixme's (implement error checking for a
few functions).

NB: While this code makes ecore_x_window_root_list work like the xlib
version does (ability to use xprint to get list), I highly recommend
building ecore without xprint support (--disable-ecore-x-xprint)
because this seems like a lot of work to go through to get the window
root list. Building without xprint support provides a faster code path.



SVN revision: 62696
2011-08-22 20:10:53 +00:00
Tom Hacohen f6724cc23b Evas font: Did some style fixes, we don't like tabs.
SVN revision: 62695
2011-08-22 14:45:23 +00:00
Tom Hacohen 54fd7dc69f Evas font: Fixed font cache.
Apparently someone (probably me) broke it a while ago, now it works.

SVN revision: 62694
2011-08-22 14:45:19 +00:00
Tom Hacohen 4cba183f96 Evas font: Revert "evas/font - removed an unusefull handling."
This reverts commit 62684.

This is needed to verify we don't access info->ot when info is NULL.

SVN revision: 62691
2011-08-22 11:51:18 +00:00
Cedric BAIL 8c078b294c ecore: make ecore_thread_main_loop_begin/end() recursive.
SVN revision: 62687
2011-08-22 09:47:17 +00:00
ChunEon Park 3184b6e863 evas/font - removed an unusefull handling.
Thank you TAsn. 



SVN revision: 62684
2011-08-22 09:39:13 +00:00
Carsten Haitzler ed6ed2987e we dont need 1 if level in ecore mainloop. it really isn't needed.
been harmless though.



SVN revision: 62682
2011-08-22 09:32:39 +00:00
Tom Hacohen 15a3582483 Evas font: Revert last 2 commits by Hermet (62659, 62675).
SPANK SPANK, they broke compilation. Please use the builtin revert
functions when you revert commits. Either:
GIT: 'git revert <commit hash>' (yeah, git is better).
or
SVN: 'svn merge -c <revision> .'

This will prevent this kind of erros from happenning in the future.

Also, plesae compile before committing.

SVN revision: 62678
2011-08-22 08:23:04 +00:00
ChunEon Park 3bd87ec51a evas/evas_font - revert exceptin handlings
requested by TAsn

I do understand. :p

then, it seems no need to set the _ot_itr = NULL in EVAS_FONT_WALK_TEXT_START.



SVN revision: 62675
2011-08-22 03:34:43 +00:00
ChunEon Park 1bed664303 evas/evas_font - added exeption handlings.
SVN revision: 62659
2011-08-21 12:47:11 +00:00
ChunEon Park 40d578abe0 ecore - fixed typo
SVN revision: 62653
2011-08-21 09:30:29 +00:00
Carsten Haitzler 0f2636921b warning--
SVN revision: 62647
2011-08-21 07:46:57 +00:00
Gustavo Sverzut Barbieri cc1d1f95c6 change text's single recalc to use apply version.
Original _edje_part_recalc_single_text() was not working as
expected since it was not doing size fit, range, ellipsis and so
on.

The purpose of this function compared with
_edje_text_recalc_apply() is to be faster, not calling Evas update
functions. However for text this is quite difficult given that to
fit we need to set the font, size, style, etc. If it was done
correctly, we'd save some calls to move and some color sets,
however those shouldn't matter much in the overall picture.

I've changed this to force applying the value, it should be more
correct and not so slow. The previous code is kept below for
reference but should be removed before next release!




SVN revision: 62640
2011-08-21 01:38:17 +00:00
Gustavo Sverzut Barbieri ddc7fb9527 Just cut/ellipsis if text.min.x is not set.
This should fix the bug with the following code:

collections {
   group { name: "main";
      parts {
         part { name: "text";
            type: TEXT;
            description { state: "default" 0.0;
               text {
                  font: "Sans";
                  size: 72;
                  text: "contents";
                  fit: 0 1;
                  min: 1 0;
               }
            }
         }
      }
   }
}




SVN revision: 62639
2011-08-20 23:47:46 +00:00
Christopher Michael f7d1b738e6 Evas: Check for the presence of shm extension (in
evas_software_xcb_can_do_shm) first before trying to make calls to the
shm extension.



SVN revision: 62638
2011-08-20 22:15:44 +00:00
Christopher Michael 57cc30c651 Ecore_X(cb): Filter out some motion_notify events to reduce cpu
intensive operations (helps wrt fps when scrolling).

NB: I've seen no adverse effects from this, but please report if you do.



SVN revision: 62637
2011-08-20 21:14:34 +00:00
Gustavo Sverzut Barbieri b5cffc366e minor corner case fix for extents without some of the return parameters.
SVN revision: 62633
2011-08-20 14:49:21 +00:00
Carsten Haitzler 6895455001 and clear out proxy region first.
SVN revision: 62632
2011-08-20 14:43:04 +00:00
Carsten Haitzler db56e7b36f fix proxy rendering!!!! ugh. i dont like the way i did it.. but its
quick and does the job.



SVN revision: 62631
2011-08-20 14:40:28 +00:00
Carsten Haitzler 87985a16fa and when doing proxy.. lets calc the right proxy id part shall we?
SVN revision: 62630
2011-08-20 13:03:01 +00:00
Christopher Michael 267356c0df Ecore_X(cb): 'Driver' not used here, remove.
SVN revision: 62629
2011-08-20 12:52:59 +00:00
Christopher Michael d9be5b2495 Ecore_X(cb): Use unchecked version for get_input_focus. Cache pixmap
format for reuse so we don't have to keep iterating pixmap formats
from the server setup (can be expensive).



SVN revision: 62627
2011-08-20 11:04:10 +00:00
Christopher Michael 0fb55da5bc Evas: Iterating the pixmap formats from xcb_setup can be expensive,
so cache the found format for reuse so we don't have to keep iterating.



SVN revision: 62626
2011-08-20 10:59:53 +00:00
Christopher Michael 641c9c4ee8 Evas: Fix compiler warning wrt comparison of signed & unsigned.
Remove unused function.



SVN revision: 62625
2011-08-20 10:26:41 +00:00
Christopher Michael 6c477d5a0f Evas: When doing eng_output_free, even if there is no Render_Engine,
we still want to shutdown common_font & common_image anyway.



SVN revision: 62624
2011-08-20 10:19:17 +00:00
Carsten Haitzler 64aa704c69 fix: if proxy id < 0 (invalid) disable proxy...!!! (yes i know -
backport. leaving for 1.1)



SVN revision: 62623
2011-08-20 07:27:52 +00:00
Carsten Haitzler 0ee7168b3b ummm mike -> need to unlock and lock - calling ecore_timer_add inside
a lock already. unless u want to make both external and internal call
versions.



SVN revision: 62619
2011-08-20 05:03:13 +00:00
Carsten Haitzler ab8757c8dc hey.. if we use magic poinrters like... -1 for not existing... null
would probably be fine though here)... we should always then handle
all the cases correctly! fix segv in efreet shutdown



SVN revision: 62616
2011-08-20 04:22:24 +00:00
Christopher Michael 64fdc36b02 Ecore_X(cb): Add some extra 'flush' calls to improve framerate.
NB: For the purests, I know some/most of these are erroneous (extra &
not needed), but please leave them for now until I get time to go
through each one separately to verify & remove (or leave).



SVN revision: 62610
2011-08-20 02:33:57 +00:00
Christopher Michael 3e4c83a87b Ecore_X(cb): Use xcb_shm functions directly. This allows us to avoid
some extra overhead in the xcb image functions when doing shm_put/get.



SVN revision: 62609
2011-08-20 02:32:38 +00:00
Christopher Michael 119f80853e Ecore_X(cb): Add extra flush.
SVN revision: 62608
2011-08-20 02:28:08 +00:00
Christopher Michael 897011100f Evas: No need to 'find format for depth' everytime, just use the
buffer depth. Fix typo in error message. Add a missing
cache_image_drop call. When doing mask_set, use the proper variable
for the _create_gc function.



SVN revision: 62603
2011-08-19 22:53:04 +00:00
Christopher Michael 52a9f334bd Ecore_X(cb): Revert caching of visual (breaks borders on terminals for
some odd reason).



SVN revision: 62598
2011-08-19 21:52:25 +00:00
Christopher Michael 838d1e2337 Ecore_X(cb): Cache the visual and avoid extra lookups.
SVN revision: 62597
2011-08-19 20:36:26 +00:00
Rafael Antognolli 6008a3f2fc Eet: Make links work on PDF documentation.
By: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 62590
2011-08-19 13:38:05 +00:00
Rafael Antognolli 774295c797 Emotion: Make links work on PDF documentation.
SVN revision: 62589
2011-08-19 13:37:22 +00:00
Rafael Antognolli 9a9e55e73c Edje: Make links work on PDF documentation.
By: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 62588
2011-08-19 13:36:16 +00:00
Carsten Haitzler 5f365281fd fix buffer over/underflow errors with jpeg mmap load. ugh. mmap adds
pains to loading.



SVN revision: 62584
2011-08-19 06:58:33 +00:00
Sebastian Dransfeld 352ec9086c efreet: Don't keep desktop_dirs permanently
SVN revision: 62583
2011-08-19 06:50:50 +00:00
Sebastian Dransfeld 6ac66e7427 efreet: Don't check if path is a subdir
We don't recurse in extra_dirs, so we must store all paths explicit.

SVN revision: 62582
2011-08-19 06:44:59 +00:00
Sebastian Dransfeld 1210e95895 efreet: Use eina log
SVN revision: 62581
2011-08-19 06:44:49 +00:00
Sebastian Dransfeld 6dffcf4c32 efreet: Use eina log
SVN revision: 62580
2011-08-19 06:44:38 +00:00
Sebastian Dransfeld 8fde31ddd6 efreet: Add doc
SVN revision: 62579
2011-08-19 06:44:27 +00:00
Sebastian Dransfeld 0f140cc959 efreet: Move doc to function declaration
SVN revision: 62578
2011-08-19 06:44:16 +00:00
Cedric BAIL 283e9642b5 evas: fix tarball generation.
SVN revision: 62569
2011-08-18 15:05:57 +00:00
Tom Hacohen 43a9bc036b Edje: Fixed a couple of compilation warnings.
SVN revision: 62566
2011-08-18 11:41:04 +00:00