Commit Graph

208 Commits

Author SHA1 Message Date
Xavi Artigas a50edaf17b eina: refactor eina_value_*_new.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7701
2019-01-23 10:54:13 -08:00
Xavi Artigas 06604d5d25 eina: refactor eina_value_*_init.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7700
2019-01-23 10:54:11 -08:00
Xavi Artigas de608bb203 eina: refactor eina_value_*_get.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7699
2019-01-23 10:54:09 -08:00
Cedric BAIL 1150cce0bf eina: add Eina_Value helper that convert efficiently to a target native C type.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7650
2019-01-23 10:54:05 -08:00
Xavi Artigas 2d8f3fba46 doc: Add support for DocFX (C# doc generator)
Summary: Usage instructions in the README file.

Test Plan:
Follow the README to produce the documentation pages.
Point your browser to docfx/_site/index.html to see the results.

Reviewers: lauromoura, bu5hm4n, cedric, myoungwoon, zmike

Reviewed By: lauromoura, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7424

Differential Revision: https://phab.enlightenment.org/D7502
2019-01-07 17:07:42 +01:00
Bowon Ryu 1bce388ec9 docs: fix the incorrect group name of segment control
Summary:
Now the links in docs are connected normally.
related commit: https://phab.enlightenment.org/D7087

Test Plan: N/A

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7125
2018-10-02 19:51:41 +09:00
Andy Williams 5937b1a3de docs: link to the module list in legacy docs
This should improve visibility of stuff that is not specifically
mentioned on the home page
2017-12-15 17:22:31 +00:00
Andy Williams 6df492b6b7 docs: Don't ignore eo.legacy.h files in doxygen 2017-12-14 14:28:19 +00:00
Andy Williams 6f38e42f8e docs: Remove the Efl namespace from our legacy docs
This means removing bindings from the output too
as they are making the transition over.
2017-12-13 18:10:57 +00:00
Andy Williams ebff6b42ef docs: Updated legacy API introduction 2017-12-13 18:10:57 +00:00
Andy Williams 7b5551c548 docs: Attach the google analytics code to our docs pages too 2017-12-08 11:00:50 +00:00
Andy Williams 2dd1e59a4c docs: be better at a responsive layout when embedded 2017-11-06 18:43:06 +00:00
Andy Williams 7f48764d17 A more readable layout for doxygen landing page
Also moved out the C++ reference as that should be separate.
(C++ link now on the main /docs page)
2017-11-03 18:17:53 +00:00
Andy Williams 3989f11f11 Update my name in more places 2017-11-02 10:34:05 +00:00
Andy Williams 55b8608728 Update auto API doc styling to match main website
Not perfect, but it's a good start
2017-11-02 10:31:03 +00:00
Thiep Ha 4642fe2f64 doc: enable elementary_examples building
The elementary examples were built before, but not now.
I guess it was missed when we merged elementary to efl source tree.
This enables it and fixes some references.
2017-10-24 15:46:30 +09:00
Hermet Park 1104ff3789 update author(hermet) email. 2017-10-14 23:03:51 +08:00
Jeeyong Um 7a3bed83ee docs: Fix broken edje tutorial (swallow 2) 2017-05-08 16:58:56 +09:00
Marcel Hollerbach 2c16e58613 docs: remove wrong line-height
there was a 'line-height: 0%;' that resulted in unreadable edc code in
the Edje Data Collection reference documentation page.

Thank you Jeremy Suntheimer for spotting that!

fix T5438
2017-04-30 09:49:02 +02:00
Bruno Dilly adb95630ef eina: remove tests, examples and docs for eina_model
Summary:
Since eina_model was dropped some years ago.
Also a few other points where related stuff is just commented out.

Reviewers: iscaro, barbieri

Reviewed By: barbieri

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4442
2016-11-30 18:37:34 -02:00
Jee-Yong Um 0f97d45dac fix doxygen warnings
Summary:
fix warnings while generating documents
- end of file while inside a group (eina_util.h)
- missing title after \defgroup
- ignoring title "Ecore_Con_Lib_Group" that does not match old title

Reviewers: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4420
2016-11-22 11:47:04 +09:00
Stefan Schmidt dbf9d1d4a9 doc: put shot.sh into dist to allow make doc run from tarball
This was missing in the release tarballs before breaking a make doc run from
them.

@fix
2016-08-17 16:43:26 +02:00
Felipe Magno de Almeida 386548ba8d docs: Fix rename from eo_add to efl_add 2016-08-15 15:15:11 -03:00
Amitesh Singh be47c4b9c0 elm: rename Elm.Nstate to Efl.Ui.Nstate 2016-05-10 12:41:03 +05:30
Stefan Schmidt c60b2500c7 docs: add nstate widget to elm widget list index 2016-04-13 17:01:23 +02:00
Stefan Schmidt a1663b1710 docs: make elementary docs available form main doc page
While elm docs have been merged in they never have been accessible from the
main page of our docs. Fix this by including elm_intro.h and referencing it
from the main page. While we are at it rename it to the scheme we used in EFL.

Another missing piece was the index with all widget references. Never brought
over form the elm legacy tree. Putting this in and we are now at least able to
navigate to all elm widget pages.
2016-04-13 17:01:23 +02:00
Stefan Schmidt 74a046fee5 docs: generate nstate widget preview for documentation
The preview example code was already there but not hooked up in our preview
screenshot magic.
2016-04-13 17:01:23 +02:00
Amitesh Singh 4cd002fc7d doc: fix typo in 410cdd1501 2016-04-08 10:14:35 +05:30
Amitesh Singh 410cdd1501 doc: add widget_preview_nstate.c to noinst_PROGRAMS 2016-04-08 09:48:47 +05:30
Amitesh Singh 4cf98237ee doc: add elm nstate preview 2016-04-08 09:20:24 +05:30
Jean-Philippe Andre 81c1b8b530 doc: Remove widget_preview_nstate.c
These is no such file.
Hopefully this will fix make dist.
2016-04-08 11:25:14 +09: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 128ec4c10a elementary: fix documentation generation. 2016-03-29 15:57:13 -07:00
Cedric BAIL b6a81b6e7b elementary: start bringing back documentation support.
I didn't know preview generation was so slow and done completely serialy.
There is potential improvement here. Still need to kind of merge the
documentation into something readable.
2016-03-28 16:56:31 -07:00
Cedric BAIL b0df722819 elementary: initial compilation of the library only. 2016-03-24 11:23:10 -07:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00
Jean-Philippe Andre 021c74d770 Doc: Fix compilation after massive eo_do patch 2016-03-03 20:21:17 +09:00
Hermet Park b757b30bae rename an author. 2015-12-24 09:22:00 +09:00
Stefan Schmidt ce93ef0378 docs: Build documentation also for code that is still in BETA.
Doxygen uses its on preprocessor and this one missed the
EFL_BETA_API_SUPPORT=1 define so none our our BETA api hidden behind
it was build for our documentation.

ref T2541
2015-08-11 14:04:51 +02:00
Yomi c1f9152f10 eio: grammar and typo fixes in docs.
Summary:
Fix a sentence.

Changes:

     src/examples/eio/eio_file_ls.c

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2894
2015-08-03 11:59:03 +02:00
Jean-Philippe Andre b8a2a9b3c0 Evas filters: Fix make doc, check when EFL is not installed
Thanks @aerodynamik for even giving the proper environment
variable to set :)

