Commit Graph

259 Commits

Author SHA1 Message Date
SungTaek Hong 0b8fe93c51 edje_external: check icon param after other param is set in entry
Summary:
- icon param add an elm_icon and content set to icon part.
- entry's style is changing as other params are set and
  icon part may not exist in certain condition(default has no icon part)
- checking icon param later than other params will set icon part
  after the style is changed.

Reviewers: cedric, woohyun, jpeg, herdsman, tasn

Reviewed By: tasn

Subscribers: conr2d

Differential Revision: https://phab.enlightenment.org/D3693

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-18 13:31:28 -08:00
SungTaek Hong 89f07527cd edje_external: fix wrong logic in index
Summary:
- Eina_Bool active_exists is to check whether Eina_Bool active
  is valid or not.
- Setting active_exists to autohide_disabled_set is apparently wrong.

Reviewers: Hermet, cedric, jpeg, woohyun

Subscribers: conr2d

Differential Revision: https://phab.enlightenment.org/D3695

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Jee-Yong Um 895ed5bde3 elm: add Elm.Layout as edje externals' contents instead of Edje.Object
Summary:
When edje external parts add its content, edje object is added,
but it breaks elementary widget hierarchy.
In Elementary, edje external can use Elm.Layout to add its content.

Reviewers: cedric

Reviewed By: cedric

Subscribers: woohyun

Differential Revision: https://phab.enlightenment.org/D3655

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Jean-Philippe Andre e7bf07bd5d elm_external: shutdown elm after del callback
This fixes a crash in edje_inspector as:
- delete callback is called on the object
 --> this unloaded elm
- destructor is called on the object
 --> this did some elm stuff, in particular read the config
     from _elm_config (now NULL).

Instead, shutdown elm after del, during free.

Also reset hash pointer to NULL after free.
2015-07-29 22:23:19 +09:00
Daniel Juyung Seo 0891a4d11d edje_externals: Fix wrong free.
_signal is used after free. _signal will be freed soon any way.
This was introduced in 3da3082.

This fixes coverity CID 1308263.
2015-06-26 10:17:33 +09:00
Marcel Hollerbach b592c6df35 elm_icon_external: cleanup ERR msg in error case
Summary:
Setting the group without checking it exists causes a errormessage, this
is pretty annoying for people which want to set a standart icon. And
give a better errormessage if the standart setting failed.

Reviewers: raster, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2686

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-17 15:59:19 +02:00
Minwoo, Lee 1f93f2c712 edje_externals: add safety check for NULL pointer
Summary: Dereferencing null pointers in external_signal()

Reviewers: bdilly, raster, woohyun, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2688

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-17 15:59:19 +02:00
Stefan Schmidt b97dfcee87 edje_externals/elm_video: Fix bug where we override the rememberred position
This bug was there from the initial commit of elm_video. Classical
copy&andpaste bug.

CID: 1267207
2015-01-28 13:49:00 +01:00
woochan lee 29ba5cd8da test_external.edc: pulse value have to be true for put in pulsing mode.
Summary: pulsing mode doen't work even though called elm_progressbar_pulse function in code , if pulse value is not true.

Test Plan:
1. run elementary_test
2. execution ExtProgressBar sample.
3. click 3rd button to start progressbar.

@fix

Reviewers: seoz, Hermet, woohyun, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1770
2014-12-15 21:14:30 +09:00
Vincent Torri 8c705cac78 autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4
and also compilation flags. Less code to read and maintain.
2014-09-04 17:33:05 +02:00
Vincent Torri 092f40579a configure.ac: Clean up and add macros for backend-checks.
Add an m4 macro and start using it (also fixes some issues).
2014-09-02 10:29:51 +01:00
Vincent Torri 8a48ea85e9 Makefiles: ELEMENTARY_BUILD is only defined on windows, no need to check.
Use ELEMENTARY_BUILD in CPP flags as it will be used only on Windows anyway.
2014-09-02 10:29:50 +01:00
Vincent Torri ea99904b1d Reorganise configure.ac layout (and simplify)
This includes:
Bumping versions of autoconf and automake.
Remove or replace deprecated macros.
Use correct paths.
2014-09-02 10:29:50 +01:00
Vincent Torri 0d6cacb743 backend: remove Windows CE support Windows CE is dead and buried and its gcc port is even more dead and I don't believe in zombies 2014-06-12 03:12:15 +02:00
Cedric BAIL 588c9edd5c autotools: fix build when Ecore_Drm is enable. 2014-04-02 17:00:16 +09:00
Daniel Juyung Seo 750cd95d10 edje_externals: Fixed formatting before working on it. 2014-01-23 22:36:41 +09:00
Ryuan Choi 26dd1db99c Introduce fileselector interface and applied to elm_fileselector.
Summary:
fileselector_button and fileselector_entry should have almost same interfaces with fileselector.
Previously , we exposed them individually such as elm_fileselector_is_save_set().

Instead of adding the same APIs three times, we can reuse one fileselector's API using Eo interface.

