Commit Graph

217 Commits

Author SHA1 Message Date
Daniel Juyung Seo 46506cf22e focus: Added optional focus feature - focus movement by mouse_in.
Focus is moved by mouse click by default. This patch makes moving focus
by mouse_in optionally by configuration and API. Widget item focus
movement is not applied yet. Need to do that as well.

- configuration: "focus_move_policy"
- API: elm_config_focus_move_policy_set/get
- enum
  ELM_FOCUS_MOVE_POLICY_CLICK
  ELM_FOCUS_MOVE_POLICY_IN

@feature
2014-03-23 02:04:16 +09:00
Jaeun Choi ad17bb42fe config: add a field in key binding data structure
Summary:
This patch adds a field "no_string" in key binding data structure.
It is necessary for checking "string" field in evas key down event.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D641
2014-03-20 18:42:20 +09:00
Subhransu Sekhar Mohanty 576984c0ca elm_theme: Added a cache in elm_theme for styles that are failed to load.
Summary:
Currenlty loading a style that is not present in the system hits the worst case path in elm_theme as it searches through all hirarchy before
reporting that the style is not there. if those styles requested frequently it will be a overhead as it will goes through all the theme files again.
To avoid that I have added a cache which will keep track of the styles whose loading were not sucessfull so that for future request we can simply check the
cache before looking into the hirarchy of theme files.

Reviewers: seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D601
2014-03-18 17:34:30 +09:00
Daniel Juyung Seo 7e35760942 focus: Added focus highlight clip disable feature.
focus highlight is clipped by the clipper of focus target object.
But many of the times, this clipping looks weird so I made this
configurable.

This fixes T1056 but as this fix was done by adding a new feature, this
patch would not be backported.

@feature
2014-03-09 03:39:23 +09:00
Carsten Haitzler 1fbdf7cae0 win - add accel preference option to elm windows
@feature - this adds the ability to hint what engine acceleration to
use that is specific per display system.
2014-03-09 01:22:33 +09:00
Jaeun Choi 78accca4db elementary key binding feature implementation
Summary: This patch implements elementary key binding feature.

Test Plan: None

Reviewers: Hermet, raster

CC: seoz

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

Conflicts:

	src/lib/elm_config.c
2014-02-28 10:47:03 +09:00
Sohyun Kim d1e7e15601 [elm_config] support color classes
Summary:
support color classes for runtime color changes.
It works like text classes and is also added in configuration files.

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D541
2014-02-28 07:16:45 +09:00
Carsten Haitzler 1f0567af98 config - feature add - audio muting config and controls 2014-02-09 19:17:01 +09:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
WooHyun Jung 0a1179dde4 elm_layout now supports focused/unfocused smart callback
by itself for widgets that inherit layout class.
If it uses elm_widget's, smart callback will be called at the
beginning or smart_on_focus function.
2014-02-06 16:18:57 +09:00
Daniel Juyung Seo 98a08addc4 elm: Defined the same macro, MAX and MIN, in elm_priv.h
MAX and MIN are defined in a couple of places and they was already
defined in elm_priv.h. So use elm_priv.h's one.
I also moved CEIL to elm_priv.h that can be used in another places.
2014-01-23 23:15:39 +09:00
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
Daniel Juyung Seo 68eca6d62e url: Added underscore(_) to elm internal functions, elm_url_xxx.
- _elm_url_download, _elm_url_cancel, _elm_url_get
- other internal functions in elm_priv.h also have same prefix.
2014-01-21 23:23:37 +09:00
Daniel Juyung Seo fec8441c71 elm: Fixed formatting about EINA_LOG stuff. 2014-01-21 19:58:09 +09:00
Daniel Juyung Seo ef6f264e75 elm_priv.h: Removed null check from ELM_SAFE_FREE because all efl
free/del func + free func get null as valid parameter.

