platform/upstream/elementary.git
9 years agoelm_test: (GLView) reset accel_preference after win_add
Jean-Philippe Andre [Tue, 7 Apr 2015 06:03:19 +0000 (15:03 +0900)]
elm_test: (GLView) reset accel_preference after win_add

This might even make the application run with two different engines.

9 years agoelm_test: GLView: Add depth to the window
Jean-Philippe Andre [Mon, 6 Apr 2015 13:48:58 +0000 (22:48 +0900)]
elm_test: GLView: Add depth to the window

Without depth, glview / evas gl basically fall back to indirect rendering.

Also change bg color from yellowish to brown (and use PREMULTIPLIED
colors, not random values).

9 years agoelm_glview: Call resize func whenever the surface is updated
Jean-Philippe Andre [Mon, 6 Apr 2015 13:44:30 +0000 (22:44 +0900)]
elm_glview: Call resize func whenever the surface is updated

This will allow apps to set the proper viewport, even if the
actual surface geometry didn't change.

This fixes a rare situation where the mode is changed from indirect
to direct (eg. in elm_test glview).

9 years agoelm_glview: Fix usage of direct rendering
Jean-Philippe Andre [Mon, 6 Apr 2015 08:26:31 +0000 (17:26 +0900)]
elm_glview: Fix usage of direct rendering

You can't have direct rendering and ALWAYS render mode. It just
didn't make sense.

Also fix the test case.

9 years agoedc: use new empty description inherit statements in comp theme
Mike Blumenkrantz [Tue, 7 Apr 2015 00:43:59 +0000 (20:43 -0400)]
edc: use new empty description inherit statements in comp theme

coverage/testing++

9 years agoedc: fix button theme syntax error
Mike Blumenkrantz [Tue, 7 Apr 2015 00:37:18 +0000 (20:37 -0400)]
edc: fix button theme syntax error

9 years agocolorclass: move test translate+list callbacks to main
Mike Blumenkrantz [Mon, 6 Apr 2015 19:33:50 +0000 (15:33 -0400)]
colorclass: move test translate+list callbacks to main

enable remote editing of all colorclasses in elm_test

9 years agocolorclass: sort colorclass list by colorclass name
Mike Blumenkrantz [Mon, 6 Apr 2015 19:22:54 +0000 (15:22 -0400)]
colorclass: sort colorclass list by colorclass name

9 years agocolorclass: block colorselector dismissal when clicking inside csel area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:34:33 +0000 (14:34 -0400)]
colorclass: block colorselector dismissal when clicking inside csel area

9 years agocolorclass: fix test window initial resize geom
Mike Blumenkrantz [Mon, 6 Apr 2015 18:32:05 +0000 (14:32 -0400)]
colorclass: fix test window initial resize geom

9 years agocolorclass: only show one fader at a time
Mike Blumenkrantz [Mon, 6 Apr 2015 18:12:24 +0000 (14:12 -0400)]
colorclass: only show one fader at a time

showing both faders obscures the app too much to be useful

9 years agocolorclass: slightly expand colorselector bg to improve clicking area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:11:37 +0000 (14:11 -0400)]
colorclass: slightly expand colorselector bg to improve clicking area

9 years agocolorclass: add clip for color type groups, move inset inside edje area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:10:24 +0000 (14:10 -0400)]
colorclass: add clip for color type groups, move inset inside edje area

9 years agocolorclass: add focus glow to color type selector
Mike Blumenkrantz [Mon, 6 Apr 2015 18:09:47 +0000 (14:09 -0400)]
colorclass: add focus glow to color type selector

9 years agoedc: add descriptions for all listed color classes
Mike Blumenkrantz [Mon, 6 Apr 2015 16:20:04 +0000 (12:20 -0400)]
edc: add descriptions for all listed color classes

9 years agoMerge branch 'devs/stanluk/eo_object_items_atspi'
Lukasz Stanislawski [Mon, 6 Apr 2015 08:54:57 +0000 (10:54 +0200)]
Merge branch 'devs/stanluk/eo_object_items_atspi'

Make elm object items atspi-aware objects. Implement atspi support
for elm_genlist, elm_gengrid and elm_toolbar items.

