platform/upstream/elementary.git
9 years agorelease: Update NEWS and bump version for 1.13.0-alpha1 release v1.13.0-alpha1
Stefan Schmidt [Mon, 12 Jan 2015 13:11:43 +0000 (14:11 +0100)]
release: Update NEWS and bump version for 1.13.0-alpha1 release

9 years agoElm win: Fix added internal parameter to the win constructor.
Tom Hacohen [Mon, 12 Jan 2015 10:13:34 +0000 (10:13 +0000)]
Elm win: Fix added internal parameter to the win constructor.

Internal hacks should not affect user facing API. This commit adds a new
API to do the internal hack. This is still bad, but it's much less than
what was there before.

This fixes the main issue introduced by commit:
63a5cdf0f8516c16a62233da0c2af0e10a13264b

9 years agoElm win: Fix elm_win_fake()'s name to follow conventions.
Tom Hacohen [Mon, 12 Jan 2015 10:13:00 +0000 (10:13 +0000)]
Elm win: Fix elm_win_fake()'s name to follow conventions.

9 years agoDnD: fix callbacks deletion for inline windows.
Daniel Zaoui [Thu, 8 Jan 2015 09:54:04 +0000 (11:54 +0200)]
DnD: fix callbacks deletion for inline windows.

During deletion of a window, widgets considered as droppable targets
have to remove their DnD callbacks. To achieve this, elm_drop_target_del
is called from the DEL callback (destructor). This function has to
determine if X11 or Wayland is used. Since the parent is already unknown
at this stage, only checking the engine name can give this
information.
On a regular window, the engine name is related to the target display.

The problem happens when an inline window is used. The engine is a
buffer and no information is given regarding the target display.

The patch fixes it by checking the nature of the Ecore Evas parents. It
supports nested windows (inline inside inline... inside XWin).

@fix

9 years agoelm_colorselector: Fixed to make palette_box have proper height
Jee-Yong Um [Mon, 12 Jan 2015 04:36:55 +0000 (13:36 +0900)]
elm_colorselector: Fixed to make palette_box have proper height

Summary:
palette_box had stretched height exceeding its items size.
Now it will have proper height fitting to own items.

Reviewers: Hermet, Jaehyun, raster

Reviewed By: raster

Subscribers: raster, Hermet

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

9 years agoelm - fix build problem with examples - elocation api
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 03:08:46 +0000 (12:08 +0900)]
elm - fix build problem with examples - elocation api

this fixes build of location_example_01.c as per fix in D1863 but done
properly so people can't use elm  elocation unless they enable beta apis

9 years agoScroller : Fix elm_scroller_last_page_get API wrong return value
VBS [Mon, 12 Jan 2015 02:51:41 +0000 (11:51 +0900)]
Scroller : Fix elm_scroller_last_page_get API wrong return value

Summary:
When first page is last page, elm_scroller_last_page_get need to return 0.
         But if pagesize is bigger then current content height or width, value will be returned -1.
         So fix this cases to return 0.

Test Plan: If set elm_scroller_page_set bigger then current content size, then issue is occurred.

Reviewers: seoz, jaehwan, raster

Reviewed By: raster

Subscribers: eagleeye

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

9 years agoelm - elm image orientation api fix - major bug in implementation
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 02:28:13 +0000 (11:28 +0900)]
elm - elm image orientation api fix - major bug in implementation

@fix

The elm image orient_set api looks like it is a state, and it is
documented to SET the orietnation, but the code actually DOEs that
orientation when you set it. so docs and api name didnt match
functionality at all. this was bad an an oversight. you didn't notice
until you set orientation multiple times to an image. this fixes the
implementation to be as documented - a state that is applied and
remains that way until set to something else. setting to the same
orientation has no efect as with color, size, etc. etc. in evas.

you could look on this as an api break, but then either the docs
change AND api name changes to match the code, or code changes to
match the docs. we don't keep bug compatibility in efl and in this
case i'm making the call to break the behavior of a  function as it
was broken already with respect to name and docs.

9 years agogenlist: recommit 1879cc39258c63c24f0abcff56558b1f1b60167a with correction.
ChunEon Park [Mon, 12 Jan 2015 00:58:35 +0000 (09:58 +0900)]
genlist: recommit 1879cc39258c63c24f0abcff56558b1f1b60167a with correction.