This patch introduced fileselector interface and applied it to elm_fileselector.

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D475
2014-01-21 22:50:35 +09:00
Daniel Juyung Seo fec8441c71 elm: Fixed formatting about EINA_LOG stuff. 2014-01-21 19:58:09 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Gustavo Lima Chaves 561a6d53a0 Add 'pulse' property to progressbar edje-external object API. 2013-12-26 13:42:24 -02:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Ryuan Choi 495f6755b0 web: Include webkit header in Elementary.h when built with ewebkit or ewebkit2
Like other options, Elementary.h will contain WebKit.h or WebKit2.h when
elementary was built with ewebkit or ewebkit2.
2013-12-13 22:26:02 +09:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
Cedric Bail d3247dd10a elementary: fix header inclusion order. 2013-07-23 11:27:34 +09:00
Daniel Juyung Seo 1b1e1f99e3 edje_externals/elm_web.c, doc/widgets/wiget_preview_web.c: applied api changes elm_web_uri -> elm_web_url. 2013-06-25 12:05:57 +09:00
Lucas De Marchi cb495f13de Rename edbus->eldbus 2013-04-23 13:05:43 -03:00
Davide Andreoli 1f92ae407d elm external actionslider: missing param declaration
SVN revision: 83988
2013-02-16 13:01:31 +00:00
Davide Andreoli 0bdf6191ea elm external clock: another type error. Big SPANK to who write and commit code without testing!!
SVN revision: 83984
2013-02-16 12:06:30 +00:00
Davide Andreoli 298fd8e16b elm external slider: min and max are double not string
SVN revision: 83982
2013-02-16 11:24:05 +00:00
Davide Andreoli 6dc1294f60 elementary external slider: wasn not an int but an Evas_Coord...to be precise :)
SVN revision: 83925
2013-02-14 21:21:05 +00:00
Davide Andreoli 9005263ee8 elementary external slider: parameter span is an int not a bool
SVN revision: 83902
2013-02-14 19:06:25 +00:00
Cedric BAIL 951f944737 elementary: remove build dependencie from old e_dbus.
SVN revision: 82517
2013-01-10 07:50:14 +00:00
Flavio Vinicius Alvares Ceolin b470aaa0f2 adding support for elocation
SVN revision: 80657
2012-12-11 14:05:48 +00:00
Gustavo Sverzut Barbieri 3a5e358d9d damn it, forgot the pkg-config is a different name
SVN revision: 80111
2012-12-03 21:49:29 +00:00
Gustavo Lima Chaves 914d525282 [elm] Account for elm_object_orient_set() deprecation
along elm files.

Spankies to Hermet for not doing it/delegating it before :)



SVN revision: 78948
2012-11-06 19:54:16 +00:00
Bruno Dilly 3a7b3c67e0 elementary: on external widgets del just call shutdown
Instead of adding it to an idler.
If the main loop is already dead it won't shutdown correctly.



SVN revision: 77377
2012-10-03 16:41:30 +00:00
Bruno Dilly 116ee8afa5 elm: add bg external
I know some guys insinuated it's useless, since if you want to
put a image in your theme you can just place a image part.

But there are some cool things:
 - You can add a background that fits the theme (default bg theme)
 - You can use background options (tile, stretch...)



SVN revision: 77212
2012-09-28 21:07:23 +00:00
Davide Andreoli d9c1ca2207 * Add external property "play length" to Video widget and fix the test accordingly
also fix ChangeLog whitespacing: every news need a single tab


SVN revision: 76557
2012-09-12 20:30:17 +00:00
Gustavo Lima Chaves a9b1707fcd [elm] Entry now a scrollable layout.
SVN revision: 75890
2012-08-30 16:45:15 +00:00
Rafael Antognolli f6b7b459fa [elm} Add missing cflags for building edje externals.
SVN revision: 75470
2012-08-20 21:58:43 +00:00
Gustavo Lima Chaves 9cea522b88 [elm] Genlist now a scrollable layout.
The ERRs thrown on the terminal while exiting some tests were already
there -- check that those decorate and stuff modes add lots of NULL
children on lists.

Genlist work exactly as before. All the bugs and feature were kept :)



SVN revision: 73941
2012-07-16 21:56:30 +00:00
Bruno Dilly 0d528c93ca Elementary: fix external icon set using standard icons
Everytime a icon not on edje file is used (an standard icon),
an error was printed because it was trying to set it from
edje first.

Now it checks if the group exists on edje first.



SVN revision: 73543
2012-07-10 21:56:02 +00:00
Gustavo Lima Chaves 363cdf94c3 [elm] Gengrid now a scrollable layout.
SVN revision: 73541
2012-07-10 21:40:38 +00:00
Gustavo Lima Chaves d4f88af273 [elm] Elm list is now a SCROLLABLE layout.
This means it inherits from the layout class and implements the
scrollable interface.



SVN revision: 73310
2012-07-04 21:43:05 +00:00
Gustavo Lima Chaves cd1f900a46 [elm] Forgotten elm icon function to deprecate in favor of an image one.
SVN revision: 73017
2012-06-28 18:40:35 +00:00
Gustavo Lima Chaves dc83c09247 [elm] Forgotten __UNUSED__.
SVN revision: 72092
2012-06-13 17:21:34 +00:00
Gustavo Lima Chaves 727f4692b3 [elm] Fix elm_shutdown via Edje externals.
An EVAS_CALLBACK_DEL event cb will take place before the smart del
function, so there'll be more action taking place after that, and Elm
has be on.



SVN revision: 71867
2012-06-08 21:05:37 +00:00
Jihoon Kim fd96bbf201 elm/edje_externals/index: fix formatting
SVN revision: 71727
2012-06-06 02:51:28 +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 728f4210c2 [elm] warnings, be gone
SVN revision: 71177
2012-05-16 19:28:07 +00:00