Fixes T2614
2015-07-29 20:22:35 +09:00
Jean-Philippe Andre 6f846d89cd Doc: Try to fix build on Ubuntu
The error message was:
/usr/bin/ld: preview_text_filter.o: undefined reference to symbol 'efl_gfx_filter_program_set'
//home/batden/Enlightenment20/efl/src/lib/efl/.libs/libefl.so.1: error adding symbols: DSO missing from command line
2015-06-25 17:50:12 +09:00
Jean-Philippe Andre 0446619355 Evas filters: Mark API as @beta
Until we're happy with it, keep the API as beta.

The EDC support should not change, and the Lua either, but the
API could potentially still change to accomodate for new needs
(vector graphics, anyone?). If we're happy with the current
interface, then we can remove the @beta flags.
2015-06-25 14:36:10 +09:00
Jean-Philippe Andre 84e3dd5c34 Evas filters: Add name to the filters
Deep down internally there was already a name, but no API could
really set it properly.
Here Edje will set the name of the filter based on the part name
or the data item name if relevant.
2015-06-25 14:36:09 +09:00
Jean-Philippe Andre 64fd278c62 Evas filters: EO-ify the filters API
This creates the new interface
 Efl.Gfx.Filter

And the implementation is a mixin (evas_filter_mixin.c):
 Evas.Filter

