Cedric Bail [Thu, 2 Nov 2017 22:21:37 +0000 (15:21 -0700)]
ecore_evas: always find a source for ticking legacy animator.
As we do not know when a window won't be able to tick, and we do
not know which window a legacy animator is attached to, we require
all windows to tick as often as they can and only generate one tick
per loop run.
This might need more adjustement especially with multi output.
Andy Williams [Thu, 2 Nov 2017 20:57:47 +0000 (20:57 +0000)]
Correct struct labelling
Avoids linking every occurrence of 'The'
Daniel Zaoui [Thu, 2 Nov 2017 18:46:49 +0000 (20:46 +0200)]
cxx: fix application build error
gesture files are not found because the include path is not supplied by
pkg-config.
Daniel Kolesa [Thu, 2 Nov 2017 15:40:42 +0000 (16:40 +0100)]
eo files: convert various to use @cref
Chris Michael [Thu, 2 Nov 2017 14:05:56 +0000 (10:05 -0400)]
efl-ui-focus-manager: Remove set but not used variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Thu, 2 Nov 2017 13:48:52 +0000 (14:48 +0100)]
elm radio: fix build of things that don't enable eo APIs
Daniel Kolesa [Thu, 2 Nov 2017 13:36:00 +0000 (14:36 +0100)]
docgen: better space out includes
Daniel Kolesa [Thu, 2 Nov 2017 13:29:20 +0000 (14:29 +0100)]
docgen: fix generation and generate notes correctly
Daniel Kolesa [Thu, 2 Nov 2017 13:03:30 +0000 (14:03 +0100)]
eolian: fix tests following the container restrictions
Daniel Kolesa [Thu, 2 Nov 2017 12:53:14 +0000 (13:53 +0100)]
eio: properly mark array contents as ptr
Daniel Kolesa [Thu, 2 Nov 2017 12:51:02 +0000 (13:51 +0100)]
eolian: only allow reference (ownable) types in containers
Andy Williams [Thu, 2 Nov 2017 10:34:05 +0000 (10:34 +0000)]
Update my name in more places
Andy Williams [Thu, 2 Nov 2017 10:27:05 +0000 (10:27 +0000)]
Update auto API doc styling to match main website
Not perfect, but it's a good start
Amitesh Singh [Thu, 2 Nov 2017 08:37:25 +0000 (17:37 +0900)]
elm test: panes - revert the code
test_panes.c code was added into previous patch by accident.
Amitesh Singh [Thu, 2 Nov 2017 08:26:12 +0000 (17:26 +0900)]
Efl.Ui.Radio: remove value{} api
Efl.Ui.Nstate already implements value{}.
@fix
Cedric BAIL [Wed, 1 Nov 2017 22:33:44 +0000 (15:33 -0700)]
ecore_evas: if an async rendering is still going on, there won't be a new one starting.
Cedric BAIL [Wed, 1 Nov 2017 22:25:53 +0000 (15:25 -0700)]
ecore_evas: do not propagate drawing change blindly from sub surface to parent.
It is not because a round of rendering happen for a child, that it result in
actually drawing anything in the parent. The parent will always be aware of
the rendering request of the sub surface and we should only track what the
parent think.
T6049
Tested-by: Derek Foreman <derekf@osg.samsung.com>
Sungtaek Hong [Wed, 1 Nov 2017 17:15:48 +0000 (10:15 -0700)]
efl_ui_radio: remove some legacy code
Summary:
This uses constructor/destructor instead of group_add/group_del.
Note: finalize can't be used for theme loading as any action done
inside
efl_add(...) would be lost (eg. part text set).
Test Plan: 1) run elementary_test -to radio
Reviewers: jpeg, woohyun, cedric
Subscribers: akanad
Differential Revision: https://phab.enlightenment.org/D5404
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Thu, 26 Oct 2017 18:23:23 +0000 (14:23 -0400)]
evas-wayland-shm: Fix formatting
Make this line readable in 80 columns
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 5 Sep 2017 15:48:52 +0000 (11:48 -0400)]
evas: Minor formatting fixes
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 30 Aug 2017 14:04:31 +0000 (10:04 -0400)]
evas-drm: Fix formatting
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Marcel Hollerbach [Wed, 1 Nov 2017 14:25:00 +0000 (15:25 +0100)]
efl_ui_focus_manager: remove strange naming of a function
this is just normal next or prev, the prepare is done on the caller side
now
Marcel Hollerbach [Wed, 1 Nov 2017 14:24:36 +0000 (15:24 +0100)]
efl_ui_focus_manager: improve debug informations
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>