summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* elm_code: add method to set alpha.devs/netstar/elm_code_alphaAl Poole2017-12-053-36/+53
|
* efl_ui_focus_user/object: fix api duplicationMarcel Hollerbach2017-12-0520-41/+41
| | | | just like the commit before, this fixes duplicated api names
* efl_ui_focus_manager: fix api duplicationMarcel Hollerbach2017-12-055-7/+7
|
* eolian cxx: free state on exitDaniel Kolesa2017-12-051-0/+4
|
* eolian: pass state where necessaryDaniel Kolesa2017-12-057-141/+258
| | | | | | This modifies the API so that global state removal is made possible. It's still used internally for now but externally the state is contained.
* eolian: add initial refcounting for database objectsDaniel Kolesa2017-12-052-2/+32
| | | | | This will be necessary once the unit system is in (it will be used to keep track of multiple references to objects across units).
* eolian: pass unit within validation engineDaniel Kolesa2017-12-053-92/+98
|
* eolian: contain master state in a larger structureDaniel Kolesa2017-12-053-29/+45
|
* eolian: add API for master unit creationDaniel Kolesa2017-12-052-5/+53
|
* eolian: create an actual unit structure for filesDaniel Kolesa2017-12-053-8/+46
| | | | | | Units now form an actual tree stored in their own hash. This will later replace all global state of Eolian, by introducing a master unit that you will pass around.
* elm_widget: simplify _eval_registration_candidateYeongjong Lee2017-12-051-41/+14
| | | | | | | | | | | | Test Plan: make check Reviewers: bu5hm4n, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5588
* build: fix examples build without c# bindings enabledStefan Schmidt2017-12-051-1/+0
| | | | | | Listing it here without guards will break for builds without c# enabled. It was actually taken care of a few lines below where it gets included with the right guards. This one was just around by accident I think.
* edje: rename intf Efl.Canvas.Layout_Group to Efl.Layout.GroupAmitesh Singh2017-12-0514-38/+38
|
* edje: rename intf Efl.Canvas.Layout_Calc to Efl.Layout.CalcAmitesh Singh2017-12-0513-42/+42
|
* edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.SignalAmitesh Singh2017-12-0524-98/+98
|
* c#: Fix test caseJean-Philippe Andre2017-12-051-1/+1
| | | | return -1 in a void function breaks the build for me (clang)
* ecore_wl2: Fix a warningJean-Philippe Andre2017-12-051-1/+1
|
* eo: Move hacky API auto_unref to C onlyJean-Philippe Andre2017-12-0513-53/+12
| | | | | | This API is meant to be used by parts only, and by bindings dealing with part objects. This patch fixes make check which got broken in the after the previous one (cxx).
* cxx: Fix compilation after mergeJean-Philippe Andre2017-12-0512-78/+54
| | | | | | | | | | | | 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.
* cxx: Define types after forward declarationsJean-Philippe Andre2017-12-053-5/+3
| | | | This is useful if the types refer to the current class.
* cxx: Include edje from elementaryJean-Philippe Andre2017-12-051-0/+1
|
* cxx: Fix one conversion to Eina_ValueJean-Philippe Andre2017-12-051-0/+4
|
* cxx: Update slider exampleJean-Philippe Andre2017-12-051-15/+20
|
* cxx: Add global _delete() method to all objectsJean-Philippe Andre2017-12-052-0/+13
| | | | | | This is really just calling efl_del() and detaching the internal pointer from the C++ object. This will not affect other references, which means after del the object may still be alive, probably without a parent.
* cxx: Use per-function guards in efl objectJean-Philippe Andre2017-12-057-35/+54
| | | | | | This prevents generation of del(). I also removed constructor, finalize and destructor as I believe this requires special work with eo_inherit (where did this work go??).
* cxx: Include definition header in impl headerJean-Philippe Andre2017-12-051-0/+4
| | | | | Good for IDE's. Not extremely useful considering how unreadable those files are.
* cxx: Add header guards for manual definitionsJean-Philippe Andre2017-12-052-0/+24
| | | | | | | This will be used for things like efl_del efl_part was a lucky case where the entire class was to be implemented manually, thus the global header guard was sufficient.
* cxx: Give ref to returned objectsJean-Philippe Andre2017-12-051-2/+2
| | | | | | | | This should give a ref to obj in the following scenario: auto obj = other.function(); Where obj is an eo object.
* cxx: Implement support for @class static functionsJean-Philippe Andre2017-12-053-10/+24
|
* cxx: Fix indentation of ifdef guardJean-Philippe Andre2017-12-054-5/+5
|
* win: Allow unref until deletionJean-Philippe Andre2017-12-051-0/+4
| | | | | This is for bindings. I wish I could actually distinguish the use case more (between efl_add() from C and instantiation from C++).
* cxx: Implement support for partsJean-Philippe Andre2017-12-058-21/+210
| | | | | | | | | | This generates methods like this: Part_Class part_name() const; Which can then be used like: slider.indicator().format_string_set("%1.1f");
* cxx: Fix evas compile test and Evas.hhJean-Philippe Andre2017-12-052-9/+1
| | | | | | | The c++ header was checking the wrong header guard. Fixing that would break the compilation test, as it was doing the wrong thing. Also I think config.h should not be included for compilation tests. This should make things slightly better.
* cxx: Fix bg examplesJean-Philippe Andre2017-12-052-15/+27
| | | | One uses the Bg widget and the other one uses the part.
* cxx: Implement proper part support (wrt. refs)Jean-Philippe Andre2017-12-054-5/+32
| | | | | | It's VERY hacky, but works as expected: no leak, no extra unref. This is a lucky case of simply overriding efl_part() implementation in C++, without having to modify the declaration.
* cxx: Add header guards to .impl.hhJean-Philippe Andre2017-12-051-7/+25
| | | | | Those are included headers after all, even if they're only included once from Elementary.hh (or whatever Efl_Header.hh).
* cxx: Avoid pedantic warning with -Wold-style-castJean-Philippe Andre2017-12-052-8/+10
| | | | This affects the generated headers.
* cxx: Use set for forward classesJean-Philippe Andre2017-12-052-6/+10
| | | | | This avoids duplication. Not very important as there are FWD_GUARD macros anyway.
* cxx: Fix some pedantic warnings from clangJean-Philippe Andre2017-12-051-20/+20
| | | | | Shadow variables, 0 used as nullptr. clang still complains that usage() is not declared as noreturn.
* cxx: Add implicit conversion to Eo* pointerJean-Philippe Andre2017-12-052-1/+6
| | | | | | | This is part of the experimental stuff. Allows calling C functions without using ._eo_ptr() explicitly. Probably not super useful, assuming the interfaces are done :)
* cxx: Only use eo_cxx:: for methodsJean-Philippe Andre2017-12-053-5/+18
| | | | | | | | | | Add an experimental (disabled) macro to only generate functions inside the eo_cxx equivalent of a class, instead of inside both the eo_cxx and the normal class definition. I guess the duplicated definition had something to do with doxygen, but I'm not sure this is quite necessary as doc will be generated with custom scripts.
* cxx: No instantiate ctors for non-regular classesJean-Philippe Andre2017-12-051-7/+9
| | | | | Only regular classes can be instantiated, this should be reflected in the C++ binding as well.
* cxx: Add define EFL_CXXPERIMENTAL for testingJean-Philippe Andre2017-12-058-11/+27
| | | | | | | | | | | | I'll hide some controversial features behind this, until we come to an agreement with @felipealmeida and people who actually know C++ (iow: not just me^^). Features protected: - easy wref (using -> without locking) - xxx_event_cb_add() functions in object classes - instantiate(obj) to create a new object - add as a synonym for instantiate (both in efl::eo)
* cxx: Showcase function pointer in calendar exampleJean-Philippe Andre2017-12-051-29/+49
| | | | This is just a work-in-progress example.
* cxx: Add support for function pointersJean-Philippe Andre2017-12-0510-49/+386
| | | | This was tested on the function pointer Efl.Ui.Format_Func_Cb
* cxx: Add strbuf to the list of recognized builtinsJean-Philippe Andre2017-12-051-0/+6
|
* cxx: Add FIXME note in eina_value.hhJean-Philippe Andre2017-12-051-6/+66
| | | | | | | I think some concepts are not handled properly in this set of classes. I'll do some more experiments to see if I can find a working solution, but I think we need 3 variants of eina_value, instead of just the two provided.
* format: Use strbuf builtin type instead of ptr()Jean-Philippe Andre2017-12-051-1/+1
|
* eolian: Add builtin type "strbuf"Jean-Philippe Andre2017-12-053-2/+3
| | | | Refers to Eina_Strbuf*
* cxx: Add strbuf supportJean-Philippe Andre2017-12-053-0/+386
| | | | | | Comes in two fashions: - strbuf_view (read-only) - strbuf (read/write)