Commit Graph

2265 Commits

Author SHA1 Message Date
Mike Blumenkrantz e99183c33b quicklaunch: add support for quicklaunch domains
this allows quicklaunch to be used independently of the DISPLAY value
2017-11-08 11:48:39 -05:00
Cedric BAIL 4f70a29580 elementary: add debugging information to quicklaunch binary. 2017-11-07 16:08:39 -08:00
Cedric BAIL e729d6b994 elementary: use efl_exit to leave the mainloop instead of direct use of exit. 2017-11-07 16:08:39 -08:00
Amitesh Singh d6c9b37925 Efl.Ui.Slider: implement Slider.part & Ui.format functions
indicator_format_set/get & indicator_format_function_set are
now legacy APIs.
indicator format can be set by using generic Ui.Format function
e.g.
efl_ui_format_string_set(efl_part(sliderObj, "indicator"), "1.0%f");
2017-11-07 17:13:44 +09:00
Jean-Philippe Andre 6ecf3fd6b7 elm: Fix ui.win "bg" test case
elm_colorselector is legacy only (for now, unfortunately).
This means that elm_colorselector_class_get() crashes with weak linking.
Strong linking would make the compilation fail.
2017-11-07 14:52:48 +09:00
Jeeyong Um 7811b0e5b7 edje_pick: Fix segfault due to wrong memory free 2017-11-07 00:50:38 +09:00
Sungtaek Hong 70b23b5fc7 edje_cc_script: remove build warning
Summary: initiate pointer var with NULL to remove build warning

Reviewers: conr2d

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5423
2017-11-04 14:41:44 +09:00
Derek Foreman 376be13f46 edje_recc: don't use negative exit code in a /bin/sh script
Apparently this isn't well supported by dash, which will print an
error and return a 2, where zsh and bash will return 255.

Explicitly returning 255 seems least surprising.

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772322

 #IHaveNoIdeaWhatThisScriptDoes
2017-11-03 15:46:11 -05:00
Amitesh Singh efa6fb70e6 elm test: panes - revert the code
test_panes.c code was added into previous patch by accident.
2017-11-02 17:40:02 +09:00
Amitesh Singh 225b704651 Efl.Ui.Radio: remove value{} api
Efl.Ui.Nstate already implements value{}.

@fix
2017-11-02 17:28:48 +09:00
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
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
Jean-Philippe Andre daa1547586 edje_cc: Fix shadow warning (global scope) 2017-11-01 11:22:33 +09:00
Andrii Kroitor 130052f275 edje_cc: move offset_scale to correct place and fix doc 2017-10-31 10:34:28 +02:00
Amitesh Singh 02206f252f elm test: calender - use eina_strbuf_append_strftime instead 2017-10-31 14:27:27 +09:00
WooHyun Jung 02f179628c efl_ui_calendar: apply new format_cb 2017-10-31 11:21:15 +09: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
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
Cedric Bail a14b657399 elementary: use the new exit infrastructure to print help message. 2017-10-27 15:44:21 -07:00
Jeeyong Um 64fb807b63 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>
2017-10-27 13:34:01 -07:00
Amitesh Singh 710d3e2f72 Revert "elm test: mbe - make mbe focusable"
This reverts commit b6567ab1f6.
2017-10-27 16:44:06 +09:00
Amitesh Singh b6567ab1f6 elm test: mbe - make mbe focusable
After 53fcc4bb7d, mbe is no more a focusable widget by
default. This test rely on focus property of mbe.
2017-10-27 16:09:12 +09:00
Jean-Philippe Andre ec1acca74d 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.
2017-10-27 14:58:38 +09:00
subhransu mohanty 4c47200c49 edje: cleanup old implementation of handling svg file. 2017-10-27 14:58:38 +09:00
subhransu mohanty d5c8822107 edje: use the file_set api from vg canvas to load and parse svg file. 2017-10-27 14:58:38 +09:00
Daniel Kolesa 4f8a9b50f4 eolian: make inherits_get return a list of classes, not strings
Most of the time you need to retrieve the class from the string
anyway, so remove this relic of old Eolian and gain some small
performance benefits and extra convenience.

Subtly breaks API but everything should be updated.
2017-10-25 16:25:41 +02:00
WooHyun Jung 9442f4687c efl_ui_calendar: create new efl_ui_calendar
Summary:
This calendar widget will support basic functionality of calendar.
I've separated this widget from elm_calendar since elm_calendar had
lots of unuseful things inside.

Reviewers: jpeg, singh.amitesh, cedric, CHAN, Jaehyun_Cho

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5346
2017-10-25 16:50:01 +09:00
WooHyun Jung c1094da0f4 efl_ui_clock: changed property name from value to time 2017-10-25 16:44:25 +09:00
Woochan Lee 6c3bc915df elm: rename elm_multibuttonentry to Efl.Ui.Multibuttonentry
Summary: @ref T5358

Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: Jaehyun, bu5hm4n, cedric, jpeg

Maniphest Tasks: T5358

Differential Revision: https://phab.enlightenment.org/D5169

JP's note:
MBE currently has quite a few issues, probably related to focus
handling. This needs to be fixed.
2017-10-24 16:20:09 +09:00
Jean-Philippe Andre 0a13e15c7d evas/gesture: Fix up a couple of APIs, add some FIXME
Some things have clearly not been tested. Some APIs have not been
modified after repeated review comments. C++ failed to build due to
"long" being used as a namespace.

Remaining issues:
 - The original finger_list API was broken by design. I didn't try to
   replace it yet.
 - Long tap is also broken by design: if no move happens the recognizer
   gets no event, and doesn't trigger anything when the timeout is
   reached. An API or event is lacking here.
 - Only 2 very basic gestures have been implemented. All the gestures
   from elm_gesture_layer need to be covered. None of the multi touch
   support has been really implemented, except for a single bool flag.
 - The configuration must be loaded from elm_config, passed on to the
   recognizers.
 - Some micro optimization may be required, especially if the input
   device is high frequency (eg. 1KHz gaming mouse).
2017-10-19 12:25:57 +09:00
smohanty 023d9a403c elementary_test: Added test case for log_tap gesture 2017-10-19 10:33:12 +09:00
smohanty ba3afc74a8 elementary_test: Added gesture_framework test to the elementary test suit. 2017-10-19 10:33:12 +09:00
Cedric Bail 6998134669 elementary: add an exit_code to efl_exit as originally planned.
T6228
2017-10-17 10:39:05 -07:00