Commit Graph

13447 Commits

Author SHA1 Message Date
Carsten Haitzler 5e09d1307b eo base - remove the duplicated key dels and just do eo_key_del() now
this rationalizes all the duplicated key dels (key_data, key_obj and
key_value).
2016-04-21 18:02:31 +09:00
Mykyta Biliavskyi b63b00c1b8 Edje edit: fix aspect_preference value into generate code function.
Add value "SOURCE" as one of possible values for aspect_preference
attributes.
@fix
2016-04-21 11:47:38 +03:00
Mykyta Biliavskyi 2006c01c06 Edje edit: add new program actions into code generate function.
Generate edc source code for next action types:
  - EDJE_ACTION_TYPE_FOCUS_SET
  - EDJE_ACTION_TYPE_FOCUS_OBJECT
  - EDJE_ACTION_TYPE_PARAM_COPY
  - EDJE_ACTION_TYPE_PARAM_SET
2016-04-21 11:47:30 +03:00
Mykyta Biliavskyi e634a7cc86 Edje edit: fix get list of program tagrets.
Correct support all types of program actions for constructing
list of targets.
There are 3 group of actions, that related to targets:
 - Does not support targets at all.
 - Support only parts as targets.
 - ACTION_STOP, that supported parts and other programs as targtes.

@fix
2016-04-21 11:47:23 +03:00
Jean-Philippe Andre 6826ce1c6f Examples: Fix compilation (disable CXX examples!)
Warning: This disables CXX examples because they use
now-internal APIs that have no EO API binding.
Those examples should be updated to use Efl.Ui widgets... once
we have them.
2016-04-21 17:16:53 +09:00
Carsten Haitzler 26b5eb8a26 eo base - add loop_get for base class
base class objects will ask their parent object to get the loop. this
means it recurses all objects regardless of type until it finds an
object that returns a proper loop object - eg a loop object returns
itself, a window, gfx/ui object returns the mainloop object etc. etc.

@feature
2016-04-21 15:19:36 +09:00
Jean-Philippe Andre 9551867c52 Edje: Fix tests build without installing edj files
This mostly reverts acc01fe229

This simply uses DEPENDENCIES.
2016-04-21 14:52:53 +09:00
Cedric Bail acc01fe229 edje: seems the only way to force the build of this files.
I can't figure out what is wrong with using BUILT_SOURCES. It should
work, but doesn't. Moving to use _SOURCES is impossible again (variable
again). Using the _DATA is the only technically working solution. Which
they will be installed on your system even if you don't need them. If
you find a way around it and still get them to build, please patch.
2016-04-20 21:53:50 -07:00
Carsten Haitzler ab06bfdfab Revert "edje: build again edje files needed for tests"
This reverts commit 13b4a56ddc.

sorry cedric. this totally broke efl build. eo/eolian etc. is not
built before evas for example and so build totally falls apart.

