Commit Graph

8408 Commits

Author SHA1 Message Date
Lukasz Stanislawski d7235d5f5b genlist: remove debug logs 2015-04-06 10:24:58 +02:00
Lukasz Stanislawski 18bd62002b atspi: remove elm_interface_atspi_widget implementation.
elm_interface_atspi_widget object was previously used to implement
atspi features on top of elm_widget object. However such inheritance
obfuscates a design, so atspi features implementation was moved directly
into elm_widget code.
2015-04-06 10:24:58 +02:00
Lukasz Stanislawski a37eb07efe genlist: remove warning 2015-04-06 10:24:58 +02:00
Lukasz Stanislawski 377a7d220e atspi: implement selection interface for elm_list 2015-04-06 10:24:58 +02:00
Lukasz Stanislawski 84a774f24e atspi: change object hierachy for elm_gengrid. 2015-04-06 10:24:57 +02:00
Lukasz Stanislawski 5feb743ff9 atspi: add elm_genlist items support. 2015-04-06 10:24:57 +02:00
Lukasz Stanislawski 64374b68e8 atspi: improve atspi support for elm_list
Now elm_list_items are normal atspi objects and provide information
about it label and 'start' and 'end' internal objects.
2015-04-06 10:24:57 +02:00
Lukasz Stanislawski 6a3b7ec9ad atspi: change variable name 2015-04-06 10:24:57 +02:00
Lukasz Stanislawski 7a7cc2094c atspi: implement add/del callbacks. Add genlist item tests 2015-04-06 10:24:57 +02:00
Lukasz Stanislawski 824bdbacb4 atspi: set role for elm_genlist item. 2015-04-06 10:24:56 +02:00
Lukasz Stanislawski 28f9351510 atspi: remove component interface from inheritance list 2015-04-06 10:24:56 +02:00
Lukasz Stanislawski c7a65b181d atspi: overload children_get method for elm_genlist 2015-04-06 10:24:56 +02:00
Lukasz Stanislawski 08549d134e atspi: make eo_widget_item accessible object 2015-04-06 10:24:56 +02:00
Jean-Philippe Andre 8a801c995f elm_image: Simplify file_get 2015-04-06 15:54:50 +09:00
Jean-Philippe Andre 4a0202b40d elm_image: Use Efl.File interface for mmap_set 2015-04-06 15:54:33 +09:00
Jean-Philippe Andre 3e7aff9501 elm_image: Implement async file open
Summary: This implements the interface Efl.File.async.{set,get,wait}

Reviewers: cedric, raster, tasn

Differential Revision: https://phab.enlightenment.org/D2262
2015-04-06 15:54:32 +09:00
SangHyeon Lee 4f5f6a9651 Elm_Win: Fix _elm_win_focus_prev_target_del callback added repeatly without callback del.
Summary:
When object in elm_win lose their focus, elm_win save it on focus_highlight.prev structure,
and add **EVAS_CALLBACK_DEL** event callback. But after changed focus object also lose their focus from other,
**EVAS_CALLBACK_DEL** on prev object is not deleted if their in_theme is not **EINA_TRUE**.
This could be cause **'Memory Leak' **until previous focused objects are deleting.
checking in_theme of prev focus_highlight is for send signal on prev focused view(edje),
so 'if' sentence for checking previous existance and in_theme need to be separated.

@fix

Test Plan:
You can easily check this on elementary_test. launch radio sample and make focus by keyboard and
change focus repeatly, callback is added as per focus movement, but callback del is not called.

Reviewers: seoz, woohyun, raster, Hermet

Reviewed By: Hermet

Subscribers: jaehwan

Differential Revision: https://phab.enlightenment.org/D2276
2015-04-06 10:54:15 +09:00
woochan lee a654a80be1 elm_config.h: Delete whitespaces.
Summary: Delete whitespaces.

Reviewers: JackDanielZ, seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2286
2015-04-06 10:41:24 +09:00
ChunEon Park 699f5efe05 multibuttonentry: use layout apis instead of edje,
the internal view type has been changed to layout.
2015-04-06 10:34:39 +09:00
woochan lee 0cfbc39b67 multibuttonentry: btn item theme set API change.
Summary: I missed this during btn object type change to layout from edje object .

