Commit Graph

11264 Commits

Author SHA1 Message Date
Jean-Philippe Andre 4a0202b40d elm_image: Use Efl.File interface for mmap_set 2015-04-06 15:54:33 +09:00
Jean-Philippe Andre 3e7aff9501 elm_image: Implement async file open
Summary: This implements the interface Efl.File.async.{set,get,wait}

Reviewers: cedric, raster, tasn

Differential Revision: https://phab.enlightenment.org/D2262
2015-04-06 15:54:32 +09:00
SangHyeon Lee 4f5f6a9651 Elm_Win: Fix _elm_win_focus_prev_target_del callback added repeatly without callback del.
Summary:
When object in elm_win lose their focus, elm_win save it on focus_highlight.prev structure,
and add **EVAS_CALLBACK_DEL** event callback. But after changed focus object also lose their focus from other,
**EVAS_CALLBACK_DEL** on prev object is not deleted if their in_theme is not **EINA_TRUE**.
This could be cause **'Memory Leak' **until previous focused objects are deleting.
checking in_theme of prev focus_highlight is for send signal on prev focused view(edje),
so 'if' sentence for checking previous existance and in_theme need to be separated.

@fix

Test Plan:
You can easily check this on elementary_test. launch radio sample and make focus by keyboard and
change focus repeatly, callback is added as per focus movement, but callback del is not called.

Reviewers: seoz, woohyun, raster, Hermet

Reviewed By: Hermet

Subscribers: jaehwan

Differential Revision: https://phab.enlightenment.org/D2276
2015-04-06 10:54:15 +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
woochan lee a654a80be1 elm_config.h: Delete whitespaces.
Summary: Delete whitespaces.

Reviewers: JackDanielZ, seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2286
2015-04-06 10:41:24 +09:00
ChunEon Park 699f5efe05 multibuttonentry: use layout apis instead of edje,
the internal view type has been changed to layout.
2015-04-06 10:34:39 +09:00
woochan lee 0cfbc39b67 multibuttonentry: btn item theme set API change.
Summary: I missed this during btn object type change to layout from edje object .

Reviewers: Hermet, seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D2289
2015-04-06 10:21:48 +09:00
Mike Blumenkrantz e0f7e8f7c4 gitignore update 2015-04-05 16:26:22 -04: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
Mike Blumenkrantz a583013bab add colorclass editor
the colorclass editor can be used to live edit the color classes in
any running application.

@feature
2015-04-05 16:02:00 -04:00
Mike Blumenkrantz 38ef781083 config: use eina_streq to optimize comparisons in _elm_config_color_overlay functions 2015-04-05 16:01:57 -04:00
Mike Blumenkrantz 6d33a125c4 colorselector: support "changed,user" smart callback
this allows users to avoid getting callbacks from api calls
2015-04-05 16:01:50 -04:00
Boris Faure c50ab5755c elc_popup: make sure code is C89 strict 2015-04-04 18:21:12 +02: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
Cedric BAIL df4c3bbb7d evas: let's not use eo_do for potential Efl interface call. 2015-04-03 16:04:58 +02: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
JinsolPark 2573e7a9ea elm_object_access_info_get() API add
Summary: Adding a get API because of having only elm_object_access_info_get().

Reviewers: jaehwan, kimcinoo

Differential Revision: https://phab.enlightenment.org/D2271
2015-04-01 17:05:17 +09:00
Jean-Philippe Andre 923a52cea1 Revert "doc: Improve build speed, disable doc's widgets build"
This reverts commit 52c8f4fe7ec42efa6889d707e2380697ffe7dbb4.

This broke the build when starting from a clean repo.
I'll try to improve this patch later, maybe.
2015-03-31 20:37:47 +09: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 edd9a63366 doc: Improve build speed, disable doc's widgets build
Building the widget_preview_xxx programs takes a while and should
be required only when rebuilding the doc. Arguably breaking something
in elm may break only the widget-preview build but I believe this is
a rare case.

This speeds up a regular elm build by >20s on my machine.
2015-03-31 12:28:11 +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
maxerba 3765aac7bc Update catalan translation 2015-03-30 21:18:10 +02:00
Jaehwan Kim 29385e75ff Gengrid: Modified to handle the focus highlight on unrealized items
This commit is related to 260cdd6150d567fcee8d1afaf690e4b90cd16a2b.

When unrealized item is focused, edje object is not exist,
so genlist cannot read the focus highlight information from edje object.
Therefore, when the item is realized, check the item is focused or not and
need to update focus highlight.
2015-03-30 16:00:01 +09:00
Jihoon Kim e52c85920a Fix build warning related to window home 2015-03-28 23:59:09 +09:00
ChunEon Park 856bf8c0df conform: decide indicator visibility in the swallow part. 2015-03-28 20:06:19 +09:00
ChunEon Park c17ea7197e conform: decide indicator visibility in the swallow part. 2015-03-28 19:18:24 +09:00
Kai Huuhko ff3ac49cf3 Fix elm_naviframe transition,finished smart events event_info
Summary:
A pointer to the internal Elm_Naviframe_Item_Data was mistakenly being passed as
event_info.

This patch changes the callback_call to pass the correct Elm_Object_Item (Eo) pointer.

Reviewers: #elementary, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2222
2015-03-28 15:12:37 +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 65bb320c00 elm_diskselector: check if sd variable is null.
Summary:
This causes a segmentation fault when closing the DiskSelector window
on Windows.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:13:27 +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 cc51077de1 elm_prefs: looking for right lib directory in prefix.
Summary:
Using elm_app_data_dir_get() to get the right application's prefix.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:30 +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
michelle legrand ce9498311a elm_prefs: compatibility for Windows.
Summary:
Add test for relative path on Windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:08:54 +01:00
michelle legrand 8d4a6bfc81 elm_datetime: compatibility for Windows.
Summary:
For Windows, we have a nl_langinfo() equivalent in Evil.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:08:15 +01:00