yes - it makes no sense that this one change would cause that. it
doesnt make sense. but it did. :(
2016-04-21 11:15:33 +09:00
Cedric BAIL 54126d8fa5 ecore: use restartable event for main loop event. 2016-04-20 15:54:18 -07:00
Cedric BAIL c0bce3e23e eolian: add tests for restartable event. 2016-04-20 15:53:33 -07:00
Cedric BAIL 842a020e1f eolian: add support for restartable event. 2016-04-20 15:53:16 -07:00
Cedric BAIL 7cb53a3ae2 eo: let's check that this nested restarted event are working somehow. 2016-04-20 15:52:41 -07:00
Cedric BAIL 1fd049510f eo: add support for restartable event inside nested call.
The idea is that when you are processing those events from within
they won't call twice any of the event until all of them are processed
at least once (Or one of them did return EINA_FALSE).
2016-04-20 15:50:46 -07:00
Cedric BAIL 13b4a56ddc edje: build again edje files needed for tests 2016-04-20 15:19:44 -07:00
Stefan Schmidt 500750323d tests: fix another redefine of Ecore_Cb build break 2016-04-20 15:31:13 +02:00
Mike Blumenkrantz ad9ae67e46 ecore-wl(2): add copyright headers (MIT) from weston
these files were created containing code which was very obviously copied from
weston. when copying code, copyright headers must also be copied in order to
comply with licenses.
2016-04-20 08:47:01 -04:00
Duna Oh fbe4e4b6ad Ecore: Use calloc() to initialize Ecore_Event_Mouse_XXXX
Summary:
To ensure initialize all fields of Ecore_Event_Mouse_XXX,
use calloc() instead of malloc().

Test Plan: N/A

Reviewers: gwanglim, cedric, raster, devilhorns, ManMower, zmike

Subscribers: jpeg, input.hacker, JHyun

Differential Revision: https://phab.enlightenment.org/D3906
2016-04-20 08:33:20 -04:00
Tom Hacohen 115b69fd47 Eolian cxx tests: don't redefine Ecore_Cb. 2016-04-20 13:30:50 +01:00
Jean-Philippe Andre 80da5099c1 Elm: Don't install box, table and grid eo files
Box, Table and Grid now belong to legacy land.
Their Evas counterparts are already not installed anymore,
and Efl.Ui.Box and Efl.Ui.Grid are here to replace those
widgets (note: code was initially copy & pasted).

This should fix installed EO files consistency.
2016-04-20 20:39:58 +09:00
Stefan Schmidt f74c4bbce7 docs: eldbus: add class and property descriptions for eldbus model files
Also fix some existing docs while being there.
2016-04-20 12:46:41 +02:00
Stefan Schmidt 3e4a902270 docs: eio: add class description for eio model class 2016-04-20 12:46:41 +02:00
Stefan Schmidt 2452e8dee8 docs: edje_edit: add class description 2016-04-20 12:46:40 +02:00
Carsten Haitzler bc4d43a1cc eo base: names - add finding functions to fund by name
this finds child objects by walking the child tree searching children
by using the search string which can be name, class:name and both
class and name can also be a glob.

@feature
2016-04-20 18:29:41 +09:00
Tom Hacohen 5bec0d07b4 Ecore eo: Resolve duplicate Ecore_Cb definition. 2016-04-20 10:11:21 +01:00
Jean-Philippe Andre 2d946d03ae Efl.Pack: Rename methods and properties
- Children are now contents
- Efl.Pack_Layout is now a separate class and
  merges Pack_Engine.
- Removed dumb class Efl.Pack_Item
- Updated docs
- Added pack_ or grid_ prefixes to some methods
2016-04-20 11:15:53 +09:00
Jean-Philippe Andre 4a16e83c56 elm_text/box: Use real widgets to show off box layout 2016-04-20 10:47:40 +09:00
Jean-Philippe Andre a0f92d9bef Efl.Ui.Grid: Implement custom layout functions
Untested yet. Will need to add the common 3 classes:
- standard
- homogenous
- homogenous max_size

And then implement a true custom layout function, that
respects weights in a certain manner (need to define it
clearly).
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre e4889ca367 Ui.Box: Fix flow layout
Set align, fix usage with eo_add(EFL_UI_BOX_FLOW_CLASS).
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre f2eff88640 Efl.Ui.Box: Add pack_align property
While at first I wanted to remove the box_align / table_align
properties, it ends up being a necessary value in some cases.
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 101cb7fe2a Efl.Ui.Grid: Fix new API behaviour
This fixes the linear API usage with a table.
TODO:
- remove internal table (as it doesn't support layout funcs)
- implement multiple layout functions (regular, homogenous, ...)
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 86a59a3a24 Elm_test/Grid: Add linear API test for Efl.Ui.Grid
At this point, it proves that the grid API does not work.
Some things still need to be implemented or fixed.
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 4b7ca8846d Elm_test/Ui.Box: Implement example custom layout function
This shows how to implement a layout function, with the
required Eo class boilerplate (note: could probably be
simpler with the appropriate macros, or a better solution
to create classes on the fly in C).

The layout function itself is awful, but shows that "it works".
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre a84468cf4b Elm_test: Add test case for Ui.Grid
Right now the proper layout functions for Ui.Grid are not
implemented, so most controls don't work. This tests that the
grid works fine as a table.
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 548efd7fa4 Efl.Ui.Box: Implement flow layouts
This reuses the Evas.Box code, since we are still using the
box internally. The flow layout function is far from perfect
(it works well only with items of same height).

This shows how to use specific layouts provided by EFL.
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 24eccb6d62 Efl.Ui.Box: Implement way to override layout function
So, since we don't have function pointers, all the solutions
to reimplementing the layout function are quite convoluted:

1. use events
2. reimplement layout func
3. use an extra object
4. use a generic class (non instanciated)

Promises don't apply here (layout will run multiple times).

Problems:

1. Multiple event callbacks will be called, resulting in
   potential performance impact, extra events, etc...
   Also, there is no way to define standard implementations
   that would be provided by the framework.

2. Reimplementation of a function requires extra EO work
   (create an EO class, etc...), doesn't allow on-the-fly
   change of the layout method.

3. Probably the best solution is to have an object implementing
   the layout. But this means creating an extra object along
   with the container.

4. To avoid the extra object, use a class, and reimplement
   a @class function. This unfortunately requires extra
   EO work.

Solution 4. has been selected, but it's not very nice...
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 94228d2683 Elm_test: Add basic test case for the new box api 2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 11403a4ec4 Elm: Compile in box and grid
Ui.Grid is definitely not complete.
Ui.Box still needs a few adjustments:
- alternative layout
- aspect ratio support
- RTL support
- remove evas box
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 2343aa7900 Efl.Ui.Grid: Add implementation of a grid/table
This is only a partial implementation, work in progress.

The grid object should be a replacement for evas and elementary's
table and grid. Only the layout of items inside the container
is different, otherwise the API should be the same.

For now, this widget is based on an evas table but the full
layout logic will need to be reimplemented, eventually.

@feature
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre b18a993dc0 Efl.Ui.Box: Add implementation of a simple box
This should be the only linear packing container.
This replaces: evas box and elm box.

Edje box needs to be kept around for compatibility,
but it stays an EDC object only (for apps).

Lots of things are still to be fleshed out in this
box implementation:
- Simplify smart object / elm widget code
- Maybe stop using evas object box altogether
- Implement other layout strategies

@feature
2016-04-20 10:47:40 +09:00
Jean-Philippe Andre 57e64ee65b Efl: Add skeletton for new containers "Pack" API
I chose the name "pack" instead of containers because it
is shorter, and allows out-of-the-box short C names like
efl_pack_end() instead of efl_container_pack_end().

All Pack interfaces will use the same efl_pack eo prefix.

This is still work in progress.

@feature
2016-04-20 10:47:40 +09:00
Derek Foreman bb036dbceb wayland_shm: Remove debug detritus
Should've been removed before push.  Oops.
2016-04-19 16:40:27 -04:00
Derek Foreman 45a662c91c wayland_shm: Add dmabuf support
This adds a separate backend to the "shm" engine that allows allocation
of buffers via libdrm that can be turned into dmabuf handles and used
with the wayland dmabuf extension.

Currently only the intel buffer manager is supported.

The benefit of dmabuf buffers is that they don't require a texture upload
like shm buffers do, and when we have plane support they can be dropped
directly into a plane without a memcpy.
2016-04-19 15:11:10 -04:00
Derek Foreman baad0d50db static_libs: Add libdrm headers (for wayland_shm)
wayland_shm's dmabuf implementation needs acess to libdrm headers for
doing GPU specific memory allocations.  We search for these libraries
at runtime with dlopen, so we don't need to find them at build time,
however certain struct definitions and defines are still required.
2016-04-19 15:11:10 -04:00
Derek Foreman 0d684d4559 wayland_shm: Refactor surface creation
Split this into two parts, one that makes the base surface, one that
calls the potential back ends.

Once the dmabuf backend is added this will allow a fallback path to
re-initialize the surface as wl_shm if dmabuf fails.
2016-04-19 15:11:10 -04:00
Derek Foreman 8635f56aeb wayland_shm: pass engine info to shm_surface_create
Gratuitous change to pass less parameters and make some code prettier.
2016-04-19 15:11:10 -04:00
Derek Foreman 0ada4d3d56 wayland_shm: Pull the damage stuff out of evas_shm
This doesn't really care what the buffers were allocated with, so
let's make this chunk of code useful to both the shm method and the
upcoming dmabuf one
2016-04-19 15:11:10 -04:00
Derek Foreman 11cf0206e4 wayland_shm: Minor clean up of _evas_shm_surface_post
Some gratuitous cosmetic fixes
2016-04-19 15:11:10 -04:00
Derek Foreman 2c33bae2d5 wayland_shm: Don't pass num_buff to reconfigure
We can't really reconfigure the number of buffers after they're created,
there's nothing above us that would try to do it...
2016-04-19 15:11:10 -04:00
Derek Foreman e5fb4cada7 wayland_shm: Gratuitous code simplification
Refactor evas_outbuf_setup a bit so there's only one call to
_evas_shm_surface_create.

Also makes the NULL return on unhandled rotation a lot more obvious.
2016-04-19 15:11:09 -04:00
Derek Foreman 405b278528 wayland_shm: Pass Evas_Engine_Info_Wayland_Shm directly to setup functions
We pretty much pass all its contents anyway.
2016-04-19 15:11:09 -04:00
Derek Foreman 34e539a3c1 wayland_shm: Add dmabuf to engine info
Get the dmabuf protocol object from ecore_wl2 and store it in engine info
2016-04-19 15:11:09 -04:00
Derek Foreman f7cbb12fd4 ecore_wl2: Add API to get dmabuf protocol object 2016-04-19 15:11:09 -04:00
Derek Foreman ed665ee6ee wayland_shm: Abstract the actual shm operations
Make the Surface carry function pointers and the shm surface create
function set them.  This refactor makes implementing dmabuf operations
simpler.
2016-04-19 15:11:09 -04:00
Derek Foreman 63a255750b wayland_shm: Remove outbuf_reconfigure function pointer
We only ever call it from one place, and we only ever initialize it
to one value, so there's no need for a function pointer.
2016-04-19 15:11:09 -04:00
Derek Foreman 4c61ec5e05 wayland_shm: Remove unused dx, dy params from resize functions
We don't appear to actually use these for anything except long term storage
2016-04-19 15:11:09 -04:00
Derek Foreman 7cd2693075 wayland_shm: Drop ifdefs around damage_buffer
We now depend on wayland 1.10.0 so damage_buffer is always going to be
present in the headers - we no longer need ifdef checks.
2016-04-19 15:11:09 -04:00
Derek Foreman cd124f938f wayland_shm: Make new Surface abstraction to wrap Shm_Surface
Wraps the Shm_Surface allocator in a new Surface type that will
potentially use different allocators, such as dmabuf in a future commit.
2016-04-19 15:11:09 -04:00
Derek Foreman d6e5bdf428 ecore_wl2: Bind dmabuf global if available
Bind the dmabuf global so we can make use of it later.
2016-04-19 15:11:09 -04:00
Derek Foreman 7514d08ae6 ecore_wl2: Add generated dmabuf files
This adds the framework for the dmabuf protocol for wayland - the files
are generated with wayland-scanner.
2016-04-19 15:11:09 -04:00
Derek Foreman 78688b226f wayland_shm: Move Shm private structures into evas_shm
Refactor all the shm specific stuff into evas_shm so it can better
co-exist with upcoming dmabuf allocations
2016-04-19 15:11:09 -04:00
Derek Foreman 7e2f5e759e wayland_shm: Remove flags
We only used this for resize, and didn't actually even need it then.
2016-04-19 15:11:09 -04:00
Derek Foreman 745435deab wayland_shm: Don't use number of buffers in swap mode calculation
The number of allocated buffers shouldn't change a thing...
2016-04-19 15:11:09 -04:00
Derek Foreman f92c2d2330 wayland_shm: Return buffer age from shm_surface_assign
This makes refactoring the Surface abstraction a little easier.
2016-04-19 15:11:09 -04:00
Cedric BAIL 7c743b6754 Revert "Set the name for table, box items"
This reverts commit 6f7608befd.

Item in table and box do not need names as they have an index. This
is breaking ABI for edje application that rely on getting the index
properly when a signal is emitted. To be precise, this did break
elemines.
2016-04-19 11:56:17 -07:00
Cedric BAIL eb408809ad eo: fix borkage. 2016-04-19 11:28:36 -07:00
Tom Hacohen cfd7b57006 Eolian: Turn on strict type checking.
Thanks to q66 for the code.
I'm stealing credit here because:
1. I'm lazy.
2. He's lazy and doesn't deserve it.
2016-04-19 17:15:28 +01:00
Tom Hacohen 6f4f9bd051 Elm glview: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen fb110d2de8 Elm box: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen bd14c3ffd3 Elm web: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 4264a58a11 Elm app server view: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 7d5bcd1a2c Elm slideshow: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 8b6948fa42 Elm app client view: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 64cb0942d4 Elm app server: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen aa577541e8 Elm gengrid: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 8cfa381452 Elm map: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 86720888fa Elm calendar: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 8425b07fbf Elm eo: Make Eina_Compare_Cb accessible to all widgets. 2016-04-19 17:15:28 +01:00
Tom Hacohen 1bddce0113 Elm sys notify interface: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 5e670d05af Elm prefs: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 22345bd744 Elm app client: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 746581865f Eo eina types: Add Eina.Value. 2016-04-19 17:15:28 +01:00
Tom Hacohen 83b8b6da07 Elm multibutton entry: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 7d45bbcc5e Elm app server: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen b2be0b0506 Elm genlist: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 352a9055b2 Elm view list: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen ff0f41933f Elm naviframe item: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 82591ac46e Elm interface fileselector: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 179395126d Elm slider: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 6989db76c2 Elm toolbar item: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen efcf577efd Elm systray: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 4d026032d0 Elm toolbar: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen e1c1bbbc4a Elm list: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen bb0bcce384 Elm layout: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen f021a858ad Elm atspi text: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 9933362a12 Elm atspi widget action: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 4d89465caf Elm hoversel item: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen f8dbd98e84 Elm win: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 79cbfd7c23 Elm check: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 3cb13c4f83 Elm image: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 42bfde5088 Elm entry: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 8ea5cbb0bf Elm atspi accessible: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 02619820c9 Elm widget: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 4cc81388d6 Elm gesturelayer: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 80310b1cbe Elm photocam: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 452254e5ec Elm general: Ignore more types (callbacks) in eolian. 2016-04-19 17:15:28 +01:00
Tom Hacohen dc05a18731 Elm interface scrollable: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen bb4c14e9cc Elm widget item: Fix eo type errors. 2016-04-19 17:15:28 +01:00
Tom Hacohen 002456f92b Elm gen item: Add missing eolian type definitions. 2016-04-19 17:15:28 +01:00
Tom Hacohen 079003d043 Elm eo files: Add missing include of efl_types. 2016-04-19 17:15:28 +01:00
Tom Hacohen 30df9d1092 Eo base: fix parameters to be the correct type.
Eo is not a type Eolian is aware of, the correct type is Eo.Base.
2016-04-19 17:15:28 +01:00
SangHyeon Lee 81f45c1b90 genlist: call update_job after smart_calculation done
Summary :
if item_update happens before the smart calcuate finished,
item can be delayed updated(next frame).
to prevent this issue, if unsolved job is remaining after
smart calc done, call update_job directly and remove job.

@fix
2016-04-19 18:43:55 +09:00
Carsten Haitzler 45456d9e82 eo base - add value keys in addition to object and void ptr data keys
eina value would allow any value to be attached to an eo object and
also be freed nicely too. this would allow any generic data to go
there without overloading a void * that us c coders love to abuse.

@feature
2016-04-19 18:36:57 +09:00
Carsten Haitzler 1b266ff1e4 eo base - clean up base data struct formatting
just a cleanup of the struct formatting/spacing
2016-04-19 17:40:11 +09:00
Carsten Haitzler 96142eef96 eo - add object comments - esp useful for erigo and gui builders
also useful for debugging and more. this also makes both name/id and
comment an extension blob of ram so objects dont keep growing
boundlessly in memory usage/size

@feature
2016-04-19 17:21:21 +09:00
Carsten Haitzler 86e7d642d5 eo - add object names/ids esp useful for erigo as it wants object names
also evas objects have names too, so add this as this was discussed
and now the feature is in. there is nothing to find objects by name
yet. that's more api's and features to add after this.

@feature
2016-04-19 16:34:53 +09:00
Carsten Haitzler 1bf509548c eina value test - gix blob check to check only relevant fields
the value check for blobs was checking unused fields in a union and
thats just bad. check only fields that matter to the blob.

@fix
2016-04-19 16:33:33 +09:00
SangHyeon Lee b48d3eb04e genlist: recalc item size after item content field updated
Summary :
after item content fields updated, item and block should be
recalculated about it's height because content size can be updated.
if do not recaculate, items can be overlapped.

@fix
2016-04-19 14:57:45 +09:00
Jean-Philippe Andre ffede186c8 edje_cc: Fix filters inheritance
This was broken in c0f887b429 (2015/10/01).
What happened was: ted->filter is not part of tex->text anymore,
so it didn't get copied over from the parent.

Thanks @zmike for the report and pointing out the bad commit.

Fixes T3467.

@fix
2016-04-19 14:48:35 +09:00
Jee-Yong Um 87b12327c3 genlist: scroll to item when calc is done
Summary:
If elm_genlist_item_bring_in() is called immediately after appending
item, genlist will not scroll to the last one but stop in the middle.
This patch blocks genlist from scrolling to not calculated item.

Test Plan:
1. Uncompress attached file
2. make
3. ./test

Reviewers: cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3861
2016-04-19 14:00:42 +09:00
Jee-Yong Um 3f17d0d090 elementary: remove redundant reswallow logic in elm_layout
Summary:
When theme is changed by elm_layout_theme/file_set,
_edje_object_file_set_internal will be called internally
and it updates swallowed objects.
Elm.Layout doesn't need to reswallow its child objects.
(with current code, searching cost for real part occurs.)

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-18 16:33:46 -07:00
Andrii Kroitor 29a9be35ee edje_edit: add missing mempools on group copy
Reviewers: reutskiy.v.v, cedric

Subscribers: cedric, FurryMyad, NikaWhite, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-18 16:32:36 -07:00
Jee-Yong Um 11cdd13945 edje: add test for edje_object_part_box_insert_after()
Summary:
This test checks the validity of edje_object_part_box_insert_after().
It depends on D3733.

Reviewers: jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-18 16:21:07 -07:00
Subhransu Mohanty 648422c60b efl: add new efl_gfx_shape_append_arc() api.
Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-04-18 15:32:39 -07:00
Cedric BAIL aa614fa023 ector: rg_etc is always needed for color conversion. 2016-04-18 14:43:48 -07:00
Cedric BAIL 59e6c03118 evas: etc code is now always needed for the color conversion logic. 2016-04-18 14:41:47 -07:00
Stefan Schmidt c5b00c5974 ecore_audio: document ecore_audio core class
Merging some property descriptions and some smaller changes.
2016-04-18 22:07:31 +02:00
Stefan Schmidt a8a0c2b4a1 ecore_audio: document all ecore_audio_out classes 2016-04-18 22:07:31 +02:00
Stefan Schmidt 67147dc331 ecore_audio: document all ecore_audio_in classes
For the properties we really only need to document the property itself and not
its setter and getter functions.
2016-04-18 22:07:31 +02:00
Daniel Kolesa 525dcaa6ab eolian: fix invalid type_type mapping in lua bindings 2016-04-18 16:09:21 +01:00
Stefan Schmidt 6fc6a9eebe elm_photo: make sure we have a separate variable for the sanitized path
That way we can safely free it again after it got memory allocated from
eina_file_path_sanitize(). Fixes a memory leak.

CID: 1353601
2016-04-18 16:02:30 +02:00
Stefan Schmidt 6b7172d6e3 elm_atspi_bridge: unref eldbus msg before returning to avoid memory leak
If we goto fail here we still have the ret eldbus message referenced. Make
sure we unref so it can be free'd and we do not leak memory.

CID: 1353603
2016-04-18 16:02:07 +02:00
Stefan Schmidt 39eb3004f8 elm_spinner: free string in all cases before returning
If len < max_len was true here we leaked new_str. Make sure we also free it
in this case.

CID: 1353605
2016-04-18 16:01:21 +02:00
Stefan Schmidt ed793bab3b elm_conform: fix memory leak for state variable
Make sure we actually free state here before going out of scope.

CID: 1353606
2016-04-18 16:01:02 +02:00
Stefan Schmidt 28dfe2f0ff eolian: free impl_full_params strbuf before going out of scope
Just missed impl_full_params here while all others are free'd fine.

CID: 1354287
2016-04-18 16:00:49 +02:00
Daniel Kolesa d8285ce651 eolian: fix object scope def in lua bindings 2016-04-18 13:50:28 +01:00
Carsten Haitzler 84a4870d5b ecore exe: don't allocate inside fork to avoid issues with mem debuggers
so i've been doing some debugging and having a mem debugger that
preloads and tracks allocs means you need locks, but locks can do
nasty things after forks + threads.... esp if threads held locks.

this allows mem debugging with preloads easily and doesn't muck things
up.
2016-04-18 21:46:25 +09:00
Tom Hacohen 70537370a1 Edje tests: Add parent upadting tests to edje. 2016-04-18 10:10:23 +01:00
Tom Hacohen cd26435434 Elm layout: Add parent updating tests to elm layout. 2016-04-18 10:10:23 +01:00
Tom Hacohen 1d7caffed5 Elm popup: use the correct parent for calculations.
It just so happens that these parents are the same at the moment.
They don't have to be. We should use the correct, popup specific parent for
that.
2016-04-18 10:10:23 +01:00
Tom Hacohen aff4171e73 Elm widget: rename parent to widget_parent and mark as protected.
This removes the conflicts between the different parents and also
indicates that this is to be used internally by widgets and should
not be confused with the normal user visible parent.

It is an internal attribute that should not be used by people
not implementing widgets. Marking it as protected signifies it
as such.
2016-04-18 10:10:23 +01:00
Tom Hacohen a73cdbdb46 Elm: Reparent when swallowing an object.
Make the layout the parent on swallow, and the canvas the parent on
unswallow.
2016-04-18 10:10:23 +01:00
Tom Hacohen 4d0494574b Edje: Reparent when swallowing/unswallowing.
On swallow make the edje object the parent, on unswallow the canvas.
2016-04-18 10:10:23 +01:00
Tom Hacohen 878a3d952c Evas object: rename smart_parent to render_parent and mark as protected. 2016-04-18 10:10:23 +01:00
Jihoon Kim 8c1776d177 ecore_imf/wayland: Fix bug language changed event is always called 2016-04-18 14:51:46 +09:00
Carsten Haitzler b7d882515d eina mempool: don't allow 0 sized mempools
there is no point in having a mempool with a max 0 size. this leads to
us mallocing 0 bytes for the base. not good. make minimim size 1. :)

@fix
2016-04-18 09:31:08 +09:00
Felipe Magno de Almeida 75c741ff2b Eo: Silence warning about no side-effect in _eo_add_common
Added a cast to void to silence the warning about no side-effect on
GCC.
2016-04-17 14:53:23 -03:00
Stefan Schmidt f012499f47 docs: document ecore_mainloop class, functions and events. 2016-04-17 17:42:41 +02:00
Stefan Schmidt e728ea168f docs: add description for ecore_poller class and cleanup some other parts 2016-04-17 17:42:40 +02:00
Stefan Schmidt 4f6cc20e84 docs: fix some typos in ecore_timer EO docs 2016-04-17 17:42:40 +02:00
Daniel Kolesa 7a9fbd27ab elua: more file utilities in clib 2016-04-16 18:15:57 +01:00
WooHyun Jung 1c6f3fd966 elm_focus: keep all focused states to be consistent when win loses and gets focus
Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix
2016-04-16 13:47:13 +09:00
WooHyun Jung f24dce9bc9 elm_win: remove duplicated focused/unfocused event call
These are already called in elm_widget's on_focus.

@fix
2016-04-16 10:37:34 +09:00
Oleksandr Shcherbina b090763a1a evas: update evas-3d-shadow example
Summary: Add possibility turn on/off rendering scene with/without post processing

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-15 11:20:14 -07:00
Jee-Yong Um 974daa5f98 edje_cc: delete anonymous lookup during program removal
Summary:
program_remove attribute allows to remove program inherited from
parent group, but if its action is EDJE_ACTION_TYPE_SCRIPT,
anonymous lookup also should be deleted.

@fix

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-15 11:20:07 -07:00
Cedric Bail fdaedf2bff autotools: fix make distcheck. 2016-04-15 11:07:02 -07:00
Tom Hacohen e3e9de236c Edje tests: Don't ship test edje files and clean up their generation.
This was duplication hell and also quite stupid. This commit should fix
this mess (to an extent).
2016-04-15 18:20:34 +01:00
Tom Hacohen b337558fd6 Edje tests: Fix tests when running out of source and remove hack.
There was a seriously horrible hack here to workaround this issue. This
hacks goes all the way back to 3e07236. The essence of the hack was to
try the system files for the tests (and I guess that's why we were
shipping them although we really shouldn't).

This change fixes the file lookup for out of source files.

Hat-tip to zmike for pointing me to abs_top_buildir.
2016-04-15 18:18:22 +01:00
Tom Hacohen 68417186a9 Elm test layout: Fix indentation. 2016-04-15 15:41:36 +01:00
Tom Hacohen c1781eb9c8 Elementary tests: Migrate the suite to the efl test infra. 2016-04-15 14:39:56 +01:00
Tom Hacohen 7c5f81d30f Eo: Make sure semi-colons and other directives aren't used in eo_add.
This was already enforced in the legacy version but was not enforced in
the GCC extension version. This change makes sure it's disallowed in
both.
2016-04-15 13:53:02 +01:00
Tom Hacohen 6d135944be Elm ctxpopup: Remove useless implementation of sub_object_add.
Was just calling super and nothing more.
2016-04-15 13:45:41 +01:00
Chris Michael 22e3ea20ee elput: Adjust EAPI for windows build
Small patch to fix definition of EAPI on Windows. Thanks to vtorri for
reporting.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-15 08:13:47 -04:00
Youngbok Shin 726c6171bf Elementary Toolbar: Send order signals when a item is added/removed
Summary:
Send order signals for changing item's state according to its order.
It does not affect to existing themes. It sends the following signals.
	elm,order,first,item
	elm,order,default,item
	elm,order,last,item
@feature

Test Plan: N/A

Reviewers: woohyun, jaehwan, eagleeye, cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3883
2016-04-15 15:10:49 +09:00
Cedric BAIL d162a5e6e1 autotools: fix build after hungry rebase. 2016-04-14 17:05:35 -07:00
Cedric BAIL fb759c7b90 examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
Cedric BAIL 70cc3677ae elementary: make it possible to build the library alone. 2016-04-14 16:22:23 -07:00
Cedric BAIL 968dcaae34 eio: make it possible to build the library alone. 2016-04-14 16:18:19 -07:00
Cedric BAIL 847fb931c2 ector: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 192a966e60 ecore: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 561b14f0c7 edje: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 055b98a1d4 efl: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL f4441e5a21 eo: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL e109341fdb autotools: allow reuse of some macro for subdirectory Eolian build. 2016-04-14 16:07:32 -07:00
Cedric BAIL 3ccfd987ec eet: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 66bc74bbe6 emile: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 41f68ac0d3 eina: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 4c92120457 evil: make it possible to build the library alone.
So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.

For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.
2016-04-14 15:52:50 -07:00
Tom Hacohen ba4796d1b2 Eo base: Improve documentation. 2016-04-14 18:34:16 +01:00
Stefan Schmidt 5a3af92e5b docs: add description for class and method parameters 2016-04-14 18:27:42 +02:00
Stefan Schmidt 3c93a3268c docs: add method parameter descriptions for ecore_idle_*
Now that we support these in docgen catch up in some example EO files.
2016-04-14 18:27:42 +02:00
Stefan Schmidt f9189fea78 docs: add class and method parameter descriptions to ecore_idler class 2016-04-14 18:27:42 +02:00
Tom Hacohen bd98b51717 Eo base: Make parent nullable.
It's allowed to be null, so mark it as such. This is useful
for languages that support nullable vs non-nullable types.
2016-04-14 16:36:10 +01:00
Shinwoo Kim ca225e7bf3 edje: fix invalid calculation to get a circular dependency 2016-04-14 21:55:14 +09:00
Vitalii Vorobiov a69903e3b2 datetime_input_ctxpopup: delete previously created ctxpopup if theme is broken
Summary:
Or else it will create dozens of ctxpopup's if user applied wrong or broken
theme that do not remove ctxpopups at all (lack of programs/signals or whatever
brokes ctxpopup behaviour)

@fix

Reviewers: cedric, reutskiy.v.v, NikaWhite, raster, an.kroitor, wc, Hermet

Reviewed By: Hermet

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3885
2016-04-14 20:35:42 +09:00
Oleksandr Shcherbina 172cfa0f04 evas.canvas3d: Change shade_mode to shader_mode
Summary:
enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code.
So renaming have a sence.
Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get
Rename internal fields and functions

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3882
2016-04-14 20:28:20 +09:00
YOhoho 35941c4ad1 Elementary: fix PACKAGE_DATA_DIR value
Summary:
when run elementary_config, It can't find 'font_preview.edj'.
i modified PACKAGE_DATA_DIR value.

Test Plan: elementary_config

Reviewers: Hermet, cedric

Subscribers: conr2d, jpeg

Differential Revision: https://phab.enlightenment.org/D3887
2016-04-14 20:06:46 +09:00
Carsten Haitzler ff253bff08 eo - key obj reference - don't unref on del event callback
object is being deleted by cb - don't unref as we are already at 0.
2016-04-14 10:35:18 +09:00
Chris Michael 43360ca98a elput: Add API function to set output size on an input device
This function is used to adjust device calibration based on size of
output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 404b3049f3 elput: Add API function to set input window
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 6c85fe7514 elput: Add event which can be raised when devices get added or removed
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 6a7589bf78 elput: Handle various events from libinput and pass to ecore_event
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael b01666075d elput: Add event structures for keymap and modifier sending events
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 5db91e3802 elput: Create and send seat frame events when we need to
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael b764978f29 elput: Create and raise event when seat capabilities change
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 3070c4cf08 elput: Add support for creating and removing devices
This patch adds start of code to create or remove input devices such
as keyboards, pointers, or touch devices.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael bd0d4ba60f elput: Start code to process events from libinput
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael f832d2019c elput: Add API function to initialize and shutdown input devices
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael b5422700c0 elput: Remove vt activate/restore from input manager interface
As this library is just going to deal with libinput, we don't need to
have interface functions to activate or restore a virtual terminal.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 1ce6cd4382 elput: Add API functions to open and close an input device
This adds new API functions which can be called to open or close an input
device and take control (or release control) of said device

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael ed3a1f3958 elput: Add input manager interface and APIs to connect & disconnect
This commit adds the start of the Elput Manager & Interface code. This
will be used as an inteface to various backend methods of session &
device control (ie: systemd, direct interface, etc). This will provide
various abstractions for working with libinput when opening/closing
input devices.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 08482e1ca4 elput: Add test framework for Elput library
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael f8964fcf2e elput: Initial checkin of elput library
The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc) to
handle interfacing with libinput without having to duplicate the code
in each subsystem.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Davide Andreoli c23a61a49c eo: adjust direction of parameters
They are OUT params in real

Side note: the doc for this function miss the x parameter in the generated .eo.h file
...if someone want to look at the doc generation code.
2016-04-13 20:14:14 +02:00
Felipe Magno de Almeida 35dd5b5cab eina: Fix promise error with eina_promise_all
Fix value_set and error_set signatures which were receiving a
owner. They actually receive the promise and not the owner, this
caused wrong access to memory and were not visible by warnings because
the functions are casted.

This problem caused errors in which it seemed that promise had
actually error'ed when questioned it.
2016-04-13 14:44:19 -03:00
Chris Michael acc1a5dcc0 ecore-drm: Don't leak object properties
When fetching possible planes for an output, we end up leaking object
properties here as these were never freed.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 12:55:59 -04:00
Stefan Schmidt 89d63475ae docs: add descriptions and and more to ecore.idle classes 2016-04-13 17:01:23 +02:00
Stefan Schmidt 9f63aaca13 docs: add description for ecore.exe class and events 2016-04-13 17:01:23 +02:00
Carsten Haitzler c2e26a5121 edje - delete obj - null out freed items in structs/data
i just got a segv freeing ian invalid ptr... it SEEMS as if something
has tried to free and edje object twice... but i can't be sure as
valgrind can't catch this. it's a one-off, so ensure after free, we
NULL out things we freed to avoid this.

@fix
2016-04-13 20:02:12 +09:00
Amitesh Singh bc9bde253a ctxpopup: pass const object ptr as argument in horizontal_get() 2016-04-13 16:11:19 +05:30
Amitesh Singh 1e74fd73ad example: eina log - set eina log levels in examples 2016-04-13 15:29:29 +05:30
Cedric BAIL fedc8939cc eldbus: make tests suite more robust to initialization count change. 2016-04-12 10:40:58 -07:00
Carsten Haitzler 8be56c9498 eo - add object sotrage in generic values with ref/unref
this adds eo_key_obj_set/get/del() like with data but for object
handles so the obj is ref'd as long as the key and parent obj exists
and then unreffed on deletion. it also tracks deletion of reffed
objects like weak refs and then removes the key automatically.

@feature
2016-04-13 01:06:40 +09:00
Stefan Schmidt 5065356ae6 tests/eldbus: add now needed calls to ecore_init/shutdown
Since commit 53c66c98c2 eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
2016-04-12 17:22:28 +02:00
Stefan Schmidt 8712f03f57 tests/eldbus_cxx: add ecore_init calls in tests now that eldbus does no longer
Since commit 53c66c98c2 eldbus o longer calls
ecore_init() wo we need to handle this. Fixes edlbus_cxx tests cases.
2016-04-12 16:55:48 +02:00
Tom Hacohen de1a7759fa Eina matrix/vector tests: pass correct pointers to arrays.
Clang (rightfully) complained about passing double ** where we should have
passed a double *.
2016-04-12 15:45:10 +01:00
Tom Hacohen 1d71d21d35 Eet test: renamed shadowing variable. 2016-04-12 15:40:49 +01:00
Tom Hacohen b4da02cac2 Elm test web: Correctly disable the web tests.
This gets rid of some clang warnings.
2016-04-12 15:39:36 +01:00
Tom Hacohen f14305024e Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
2016-04-12 15:23:55 +01:00
Amitesh Singh 736fb9d498 ctxpopup: implement Efl.Orientation interface functions
Also move horizontal_set/get as legacy APIs.
2016-04-12 17:51:45 +05:30
Carsten Haitzler febfa6de9d ecas gl: ensure make current/window/outpbut enabled before flushing
this should cover up possible texture leaks from gl engine with a null
context on font freeing.

@fix
2016-04-12 17:30:48 +09:00
Carsten Haitzler 53c66c98c2 ecore - system modules - fix eldbus interdependency and complaints
so ecore uses ecore system modules ... that use eldbus. eldbus inits
ecore. this is a vicious cycle. eldbus shouldnt init ecore. it's a
dependency but should be provided outside of initting eldbus. this all
led to hack-arounds on initting eldbus in these ecore modules that
just break things like shutting down eldbus when still in use.

this ensures any pending messages are canceled on ecore module shutdown.
this ensures every ecore module fully inits and shuts down eldbus as
they should so refcounting the inits works.
this stops eldbus from inittign ecore to avoid the circuluar dependency.

this stops lots of CRI/ERR complaints eg if you run elua with no
cmdline options.

this is just better.

@fix
2016-04-12 14:11:32 +09:00
Carsten Haitzler f54a2eb570 ecore system upower - silence if service doesnt exist
this silences come complaint warnings that should not be noisy - eg if
upower dbus service doesn't exist.
2016-04-12 12:51:48 +09:00
Carsten Haitzler af4c3c0fe1 evas gl - fix leak with font glyph textures
some font glyphs are still allocated after tyhe last gl window is
freed which means we can't make current anymore to free textures after
that. this fixes that by flushing gl texture info from the font cache
when the last gl windows are gone.

@fix
2016-04-12 12:47:30 +09:00
Cedric BAIL 21ee8b8337 elementary: we actually need to include this generated files or make dist will fail. 2016-04-11 11:26:06 -07:00
Oleksandr Shcherbina 1f66a9e731 evas.canvas3d: Add FXAA post processing render.
Summary:
Add post processing render function as rendering full screen quard after
rendering to texture.
Add possibility use size of current frame in shader.
Add FXAA shader source files

Reviewers: raster, cedric, Hermet

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3847
2016-04-12 00:50:46 +09:00
Hermet Park 5f9e73b966 elementary/scroller: code refactoring.
try to update scroller size when popup layout is updated.
2016-04-12 00:36:12 +09:00
Jinyong Park 33d9bcc551 elc_popup: If popup's parent is resized, popup need to resized, too
Summary:
When window's size is not enough to show popup, popup resize smaller to show it in appropriate size.
But if window resize larger enough to show popup, popup is locked in small size.
On the contrary to this case, if window resize too smaller, popup has still large size, so popup doesn't display properly.

Test Plan:
1. elementary_test popup
2. maximize test list window
3. click 8th item, "popup-center-title + items + 3 buttons"
4. restore window size
5. close popup, resize window to smaller than popup in 3).
6. click 8th item, "popup-center-title + items + 3 buttons"
7. restore window size
popup size of 4. and 7. is different

