platform/upstream/elementary.git
10 years agoc++: Added workaround for correct unref times
Felipe Magno de Almeida [Mon, 21 Jul 2014 20:58:03 +0000 (17:58 -0300)]
c++: Added workaround for correct unref times

The legacy functions do unref after construction of the object. Which
doesn't happen on the eo_add calls directly. So it is needed to do
two unref's before letting the parent own the child.

10 years agocxx: refreshed example
Felipe Magno de Almeida [Mon, 21 Jul 2014 16:35:11 +0000 (13:35 -0300)]
cxx: refreshed example

10 years agocxx: Changed C++ example to use lambdas
Felipe Magno de Almeida [Thu, 17 Jul 2014 19:52:41 +0000 (16:52 -0300)]
cxx: Changed C++ example to use lambdas

10 years agoRemoved C-style code from C++ example
Felipe Magno de Almeida [Thu, 17 Jul 2014 14:30:39 +0000 (11:30 -0300)]
Removed C-style code from C++ example

10 years agoAdded simple, initial, C++ example
Felipe Magno de Almeida [Wed, 16 Jul 2014 20:34:22 +0000 (17:34 -0300)]
Added simple, initial, C++ example

10 years agoAdded part_text_get/part_text_set and text_get/text_set to elm_button
Felipe Magno de Almeida [Wed, 16 Jul 2014 20:34:05 +0000 (17:34 -0300)]
Added part_text_get/part_text_set and text_get/text_set to elm_button

Added part_text_get/part_text_set and text_get/text_set to elm_button
to eolianized API.

10 years agoautotools: Add eolian-cxx to elementary.
Savio Sena [Fri, 9 May 2014 20:51:39 +0000 (17:51 -0300)]
autotools: Add eolian-cxx to elementary.

Conflicts:
src/lib/Makefile.am

10 years agoFixes order of typedefs
Felipe Magno de Almeida [Tue, 15 Jul 2014 21:29:48 +0000 (18:29 -0300)]
Fixes order of typedefs

C++ compilers refuse to compile typedefs for types not declared yet.

The typedefs in the elm_interface_atspi_accessible.h were out of order
with the definition (and consequently its declaration) of its struct.

This fixes by modifying the order of the typedefs to be after the
struct definition.

10 years agofix notification theme to not clip text
Mike Blumenkrantz [Mon, 21 Jul 2014 18:02:37 +0000 (14:02 -0400)]
fix notification theme to not clip text

@fix

10 years agoatspi: always set atspi role for elm_win
Lukasz Stanislawski [Mon, 21 Jul 2014 16:37:41 +0000 (18:37 +0200)]
atspi: always set atspi role for elm_win

10 years agotests: check required interfaces implementation by widgets
Zbigniew Kosinski [Mon, 21 Jul 2014 16:07:10 +0000 (18:07 +0200)]
tests: check required interfaces implementation by widgets

Reviewers: stanluk, raster

Subscribers: raster

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

10 years agotests: refactor of atspi test suite
Lukasz Stanislawski [Mon, 21 Jul 2014 15:16:54 +0000 (17:16 +0200)]
tests: refactor of atspi test suite

Summary:
elm_test_atspi adjusted to recent internal api changes. Tests regarding elm_win
moved from elm_test_atspi to elm_test_win. Entry tests fixed. Test to
Atspi_Selection interface temporary skipped.

Reviewers: z.kosinski

Reviewed By: z.kosinski

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

10 years agoatspi: fix mem leak in attributes free function
Lukasz Stanislawski [Mon, 21 Jul 2014 13:44:16 +0000 (15:44 +0200)]
atspi: fix mem leak in attributes free function

10 years agogengrid: corrected the reorder start and end evas smart callback call.
Amitesh Singh [Mon, 21 Jul 2014 10:12:47 +0000 (19:12 +0900)]
gengrid: corrected the reorder start and end evas smart callback call.

Summary: @fix

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: raster, seoz

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

Conflicts:
src/lib/elm_gengrid.c

10 years agofocus: Added internal widget APIs of focus highlight object of elm window.
Amitesh Singh [Mon, 21 Jul 2014 10:04:27 +0000 (19:04 +0900)]
focus: Added internal widget APIs of focus highlight object of elm window.

