Commit Graph

5347 Commits

Author SHA1 Message Date
Yeshwanth Reddivari ce22fa292a efl.progress: Rename property from value to progress_value
Reviewers: jpeg, singh.amitesh

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3872
2016-04-07 19:06:09 +09:00
Amitesh Singh 56ab435998 elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"

@feature

Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg

Subscribers: saurabhbunty, seoz

Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 19:05:57 +09:00
Jean-Philippe Andre d1709a2b57 Efl: Rename flip and orient enums
Efl.Flip is now the enum, the interface is Flipable.
We could even use names like Efl.IFlip a la Java.

eo_prefix is used to have pretty names in C. legacy: null
is removed from the enums. orient_x0 is removed and only
defined in C with #define
2016-04-07 17:32:40 +09:00
Yeshwanth Reddivari 7f9036dce5 Interface: Progress - Add common interface for Slider and Progressbar
Summary:
Implement common interface efl_ui_progress and inherit slider and progressbar from common interface.
Currently legacy APIs will also call interface functions and later it can be deprecated.
This interface will be moved to EFL in src/lib/efl/interfaces when elementary is merged into efl.

Test Plan:
elementary_test -to 'slider'
elementary_test -to 'progressbar'

Reviewers: singh.amitesh, raster, tasn, felipealmeida, woohyun, cedric, jpeg

Subscribers: saurabhbunty, alok25

Differential Revision: https://phab.enlightenment.org/D3759
2016-04-07 16:50:57 +09:00
Jean-Philippe Andre d61e243f0f elm_glview: Fix warning with clang
I'm using the same gcc construct to initiliaze a complex
struct with {} instead of {0}.
2016-04-06 16:35:48 +09:00
Jean-Philippe Andre b476075081 elm_config: Fix typo and warning
A major typo (hard to find with the naked eye) was present in
elm_config's list of text & color classes. See D3487.

I'm pretty sure this feature has not been used at all.
2016-04-06 16:33:16 +09:00
Jean-Philippe Andre cd8fb35951 els_box: Fix warning with clang
warning: comparison of constant 100 with expression of type
         'Evas_Aspect_Control' is always true
         [-Wtautological-constant-out-of-range-compare]
2016-04-06 16:28:33 +09:00
Jean-Philippe Andre 7c05a957cd elm: Fix some warnings with clang
warning: missing field 'desc' initializer
         [-Wmissing-field-initializers]

Solution: use gcc extension to init structs with {}.
This is a bit ugly, but having too many warnings leads to
ignoring them and not noticing valid ones.

