Commit Graph

2000 Commits

Author SHA1 Message Date
Tom Hacohen 9639418c59 Win: Make animator,tick signal actually work.
This commit also updated one of the elementary test to show
the new one of doing it.

This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).
2015-05-06 15:46:46 +01:00
Cedric BAIL 51386942a0 naviframe: add a test for checking expected behavior or item_pop. 2015-05-05 18:13:12 +02:00
Davide Andreoli b25a0a3ea3 Fix slideshow smart events event_info
Changed all the callback_call to pass the correct Elm_Object_Item
(Eo) pointer, was passing Elm_Slideshow_Item_Data instead.

@fix

Also updated the test
2015-05-04 02:16:33 +02:00
Amitesh Singh 9399c492b2 slider: remove duplicated lines in slider test.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
Woochan Lee 5b91ca2a3d test_naviframe_complex.c: naviframe prev button auto pushed set as false.
Summary:
There is a invisible prev button. but it can get a focus and delete the current naviframe item.
Its not intend to added here i think, so i add a function that not add prev button automatically.

Test Plan:
Run elementary_test -> Naviframe Complex
Move focus use arrow key button and input enter key on prev button.
Click the View list, check the ERR msgs.

Reviewers: Jaehyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2420
2015-04-24 16:22:07 +09:00
Tom Hacohen a6e84dac81 Test gengrid: use the gengrid enum, and not the genlist one.
They are probably in sync, but this is just wrong.
Especially if people copy/paste this.
2015-04-22 13:33:40 +01:00
ChunEon Park fa0b1bc491 multibuttonentry: update longpress signal case.
Since the signal name was changed, usage should be also updated.
2015-04-17 16:37:06 +09:00
Jaehyun Cho a9edca0deb test_naviframe: Fix content image file names.
@fix
2015-04-10 14:45:34 +09:00
Jean-Philippe Andre 54de1cc76e elm_test: (GLView) reset accel_preference after win_add
This might even make the application run with two different engines.
2015-04-07 15:03:49 +09:00
Jean-Philippe Andre 36aedfc876 elm_test: GLView: Add depth to the window
Without depth, glview / evas gl basically fall back to indirect rendering.

Also change bg color from yellowish to brown (and use PREMULTIPLIED
colors, not random values).
2015-04-07 11:44:39 +09:00
Mike Blumenkrantz a0e1e94511 colorclass: move test translate+list callbacks to main
enable remote editing of all colorclasses in elm_test
2015-04-06 15:33:50 -04:00
Mike Blumenkrantz 2b6f8a4c0f colorclass: fix test window initial resize geom 2015-04-06 14:32:05 -04:00
Jean-Philippe Andre 990191b534 elm_test: Fix remote image URL
Apparently tumblr 31 doesn't work but 41 does...
2015-04-06 16:13:40 +09:00
kabeer khan 8eb0e40a27 slideshow/test: Fixed warning of uninitailised variable
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2284
2015-04-06 10:42:44 +09:00
Mike Blumenkrantz 4a83b9fe10 colorclass: disable local extra listing in test for now 2015-04-05 16:26:22 -04:00
Mike Blumenkrantz 2b03eb5a09 colorclass: add util function for listing color classes out of an open edje file 2015-04-05 16:26:22 -04:00
Mike Blumenkrantz 84b68085c3 colorclass: add subsystem for remotely editing colorclasses over dbus
the winid should match the e_pixmap id

also various theme improvements
2015-04-05 16:26:18 -04:00
Mike Blumenkrantz 0e754183ac colorclass: add test case
a simple test case for local usage of the color class editor
2015-04-05 16:02:03 -04:00
ChunEon Park 8a61be1d3b test_3d: correct arguments order. 2015-04-03 23:50:37 +09:00
ChunEon Park fd2e9b2758 evas_map_3d: fixed control names.
these values are to perspective distances.
their argumenets are px, py so it should also be named px, py
2015-04-03 23:33:55 +09:00
Tom Hacohen 6d2699317e Elm helper: fix compilation against elementary.
There was an issue when compiling against elementary when EO_BETA_API
wasn't set. This commit fixes that.

