Chris Michael [Wed, 1 Nov 2017 12:52:03 +0000 (08:52 -0400)]
ecore-drm2: Fix issue of not being able to set output mode
If we pass in screen geometry here when trying to set an output mode,
we can encounter "out of memory" errors from libdrm with outputs
that have a high resolution. As it turns out, we should be passing 0, 0 for
the x/y values when trying to set an output mode.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 1 Nov 2017 12:40:09 +0000 (13:40 +0100)]
efl_ui_win: revert accidental override remove
Lukasz Stanislawski [Wed, 1 Nov 2017 12:31:46 +0000 (21:31 +0900)]
elm: mark access interfaces as beta
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5365
Jean-Philippe Andre [Wed, 1 Nov 2017 06:16:30 +0000 (15:16 +0900)]
elm: Major cleanup of EO files
This prevents legacy EO classes from being exposed through .eo.h headers
or .eo in share/eolian/includes. Also removes a slew of useless xxx_eo.h
intermediate headers.
Notes:
- elm_systray has no proper API: it's not clear if the EO API should be
released (in which case it needs to be renamed to efl_something) and
there is no legacy API to create a systray object.
- Some files have been placed in a "FIXME" section, as I believe they
are necessary within EO land, but at the same time still don't
conform to the interfaces (eg. name starts with elm_).
- elm_interface_scrollable is required by photocam. This means photocam
needs to be adapted to fit the EO scroller API (still to be
completed, I believe).
Bugs:
- This breaks most C++ examples. I KNOW. And I'm working on it.
Ref T5301
Daniel Kolesa [Wed, 1 Nov 2017 12:19:33 +0000 (13:19 +0100)]
eolian: add part validation (including dup check with funcs)
Daniel Kolesa [Wed, 1 Nov 2017 11:10:05 +0000 (12:10 +0100)]
elementary: use @cref where possible
Daniel Kolesa [Wed, 1 Nov 2017 11:00:14 +0000 (12:00 +0100)]
eolian: add @cref as alternative to @in
This is a "pass by reference to const" equivalent. There is no explicit pointer
and currently it's the same as ptr(const(x)) on the type. However, it is also
usable on properties.
Godly T.Alias [Wed, 1 Nov 2017 07:11:30 +0000 (16:11 +0900)]
Genlist Item Pin Feature
Summary:
**@feature** T6241
This feature enables genlist to pin an item to viewport which will
be available always for user to view/select.
**Use Case**:
In a big list of music, most times when user finds a song which they
like, before playing that they may want to go through the entire list
to check whether there is some other good songs, but
after seeing the entire list user have to again scroll back to the
position of item which they liked to play it then.
In this case item pinning can be used, so that the item
which they want to keep for future selection can be pinned
and then it will remain in viewport, finally when user want to do
operation on item, it will be readily available in viewport.
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Test Plan: Elementary Test -> Genlist -> Double click on items to enable/disable pinning
Reviewers: raster, cedric, prince.dubey, SanghyeonLee
Subscribers: rajeshps, jpeg, shilpasingh
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D5340
JinYong Park [Wed, 1 Nov 2017 04:09:17 +0000 (13:09 +0900)]
Ecore_Imf: fix wrong annotation and enum name
Summary:
There are wrong annotation about version and wrong enum name
so fix that.
Reviewers: jpeg, cedric, akanad
Differential Revision: https://phab.enlightenment.org/D5403
JinYong Park [Wed, 1 Nov 2017 04:08:58 +0000 (13:08 +0900)]
Eet: fix wrong doxygen definition
Summary:
Eet_Image_Encoding and Eet_Colorclass is from enumeration in Emile,
but it's definition is typedef, not enum.
It makes broken link like below webpage.
https://docs.enlightenment.org/efl/current/group__Eet__File__Image__Group.html
In above page, Eet_Image_Encoding is not linked.
So doxygen documentation should be changed to typedef.
Reviewers: cedric, jpeg, myoungwoon, conr2d
Differential Revision: https://phab.enlightenment.org/D5411
JinYong Park [Wed, 1 Nov 2017 04:08:36 +0000 (13:08 +0900)]
Elm_Entry: Add annotation to unnamed enum
Summary:
There are unnamed enumeration in Elm_Entry,
so add annotation and names like D5376 (https://phab.enlightenment.org/D5376)
Reviewers: jpeg, cedric, myoungwoon
Differential Revision: https://phab.enlightenment.org/D5401
Bryce Harrington [Wed, 1 Nov 2017 02:36:50 +0000 (11:36 +0900)]
eina: Fix spelling errors in documentation (log..matrix)
Reviewers: cedric, ajwillia.ms
Subscribers: segfaultxavi, jpeg
Differential Revision: https://phab.enlightenment.org/D5417
Jean-Philippe Andre [Tue, 31 Oct 2017 07:36:32 +0000 (16:36 +0900)]
evas: Move evas_canvas.eo to legacy-only
This isn't meant to be installed. The canvas API in EO is based around
the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is
not EO (eg: ecore_evas, evas, ...)
Note: evas_canvas3d is the last remaining thing that is installed along
EO files, but those are all beta APIs.
Jean-Philippe Andre [Tue, 31 Oct 2017 07:30:43 +0000 (16:30 +0900)]
evas: Add seat argument to 'pointer_inside' (EO)
This merges pointer_inside and pointer_inside_by_device.
Affects only EO.
Jean-Philippe Andre [Tue, 31 Oct 2017 07:27:38 +0000 (16:27 +0900)]
edje_cc: Fix shadow warning (global scope)
Jean-Philippe Andre [Tue, 31 Oct 2017 07:23:07 +0000 (16:23 +0900)]
evas: Remove specific pointer_inside API
This is a name clash. It doesn't matter too much since Evas.Canvas isn't
meant to be exposed to the EO API.
Chris Michael [Tue, 31 Oct 2017 14:02:40 +0000 (10:02 -0400)]
evas: Remove erroneous EINA_UNUSED
'output' variable is actually used in this function, so remove
EINA_UNUSED from function parameter
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jaehyun Cho [Tue, 31 Oct 2017 11:19:50 +0000 (20:19 +0900)]
efl_animation: Change protected methods to be internal methods
target_state_save, target_state_reset, target_map_reset methods are used
internally.
Therefore, those methods become internal methods.
Bryce Harrington [Tue, 31 Oct 2017 11:31:24 +0000 (11:31 +0000)]
eina: Fix spelling errors in documentation (file..lock)
Summary: Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewers: cedric, ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: segfaultxavi, jpeg
Differential Revision: https://phab.enlightenment.org/D5410
Daniel Kolesa [Tue, 31 Oct 2017 11:14:51 +0000 (12:14 +0100)]
eolian: properly free parts
Daniel Kolesa [Tue, 31 Oct 2017 11:10:59 +0000 (12:10 +0100)]
eolian: fill parts into db
Andrii Kroitor [Tue, 31 Oct 2017 08:34:28 +0000 (10:34 +0200)]
edje_cc: move offset_scale to correct place and fix doc
Jean-Philippe Andre [Tue, 31 Oct 2017 05:20:09 +0000 (14:20 +0900)]
eolian: Add some color to those warning messages
Note: This is not using eina_log, not entirely sure why, but this
doesn't prevent us from adding some color.
Jean-Philippe Andre [Tue, 31 Oct 2017 04:58:31 +0000 (13:58 +0900)]
eolian: Skip @beta APIs for duplicate warnings
No warnings:
export EOLIAN_WARN_FUNC_DUPLICATES=0
No beta warnings:
export EOLIAN_WARN_FUNC_DUPLICATES=1
All warnings including beta:
export EOLIAN_WARN_FUNC_DUPLICATES=2
EOLIAN_WARN_FUNC_DUPLICATES is not an API and may change in the future
as we improve the tool :)
Amitesh Singh [Tue, 31 Oct 2017 05:26:55 +0000 (14:26 +0900)]
elm test: calender - use eina_strbuf_append_strftime instead
WooHyun Jung [Tue, 31 Oct 2017 02:33:12 +0000 (11:33 +0900)]
efl_ui_slider: add eina_value_flush after using the value
WooHyun Jung [Fri, 27 Oct 2017 09:31:59 +0000 (18:31 +0900)]
efl_ui_calendar: apply new format_cb
Felipe Magno de Almeida [Mon, 30 Oct 2017 23:05:39 +0000 (21:05 -0200)]
eo-cxx: Fix compilation error with any_value received by value
Derek Foreman [Mon, 30 Oct 2017 19:23:07 +0000 (14:23 -0500)]
ecore_evas_wayland: Fix session recovery
Turns out when apps reconnect to the compositor they don't always
realize they need to redraw themselves. Force a manual render
at startup if we end up in a state where an update is needed but
has probably been dropped on the floor.
Cedric Bail [Mon, 30 Oct 2017 18:17:59 +0000 (11:17 -0700)]
efl-net: fixup copy & paste abuse.
Andrii Kroitor [Mon, 30 Oct 2017 14:46:09 +0000 (16:46 +0200)]
edje_cc: fix parsing and documentation
This fixes parsing of properties in edje_cc and makes it more
consistent. All bool and color values are now parsed in same way.
Default values for many values are now given in edc_ref.
Some documentation blocks are moved to correct places.
Fixed mistakes in description of edc properties.
@fix
Andrii Kroitor [Mon, 30 Oct 2017 14:26:57 +0000 (16:26 +0200)]
edje_cc: fix item.max parsing
It is now possible to set item.max back to default value (-1 -1).
@fix
Andrii Kroitor [Mon, 30 Oct 2017 13:50:28 +0000 (15:50 +0200)]
edje_cc: make box/table item.spread minimum 1 1
Minimum value was 0 0, but it has same effect as 1 1.
Andrii Kroitor [Mon, 30 Oct 2017 13:12:23 +0000 (15:12 +0200)]
edje_cc: fix program.filter description
@fix
Andrii Kroitor [Mon, 30 Oct 2017 12:26:43 +0000 (14:26 +0200)]
edje_cc: fix text.align description
@fix
Andrii Kroitor [Mon, 30 Oct 2017 11:51:17 +0000 (13:51 +0200)]
edje_cc: limit map.zoom to non-negative values
@fix
Andrii Kroitor [Mon, 30 Oct 2017 11:12:11 +0000 (13:12 +0200)]
edje_cc: move box and table properties documentation
Documentation comments for properties should be near parser
implementation.
@fix
Andrii Kroitor [Mon, 30 Oct 2017 10:51:45 +0000 (12:51 +0200)]
edje_cc: make color parsing consistent
All colors now accept 4 ints or hex string.
@fix
Andrii Kroitor [Mon, 30 Oct 2017 09:24:35 +0000 (11:24 +0200)]
edje_cc: make bool parsing consistent
@fix
Andrii Kroitor [Mon, 30 Oct 2017 09:23:44 +0000 (11:23 +0200)]
edje_cc: fix spelling
@fix
Andrii Kroitor [Mon, 30 Oct 2017 07:59:19 +0000 (09:59 +0200)]
edje_cc: fix default color_class colors
If you have undefined color_class, edje will use solid white for its
colors. If you define color_class name without colors edje_cc now has
same defaults instead of 0 0 0 0.
@fix
Andrii Kroitor [Fri, 27 Oct 2017 10:20:37 +0000 (13:20 +0300)]
edje_cc: move part_remove and program_remove to group
These properties belong to group, but were in part's block in edcref.
@fix
Andrii Kroitor [Fri, 27 Oct 2017 10:03:28 +0000 (13:03 +0300)]
edje_cc: fix color_class description
It can't be overridden by color values in state. Colors can only be
modified.
@fix
Andrii Kroitor [Fri, 27 Oct 2017 08:21:01 +0000 (11:21 +0300)]
edje_cc: fix incorrect type in minmul defaults
@fix
Andrii Kroitor [Fri, 27 Oct 2017 08:17:01 +0000 (11:17 +0300)]
edje_cc: parse "fixed" as bool
@fix
Andrii Kroitor [Fri, 27 Oct 2017 08:06:23 +0000 (11:06 +0300)]
edje_cc: fix state.no_render description
@fix
Andrii Kroitor [Fri, 27 Oct 2017 07:05:37 +0000 (10:05 +0300)]
edje_cc: fix color2 and color3 descriptions
color2 is used for outline
color3 is used for shadow
@fix
Andrii Kroitor [Fri, 27 Oct 2017 06:52:15 +0000 (09:52 +0300)]
edje_cc: add missing default values to documentation
@fix
Andrii Kroitor [Fri, 27 Oct 2017 06:40:43 +0000 (09:40 +0300)]
edje_cc: fix errors in documentation
@fix
Amitesh Singh [Mon, 30 Oct 2017 11:27:53 +0000 (20:27 +0900)]
elm: call eina_value_flush to deallocate memory
I am not sure if Eina_Value allocates dynamic memory
for basic types but its better practice to call eina_value_flush()
at the end.
Carsten Haitzler (Rasterman) [Mon, 30 Oct 2017 08:01:39 +0000 (17:01 +0900)]
edje_cc - add offset_scale/offscale per desc to allow offsets to scale
there already was this flag but only set implicitly with anchor stuff.
allow to be able to set this flag explicitly to allow offsets to be
scaled if part is marked to scale
@feature
Amitesh Singh [Mon, 30 Oct 2017 07:14:19 +0000 (16:14 +0900)]
eina example: fix eina_value examples
Amitesh Singh [Mon, 30 Oct 2017 07:11:35 +0000 (16:11 +0900)]
eina: eina_value: fix the typo in doc
Amitesh Singh [Mon, 30 Oct 2017 06:07:04 +0000 (15:07 +0900)]
eina: eina_value - Add "struct tm" support
Ref T6204
@feature
Jean Guyomarc'h [Sun, 29 Oct 2017 15:06:31 +0000 (16:06 +0100)]
ecore_cocoa: fix the backspace key
The backspace key is supposed to send an ASCII code of 0x08, not 0x7F
(this would be the delete key). This has not be seen before as it is is
rare to use the ASCII code for the BackSpace key.
@fix
Jean Guyomarc'h [Sun, 29 Oct 2017 15:04:24 +0000 (16:04 +0100)]
ecore_cocoa: consitfy structure fields
This structure is exclusively statically initialized. As none of its
fields will be altered, they can all be const.
Jean Guyomarc'h [Sun, 29 Oct 2017 12:38:37 +0000 (13:38 +0100)]
eina: enforce strict Eina_Bool parameter
Jean Guyomarc'h [Wed, 27 Sep 2017 21:40:10 +0000 (23:40 +0200)]
ecore: fix typo in documentation
Jean Guyomarc'h [Sat, 23 Sep 2017 14:20:47 +0000 (16:20 +0200)]
ecore_input: constify global
This is just for correctness, it changes nothing.
Carsten Haitzler (Rasterman) [Sun, 29 Oct 2017 02:19:48 +0000 (11:19 +0900)]
eina debug - ensure sockaddr is 0'd out before filling in to avoid junk
valgrind does complain about this. i'm not sure it matters but it's
safer to 0 it out in case some field is being used that we don't think
is being used that we didn't set.
Cedric Bail [Sat, 28 Oct 2017 01:51:16 +0000 (18:51 -0700)]
efl: add an efl-net.pc
Cedric Bail [Sat, 28 Oct 2017 01:48:16 +0000 (18:48 -0700)]
ecore_con: add an Efl_Net.h
Cedric Bail [Sat, 28 Oct 2017 00:50:17 +0000 (17:50 -0700)]
efl: add an efl-core.pc
Cedric Bail [Sat, 28 Oct 2017 00:15:14 +0000 (17:15 -0700)]
ecore: add Efl_Core.h
Amitesh Singh [Sat, 28 Oct 2017 01:19:21 +0000 (10:19 +0900)]
Efl.ui.mbe: efl_ui_format_cb_set is actually going to free the existing format.
Cedric Bail [Fri, 27 Oct 2017 23:37:58 +0000 (16:37 -0700)]
elementary, ecore: move efl_exit helper to Ecore.
Cedric Bail [Fri, 27 Oct 2017 23:20:56 +0000 (16:20 -0700)]
elementary: rely on main loop terminate event to execute ELM_POLICY_EXIT_WINDOWS_DEL.
Cedric Bail [Fri, 27 Oct 2017 22:46:26 +0000 (15:46 -0700)]
elementary: actually we do not need efl_quicklaunch_fallback.
Cedric Bail [Fri, 27 Oct 2017 22:44:21 +0000 (15:44 -0700)]
elementary: use the new exit infrastructure to print help message.
Cedric Bail [Fri, 27 Oct 2017 22:43:57 +0000 (15:43 -0700)]
elementary: update EFL_MAIN and EFL_MAIN_EX to use the new EFL exit API.
Cedric Bail [Fri, 27 Oct 2017 22:43:23 +0000 (15:43 -0700)]
elementary: update efl_quicklaunch_fallback to use the new EFL exit API.
Cedric Bail [Fri, 27 Oct 2017 22:41:37 +0000 (15:41 -0700)]
elementary: update elm_quicklaunch_fork to use the new Eina_Value exit API.
Cedric Bail [Fri, 27 Oct 2017 22:39:34 +0000 (15:39 -0700)]
elementary: make the exit helper work with int (This is just for C).
Cedric Bail [Fri, 27 Oct 2017 22:37:25 +0000 (15:37 -0700)]
elementary: there is no point into having an already deprecated method with EFL new API.
Cedric Bail [Fri, 27 Oct 2017 22:34:50 +0000 (15:34 -0700)]
ecore: add infrastructure to handle an Eina_Value as an exit code.
Cedric Bail [Fri, 27 Oct 2017 22:31:57 +0000 (15:31 -0700)]
ecore: efl_loop should actually handle exit via Eina_Value.
This is for binding consistency. Example with python :
sys.exit("Bye, world")
Which with efl would be :
loop.quit("Bye, world")
T6228
Jeeyong Um [Fri, 27 Oct 2017 18:49:02 +0000 (11:49 -0700)]
edje_cc: support script inheritance
Summary:
When inherit_script is set to 1, script of current group contains
variables and funtions from script of parent groups. If there is same
name variable or function, newly defined one will replace that of
parents.
Reviewers: cedric, jpeg
Subscribers: taxi2se
Differential Revision: https://phab.enlightenment.org/D5062
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Youngbok Shin [Fri, 27 Oct 2017 18:45:34 +0000 (11:45 -0700)]
evas: add a missing description for a newly added parameter
Summary:
A new parameter "width_offset" was added to
evas_common_font_query_last_up_to_pos() internal function.
But, internal documentation was not updated.
So, it adds a simple description for the new parameter.
Test Plan: N/A
Reviewers: jpeg, cedric, herdsman, shilpasingh
Differential Revision: https://phab.enlightenment.org/D5035
Bryce Harrington [Fri, 27 Oct 2017 18:35:10 +0000 (11:35 -0700)]
eina: fix spelling errors in documentation
Reviewers: cedric, ajwillia.ms
Reviewed By: cedric
Subscribers: segfaultxavi, jpeg
Differential Revision: https://phab.enlightenment.org/D5395
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
JinYong Park [Fri, 27 Oct 2017 18:33:50 +0000 (11:33 -0700)]
eina: add param, return type description for eina_unicode.
Summary: Add missing parameters and return type description to remove doxygen warning
Test Plan: API Doxygen Revision
Reviewers: cedric, jpeg, myoungwoon, Jaehyun_Cho, id213sin
Differential Revision: https://phab.enlightenment.org/D5396
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
JinYong Park [Fri, 27 Oct 2017 18:33:37 +0000 (11:33 -0700)]
evas: fix typo in eo file
Summary:
Change the first letter of the sentence from lowercase to uppercase,
and fix typo "top be" to "to be"
Reviewers: cedric, jpeg, stefan_schmidt, myoungwoon, Jaehyun_Cho, conr2d
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D5398
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Marcel Hollerbach [Fri, 27 Oct 2017 15:33:47 +0000 (17:33 +0200)]
efl_ui_focus_manager_calc: remove unused struct
Marcel Hollerbach [Fri, 27 Oct 2017 15:33:04 +0000 (17:33 +0200)]
efl_ui_focus_manager_calc: fix warnings
Marcel Hollerbach [Fri, 27 Oct 2017 15:02:20 +0000 (17:02 +0200)]
efl_ui_focus_manager_calc: return last object when unfocusing last
this makes code easier, and fixes a bug where the wrong last element is
taken.
Marcel Hollerbach [Fri, 27 Oct 2017 12:31:27 +0000 (14:31 +0200)]
efl_ui_focus_manager: correctly handle subitem directions in a redirect
in default focus just sets the focus to the first item in the redirect
manager, we now reset that back and move the focus to the last element
of a item.
Marcel Hollerbach [Fri, 27 Oct 2017 10:02:31 +0000 (12:02 +0200)]
elm_mutlibuttonentry: fix legacy events
This should fix the test cases
Marcel Hollerbach [Fri, 27 Oct 2017 08:02:17 +0000 (10:02 +0200)]
efl_ui_focus_manager: the FOCUSED event now carries the last focused
object
This is usefull to react on focused events
Marcel Hollerbach [Fri, 27 Oct 2017 07:42:22 +0000 (09:42 +0200)]
efl_ui_focus_manager: do not enter Nodes with redirects
we always want the redirect on the lowest level.
Amitesh Singh [Fri, 27 Oct 2017 07:44:06 +0000 (16:44 +0900)]
Revert "elm test: mbe - make mbe focusable"
This reverts commit
b6567ab1f6fa377f4047106bae8aa808ff033180.
Amitesh Singh [Fri, 27 Oct 2017 07:07:48 +0000 (16:07 +0900)]
elm test: mbe - make mbe focusable
After
53fcc4bb7de3bfc9c69f6e138b, mbe is no more a focusable widget by
default. This test rely on focus property of mbe.
Jean-Philippe Andre [Fri, 27 Oct 2017 05:31:37 +0000 (14:31 +0900)]
evas vg: Add FIXME and fix strbuf use
This is the result of a really quick review of the new VG code. Most of
it was moved around, but this merge includes the following:
- Move logic from edje to evas
- Create static lib for common VG handling
- Add file_set() API
- Add a basic VG cache in evas side
- Add savers modules, implement loaders and savers.
Subhransu Mohanty [Tue, 8 Nov 2016 03:51:11 +0000 (12:51 +0900)]
evas/vg: fixed handling of stroke width in cairo and native backend
subhransu mohanty [Fri, 27 Oct 2017 00:24:25 +0000 (09:24 +0900)]
edje: cleanup old implementation of handling svg file.
subhransu mohanty [Fri, 27 Oct 2017 00:21:48 +0000 (09:21 +0900)]
edje: use the file_set api from vg canvas to load and parse svg file.
subhransu mohanty [Fri, 27 Oct 2017 00:15:28 +0000 (09:15 +0900)]
evas/vg: Added file handling support in vg canvas.
subhransu mohanty [Fri, 27 Oct 2017 00:11:02 +0000 (09:11 +0900)]
evas/vg: Added vg tree caching support
Subhransu Mohanty [Wed, 2 Nov 2016 10:26:15 +0000 (19:26 +0900)]
vg_savers/eet: Added implementaion of vg saver to eet file
Subhransu Mohanty [Wed, 2 Nov 2016 10:25:45 +0000 (19:25 +0900)]
vg_loaders/svg: Copied svg loading implementation from edje_cc
Subhransu Mohanty [Wed, 2 Nov 2016 10:23:49 +0000 (19:23 +0900)]
vg_loaders/eet: Added implementaion for loading from eet file
Subhransu Mohanty [Wed, 2 Nov 2016 10:22:55 +0000 (19:22 +0900)]
static_lib: added vg_common static lib
Features:
Copied vg eet descriptor from edje_data
Copied convert func from Svg_Node to Efl_VG from edje
added convert function from Efl_VG to Svg_Node