Commit Graph

11027 Commits

Author SHA1 Message Date
Daniel Juyung Seo c982744473 colorselector: Remove unnecessary pointer redirection.
Elm_Colorselector_Data pointer is already there.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo c906be2307 test_icon: Clean up icon standard sample.
- Do not set unnecessary min size for the icons. Just follow list's item
size naturally.
- Do not free unnecessary list which was already freed by
EINA_LIST_FREE.
- Do not set align for the window resize object which is not required to
be set.
- Follow conventional way of pointer declaration.
2015-01-22 07:39:34 +09:00
Mike Blumenkrantz 0db8a01ab1 image now implements edje object size functions
Edje.Object.size_min.get;
      Edje.Object.size_max.get;
      Edje.Object.size_min_calc;
      Edje.Object.calc_force;

fixes all image-in-edje sizing issues/errors
2015-01-21 15:17:00 -05:00
Mike Blumenkrantz af7cfe1d6b image animation functions now work as expected for edje images 2015-01-21 15:17:00 -05:00
Mike Blumenkrantz 3ae96d6efb win_example now exits fullscreen on any key press...always
fix T516
2015-01-20 13:04:16 -05:00
Jaeun Choi b817a5ca26 Elm_Entry: set handler style according to current widget style
Previously, entry set handlers' style as default when they are created
and changed style on theme_apply function. But in usual scenario, users create
entry and set style before handlers are created, so when they are created
the style is set as default regardless of the style users already set.
This patch fixes it.

@fix
2015-01-20 10:32:06 +09:00
Stefan Schmidt f3825f83d4 release: Update NEWS and bump version for 1.13.0-beta1 release 2015-01-19 15:12:06 +01:00
Stefan Schmidt f30c5c1674 Revert "genlist: added reorder feature on key events"
This reverts commit f99be3a1d6bdc63153598b592b5437c33da44bf0.

The API is not ready to be released. Please see the thread on the e-devel
mailing list under this subject. This can get another try in the 1.14
release cycle.

Conflicts:
	src/lib/elm_genlist.c
2015-01-19 12:56:50 +01:00
ChunEon Park a51fdc0e15 genlist: fix incorrect grammar.
No allow attaching double definite articles.

Thanks vincent for reporting.
2015-01-19 17:30:51 +09:00
Jaehyun Cho 1d4da291bf elm_transit: Fix crash issue caused by multiple transit effects.
Summary:
Fix crach issue caused by multiple transit effects on a single object.
         This patch prevents deleting obj_data while the obj_data is still used by other transit objects.
         This fix is related to commits "Support zoom keeping current map effect."(60214e6a172e42303fdfc69ef3d1996b25132242)
         and "Support rotation keeping current map effect."(1e06309be42fd2b5d0900b16da0178215c111681).
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1878
2015-01-19 15:35:17 +09:00
ChunEon Park f87e3ccabd genlist: fix genlist multi-selected problem.
user request was ignored if they calls the genlist_item_selected_set(true)
to another item in an item selected callback. because genlist made
the selected item highlighted after user "selected" callback.

The behavior had been changed on my genlist refactoring,
so the behavior was actually just restored.

This issue resolves T2020
2015-01-19 15:33:06 +09:00
Jaehyun Cho 9df0e7202d elm_transit: Fix to support zoom rate zero.
Summary:
Fix to support zoom rate zero by using evas_map_util_zoom() instead of evas_map_util_3d_perspective().
@fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1877
2015-01-19 15:30:27 +09:00
WooHyun Jung c8f6d47e0f widget: elm_win can be unfocused only when its ecore_evas loses focus. 2015-01-17 16:29:46 +09:00
Stefan Schmidt 97d78edeaf configure: Fix typo in coverage option help text 2015-01-16 21:16:04 +01:00
Cedric BAIL c11cc5f47d tests: add coverage support.
And our current score is 19% functions coverage for Elementary.
2015-01-16 16:39:37 +01:00
Cedric BAIL f15d380f00 tests: actually run the main loop properly to be able to enter in idle state.
Note that the iterate function will never trigger the idler that are registered
in Ecore. That's by definition. I changed the code to actually use the full
main loop and trigger the change detection on idle enterer. That should be enough
for Elementary as all idler should logically affect the visual aspect of something
at some point and exit idle.