Now ELM_SAFE_FREE is less useful than before. It reduced 5 lines to 1
but now it reduces 2 lines to 1.
2014-01-07 00:14:35 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Lukasz Stanislawski 4b81deaa8c accessibility: ATSPI2 support.
Summary:
Hello guys,

Below You can find a proof o concept for ATSPI2 support for elementary applications. Currently application can only be listed on bus by clients such as 'accersiser'. I am strongly looking for comments to this design.

Here are my comment regarding following code:
* This pach requires https://phab.enlightenment.org/D327 patch to compile
* I have decided to include whole atspi-constants header, because in fact i will need one-to-one copy of all its enums and defines. Qt has something like 3rdparty folder from which they include this header and don't require atspi dev packages at compilation time. Maybe efl needs the same solution or should just require next package in compilation? I agree that putting atspi-constant.h in main source tree is bad idea, but where? src/utils ??

Reviewers: cedric, raster, kimcinoo

Reviewed By: raster

CC: pkaczmarek-samsung, seoz, jaehwan, kimcinoo

Differential Revision: https://phab.enlightenment.org/D328
2013-12-03 17:07:05 +09:00
Andrii Kroitor cf2ae7397e Elm_menu: fixed item disable hook for elm_dbus_menu
Summary:
Menu items in dbus-mode (in Ubunut/Unity) were not updated on
disabled/enabled state changes. They were applied only after
adding/removing an item.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D333
2013-11-16 09:50:32 +09:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
Cedric Bail eaeda2ecdd elm_theme: use Eina_File all over the place in an attempt to reduce race condition. 2013-11-04 12:19:04 +09:00
Ryuan Choi 9368d61549 elc_fileselector: Add fileselector_double_tap_navigation_enable configuration
elm_filechooser used single tap not only for selection of file but also for
navigation of directory.
So it did not provide a way to select directory without navigation.

With fileselector_double_tap_navigation_enable option, single tap will be used
only for selection and double tap will be used for navigation of file or
directory.
2013-10-01 01:46:39 +09:00
José Roberto de Souza 99cb5548f4 Make _elm_user_dir_snprintf() visible to other elm modules 2013-09-19 15:48:25 -03:00
Cedric Bail 1baaa321a7 elm_image: add support for url. 2013-08-09 21:13:15 +09:00
Ryuan Choi 477c38cdd8 elm, genlist: Introduce ELM_PRIV_STATIC_VARIABLE_DECLARE and ELM_PRIV_SMART_CALLBACKS_DESC
This can reduce human mistakes when adding new signals (and typing).

This is not all, I will work on adopting these macros for oter widgets.
2013-07-15 11:28:18 +09:00
Jaehwan Kim 504f59f174 Change the method to calculate a distance which be scrolled from linear to sine curve.
And add the configuration thumbscroll_flick_distance_tolerance. It's the max flick distance.
2013-07-03 18:43:19 +09:00
Carsten Haitzler 0c13ec5ced part of the entry magnifier feature set from thiep. still more to go. 2013-06-07 17:17:30 +09:00
Daniel Juyung Seo 43cbb2e43e elm_priv.h: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.