Summary: This is required to support the animation of focus highlight object in case of item looping (genlist/gengrid/list).

Reviewers: seoz, woohyun, raster

Reviewed By: raster

Subscribers: anand.km, seoz

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

10 years agoFocus: first item should be focused when there is no focused/selected item
Anil Kumar Nahak [Mon, 21 Jul 2014 09:55:55 +0000 (18:55 +0900)]
Focus: first item should be focused when there is no focused/selected item

Summary: First item of widget should be focused when focus comes to the widget for first time.

Test Plan:
elementary_test -to "Genlist Focus"
elementary_test -to "Gengrid Focus"
elementary_test -to "List Focus"
elementary_test -to "toolbar Focus"

Reviewers: seoz

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

10 years agoelm theme - add blank cursor type in theme
Carsten Haitzler (Rasterman) [Mon, 21 Jul 2014 04:07:18 +0000 (13:07 +0900)]
elm theme - add blank cursor type in theme

10 years agoelm win noblank property added - to disable screen blanking/saving
Carsten Haitzler (Rasterman) [Mon, 21 Jul 2014 02:39:32 +0000 (11:39 +0900)]
elm win noblank property added - to disable screen blanking/saving

@feature

this adds a per-window property of "noblank". this implies turning
offf the screensaver whenever there is a window visible with this
property set on it. only x11 support atm.

10 years agodbus warn--
Carsten Haitzler (Rasterman) [Tue, 15 Jul 2014 08:31:06 +0000 (17:31 +0900)]
dbus warn--

10 years agobutton.edc: partial apply for the newly adopted sexy edc structure.
Daniel Juyung Seo [Sat, 19 Jul 2014 21:01:30 +0000 (06:01 +0900)]
button.edc: partial apply for the newly adopted sexy edc structure.

10 years agogitignore: do not track generated files.
Daniel Juyung Seo [Sat, 19 Jul 2014 20:22:36 +0000 (05:22 +0900)]
gitignore: do not track generated files.

10 years agoexamples: Call window object show after its content creation.
Daniel Juyung Seo [Sat, 19 Jul 2014 20:21:08 +0000 (05:21 +0900)]
examples: Call window object show after its content creation.

Window show call triggers all smart objects' smart calculation
and in case of X11, XMapWindow() is called directly.
Also moved resize of window accordingly.

10 years agoexample/evas3d: set the window name as other example codes.
Daniel Juyung Seo [Sat, 19 Jul 2014 20:07:52 +0000 (05:07 +0900)]
example/evas3d: set the window name as other example codes.

__WIN__ is too distinguishable.

10 years agosystray: fixed wrong struct initializer.
Daniel Juyung Seo [Sat, 19 Jul 2014 16:59:31 +0000 (01:59 +0900)]
systray: fixed wrong struct initializer.

This fixes the following build warning.

elm_systray.c:294:1: warning: excess elements in struct initializer
[enabled by default]
elm_systray.c:294:1: warning: (near initialization for '_iface_desc')
[enabled by default]

10 years agotest_toolbar: clean up clicked callback usage.
Daniel Juyung Seo [Sat, 19 Jul 2014 16:52:48 +0000 (01:52 +0900)]
test_toolbar: clean up clicked callback usage.

- Removed unselected handling routine. As this is clicked callback,
 there will be no unselected status for the clicked item in clicked
 callback.
- Removed check for event_info. In the clicked callback, event_info
 should be always valid.
- Changed internal variable name for the more item.

10 years agoelm: use @p for parameters in doxygen.
Daniel Juyung Seo [Sat, 19 Jul 2014 16:50:03 +0000 (01:50 +0900)]
elm: use @p for parameters in doxygen.

10 years agotoolbar: added selected and unselected smartcallbacks to toolbar.
Daniel Juyung Seo [Sat, 19 Jul 2014 16:46:35 +0000 (01:46 +0900)]
toolbar: added selected and unselected smartcallbacks to toolbar.

- Item based widget should emit this signal. This is good for the
consistency and makes application developers easy to guess.
- Added test case to elementary_test -> toolbar