Thanks marcel-hollerbach@t-online.de for helping me debug this issue.
2015-01-16 14:31:57 +01:00
maxerba 801b65a4af Updating italian translation 2015-01-16 12:34:13 +01:00
ChunEon Park 09252cf55f genlist: code clean up
highlight item with one entry.
2015-01-15 23:01:00 +09:00
ChunEon Park d5abb68482 genlist: don't access item after removing it. 2015-01-15 22:43:14 +09:00
ChunEon Park 7a4cffb1d8 genlist: guard the item deletion problem.
this exceptional code prevents the deletion of the item
in the middle of the callback.
2015-01-15 22:42:46 +09:00
ChunEon Park 08772d8792 genlist: fix the access of the invalid items.
still, there were case item or genlist is cleared in the user callback.
don't access the cleared items if they are requested deletion.
2015-01-15 22:42:14 +09:00
Mike Blumenkrantz 8414d626d4 genlist needs to also highlight items on keyboard select
this should probably just happen in _item_select() to avoid future incidents

ref T1986
2015-01-14 15:19:48 -05:00
Mike Blumenkrantz a102155889 Revert "genlist: fix a crash when deleting a item in selected callback."
This reverts commit c80b24baf815e35c160bf0dbe8ecae6ea247aef8.

this broke the selection callback completely and makes every genlist app unusable.

please, please, please, please, I'm seriously begging you hermet, do ANY amount of testing before making further genlist commits.
2015-01-14 14:41:50 -05:00
ChunEon Park 24c56e5a0a genlist: fix a crash when deleting a item in selected callback.
if user deletes the item in the callback,
current function(_item_select) would be corrupted.
just leave the callback call in the last of the function.
2015-01-14 23:30:43 +09:00
ChunEon Park 6aaca793a7 genilst: fix regression bug added in 0e7d521151ba93f3b5955caaf9b906e160ab6057
some logic of deleting item were duplicated.
this fixes fileselector crash issue.
2015-01-14 23:21:32 +09:00
Lukasz Stanislawski 06d6557d53 Do not explicite include atspi headers.
Summary: fixes make check failures on atspi tests.

Reviewers: cedric

Subscribers: seoz

Maniphest Tasks: T2001

Differential Revision: https://phab.enlightenment.org/D1870
2015-01-14 15:15:47 +01:00
ChunEon Park 9cd1e83c24 genlist: set missed item reference.
this missing would cause crash of the genlist when it's items are cleared.
2015-01-14 22:07:00 +09:00
ChunEon Park 3be81fa24c genlist: fix a crash of genlist group tree example.
don't corrupt list pointer.
we can clear items more simply.

Thanks ya-kov for reporting.
2015-01-14 22:04:26 +09:00
ChunEon Park 52e7a6b97f widget: set missing elm_widget_item_magic 2015-01-14 19:50:15 +09:00
Cedric BAIL 5010e1a82e photocam: force reload of image on file_set.
Thanks, bug reported by thierry@substanciel.fr .
2015-01-13 16:15:29 +01:00
Carsten Haitzler a89f3d267c elm image - fix image rotation in non-common cases
this fixes d6f4040d0c62c220f2339d2a57126fde43e85e19 for the non-common
path that normalizes then applies new orientation

@fix
2015-01-13 08:53:14 +09:00
Chris Michael 0da7ee96fc elementary: Fix dereference of null return value
Summary: This fixes Coverity CID1261370. strrchr can return NULL here,
so we need to check that 'p' is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:04:19 -05:00
Stefan Schmidt 8ff91702fd release: Update NEWS and bump version for 1.13.0-alpha1 release 2015-01-12 14:11:43 +01:00
Tom Hacohen 12d383709d 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
2015-01-12 10:13:34 +00:00
Tom Hacohen a65c98c151 Elm win: Fix elm_win_fake()'s name to follow conventions. 2015-01-12 10:13:00 +00:00
Daniel Zaoui 689b4f3fc5 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
2015-01-12 08:23:35 +02:00
Jee-Yong Um a83e01cad3 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
2015-01-12 13:36:55 +09:00
Carsten Haitzler 94a00854b6 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
2015-01-12 12:08:46 +09:00
VBS db5d4aff45 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
2015-01-12 11:51:42 +09:00
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