Commit Graph

47180 Commits

Author SHA1 Message Date
Chris Michael ebf26f2017 ecore-wl2: Formatting
Minor formatting fix. No functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-03 12:33:26 -04:00
Chris Michael eefee97c2a ecore-evas-wayland: Remove include for old Ecore_Wayland library
This include is leftover from the porting to Ecore_Wl2. Remove
unused include for old Ecore_Wayland library

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-03 11:21:31 -04:00
Chris Michael 89b955db51 ecore-wayland: Deprecate Ecore_Wayland library
This patch deprecates the Ecore_Wayland library with a warning to not
use it. This (imo) is a better method of deprecation rather than
adding EINA_DEPRECATED to every function.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-03 08:35:48 -04:00
Ji-Youn Park ab3058d342 elm_win: move API related with backed engine to legacy
There are several elm_win apis releated with backed engine.
we need to move these kind of api form eo to legacy.
2016-05-03 18:44:03 +08:30
Stefan Schmidt fc51b44ed4 tests: eio: re-enable eio test cases
Have been disabled with 0c76f82a. They pass here so re-enabling.
2016-05-03 11:30:23 +02:00
Tom Hacohen 9fca3f7a14 Eo define class: Don't force EWAPI for class_get().
Because we were forcing EWAPI in this macro, one couldn't create a class
that is "static" or even just private or the module. The symbol was
always exposed.
Since in C the attributes of a function are set based on the first
declaration, we don't need to specify any attributes in this macro and
we can just rely on them being specified in the declaration. So for
example, for class "foo":

foo.h:
EWAPI const Eo_Class *foo_class_get(...);

foo.c:
const Eo_Class *foo_class_get(...);

Would give the desired results, a class would be EWAPI. This is already
done automatically for all of the classes using Eolian. Because of the
lack of specifiers, the default visibility will now be the default
visibility based on compiler flags and settings.

Thanks to JP for reporting this issue.

This can potentially (but very unlikely) break things.
2016-05-03 09:53:45 +01:00
Thiep Ha 2e68debe7b elm entry: remove unused funtions
The _elm_entry_entry_paste is removed from elm_cnp.c.
It is unused now. We can remove it and related function.
2016-05-03 17:13:47 +00:00
Thiep Ha f5d10f1961 elm cnp/Wl: Remove duplicated data receive callback
If we do drag & drop and then do copy & paste, both _wl_selection_receive
and _wl_dnd_receive are called for one action (dnd or cnp). It is reduntdant.
We only need one data received callback to handle two cases dnd and cnp.
2016-05-03 17:13:47 +00:00
Thiep Ha aa0ace21d7 ecore wayland: add selection type
We have copy & paste and drag & drop selection types, but we cannot
distinguish between these two types when requesters receive data
from data ready event.
This patch adds a new enum to help selection requesters distinguish
between two selection types and have suitable actions for each type.
2016-05-03 17:13:47 +00:00
Thiep Ha bcba96656a elm cnp/wl: add uri data type checking
When selection owner provides uri type (uri/text-list),
it should check if data is in correct format.
2016-05-03 17:13:47 +00:00
Thiep Ha ae1b2a124f elm cnp/Wl: set selection for all data types
Currently, not all selection data types are set.
This patch sets selection for all suitable types that we supported.
2016-05-03 17:13:47 +00:00
Thiep Ha 8796e938a3 elm cnp/Wl: Remove duplicated data send callback
If we do drag & drop and then do copy & paste, both _wl_selection_send
and _wl_dnd_send are called for one action (dnd or cnp). It is reduntdant.
We only need one callback to handle two cases dnd and cnp.
2016-05-03 17:13:47 +00:00
Thiep Ha 8a46f78c7d elm dnd/wl: add types' notify handler
This patch adds notify handlers for types.
It provides different ways to handle different data types.
2016-05-03 17:13:47 +00:00
Thiep Ha 1bc9483a82 elm dnd/wl: add type converters
we support different types for DnD, but there is no converters.
This patch adds converters for types, so that we can send
different data for different types.
2016-05-03 17:13:47 +00:00
Stefan Schmidt b917eb4c25 tests: eio: use the correct eina_promise_* functions
When these changes got it with 0c76f82a31
they used the non existing symbols ecore_promise_value_get and
ecore_promise_then (most likely due to an unfinished refactoring)

Make sure we actually use the correct eina_promise_ symbols and add NULL
for the error callback which is now needed.
2016-05-03 09:36:37 +02:00
Jaehyun Cho 37667cb69f Revert "genlist: Change group_index swallow parts to be squares."
This reverts commit 5f59e134eb.

