Jaehwan Kim [Tue, 23 Jun 2015 13:56:17 +0000 (22:56 +0900)]
config: fix the flush file path.
@fix
Daniel Zaoui [Tue, 23 Jun 2015 12:58:45 +0000 (15:58 +0300)]
DnD: remove text/uri handling
This type is not a standard type and can be handled as a text/uri-list
of one uri.
@fix
Daniel Zaoui [Tue, 23 Jun 2015 12:57:02 +0000 (15:57 +0300)]
DnD: remove from elm_cnp code specific to elm_entry
The tag insertion has to be done only from elm_entry callback. elm_cnp
is not supposed to know what will be done with the data.
Daniel Zaoui [Tue, 23 Jun 2015 12:55:28 +0000 (15:55 +0300)]
Tests/DnD: fix uri parsing
When no \n is present at the end of the uris list, the function doesn't
return the uri.
woochan lee [Mon, 22 Jun 2015 23:30:21 +0000 (08:30 +0900)]
widget: Add a case that elm_layout is an item view object.
Summary:
The internal API "_elm_widget_item_highlight_in_theme()" look like for list item highlight.
but it can use in another widget which has item view as elm_layout.
In that case, ERR log will be printed.
Reviewers: singh.amitesh, Hermet, woohyun
Differential Revision: https://phab.enlightenment.org/D2736
ChunEon Park [Mon, 22 Jun 2015 12:41:14 +0000 (21:41 +0900)]
list: --printf
Cedric BAIL [Mon, 22 Jun 2015 10:30:11 +0000 (12:30 +0200)]
examples: fix changes in Evas.Canvas3D namespace.
Amitesh Singh [Mon, 22 Jun 2015 10:02:55 +0000 (12:02 +0200)]
elm_genlist: code refractoring of _item_process
Summary:
When item_process is success, then we want to call _item_process_post.
Old code was confusing before.
Reviewers: raster, Hermet, SanghyeonLee
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2739
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Amitesh Singh [Mon, 22 Jun 2015 09:59:21 +0000 (11:59 +0200)]
elm_genlist: reset timer to NULL on cancel only.
Summary: @fix
Reviewers: raster, seoz, SanghyeonLee
Subscribers: sachin.dev, seoz
Differential Revision: https://phab.enlightenment.org/D2730
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Umesh Tanwar [Mon, 22 Jun 2015 09:57:51 +0000 (11:57 +0200)]
elm_scroller: add wheel_disable_set API
Summary:
This API can be used by widgets like Genlist/Gengrid, which implements
Elm_Interface_Scrollable interface.Mouse wheel is used to scroll up and
down on widget.
@feature
Test Plan: elementary_test -> Scroller -> Wheel Disable
Reviewers: raster, Hermet, cedric, SanghyeonLee, singh.amitesh
Subscribers: JackDanielZ, herdsman, cedric, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2715
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Sung-Taek Hong [Mon, 22 Jun 2015 09:55:52 +0000 (11:55 +0200)]
elm_colorselector: fix horiz/vertical padding to be affected by base_scale in edc
Summary:
elm_colorselector get its padding size from data in edc.
However, when calculating the padding size, it does not consider
base_scale of the style from where it gets padding size.
In this commit, the padding size from edc is divided by its
base_scale so that desirable size can be calculated.
@fix
Reviewers: Hermet, woohyun
Subscribers: woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2721
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Prince Kr Dubey [Mon, 22 Jun 2015 09:54:53 +0000 (11:54 +0200)]
elm_genlist: fix highlighted items overlap with group item during scrolling and focus when intersect.
Summary: Highlighted genlist item overlap with group item during scrolling and focus when itersect.
Test Plan:
Run elementary_test.
open Genlist Group.
select one item and try to cross the group item via scrolling.
Highlighted item comes over group item.
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, govi, poornima.srinivasan, shilpasingh
Differential Revision: https://phab.enlightenment.org/D2640
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Prince Kr Dubey [Mon, 22 Jun 2015 09:51:20 +0000 (11:51 +0200)]
genlist: fix Issue "In Tree effect feature, items floates when number of item crosses item block size".
Summary: "In Tree effect feature, during expansion of tree, when total number of items crosses block count, items start floating".
Test Plan: Run elementary_test, open Genlist Tree, keep expanding items untill it crosses number of count 32 (Block count). Resize the window, floting items can be seen.
Reviewers: raster, cedric
Subscribers: shilpasingh, poornima.srinivasan, govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D2627
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Minwoo, Lee [Mon, 22 Jun 2015 09:47:22 +0000 (11:47 +0200)]
elm_entry: modify to not allocate Eina_Rectangle
Summary: modify to not allocate Eina_Rectangle and use it directly on the stack with EINA_RECTANGLE_SET
Reviewers: raster, woohyun, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2737
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Amitesh Singh [Mon, 22 Jun 2015 10:06:21 +0000 (19:06 +0900)]
genlist: fix resize of items when added after elm_genlist_clear().
Summary:
This fixes following issue.
1. Add genlist items
2. Clear genlist by elm_genlist_clear()
3. Append items.
Genlist items are shrinked. This patch fixes that issue.
@fix
Partially resolves: T2367
Reviewers: Hermet, raster, cedric, raoulh, SanghyeonLee
Subscribers: sachin.dev, seoz
Differential Revision: https://phab.enlightenment.org/D2733
Carsten Haitzler (Rasterman) [Mon, 22 Jun 2015 07:49:13 +0000 (16:49 +0900)]
update po's
Daniel Zaoui [Fri, 19 Jun 2015 11:18:18 +0000 (14:18 +0300)]
DnD: fix usage of TARGETS
- TARGETS notifier is specific to CnP and should not be called for DnD
- On DnD (when drag starts) and on CnP, it doesn't make sense that the TARGETS
type are sent to the potential target. Only basic types should be sent.
Carsten Haitzler (Rasterman) [Thu, 18 Jun 2015 11:12:04 +0000 (20:12 +0900)]
elm confiug - remove now useless x11 property handling - donr by files
follow on from
b1c5de0b9aa67b9d5cc4722e9462830beb3af37b,
aa7f859da10ce007a7b945a8703e70161c96146d
Andrii Kroitor [Wed, 17 Jun 2015 13:18:02 +0000 (15:18 +0200)]
colorselector: fix missing style warning
Test Plan:
1. open "elementary_test colorselector"
2. click "all" button
Reviewers: cedric, seoz, Hermet, raster
Differential Revision: https://phab.enlightenment.org/D2635
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
SangHyeon Lee [Wed, 17 Jun 2015 13:14:47 +0000 (15:14 +0200)]
gengrid: remove duplicated focus state recovering.
Summary:
gengrid focus state recovering in item_realize is duplicated.
remove unnecessary lines.
you can find same signal emit codes under line 1018.
Test Plan: test elemetary test gengrid focus highight show correctly after code merged.
Reviewers: raster, Hermet, seoz, jaehwan, cedric
Reviewed By: cedric
Subscribers: singh.amitesh, eagleeye
Differential Revision: https://phab.enlightenment.org/D2656
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Wed, 17 Jun 2015 13:09:13 +0000 (15:09 +0200)]
colorselector: add safety check for NULL pointer from ecore_x_image_new().
Summary:
ecore_x_image_new() API can return NULL.
@fix
Reviewers: raster, woohyun, Hermet, cedric
Differential Revision: https://phab.enlightenment.org/D2667
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Shinwoo Kim [Wed, 17 Jun 2015 13:06:01 +0000 (15:06 +0200)]
notify: fix prevent issue, dereference null return value
Summary: Fix prevent issue: Dereference null return value
Test Plan: Use static analysis tool such as prevent
Reviewers: raster, woohyun, jaehwan, Hermet
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D2669
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Hosang Kim [Wed, 17 Jun 2015 13:02:48 +0000 (15:02 +0200)]
dayselector : add safety check for NULL pointer from _item_find()
Summary:
It could make crash when _item_find() is failed.
CID - 404129
CID - 402467
CID - 398714
CID - 390012
@fix
Reviewers: raster, thiepha, woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2683
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Marcel Hollerbach [Wed, 17 Jun 2015 12:53:37 +0000 (14:53 +0200)]
elm_icon_external: cleanup ERR msg in error case
Summary:
Setting the group without checking it exists causes a errormessage, this
is pretty annoying for people which want to set a standart icon. And
give a better errormessage if the standart setting failed.
Reviewers: raster, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2686
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Hosang Kim [Wed, 17 Jun 2015 12:49:40 +0000 (14:49 +0200)]
atspi_bridge: fix memory leak issue
Summary:
Call eldbus_message_unref to free Eldbus_Message structure.
And delete unused Eldbus_Message variable.
CID-386474
CID-391869
CID-394549
Reviewers: raster, woohyun, CHAN, Hermet, seoz, lukasz.stanislawski, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2690
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vaibhav Gupta [Wed, 17 Jun 2015 12:46:22 +0000 (14:46 +0200)]
test_gengrid: remove EINA_UNUSED for a used argument
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2670
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Anand [Wed, 17 Jun 2015 12:32:03 +0000 (14:32 +0200)]
elm_gen_common: fix typo in Struct variable documentation
Reviewers: Hermet, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2634
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Minwoo, Lee [Wed, 17 Jun 2015 12:25:29 +0000 (14:25 +0200)]
edje_externals: add safety check for NULL pointer
Summary: Dereferencing null pointers in external_signal()
Reviewers: bdilly, raster, woohyun, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2688
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
taehyub [Wed, 17 Jun 2015 12:19:31 +0000 (14:19 +0200)]
app_server: add null check for dbus_state_set/elm_app_server_views_eet_new
Reviewers: Hermet, woohyun, raster, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2705
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vitor Sousa [Wed, 17 Jun 2015 09:17:19 +0000 (10:17 +0100)]
elm_image: Solve clash on the meaning of "animated"
Summary:
Both Elm_Image and its base interface Efl.Image have a property named
"animated".
The meaning for Efl.Image is whether or not the image has animation.
On the other hand, Elm_Image use it to set whether an image, which supports
animation, is to animate itself or not.
Thus Elm_Image have another property (animated_available) to tell whether the
image have animation or not, making it even more confusing.
Renamed the "animated" property of Elm_Image to "animated_enable" to make
the intended meaning clearer.
Also replaced the "animated_available" property with the "animated" property
from the Efl.Image interface, since both refers to the same thing, in order
to reduce the API.
Added implementations of the legacy methods for backward compatibility.
Address the issue:
- Elm image and the image interface clash because of the meaning of "animated".
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/
Reviewers: felipealmeida, tasn
Subscribers: raster
Differential Revision: https://phab.enlightenment.org/D2354
Jaehwan Kim [Wed, 17 Jun 2015 08:51:40 +0000 (17:51 +0900)]
config: fix comment
Jaehwan Kim [Wed, 17 Jun 2015 08:37:01 +0000 (17:37 +0900)]
config: make a config directory, if it is not.
create the config directory to register flush file to eio_monitor.
Carsten Haitzler (Rasterman) [Wed, 17 Jun 2015 07:54:08 +0000 (16:54 +0900)]
fix more elm config file pointer access
again - follow up from changes to config code to fix seg
Carsten Haitzler (Rasterman) [Wed, 17 Jun 2015 07:37:56 +0000 (16:37 +0900)]
elm config files - don't write to file if file handle is null
fixes seg with new file only config for elm
ChunEon Park [Wed, 17 Jun 2015 04:54:42 +0000 (13:54 +0900)]
win: fix bug about engine value.
When application does not have any value of engine,
this app should be launched with elm_config's value.
Signed-Off-By: Wonsik Jung <sidein@samsung.com>
Mike Blumenkrantz [Tue, 16 Jun 2015 21:01:02 +0000 (17:01 -0400)]
win: do not use deferred ecore evas deletion for FAKE wins
these ees will be deleted externally anyway
@fix
Mike Blumenkrantz [Tue, 16 Jun 2015 21:00:44 +0000 (17:00 -0400)]
win: only trigger del trap if win type is not FAKE
@fix
Mike Blumenkrantz [Tue, 16 Jun 2015 20:28:59 +0000 (16:28 -0400)]
theme: migrate all e users of darken_rounded_square to new darken_square image
nearly everything in e is square except for this, which was a holdover from the
b&w theme. the new image looks more coherent with the rest of the square look
image created by me, licensing to match rest of theme images
@feature
Mike Blumenkrantz [Tue, 16 Jun 2015 20:28:27 +0000 (16:28 -0400)]
notification: set fixed on app icon to eliminate edje calc error
Thiep Ha [Tue, 16 Jun 2015 13:41:55 +0000 (14:41 +0100)]
entry: emit changed,user signal when text is pasted or dropped
Summary:
When text is pasted or dropped into entry, the "changed,user" signal
should be emitted, not "changed" signal.
Currently, the "changed" signal is emitted.
This patch fixes this issue.
@fix
Reviewers: herdsman, tasn
Subscribers: tasn
Differential Revision: https://phab.enlightenment.org/D2710
Jaehwan Kim [Tue, 16 Jun 2015 04:52:23 +0000 (13:52 +0900)]
elm_config: remove X dependency.
Summary:
In wayland, elm_config_all_flush doesn't work.
It has X dependency totally.
It uses ecore_file_monitor instead of X property.
Reviewers: Hermet, devilhorns, raster, cedric
Differential Revision: https://phab.enlightenment.org/D2502
Mike Blumenkrantz [Mon, 15 Jun 2015 17:49:18 +0000 (13:49 -0400)]
comp effects: add tooltip visibility effect
Mike Blumenkrantz [Mon, 15 Jun 2015 17:48:48 +0000 (13:48 -0400)]
comp effects: increase size of vertical visibility effect to include shadows
Ji-Youn Park [Mon, 15 Jun 2015 13:38:12 +0000 (22:38 +0900)]
elm_flip: small error handle fix
if we cannot create slice, we had better stop to change slice
Jaehyun Cho [Mon, 15 Jun 2015 06:51:02 +0000 (15:51 +0900)]
index: Add NULL check for malloc memory allocation.
Jaehyun Cho [Mon, 15 Jun 2015 06:39:02 +0000 (15:39 +0900)]
layout: Add NULL check for calloc memory allocation.
Jaehyun Cho [Mon, 15 Jun 2015 06:35:31 +0000 (15:35 +0900)]
layout: Fix to pass correct argument for edje_object_part_unswallow.
Jaehyun Cho [Mon, 15 Jun 2015 05:56:42 +0000 (14:56 +0900)]
layout: Add NULL check for ELM_NEW memory allocation.
Youngbok Shin [Mon, 15 Jun 2015 05:17:32 +0000 (08:17 +0300)]
clock: Add safety check for NULL pointer from localtime() func.
Summary:
localtime() can return NULL when there is an error.
@fix
Reviewers: raster, woohyun, Hermet, JackDanielZ
Subscribers: JackDanielZ
Differential Revision: https://phab.enlightenment.org/D2666
Youngbok Shin [Mon, 15 Jun 2015 05:08:34 +0000 (08:08 +0300)]
cnp: Add safety check for NULL pointer from malloc().
Summary:
It could make crash when malloc is failed.
@fix
Reviewers: raster, woohyun, Hermet, JackDanielZ, thiepha
Subscribers: JackDanielZ
Differential Revision: https://phab.enlightenment.org/D2671
Youngbok Shin [Mon, 15 Jun 2015 05:05:02 +0000 (08:05 +0300)]
cnp: Fix memory leak issue.
Summary: Call efreet_uri_free() API to free Efreet_Uri structure.
Test Plan: None.
Reviewers: raster, cedric, woohyun, Hermet, thiepha, JackDanielZ
Subscribers: JackDanielZ
Differential Revision: https://phab.enlightenment.org/D2655
ChunEon Park [Mon, 15 Jun 2015 04:58:02 +0000 (13:58 +0900)]
calendar: + null check.
ChunEon Park [Mon, 15 Jun 2015 04:39:14 +0000 (13:39 +0900)]
clendar: + null check
gmtime can return NULL vaule.
if so strftime will cause crash.
this patch just prevent that potential situation.
Hosang Kim [Wed, 3 Jun 2015 13:08:38 +0000 (22:08 +0900)]
elm_interface_scrollable : Fix logic about setting EVAS_EVENT_FLAG_ON_HOLD
Summary: Even if scroller is not scrolled, EVAS_EVENT_FLAG_ON_HOLD is set. So clicked event is canceled in Edje.
Test Plan:
On the button in the vertical scroller, click button and move mouse horizontal.
Mouse up on the button, so now button is not clicked
Reviewers: Hermet, CHAN, seoz, jaehwan, woohyun, SanghyeonLee
Differential Revision: https://phab.enlightenment.org/D2550
Daniel Zaoui [Sun, 14 Jun 2015 08:14:02 +0000 (11:14 +0300)]
DnD: fix memory leak
Daniel Zaoui [Sun, 14 Jun 2015 08:12:36 +0000 (11:12 +0300)]
DnD/X11: Fix invalid access to memory
It seems X doesn't send the data with the termination.
Daniel Zaoui [Sun, 14 Jun 2015 06:53:45 +0000 (09:53 +0300)]
DnD/X11: rename notifiers
As the notify functions don't notify anymore, they have to be renamed to
reflect their real job, i.e data preparers before calling user
functions.
Daniel Zaoui [Sat, 13 Jun 2015 17:33:14 +0000 (20:33 +0300)]
DnD/X11: refactor the notifiers
Each data notifier was preparing data and then invoking the user callbacks
for DnD or selection protocols.
Most of the notifiers code was handling the user callbacks invocation
and was the same for all of them.
This patch simplifies the notifiers by moving the user callbacks
invocation into a common place for all the types, i.e into the notify
dispatcher.
The notifiers prototype has been changed to suit the code modifications.
Daniel Zaoui [Sat, 13 Jun 2015 09:22:52 +0000 (12:22 +0300)]
DnD/X11: remove unused function
WooHyun Jung [Sat, 13 Jun 2015 06:45:36 +0000 (15:45 +0900)]
fileselector: add NULL check for memory allocation
Thiep Ha [Tue, 9 Jun 2015 08:09:47 +0000 (17:09 +0900)]
entry: add dnd image handling
When image is dropped into entry, we should insert image to it.
This patch adds image inserting in dropping.
@fix
Thiep Ha [Tue, 9 Jun 2015 08:06:45 +0000 (17:06 +0900)]
Cnp/X11: correct object parameter in datacb
The object parameter in datacb must be the selection request object,
not the selection owner object.
This patch corrects that.
Test case: open two windows with entry, copy text from one entry in
first window, paste to entry in other window.
@fix
Thiep Ha [Tue, 9 Jun 2015 08:04:48 +0000 (17:04 +0900)]
Cnp/X11: move entry-only code in elm_cnp to entry
There is code in elm_cnp.c which is used to paste data to entry widget only.
This can cause error if widget is not entry.
This patch removes that code in elm_cnp.c and adds datacb to entry
to insert content to entry.
@fix
Thiep Ha [Tue, 9 Jun 2015 07:51:13 +0000 (16:51 +0900)]
Dnd/X11: add dnd support for image, uri types
There is no dnd callbacks for image, uri types.
This patch adds dnd callbacks for those types.
@fix
Youngbok Shin [Fri, 12 Jun 2015 08:02:05 +0000 (11:02 +0300)]
cnp: Add safety check for NULL pointer from strdup().
Summary:
It could make crash when strdup() is failed.
CID - 329115
@fix
Reviewers: raster, thiepha, woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2673
Youngbok Shin [Fri, 12 Jun 2015 08:01:55 +0000 (11:01 +0300)]
cnp: Add safety check for NULL pointer from calloc() for anim_icon.
Summary:
It could be failed to allocate memory for Anim_Icon.
CID - 337351
@fix
Reviewers: raster, thiepha, woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2672
Youngbok Shin [Fri, 12 Jun 2015 07:56:22 +0000 (10:56 +0300)]
cnp: Add safety check for NULL pointer from _elm_util_text_to_mkup().
Summary:
_elm_util_text_to_mkup() func could return NULL when malloc is failed internally.
CID - 398441
@fix
Reviewers: raster, thiepha, woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2668
Ji-Youn Park [Fri, 12 Jun 2015 02:16:25 +0000 (11:16 +0900)]
elm_win: fix keygrab bug to use wrong keygrab mode
The code set worng ecore_x_keygrab mode according keygrab mode.
and changed some codes for readablity.
Daniel Kolesa [Thu, 11 Jun 2015 16:13:46 +0000 (17:13 +0100)]
eo: migrate all event docs to new syntax
Mike Blumenkrantz [Thu, 11 Jun 2015 15:39:26 +0000 (11:39 -0400)]
comp effects: add vertical visibility effect
Daniel Kolesa [Thu, 11 Jun 2015 15:39:33 +0000 (16:39 +0100)]
eo: migrate enum docs to new format
Thiep Ha [Thu, 11 Jun 2015 10:05:52 +0000 (12:05 +0200)]
widget: Add null check
Summary: Adding NULL checking when allocate memory.
Reviewers: Hermet, seoz, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2663
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Thiep Ha [Thu, 11 Jun 2015 10:05:10 +0000 (12:05 +0200)]
transit: add NULL check for memory allocation.
Summary: Adding Null checking when allocate memory.
Reviewers: Hermet, seoz
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2662
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
maxerba [Thu, 11 Jun 2015 12:20:06 +0000 (14:20 +0200)]
Updating italian translation
Lukasz Stanislawski [Thu, 11 Jun 2015 08:57:23 +0000 (10:57 +0200)]
list: add atspi SELECTABLE state to elm_list items.
Shinwoo Kim [Tue, 9 Jun 2015 13:05:58 +0000 (14:05 +0100)]
[layout] support mirrored set for layout which is using elm_layout_file_set()
Summary: mirroed mode does not work, if layout uses elm_layout_file_set().
Test Plan:
the following is test code.
[test.edc]
collections {
group {
name: "layout/test";
parts {
part {
name: "bg";
type: RECT;
description {
state: "default" 0.0;
color: 255 255 0 100;
}
}
part {
name: "test.rect";
type: RECT;
description {
state: "default" 0.0;
color: 255 0 0 255;
rel1.to: bg;
rel1.relative: 0.2 0.1;
rel2.to: bg;
rel2.relative: 0.5 0.2;
}
}
} /* parts */
} /* group */
} /* collections */
[test.c]
//Compile with:
//gcc -g test.c -o test `pkg-config --cflags --libs elementary`
#include <Elementary.h>
#include <Ecore_X.h>
static void
_bt_click(void *data, Evas_Object *obj, void *event_info)
{
Eina_Bool mirrored;
Evas_Object *layout;
layout = data;
mirrored = elm_config_mirrored_get();
mirrored = !mirrored;
printf("mirred: %d\n", mirrored);
elm_config_mirrored_set(mirrored);
}
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *box, *layout, *bt, *check;
char buf[PATH_MAX];
elm_app_info_set(elm_main, "elementary", "./test.edj");
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_add(NULL, "Layout", ELM_WIN_BASIC);
elm_win_autodel_set(win, EINA_TRUE);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, box);
evas_object_show(box);
// Adding layout and filling it with widgets
layout = elm_layout_add(win);
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
snprintf(buf, sizeof(buf), "./test.edj");
elm_layout_file_set(layout, buf, "layout/test");
elm_box_pack_end(box, layout);
evas_object_show(layout);
bt = elm_button_add(win);
elm_object_text_set(bt, "mirrored");
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_smart_callback_add(bt, "clicked", _bt_click, layout);
elm_box_pack_end(box, bt);
evas_object_show(bt);
check = elm_check_add(win);
elm_object_text_set(check, "test");
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(box, check);
evas_object_show(check);
evas_object_resize(win, 500, 500);
evas_object_show(win);
elm_run();
elm_shutdown();
return 0;
}
ELM_MAIN()
Reviewers: seoz, raster, tasn, Hermet
Subscribers: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D2142
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:43:38 +0000 (16:43 +0900)]
fix list item mode change on elm list
@fix
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:25:24 +0000 (16:25 +0900)]
elm list - theme - make compress moder work again
someone.. somewhere along the way.. likely a long time ago.. broke
compress mode. likely the addition of the ellipsis value as an
ellipsis position or something related to that broke compatibility,
as this used to work. be that as it may... finding out just where is
virtually impossible, so fix it the simpler way - add elipsis values
Mike Blumenkrantz [Mon, 8 Jun 2015 18:29:04 +0000 (14:29 -0400)]
pager16: add signals for toggling content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 18:26:15 +0000 (14:26 -0400)]
shelf: use spacer for content sizing, toggle content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 16:35:54 +0000 (12:35 -0400)]
shelf: use constant rects for eventing
Stefan Schmidt [Mon, 8 Jun 2015 15:20:45 +0000 (17:20 +0200)]
test_win_keygrab: Better use strncpy when copying into fixed size buffer.
We should never copy more than PATH_MAX.
CID: 1298016
Carsten Haitzler (Rasterman) [Sun, 7 Jun 2015 02:22:31 +0000 (11:22 +0900)]
elm theme - toolbar - adjust padding for the toolbar to not look so bad
therw was always a small 2 pixel padding inside the toolbar. it just
looks bad for toolbar so expand out to boundary of toolbar
Lukasz Stanislawski [Fri, 5 Jun 2015 13:59:46 +0000 (15:59 +0200)]
atspi: fix popup role and signal emission
Amitesh Singh [Thu, 4 Jun 2015 09:25:25 +0000 (10:25 +0100)]
tooltip: fix tooltip multi line text issue
Summary:
This is fixed by removing wrap=word from tooltip style.
Resolves: T2034
@fix
Test Plan:
1. elementary_test -> tooltip
2. click "unlock tooltip visibility"
3. check tooltip text. full text is not visible.
Reviewers: seoz, raster, Hermet, cedric, tasn
Reviewed By: tasn
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D2606
Lukasz Stanislawski [Wed, 3 Jun 2015 15:36:42 +0000 (17:36 +0200)]
entry: improve at-spi2 accessibility support
* return guide text instead of content
* mask passwords
* set proper at-spi roles when entry enables password mode.
Lukasz Stanislawski [Wed, 3 Jun 2015 14:58:23 +0000 (16:58 +0200)]
atspi: fix signal name
taehyub [Wed, 3 Jun 2015 12:30:49 +0000 (21:30 +0900)]
interface scrollerable: modify the loop_v condition in _elm_scroll_momentum_animator() function
Summary:
change the 'sid->loop_v' condition to '!sid->loop_v' to delete momentum animator
when the vertical scroller reached the end of the content
@fix
Reviewers: raster, Hermet, woohyun
Subscribers: CHAN
Differential Revision: https://phab.enlightenment.org/D2609
Vaibhav Gupta [Wed, 3 Jun 2015 12:19:32 +0000 (21:19 +0900)]
Gengrid: Fix typo in API Documentation.
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2619
Vaibhav Gupta [Wed, 3 Jun 2015 12:17:49 +0000 (21:17 +0900)]
Genlist: Fix typo in API Documentation
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2620
shilpa.singh [Wed, 3 Jun 2015 09:41:13 +0000 (10:41 +0100)]
Elm: Add context,open signal in elm_entry.
Summary:
When context,open signal is sent from elm_entry before showing context
menu, dynamic addition of context menu items to entry becomes easier.
@feature
Test Plan:
Run elementary_test
Launch Entry Scrolled test
Right Click on Multiline Markup entry
Reviewers: tasn
Reviewed By: tasn
Subscribers: subodh6129, poornima.srinivasan
Differential Revision: https://phab.enlightenment.org/D2580
Jaehyun Cho [Tue, 2 Jun 2015 10:25:39 +0000 (19:25 +0900)]
examples: Replace setenv() with elm_config_accel_preference_set().
Replace environment value set with elm_config_accel_preference_set.
Jaehyun Cho [Tue, 2 Jun 2015 07:43:20 +0000 (16:43 +0900)]
examples: Replace preferred engine "opengl_x11" with accel preference "3d".
Replace preferred engine "opengl_x11" with accel preference "3d".
Daniel Zaoui [Tue, 2 Jun 2015 05:46:55 +0000 (08:46 +0300)]
Focus: add and fix comments
WooHyun Jung [Tue, 2 Jun 2015 04:48:09 +0000 (13:48 +0900)]
missed from prvious commit
WooHyun Jung [Tue, 2 Jun 2015 04:42:00 +0000 (13:42 +0900)]
elm_focus: added new focus move policy and elm_object_focus_move_policy_set/get
New focus move policy, ELM_FOCUS_MOVE_POLICY_KEY_ONLY, is added.
If you set this policy as base focus move policy, objects cannot steal
focus by using mouse click or mouse in. Only keyboard input (such as Left,
Right, Up, Down, ...) can make focus be moved.
Additaionally, an object can have its own focus move policy by using
elm_object_focus_move_policy_set API.
@feature
Tom Hacohen [Mon, 1 Jun 2015 14:01:57 +0000 (15:01 +0100)]
Elm widget: Fix some Eolian warnings.
ChunEon Park [Fri, 29 May 2015 03:32:02 +0000 (12:32 +0900)]
Revert "Spinner: Add changed callback call when spinner value set."
This reverts commit
8278dff6a742c391f7c04c3de1033574d818dbb6.
This is not good for scenarios and will break the compatibility.
Thanks to David for reporting.
Mike Blumenkrantz [Fri, 29 May 2015 01:34:25 +0000 (21:34 -0400)]
tooltip: fix positioning when tooltip is affixed to a window object
@fix
Mike Blumenkrantz [Thu, 28 May 2015 19:35:35 +0000 (15:35 -0400)]
glview: preserved changed state when altering render mode
fixes the case where glview is marked changed and then the render policy
is modified prior to the render callback executing
@fix