@feature

10 years agotoolbar: changed internal variable name sanely.
Daniel Juyung Seo [Sat, 19 Jul 2014 16:18:57 +0000 (01:18 +0900)]
toolbar: changed internal variable name sanely.

Do not need to use 'obj2' as an object variable name as we can use 'obj'
as usual.

10 years agolist: fixed wrong indentation.
Daniel Juyung Seo [Sat, 19 Jul 2014 15:59:23 +0000 (00:59 +0900)]
list: fixed wrong indentation.

10 years agotest_toolbar: removed unnecessary EINA_UNUSED.
Daniel Juyung Seo [Sat, 19 Jul 2014 15:58:56 +0000 (00:58 +0900)]
test_toolbar: removed unnecessary EINA_UNUSED.

event_info is used.

10 years agoupdate according to latest eolian changes
Daniel Kolesa [Fri, 18 Jul 2014 16:30:06 +0000 (17:30 +0100)]
update according to latest eolian changes

10 years agonotify: removed unnecessary lines
Jaeun Choi [Fri, 18 Jul 2014 10:36:39 +0000 (19:36 +0900)]
notify: removed unnecessary lines

10 years agolist: call "selected" callback after set focus to the selected item
Jaeun Choi [Thu, 17 Jul 2014 07:58:36 +0000 (16:58 +0900)]
list: call "selected" callback after set focus to the selected item

in current code, when a list item is selected, "selected" callback is called first
and then focus is set to the item. this is a problem if another widget, popup for instance,
is created on top of the list in the callback function. in such a case, the popup should
get focused (not the list item). this patch fixes it by changing the order.

@fix

10 years agopopup: Remove unused variable.
Stefan Schmidt [Fri, 18 Jul 2014 10:00:52 +0000 (12:00 +0200)]
popup: Remove unused variable.

int_ret was never used here. Looks like a copy and paste error.

10 years agoatspi: Orca is able to read slider value changes
Zbigniew Kosinski [Fri, 18 Jul 2014 09:47:48 +0000 (11:47 +0200)]
atspi: Orca is able to read slider value changes

Reviewers: stanluk

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

10 years agoelementary: Don't segfault if we are not using an X11-compatible engine
Chris Michael [Thu, 17 Jul 2014 16:50:51 +0000 (12:50 -0400)]
elementary: Don't segfault if we are not using an X11-compatible engine

When running Enlightenment under Wayland only, during init of E we
make a call to elm_config_all_flush. elm_config_all_flush is making
calls to ecore_x_window function(s) (for setting of elm_profile),
However this causes a crash if the ELM_ENGINE is not one that is
running under X11 (ie: ELM_ENGINE=drm or wayland_*). So to fix this
crash, we will compare the current ELM_ENGINE and see if it is
X11-compatible before making unnecessary (and crashing) calls to
ecore_x_window functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agotests: Pass the interval to elm_test_helper_wait_flag for the caller to change
Ryuan Choi [Thu, 17 Jul 2014 13:30:01 +0000 (22:30 +0900)]
tests: Pass the interval to elm_test_helper_wait_flag for the caller to change

Like JackDanielZ suggested.

10 years agomailmap: added Wonguk Jeong's information.
Daniel Juyung Seo [Thu, 17 Jul 2014 13:12:07 +0000 (22:12 +0900)]
mailmap: added Wonguk Jeong's information.

10 years agotests: Add elm_test_helper_wait_flag to avoid infinite loop
Ryuan Choi [Wed, 16 Jul 2014 14:17:31 +0000 (23:17 +0900)]
tests: Add elm_test_helper_wait_flag to avoid infinite loop

Test of elm_fileselector_selected and future tests may have conditional loop
which some flag.
This patch adds elm_test_helper_wait_flag, simple wrapper of the loop with timer
in order to exit the loop when expected callbacks are not called.

10 years agopopup: code refactoring
Jaeun Choi [Wed, 9 Jul 2014 07:32:09 +0000 (16:32 +0900)]
popup: code refactoring

Popup has an abnormal parent-child tree as follows, and this patch fixes it.

 - when popup is created, it creates a notify as a child and the tree is [parent - popup - notify].
 - when popup is visible, it is set as a content of notify and the tree is [parent - notify - popup].
 - when popup is hidden, the tree is reverted.