9 years agoatspi: changed del event broadcast. Fix genlist & gengrid tests
Lukasz Stanislawski [Mon, 6 Apr 2015 08:22:58 +0000 (10:22 +0200)]
atspi: changed del event broadcast. Fix genlist & gengrid tests

9 years agoatspi: remove redundant signature check.
Lukasz Stanislawski [Thu, 26 Mar 2015 11:03:58 +0000 (12:03 +0100)]
atspi: remove redundant signature check.

9 years agoatspi: update genlist item Name property when text becomes realized.
Lukasz Stanislawski [Thu, 26 Mar 2015 11:03:10 +0000 (12:03 +0100)]
atspi: update genlist item Name property when text becomes realized.

9 years agoatspi: fix mem leaks spotted in valgrind.
Lukasz Stanislawski [Thu, 26 Mar 2015 10:51:37 +0000 (11:51 +0100)]
atspi: fix mem leaks spotted in valgrind.

9 years agoatspi: override default atspi parent of genlist item content
Lukasz Stanislawski [Wed, 25 Mar 2015 17:40:32 +0000 (18:40 +0100)]
atspi: override default atspi parent of genlist item content

9 years agoatspi: delay registration of atspi object until its shown
Lukasz Stanislawski [Wed, 25 Mar 2015 17:07:40 +0000 (18:07 +0100)]
atspi: delay registration of atspi object until its shown

9 years agoatspi: allow to override default Elementary objects hierarchy
Lukasz Stanislawski [Wed, 25 Mar 2015 15:45:29 +0000 (16:45 +0100)]
atspi: allow to override default Elementary objects hierarchy

9 years agoatspi: remove deleted atspi header from elm_interfaces.
Lukasz Stanislawski [Wed, 25 Mar 2015 11:53:43 +0000 (12:53 +0100)]
atspi: remove deleted atspi header from elm_interfaces.

9 years agoatspi: add 'checked' state for elm_radio
Lukasz Stanislawski [Fri, 24 Oct 2014 11:32:08 +0000 (13:32 +0200)]
atspi: add 'checked' state for elm_radio

9 years agoatspi: add 'editable' to elm_entry atspi states
Lukasz Stanislawski [Fri, 24 Oct 2014 11:12:51 +0000 (13:12 +0200)]
atspi: add 'editable' to elm_entry atspi states

9 years agoatspi: allow AT-SPI clients to filter-out key events
Lukasz Stanislawski [Thu, 23 Oct 2014 15:53:10 +0000 (17:53 +0200)]
atspi: allow AT-SPI clients to filter-out key events

9 years agowidget: use ATSPI protected functions.
Lukasz Stanislawski [Tue, 21 Oct 2014 13:06:09 +0000 (15:06 +0200)]
widget: use ATSPI protected functions.

9 years agoatspi: add text tags filtering
Lukasz Stanislawski [Thu, 9 Oct 2014 09:37:35 +0000 (11:37 +0200)]
atspi: add text tags filtering

9 years agogengrid: remove debug
Lukasz Stanislawski [Thu, 9 Oct 2014 09:25:43 +0000 (11:25 +0200)]
gengrid: remove debug

9 years agoatspi: improva child add/del broadcasting.
Lukasz Stanislawski [Thu, 9 Oct 2014 09:17:20 +0000 (11:17 +0200)]
atspi: improva child add/del broadcasting.

This commit enables generic broadcasting of changes in widget hierarcies.
Previously this kind of broadcasting had to be implemented inside widget.
This solution is using elm_widget sub_obj_add/sub_obj_del functions.

9 years agoatspi: fix elm_gengrid_item accessible states
Lukasz Stanislawski [Thu, 9 Oct 2014 08:17:09 +0000 (10:17 +0200)]
atspi: fix elm_gengrid_item accessible states

9 years agoatspi: add AT-SPI support for elm_toolbar_items
Lukasz Stanislawski [Thu, 9 Oct 2014 08:14:38 +0000 (10:14 +0200)]
atspi: add AT-SPI support for elm_toolbar_items

9 years agogenlist: remove debug logs
Lukasz Stanislawski [Tue, 7 Oct 2014 13:15:45 +0000 (15:15 +0200)]
genlist: remove debug logs

9 years agoatspi: remove elm_interface_atspi_widget implementation.
Lukasz Stanislawski [Tue, 21 Oct 2014 12:46:35 +0000 (14:46 +0200)]
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.

