Commit Graph

277 Commits

Author SHA1 Message Date
Cedric Bail 712bdce37d elementary: build edje dependency needed for tests. 2016-04-21 22:03:37 -07: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
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 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 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
Tom Hacohen cd26435434 Elm layout: Add parent updating tests to elm layout. 2016-04-18 10:10:23 +01:00
Cedric Bail fdaedf2bff autotools: fix make distcheck. 2016-04-15 11:07:02 -07: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
Mike Blumenkrantz 0712218537 wayland: hook engine data from elm_win and update rect with evas size
the only way to accurately calculate the "evas" size in the engine from
window geometry is to have the size of the frame available to subtract from
window geometry

window geometry is NOT framespace--framespace is the entire csd region, possibly
containing a shadow, and window geometry is explicitly the region occupied by the
window, ie. not the shadowed part.

not my ideal solution to the synchronization issue here, but I guess this is a
benefit of the unified tree

fix T3396
2016-04-07 14:19:25 -04:00
Amitesh Singh 56ab435998 elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"

@feature

Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg

Subscribers: saurabhbunty, seoz

Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 19:05:57 +09:00
Cedric Bail 78475cc87e elementary: add edje_external back in. 2016-03-31 19:45:26 -07:00
Stefan Schmidt 0a03e63350 build: keep our CLEANFILES tidy to avoid argument list too long during clean
We have been putting the generated eo files and BUILT_SOURCES into CLEANFILES
several times. So far this have not been a real problem but with the elm merge
and more and more eo files showing up this did explode recently.

During make distcheck a lot of files kept being around and make complained about
them. It took some digging to find the arguments list to long error. If you want
details on this great limitation have a look here:
http://www.linuxjournal.com/article/6060

In our case we have been lucky enough that we just appened many files over and
over again. Not doing that solves the issue for now. My testing showed no
problems but if I missed something let me know.

Fixes T3386
2016-03-31 16:29:32 +02:00
Cedric BAIL ac64e26b2d elementary: cleanup module generated files. 2016-03-30 11:05:00 -07:00
Jean-Philippe Andre 12380c5089 elm: Fix make distcheck... kindof
A typo (?) was making the relink hack not work.
distcheck still fails for me as all the eo generated files are
left after make clean.

See T3386
2016-03-30 15:31:56 +09:00
Jean-Philippe Andre eeaa707c57 elm: Add required eo files to EXTRA_DIST
See T3386
2016-03-30 15:09:31 +09:00
Jean-Philippe Andre 9682853f39 elm_prefs: Install edj in the right directory
Note: the ticket was wrong, as I was looking for .so files in the
incorrect directory. v-1.17 is now used instead of v-1.17.99.

Fixes T3385
2016-03-30 13:56:22 +09:00
Jean-Philippe Andre 76fcf06126 elm_web: Fix compilation of elm_web_none
elm_web_none.eo.h was not found:
- it wasn't generated
- its path wasn't added to the include path
2016-03-30 11:33:08 +09:00
Cedric BAIL 95808a226a elementary: add back modules. 2016-03-29 14:53:38 -07:00
Daniel Kolesa 5ad9a8542b elementary: enable lua binding gen 2016-03-29 11:23:43 +01:00
Carsten Haitzler 2261964ca2 elm - fix elementary test pkgdatadir to be right so icons work etc. 2016-03-25 15:36:45 +09:00
Cedric BAIL 77421cde47 elementary: fix directory discovery to properly locate your theme. 2016-03-24 14:55:14 -07:00
Stefan Schmidt aac7ada79d build elm: do not use libtool library flags for elm binaries
These binaries do not need the libtool library flags. This could actually lead
to problems. We already got a warning for one:

libtool: warning: '-version-info' is ignored for programs
2016-03-24 21:35:27 +01:00
Cedric Bail 73895f5249 elementary: remove useless Makefile.am and force file in the correct place. 2016-03-24 11:23:11 -07:00
Cedric Bail 0f5c30f4f2 elementary: add tests back in. 2016-03-24 11:23:11 -07:00
Cedric Bail 1db421c33e elementary: enable compilation of binary. 2016-03-24 11:23:10 -07:00
Cedric BAIL b0df722819 elementary: initial compilation of the library only. 2016-03-24 11:23:10 -07:00