9 years agoelm_table now supports alignment
Mike Blumenkrantz [Sun, 11 Jan 2015 23:17:19 +0000 (18:17 -0500)]
elm_table now supports alignment

9 years agofake win should not perform widget focus setting on canvas focus-in
Mike Blumenkrantz [Sun, 11 Jan 2015 20:18:02 +0000 (15:18 -0500)]
fake win should not perform widget focus setting on canvas focus-in

9 years agoRevert "genlist: use eina bool"
Yakov Goldberg [Sun, 11 Jan 2015 14:32:42 +0000 (16:32 +0200)]
Revert "genlist: use eina bool"

  This reverts commit 1879cc39258c63c24f0abcff56558b1f1b60167a.

  Hermet, please check this commit it makes Fileselector crash,
  looks like you inverted the values: 1 should be EINA_TRUE.
  I recommend you to use Exactness to run all the tests automatically.

9 years agogenlist: remove unnecessary null check.
ChunEon Park [Sat, 10 Jan 2015 08:47:14 +0000 (17:47 +0900)]
genlist: remove unnecessary null check.

9 years agogenlist: revert 6f177e5db01553276058235a81cbfcc9b2cd4e23
ChunEon Park [Sat, 10 Jan 2015 08:27:48 +0000 (17:27 +0900)]
genlist: revert 6f177e5db01553276058235a81cbfcc9b2cd4e23

this broke decoration item text. reverted.

9 years agogenlist: send decoration active signal to view item.
ChunEon Park [Sat, 10 Jan 2015 07:58:45 +0000 (16:58 +0900)]
genlist: send decoration active signal to view item.

emit signal to view item to do something additional.

9 years agogenlist: fix regression bug. (T1986)
ChunEon Park [Sat, 10 Jan 2015 07:44:38 +0000 (16:44 +0900)]
genlist: fix regression bug. (T1986)

newly added in 2955ebc5dd01fbfb5a3286b724c8a40915864ad8

9 years agoELM_WIN_FAKE types should allow focus callbacks on windows
Mike Blumenkrantz [Sat, 10 Jan 2015 06:36:27 +0000 (01:36 -0500)]
ELM_WIN_FAKE types should allow focus callbacks on windows

9 years agoentry now finds its window object more effectively for cnp init
Mike Blumenkrantz [Sat, 10 Jan 2015 05:45:22 +0000 (00:45 -0500)]
entry now finds its window object more effectively for cnp init

9 years ago+elm_win_fake(), ELM_WIN_FAKE type
Mike Blumenkrantz [Sat, 10 Jan 2015 05:33:55 +0000 (00:33 -0500)]
+elm_win_fake(), ELM_WIN_FAKE type

this is a giant hack to provide widget parenting in e. do not use this function, do not use this type, do not even read the related documentation.

@feature

9 years agogenlist: code refactoring.
ChunEon Park [Sat, 10 Jan 2015 05:14:57 +0000 (14:14 +0900)]
genlist: code refactoring.

clean up decorate_item_realize() function.

use macro and remove old debug code.
no actual logical change.

9 years agogenlist: clean up genlist_smart_del() func.
ChunEon Park [Fri, 9 Jan 2015 14:27:33 +0000 (23:27 +0900)]
genlist: clean up genlist_smart_del() func.

removed unnecessary calls.

9 years agowidget: remove redundant internal macros
ChunEon Park [Fri, 9 Jan 2015 14:03:37 +0000 (23:03 +0900)]
widget: remove redundant internal macros

we don't need these macros anymore since eo has introduced.

9 years agoDo not call ecore_x_init() when not using X display.
Jean Guyomarc'h [Fri, 9 Jan 2015 05:41:04 +0000 (14:41 +0900)]
Do not call ecore_x_init() when not using X display.

Summary:
On some systems (e.g. OS X), both Apple's windows manager and X11 can cohabit,
therefore we need to check for the DISPLAY environment variable only when ELM_DISPLAY
is not specified.

Reviewers: cedric, devilhorns, seoz, raster

Reviewed By: raster

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

9 years agoclient frame client clip should be relative to client during clip, not border
Mike Blumenkrantz [Thu, 8 Jan 2015 23:18:25 +0000 (18:18 -0500)]
client frame client clip should be relative to client during clip, not border

ref T1930

9 years agogenlist: if the item was selected, then skip item_select() procedure.
ChunEon Park [Thu, 8 Jan 2015 14:58:11 +0000 (23:58 +0900)]
genlist: if the item was selected, then skip item_select() procedure.