9 years agogenlist: remove warning
Lukasz Stanislawski [Tue, 7 Oct 2014 07:52:53 +0000 (09:52 +0200)]
genlist: remove warning

9 years agoatspi: implement selection interface for elm_list
Lukasz Stanislawski [Mon, 6 Oct 2014 16:07:11 +0000 (18:07 +0200)]
atspi: implement selection interface for elm_list

9 years agoatspi: change object hierachy for elm_gengrid.
Lukasz Stanislawski [Fri, 3 Oct 2014 14:14:37 +0000 (16:14 +0200)]
atspi: change object hierachy for elm_gengrid.

9 years agoatspi: add elm_genlist items support.
Lukasz Stanislawski [Thu, 2 Oct 2014 16:37:53 +0000 (18:37 +0200)]
atspi: add elm_genlist items support.

9 years agoatspi: improve atspi support for elm_list
Lukasz Stanislawski [Thu, 2 Oct 2014 14:44:02 +0000 (16:44 +0200)]
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.

9 years agoatspi: change variable name
Lukasz Stanislawski [Thu, 2 Oct 2014 13:19:49 +0000 (15:19 +0200)]
atspi: change variable name

9 years agoatspi: implement add/del callbacks. Add genlist item tests
Lukasz Stanislawski [Tue, 30 Sep 2014 17:48:22 +0000 (19:48 +0200)]
atspi: implement add/del callbacks. Add genlist item tests

9 years agoatspi: set role for elm_genlist item.
Lukasz Stanislawski [Tue, 30 Sep 2014 14:28:29 +0000 (16:28 +0200)]
atspi: set role for elm_genlist item.

9 years agoatspi: remove component interface from inheritance list
Lukasz Stanislawski [Tue, 30 Sep 2014 13:57:12 +0000 (15:57 +0200)]
atspi: remove component interface from inheritance list

9 years agoatspi: overload children_get method for elm_genlist
Lukasz Stanislawski [Tue, 30 Sep 2014 11:10:22 +0000 (13:10 +0200)]
atspi: overload children_get method for elm_genlist

9 years agoatspi: make eo_widget_item accessible object
Lukasz Stanislawski [Mon, 29 Sep 2014 13:34:34 +0000 (15:34 +0200)]
atspi: make eo_widget_item accessible object

9 years agoelm_test: Fix remote image URL
Jean-Philippe Andre [Mon, 6 Apr 2015 07:13:40 +0000 (16:13 +0900)]
elm_test: Fix remote image URL

Apparently tumblr 31 doesn't work but 41 does...

9 years agoelm_image: Simplify file_get
Jean-Philippe Andre [Mon, 6 Apr 2015 06:34:58 +0000 (15:34 +0900)]
elm_image: Simplify file_get

9 years agoelm_image: Use Efl.File interface for mmap_set
Jean-Philippe Andre [Mon, 6 Apr 2015 06:16:25 +0000 (15:16 +0900)]
elm_image: Use Efl.File interface for mmap_set

9 years agoelm_image: Implement async file open
Jean-Philippe Andre [Tue, 31 Mar 2015 02:58:10 +0000 (11:58 +0900)]
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

9 years agoElm_Win: Fix _elm_win_focus_prev_target_del callback added repeatly without callback...
SangHyeon Lee [Mon, 6 Apr 2015 01:54:15 +0000 (10:54 +0900)]
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

9 years agoslideshow/test: Fixed warning of uninitailised variable
kabeer khan [Mon, 6 Apr 2015 01:42:44 +0000 (10:42 +0900)]
slideshow/test: Fixed warning of uninitailised variable

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, Hermet

Reviewed By: Hermet

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

9 years agoelm_config.h: Delete whitespaces.
woochan lee [Mon, 6 Apr 2015 01:41:24 +0000 (10:41 +0900)]
elm_config.h: Delete whitespaces.

Summary: Delete whitespaces.

Reviewers: JackDanielZ, seoz, Hermet

Reviewed By: Hermet

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

9 years agomultibuttonentry: use layout apis instead of edje,
ChunEon Park [Mon, 6 Apr 2015 01:34:39 +0000 (10:34 +0900)]
multibuttonentry: use layout apis instead of edje,

the internal view type has been changed to layout.

