Commit Graph

299 Commits

Author SHA1 Message Date
Cedric BAIL d56e08d824 web: split web into a module.
There is currently no configuration to switch backend. Another patch
will introduce it.
2016-03-09 16:55:48 -08:00
Shinwoo Kim 69785a72e4 config: handle is_mirrored, and translate are not part of EET file, when config flush occurs
Summary: is_mirrored, and translate value is reset, when config flush occurs.

Reviewers: raster, cedric, jpeg, tasn

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Mike Blumenkrantz e76b9a63b5 config: add option to modify scroll acceleration factor
when using a touchpad or frictionless mouse wheel, it becomes impossible
to accurately use a scroller which accelerates as scrollers on mobile devices
do. by setting this new option to 0, acceleration can be disabled and regular
behavior can be restored

ref 2ac2628612060114cf6e5205e5331044221178c6

@feature
2016-02-18 12:53:52 -05:00
Mike Blumenkrantz 0116e07288 scrolling: add option to disable scroll animations
when I scroll on a computer, I want my app to respond immediately. I don't
want to wait for it to finish scrolling and I don't want to have to guess
where the scroll will end.

ref 2ac2628612060114cf6e5205e5331044221178c6

@feature
2016-02-18 12:53:52 -05:00
Shilpa Singh dd9ff4aa96 spinner: add min, max filter
Summary:
In spinner's entry allow numbers only with in min/max range
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

@feature

Test Plan:
1. Set min/max value to spinner
2. Enter numbers beyond min/max value

Reviewers: CHAN, cedric

Reviewed By: cedric

Subscribers: subodh6129, buds, govi, CHAN, cedric, raster, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:38:40 +01:00
Davide Andreoli ab8b65f6fa Adjust "context_menu_disabled" configuration.
This @fix three (yes 3!) errors from commit cafda5928f9bf8116564219dc03d12c3a6e131b3

1. the initial value in the standard config is wrong, causing ctx menu to be disabled for everyone!
2. the argument of the api should be named "disabled" (like all the other disable API in this context)
3. (minor) fixed doc for elm_config_context_menu_disabled_set

NOTE: there are no configuration gui for this option, if you cleared your elm config recently you probably now have the ctx menu disabled everywhere, only solution is to wipe your config (to let elm create a new correct one)

Big SPANK to the author, the commiter and all the reviewers of D2463!!!
2016-01-21 22:21:30 +01:00
Andy Williams df74a34942 config: Correct defaults in upgrade of popup conf
After bumping version we need to create a new IFCFG block.

@fix

T3008
2016-01-15 21:52:08 +00:00
Cedric BAIL 73a2d0e231 config: try to properly update config for popup new align value.
This idea has been suggested by Andrew Williams and I hope it does work
just fine. Please report any problem.

@fix

T3008
2016-01-14 15:49:22 -08:00
Stefan Schmidt 2d871335bd elm_config: close file before moving it 2016-01-14 16:36:00 +01:00
Stefan Schmidt 7ee4b458c6 elm_config: print an eror message if we fail to save the derived config profile 2016-01-14 15:53:53 +01:00
Stefan Schmidt 8bf42c1830 elm_config: handle eet_data_write possible error return
CID: 1347399
2016-01-14 14:22:23 +01:00
Stefan Schmidt 0ce3e099f6 elmn_config: mark some internal variables and functions static 2016-01-11 21:57:07 +01:00
Chris Michael 579677008f elementary: Fix potential sizeof mismatch
Coverity CID1347398 reports that this could potentially be a
non-portable assumption resulting in a sizeof mismatch. Fix this by
using the actual structure type in the call to calloc.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-07 15:23:45 -05:00
Stephen okra Houston 4c70bc82f9 config: Remove stray printf. 2016-01-05 15:34:39 -06:00
Chris Michael 67d8c323ff elementary: Fix elementary not compiling
With the push of 1056b6ed01475817da2439012057d11865d2c5d8, elementary
compile broke due to undeclared variables. This patch fixes elm to
compile again by declaring the missing vars.

@fix

@raster, Please double check this change as I am unsure if it is what
you Really intended here.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-05 08:55:54 -05:00
Carsten Haitzler 8589d1d2ab elm config - monitor JUST the correct files for profile and cfg change
this fixes the config monitoring to not use flush.cfg but to use the
correct profie.cfg or base.cfg in the profile we are using. this is
necessary to do "special" profiles per screen so apps that switched to
another profile because asked by e, monitor THAT profile for changes
specifically and dont also switch profiles since they have been told
what to use now.

@fix
2016-01-05 22:25:20 +09:00
Carsten Haitzler 922b5dca74 elm config - add the ability to have derived configurations from others
this adds the ability to have one profile automatically be derived
from another with modifications applied. right now it only can do a
very limited modification - multiple scale. over time this will
expand. this is only inteded otbe sued by a DE like enlightenment, so
it's not going to be documented fully at this point.

