Commit Graph

47116 Commits

Author SHA1 Message Date
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
Vitalii Vorobiov 9ec49c3f4f Edje_Edit: API to delete set of images
Allow to delete set if it is not used by any part
Function to check if set is used by any part is:
edje_edit_set_usage_list_get

Since it uses same struct as image_used_list_get function, it
can be freed by edje_edit_image_usage_list_free.
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov a8afffe105 Edje_Edit: setter and getter for set image's scale_by
edje_edit_image_set_image_border_scale_set
edje_edit_image_set_image_border_scale_get
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 0d0e9e13bd Edje_Edit: functions to set and get set's images border
edje_edit_image_set_image_border_set
edje_edit_image_set_image_border_get
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 4589816309 Edje_Edit: setters and getters for set's image size (min and max)
Functions are:
edje_edit_image_set_image_min_get
edje_edit_image_set_image_min_set
edje_edit_image_set_image_max_get
edje_edit_image_set_image_max_set
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 49f6baa7aa Edje_Edit: some API to manipulate set's images
get list of images of set (edje_edit_image_set_images_list_get)
add image to set (edje_edit_image_set_image_add)
delete image from set by it's place (edje_edit_image_set_image_del)
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov a9240d86a4 Edje_Edit: image set API
list of sets (edje_edit_image_set_list_get)
renaming set (edje_edit_image_set_rename)
add new set (edje_edit_image_set_add)
set's id (edje_edit_image_set_id_get)
2016-04-28 16:22:26 +03:00
Vitalii Vorobiov 2f6bdde1dd Edje_Edit: API to check if given name of "image set" is exist
edje_edit_image_set_exists
2016-04-28 16:22:25 +03:00
Vitalii Vorobiov ac9dc723c4 Edje_Edit: get "set's name" if it was set as image normal or tween
Sets and Images, they might have same id but different names
2016-04-28 16:22:25 +03:00
SangHyeon Lee 0181a940f1 Revert "genlist: recalc item size after item content field updated"
This reverts commit b48d3eb04e.

This patch can be occurred performance issue.
update is needed for only non-homogeneous case.
I'll revert patch and update new patch in phabricator for check.
2016-04-28 16:04:54 +09:00
SangHyeon Lee 5f7f59b3d8 Revert "genlist: scroll to item when calc is done"
This reverts commit 87b12327c3.

This patch occurred some side effect.
Need to fix the code without any side effect.
2016-04-28 16:04:54 +09:00
Vyacheslav Reutskiy 3749fed463 edje_text: don't apply ellipsis if fit is setted
Test plan:

collections {
   group { name: "new";
      parts {
         part { name: "text";
            type: TEXT;
            description { state: "default" 0.0;
               text {
                  text: "Hello world";
                  size: 12;
                  fit: 1 0;
               }
            }
         }
      }
   }
}

Fixes T3519

@fix
2016-04-28 09:45:01 +03:00
Hermet Park df96735657 elementary/elm_prefs: preserve compatibility.
C++ doens't allow empty size structure, empty structure looks harmful.

I've thought about the solution and this patch is my conclusion.

Because I'm not a big fan of elm_prefs,
if you have any better idea then please fix it on your way.
2016-04-28 14:12:16 +09:00
Andy Williams 7c19fed3e3 elementary: Re-add some old icon names as deprecated 2016-04-27 22:22:09 +01:00
Chris Michael 219a18efa4 elput: Remove dead comment and fix error message
NB: Minor cosmetic changes such as removing a commented out line of
code and fixing an error message

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-27 12:56:11 -04:00