Commit Graph

125 Commits

Author SHA1 Message Date
Felipe Magno de Almeida 4f44ca0a16 efl-js: JavaScript Eolian binding
To configure elementary sources with bindings to use in nodejs add
––with-js=nodejs in configure flags in EFL compilation to generate
node files, then compile elementary normally:

path/to/efl$ configure --with-js=nodejs
path/to/efl$ make
path/to/efl$ make install

path/to/elm$ configure
path/to/efl$ make
path/to/efl$ make install

To use, you have to require elm:

elm = require('elm')

The bindings is divided in two parts: generated and manually
written. The generation uses the Eolian library for parsing Eo files
and generate C++ code that is compiled against V8 interpreter library
to create a elm.node file that can be required in a node.js instance.

@feature
2015-12-23 22:23:46 -02:00
Stefan Schmidt 98bb77d4a8 build: simplify SUBDIR usage in examples 2015-10-21 11:05:46 +02:00
Luciana Magno de Almeida 4517e70a5e cxx: Added examples and tutorial for C++ binding
Summary:
Added the following examples:
* bg_cxx_example_01
* bg_cxx_example_02
* bubble_cxx_example_01
* button_cxx_example_00
* button_cxx_example_01
* calendar_cxx_example_01
* calendar_cxx_example_02
* calendar_cxx_example_03
* calendar_cxx_example_04
* calendar_cxx_example_05
* clock_cxx_example
* datetime_cxx_example
* glview_cxx_example_01
* hoversel_cxx_example_01
* icon_cxx_example_01
* location_cxx_example_01
* menu_cxx_example_01
* popup_cxx_example_01
* radio_cxx_example_01
* separator_cxx_example_01
* slider_cxx_example
* spinner_cxx_example
* table_cxx_example_01
* table_cxx_example_02
* thumb_cxx_example_01

Added documentation for the above examples, as well as how using lambdas
with C++ elm binding. How to use autohide feature and how to use the C++
wrappers to create windows, widgets and call Eo functions from them with
automatic C++ type conversion and how to use signals from C++.
2015-08-25 03:42:34 -03:00
Larry Jr bb02711ff8 EFL Model Form View for MVC design
Elementary view that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_form connects properties of a data model to different
widgets.

There is an example defined in src/examples/filemvc.c that also uses
a list view.

You can add widgets connected to properties using:

eo_do(formview, elm_view_form_widget_add("filename", _label_init(win, bxr, "File Name")));

@feature
2015-07-04 03:04:03 +02:00
Larry Jr bf082998cd EFL Model List View for MVC design
Elementary views that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_list show a tree data structure using a genlist. Each
property is seen as a different data column.

There is an example defined in fileviewlist.c.

@feature
2015-07-04 03:04:03 +02:00
Daniel Juyung Seo fcfc1179e9 examples: Fix build error due to the name change.
Sorry for the step by step fix.
Thanks for the report id213sin.
2015-02-23 12:41:35 +09:00
Oleksandr Shcherbina 7a8942f74a elementary: example showing Evas_3D with elementary widgets and testing some of its feature.
Summary:
This small application for quick testing main features and changes in Evas 3D.
Main features: effects shadow, fog, measuring fps, load 3D model, panel for change
sets light and camera.

Reviewers: Hermet, raster, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-17 15:26:54 +01:00
Cedric BAIL e59b5b8342 autotools: build Sphere Hunter with the rest of the examples. 2014-12-10 06:06:17 +01:00
Cedric BAIL cc95ab08f6 autotools: fix indentation. 2014-12-10 03:57:02 +01:00
Srivardhan Hebbar c6ddc20220 elementary: Adding example to demonstrate radio "changed" functionality.
Summary:
Added this example which demonstrate the exact behavior or "changed" in radio button.
After changing the documentation of "changed" as in https://phab.enlightenment.org/D1445, thought the example might be useful, so added this.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1490
2014-09-28 23:50:16 +09:00
Vincent Torri ea6246a8ee autotools: simplify .pc.in.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-04 17:33:05 +02:00
Vincent Torri 8c705cac78 autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4
and also compilation flags. Less code to read and maintain.
2014-09-04 17:33:05 +02:00
Carsten Haitzler c9b74dfb0b elm examples - missing -lm link - fix
@fix
2014-09-03 17:13:00 +09:00
Vincent Torri 092f40579a configure.ac: Clean up and add macros for backend-checks.
Add an m4 macro and start using it (also fixes some issues).
2014-09-02 10:29:51 +01:00
Stefan Schmidt 572538e490 build: Make sure we don't redefine SCREENSHOTS but append to it
In 540741dd48d0720876a5e68b2aa4aa7a9d79b8a3 one screenshot was
moved into HAVE_CXX_11 guards to allow building with cxx11 disabled.

