Commit Graph

1245 Commits

Author SHA1 Message Date
Felipe Magno de Almeida cf0406bfab efl-mono: Fix removal of .exe extension in Linux systems 2017-12-20 19:57:17 -02:00
Lauro Moura b2abcd9d6f eolian-mono: Add documentation generation support
This commit adds the "documentation" generator, which gets the
documentation_def attribute of the given item and generates xml comments
to be exported by MCS.

For items requiring some customization of the generated comments (e.g.
functions and its parameters), the helpers to generate the preamble
(summary), body (paragraphs) and epilogue (currently just the @since
tag) were added.

Currently we do not support converting Eolian references into xmldoc
references.

As we explicitly generate Get/Set methods for properties, for now the
generator tries to get the get/set specific documentation first. If it
is not present, fallback to the common docs.

Later this could be changed to generate the common one as paragraphs of
the Get/Set.

Also some generated code like the wrappers for calling C# methods
from C can be private. This will cleanup the introspection results
and warnings when generating documentation.

Due to this visibility change, the binbuf tests had to be changed
to add redirect calls to the native methods instead of directly
calling the DllImport'd methods.
2017-12-20 19:57:17 -02:00
Andy Williams 24b7f14c14 core: Update to loop rename Efl.Loop_User -> Efl.Loop.Consumer 2017-12-20 17:59:11 +00:00
Andy Williams 5ddb82e0da ui: Update for API grid->table 2017-12-20 14:50:08 +00:00
Andy Williams def8a4e578 texteditor: Update toolbar based on edit state 2017-12-20 10:35:49 +00:00
Lauro Moura a4876097ab examples: Add C# buttons/popup example. 2017-12-19 17:51:51 -02:00
Andy Williams d226ee2c98 net: simplify io example - no need for full lifecycle 2017-12-19 17:51:20 +00:00
Andy Williams 42de664854 net: Add a buffered net io example that is far simpler than without 2017-12-19 17:48:30 +00:00
Andy Williams 8a9207c986 net: oops, missing semicolon somehow 2017-12-19 17:04:08 +00:00
Marcel Hollerbach 0cf89de464 added a focus example 2017-12-19 17:27:31 +01:00
Andy Williams 988eee570d net: Add session/connectivity reference example 2017-12-19 15:23:57 +00:00
Jean-Philippe Andre 3d38ae0a90 examples: Fix compilation (cxx bg & table)
See 25136ddf8ccbf384b21d89a7ce3939c1d4db00a6
See 0f16a0671008a324d8e1b523fb16ce7b5c1acd6c

Note: This only fixes compilation, not runtime!
2017-12-19 14:36:54 +09:00
Lauro Moura cf43867da1 eolian_cxx: Fix cxx build after evt changes
Summary: Examples and libeolian_cxx api changes

Reviewers: jpeg, felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5673
2017-12-19 14:25:08 +09:00
SangHyeon Lee c19ca6fa53 interface : change efl_pack_grid and efl_ui_grid to efl_pack_table and efl_ui_table
Summary:
Change name of 'grid' to 'table' for matching on common ui naming
and avoiding confusion with 'gengrid' and 'grid view'.
grid will be introduced as grid image view after.

Test Plan:
checked make & make install
checked make check - there are errors but not related with these changes.
checked make examples - there are errors in cxx but not related with these changes.
checked make discheck - failed
test in elementary_test with Efl.Ui.Table and Table_static.

Reviewers: raster, cedric, jpeg, felipealmeida

Differential Revision: https://phab.enlightenment.org/D5668
2017-12-19 14:25:08 +09:00
Wonki Kim 17fb2d3c7a scroller: Introducing Efl.Ui.Scroller
Summary:
scrollable widgets had a interface_scrollable as a mixin so that the
widgets had a 'is-a' relation with interface_scrollabe.  however, new
scroller concept don't have 'is-a' relationship, but 'has-a'
relationship.  scrollable widgets should have a scroll manager inside
them, then scroll manager handles event from user and api
implementations.  and also we cut the features such as paging because
there will be aka 'elm_pager'.