Reviewers: jaehwan, cedric, raster, id213sin, singh.amitesh, SanghyeonLee

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3854
2016-04-12 00:28:55 +09:00
Stefan Schmidt dadfe4ffb9 docs: add descriptions for ecore_con_eet_{client,server} EO classes 2016-04-11 16:52:43 +02:00
Stefan Schmidt c0afe61dd0 docs: add description to ecore_con_eet_base class 2016-04-11 16:52:43 +02:00
Stefan Schmidt 05a66cebc0 docs: document ecore_animator EO class.
Keep it brief as we want the larger parts being editable from the wiki part of
the new doc system.
2016-04-11 16:52:43 +02:00
Jinyong Park edcfc6d036 popup : fix scale calculation in _scroller_size_calc
Summary:
when calculate real size of action area in _scroller_size_calc,
edje base scale is omitted.

Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet

Reviewed By: Hermet

Subscribers: Hermet, herb, jpeg

Differential Revision: https://phab.enlightenment.org/D3857
2016-04-11 23:31:03 +09:00
Ji-Youn Park e561a65c39 Elm_icon: fix build error. --; 2016-04-11 21:48:46 +08:30
Ji-Youn Park 44d6506b8a Elm_icon: move thumb_set API from eo to legacy. 2016-04-11 21:44:31 +08:30
Ji-Youn Park 02a37da0ed Elm_thumb: move all api from eo to legacy
elm_thumb,elm_icon,elm_photo will be removed.
2016-04-11 21:31:42 +08:30
Stefan Schmidt 626decac68 build: make sure generated files in examples get cleaned up
Distcheck pointed these out as not being cleaned up and it was right. Make sure
we handle these generated files during cleanup.
2016-04-11 14:18:17 +02:00
Shuhrat Dehkanov eae53f2218 genlist: do not evaluate against max coord if the value is negative
Summary:
If x is already less than '0', there is no need to check if it is
bigger than pan_max_x. Likewise, if y is already less than '0',
there is no need to check if it is bigger than pan_max_y.