All the filter rendering code has now been moved to this
new file. TODO: Merge image filtering.
2015-06-25 14:36:09 +09:00
Stefan Schmidt eef094c661 docs: Fix access to main elocation page from front page 2015-05-07 11:15:12 +02:00
Vitor Sousa d530389898 eolian_cxx: Add protected methods and events to C++ wrappers and fixes
Using eina::string_view in eolian generated interfaces (instead of
std::string) to allow lightweight passing of both C strings and C++
std::string.

Also, No longer using eina::optional in generated headers for types
that already implements the concept of null state (like Eo wrappers
and eina_accessor).

Also fix allocating callback objects require by class methods
(i.e. static) in static vectors so the memory will be freed when the
programs exit.

Added a new test case for testing callbacks on class methods.

Moved method definitions and supplementary code from generated C++
wrappers to auxiliary header file (.eo.impl.hh) generated together
with the main ".eo.hh" file. Updated Makefiles to list such files in
the compilation and cleanup processes. Updated .gitignore to include
these new generated files.

Made general adjustments on the documentation of generated C++ wrappers

Added "PREDEFINED" preprocessor macro definition in the Doxyfile.in in
order to make some adjustments for better documentation in the C++
generated headers.  Excluding generation of documentation for classes
in the "eo_cxx" namespace (the namespace for "abstract" eolian C++
wrappers).  Now generating the documentation for the events too.
Hiding some auxiliary code from being documented. Some aesthetic
adjustments for generated white space. Generate documentation for the
main constructor of C++ wrappers and added auxiliary grammars to list
parameters names.
2015-04-14 01:06:57 -03:00
Bryce Harrington 27920d31c1 Spelling fixes
Summary:
emmited  ==> emitted
resistence  ==> resistance
occured  ==> occurred

Reviewers: cedric, zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2192
2015-03-18 21:38:33 -04:00
Cedric BAIL 8cac4ce5e7 evas: use Emile to decode TGV. 2015-03-17 09:58:18 +01:00
Cedric BAIL cf52036667 Revert "Add --disable-gui."
This reverts commit 3ed4f74590.
2015-03-17 09:58:17 +01:00
Stefan Schmidt c5879dab4d build: Unify use of $(MKDIR_P) for creating a dir within the build system
While we used different variation of mkdir -p all over we also had spots
where we did not use the option. This is one step in trying to make our
build system ready for parallel install. Using something like -j 10 even
for the install should help to speed up our jenkins jobs as well as distcheck.
2015-02-25 16:43:35 +01:00
Srivardhan Hebbar 701f7b0737 eina: add an example to demonstrate different eina insert and sort functions.
Summary:
While going through eina for understanding, wrote  a program to understand
he differences between different eina inarray functions. Thought, this might
be useful for others too, so adding the same.

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

Reviewers: devilhorns

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-22 15:09:59 +01:00
Stefan Schmidt c389e36ef5 doc: Add reference to Elocation documentation from main page 2014-11-11 11:10:11 +01:00
Tae-Hwan Kim 7f7665c2fd eina: fix overlapped doxygen string output
Summary:
Add top padding to prevent overlapping between "Value:" and below
strings when long macro is used.

Reviewers: raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-28 21:22:11 +01:00
Mike Blumenkrantz 5375e154fe fix config.h inclusion across the tree 2014-09-23 15:56:46 -04:00
Stefan Schmidt 68ed5a63e9 doc: Add footer to display project version and copyright
Like we do in Elementary already.
2014-09-19 15:55:18 +02:00
Stefan Schmidt 016804c015 docs: Sync foooter css style from Elementary 2014-09-19 15:48:12 +02:00
Stefan Schmidt 88d43059e7 docs: Add eolian and eina c++ pages to main docs page
Make sure these are marked as BETA as we don't guarantee API for these just now.
2014-09-19 15:27:33 +02:00
Stefan Schmidt 7366607de6 docs: Correct D-Bus spelling 2014-09-19 15:27:33 +02:00
Cedric BAIL 4e55718c78 Revert "autotools: Fix 'make distcheck'."
This reverts commit 4341c8a437.