To fix this, I made an internal layout and set it as the content of notify
so that the tree remains as [parent - popup - notify - layout] all the time.

10 years agosync mailmap
Daniel Kolesa [Wed, 16 Jul 2014 11:50:11 +0000 (12:50 +0100)]
sync mailmap

10 years agomailmap: updated Tae-hwan Kim's mailmap again and keep in sync with efl/enlightenment...
Daniel Juyung Seo [Wed, 16 Jul 2014 11:38:58 +0000 (20:38 +0900)]
mailmap: updated Tae-hwan Kim's mailmap again and keep in sync with efl/enlightenment's mailmaps.

Special thanks to Stefan for the advice.

10 years agomailmap: updated Taehwan Kim's mailmap.
Daniel Juyung Seo [Wed, 16 Jul 2014 10:58:00 +0000 (19:58 +0900)]
mailmap: updated Taehwan Kim's mailmap.

10 years agotransit - fix to adopt the tween_mode factor.
ChunEon Park [Wed, 16 Jul 2014 02:20:52 +0000 (11:20 +0900)]
transit - fix to adopt the tween_mode factor.

ACCELERATE, DECELLERATE, SINUSOIDAL modes didn't work with the tween mode factor before.
now it works.

@fix

10 years agoelementary examples: Add an elm_map example using evas3d
Jaehyun Cho [Wed, 16 Jul 2014 02:00:52 +0000 (11:00 +0900)]
elementary examples: Add an elm_map example using evas3d

Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

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

10 years agoupdate according to eolian syntax changes
Daniel Kolesa [Tue, 15 Jul 2014 22:53:18 +0000 (23:53 +0100)]
update according to eolian syntax changes

10 years agoFix build break while building with --with-tests=regular
Ryuan Choi [Tue, 15 Jul 2014 22:19:25 +0000 (07:19 +0900)]
Fix build break while building with --with-tests=regular

_elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b

10 years agoTests atspi: fix undefined reference.
Tom Hacohen [Tue, 15 Jul 2014 21:51:08 +0000 (22:51 +0100)]
Tests atspi: fix undefined reference.

Thanks to Ryuan Choi for reporting.
This was changed due to eolian changes.

10 years agoatspi: expose elc_naviframe "top_item_get" action through d-bus
Lukasz Stanislawski [Fri, 11 Jul 2014 09:11:31 +0000 (11:11 +0200)]
atspi: expose elc_naviframe "top_item_get" action through d-bus

10 years agoatspi: expose elm_image "activate" action through d-bus
Lukasz Stanislawski [Fri, 11 Jul 2014 08:28:29 +0000 (10:28 +0200)]
atspi: expose elm_image "activate" action through d-bus

10 years agoadjust to dbus interace struct.. back to where it was
Carsten Haitzler (Rasterman) [Tue, 15 Jul 2014 08:19:06 +0000 (17:19 +0900)]
adjust to dbus interace struct.. back to where it was

10 years agogenlist - fix a crash.
ChunEon Park [Tue, 15 Jul 2014 03:31:07 +0000 (12:31 +0900)]
genlist - fix a crash.

It allows NULL focused item.
let it null check.

10 years agogenlist: Removed unnecessary calculation.
Shobhit [Tue, 15 Jul 2014 03:15:53 +0000 (12:15 +0900)]
genlist: Removed unnecessary calculation.

Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get()

Test Plan: elementary_test -to "genlist focus"

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev

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

10 years agowidget item: replaced eo_class_name_get call with eo_isa.
Amitesh Singh [Tue, 15 Jul 2014 03:11:51 +0000 (12:11 +0900)]
widget item: replaced eo_class_name_get call with eo_isa.

Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

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

10 years agolist: remove annoying error msg on select
wonguk.jeong [Tue, 15 Jul 2014 03:09:49 +0000 (12:09 +0900)]
list: remove annoying error msg on select

Summary:
on select below message was shown,

ERR<19329>: elm_main.c:1556 elm_object_widget_check() safety check failed: obj == NULL