@feature
2016-01-05 22:24:58 +09:00
Carsten Haitzler c2f6ece2d7 elm config - add function to check if profile exists
this adds a method to see if a profile exists.
elm_config_profile_exists().

@feature
2016-01-05 22:24:58 +09:00
Carsten Haitzler eb649ff9c3 elm config - allow the ability to save out to another hidden profile
support the ability to have hidden profiles that begin with a dot (.)
char like all hidden files/dirs. to do this we need to also be able to
create profiles with a given name (a hidden name) without switching to
them, so add the ability to save out to a specific profile name
without switching to it. of course this means to list profiles we need
to list them or list ALL includiing hidden profiles.

@feature
2016-01-05 22:24:58 +09:00
divyesh purohit 4a33cee27f combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>

Test Plan: test_combobox.c is added to elementary test

Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt

Reviewed By: raster, shilpasingh, cedric

Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:24:49 -08:00
woochan lee 66c6305519 multibuttonentry: add color classes and text classes.
Summary:
The following new color classes and text classes
for multibuttonentry widget are added.

"multibuttonentry_bg", "Multibuttonentry Background"
"multibuttonentry_item_bg", "Multibuttonentry Item Background"
"multibuttonentry_item_bg_selected", "Multibuttonentry Item Selected Background"
"multibuttonentry_item_text", "Multibuttonentry Item Text"
"multibuttonentry_item_text_pressed", "Multibuttonentry Item Pressed Text"
"multibuttonentry_item_text_disabled", "Multibuttonentry Item Disabled Text"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:55:54 -08:00
woochan lee b9672e6d2a spinner: add color classes and text classes.
Summary:
The following new color classes and text classes
for spinner widget are added.

"spinner_bg", "Spinner Background"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:48:31 -08:00
woochan lee 71a2576531 index: add color classes and text classes.
Summary:
The following new color classes and text classes
for index widget are added.

"index_bg", "Index Background"
"index_item_bg", "Index Item Background"
"index_highlight_text," "Index Highlight Text"
"index_item_text," "Index Items Text"
"index_item_text_selected," "Index Selected Items Text"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:40:07 -08:00
Youngbok Shin 4984cecc16 entry: add new text classes and color classes for Entry widget
Summary:
Add new text classes and color classes for Entry widget according to
consistency with other widget's class.
And it removes legacy classes. If we need to support backward
compatibility, the legacy classes have to be maintained in each widget.

Test Plan: N/A

Reviewers: cedric, woohyun, jaehwan, kimcinoo, raster

Subscribers: CHAN

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:37:59 -08:00
woochan lee d2b291586e datetime: add color classes and text classes.
Summary:
The following new color classes and text classes
for datetime widget are added.

"datetime_bg", "Datetime Background"
"datetime_separator_text", "Datetime Separator Text"
"datetime_separator_text_disabled", "Datetime Separator Disabled Text"

@feature

Reviewers: raster, cedric, kimcinoo, Hermet, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:37:51 -08:00
Youngbok Shin 3a1bff6959 calendar: add color classes and text classes.
Summary:
The following new color classes and text classes
for calendar widget are added.
"calendar_year_text"         - Year Text in Title Area
"calendar_month_text"        - Month Text in Title Area
"calendar_weekday_text"      - Weekday Text
"calendar_day_text"          - Day Text
"calendar_day_text_holiday"  - Holiday Text
"calendar_day_text_today"    - Today Text
"calendar_day_text_disabled" - Disabled Day Text
"calendar_day_selected"      - Selected Day Effect
"calendar_day_highlighted"   - Highlighted Day Effect
"calendar_day_checked"       - Checked Day Effect
@feature

Test Plan: N/A

Reviewers: woohyun, raster, cedric, kimcinoo, jaehwan

Subscribers: CHAN

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:34:10 -08:00
Shinwoo Kim e1ca60f5c0 [config] fix static analysis issue
Summary: Fix static analysis issue

Fix possible pointer mis-use in elm profile string handling

@fix

Test Plan: Static analysis

Reviewers: cedric, jpeg, raster

Reviewed By: raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3474
2015-12-22 08:04:31 +09:00
Marcel Hollerbach 860baa4657 Elm config: use a name instead of elm_widget_type_get
Summary:
The use of elm_widget_type_get here is pretty harmfull, for the usecase
of inheriting a widget elm_widget_type_get is something else than
before. But the key binding should still work.

@fix T2891

Reviewers: tasn

Reviewed By: tasn

Maniphest Tasks: T2891

Differential Revision: https://phab.enlightenment.org/D3470
2015-12-21 12:57:15 +00:00
Vaibhav Gupta 394a7e1d4d Entry: Context Menu is now configurable
Summary:
Added a config variable Context_Menu_Disabled to make the appearance
of the context menu configurable.

