Commit Graph

75 Commits

Author SHA1 Message Date
Carsten Haitzler 4437778774 fix my theme version fix to not version extns/overlays 2014-03-28 16:17:38 +09:00
Carsten Haitzler 559d81a871 general "bugfix" via feature - add version numbering for elm theme
this now has elm themes have a version number. we start at 110 (just
matches efl/elm 1.10 that this will be released in) and this means
theme files that do not claim a recent enough version (or claim no
version at all) will not load/be used. default should/would always
provide this so you always will fall back.
2014-03-26 18:06:08 +09:00
Subhransu Sekhar Mohanty 576984c0ca elm_theme: Added a cache in elm_theme for styles that are failed to load.
Summary:
Currenlty loading a style that is not present in the system hits the worst case path in elm_theme as it searches through all hirarchy before
reporting that the style is not there. if those styles requested frequently it will be a overhead as it will goes through all the theme files again.
To avoid that I have added a cache which will keep track of the styles whose loading were not sucessfull so that for future request we can simply check the
cache before looking into the hirarchy of theme files.

Reviewers: seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D601
2014-03-18 17:34:30 +09:00
Carsten Haitzler 781c29c3cb theme overlays - fix to prepend on overlay to be semantically consistent
@fix
2014-03-15 12:01:56 +09:00
Carsten Haitzler 9164ec778c formatting - remove space between return and ; 2014-03-15 11:44:20 +09:00
Daniel Juyung Seo c066009c49 elm: Removed unnecessary null check for ecore_idler_del, ecore_idle_enterer_del. 2014-01-22 10:54:28 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo d559beca4f theme: Check the return value of _elm_theme_group_file_find() and do not
pass NULL to eina_file_filename_get().

eina_file_filename_get() spits unnecessary eina error when the parameter
is null. In this case, we need to check the return of
_elm_theme_group_file_find() and do not call eina_file_filename_get()
	when the return is null. One should check the return of
	elm_theme_group_path_find().
Thank zmike for pointing this out.
2013-12-23 14:50:15 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Daniel Juyung Seo 8a0159df4f elm: long waited seasonal trailing whitespaces removal!
This is a ceremony of elementary 1.8 release!
2013-12-02 19:43:46 +09:00
Cedric Bail 5a94164c38 elm_theme: Add API to specify exactly the Eina_File to be used as extension or overlay. 2013-11-04 14:26:41 +09:00
Cedric Bail eaeda2ecdd elm_theme: use Eina_File all over the place in an attempt to reduce race condition. 2013-11-04 12:19:04 +09:00
Carsten Haitzler 9503c1f95b elm theme - add some api's to expose info so e can use elm's theme stuff 2013-10-31 23:41:12 +09:00
Tae-Hwan Kim 7471612475 theme: free all theme resources when elementary is shutdown. 2013-07-11 11:34:46 +09:00
Daniel Juyung Seo 90f4afc682 elm_theme.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:08:05 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
ChunEon Park 74559f5547 elementary/widget,theme - simpler code. 2013-02-26 13:46:27 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
ChunEon Park 8c475fe1ab elementary/theme - Missed this in privouse commit.
Add watcher only edje_object_file is applied successfully.



SVN revision: 84035
2013-02-18 05:15:17 +00:00
Cedric BAIL 8316dee00d elementary: escape theme filename correctly.
SVN revision: 77046
2012-09-25 08:04:17 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Cedric BAIL a666de6518 elementary: reload theme when it change on disk.
NOTE: This is not very robust yet. But that's not related to this patch.
You can see the issue when switching between two different theme in
elementary_config. At some point elementary_test start to loose information.


SVN revision: 70895
2012-05-09 10:46:14 +00:00
Jiyoun Park 19ade405e0 remove deprecated code related with
elm_theme_all_set
function.


