Commit Graph

11240 Commits

Author SHA1 Message Date
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
ChunEon Park 8a61be1d3b test_3d: correct arguments order. 2015-04-03 23:50:37 +09:00
ChunEon Park fd2e9b2758 evas_map_3d: fixed control names.
these values are to perspective distances.
their argumenets are px, py so it should also be named px, py
2015-04-03 23:33:55 +09: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
Jean-Philippe Andre 923a52cea1 Revert "doc: Improve build speed, disable doc's widgets build"
This reverts commit 52c8f4fe7ec42efa6889d707e2380697ffe7dbb4.

This broke the build when starting from a clean repo.
I'll try to improve this patch later, maybe.
2015-03-31 20:37:47 +09:00
Jean-Philippe Andre 2d5e323493 elm_test: Fix compilation warnings
Grrr, same const char thing as in naviframe...
2015-03-31 15:12:07 +09:00
Jean-Philippe Andre edd9a63366 doc: Improve build speed, disable doc's widgets build
Building the widget_preview_xxx programs takes a while and should
be required only when rebuilding the doc. Arguably breaking something
in elm may break only the widget-preview build but I believe this is
a rare case.

This speeds up a regular elm build by >20s on my machine.
2015-03-31 12:28:11 +09:00
Jean-Philippe Andre dfa05caf48 elm_test: Fix image paths 2015-03-31 12:28:11 +09:00
Jean-Philippe Andre c38f528e41 elm_test: Fix compilation warnings 2015-03-31 12:28:11 +09:00
maxerba 3765aac7bc Update catalan translation 2015-03-30 21:18:10 +02: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
Jihoon Kim e52c85920a Fix build warning related to window home 2015-03-28 23:59:09 +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
Nicolas Aguirre f6cd88650a elm-tests: slideshow : looking for right data directory in prefix.
This cmomit fixes the previous revert, as it was introducing load of incorrect path for images.
2015-03-27 14:42:07 +01:00
Nicolas Aguirre 9b0f724373 Revert "elm_slideshow: looking for right data directory in prefix."
This reverts commit c8ca1ad1b3390c9bf6712b616f971d814c63c274.
2015-03-27 13:25:57 +01:00
Michelle Legrand 4b478c5786 elm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:36 +01:00
Michelle Legrand 74525a6d2f elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:16 +01:00
Michelle Legrand ae1c8af467 elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:52 +01:00
Michelle Legrand 4da5e28685 elm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:11 +01:00
Michelle Legrand 5ffcf27033 task_switcher: add variable verification.
Summary:
If dbus is not installed the task switcher raise a segmentation error.
So we check if the returned variable by eo_do is not null before continuing.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:17:37 +01: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 ce1d59bcbe elm_fileselector: display directory from HOME on Windows.
Summary:
On Windows, if we are running the application from Msys or Cygwin, we will
get the HOME environment variable. Otherwise we need to use Windows environment variables
"HOMEDRIVE" and "HOMEPATH" to get the home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:12:57 +01:00
michelle legrand 949e0f5e9c elm_panel: display directory from HOME on Windows.
Summary:
On Windows we can get the HOME environment variable if we launch the application
from Msys or Cygwin, otherwise we need to use "HOMEDRIVE" and "HOMEPATH" to get
windows home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:56 +01:00
michelle legrand cc51077de1 elm_prefs: looking for right lib directory in prefix.
Summary:
Using elm_app_data_dir_get() to get the right application's prefix.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:30 +01:00
michelle legrand 0d08751301 elm_slideshow: looking for right data directory in prefix.
Summary:
Get right application prefix by using elm_app_data_dir_get() for the
slideshow images.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:01 +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
Yakov Goldberg 9a2f068740 Implement efl_file_get() for Elm_Layout and Elm_Video
"file" property in Efl.File interface is virtual pure,
so according to OO principles must be implemented in derived classes.

This patch adds implementation of "file.get" in Elm_Layout.

Further, Elm_Video class has it's own implementation of "file.set",
thus also requires implementation of "file.get"
2015-03-22 14:37:52 +02:00
WooHyun Jung 56b6792584 toolbar: remove useless codes 2015-03-21 09:45:59 +09:00
Jee-Yong Um 89d4986aee elc_popup: Fix to make popup get proper size
Summary:
There is a bug that popup can't get proper size when list is set as its content.
Because of unneccesary calling evas_object_show() in popup's overriding elm_obj_container_content_set(),
sizing eval doens't work correctly.
This patch fixes this bug.

Test Plan:
Execute 14th popup sample in "elementary_test popup".
(popup-center-title + list content + 1 button)
After applying this patch, popup shows correctly.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D2158
2015-03-20 14:14:02 +09:00
Subodh Kumar c7b28cb1ac Elm_toolbar: Sizing evaluation improvement.
Summary:
Issue: Flickering when toolbar was set/unset
Solution: Unnecessary resizes and show caused the flicker, removed unnecessary resizes.

Reviewers: seoz, raster, shilpasingh

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D2070
2015-03-19 18:46:59 +09:00
Youngbok Shin fa68fc7603 config: Reinitialize font config using evas_font_reinit() API.
Summary:
Call evas_font_reinit() API before applying font overlays when config is fully reloaded.
Application could modify or add font config "*.conf" files.
And It should affects all of other running EFL application.
So, put evas_font_reinit() API to be called when x win property is changed.
@feature

Reviewers: cedric, raster, tasn, woohyun

Differential Revision: https://phab.enlightenment.org/D2113
2015-03-19 18:04:59 +09:00