Thanks to Kuuko for reporting.
2015-04-02 10:54:06 +01:00
Tom Hacohen 82a43998cb Revert "Revert "Elm helper: add the posix regex validator.""
Reapply the patch. Next commit will fix the break.

This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.
2015-04-02 10:37:37 +01:00
Carsten Haitzler 71dc4b5392 Revert "Elm helper: add the posix regex validator."
NO! this breaks compiling anything against elementary UNLESS you
enable eo beta api support. NO NO NO NO.

This reverts commit cad6de2a8ef93d994f9dedb8e980efe5fbf6d77e.
2015-04-02 09:48:29 +09:00
Vyacheslav Reutskiy 4c041aee9a Elm helper: add the posix regex validator.
Summary:
Added to Entry new signal "validate", this signal called from entry every
time when the text inputed to entry.
The regex validation add as elm_helper.
The styles of Entries scrollers are changed to allow highlightion that
is needed by regex processing.

For use regex with entry need register the regex helper as callback
to event: ELM_ENTRY_EVENT_VALIDATE

@feature

Test Plan:
See elementary_test "Entry Regex" test.
Note: when the string matches to regex the highlighting (green) is reset on unfocusing.

Reviewers: herdsman, raster, cedric, tasn

Reviewed By: cedric, tasn

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2043
2015-04-01 16:11:18 +01:00
Jean-Philippe Andre 2d5e323493 elm_test: Fix compilation warnings
Grrr, same const char thing as in naviframe...
2015-03-31 15:12:07 +09:00
Jean-Philippe Andre dfa05caf48 elm_test: Fix image paths 2015-03-31 12:28:11 +09:00
Jean-Philippe Andre c38f528e41 elm_test: Fix compilation warnings 2015-03-31 12:28:11 +09:00
Jihoon Kim e52c85920a Fix build warning related to window home 2015-03-28 23:59:09 +09:00
woochan lee 93a4b8b4e3 multibuttonentry: Add item long pressed callback.
Summary: Add long pressed callback for application. test code changed to following this change as well.

@feature

Reviewers: seoz, woohyun, Jaehyun, Hermet

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

Conflicts:

	src/lib/elc_multibuttonentry.c
2015-03-28 15:09:27 +09:00
Nicolas Aguirre f6cd88650a elm-tests: slideshow : looking for right data directory in prefix.
This cmomit fixes the previous revert, as it was introducing load of incorrect path for images.
2015-03-27 14:42:07 +01:00
Nicolas Aguirre 9b0f724373 Revert "elm_slideshow: looking for right data directory in prefix."
This reverts commit c8ca1ad1b3390c9bf6712b616f971d814c63c274.
2015-03-27 13:25:57 +01:00
Michelle Legrand 4b478c5786 elm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:36 +01:00
Michelle Legrand 74525a6d2f elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:16 +01:00
Michelle Legrand ae1c8af467 elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:52 +01:00
Michelle Legrand 4da5e28685 elm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:11 +01:00
Michelle Legrand 5ffcf27033 task_switcher: add variable verification.
Summary:
If dbus is not installed the task switcher raise a segmentation error.
So we check if the returned variable by eo_do is not null before continuing.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:17:37 +01:00
michelle legrand ce1d59bcbe elm_fileselector: display directory from HOME on Windows.
Summary:
On Windows, if we are running the application from Msys or Cygwin, we will
get the HOME environment variable. Otherwise we need to use Windows environment variables
"HOMEDRIVE" and "HOMEPATH" to get the home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:12:57 +01:00
michelle legrand 949e0f5e9c elm_panel: display directory from HOME on Windows.
Summary:
On Windows we can get the HOME environment variable if we launch the application
from Msys or Cygwin, otherwise we need to use "HOMEDRIVE" and "HOMEPATH" to get
windows home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:56 +01:00
michelle legrand 0d08751301 elm_slideshow: looking for right data directory in prefix.
Summary:
Get right application prefix by using elm_app_data_dir_get() for the
slideshow images.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:01 +01:00
Jaehwan Kim 1925ec3b8e scroller: add loop feature.
This feature works the infinite loop horizontally or vertically.
If the content is set, it will be shown repeatedly.
@feature