SVN revision: 69241
2012-03-12 10:04:25 +00:00
Carsten Haitzler d599459721 warn--
SVN revision: 68893
2012-03-07 08:19:55 +00:00
Iván Briano 54382e7de0 Let the world know we don't modify the theme when we ask for an internal list
SVN revision: 68751
2012-03-06 00:19:31 +00:00
Iván Briano 4373acedcc Add overlay_list_get and extension_list_get, and use them in elm_web to correctly set the ewk_view theme
SVN revision: 68746
2012-03-05 21:48:32 +00:00
Carsten Haitzler e2d7f4335a make theme setting work again :)
SVN revision: 68707
2012-03-05 12:39:22 +00:00
Carsten Haitzler 0f8ce855bc elm_theme_all_set -> deprecate.
SVN revision: 68706
2012-03-05 12:36:09 +00:00
ChunEon Park 79d3a3bef4 elementary/config - add elm_config_all_flush
SVN revision: 67969
2012-02-15 09:09:21 +00:00
Cedric BAIL 2b7a2bfba5 elementary: be able to specify elementary private data subdirectory.
SVN revision: 67356
2012-01-19 17:12:15 +00:00
Carsten Haitzler 6d77357cec make elm config all stored in blobs ion properties (as well as disk)
only not multiple properties and fix up elm config tool so it works
well with the better scheme. all internal changes so nothing app-wise
is affected except for also exposing an event to tell you config was
changed



SVN revision: 64178
2011-10-19 12:46:56 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Gustavo Sverzut Barbieri ab188c657c Elementary support for EWS, with simplistic window manager.
This contains a very simple and stupid window manager to be used in
FB, PS3 or similar single-window engines. Everybody is welcome to
improve it, particularly:
 * Edje: better border decoration theme
 * Edje: nice background
 * C + Edje: taskbar with minimized items.
 * C + Edje: find a better protocol to determine window size,
   accounting border decoration without account shadow! Right now I'm
   taking everything :-P
 * C: window management keys (Alt+F4 and like)

How to use: export ELM_ENGINE=ews
How to configure backing store: export ECORE_EVAS_EWS=enginey:w:h:options
Example:
{{{
export ECORE_EVAS_EWS=software_x11:0:0:1024:768
export ELM_ENGINE=ews
elementary_test
}}}

Bugs: maybe many, but so far seems it wouldn't take mouse events for
secondary windows. Will check it later.





SVN revision: 63849
2011-10-05 22:18:22 +00:00
Mike Blumenkrantz f0cdbd0da3 all this for elm_theme_data_get
SVN revision: 63331
2011-09-12 01:05:07 +00:00
Jonas M. Gastal 0352f299d0 Elementary: A ton of random doc fixes.
SVN revision: 62066
2011-08-03 19:07:43 +00:00
Carsten Haitzler 31463143e0 dont set edje theme obj if elements are null.
SVN revision: 61517
2011-07-20 07:25:36 +00:00
Iván Briano f553e3e878 Detailed docs, examples and explanations for the elm_theme set of funtions
SVN revision: 60603
2011-06-22 19:06:01 +00:00
ChunEon Park 22588576be elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
SVN revision: 58249
2011-04-01 11:20:18 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao 0fd89213af Review elm_theme. int -> Eina_Bool
SVN revision: 53731
2010-10-21 18:58:37 +00:00
Gustavo Sverzut Barbieri 83586bb0e9 help users by showing some debug messages about themes not being found.
If you have problem seeing stuff due theme misses, then use:

   export EINA_LOG_LEVELS=elementary:4

and you should see some reports of missing groups with files. This
helps a lot for genlist and its complex way of naming items :-)



SVN revision: 52791
2010-09-26 23:27:18 +00:00
Carsten Haitzler d81485068a make theme browser in elm config util actually work. add api's needed.
it's simple. only allows 1 level of theme. would need an advanced
dialog to allow:

theme1:theme2:theme3:theme4... etc.

also no browsing for themes - just whats instaleld n system and user
dirs atm.



SVN revision: 52667
2010-09-24 05:11:33 +00:00
김지훈 d5b8d09591 From: 김지훈 <imfine98@gmail.com>
Subject: patch for indentation and using enum in elementary

I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.



SVN revision: 52447
2010-09-19 02:30:14 +00:00
Daniel Juyung Seo e42ab9f072 elm_theme doxygen fix
elm_theme_extension_add() uses eina_list_append() not eina_list_prepend().

Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>



SVN revision: 51116
2010-08-14 15:30:35 +00:00