This patch was pushed I guess after an automatic git rebase without conflict.
2014-09-12 23:11:01 +02:00
Savio Sena 4341c8a437 autotools: Fix 'make distcheck'.
doc/preview/Makefile.am must include $(srcdir)/lib/efl/ to be able to
find Efl.h.
2014-09-12 15:28:11 -03:00
Stefan Schmidt c5a88a3a39 docs: Add missing ephysics group def in main.dox 2014-09-11 15:39:43 +02:00
Stefan Schmidt b6cc524513 docs: Not all docs are updated daily from git. We have stable and dev docs.
The entry point to our docs (docs.enlightenment.org) makes clear what is links
go to the docs for the latest release and which goes to development.
2014-09-11 15:39:43 +02:00
Stefan Schmidt f243a08bc8 docs: Use the full EFL name in the public docs main description page 2014-09-11 15:39:43 +02:00
Cedric BAIL 58e241b01b autotools: We now have some headers in lib/efl that are not autogenerated. 2014-09-09 12:27:07 +02:00
Cedric BAIL d8dd0e1f62 autotools: use non deprecated macro.
I still don't know why there is still a warning.
2014-08-12 11:19:57 +02:00
Davide Andreoli 62af2b9bd1 Edcref: final doc improvements.
* Be consistent with the way we specify parameters
* A last css refinement
2014-08-08 15:54:38 +02:00
Davide Andreoli 34c75a29f6 Edcref: and finally apply a cool style
Now the edc ref is decently readable
2014-08-08 02:30:33 +02:00
Davide Andreoli 9ebc480e91 edcref: keep properties name aligned with their parameters.
Also make them bold
2014-08-07 13:45:14 +02:00
Davide Andreoli 8fe920ee79 doc style: better @since html render
Now @since have a left colored border, like @deprecaded, @note, etc

Also keep the number on the same line:
instead of:
since
        1.10
it now render as:
since 1.10
2014-08-07 13:21:31 +02:00
Davide Andreoli 25ce050920 edcref: quick access list: fix a link and make it more compact 2014-08-07 13:21:31 +02:00
Jean Guyomarc'h e37ad31e58 doxygen: sanitize Eo Tutorial
Summary: The Eo tutorial had a tough readability. It is better now: stars are not messing around with the code, plus code does not collide anymore with a bullet in a bullet list.

Reviewers: cedric, JackDanielZ, tasn

Reviewed By: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1230
2014-08-04 11:36:27 +02:00
Guillaume Friloux 3ed4f74590 Add --disable-gui.
This allows people to disable the building of anything GUI related.
In my case, it is used for servers.

I encourage anyone that think they can do a better patch to improve it,
as i dislike having to add all those AM_CONDITIONAL().

Maybe the macros should be improved.
2014-06-05 13:40:44 +02:00
vitor.sousa 0902b6a6f8 eina_cxx: add documentation to the Eina C++ header files.
Summary:
Added documentation to almost all classes that are intended for direct use by the library users.
Marked classes/functions used by the library itself as @internal.
Modified the Doxyfile.in to enable the generation of documentation to the bindings.

Reviewers: felipealmeida, cedric, woohyun, smohanty, raster

CC: savio, cedric

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 22:34:47 +02:00
Jean-Philippe Andre 139f7bc178 Evas doc: Add example for padding_set (filters)
With preview and all.
2014-05-09 16:57:39 +09:00
Jean-Philippe Andre 8a1b335bb1 Evas doc: Move filters examples to Lua
Part 1: auto-generated examples with previews
2014-05-09 16:57:39 +09:00
Mike Blumenkrantz 0cc713b765 docs now have a slightly more english description and list libs alphabetically 2014-04-14 14:39:21 -04:00
Jeff Grimshaw a1791e5701 doc: remove deprecated setting SYMBOL_CACHE_SIZE
Summary:
The setting SYMBOL_CACHE_SIZE has been deprecated and will
generate a warning when Doxygen runs.  This change comments out that
configuration setting to prevent the warning.

