summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIP - Start changing the MarshalType for non-owned string returneddevs/lauromoura/T8515-marshaler-reviewLauro Moura2019-12-112-1/+22
|
* csharp: Add context information about marshaling directionLauro Moura2019-12-113-2/+37
| | | | | | | | | This will be used to differentiate annotations between calls from C# to C functions (DllImport-like) and delegates C# gives to C to be called back (virtual methods and callbacks). By default, the root context assumes the managed code calling the native code.
* csharp: Disable annotations for out non-own stringsLauro Moura2019-12-111-2/+9
| | | | | They will be handled manually to avoid leaks, as the control would return to C before the custom marshaller could release them.
* csharp: Update string marshalersLauro Moura2019-12-115-23/+126
| | | | | Mostly done, needs work on strings being returned without ownership from C# to C.
* csharp: Move string marshalers into own filesLauro Moura2019-12-113-82/+93
| | | | Preparing for future refactor
* efl.ui.text: rename to efl.ui.textboxAli Alzyod2019-12-1128-276/+302
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch will rename efl.ui.text into efl.ui.textbox Effected classes: - efl.ui.text_async : efl.ui.textbox_async - efl.ui.text_editable : efl.ui.textbox_editable **will be removed anyway** Needs consider Classes: - efl.ui.text_part - efl.ui.text_factory.Emoticons - efl.ui.text_factory.Fallback - efl.ui.text_factory.Images Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike, YOhoho Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10835
* eina_inline: Fixed a potential dangling pointerJunsuChoi2019-12-111-1/+5
| | | | | | | | | | | | | | | | Summary: fixed by null handling Test Plan: N/A Reviewers: Hermet, YOhoho, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10850
* csharp: Removed duplicated call_match implementationsLauro Moura2019-12-105-36/+63
| | | | | | | | | | | | | | | | | | | Summary: Small refactor. Keep it in a single header that other files could use. Ref T8515 Reviewers: brunobelo, felipealmeida, jptiz Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8515 Differential Revision: https://phab.enlightenment.org/D10852
* ector: Fix build warning about unused variableAli Alzyod2019-12-101-1/+1
| | | | | | | | | | | | Reviewers: bu5hm4n, Hermet, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10851
* mailmap: update commit name and email cleanup fileStefan Schmidt2019-12-101-2/+66
| | | | | | | | Keep this up to date and get more matches working. Also merge in change from Terminology copy. This allows better statistics on our git repo. Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D10832
* docs: fix to make docs contain proper imagesWonki Kim2019-12-108-73/+17
| | | | | | | | | | | | | | | | Summary: links to images that this patch is modifying would be included in doxy docs without pre or post process something in meson definition, if we applied this patch. Reviewers: segfaultxavi, bu5hm4n Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10821
* Example: enhance efl-canvas-vg-simpleJunsuChoi2019-12-101-13/+24
| | | | | | | | | | | | | | | | | | Summary: - Use path reserve - Use container object Test Plan: ./build/src/examples/evas/efl-canvas-vg-simple Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10830
* efl_ui_text_editable: remove classAli Alzyod2019-12-104-11/+2
| | | | | | | | | | | | | | Summary: This class is the same as efl_ui_text, efl_ui_text is editable by default. This class should be removed Reviewers: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10831
* Efl.Canvas.Text rename into Efl.Canvas.TextblockAli Alzyod2019-12-1031-567/+567
| | | | | | | | | | | | | | | | Summary: Efl.Canvas.Text renamed into **Efl.Canvas.Textblock** Efl.Canvas.Text_Factory renamed into **Efl.Canvas.Textblock_Factory** Reviewers: woohyun, segfaultxavi, zmike, bu5hm4n, YOhoho Reviewed By: segfaultxavi Subscribers: cedric, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10808
* csharp: Refactor annotation selection functionLauro Moura2019-12-091-64/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Better names to convey their intent and formatting. Removing the hardcoded `return` from them will also free the return list to be used for `@out` parameters as they have similar semantics to `return`, different from regular `@in` parameters. This change in behavior will come in a future commit, and explains why are are keeping both lists for now despite being essentially the same. Ref T8515 Test Plan: Run existing tests Reviewers: felipealmeida, brunobelo, jptiz, YOhoho Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8515 Differential Revision: https://phab.enlightenment.org/D10827
* eolian_mono: reduce duplicated code in OnXXXEventYeongjong Lee2019-12-092-38/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: `CallNativeEventCallback` is used to reduce duplicated code. E.g. Before ``` protected virtual void OnFullscreenChangedEvent(Efl.Ui.WinFullscreenChangedEventArgs e) { var key = "_EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } ``` After ``` protected virtual void OnFullscreenChangedEvent(Efl.Ui.WinFullscreenChangedEventArgs e) { IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); CallNativeEventCallback("elementary", "_EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED", info, (p) => Marshal.FreeHGlobal(p)); } ``` Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10661
* eolian_mono: remove unused EventArgs parameter of OnXXXEventYeongjong Lee2019-12-091-3/+12
| | | | | | | | | | | | | | | | | | | | | | Summary: if a event doesn't have `EventArgs`, parameter `EventArgs e` of its OnXXXEvent is naver used. ref T8414 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8414 Differential Revision: https://phab.enlightenment.org/D10656
* ecore_x: fix unused parameter warnings after xgesture removalStefan Schmidt2019-12-091-9/+9
| | | | | | | | | | | | | | | | Summary: I somehow missed these warnings when doing the removal patch. Should have spotted them. :( Reviewers: devilhorns, raster, bu5hm4n, segfaultxavi, vtorri Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10833
* elocation: remove beta libraryStefan Schmidt2019-12-0928-4104/+19
| | | | | | | | | | | This has never been fully finished or really used. The GeoClue project dbus API moved on to a newer version as well. We still have it marked as beta so we should take the chance and get rid of it to cleanup our tree a little bit. Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D10788
* tests/ecore_wl2: Add test for ecore_wl2_window_role functionsWoochanlee2019-12-091-0/+20
| | | | | | | | | | | | | | | | | Summary: tests/ecore_wl2: Add test for ecore_wl2_window_class functions ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D10829
* c#: Suppressing warning for CA1724.Bruno da Silva Belo2019-12-093-0/+4
| | | | | | | | | | | | | | | | Summary: ref T8413 Reviewers: lauromoura, felipealmeida, YOhoho, jptiz Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8413 Differential Revision: https://phab.enlightenment.org/D10811
* csharp: changing string literal with nameof.Lauro Moura2019-12-094-25/+21
| | | | | | | | | | | | | | | | Summary: ref T8407 Reviewers: lauromoura, felipealmeida, YOhoho, jptiz Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8407 Differential Revision: https://phab.enlightenment.org/D10668
* csharp: Marking property with static.Lauro Moura2019-12-091-3/+3
| | | | | | | | | | | | | | | | Summary: ref T8420 Reviewers: lauromoura, felipealmeida, YOhoho, jptiz Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8420 Differential Revision: https://phab.enlightenment.org/D10657
* Efl.Ui.Internal_Text_Interactive: missed renames from previous commitXavi Artigas2019-12-091-4/+4
|
* efl_text_cursor: rename enumsali2019-12-094-15/+15
| | | | | | | | | | | | | | | | | | | | | | | Summary: rename two movement enums **paragraph_first**: to just **first** this will move the cursor to the beginning of the text **paragraph_last**: to just **last** this will move the cursor to the end of the text These two are not directly related to paragraph the will move the cursor depending on the whole content or maybe **start** and **end** what do you think ? Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10810
* evas vg: ++documentationHermet Park2019-12-091-1/+1
|
* Efl.Ui.Text : all related interfacesali2019-12-0918-1019/+1375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Change summary: Removed : - efl_ui_text_selectable.eo and add it functionality into efl_text_interactive.eo - efl_ui_text_editable.eo because it is same as efl_ui_text.eo (just set one property by default) Modifications: - Move all Text Input enums and functionality from efl_ui_text class into its own interface, this interface will be implemented at efl_ui_internal_text_interactive class. - Rename selection_allowed property to selectable (same as other "editable" property) in efl_text_interactive - Add select_all function into efl_text_interactive interface - Add have_selection property into efl_text_interactive interface - Move user_change , selection_start/change/clear and undo/redo events into efl_text_interactive interface. - Move methods and events of copy/paste/cut into efl_ui_text - Fix password-related functionality - Remove context menu clear and add_item methods. (these should be added later with better design) - Remove Validation event from EFL_UI_TEXT. (these should be added later with better design) Reviewers: woohyun, tasn, segfaultxavi, zmike, bu5hm4n Subscribers: stefan_schmidt, a.srour, q66, zmike, segfaultxavi, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D10711
* evas_text: retain legacy behaviourali2019-12-061-3/+1
| | | | | | | | | | This will retain old legacy behaviour (No Eina Checks). Warnings will be generated when using elementary test, unless we retain old behaviour https://phab.enlightenment.org/D10716#203305 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10826
* imf - make xim+scim the defaults not xim+ibus due to ibus being brokenCarsten Haitzler (Rasterman)2019-12-062-2/+7
| | | | | | at leats ibus seems to just not work for me on arch at least - even with gtk apps, but scim does, so maybe make scim the main thing again? also allows glib to be off by default. :)
* ecore_x: remove support XGesture extensionStefan Schmidt2019-12-068-331/+11
| | | | | | | | | | | | | | | | | | | | Summary: This was a X11 extension mainly developed for Tizen. By now I can only find it packaged by Gentoo as the only Linux distribution and Tizen is now longer using it either. Bringing it up during EDD and on the mailing list did not come up with any users. I think we can go ahead and deprecate the API and remove the functionality. Reviewers: raster, cedric, devilhorns, zmike Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10823
* glib - enable by default again - ibus imf needs itCarsten Haitzler (Rasterman)2019-12-061-1/+1
|
* elm_code: set box align correctlyMarcel Hollerbach2019-12-061-0/+1
| | | | | | sometimes the resize size is not in line with the size of the outer widget, in this case the box should align its children at the very top, otherwise the cursor grid is falling out of sync with the text content.
* efl_canvas_object_animation: support duration 0Jaehyun Cho2019-12-063-3/+53
| | | | | | | | | | | | | | | The duration of animation means how long the animation is executed. Therefore, if duration is 0, then the final state of animation should be applied to the target object immediately. In this case, if final_state_keep is true, then the final state of animation is preserved. Otherwise, the final state of animation is not preserved. ref T8436, T8513 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10812
* elementary: Fix declaration of CV managers gettersLauro Moura2019-12-063-0/+24
| | | | | | | | | | | This should convey better their intention of the setting taking ownership of the passed value and the getter returning just a view to them. Fixes T8514 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10824
* efl: stabilize Efl.Gfx.ArrangementYeongjong Lee2019-12-061-1/+1
| | | | | | | ref T7864 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10642
* focus: modify a formula to calculate focus region to showWonki Kim2019-12-061-3/+6
| | | | | | | | | | | if there was a spacer around elm.swallow.content of scroller, position of pan object would be different with position of the scroller obj. this patch modifies a fomular that calculates some points relative to scroller to a fomular that calculates the points relative to pan obj. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10745
* collection_view: fix a potentional errorWonki Kim2019-12-061-2/+2
| | | | | | | | | assign signed int value on bigger unsigned variable can make information of the varaible lost. this patch fix the problem. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10723
* ci: re-enable cxx bindings for CI builds againStefan Schmidt2019-12-062-7/+6
| | | | | | | | | | | | | | | While cxx bindings are enabled by default we had them turned off on the CI builds due to the amount of memory they used in the examples building/linking. This often had lead to the case where the Travis build failed due too little resources on the Travis nodes for it. I have not seen this stalls during linking on my machine for a while now and my tests on Travis do also not show this. Time to enable them again and if the problem comes back we can revert. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10822
* evas vector: add one comment todo.Hermet Park2019-12-061-0/+1
|
* efl_ui_alert_popup: remove beta for efl_ui_alert_popup_titleTaehyub Kim2019-12-062-2/+2
| | | | | | | | | | | | | | Summary: remove the title part beta tag for the efl ui alert popup Reviewers: Jaehyun_Cho, zmike, bu5hm4n, segfaultxavi Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10820
* Example: Add efl-cavnas-vg-simple for unified APIJunsuChoi2019-12-062-0/+653
| | | | | | | | | | | | | | | | | | Summary: Add Evas vector graphcis example based on unified APIs Test Plan: build ./build/src/examples/evas/efl-canvas-vg-simple Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10819
* evas vg: remove build warningJunsuChoi2019-12-061-3/+2
| | | | Remove parameter already deleted
* evas vg: --remove logHermet Park2019-12-061-1/+0
|
* vg ector: Call a pair of ector begin/end for ector buffer drawing.Hermet Park2019-12-069-12/+51
| | | | | | | | | | While we render vector drawing on ector,it uses ector buffers for subsequent compositions. In this sequence, it switches ector buffer with a composition target, while resuing the global ector context. Previously, it trickly switched ector buffer, it broke the ector begin/end pair. Now, it needs to recover global ector buffer once the composition finished. Thus ector buffer need to return the current pixels information for this.
* ector_software_rasterizer: use dynamic array by span size.JunsuChoi2019-12-061-4/+40
| | | | | | | | | | | | | | | | | | Summary: When use with intersect mask, if span_count over span array size, composition is to be wrong. So, In this case, we use dynamic array by span_count. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10748
* elm_label: Emit click signal on acivate action on labelJunsuChoi2019-12-062-0/+20
| | | | | | | | | | | | | | | | Summary: In accessibility enabled case click signal of legacy label is not triggered. Test Plan: N/A Reviewers: Hermet, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10803
* evas_events: fix wrong condition of proxy event behavior.Hosang Kim2019-12-061-4/+4
| | | | | | | | | | | | | | | | Summary: If source_events is false, Evas object doesn't repeat events to source. But events is always repeated to source in multi touch case. Reviewers: Hermet, raster, cedric Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10807
* Updating french translationmaxerba2019-12-051-1/+1
|
* Ector: Prevent access to NULLJunsuChoi2019-12-051-2/+2
| | | | | | | | | | | | | | | | Summary: ector thread can called *data(task) after deleting task object. Test Plan: N/A Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10804
* efl_text_attribute_factory: update documentionAli Alzyod2019-12-051-2/+2
| | | | | | | | | | | | Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10806