But in the case of cxx11 enabled we want all screenshots plus this
one so append here instead of redefine.
2014-08-06 10:59:49 +02:00
Felipe Magno de Almeida eb82d1b30c Fixed trying compiling C++ examples with --disable-c++11
The Makefile.am in examples weren't conditioning the compilation of
C++ examples when C++ is disabled in configuration of elementary.
Which made the compilation to fail when --disable-c++11 is
used (in EFL or elementary) on C++ examples.
2014-07-30 08:43:48 +09:00
Savio Sena fc4ef12519 autotools: Fixed 'make check' for elm++ example.
Shouldn't pass -fPIC explicitly. Autoconf should be able to determine that.
2014-07-22 04:43:44 -03:00
Felipe Magno de Almeida aea51868e3 Added simple, initial, C++ example 2014-07-21 20:53:12 -03:00
Jaehyun Cho 72ab60a50b elementary examples: Add an elm_map example using evas3d
Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1120
2014-07-16 11:00:52 +09:00
ChunEon Park 793145c4fb examples - renamed evas3d examples. 2014-06-09 13:31:54 +09:00
se.osadchy 81dc840d03 example: add new example for button and Evas_3D object.
Summary: This example shows the mechanism of elementary widget (button) adding to the 3d scene object.

Reviewers: Hermet, cedric, raster

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:37:23 +02:00
se.osadchy 26a4b301dd [Examples] Add new example for evas-3d and widget.
Summary: This example shows the mechanism of scene object adding to the widget button.

Reviewers: Hermet, cedric, raster

Differential Revision: https://phab.enlightenment.org/D914
2014-06-02 22:34:25 +09:00
Cedric Bail fafb90676c autotools: improve build system to be able to correctly pick outside and inside tools. 2013-12-01 23:35:43 +09:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
U. Artie Eoff 47cdc87bac examples: Fixed Makefile regression of rELM1dcd32068
https://phab.enlightenment.org/T366

make - Circular dependency dropped

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-09-12 19:28:28 -07:00
ChunEon Park 5957b118de elementary - introduces 3 apis elm_object_item_track/untrack/track_get(). 2013-09-12 23:24:02 +09:00
Daniel Juyung Seo a7082cfb73 naviframe_example.c: added very simple naviframe example. 2013-06-19 02:02:17 +09:00
Ryuan Choi c3e0b5fc7c Fix build break on example
I got a below break while building example.

/usr/bin/ld: location_example_01.o: undefined reference to symbol 'elocation_address_free'
/usr/bin/ld: note: 'elocation_address_free' is defined in DSO /usr/elocal/lib/libelocation.so.0 so try adding it to the linker command line
/usr/elocal/lib/libelocation.so.0: could not read symbols: Invalid operation
2013-06-14 09:25:38 +09:00
Lucas De Marchi cb495f13de Rename edbus->eldbus 2013-04-23 13:05:43 -03:00
Eduardo Lima (Etrunko) 5858baf6e0 Fix edje_cc verbosity if building with V=1
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-07 18:05:53 -03:00
Cedric BAIL 951f944737 elementary: remove build dependencie from old e_dbus.
SVN revision: 82517
2013-01-10 07:50:14 +00:00
Jonas M. Gastal 24e2e9d2e7 elm: Don't try to take screenshot of glview_example since it wont work and isn't used.
SVN revision: 81565
2012-12-21 17:38:05 +00:00
Flavio Vinicius Alvares Ceolin b470aaa0f2 adding support for elocation
SVN revision: 80657
2012-12-11 14:05:48 +00:00
Gustavo Sverzut Barbieri 3a5e358d9d damn it, forgot the pkg-config is a different name
SVN revision: 80111
2012-12-03 21:49:29 +00:00
Gustavo Lima Chaves 6063c0dc5d Hopefully don't bitch about elm_prefs_cc not being
found anymore.




SVN revision: 79914
2012-11-30 16:52:05 +00:00
Gustavo Lima Chaves 87648e9ace [elm] Introducing a new widget, along with its infrastructure -- prefs.
The prefs widgets aims to aid with the implementation of
preference/configuration windows/UI elements in Elementary-based
applications (think of Enlightenment configuration dialogs,
elementary_config, etc).

Prefs is a widget that populates its view with widgets
bound to data types (following the instructions of a ".epb" file that
describes a set of items) and handles the storage/restoration of such
data on a configuration file automatically.

There's also the prefs_data handle, which is the one dealing with
user saved data for a given epb defaults set.

The documentation on the new widget is rich (we have examples and even
an EPC reference) and there's a new test entry for it.