9 years agomultibuttonentry: btn item theme set API change.
woochan lee [Mon, 6 Apr 2015 01:21:47 +0000 (10:21 +0900)]
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

9 years agogitignore update
Mike Blumenkrantz [Sun, 5 Apr 2015 20:03:29 +0000 (16:03 -0400)]
gitignore update

9 years agocolorclass: disable local extra listing in test for now
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:12 +0000 (16:02 -0400)]
colorclass: disable local extra listing in test for now

9 years agocolorclass: add util function for listing color classes out of an open edje file
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:08 +0000 (16:02 -0400)]
colorclass: add util function for listing color classes out of an open edje file

9 years agocolorclass: add subsystem for remotely editing colorclasses over dbus
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:05 +0000 (16:02 -0400)]
colorclass: add subsystem for remotely editing colorclasses over dbus

the winid should match the e_pixmap id

also various theme improvements

9 years agocolorclass: add test case
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:03 +0000 (16:02 -0400)]
colorclass: add test case

a simple test case for local usage of the color class editor

9 years agoadd colorclass editor
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:00 +0000 (16:02 -0400)]
add colorclass editor

the colorclass editor can be used to live edit the color classes in
any running application.

@feature

9 years agoconfig: use eina_streq to optimize comparisons in _elm_config_color_overlay functions
Mike Blumenkrantz [Sun, 5 Apr 2015 20:01:57 +0000 (16:01 -0400)]
config: use eina_streq to optimize comparisons in _elm_config_color_overlay functions

9 years agocolorselector: support "changed,user" smart callback
Mike Blumenkrantz [Sun, 5 Apr 2015 20:01:50 +0000 (16:01 -0400)]
colorselector: support "changed,user" smart callback

this allows users to avoid getting callbacks from api calls

9 years agoelc_popup: make sure code is C89 strict
Boris Faure [Sat, 4 Apr 2015 16:21:12 +0000 (18:21 +0200)]
elc_popup: make sure code is C89 strict

9 years agotest_3d: correct arguments order.
ChunEon Park [Fri, 3 Apr 2015 14:50:37 +0000 (23:50 +0900)]
test_3d: correct arguments order.

9 years agoevas_map_3d: fixed control names.
ChunEon Park [Fri, 3 Apr 2015 14:31:55 +0000 (23:31 +0900)]
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

9 years agoevas: let's not use eo_do for potential Efl interface call.
Cedric BAIL [Fri, 3 Apr 2015 14:04:58 +0000 (16:04 +0200)]
evas: let's not use eo_do for potential Efl interface call.

9 years agoElm helper: fix compilation against elementary.
Tom Hacohen [Thu, 2 Apr 2015 09:54:06 +0000 (10:54 +0100)]
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.

9 years agoRevert "Revert "Elm helper: add the posix regex validator.""
Tom Hacohen [Thu, 2 Apr 2015 09:37:37 +0000 (10:37 +0100)]
Revert "Revert "Elm helper: add the posix regex validator.""

Reapply the patch. Next commit will fix the break.

This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.

9 years agoRevert "Elm helper: add the posix regex validator."
Carsten Haitzler (Rasterman) [Thu, 2 Apr 2015 00:48:29 +0000 (09:48 +0900)]
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.

9 years agoElm helper: add the posix regex validator.
Vyacheslav Reutskiy [Wed, 1 Apr 2015 15:10:37 +0000 (16:10 +0100)]
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

9 years agoelm_object_access_info_get() API add
JinsolPark [Wed, 1 Apr 2015 08:05:17 +0000 (17:05 +0900)]
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

9 years agoRevert "doc: Improve build speed, disable doc's widgets build"
Jean-Philippe Andre [Tue, 31 Mar 2015 11:37:41 +0000 (20:37 +0900)]
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.

9 years agoelm_test: Fix compilation warnings
Jean-Philippe Andre [Tue, 31 Mar 2015 06:11:00 +0000 (15:11 +0900)]
elm_test: Fix compilation warnings

Grrr, same const char thing as in naviframe...

9 years agodoc: Improve build speed, disable doc's widgets build
Jean-Philippe Andre [Tue, 31 Mar 2015 03:17:23 +0000 (12:17 +0900)]
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.

9 years agoelm_test: Fix image paths
Jean-Philippe Andre [Tue, 31 Mar 2015 03:01:52 +0000 (12:01 +0900)]
elm_test: Fix image paths

