Commit Graph

9651 Commits

Author SHA1 Message Date
Carsten Haitzler 97e625c68c 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.
2015-01-12 11:31:43 +09:00
ChunEon Park ab0e050102 genlist: recommit 1879cc39258c63c24f0abcff56558b1f1b60167a with correction. 2015-01-12 10:00:04 +09:00
Mike Blumenkrantz 79efce849d elm_table now supports alignment 2015-01-11 18:17:19 -05:00
Mike Blumenkrantz 65db0dc1cd fake win should not perform widget focus setting on canvas focus-in 2015-01-11 15:18:27 -05:00
Yakov Goldberg 89133c8f58 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.
2015-01-11 16:59:50 +02:00
ChunEon Park 95494c3a98 genlist: remove unnecessary null check. 2015-01-10 17:47:14 +09:00
ChunEon Park 42dc29b87b genlist: revert 6f177e5db01553276058235a81cbfcc9b2cd4e23
this broke decoration item text. reverted.
2015-01-10 17:27:48 +09:00
ChunEon Park 8e2647ea16 genlist: send decoration active signal to view item.
emit signal to view item to do something additional.
2015-01-10 16:58:45 +09:00
ChunEon Park 8cd8ea50cb genlist: fix regression bug. (T1986)
newly added in 2955ebc5dd01fbfb5a3286b724c8a40915864ad8
2015-01-10 16:44:38 +09:00
Mike Blumenkrantz c66c698e43 ELM_WIN_FAKE types should allow focus callbacks on windows 2015-01-10 01:36:27 -05:00
Mike Blumenkrantz 7bebf6b3f8 entry now finds its window object more effectively for cnp init 2015-01-10 00:48:33 -05:00
Mike Blumenkrantz 28872897b5 +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
2015-01-10 00:36:17 -05:00
ChunEon Park 20a933e044 genlist: code refactoring.
clean up decorate_item_realize() function.

use macro and remove old debug code.
no actual logical change.
2015-01-10 14:14:57 +09:00
ChunEon Park 2f66bfc417 genlist: clean up genlist_smart_del() func.
removed unnecessary calls.
2015-01-09 23:27:33 +09:00
ChunEon Park fd5e859149 widget: remove redundant internal macros
we don't need these macros anymore since eo has introduced.
2015-01-09 23:04:39 +09:00
Jean Guyomarc'h ab0a1bda94 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
2015-01-09 14:41:04 +09:00
ChunEon Park 91d42b500d genlist: if the item was selected, then skip item_select() procedure. 2015-01-08 23:58:11 +09:00
ChunEon Park 54b221703b genlist: simple code clean up
no logic change.
2015-01-08 23:54:37 +09:00
ChunEon Park 8c5231ca80 genlist: use eina bool 2015-01-08 23:41:29 +09:00
ChunEon Park 5cdcdf5c71 genilst: descriptive comment++ 2015-01-08 23:37:06 +09:00
ChunEon Park e7ab25d3ce genlist: remove internal callback usage.
there were multiple ports for item procedures.
one port is enough.
2015-01-08 23:23:44 +09:00
ChunEon Park a045ca8289 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.
2015-01-08 23:07:39 +09:00
Daniel Zaoui e281a68932 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!
2015-01-08 14:27:57 +02:00
ChunEon Park 59b32785e1 genlist: send signal to deco_all_view additionally. 2015-01-08 19:50:52 +09:00
ChunEon Park 293c5dbb13 genlist: +warning 2015-01-08 19:49:39 +09:00
ChunEon Park 6a92dc4058 genlist: make up lack of behaviors in item_disable 2015-01-08 19:47:14 +09:00
ChunEon Park 51cca32085 genlist: replace to internal call 2015-01-08 19:45:17 +09:00
vivek aa41261430 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
2015-01-08 19:46:52 +09:00
VBS fdfde0d5e0 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
2015-01-08 19:36:19 +09:00
Shinwoo Kim e649486e58 [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
2015-01-08 18:54:30 +09:00
ChunEon Park 6f293dcf5f genlist: +parent validation check 2015-01-08 18:10:12 +09:00
ChunEon Park 94f530fca9 genlist: code refactoring.
there are 2 variables that has same purpose.
cut off one dependency.
2015-01-08 17:55:11 +09:00
shilpa.singh 92deae574a 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
2015-01-08 16:06:35 +09:00
Jee-Yong Um 4ade3552db 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
2015-01-08 15:47:24 +09:00
ChunEon Park a87021aba0 genlist: fix crash issue.
"selected" list has the eo list, not elm_gen_item.

this is side effect caused while on refactoring genlist.
2015-01-08 11:13:02 +09:00
Nibha Sharma 60e70654ea 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
2015-01-08 10:46:05 +09:00
Carsten Haitzler 80c7f3bd74 elm filesel - fix eio access of widget data after de in eio threads
@fix
2015-01-07 19:34:15 +09:00
ChunEon Park b92ba5eeaa genlist: add more arguments validation checks 2015-01-07 18:12:33 +09:00
Carsten Haitzler b0e3cfd52e elm progressbar - fix invalid access to freed units string
@fix
2015-01-07 17:23:29 +09:00
Marcel Hollerbach e265fead91 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
2015-01-07 17:23:29 +09:00
ChunEon Park accdefce6f genlist: + parent validation check 2015-01-07 15:49:19 +09:00
ChunEon Park 2dd465215e genlist: code refactoring.
type check than boolean(to be removed)
2015-01-07 15:20:45 +09:00
ChunEon Park 4e8f373b7c genlist: use simple macro 2015-01-07 15:18:01 +09:00
ChunEon Park 34732967eb genlist: null check++ 2015-01-07 14:39:34 +09:00
ChunEon Park 115bfee81f genlist: clean up missing resources in genlist_clear() 2015-01-07 14:38:25 +09:00
ChunEon Park b34df7d58c genlist: cancel multi selected items.
cancel multi selected items if the multi-select mode is canceled.

@fix
2015-01-07 14:10:18 +09:00
ChunEon Park 625a299e4a 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
2015-01-07 11:42:08 +09:00
Nak-Gyeong Kim 2e64b49bd2 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
2015-01-07 11:22:07 +09:00
woochan lee acf58903b4 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
2015-01-07 11:16:38 +09:00
Mike Blumenkrantz e157619f61 win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner
ref T1973
2015-01-06 16:53:59 -05:00