Reviewers: Hermet, seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D2289
2015-04-06 10:21:48 +09:00
Mike Blumenkrantz e0f7e8f7c4 gitignore update 2015-04-05 16:26:22 -04:00
Mike Blumenkrantz 2b03eb5a09 colorclass: add util function for listing color classes out of an open edje file 2015-04-05 16:26:22 -04:00
Mike Blumenkrantz 84b68085c3 colorclass: add subsystem for remotely editing colorclasses over dbus
the winid should match the e_pixmap id

also various theme improvements
2015-04-05 16:26:18 -04:00
Mike Blumenkrantz a583013bab add colorclass editor
the colorclass editor can be used to live edit the color classes in
any running application.

@feature
2015-04-05 16:02:00 -04:00
Mike Blumenkrantz 38ef781083 config: use eina_streq to optimize comparisons in _elm_config_color_overlay functions 2015-04-05 16:01:57 -04:00
Mike Blumenkrantz 6d33a125c4 colorselector: support "changed,user" smart callback
this allows users to avoid getting callbacks from api calls
2015-04-05 16:01:50 -04:00
Boris Faure c50ab5755c elc_popup: make sure code is C89 strict 2015-04-04 18:21:12 +02:00
Cedric BAIL df4c3bbb7d evas: let's not use eo_do for potential Efl interface call. 2015-04-03 16:04:58 +02:00
Tom Hacohen 6d2699317e Elm helper: fix compilation against elementary.
There was an issue when compiling against elementary when EO_BETA_API
wasn't set. This commit fixes that.

Thanks to Kuuko for reporting.
2015-04-02 10:54:06 +01:00
Tom Hacohen 82a43998cb Revert "Revert "Elm helper: add the posix regex validator.""
Reapply the patch. Next commit will fix the break.

This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.
2015-04-02 10:37:37 +01:00
Carsten Haitzler 71dc4b5392 Revert "Elm helper: add the posix regex validator."
NO! this breaks compiling anything against elementary UNLESS you
enable eo beta api support. NO NO NO NO.

This reverts commit cad6de2a8ef93d994f9dedb8e980efe5fbf6d77e.
2015-04-02 09:48:29 +09:00
Vyacheslav Reutskiy 4c041aee9a Elm helper: add the posix regex validator.
Summary:
Added to Entry new signal "validate", this signal called from entry every
time when the text inputed to entry.
The regex validation add as elm_helper.
The styles of Entries scrollers are changed to allow highlightion that
is needed by regex processing.

For use regex with entry need register the regex helper as callback
to event: ELM_ENTRY_EVENT_VALIDATE

@feature

Test Plan:
See elementary_test "Entry Regex" test.
Note: when the string matches to regex the highlighting (green) is reset on unfocusing.

Reviewers: herdsman, raster, cedric, tasn

Reviewed By: cedric, tasn

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2043
2015-04-01 16:11:18 +01:00
JinsolPark 2573e7a9ea elm_object_access_info_get() API add
Summary: Adding a get API because of having only elm_object_access_info_get().

Reviewers: jaehwan, kimcinoo

Differential Revision: https://phab.enlightenment.org/D2271
2015-04-01 17:05:17 +09:00
Jaehwan Kim 29385e75ff Gengrid: Modified to handle the focus highlight on unrealized items
This commit is related to 260cdd6150d567fcee8d1afaf690e4b90cd16a2b.

When unrealized item is focused, edje object is not exist,
so genlist cannot read the focus highlight information from edje object.
Therefore, when the item is realized, check the item is focused or not and
need to update focus highlight.
2015-03-30 16:00:01 +09:00
ChunEon Park 856bf8c0df conform: decide indicator visibility in the swallow part. 2015-03-28 20:06:19 +09:00
ChunEon Park c17ea7197e conform: decide indicator visibility in the swallow part. 2015-03-28 19:18:24 +09:00
Kai Huuhko ff3ac49cf3 Fix elm_naviframe transition,finished smart events event_info
Summary:
A pointer to the internal Elm_Naviframe_Item_Data was mistakenly being passed as
event_info.

This patch changes the callback_call to pass the correct Elm_Object_Item (Eo) pointer.

Reviewers: #elementary, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2222
2015-03-28 15:12:37 +09:00
woochan lee 93a4b8b4e3 multibuttonentry: Add item long pressed callback.
Summary: Add long pressed callback for application. test code changed to following this change as well.

@feature

Reviewers: seoz, woohyun, Jaehyun, Hermet

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

Conflicts:

	src/lib/elc_multibuttonentry.c