This causes that icon region of genlist group_index item is displayed
although icon is not set.
2016-05-03 11:28:47 +09:00
Cedric Bail 664d677201 ecore: add test case for Efl.Loop.Job. 2016-05-02 18:17:09 -07:00
Cedric Bail cfdc09fa93 ecore: fix promise test wrong use of EINA_UNUSED. 2016-05-02 18:17:09 -07:00
Cedric Bail 7fa953e9ae ecore: add Efl.Loop.Job promise. 2016-05-02 18:17:09 -07:00
Mike Blumenkrantz 50ab1a0e55 Revert "efreetd - reduce memory usage by using stringshare much more"
partially reverts e4d815dc48

this caused efreetd to crash almost immediately due to non-stringshared
strings being used in a stringshare-only hash data descriptor
2016-05-02 21:03:14 -04:00
Larry Jr ba20e94201 Eldbus: eldbus_model_test disable by default
This test assumes an existing dbus-daemon running.
2016-05-02 18:37:04 -03:00
Stefan Schmidt 4ed63e58b2 docs: elm_clock: enhance and change elm_clock EO file documentation.
Mostly preperty description harmonising and some other smaller changes.
2016-05-02 14:01:47 +02:00
Stefan Schmidt b2026d0e38 docs: elm_check: fully document the check widget 2016-05-02 14:01:47 +02:00
Hermet Park 05394eabab elementary button: fix a anchor style edc error.
keep clicked description since inherited program still requires it.
2016-05-02 16:53:37 +09:00
Carsten Haitzler 6aec9d4b68 Revert "tiff: disable by default as it is full of CVE with apparently no chance to get them fixed."
This reverts commit b8860c88f5.

i wouldn't call this full of CVE's:

http://www.cvedetails.com/product/3881/Libtiff-Libtiff.html?vendor_id=2224

i do notice various CVE's on libtiff's mailing list have had patches
committed. the CVE db doesn't track if the CVE has been fixed by
upstream (in an easy to find way) and in which version or on what date so
the CVE db simply is all CVE's since the dawn of time that were ever filed.
2016-05-02 08:02:09 +09:00
Marcel Hollerbach e58e5eda08 efl: remove eina_promise typedef
fixes the following warnings:
  /usr/local/include/efl-1/Efl_Model_Common.h:14:30: warning: redefinition of typedef 'Eina_Promise' is a
        C11 feature [-Wtypedef-redefinition]
  typedef struct _Eina_Promise Eina_Promise;
                               ^
  /usr/local/include/eina-1/eina/eina_promise.h:10:30: note: previous definition is here
  typedef struct _Eina_Promise Eina_Promise;

To remove the typedef i had to cleanup the includes of header in
evas_canvas3d_eet.c.
2016-05-01 17:01:22 +02:00
Mike Blumenkrantz 51e86a4c0d elm_genlist: throw CRI when group item insertion fails
this really needs a better solution since it results in a blank genlist
item space, with the item itself typically located somewhere offscreen due
to caching
2016-04-30 14:31:29 -04:00
Mike Blumenkrantz 43d82e567a elm_genlist: when appending items to the parent, prepend to the parent
the parent/group item is located after its child items in the list of items,
so if an item is appended to the parent's list of items then it must be
prepended to the parent or else it will end up being in the wrong group

@fix
2016-04-30 14:26:51 -04:00
Mike Blumenkrantz 5c933b0176 elm_genlist: accurately handle contents for cached items
more fixes for the comically unreviewed revision from elm which continues
to cause bugs months after it was pushed

ref 4c86a66f28876b68e92a90c8f741eed1130dd034 (elm)
ref e88423e994
2016-04-30 13:53:46 -04:00
Mike Blumenkrantz 673f703bb0 elm_genlist: outdent _item_content_realize() harder
no functional changes
2016-04-30 13:53:41 -04:00
Yeshwanth Reddivari f7e1be2062 spin interface: common interface for flipselector and spinner
Summary:
Added common interface for flipselector and spinner.
Implemented APIs of spinner like min_max_set, step_set, value_set etc in flipselector.

Test Plan: elementary_test