Change-Id: I1f20b794ae44bc8e5d120901222c7cccadca96b7

Conflicts:
	src/lib/elm_scroller.c
	src/lib/elm_scroller_legacy.h
2015-03-23 20:35:04 +09:00
kabeer khan c1a7a296ae test: fix crash of configuration test
Summary:
Add extra check to prevent crashing when user clicks configuration
test from elementary_test window

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 16:34:04 +01:00
Carsten Haitzler 17ffbd6448 elm - focus feature - add config option to automatically show/hide focus
this adds logic in elm widget and elm win to figure out how to
automatically show a focus hilight when switching focus, or to hide
it. this really should be the default mode, thus in all default
profiles (default, standard, mobile) it's turned on. this means if you
tab or shif+tab or use arrow keys to switch focus, the focus hilight
will magicallly appear. click with a mouse to change focus and it'll
disappear assuming you want to use the mouse to do things. If focus is
explicitly turned on in config or in the window by api, then this has
no effect and focus will remain on all the time. this adds apis to
change these config values and options in the default elm config tool
to swizzle them as well as config upgrade handling for existing configs.

@feature
2015-03-04 17:47:54 +09:00
VBS 93f0745430 genlist: Implemented genlist expand mode and content_min_limit function
Summary:
1. Implemented genlist mode ELM_LIST_EXPAND
2. Implemented content_min_limit function which override scroll interface.
  This function will be used by call API elm_scroller_content_min_limit.
  This function will set the object minimum size as its scroll content size,
  if parameter value is EINA_TRUE.

@feature

Test Plan: Add new test case in test_popup.c

Reviewers: raster, seoz

Subscribers: stefan_schmidt, bluezery

Differential Revision: https://phab.enlightenment.org/D1279
2015-03-03 19:58:41 +09:00
Andrii Kroitor 1b8772d7d1 elementary_test: fix build on windows
Summary:
added missing header

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-24 13:23:34 +01:00
Jee-Yong Um 6d7b668dfe elm_panel: make "panel scrollable" work in elementary_test
Summary:
Thumbscroll is disabled in default configuration,
but "scrollable" feature in panel only works when thumbscroll is turned on.
To make "scrollable" work always in elementary test,
this patch enables thumbscroll temporarily regardless of configuration.
(configuration is restored when sample window is closed.)

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1983
2015-02-21 13:38:13 +09:00
kabeer khan 7cc6360aee elm_photocam: add API's to change photocam image orientation
Summary:
Added API's to rotate(90, 180, 270), flip(horizontal, vertical), transpose and transverse Photocam Image.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, stephenmhouston, raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:33:17 +01:00
kabeer khan 97cefca273 elm_image: changed orient_set code to use evas_object_image_orient_set API
Summary:
evas_image_orient_set is a newly added API to set orientation of evas image.
Using this API to set orientation of image widget.
Also removed Elm_Image_Orient enums and replaced it with Evas_Image_Orient enums.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: raster, seoz, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:31:12 +01:00
ChunEon Park e55e740b0a Revert "Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"""
This reverts commit 83f94464f1743cfa55e6b39704c605978edcee19.

This is incorrect. both windows evas are different,
we cannot set the child window as the resize object.
2015-02-19 15:18:37 +09:00
Mike Blumenkrantz 061f783923 Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner""
This reverts commit 72ef635ff3b8939509ecfb29ecf19e465b40e652.

changing a test so that it will not crash in a valid use case is not an appropriate fix.

ref T1973
2015-02-17 17:12:52 -05:00
Daniel Juyung Seo a3200cc02c genlist: Fix elm_genlist_item_index_get.
The first item's index is 1 not 0.

@fix
2015-02-12 22:05:27 +09:00