Reviewers: Hermet, cedric, SanghyeonLee, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: seoz, minkyu, sju27, jpeg

Differential Revision: https://phab.enlightenment.org/D3865
2016-04-11 17:44:56 +05:30
Ji-Youn Park 810ebb5db8 Elm_image: remove no_scale and resizable property.
elm image add new API to deal with scale type.
if we use scale type for elm_image, we don't need to use no_scale and resizable property
2016-04-11 20:03:25 +08:30
Ji-Youn Park 7b4c23489d Elm_photo: move api from eo to legacy.
elm_photo will be deprecated in the future.
so move all api from eo to legacy.
2016-04-11 13:21:05 +08:30
Felipe Magno de Almeida 62841aee3c eolian: Make promise eolian generation use macros for hooks
Modify the way hooks are defined and used by promise generation in
Eolian in the Eo API.

Instead of passing macro names as parameters to EO_FUNC_BODY macros,
just re-define the actual hooks when it is needed.
2016-04-11 01:28:50 -03:00
Carsten Haitzler eff86cd48a vpath - use double-happy format as poposed by onefang
vpath now uses a simley at the start and end of a special meta
location. i.e.:

(:home:)/blah.png
(:app.data:)/blah.jpg
2016-04-11 11:48:35 +09:00
Cedric Bail 13059e96ba elementary: fix dependencies to build clean examples. 2016-04-10 12:04:29 -07:00
Daniel Zaoui 9936b92ce3 CtxPopup: fix auto-hide property setting
Set and get functions are inconsistent one with the other. When set
function is used with a certain value, one expects the get function
to return this value.
2016-04-10 15:23:13 +03:00
Daniel Zaoui 3e02f6fd4c Ecore Exe: check parameter validity 2016-04-10 15:15:08 +03:00
Daniel Zaoui b29340b3a1 Edje: check parameter validity 2016-04-10 15:15:08 +03:00
Daniel Zaoui 49f0f09661 Ecore_Con: protect access to internal data 2016-04-10 15:15:08 +03:00
Jean Guyomarc'h ca346eb273 ecore: fix documentation of Ecore_Exe_Event_Del 2016-04-09 21:52:39 +02:00
Cedric BAIL 1c48b76da8 elementary: restore examples build. 2016-04-08 16:01:07 -07:00
Cedric BAIL 785228de9f evas: don't track some forgotten example 2016-04-08 16:01:07 -07:00
Cedric BAIL 25671270b2 elua: unbreak make install-examples 2016-04-08 16:01:07 -07:00