Reviewers: raster, jpeg, singh.amitesh, woohyun, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-29 18:56:51 -07:00
Cedric Bail b8860c88f5 tiff: disable by default as it is full of CVE with apparently no chance to get them fixed.
This can still be manually turned on if you need it.
2016-04-29 18:56:51 -07:00
Larry Jr 7bbc5ec623 Eldbus: fixed property_set in Eldbus.Model_Proxy 2016-04-29 20:55:37 -03:00
Felipe Magno de Almeida e69f41001b eio: Fix unused variable warnings in test
Use of EINA_UNUSED in unused parameters
2016-04-29 17:32:23 -03:00
Felipe Magno de Almeida 46903d76f5 eolian: Fix promise generation with multiple parameters
When generating multiple parameters, they inadvertedly got
replaced by __eo_promise. Replacing all arguments to the
promise pointer.
2016-04-29 17:15:51 -03:00
Larry Jr 0c76f82a31 Efl, Eio, Eldbus, Elementary: new model API use eina_promise
Efl - efl_model_base changed to use eina_promise
Eio - eio_model use efl_model_base with promise
Eldbus - elddbus models use promise now
Elementary - elm_view_list and elm_view_form use new models with promise

updated all related examples and tests
2016-04-29 13:21:24 -03:00
Tom Hacohen 42346e22f4 Eo keyed data: Refactor the code so it's mostly shared.
The code was redundant though essentially the same. This refactoring
removes a lot of this code and made everything shared.
2016-04-29 13:53:02 +01:00
Tom Hacohen 0730152deb Eo keyed data: Unify node cleanup code. 2016-04-29 13:53:02 +01:00
Tom Hacohen 9195d008da Eo keyed data: No need to register to see if a subobject was deleted.
This is completely unnecessary. We are holding a reference to the
object, it can't get deleted under our feet.
2016-04-29 13:13:02 +01:00
Tom Hacohen 393ca3c3f9 Eo keyed data: Clean up code and fix a bug with 'Value'.
This code is an absolute mess. This is the first step towards fixing that.
This cleanup let me find a bug that would have printed errors when using
Eina_Value so I fixed that too.
2016-04-29 13:08:14 +01:00
Jaehyun Cho 5f59e134eb genlist: Change group_index swallow parts to be squares.
"elm.swallow.icon" and "elm.swallow.end" of group_index item were not
squrares. So change those swallow parts to be squares like default
item's swallow parts.
2016-04-29 20:10:12 +09:00
Mykyta Biliavskyi e8138ee7b5 Edje edit: remove color generate from SPACER source.
It is possible situation when SPACER structure has colors values.
For example:
group { name: "abc";
  parts {
    part { name: "rect"; type: RECT;
      description { "default" 0.0;
        color: 7 7 7 255;
      }
    }
  }
}
group { name:"abc_2";
  inherit: "abc";
  parts {
    part { name: "rect"; type: SPACER;
    }
  }
}
To avoid failing compilation of generated source code, need avoid
generate color source code for a SPACER part.
2016-04-29 11:26:58 +03:00
Jaeun Choi a5a44b0104 Elm_Image: add and remove eo properties related to image scaling
This patch adds scale_type and scalalable property
and removes fill_inside and aspect_fixed property
2016-04-29 14:06:52 +09:00
Jean-Philippe Andre 566a156eda Edje Edit: Fix compilation warning 2016-04-29 13:33:13 +09:00
Jean-Philippe Andre 0c2027b2af Edje: Add test case showing lifecycle of proxy object
This is for efl_content_get proxy objects (BOX & TABLE).
2016-04-29 13:32:01 +09:00
Andy Williams 0bf8dabe02 elementary: Update icon UI to split out elm icons
Make it clearer that elementary is diffferent
2016-04-29 00:00:21 +01:00
Tom Hacohen 46ac246a31 Elm combobox: composite attach objects after reparenting.
This fixes the segfault reported by Jack.

The problem was that the object was being reparented and thus
removed from the composition and never added back.
2016-04-28 15:54:49 +01:00
Andy Williams fd422c48d1 elementary: remove fdo caching and fallback code
The hicolor fallback requirement is handled by efreet
and the usage of fdo is user specified now not by code.
This means the only (theoretical) way this could be a
problem is if the user removes a theme.
This seems like a good tradeoff to remove the overhead
and enable the apps to switch icons based on config change.
2016-04-28 15:31:55 +01:00
Andy Williams 3d0eff2199 elementary: Don't force elm theme over fdo icons
Make sure we don't mmap icons if we're using external sources
2016-04-28 15:00:08 +01:00
Vitalii Vorobiov e6d4c34449 Edje_Edit: update function that return image usage to include sets
Image can be also used not only inside of any image parts, but also
inside of any sets (and plenty of times)
2016-04-28 16:22:26 +03:00