9 years agogenlist: simple code clean up
ChunEon Park [Thu, 8 Jan 2015 14:54:37 +0000 (23:54 +0900)]
genlist: simple code clean up

no logic change.

9 years agogenlist: use eina bool
ChunEon Park [Thu, 8 Jan 2015 14:41:29 +0000 (23:41 +0900)]
genlist: use eina bool

9 years agogenilst: descriptive comment++
ChunEon Park [Thu, 8 Jan 2015 14:37:06 +0000 (23:37 +0900)]
genilst: descriptive comment++

9 years agogenlist: remove internal callback usage.
ChunEon Park [Thu, 8 Jan 2015 14:23:44 +0000 (23:23 +0900)]
genlist: remove internal callback usage.

there were multiple ports for item procedures.
one port is enough.

9 years agogenilst: get rid of lazy deletion.
ChunEon Park [Thu, 8 Jan 2015 14:03:52 +0000 (23:03 +0900)]
genilst: get rid of lazy deletion.

delete genlist item directly.
instead, remove the bunch of code that was related to lazy deletion.

we can success, if we clean up the resources and callback calls properly.
here i only found item focus callback that (may) required the lazy deletion.

9 years agotheme: Add newly added icons to EXTRA_DIST to make sure they end up in the tarball
Stefan Schmidt [Thu, 8 Jan 2015 12:50:17 +0000 (13:50 +0100)]
theme: Add newly added icons to EXTRA_DIST to make sure they end up in the tarball

We need to list the icons here to let autotools know we want them int the release
tarballs.

9 years agoRevert "win INLINE_IMAGE test now crashes as expected when trying to use it in a...
Daniel Zaoui [Thu, 8 Jan 2015 12:05:13 +0000 (14:05 +0200)]
Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"

This reverts commit fd71874024d14e5374aef93eae7d4cfbc0ea4521.

As the commit message says, the test crashes now. The ticket 1973 is
related to that issue.
Now, I understand there could be a bug inside inline stuff but it doesn't
mean that you have to push it and screw up all the test. You could just
attach a patch to the ticket and that's all folks!

9 years agogenlist: send signal to deco_all_view additionally.
ChunEon Park [Thu, 8 Jan 2015 10:50:52 +0000 (19:50 +0900)]
genlist: send signal to deco_all_view additionally.

9 years agogenlist: +warning
ChunEon Park [Thu, 8 Jan 2015 10:49:39 +0000 (19:49 +0900)]
genlist: +warning

9 years agogenlist: make up lack of behaviors in item_disable
ChunEon Park [Thu, 8 Jan 2015 10:47:14 +0000 (19:47 +0900)]
genlist: make up lack of behaviors in item_disable

9 years agogenlist: replace to internal call
ChunEon Park [Thu, 8 Jan 2015 10:43:57 +0000 (19:43 +0900)]
genlist: replace to internal call

9 years agoelm_win: Fixed the issue of updating ecore_wl_window location
vivek [Thu, 8 Jan 2015 10:46:52 +0000 (19:46 +0900)]
elm_win: Fixed the issue of updating ecore_wl_window location

Summary:
@Fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

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

9 years agoGengrid: fix gengrid reorder animation bug
VBS [Thu, 8 Jan 2015 10:36:19 +0000 (19:36 +0900)]
Gengrid: fix gengrid reorder animation bug

Summary: When gengrid reordering by thumb scroll, some items disapear on screan.

Test Plan:
1. Enabled thumb scroll in elm config
           2. Launch gengrid test in elementary_test
           3. Check reorder mode enabled
           4. Try to move reordering item to upon or lower area by thumb scrolling,
              items disapear.

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: bluezery

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

9 years ago[spinner] use strncmp, not strcmp to support styles starting with vertical
Shinwoo Kim [Thu, 8 Jan 2015 09:54:30 +0000 (18:54 +0900)]
[spinner] use strncmp, not strcmp to support styles starting with vertical

Summary: Use strncpm, not strcmp to support styles starting with vertical

Test Plan: Define spinner style which has 'vertcial' as a prefix

Reviewers: raster, cedric, seoz, woohyun, jaehwan, Hermet, jpeg

Subscribers: seoz

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

9 years agogenlist: +parent validation check
ChunEon Park [Thu, 8 Jan 2015 09:10:12 +0000 (18:10 +0900)]
genlist: +parent validation check