The warning is triggered because the first member of Eo_Event
is not a primitive type (it's a struct _Eo_Opaque *).
2016-04-06 16:28:28 +09:00
Jean-Philippe Andre be41b5afb0 elm_web: Fix warning (missing initializer) 2016-04-06 16:28:17 +09:00
Jean-Philippe Andre c19030b301 elm_image: Fix warning (wrong enum type) 2016-04-06 14:24:50 +09:00
Yeshwanth Reddivari 98edbd23a4 Interface: Flip and orientation interface
Summary:
Added flip and orientation interface and used them in evas_image.
Removed efl_image_orientation_set API and used efl_orientation_set and efl_flip_set API.
In implementation part, converted enums back and forth in order to keep current implementation as it is.

Test Plan: src/examples/evas/evas-images5.c

Reviewers: singh.amitesh, raster, tasn, herdsman, woohyun, cedric, felipealmeida, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3844
2016-04-06 10:46:39 +09:00
Jean-Philippe Andre a142f0bd39 elm_layout: Attach object to iterator
This is part of a new API, not a fix

This was missing in 3c40ebb998
2016-04-06 10:44:59 +09:00
Jean-Philippe Andre 26715dad0b elm_box: Minor fixes 2016-04-06 10:44:55 +09:00
Mike Blumenkrantz 01156d3469 elm_win: update wayland opaque region during pre-flush...always
@fix
2016-04-05 15:11:31 -04:00
Jinyong Park c2cebb9fbc popup : fix create scroller bug when list item add.
Summary:
data-> scr = scroller object
data-> scroll = scrollable flag.
in _list_add function, when scroller object is not created, do _create_scroller.
 if (!sd->scroll) _create_scroller(obj);
must change to
 if (!sd->scr) _create_scroller(obj);

@fix

Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: herb, jpeg

Differential Revision: https://phab.enlightenment.org/D3866
2016-04-05 13:59:12 +05:30
Carsten Haitzler 0c91f39db6 elm - add vpath paths for application resources
this now allows vpath files to be looked uop using app directory
resources like @app.data/file.jpg ... if the object uses vpath to do
its hunting.

@feature
2016-04-05 16:22:59 +09:00
Daniel Zaoui a7400abbf6 Popup: don't set wrap type if ELM_WRAP_NONE is given
If ELM_WRAP_NONE is forbidden, the internal variable should not be set
if this value is given as parameter.
2016-04-05 08:43:35 +03:00
Taehyub Kim 4d9a19a1d5 elc_popup: support siganl emit for the main layout of popup
Summary:
Popup has the main layout to show popup view, but it is not resize object of popup.
As the result, we cannot emit the signal to the main layout when we want to change the state of the popup.
So, popup inherited a layout signal emit and redirect the signal to the main layout.

Test Plan:
1. add the custom signal in elm/popup/base/default layout
2. send the custom siganl in application code

Reviewers: woohyun, raster, cedric, Hermet, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3852
2016-04-05 10:16:38 +05:30
WooHyun Jung fe7ba5af00 elm_win: newest is always unfocused when window just gets focus 2016-04-05 11:23:04 +09:00
Mike Blumenkrantz 3121ea07c2 elm_win: conditionally emit focus and maximize signals in frame creation
@fix
2016-04-04 18:00:26 -04:00
Mike Blumenkrantz e376db9189 elm_win: update opaque region while fullscreened
@fix
2016-04-04 18:00:24 -04:00
Mike Blumenkrantz c84a4e5a5f elm_win: unset opaque region when alpha is set
@fix
2016-04-04 16:30:53 -04:00
Ji-Youn Park 8c3f4cd816 Elm_image: remove resizable_up and resizable_down Eo api
risizable_up and resizable_down api will be deprecated
after creating the apis to deal with image content using scale type
2016-04-04 10:19:18 +08:30
Carsten Haitzler d1f4f6c8af elm win - null out freed data on smart del
this fixes double-frees of strings in oddball cases where a deleted
window that is not done deleting is accessed.

@fix
2016-04-02 16:02:07 +09:00
Ji-Youn Park e438bd09b2 Elm_image: remove object_get from eo and object_size_get to view.size.get
remove elm_image_object_get frome eo.
    change elm_image_object_size_get to efl_gfx_view_size_get
2016-04-01 17:19:14 +08:30
SangHyeon Lee c0bbf53cb9 support elm_object_item_style_set/get on genlist items 2016-04-01 16:53:57 +09:00
SangHyeon Lee fc2f341e41 fix item_class refcount bug when class updated 2016-04-01 16:40:16 +09:00
SangHyeon Lee e8c3346379 fix genlist content leak in reausable case 2016-04-01 16:26:57 +09:00
Ji-Youn Park 1dc9741d0f Elm_image: remove Elm_Image_Orient and orient property from EO. 2016-04-01 14:42:01 +08:30
Ji-Youn Park 66b9884ab3 Elm_image: move preload_disabled API from eo to legacy. 2016-04-01 14:36:58 +08:30
Ji-Youn Park 5be49ace8f Elm_image: remove elm_image_fill_outside_get
This api will be removed.
   elm_image_fill_outside_get is same as !elm_image_fill_inside_get.
   elm_image_fill_outside_set function is too.
2016-04-01 14:14:51 +08:30
Cedric BAIL 2136038a7a elementary: only complain once during init when elm prefs module is not installed. 2016-03-29 14:53:38 -07:00
Andrii Kroitor 19139450c0 elm_fileselector: fix progressbar mode
Summary:
There are calls of elm_progressbar_pulse (start/stop pulsing), but they have
no effect because progressbar is not in pulse mode

@fix

Test Plan:
open elementary_test fileselector and navigate through folders
Wheel progressbar in right up corner should have pulse animation

Reviewers: cedric, raster, reutskiy.v.v

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3843
2016-03-29 16:49:51 +02:00
Marcel Hollerbach aa7e017fd8 fileselector: add HOLD flag
adds the hold flag when the keystroke is used.

If this is not done a backspace is used for reducing the search-string
AND for going into the top level directory.
2016-03-29 16:49:39 +02:00
Jean-Philippe Andre 3c40ebb998 elm: Replace contents list by iterators
This introduces two new methods:
- content_names_iterate
- content_objects_iterate

Replacing:
- elm_layout_content_swallow_list_get
2016-03-29 13:58:39 +09:00
Jean-Philippe Andre d2b7621907 elm: make content_get/set a property
This doesn't change the C code.
2016-03-29 13:32:12 +09:00
Jean-Philippe Andre 8fb8e6d257 Evas render: Fix no-render with smart objects
Setting the no-render flag on an elm widget had no effect,
as it was not properly propagated to its children. This should
fix that, but I'm not a fan of the solution.

Fixes T3371
2016-03-29 10:43:00 +09:00
Cedric BAIL 5155c2d156 elementary: add back C++ generated binding. 2016-03-28 16:16:15 -07:00
Amitesh Singh 9229654571 slider: Add range support
Slider can have two indicators if enabled and user can select
range values.

phab: https://phab.enlightenment.org/D3822
Test Plan: elementary_test -to slider

@feature

Change-Id: If4ca74de6f5a94531ebd21750d52704b2b02afee
2016-03-28 14:09:13 +05:30
Carsten Haitzler 1c2a5cec93 elm: fix window resize self-trigger
so there was/is a case where when an elm window is resized from
outside, it will happen to use the last known size (maybe old) and end
up requesting a resize to that size again itself. it basically
triggers its own resize request as a result of resize events. this
fixes that and stops the loop

@fix
2016-03-25 15:11:38 +09:00
Stefan Schmidt 9e5e69da4c elm_map: remove unused variables 2016-03-24 21:31:24 +01:00
Mike Blumenkrantz 25f0de1147 elm_win: monitor wl CONFIGURE events and unset resizing flag accordingly
resolves inability to resize again after resizing

@fix
2016-03-24 15:39:08 -04:00
Mike Blumenkrantz 2749775c74 elm_win: force resize during show if job is pending
this resolves the issue of all elm windows being created at 1x1 and
immediately resizing to another size after being shown, causing all
kinds of failures in various environments

@fix
2016-03-24 15:39:08 -04:00
Cedric Bail 14ec825aa9 elementary: search ELM_DATA_DIR environment for themes. 2016-03-24 11:23:11 -07:00
Cedric BAIL b0df722819 elementary: initial compilation of the library only. 2016-03-24 11:23:10 -07:00
Cedric BAIL 91367f2c11 elementary: merge configure logic. 2016-03-23 16:00:47 -07:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00