9 years agoelm_test: Fix compilation warnings
Jean-Philippe Andre [Tue, 31 Mar 2015 02:19:25 +0000 (11:19 +0900)]
elm_test: Fix compilation warnings

9 years agoUpdate catalan translation
maxerba [Mon, 30 Mar 2015 19:18:10 +0000 (21:18 +0200)]
Update catalan translation

9 years agoGengrid: Modified to handle the focus highlight on unrealized items
Jaehwan Kim [Mon, 30 Mar 2015 06:57:36 +0000 (15:57 +0900)]
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.

9 years agoFix build warning related to window home
Jihoon Kim [Sat, 28 Mar 2015 14:59:09 +0000 (23:59 +0900)]
Fix build warning related to window home

9 years agoconform: decide indicator visibility in the swallow part.
ChunEon Park [Sat, 28 Mar 2015 11:06:19 +0000 (20:06 +0900)]
conform: decide indicator visibility in the swallow part.

9 years agoconform: decide indicator visibility in the swallow part.
ChunEon Park [Sat, 28 Mar 2015 10:18:24 +0000 (19:18 +0900)]
conform: decide indicator visibility in the swallow part.

9 years agoFix elm_naviframe transition,finished smart events event_info
Kai Huuhko [Sat, 28 Mar 2015 06:12:33 +0000 (15:12 +0900)]
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

9 years agomultibuttonentry: Add item long pressed callback.
woochan lee [Sat, 28 Mar 2015 06:05:44 +0000 (15:05 +0900)]
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

9 years agoelm-tests: slideshow : looking for right data directory in prefix.
Nicolas Aguirre [Fri, 27 Mar 2015 13:42:07 +0000 (14:42 +0100)]
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.

9 years agoRevert "elm_slideshow: looking for right data directory in prefix."
Nicolas Aguirre [Fri, 27 Mar 2015 12:25:57 +0000 (13:25 +0100)]
Revert "elm_slideshow: looking for right data directory in prefix."

This reverts commit c8ca1ad1b3390c9bf6712b616f971d814c63c274.

9 years agoelm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR
Michelle Legrand [Mon, 9 Mar 2015 09:07:48 +0000 (10:07 +0100)]
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>
9 years agoelm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:07:00 +0000 (10:07 +0100)]
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>
9 years agoelm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:05:33 +0000 (10:05 +0100)]
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>
9 years agoelm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:02:36 +0000 (10:02 +0100)]
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>
9 years agotask_switcher: add variable verification.
Michelle Legrand [Tue, 3 Mar 2015 09:17:02 +0000 (10:17 +0100)]
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>
9 years agoelm_diskselector: check if sd variable is null.
michelle legrand [Fri, 30 Jan 2015 09:47:09 +0000 (10:47 +0100)]
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>
9 years agoelm_fileselector: display directory from HOME on Windows.
michelle legrand [Wed, 11 Feb 2015 13:57:44 +0000 (14:57 +0100)]
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>
9 years agoelm_panel: display directory from HOME on Windows.
michelle legrand [Wed, 11 Feb 2015 13:53:40 +0000 (14:53 +0100)]
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>
9 years agoelm_prefs: looking for right lib directory in prefix.
michelle legrand [Wed, 11 Feb 2015 13:47:00 +0000 (14:47 +0100)]
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>
9 years agoelm_slideshow: looking for right data directory in prefix.
michelle legrand [Wed, 11 Feb 2015 13:43:15 +0000 (14:43 +0100)]
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>
9 years agoelm_prefs: compatibility for Windows.
michelle legrand [Tue, 23 Dec 2014 15:08:00 +0000 (16:08 +0100)]
elm_prefs: compatibility for Windows.

Summary:
Add test for relative path on Windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_datetime: compatibility for Windows.
michelle legrand [Tue, 23 Dec 2014 15:03:40 +0000 (16:03 +0100)]
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>
9 years agoelc_fileselector: fix looking for right Windows home path.
michelle legrand [Fri, 9 Jan 2015 16:09:19 +0000 (17:09 +0100)]
elc_fileselector: fix looking for right Windows home path.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_popup: add null pointer check before creating content text object
taehyub [Wed, 25 Mar 2015 18:02:15 +0000 (03:02 +0900)]
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