9 years agogenlist: code refactoring.
ChunEon Park [Thu, 8 Jan 2015 08:53:53 +0000 (17:53 +0900)]
genlist: code refactoring.

there are 2 variables that has same purpose.
cut off one dependency.

9 years agoelm_widget: elm_object_disabled_set API fix
shilpa.singh [Thu, 8 Jan 2015 07:06:34 +0000 (16:06 +0900)]
elm_widget: elm_object_disabled_set API fix

Summary:
When elm_object_disabled_set API is called on any widget, All the
subobjects of the widget also has to be disabled issue fix.
@fix

Test Plan:
Call the API elm_object_disabled_set on any container widget like box,
layout etc:-, fix can be tested with test_box.c and test_layout.c test
codes.

Reviewers: Hermet, seoz, raster

Subscribers: govi, rajeshps

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

9 years agoelm_image: Fixed to have exact size using elm_image_fill_outside_set()
Jee-Yong Um [Thu, 8 Jan 2015 06:47:24 +0000 (15:47 +0900)]
elm_image: Fixed to have exact size using elm_image_fill_outside_set()

Summary:
There was a problem that image is stretched over its size
when elm_image_fill_outside_set() is applied.
This patch fixed that.

@fix

Reviewers: Hermet

Subscribers: Hermet

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

9 years agogenlist: fix crash issue.
ChunEon Park [Thu, 8 Jan 2015 02:13:02 +0000 (11:13 +0900)]
genlist: fix crash issue.

"selected" list has the eo list, not elm_gen_item.

this is side effect caused while on refactoring genlist.

9 years agoelm_font: Fixed resource leak in function elm_font_available_hash_add
Nibha Sharma [Thu, 8 Jan 2015 01:46:05 +0000 (10:46 +0900)]
elm_font: Fixed resource leak in function elm_font_available_hash_add

Summary: @Fix

Reviewers: raster, singh.amitesh, seoz, kimcinoo, Hermet

Reviewed By: Hermet

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

9 years agotheme: fix misprint in popup style alias name
ChunEon Park [Thu, 8 Jan 2015 01:34:12 +0000 (10:34 +0900)]
theme: fix misprint in popup style alias name

@fix

Reviewers: cedric, raster, seoz

Subscribers: reutskiy.v.v

Projects: #elementary

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

9 years agoelm filesel - fix eio access of widget data after de in eio threads
Carsten Haitzler (Rasterman) [Wed, 7 Jan 2015 10:33:27 +0000 (19:33 +0900)]
elm filesel - fix eio access of widget data after de in eio threads

@fix

9 years agogenlist: add more arguments validation checks
ChunEon Park [Wed, 7 Jan 2015 09:11:51 +0000 (18:11 +0900)]
genlist: add more arguments validation checks

9 years agoelm progressbar - fix invalid access to freed units string
Carsten Haitzler (Rasterman) [Wed, 7 Jan 2015 07:49:08 +0000 (16:49 +0900)]
elm progressbar - fix invalid access to freed units string

@fix

9 years agofileselector: added a search icon
Marcel Hollerbach [Wed, 7 Jan 2015 06:17:46 +0000 (15:17 +0900)]
fileselector: added a search icon

Summary:
fileselector: redirect keystrokes to the searchbar

Keystrokes like a-z A-Z 0-9 are redirected to the searchbar, so you dont
need to click arround to search files in the fileselector.

The search icon is from ApB (Apostolos B.), thx for that! :)

@feature Improved the searchbar

Reviewers: raster, seoz

Subscribers: ryuan.choi, cedric, seoz

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

Conflicts:
src/lib/elc_fileselector.c

9 years agogenlist: + parent validation check
ChunEon Park [Wed, 7 Jan 2015 06:49:19 +0000 (15:49 +0900)]
genlist: + parent validation check

9 years agogenlist: code refactoring.
ChunEon Park [Wed, 7 Jan 2015 06:20:45 +0000 (15:20 +0900)]
genlist: code refactoring.

type check than boolean(to be removed)

9 years agogenlist: use simple macro
ChunEon Park [Wed, 7 Jan 2015 06:18:01 +0000 (15:18 +0900)]
genlist: use simple macro

9 years agogenlist: null check++
ChunEon Park [Wed, 7 Jan 2015 05:39:34 +0000 (14:39 +0900)]
genlist: null check++