Test Plan:
1. terminology -> options -> keys -> select item -> check error message
2. elementary_test -> list2 -> select topmost item -> check error message

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

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

10 years agogenlist: remove annoying error message
wonguk.jeong [Tue, 15 Jul 2014 03:07:07 +0000 (12:07 +0900)]
genlist: remove annoying error message

Summary:
content couldn't be always a elm widget.
After checking whether it's elm widget or not, use widget API

Test Plan:
terminology -> options -> font -> select font and check below error message

ERR<25935>:eo lib/eo/eo.c:603 _eo_call_resolve() in elm_widget.eo.c:8: you called func 'elm_obj_widget_focus_get' (213) which is unknown in class 'Edje_Object'.

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

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

10 years agoelm_win: added focused and unfocused smart callback descriptions.
Daniel Juyung Seo [Mon, 14 Jul 2014 17:06:10 +0000 (02:06 +0900)]
elm_win: added focused and unfocused smart callback descriptions.

This was removed by a commit 8519257.
The removal of redundant smart callback call was good but we need to
have these descriptions still.

10 years agotest_win_state: changed internal callback function name and splitted a focus callback...
Daniel Juyung Seo [Mon, 14 Jul 2014 16:05:39 +0000 (01:05 +0900)]
test_win_state: changed internal callback function name and splitted a focus callback for a better focus debug.

10 years agoelm_config: updated color class api documentation.
Daniel Juyung Seo [Mon, 14 Jul 2014 15:27:28 +0000 (00:27 +0900)]
elm_config: updated color class api documentation.

10 years agoupdate according to eolian changes
Daniel Kolesa [Mon, 14 Jul 2014 15:54:20 +0000 (16:54 +0100)]
update according to eolian changes

10 years agoupdate according to eolian type changes
Daniel Kolesa [Mon, 14 Jul 2014 15:26:14 +0000 (16:26 +0100)]
update according to eolian type changes

10 years agoWin: Delete "focused" and "unfocused" signals emission because they duplicate Widgets...
Kateryna Fesyna [Mon, 14 Jul 2014 07:59:48 +0000 (16:59 +0900)]
Win: Delete "focused" and "unfocused" signals emission because they duplicate Widgets signals

Summary:
"focused" and "unfocused" signals are emitted from Win and Widget. This causes
signals duplication when window is unfocused. To avoid this duplication, emission of these
signals is deleted from the Win.

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

Subscribers: reutskiy.v.v

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

10 years agoScroller: Added auto-hide and show features for UP, DOWN , LEFT and RIGHT arrows.
E_counter [Mon, 14 Jul 2014 09:02:10 +0000 (18:02 +0900)]
Scroller: Added auto-hide and show features for UP, DOWN , LEFT and RIGHT arrows.

Summary:
hide UP ARROW, when there is nothing to scroll up; otherwise show UP ARROW.
hide DOWN ARROW, when there is nothing to scroll down; otherwise show DOWN ARROW.
hide LEFT ARROW, when there is nothing to scroll left; otherwise show LEFT ARROW.
hide RIGHT ARROW, when there is nothing to scroll right; otherwise show RIGHT ARROW.

Test Plan:
elementary_test-> scroller
check visibility of vertical-UP and vertical-DOWN arrows, when vertical-scrollbar is at position top, bottom or else-where.
check visibility of horizontal-LEFT and horizontal-RIGHT arrows, when horizontal-scrollbar is at position extreme-left, extreme-right or else-where.

Reviewers: raster, seoz, nirajkr, singh.amitesh

Subscribers: sachin.dev

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

10 years agomove all eo files to new builtin bool type
Daniel Kolesa [Fri, 11 Jul 2014 13:44:47 +0000 (14:44 +0100)]
move all eo files to new builtin bool type

10 years agoelm theme - fix wayland borders to be sized and colored correctly
Carsten Haitzler (Rasterman) [Fri, 11 Jul 2014 13:12:57 +0000 (22:12 +0900)]
elm theme - fix wayland borders to be sized and colored correctly

@fix

10 years agoelm_removed: remove undeprecated apis from the removed info.
Daniel Juyung Seo [Fri, 11 Jul 2014 09:08:41 +0000 (18:08 +0900)]
elm_removed: remove undeprecated apis from the removed info.

