Commit Graph

14732 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld 04bff41881 ethumb: Fix shadow warnings
SVN revision: 62564
2011-08-18 10:59:49 +00:00
Sebastian Dransfeld 08559f2c8b edje: Fix shadow warnings
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Sebastian Dransfeld 8fc827f7c0 ecore: Fix unused warnings
SVN revision: 62561
2011-08-18 10:59:12 +00:00
Sebastian Dransfeld 3ae7cf0980 efreet: Use eina_hash_free_cb_set
SVN revision: 62560
2011-08-18 10:59:01 +00:00
Sebastian Dransfeld a0861d7c26 efreet: Don't stat .desktop file on every fetch
SVN revision: 62559
2011-08-18 09:03:44 +00:00
Sebastian Dransfeld 56f3b3b278 efreet: Clean headers
Might affect other systems, please just add the needed headers and don't
complain.

SVN revision: 62557
2011-08-18 07:35:48 +00:00
Sebastian Dransfeld 68a31c96c0 efreet: TODO--
SVN revision: 62556
2011-08-18 07:35:34 +00:00
Sebastian Dransfeld d48cb21e21 ecore: Use PATH_MAX
SVN revision: 62555
2011-08-18 07:35:23 +00:00
Sebastian Dransfeld 82bb3a62af ecore: Fix shadow warning
SVN revision: 62554
2011-08-18 07:35:12 +00:00
Sebastian Dransfeld 402ff0f918 evas: Add missing return declaration
SVN revision: 62553
2011-08-18 07:35:02 +00:00
Sebastian Dransfeld 4b6c9289be efreet: Delay closing of old caches
Programs might close their references after the event has completed.

SVN revision: 62551
2011-08-18 07:34:40 +00:00
Sebastian Dransfeld e99515a4a6 efreet: ignore++
SVN revision: 62550
2011-08-18 07:34:29 +00:00
Sebastian Dransfeld a43a9d363c efreet: Add cache build event
And listen for this event in e_startup to check for cache build
completion.

SVN revision: 62549
2011-08-18 07:34:19 +00:00
Sebastian Dransfeld c31f9f2049 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Tom Hacohen 7a281f0745 Evas font: Disabled word/metric caching due to bugs.
SVN revision: 62547
2011-08-18 07:21:44 +00:00