we are expecting that the new concept make us to maintain the scroller
easier.  please excuse for many unorganized code and logics. : (

[contained commit]
scrollable: add efl_ui_scroller example
scrollable: refactoring for behavior in case of multiple scroller
scrollable: remove repetitive scrollbar code.
scrollable: combine calculating bounce distance code.
scroll_manager: mouse up function refactoring
scroll_manager: mouse move function refactoring
scroll_manager: warp animator wip
scroll_manager: fix denominator value when calculating flicking behavior.
Fix to disconnect bounce animator once animation is done
gather duplicated animator drop logics
gather duplicated conditions
Rearrange prototypes and append comment
Add manipulate functions for animators
scroll_manager: change member_add function.
scroll_manger: apply mirroring logic
scroll_manager: apply scrollbar
apply API to scroller widget
scroll_manager: apply scroll event callback
Change logics for all about scroll animating
efl_ui_pan: add efl_ui_pan
scrollable:  change content_min_limit to match_content
scroll theme: apply overlapped scrollbar
+ many others!

Reviewers: akanad, woohyun, cedric, jpeg

Subscribers: jenkins, cedric, jpeg

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

Note by @jpeg:
Unfortunately this patch comes in a massive single blob, after too many
rebase operations. It has now come to a point where I think the API is
nice and it works as I'd expect.
Now I only wonder how applicable this will be for Efl.Ui.List. As we can
see Photocam (legacy and unified API) could be transformed to use this
new API.
2017-12-19 10:26:25 +09:00
Sungtaek Hong 00745cda1d efl_ui_bg: add Efl.Ui.Bg interface
Summary:
- Previous class efl_ui_bg moved to efl_ui_bg_widget.
- Scale_type moved to efl_image from efl_ui_image.
- Previous enum Efl_Ui_Image_Scale_Type moved to Efl_Image_Scale_Type.

Test Plan:
Run elementary_test
1.Image Scale Type
2.Efl.Ui.Bg
3.Efl.Ui.Win
4.Part Background

Reviewers: jpeg, woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D5616
2017-12-18 20:49:45 +09:00
Vitor Sousa 04fbce0659 efl_mono: fix test and example compilation on Windows 2017-12-15 22:26:30 -02:00
Cedric Bail 740bbffae8 ecore_con: update efl_net_control_access_point_connect to use Eina_Future. 2017-12-14 16:42:44 -08:00
Felipe Magno de Almeida 4652fc4cb7 eolian-cxx: Fix distributing eo files in examples 2017-12-14 18:19:54 -02:00
Vitor Sousa 091f8e0f40 efl-mono: Fix examples Makefiles for mono examples 2017-12-14 17:42:42 -02:00
Felipe Magno de Almeida b97089f5a5 efl-cxx: Fixes in automake Makefiles 2017-12-14 17:42:42 -02:00
Amitesh Singh bde43ac97c efl.image.load: fix eolian redefine warnings for load_error{}
load_error{} was defined in efl.file as well.
remove load_error{} from efl.image.load intf and implement
Efl.File.load_error{} instead.

Ref T6514
2017-12-14 14:16:13 +09:00
Andy Williams 6298f4ec63 Merge branch 'arcpatch-D5441' 2017-12-13 22:02:10 +00:00
Bryce Harrington 2975f10a2a README: Copyediting...
Summary: s/mesin/meson/ and other spelling/punctuation fixes

Reviewers: ajwillia.ms

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5441
2017-12-13 21:59:49 +00:00
Ross Vandegrift 7123d23fd5 efl: drop deprecated Encoding key from desktop files
Summary:
The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 1.20.6.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-12-13 10:27:48 -08:00
Felipe Magno de Almeida efddea19ec efl-cxx: Fixes to make dist 2017-12-13 14:13:09 -02:00
Felipe Magno de Almeida 3afb93d043 elementary: Add efl_ui_list widget 2017-12-13 14:13:09 -02:00
Andy Williams fdad34a429 ui: Add panes to the ui reference now they are working 2017-12-13 12:53:30 +00:00
Andy Williams eabdff1f27 ui: Fix close callbacks for the UI reference examples 2017-12-13 12:53:11 +00:00
Andy Williams af48dd8fba eina: simplify and document our futures example 2017-12-13 12:23:39 +00:00
Lauro Moura d2a7efa419 efl_mono: Fix dll.config paths 2017-12-12 22:34:05 -02:00
Andy Williams 54070a9226 eina: Add a first pass futures example (from eina examples) 2017-12-12 19:37:56 +00:00
Andy Williams 0a95fa88b2 Merge branch 'devs/xartigas/tutorials' 2017-12-12 11:00:47 +00:00
Andy Williams 9cbbb37750 lifecycle_ui: Add almost-working lifecycle gui demo
This is pending some Elm fixes to function correctly
2017-12-12 10:56:17 +00:00
Xavi Artigas 37a5123360 Simplified lifecycle example
When window minimization works, we can remove the simulation code or create
another example.
2017-12-12 11:45:30 +01:00
Cedric BAIL 7b2a1435c0 ecore_con: use Eina_Future for Efl.Net.Control.Technology. 2017-12-11 15:03:11 -08:00
Felipe Magno de Almeida 3da937c1d7 efl-mono: Fix automake files in C# binding search with buggy mono version 2017-12-11 14:45:57 -02:00
Xavi Artigas afb4aa07ca Revamp events example
Removed callback,add/del which are confusing events
Added lots of object name printfs
Used a single polling callback
Used array event_add on the timer instead of the main loop for simplicity
2017-12-11 13:51:57 +01:00
Xavi Artigas afae017240 Miscellaneous comment fixes 2017-12-11 13:51:08 +01:00
Andy Williams c99595e00a Let's use the window callback to avoid elm_policy needs 2017-12-07 12:39:59 +00:00
Lauro Moura 098aa67a47 examples: Fix after edje_obj canvas_layout change
Summary:
Edje.Object was renamed Efl.Canvas.Layout in

54ae9cc18b6c0fdb9a10f03ad2681587ca062c6c

Reviewers: jpeg, marcelhollerbach, felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5610
2017-12-06 18:52:13 -03:00
Andy Williams 36b64dfca1 hello-gui: Reduce to a minimal Efl.Ui app 2017-12-06 13:12:07 +00:00
Andy Williams 95c0ffad65 ui: Add starter of a translation reference example 2017-12-06 12:46:15 +00:00
Andy Williams 557f42bf31 Move core_log to eina_log 2017-12-05 16:52:49 +00:00
Andy Williams 4aa1b33ff2 core: Add a logging example 2017-12-05 16:38:06 +00:00
Andy Williams 9ef1398bfc core: Add an events reference example 2017-12-05 15:07:32 +00:00
Jean-Philippe Andre 1455d7bc1a cxx: Fix compilation after merge
This resolves a few issues and brings back the experimental features.

Also, disable some of the ugliest experiments:
 - manual function overrides,
 - define APIs only in eo_cxx namespace

Some APIs are generated behind EFL_CXXPERIMENT (eg. event_name_cb_add or
some weak pointer stuff). I believe they are useful but would like to
make sure there are no serious drawbacks with generating those.
2017-12-05 15:01:45 +09:00
Jean-Philippe Andre 1e9082c003 cxx: Update slider example 2017-12-05 15:01:45 +09:00
Jean-Philippe Andre 646746cb85 cxx: Implement support for parts
This generates methods like this:

  Part_Class part_name() const;

Which can then be used like:

  slider.indicator().format_string_set("%1.1f");
2017-12-05 10:15:40 +09:00
Jean-Philippe Andre d6d0b77e79 cxx: Fix bg examples
One uses the Bg widget and the other one uses the part.
2017-12-05 10:14:03 +09:00