10 years agotooltip: corrected the typo in documentation of elm_object_tooltip_show
Amitesh Singh [Fri, 11 Jul 2014 06:14:04 +0000 (15:14 +0900)]
tooltip: corrected the typo in documentation of elm_object_tooltip_show

Summary: @fix

Reviewers: seoz, raster

Subscribers: shobhit, seoz

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

10 years agoatspi: expose elm_check "activate" action through d-bus
Lukasz Stanislawski [Thu, 10 Jul 2014 11:11:28 +0000 (13:11 +0200)]
atspi: expose elm_check "activate" action through d-bus

10 years agoatspi: improve code reusage
Lukasz Stanislawski [Thu, 26 Jun 2014 11:03:33 +0000 (13:03 +0200)]
atspi: improve code reusage

atspi d-bus signals have similar signatures, however use dbus variant type
to encode signal specific data. This patch adds utility function to construct
atspi dbus signal with custom variant data.

10 years agogengrid, list: removed unnecessary condition check.
Daniel Juyung Seo [Wed, 9 Jul 2014 15:46:50 +0000 (00:46 +0900)]
gengrid, list: removed unnecessary condition check.

This is a successive commit of aac6e071e.

10 years agoexamples: use a proper casting for 64 bit system by uintptr_t.
Daniel Juyung Seo [Wed, 9 Jul 2014 15:45:47 +0000 (00:45 +0900)]
examples: use a proper casting for 64 bit system by uintptr_t.

10 years agogenlist: Removed unnecessary condition check.
Shobhit [Wed, 9 Jul 2014 15:39:50 +0000 (00:39 +0900)]
genlist: Removed unnecessary condition check.

Summary:
Removed condition check from _elm_genlist_elm_widget_item_loop_enabled_set()

Reviewers: seoz

CC: sachin.dev
Differential Revision: https://phab.enlightenment.org/D1144

10 years agotest_genlist: removed unnecessary spaces.
Daniel Juyung Seo [Wed, 9 Jul 2014 15:30:48 +0000 (00:30 +0900)]
test_genlist: removed unnecessary spaces.

10 years agogengrid: Added normal reorder type
Amitesh Singh [Wed, 9 Jul 2014 06:09:43 +0000 (15:09 +0900)]
gengrid: Added normal reorder type

Summary:
- Added Elm_Gengrid_Reorder_Type enum
- Added API elm_gengrid_reorder_type_set()
- Implemented the normal reorder type animation
- The old reorder type is changed to ELM_GENGRID_REORDER_TYPE_SWAP.
- ELM_GENGRID_REORDER_TYPE_NORMAL is the default reorder type.

Test Plan:
1. elementary_test->"Gengrid Focus"
2. Enable "Reorder Mode Enable"
3. Move the items by keys

@feature

Reviewers: raster, seoz

CC: seoz, chinmaya061, aryarockstar
Differential Revision: https://phab.enlightenment.org/D813

10 years agoelm_cnp: Break after we found the target we were looking for
Jean-Philippe Andre [Mon, 30 Jun 2014 02:50:56 +0000 (11:50 +0900)]
elm_cnp: Break after we found the target we were looking for

Basic optimization of the search.

10 years agoelm_cnp: Do not request for selection_set when buffer is empty
MinJeong Kim [Tue, 8 Jul 2014 13:45:47 +0000 (09:45 -0400)]
elm_cnp: Do not request for selection_set when buffer is empty

Summary:
When a wayland client requests selection_set, Wayland server doesn't care and doesn't know how long source data is.
so, it cannot ignore request for selection_set about empty buffer.
therefore to avoid copying empty buffer, it need to check length of buffer before request selection_set.

Test Plan:
1. Run "elementray_test -to entry5" with wayland server.
2. Drag text and try to paste.
3. Drag empty area in entry (request for selection_set on empty buffer is rejected)
4. Try to paste (you can see text of step 2).

Reviewers: devilhorns, raster, seoz

CC: gwanglim
Differential Revision: https://phab.enlightenment.org/D1146