2015-03-28 15:09:27 +09:00
michelle legrand 65bb320c00 elm_diskselector: check if sd variable is null.
Summary:
This causes a segmentation fault when closing the DiskSelector window
on Windows.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:13:27 +01:00
michelle legrand ce9498311a elm_prefs: compatibility for Windows.
Summary:
Add test for relative path on Windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:08:54 +01:00
michelle legrand 8d4a6bfc81 elm_datetime: compatibility for Windows.
Summary:
For Windows, we have a nl_langinfo() equivalent in Evil.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:08:15 +01:00
michelle legrand 6f86fb5fb0 elc_fileselector: fix looking for right Windows home path.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:04:38 +01:00
taehyub d48b15b2fd elc_popup: add null pointer check before creating content text object
Summary:
If elm_object_text_set() function is called twice,
elm_obj_containter_content_set(CONTENT_PART, sd->text_content_obj)
function makes sd->text_content_obj null since sd->text_content_obj already exists.

Test Plan:
1. run elementary_test(popup) and excute "popup-center-text + 1button (check hide, show)"
2. print sd->text_content_obj value in content_text_set()
3. push hide button and excute the example again
4. check sd->text_content_obj value if null or not

Reviewers: woohyun, Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D2225
2015-03-26 03:02:15 +09:00
taehyub c361c9e839 elm_toolbar: add toolbar item size calculation and setting min values for fixed items
Summary:
In case of the toolbar item size is fixed, the size of toolbar item became finger size.
so, after signal emission in _inform_item_number(),
edje_object_size_min_restricted_calc() and evas_object_size_hint_min_set() function are added.

Test Plan: change edc for supporting fixed toolbar item and run examples of toolbar in elementary_test

Reviewers: woohyun, seoz, Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D2184
2015-03-25 07:47:33 +09:00
Amitesh Singh 8e47bbb70a tooltip: Corrected namespacing for tooltip label style.
Summary:
namespacing is wrong for tooltip label. Although we still support old theme
but it should be removed in EFL 2.0.

Test Plan: elementary_test -to tooltip

Reviewers: seoz, Hermet, raster

Reviewed By: raster

Subscribers: kimcinoo, sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D2120
2015-03-25 07:23:07 +09:00
Carsten Haitzler ac771e51af elm - fix warnings after patches to datetime 2015-03-25 07:14:08 +09:00
Subodh Kumar 7bf866f8bf [elm_datetime] Fix to consider second field while comparing datetime values.
Summary:
Some app like calendar, they heavily depend on the value of datetime,so to ensure accuracy
second field is considered while comparing datetime values.

@fix

Test Plan: NA

Reviewers: shilpasingh, raster

Reviewed By: shilpasingh, raster

Subscribers: poornima.srinivasan, govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D2204
2015-03-25 07:09:23 +09:00
Subodh Kumar 79e7d5bcad [elm_datetime] Fix to parse the POSIX locale format properly.
Summary:
In POSIX, some format include extra character like dash, hash, etc, which gives unexpected behaviour.
Fix to filter out those character.

Signed Off By: Seongjun Yim <se201.yim@samsung.com>
Signed Off By: Subodh Kumar <s7158.kumar@samsung.com>

@fix

Test Plan:
1. Set datetime as POSIX locale.
2. Check the datetime behaviour in elementary_test.

Reviewers: raster, shilpasingh

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D2203
2015-03-25 07:06:03 +09:00
Subodh Kumar 12f6f56f85 [elm_datetime] Corrected the logic for datetime values comparison.
Summary:
Datetime value should be compared earlier to avoid unnecessary code execution.
Also added logic for single field comparion which will avoid to compare all fields when field limit is set.

Signed Off By: Seongjun Yim <se201.yim@samsung.com>
Signed Off By: Hyunseok Yang <hs0219.yang@samsung.com>
Signed Off By: Subodh Kumar <s7158.kumar@samsung.com>

Test Plan: NA

Reviewers: shilpasingh, raster

Reviewed By: shilpasingh, raster

Subscribers: poornima.srinivasan, govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D2202
2015-03-25 07:00:44 +09:00
Jaehwan Kim 1925ec3b8e scroller: add loop feature.
This feature works the infinite loop horizontally or vertically.
If the content is set, it will be shown repeatedly.
@feature

Change-Id: I1f20b794ae44bc8e5d120901222c7cccadca96b7

Conflicts:
	src/lib/elm_scroller.c
	src/lib/elm_scroller_legacy.h
2015-03-23 20:35:04 +09:00