9 years agogenlist: clean up missing resources in genlist_clear()
ChunEon Park [Wed, 7 Jan 2015 05:38:25 +0000 (14:38 +0900)]
genlist: clean up missing resources in genlist_clear()

9 years agogenlist: cancel multi selected items.
ChunEon Park [Wed, 7 Jan 2015 05:10:18 +0000 (14:10 +0900)]
genlist: cancel multi selected items.

cancel multi selected items if the multi-select mode is canceled.

@fix

9 years agocolorselector: memory leak fix in _color_bars_add
ChunEon Park [Wed, 7 Jan 2015 02:42:08 +0000 (11:42 +0900)]
colorselector: memory leak fix  in _color_bars_add

Summary:
this function is called at least twice: in _smart_add and every time _theme_apply is called.
so we need either correctly free sd->cb_data or reuse it

@fix

Reviewers: seoz, cedric, raster, Hermet

Subscribers: reutskiy.v.v

Projects: #elementary

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

9 years agoelm_segment_control: Fix elm_object_item_text_set bug.
Nak-Gyeong Kim [Wed, 7 Jan 2015 02:22:07 +0000 (11:22 +0900)]
elm_segment_control: Fix elm_object_item_text_set bug.

Summary:
Cause : When part name is NULL, edje_object_part_text_escaped_set is not called.
Measure : Add code for each conditions.

@fix

Reviewers: Hermet

Subscribers: Hermet

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

9 years agoelm_diskselector.c: idle enterer add condition changed.
woochan lee [Wed, 7 Jan 2015 02:16:38 +0000 (11:16 +0900)]
elm_diskselector.c: idle enterer add condition changed.

Summary:
The idle enterer added even after deleted sd for diskselector.
it makes crash.

@fix

Test Plan:
1. Run elementary_test
2. Execution diskselector.
3. Close diskselector sample window.
4. Crash occured.

Reviewers: Hermet, seoz, Jaehyun

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

9 years agowin INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless...
Mike Blumenkrantz [Tue, 6 Jan 2015 21:53:59 +0000 (16:53 -0500)]
win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner

ref T1973

9 years agoelm_image now inherits edje signal emit
Mike Blumenkrantz [Tue, 6 Jan 2015 20:19:00 +0000 (15:19 -0500)]
elm_image now inherits edje signal emit

@feature

9 years agothumb: Make sure to stop pulse animation on thumbs that failed to generate
Stephen Houston [Tue, 6 Jan 2015 19:49:55 +0000 (13:49 -0600)]
thumb: Make sure to stop pulse animation on thumbs that failed to generate

9 years agogenlist: refactor code.
ChunEon Park [Tue, 6 Jan 2015 11:17:03 +0000 (20:17 +0900)]
genlist: refactor code.

select/unselect items by using common select function.

9 years agotheme - more efm icons from appb
Carsten Haitzler (Rasterman) [Tue, 6 Jan 2015 09:48:50 +0000 (18:48 +0900)]
theme - more efm icons from appb

fixes T1582

9 years agogenlist: use macro as possible.
ChunEon Park [Tue, 6 Jan 2015 06:50:30 +0000 (15:50 +0900)]
genlist: use macro as possible.

9 years agogelnist: unswallow makes sense. not smart member del.
ChunEon Park [Tue, 6 Jan 2015 06:46:35 +0000 (15:46 +0900)]
gelnist: unswallow makes sense. not smart member del.

9 years agoelementary: Fix issue with event data causing an invalid free
Chris Michael [Mon, 5 Jan 2015 18:48:45 +0000 (13:48 -0500)]
elementary: Fix issue with event data causing an invalid free