10 years agoimage: fix segv in elm_image_file_set()
Yakov Goldberg [Tue, 8 Jul 2014 13:34:23 +0000 (16:34 +0300)]
image: fix segv in elm_image_file_set()

10 years agoupdate according to eolian changes
Daniel Kolesa [Tue, 8 Jul 2014 13:16:04 +0000 (14:16 +0100)]
update according to eolian changes

10 years agofix eldbus based warnings
Carsten Haitzler (Rasterman) [Tue, 8 Jul 2014 03:45:55 +0000 (12:45 +0900)]
fix eldbus based warnings

10 years agoedbus: fix dlopening of the right library.
Philippe Coval [Mon, 7 Jul 2014 17:21:57 +0000 (19:21 +0200)]
edbus: fix dlopening of the right library.

Summary:
Change-Id: I94e3d39286df830ef07ed2bda0ec87fce34cec4a
Bug: T1354
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
hotfix: look for versionned edbus lib

Without EFL application linked with edbus (deprecated DBUS API)
will fail to run and report this log :

  CRI<12610>:dialer dialer/rc.c:442 \
  rc_init() Elementary does not support DBus.

  CRI<12610>:dialer dialer/main.c:166 \
  elm_main() Could not setup remote control via DBus.

Bug: T1354
Change-Id: Id05ba2b5282243ccb566fc7b1ffb4b1e114004b1
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Test Plan: Bug-Tizen: TIVI-3234

Reviewers: cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1116

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agotheme fix - fix disabled check, radio, toolbar with no label or icon
Carsten Haitzler (Rasterman) [Mon, 7 Jul 2014 07:58:00 +0000 (16:58 +0900)]
theme fix - fix disabled check, radio, toolbar with no label or icon

10 years agopanel: add scrollable feature
Jaeun Choi [Mon, 7 Jul 2014 06:08:45 +0000 (15:08 +0900)]
panel: add scrollable feature

This implements scrollable interface in elm_panel so that users can drag open/close panel.
Tap & hold on the edge and panel handler will appear.

Left scrollable panel is implemented in elementary_test > Panel Scrollable.

@feature

10 years agoFix T1289 issue: Elm entry text selection glitch
yinsc [Mon, 7 Jul 2014 03:42:43 +0000 (12:42 +0900)]
Fix T1289 issue: Elm entry text selection glitch

Summary: Fixes T123

Reviewers: zmike, seoz

CC: yinkair
Maniphest Tasks: T123, T1289

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

10 years agoGengrid: In reorder & sd->horizontal mode, the condition must be checked for item_loo...
Chinmaya [Mon, 7 Jul 2014 03:30:21 +0000 (12:30 +0900)]
Gengrid: In reorder & sd->horizontal mode, the condition must be checked for item_loop_enable set or not. Also added a check button to enable reorder mode in gengrid 2.

Summary:
The bug was there when reorder mode and sd->horizontal mode is enabled but item_loop_enable
is not set, then also the loop was occuring with right key event.

Test Plan: elementary_test -to "gengrid 2"

Reviewers: raster, seoz, eagleeye, SanghyeonLee

CC: seoz
Differential Revision: https://phab.enlightenment.org/D1121

10 years agolist/genlist/gengrid/toolbar: removed unused smart data member prev_focused_item.
Amitesh Singh [Mon, 7 Jul 2014 03:20:54 +0000 (12:20 +0900)]
list/genlist/gengrid/toolbar: removed unused smart data member prev_focused_item.

Reviewers: raster, seoz

CC: seoz
Differential Revision: https://phab.enlightenment.org/D1119

10 years agowidget: move some callback infrastructure tu use Eo directly.
Cedric BAIL [Sun, 6 Jul 2014 17:08:56 +0000 (19:08 +0200)]
widget: move some callback infrastructure tu use Eo directly.

This save some serious amount of memory quite easily.

10 years agoelm_web: Remove elm_web.c from the list in POTFILES.in
Ryuan Choi [Sat, 5 Jul 2014 03:29:25 +0000 (12:29 +0900)]
elm_web: Remove elm_web.c from the list in POTFILES.in

Since afb1d4a1e, elm_web.c was removed.