I'm blogging about it soon, with screeshots and more details.

Enjoy.

ps.: This is a team work by Murilo Belluzzo, Ricardo de Almeida and me.



SVN revision: 79909
2012-11-30 14:41:39 +00:00
Flavio Vinicius Alvares Ceolin 83405f2366 edje_codegen: Fixing a bug in the build system
The name of the edc's example is codegen_example.edc and not
codegen.edc

Problem spotted by Sleep_Walker.



SVN revision: 76920
2012-09-20 22:39:07 +00:00
Flavio Vinicius Alvares Ceolin b65e5ed1ec elementary_codegen: Adding a basic example
Just adding an example showing how to using the codegen.



SVN revision: 76615
2012-09-13 14:06:45 +00:00
Mike Blumenkrantz 3ec80df062 add eweather cflags back
ticket #1384


SVN revision: 76281
2012-09-07 07:15:26 +00:00
Jonas M. Gastal b8c0d34a79 elementary: Minimalist Elementary Web widget example.
Author:    Joao Paulo Fernandes Ventura <ventura@profusion.mobi>

SVN revision: 74949
2012-08-06 20:44:45 +00:00
Gustavo Lima Chaves c99895e6e4 [elm] So let's be able to try that map thing...
SVN revision: 71175
2012-05-16 18:13:59 +00:00
Cedric BAIL f511684133 eina,evas,edje,elementary: add missing files from tarballs.
Patch by Jérôme Pinot <ngc891@gmail.com>


SVN revision: 70543
2012-04-30 01:55:06 +00:00
Jonas M. Gastal a134c8e2bc Remove warnings about unused parameters in examples.
SVN revision: 69769
2012-03-29 20:55:55 +00:00
Vincent Torri 91f8728bb4 Elm examples: add win32 thread examples, remove some whitespaces in the corresponding pthread code, and rework a bit Makefile.am
SVN revision: 69580
2012-03-23 07:23:26 +00:00
Joao Paulo Fernandes Ventura 084dbf5845 Fix bugs in Elementary examples and documentation.
Patch by: Joao Paulo Fernandes Ventura <ventura@profusion.mobi>

SVN revision: 69544
2012-03-21 17:57:34 +00:00
Carsten Haitzler 83e0754a8b clean up toggle turds :)
SVN revision: 69478
2012-03-16 23:45:48 +00:00
ChunEon Park 18e3c65c0e elementary/dayselector - New widget Elc_dayselector
Hi Raster,
Please find the modified patch after the suggested changes. 
[ APIs are provided for setting week_start, weekend_start & weekend_length.Default values are fetched
from elm_config instead of edc styles.] 
Please review the patch and push it to svn. 
Thanks,
Sumanth 

Signed-Off-By: Sumanth Krishna Mannam(sumanth.m@samsung.com)



SVN revision: 68868
2012-03-07 04:57:03 +00:00
Daniel Juyung Seo 342dc04638 elm examples: Removed anchorblock from build.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68808
2012-03-06 11:51:47 +00:00
Rajeev Ranjan 9711e4c796 From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel]  [Patch]  Elementary: New custom widget Popup

Hi All,
   Attached to the mail is the patch for a new custom elementary
widget  elm_popup for your review.

Change description:
New custom widget Popup added.

elm_popup is an enhancement over elm_notify widget with widely used
parts such as Title, Content and Action Buttons.
Items are supported as well and they are put inside the content area
which can have either an Evas Object/Set of items/Description text.



SVN revision: 68747
2012-03-05 23:51:56 +00:00
Sumanth Krishna Mannam 14df28cdae From: Sumanth Krishna Mannam <sumanth.m@samsung.com>
Subject: [E-devel]  [Patch] Elementary : New widget Elm_datetime patch

Attached to the mail is the patch for new elementary widget elm_datetime.
Refer to the below EFL post history for more details. 

The datetime widget provides an option to display Date & time based on
current locale format and the user can edit them through dynamic Modules.
Dynamic modules can be based on 1. Content Popup/diskselector based
list   2. Elm_entry with ISE based input   3. Elm_Spinner based  etc.
Refer to the Screenshots:  <1.ctxpopup_diskselector_UI>
<2.entry_ise_UI>   <3.spinner_selection_UI>

Can someone review and push this patch to EFL repository?

Change description:
New widget Elm_datetime is added.
Datetime widget displays the Date &Time fields and provides a
customizable way to edit them.
The widget is implemented in a modular fashion for date/time field inputs.
Ctxpopup based input is proposed as the default selection module.
Localization support based on Libc is also supported.

Sign-Off By:  Sumanth M.V.K  <sumanth.m@samsug.com>



SVN revision: 68696
2012-03-05 11:07:05 +00:00