Summary: Since we end up calling free on the event->data parameter
after a drop is completed, we should actually be allocating a string
for this data (to be free'd later). This also fixes an issue where the
event length was not being set.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Fix return values to use Eina_Bool
Chris Michael [Mon, 5 Jan 2015 17:17:03 +0000 (12:17 -0500)]
elementary: Fix return values to use Eina_Bool

Summary: This function is expecting Eina_Bool as the return value, not
ints so let's use EINA_FALSE here.

NB: this just fixes a copy/paste issue

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Fix DnD to work again in wayland
Chris Michael [Mon, 5 Jan 2015 17:05:50 +0000 (12:05 -0500)]
elementary: Fix DnD to work again in wayland

Summary: In order for ecore_wl to start a drag, we need to send the
parent window of the object being dragged. Previous code was not
getting the parent window properly.

NB: This patch also fixes an issue where the data being sent to the
drop callback was being incorrectly sent.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agogenlist: keep the item class as given argument.
ChunEon Park [Mon, 5 Jan 2015 13:17:12 +0000 (22:17 +0900)]
genlist: keep the item class as given argument.

9 years agogenlist: Fix genlist index get bug
ChunEon Park [Mon, 5 Jan 2015 11:43:58 +0000 (20:43 +0900)]
genlist: Fix genlist index get bug

Because not all item block have "max_items_per_block" number of items in it's block.
So the calculation is not correct when items are added & removed in each block.

Anyhow, we need more efficient way for this API because genlist uses inlinst.

9 years agogenlist: add some comment in code.
ChunEon Park [Mon, 5 Jan 2015 11:21:26 +0000 (20:21 +0900)]
genlist: add some comment in code.

9 years agogenlist: use macro as possible.
ChunEon Park [Mon, 5 Jan 2015 06:56:27 +0000 (15:56 +0900)]
genlist: use macro as possible.

9 years agogenlist: use ELM_NEW
ChunEon Park [Mon, 5 Jan 2015 06:55:39 +0000 (15:55 +0900)]
genlist: use ELM_NEW

9 years agogenilst: unselect items if the genlist select mode is display only or none.
ChunEon Park [Mon, 5 Jan 2015 06:42:22 +0000 (15:42 +0900)]
genilst: unselect items if the genlist select mode is display only or none.

make it behavior same with elm_genlist_item_select_mode_set()

@fix

9 years agogenlist: unselect item if the select mode is display only or none.
ChunEon Park [Mon, 5 Jan 2015 06:37:41 +0000 (15:37 +0900)]
genlist: unselect item if the select mode is display only or none.

@fix

9 years agoggenlist: code refactoring.
ChunEon Park [Mon, 5 Jan 2015 06:03:37 +0000 (15:03 +0900)]
ggenlist: code refactoring.

don't do anything if same mode is applied.

9 years agoImprove win dialog test to also include a test for standard_win
Dave Andreoli [Sun, 4 Jan 2015 14:38:37 +0000 (15:38 +0100)]
Improve win dialog test to also include a test for standard_win

9 years agoElm_Entry: Fix dropped text data insertion
Daniel Hirt [Sun, 4 Jan 2015 11:54:03 +0000 (13:54 +0200)]
Elm_Entry: Fix dropped text data insertion

Fixes bad drag&drop into entry widgets, since the drop callback
assumed that the dropped text ends with a NULL character.

How to reproduce:
1. Open 'elementary_test -to Entry'
2. Open some application (e.g. Firefox)
3. Select some (preferably short) text, and drag&drop it to the entry
widget. This sometimes pastes additional corrupted text (better try
with a 1-3 characters text).

@fix

9 years agoAdded the elm_win_util_dialog_add() API function
Dave Andreoli [Sat, 3 Jan 2015 13:13:35 +0000 (14:13 +0100)]
Added the elm_win_util_dialog_add() API function

This new @feature is just a convenient way to create dialogs, It
mimic the elm_win_util_standard_add() function but crete a
standard dialog, with background and the parent set.

WinDialog test changed to use the new function.

9 years agoIcon: added documentation for the new fdo icon names
Dave Andreoli [Sat, 3 Jan 2015 11:49:08 +0000 (12:49 +0100)]
Icon: added documentation for the new fdo icon names

9 years agogenlist: remove useless deco texts.
ChunEon Park [Fri, 2 Jan 2015 11:18:24 +0000 (20:18 +0900)]
genlist: remove useless deco texts.

9 years agogenlist: + null check
ChunEon Park [Fri, 2 Jan 2015 11:04:55 +0000 (20:04 +0900)]
genlist: + null check

9 years agogenlist: code refactoring
ChunEon Park [Fri, 2 Jan 2015 10:59:39 +0000 (19:59 +0900)]
genlist: code refactoring

refactor _item_content_realize() prototype to keep the consistency with state,text_realize()

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 10:45:48 +0000 (19:45 +0900)]
genlist: code refactoring.

apply facade at _view_inflate() for simple item realization.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 10:04:34 +0000 (19:04 +0900)]
genlist: code refactoring.

remove contents_obj but use contents instead.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 08:34:05 +0000 (17:34 +0900)]
genlist: code refactoring.