10 years agoelm_web: Drop ewebkit backend (ewebkit2 is only available from now)
Ryuan Choi [Fri, 4 Jul 2014 16:43:43 +0000 (01:43 +0900)]
elm_web: Drop ewebkit backend (ewebkit2 is only available from now)

ewebkit was dropped from webkit.org
(https://bugs.webkit.org/show_bug.cgi?id=134087)

10 years agoatspi: Set roles for elm_web2
Ryuan Choi [Fri, 4 Jul 2014 16:07:06 +0000 (01:07 +0900)]
atspi: Set roles for elm_web2

7f44b9f57 set roles for other widgets except elm_web2

10 years agofileselectior - fix to add explicit req on eio in elementary
Carsten Haitzler (Rasterman) [Fri, 4 Jul 2014 05:29:24 +0000 (14:29 +0900)]
fileselectior - fix to add explicit req on eio in elementary

this adjusts for edje no longer implicitly initting eio (should never
have been depended on anyway)

10 years agotoolbar: fix focus highlight bug in toolbar
WooHyun Jung [Fri, 4 Jul 2014 02:55:21 +0000 (11:55 +0900)]
toolbar: fix focus highlight bug in toolbar

When getting focus_highlight geometry from toolbar, there can be a case
that no item has focus. Then, geometry of toolbar should be refered.

10 years agofocus: when focus_highlight is enabled, it should be shown immediately.
WooHyun Jung [Fri, 4 Jul 2014 02:16:59 +0000 (11:16 +0900)]
focus: when focus_highlight is enabled, it should be shown immediately.

10 years agoctxpopup: Add get_items, get_last_item, get_first_item, get_next_item and get_prev_it...
Michal Jagiello [Thu, 3 Jul 2014 11:05:28 +0000 (13:05 +0200)]
ctxpopup: Add get_items, get_last_item, get_first_item, get_next_item and get_prev_item API

Summary: API to get list of ctxpopup items and give the possibility to iterate the ctxpopup items

Reviewers: stanluk, z.kosinski, Hermet, seoz, raster

CC: Hermet, seoz
Differential Revision: https://phab.enlightenment.org/D1055

10 years agogenlist: focus of genlist item should adjust according to genlist's viewport
Anil Kumar Nahak [Thu, 3 Jul 2014 07:39:41 +0000 (16:39 +0900)]
genlist: focus of genlist item should adjust according to genlist's viewport

Summary: The focus of genlist should adjust its position on resizing(shrinking).

Reviewers: seoz

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

10 years agoupdate README to have right version for vest release!
Carsten Haitzler (Rasterman) [Thu, 3 Jul 2014 05:15:44 +0000 (14:15 +0900)]
update README to have right version for vest release!

10 years ago.gitignore: do not trace build result.
Daniel Juyung Seo [Wed, 2 Jul 2014 17:32:16 +0000 (02:32 +0900)]
.gitignore: do not trace build result.

10 years agoelm_widget: do not need to set the scale to 0.0 if it is already 0.0.
Daniel Juyung Seo [Wed, 2 Jul 2014 17:12:21 +0000 (02:12 +0900)]
elm_widget: do not need to set the scale to 0.0 if it is already 0.0.

10 years agoatspi: unify atspi initialization
Lukasz Stanislawski [Wed, 25 Jun 2014 09:56:36 +0000 (11:56 +0200)]
atspi: unify atspi initialization

commit removes internal elm_atspi_init function and moves atspi_app_object
creation to atspi_bridge.

10 years agoremove edje file changed handling
Carsten Haitzler (Rasterman) [Wed, 2 Jul 2014 02:31:54 +0000 (11:31 +0900)]
remove edje file changed handling

this matches the 8edc879cc28e7f69c110b4b9db6e611856787c6f commit in
efl where edje file changed singals are now gone. this creates nothing
but trouble. please see the efl commit log for details.

10 years agofileselector: Make selected_set actually select the file
Ryuan Choi [Tue, 1 Jul 2014 22:55:53 +0000 (07:55 +0900)]
fileselector: Make selected_set actually select the file

This patch comes from Kai Huuhko.

Added test case for selected_set/get.

@fix