Test Plan: make doc 2> doxyerr.log

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-03-05 14:16:29 +09:00
Jean-Philippe Andre f34305a7d6 Doc: Use transparent images for Doxygen
Set the proper transparent & alpha flags on the Ecore_Evas,
add a tranparent rectangle and boom, the images are all nice and
transparent. This will fix the bg color in the page evasfiltersref.
2014-02-24 11:04:28 +09:00
Carsten Haitzler f6ee3fc8b5 documentation style cleanup for release
this cleans up the doxygen generated docs to be acceptable for a
release - style is changed and unused images removed etc.
2014-02-21 22:26:26 +09:00
Cedric BAIL 5ea8c8cc4d autotools: detect cross compilation. 2014-02-20 20:23:24 +09:00
Cedric BAIL 6f85993602 doc: fix build on windows. 2014-02-20 20:23:24 +09:00
Jean-Philippe Andre f1e1e70650 Dox: Try to fix build for windows
Evil support was not included in the docs preview generator build.
Tested locally with Makefile & deps from the wiki (win64).
2014-02-19 14:24:30 +09:00
Jean-Philippe Andre 29a7fe464e Doc: Fix compilation warning in preview_text_filter.c
Init variable properly.
2014-02-14 13:06:05 +09:00
Jean-Philippe Andre 568c014dc9 Doc: Try to fix nightly builds
Nightly build failed with (make doc):
cd: ../../../src/lib/eo/.libs: No such file or directory
Looks like there's one too many ../

I guess the build dir is not the source dir on the build bots.
2014-02-14 10:10:37 +09:00
Carsten Haitzler 0ad92d81e2 fix DSO complaint on build ... build break by jpeg. 2014-02-13 20:04:29 +09:00
Carsten Haitzler 9232e2befa fix build break with preview_text_filter.c 2014-02-13 19:02:08 +09:00
Jean-Philippe Andre 511049e20d Evas filters: Improve doc automatization
Include example filter codes from src/examples in Doxygen.
Use these examples for the generation as well.
2014-02-13 17:37:33 +09:00
Jean-Philippe Andre 9f1ae254db Evas filters: Add image for the Syntax example
And change it a bit so the glow is nicer :)
2014-02-13 17:37:33 +09:00
Jean-Philippe Andre 8665a3d574 Doc: Add filter examples from the doc
The filter code is a copy and paste from the doc.
Maybe the code should be in an include file, so we're sure the
preview and the documentation code are the same?
2014-02-13 17:37:33 +09:00
Jean-Philippe Andre a9b82a7928 Doc: Add makefile for text filter previews
Build utility tool based on the local hidden .libs
2014-02-13 17:36:23 +09:00
Jean-Philippe Andre cd926cc946 Evas filters: Add a small utility to take some screenshots
Let's add some real screenshots to the documentation!
Yay! Fancy effects inlined in the Doxygen! Well... soon :)
2014-02-13 17:29:32 +09:00
Jean-Philippe Andre 0a97a74319 Doxygen: Reduce line gap in code fragments
Code should look compact, why use small fonts otherwise?
Reduce the gap between code lines (stored as separate <div>)
to 70%. This looks about right.
2014-02-13 11:24:48 +09:00
Jean-Philippe Andre 642f2ecca9 Doxygen: Use larger fonts
Yes, I know. Someone hates large fonts.
But the ones currently used are so SMALL!
Also, this will just revert back to what's defined in e.css,
because body and list font size aren't even consistent.

Also, display the page titles like titles: big fat blue letters.
2014-02-13 11:24:48 +09:00
Jean-Philippe Andre 0471c9a835 Doxygen: Align param names vertically to the top
If a param description is long and spans on multiple lines,
then the param name should be aligned to the first description
line. Otherwise the layout becomes confusing.

Align [in] and [out] vertically like params.
2014-02-13 11:24:47 +09:00
Daniel Juyung Seo 23a36b642b efl: fixed documentation typos. 2014-01-29 00:19:41 +09:00
Jihoon Kim 3ebc18731f Use key instead of keyname for considering setxkbmap 2014-01-04 13:25:21 +09:00
Carsten Haitzler 82841fefe3 fix seb "fix" commit that causes lots of segvs.
this fixes 04e0a6d95e which introduced
copy & paste segv's by properly terminating the right buffer.
2013-12-09 18:39:07 +09:00
Sebastian Dransfeld 1d1feea572 eldbus: Check return value of _type_size
_type_size could return 0, which would fail in the modulo call next.
Check for 0, and return.

Fixes CID 1039436
2013-12-07 21:11:32 +01:00
Carsten Haitzler 8b0955c8d0 doc build - finally fix images.mk to stop changing order every make
sort changes output based on locale. even between C and en_US etc.
letalone all the other interesting ones. this causes the sorted order
to keep changing of the images. this forces locale to C to make it
always the same order.
2013-12-06 09:02:18 +09:00