Andy Williams
bc275959dd
core: Add Efl_Io_File example into efl-core reference
...
Refactor the copier code into a separate method for clarity.
2017-11-28 09:21:09 +00:00
Andy Williams
c41c0cc319
Merge branch 'master' into devs/xartigas/tutorials
2017-11-27 14:00:02 +00:00
Andy Williams
326f860e39
hello-gui: Simplify gui basic example
2017-11-27 13:50:38 +00:00
Andy Williams
d4beab8013
ui: Add containers reference
2017-11-27 13:18:42 +00:00
Xavi Artigas
17032f60a3
Simplify core_io example
...
No need to unref src and dst since copier does that.
No need to unref copier since it is a child of main loop.
And therefore, no need to use EFL_MAIN_EX().
2017-11-27 12:39:04 +01:00
Xavi Artigas
e134283999
Minor tweaks to simplify the loop example
2017-11-24 17:32:11 +01:00
Andy Williams
597ba6d98c
ui: Add a new sizing example - much nicer using the new pack capabilities
2017-11-24 14:18:20 +00:00
Andy Williams
231d1f08f6
Merge branch 'devs/xartigas/tutorials'
2017-11-22 15:42:35 +00:00
Xavi Artigas
19b15a1f04
Adapt code to tutorial text
...
Minor modifications that make the code easier to explain.
2017-11-22 16:08:11 +01:00
Andy Williams
4f12494667
core: Tidy up some core example variables
2017-11-22 14:39:45 +00:00
Andy Williams
e58ac7d5c8
core: Add a polling example
2017-11-22 14:32:32 +00:00
Andy Williams
07c0c68cc7
core: Add idler reference
2017-11-22 13:11:38 +00:00
Andy Williams
8035919a32
net: Add a simple net_io example simulating an HTTP client
...
We connect to a remote host and execute a HEAD request and print the response
2017-11-22 11:41:55 +00:00
Andy Williams
9549086432
core: Add mising summary
2017-11-21 19:10:05 +00:00
Andy Williams
b6c382900c
core: Add an io example (copier)
2017-11-21 19:07:45 +00:00
Andy Williams
981d59e32d
core: Add first efl_core reference, loop
2017-11-21 18:45:33 +00:00
Xavi Artigas
74cd796cba
Adapt source code to tutorial text
...
Minor modifications only. The header file grouping all headers will be
introduced in the multiinherit tutorial, along with the shape interface.
2017-11-20 10:36:28 +01:00
Andy Williams
1acb71b216
Add a colored mixin so we can talk about multiple inheritance
2017-11-17 16:46:59 +00:00
Andy Williams
6e78b6caa3
eo-multiinherit: Clone from eo-inherit before interface removal
...
Mixins still to come
2017-11-17 15:37:35 +00:00
Andy Williams
09ff6b7b62
eo-inherit: Remove the interface as we will explain that in multiinherit
2017-11-17 15:35:45 +00:00
Andy Williams
399efc52fb
Merge branch 'devs/xartigas/tutorials'
2017-11-17 11:48:02 +00:00
Andy Williams
4709a4d366
build: Assume latest eolian which knows system locations
2017-11-17 11:18:39 +00:00
Xavi Artigas
6b8dac2677
Ehem... do not leak the test objects
2017-11-16 18:39:06 +01:00
Andy Williams
13fb2b4b1b
eina: Add a little more documentation for our examples
2017-11-16 15:13:01 +00:00
Andy Williams
a688d5a1af
eina: Add str/strbuf/stringshare reference examples
2017-11-16 12:39:52 +00:00
Andy Williams
e45396c48d
eina: Add custom eina_value reference using timezone
2017-11-16 09:52:34 +00:00
Andy Williams
866bfc8a49
eina: Add struct value reference
2017-11-16 08:53:54 +00:00
Andy Williams
fb84558bde
eina: Add a first pass for value reference
2017-11-15 21:43:51 +00:00
Andy Williams
badb4f912e
eina: Add an int hash to the reference
2017-11-15 18:57:07 +00:00
Andy Williams
14b77cfe82
build: Update to match headers with deps
2017-11-15 18:25:15 +00:00
Andy Williams
0782aa5671
build: Update deps to efl-core
2017-11-15 18:22:44 +00:00
Andy Williams
4a12c6f802
efl_ui: Update deps and includes to match
...
Also don't worry about multiple efl deps - just grab the one you need
2017-11-15 18:05:20 +00:00
Xavi Artigas
ae932ce226
Simplify eo-inherit even more
...
Square does not need "side", can use the parent's setters to make sure width=height always.
2017-11-15 18:20:42 +01:00
Xavi Artigas
1e380eace9
Reorganize inheritance example
...
Added circle to illustrate shape interface
Removed shape interface from square, since it inherits from rectangle.
Removed square private data and use its parent's data through the public accessors.
Do not overwrite rectangle's accessors in square, only define the new side.
Removed class cons/destructors which are not used (tutorial is complex enough)
Removed color property from interface (tutorial is complex enough)
2017-11-15 16:02:37 +01:00
Xavi Artigas
4380baece8
Split eo-classes in two: classes and inherit
...
This simplifies the first tutorial (classes).
2017-11-15 11:55:04 +01:00
Cedric BAIL
269519a369
hello-gui: depends on Efl_Ui.h
2017-11-14 16:37:38 -08:00
Cedric BAIL
12ae9924a3
cmdline: depend on efl-core actually.
2017-11-14 14:41:12 -08:00
Cedric BAIL
22f356282b
eina: depends only on efl_core.
2017-11-14 14:32:39 -08:00
Cedric BAIL
2d94f1ce3b
cmdline: rely on Efl_Core.h only.
2017-11-14 14:09:13 -08:00
Cedric BAIL
a45f16f5d1
eina: we can now rely solely on Efl_Core.h
2017-11-14 14:07:54 -08:00
Cedric BAIL
5cd1e7fd27
eina: add an example of EINA_ITERATOR_FOREACH in the iterator references code.
2017-11-14 13:39:59 -08:00
Cedric BAIL
a082087b84
eina: improve Eina_Hash example by using EINA_ITERATOR_FOREACH macro.
2017-11-14 13:39:29 -08:00
Andy Williams
f10e9e9413
Add a first pass Eina_Hash reference as well
2017-11-14 17:28:42 +00:00
Andy Williams
b8a5fc8d9a
eina: shorter file names - thye don't all need to be _main.c
2017-11-14 16:15:29 +00:00
Andy Williams
9d06cb5923
eina: Add a list reference example
2017-11-14 14:45:44 +00:00
Andy Williams
d89bd6fb61
eina: Add an array reference example
2017-11-14 13:31:39 +00:00
Andy Williams
e29ed754fc
eina: Move to a reference dir per namespace
2017-11-14 12:18:39 +00:00
Andy Williams
9c6395967a
eina_iterator: Fix language for iterator printing
2017-11-14 12:12:09 +00:00
Andy Williams
4c360bb660
c-lib: Remove OS path separator from meson
2017-11-14 11:53:21 +00:00
Andy Williams
693845d2cc
eo-classes: Update meson usage to build correct paths
2017-11-14 11:48:57 +00:00