Commit Graph

56124 Commits

Author SHA1 Message Date
Jean-Philippe Andre 824792f09d 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
2017-11-01 21:23:31 +09:00
Daniel Kolesa f851fa511e eolian: add part validation (including dup check with funcs) 2017-11-01 13:19:33 +01:00
Daniel Kolesa b4705ea968 elementary: use @cref where possible 2017-11-01 12:50:36 +01:00
Daniel Kolesa eab6f009e2 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.
2017-11-01 12:40:39 +01:00
Godly T.Alias 0496b7988a 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
2017-11-01 16:11:30 +09:00
JinYong Park 9d946fa839 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
2017-11-01 13:09:18 +09:00
JinYong Park a1935164fe 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
2017-11-01 13:08:58 +09:00
JinYong Park b44889305a 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
2017-11-01 13:08:36 +09:00
Bryce Harrington 054e817572 eina: Fix spelling errors in documentation (log..matrix)
Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

Differential Revision: https://phab.enlightenment.org/D5417
2017-11-01 11:36:50 +09:00
Jean-Philippe Andre 9cec14918c 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.
2017-11-01 11:22:33 +09:00
Jean-Philippe Andre b8ca1272ae evas: Add seat argument to 'pointer_inside' (EO)
This merges pointer_inside and pointer_inside_by_device.
Affects only EO.
2017-11-01 11:22:33 +09:00
Jean-Philippe Andre daa1547586 edje_cc: Fix shadow warning (global scope) 2017-11-01 11:22:33 +09:00
Jean-Philippe Andre ebe945c8d8 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.
2017-11-01 11:22:33 +09:00
Chris Michael 20acefb419 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>
2017-10-31 10:02:40 -04:00
Jaehyun Cho a47ecc8713 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.
2017-10-31 20:36:49 +09:00
Bryce Harrington 57d0617fec 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
2017-10-31 11:31:41 +00:00
Daniel Kolesa c8e7ad530e eolian: properly free parts 2017-10-31 12:15:23 +01:00
Daniel Kolesa 0a92c0c61f eolian: fill parts into db 2017-10-31 12:15:23 +01:00
Andrii Kroitor 130052f275 edje_cc: move offset_scale to correct place and fix doc 2017-10-31 10:34:28 +02:00
Jean-Philippe Andre c1d21cef89 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.
2017-10-31 14:52:34 +09:00
Jean-Philippe Andre 1adb93b3e5 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 :)
2017-10-31 14:52:34 +09:00
Amitesh Singh 02206f252f elm test: calender - use eina_strbuf_append_strftime instead 2017-10-31 14:27:27 +09:00
WooHyun Jung 276d10c7bb efl_ui_slider: add eina_value_flush after using the value 2017-10-31 11:33:12 +09:00
WooHyun Jung 02f179628c efl_ui_calendar: apply new format_cb 2017-10-31 11:21:15 +09:00
Felipe Magno de Almeida de349e1b9e eo-cxx: Fix compilation error with any_value received by value 2017-10-30 21:05:39 -02:00
Derek Foreman 059613222a 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.
2017-10-30 14:23:07 -05:00
Cedric Bail 43160401bb efl-net: fixup copy & paste abuse. 2017-10-30 11:17:59 -07:00
Andrii Kroitor c225f00064 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
2017-10-30 17:00:51 +02:00
Andrii Kroitor b836576d2a edje_cc: fix item.max parsing
It is now possible to set item.max back to default value (-1 -1).

@fix
2017-10-30 16:44:32 +02:00
Andrii Kroitor d582b87ba3 edje_cc: make box/table item.spread minimum 1 1
Minimum value was 0 0, but it has same effect as 1 1.
2017-10-30 16:44:32 +02:00
Andrii Kroitor 2b70897e0f edje_cc: fix program.filter description
@fix
2017-10-30 16:44:32 +02:00
Andrii Kroitor b0761cdfa1 edje_cc: fix text.align description
@fix
2017-10-30 16:44:32 +02:00
Andrii Kroitor 939d16bdbf edje_cc: limit map.zoom to non-negative values
@fix
2017-10-30 16:44:31 +02:00
Andrii Kroitor a7769e806a edje_cc: move box and table properties documentation
Documentation comments for properties should be near parser
implementation.

@fix
2017-10-30 16:44:31 +02:00
Andrii Kroitor 8a23f30291 edje_cc: make color parsing consistent
All colors now accept 4 ints or hex string.

@fix
2017-10-30 16:44:31 +02:00
Andrii Kroitor e379397093 edje_cc: make bool parsing consistent
@fix
2017-10-30 16:44:31 +02:00
Andrii Kroitor c8edb208dd edje_cc: fix spelling
@fix
2017-10-30 16:44:31 +02:00
Andrii Kroitor d83ebb6980 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
2017-10-30 16:44:30 +02:00
Andrii Kroitor 6888645598 edje_cc: move part_remove and program_remove to group
These properties belong to group, but were in part's block in edcref.

@fix
2017-10-30 16:44:30 +02:00
Andrii Kroitor a18e7f5242 edje_cc: fix color_class description
It can't be overridden by color values in state. Colors can only be
modified.

@fix
2017-10-30 16:44:30 +02:00
Andrii Kroitor 63e97098f0 edje_cc: fix incorrect type in minmul defaults
@fix
2017-10-30 16:44:30 +02:00
Andrii Kroitor 1df6fc19f1 edje_cc: parse "fixed" as bool
@fix
2017-10-30 16:44:30 +02:00
Andrii Kroitor 5e46c01001 edje_cc: fix state.no_render description
@fix
2017-10-30 16:44:29 +02:00
Andrii Kroitor b297387f5c edje_cc: fix color2 and color3 descriptions
color2 is used for outline
color3 is used for shadow

@fix
2017-10-30 16:44:29 +02:00
Andrii Kroitor ed9aa79344 edje_cc: add missing default values to documentation
@fix
2017-10-30 16:44:29 +02:00
Andrii Kroitor 0aedfdb538 edje_cc: fix errors in documentation
@fix
2017-10-30 16:44:29 +02:00
Amitesh Singh 176ade58bb 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.
2017-10-30 20:29:42 +09:00
Carsten Haitzler cda9532f44 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
2017-10-30 17:51:30 +09:00
Amitesh Singh 855959f24d eina example: fix eina_value examples 2017-10-30 16:17:16 +09:00
Amitesh Singh 3505b7618c eina: eina_value: fix the typo in doc 2017-10-30 16:11:57 +09:00