@feature

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: Hermet, SanghyeonLee, raster, singh.amitesh

Subscribers: stefan_schmidt, alok25, cedric, thiepha, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2463
2015-12-11 16:08:54 +09:00
taehyub 51355d307e popup: add popup default align config for other profiles.
Summary:
The alignment of popup can be different in each profiles.
So I added the align configuration of popup.
@feature

Reviewers: cedric, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-07 16:39:40 -08:00
Chris Michael 605823be21 elementary: Don't call ecore_wl2_shutdown unless we have a display
During _elm_config_sub_shutdown we were explicitly calling
ecore_wl2_shutdown. We should only be doing this if we are actually in
a wayland environment.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2015-12-04 10:48:45 -05:00
Vincent Torri 333ff6d481 win32: call ecore_win32 shutdown as part of the shutdown subsystem.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:38:11 -08:00
Vincent Torri 8042bc82d3 cnp: add Copy & Paste support for Windows
It needs the clipboard management in Ecore_Win32

@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:36:50 -08:00
Jean Guyomarc'h 073beec9ff config: add error messages when profile or config could not be saved.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:04:10 -08:00
Nicolas Aguirre 7408bc7bfa cocoa: call ecore_cocoa_init as part of the init process.
This mimic what x and wayland do. This is need if you want
that ecore_event was inited early.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:03:55 -08:00
Chris Michael 436e9e91f8 elementary: Port elementary config code to use Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Cedric BAIL b17287397a Revert "elm: Add eglfs backend support."
This reverts commit 0d6aedbf44e5c371bddfa2b6b61c9409ed2184e3.

This patch landed a little bit to early.
2015-11-02 15:54:41 -08:00
Nicolas Aguirre a392441fca elm: Add eglfs backend support. 2015-11-03 00:15:09 +01:00
Carsten Haitzler b8a3f7aa7a elm cusro config - move elm to by default look for cursors in theme
previous config ignored elm theme if ithas cursors. this was just
wrong, so switch default back to using theme and update configs
accordingly etc. this is houw it should have worked.
2015-10-10 13:21:58 +09:00
Cedric BAIL 44425a748d config: fix NULL access on invalid config loading
CID 1308381
2015-10-04 16:00:54 +02:00
Carsten Haitzler 33e55d512d elm - thumbscroll finger scrolling - make it far smoother
smooth out scrolling and simplifyconfig as well as expose config apis
to configure it all and elm config ui sliders and checkboxes for
related config values etc. etc. - with this it is much smoother if you
use the default values, though latency is a bit worse. it looks nicer
though.

@feature
2015-09-11 23:24:51 +09:00
Jaehyun Cho 3ba29fc402 elm_config: Add flag to control pushing naviframe prev button automatically.
It is decided that the naviframe prev button is automatically pushed or not
by the flag "naviframe_prev_btn_auto_pushed" in config.

@feature
2015-08-06 15:27:56 +09:00
Lukasz Stanislawski 456ea179bb hoversel: add key binding for widget activation
Test Plan:
1. Install previous version of elementary
2. Remove config from homedir
3. Build new config with elemetnary_config app
4. Install patched version of elementary
5. run elementary_test Hoversel test
6. Space end Enter should open hovesel

Reviewers: seoz, jaehwan, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-08-04 15:21:39 +02:00
Nicolas Aguirre da2ecb5fff Revert "Adds eglfs support"
This reverts commit de52ee0192b5b6d8ad542fb2fd9e4185b39b6518.
2015-08-03 14:39:54 +02:00
Florent Revest 91095b93f3 Adds eglfs support 2015-08-03 14:20:40 +02:00
Jean-Philippe Andre e7bf07bd5d elm_external: shutdown elm after del callback
This fixes a crash in edje_inspector as:
- delete callback is called on the object
 --> this unloaded elm
- destructor is called on the object
 --> this did some elm stuff, in particular read the config
     from _elm_config (now NULL).

Instead, shutdown elm after del, during free.

Also reset hash pointer to NULL after free.
2015-07-29 22:23:19 +09:00
Carsten Haitzler c0173d8336 elm config save - work around compiler bug that loses local var value
yes. compiler bug. believe it or not.
2015-07-27 14:03:33 +09:00
Vincent Torri 326c7eee33 Elm_Config: fix compilation when getuid() or geteuid() are not available
@fix
2015-07-23 12:33:35 +01:00
Vincent Torri a1662717c5 Elm_Config: add getpwent support, fix compilation on Windows
@fix
2015-07-23 12:33:35 +01:00
Vincent Torri e62ded189d Elm_Config: remove Evil functions as home is anyway set on Windows 2015-07-23 12:31:15 +01:00