remove target states strings in the widget item.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 07:54:01 +0000 (16:54 +0900)]
genlist: code refactoring.

just clean up code. no logic change.

9 years agogenlist: refactoring code.
ChunEon Park [Fri, 2 Jan 2015 07:48:29 +0000 (16:48 +0900)]
genlist: refactoring code.

removed invalid content string free call.
and renamed flip_content_objs -> flip_contents.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 07:17:16 +0000 (16:17 +0900)]
genlist: code refactoring.

remove contents string list that doesn't needed to keep in widget data.

next code refactoring based on this patch will be coming.

9 years agogenlist: exceptional handling.
ChunEon Park [Fri, 2 Jan 2015 03:14:41 +0000 (12:14 +0900)]
genlist: exceptional handling.

just be hidden if contents are failed to swallow.

9 years agobox layout should not silently fail when size is less than min size hint
Mike Blumenkrantz [Wed, 31 Dec 2014 20:30:57 +0000 (15:30 -0500)]
box layout should not silently fail when size is less than min size hint

this broke box display in any case where the user had manually changed size hints, eg. when using box align

@fix

9 years agogenlist: free selected items when genlist is cleared.
ChunEon Park [Wed, 31 Dec 2014 10:55:09 +0000 (19:55 +0900)]
genlist: free selected items when genlist is cleared.

9 years agogenlist: send reorder signal to decoration item and views.
ChunEon Park [Wed, 31 Dec 2014 10:10:40 +0000 (19:10 +0900)]
genlist: send reorder signal to decoration item and views.

Previous logic was too much stick to special case for *tizen*
let decide item styles in theme as possible.

This might break reorder group item ui, but it won't be critical.
because tizen ui only depeneded on the scenario and they don't use them anymore.

This will be much better for multiple scenario in the future.

9 years agogenlist: let group item set reorder style as it needs.
ChunEon Park [Wed, 31 Dec 2014 09:59:28 +0000 (18:59 +0900)]
genlist: let group item set reorder style as it needs.

we don't need to limit the group item it's reorder style.

9 years agotest_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.
woochan lee [Wed, 31 Dec 2014 08:38:28 +0000 (17:38 +0900)]
test_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.

Summary:
Item_Data size set as 144 before. but test_gengrid_speed function called create_gengrid function with 5000 items.
it makes crash.

@fix

Test Plan:
1. run elementary_test.
2. click Gengrid update Speed.
3. crash.

Reviewers: seoz, Hermet

Reviewed By: Hermet

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

9 years agotest_glview_simple: opimize draw code.
Amitesh Singh [Wed, 31 Dec 2014 08:33:32 +0000 (17:33 +0900)]
test_glview_simple: opimize draw code.

Summary:
There is no need to call glVertexAttribPointer &
glEnableVertexAttribArray() while rendering.

Reviewers: seoz, jpeg, Hermet

Reviewed By: Hermet

Subscribers: seoz

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

9 years agoIcon theme: added standard freedesktop names.
Dave Andreoli [Tue, 30 Dec 2014 22:02:24 +0000 (23:02 +0100)]
Icon theme: added standard freedesktop names.

OK, this  commit try to fix the mess we have done with icon names in elm.
I just added standard names to icons yet existing in the elm theme, the
old name are, of course, preserved. But I marked them as -deprecated-.

Also added a new test: Icon Standard. It show all the icon that have standard
fdo names. This can be really usefull for user that need to choose icons to use.

I put some guidelines comment in the icons.edc files, I hope people will follow
the rules from now on... or will recive my personal spanking :D

I will work on those icons more in the next days: will add the new names to
elm docs, will try to match better fdo icon names, and maybe also add some
new icons...

Suggestions are always welcome.
@feature (maybe)

9 years agoRevert "gesture_layer: Remove unnecessary value assignment."
Daniel Juyung Seo [Tue, 30 Dec 2014 16:05:07 +0000 (01:05 +0900)]
Revert "gesture_layer: Remove unnecessary value assignment."

This reverts commit d389a44b42d482414d1bfb2f4d0ccebbda510d7b.

Tasn said this value needs to be used. Let's fix it correctly later.
Thanks Tom.

9 years agogesture_layer: Remove unnecessary value assignment.
Daniel Juyung Seo [Tue, 30 Dec 2014 15:12:57 +0000 (00:12 +0900)]
gesture_layer: Remove unnecessary value assignment.

This fixes coverity CID 1261280.
But this is not critical.