THE LAST COMMIT OF ELM_SAFE_FREE STREAM.
I double checked all of my previous commits but if there is any issue, please contact me on irc #edevelop with SeoZ or SeoZ[galaxyS3].
Thanks.
2013-05-29 21:12:52 +09:00
Daniel Juyung Seo 70988bc471 elm_priv.h: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:44:39 +09:00
Daniel Juyung Seo 893a36be40 elm_priv.h: space-- 2013-05-22 13:10:32 +09:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Tom Hacohen de1c965029 Made clouseau_enable an elm_config option.
You can now just use elementary_config to enable and disable clouseau on
run-time.
2013-05-20 14:46:44 +01:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Jaehwan Kim 4ff2af7335 The momentum animation time is changed as the amount of flick. 2013-04-30 22:06:28 +09:00
Jaehwan Kim 0bde066596 Add the config elm_scroll_smooth_start_enable.
There's no tick when scroller starts scroll if it's set.
2013-04-30 16:48:18 +09:00
Hosang Kim 6883e2a2b1 [Scroller] changed acceleration constant values 2013-04-17 21:56:02 +09:00
Jaehwan Kim c36769a9ae Add the config ELM_THUMBSCROLL_HOLD_THRESHOLD.
This is the number of pixels the range which can be scrolled, while the scroller is holed.
In case of mobile, this config is useful since the out of scroller area is too small.
2013-03-07 18:13:15 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
Henrique Dante de Almeida 9b2120b8a8 elm: Enable external main menu by default
This patch replaces the ELM_EXTERNAL_MENU environment variable for
ELM_DISABLE_EXTERNAL_MENU, so that the main menu bar always attemps
connecting via D-Bus, if possible.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 83099
2013-01-22 18:51:24 +00:00
Henrique Dante de Almeida 0fbcdfb49b elm: Support switching between local and D-Bus main menus on the fly
With this patch, the main menu now keeps listening for the app menu
registrar all the time. Whenever it's available, it tries to register
itself. If the registrar exits, the menu switches back to local mode.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 83098
2013-01-22 18:51:16 +00:00
Henrique Dante de Almeida aa512d1604 elm: Handle D-Bus menu registration error
If a menu registration results in error, fall back to local menu.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82960
2013-01-17 22:11:33 +00:00
Henrique Dante de Almeida b5de2e056e elm: Add support for Elm_Menu to behave as a menu bar
This allows slightly changing behavior of the top level menu entry widgets
for them to work as a menu bar.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82956
2013-01-17 22:11:09 +00:00
Daniel Juyung Seo 363a5a18fa elm elm_priv.h: Fixed wrong parameter which was spotted by Thiago Henrique <thenrique@gmail.com>
SVN revision: 82297
2013-01-06 04:46:53 +00:00
Murilo Belluzzo abcc99fcd1 [elm] Add support to D-Bus systray icons
For now, it supports only one system tray icon per application.

Each instance of ELM_OBJ_SYSTRAY_CLASS is a handler for
the same system tray item. But the API is ready to support
multiple system tray items per application.

Also, since this is a new feature, it only provides an EObject API. So,
if the old style API is still required, please do it.

Patch by: Murilo Belluzzo <murilo.belluzzo@profusion.mobi>



SVN revision: 81747
2012-12-27 13:38:40 +00:00
Henrique Dante de Almeida 58b2fc2cd2 [elm] Add D-Bus external menu support
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 81746
2012-12-27 13:38:33 +00:00
Gustavo Sverzut Barbieri 27c6def19d elm: add system notification.
SVN revision: 80281
2012-12-05 22:24:00 +00:00
Gustavo Lima Chaves c8c5454d39 [elm] Bumping config file as to accomodate for
prefs module new entry.




SVN revision: 79915
2012-11-30 16:52:13 +00:00
Gustavo Lima Chaves 87648e9ace [elm] Introducing a new widget, along with its infrastructure -- prefs.
The prefs widgets aims to aid with the implementation of
preference/configuration windows/UI elements in Elementary-based
applications (think of Enlightenment configuration dialogs,
elementary_config, etc).

Prefs is a widget that populates its view with widgets
bound to data types (following the instructions of a ".epb" file that
describes a set of items) and handles the storage/restoration of such
data on a configuration file automatically.

There's also the prefs_data handle, which is the one dealing with
user saved data for a given epb defaults set.

The documentation on the new widget is rich (we have examples and even
an EPC reference) and there's a new test entry for it.

I'm blogging about it soon, with screeshots and more details.

Enjoy.

ps.: This is a team work by Murilo Belluzzo, Ricardo de Almeida and me.



SVN revision: 79909
2012-11-30 14:41:39 +00:00
Cedric BAIL 8327932076 elementary: add a mode to entry to clear selection when loosing focus.
Patch by Thiep Ha <thiep.ha@samsung.com>.


SVN revision: 79821
2012-11-29 08:58:49 +00:00