Commit Graph

194 Commits

Author SHA1 Message Date
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
Daniel Juyung Seo 54b23893b1 elm access: Use less memory. Use Eina_Bool for access_mode.
SVN revision: 79005
2012-11-08 23:01:37 +00:00
ChunEon Park 71840e45d5 elementary - sorry i pushed together which should not be
SVN revision: 78654
2012-10-30 13:11:53 +00:00
Seunggyun Kimsgyun.kim 87635d081e RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78653
2012-10-30 13:09:33 +00:00
Vincent Torri 9da7ce5abe Elm: fix compilation of codegen on Mac and formatting in elm_priv.h
SVN revision: 77220
2012-09-30 07:15:30 +00:00
Jiyoun Park d8b60a8746 support indicator service using elm config.
using this, we can establish indicator service.
I'll implement more indicator service feature using elm_plug and elm_compoment.
after finishing all indicator and compoment feature I will add change log and news


SVN revision: 76533
2012-09-12 14:08:26 +00:00
Gustavo Lima Chaves 0f0cd0d914 [elm] Put some order on elm_widget.c.
SVN revision: 75903
2012-08-30 16:47:10 +00:00
Gustavo Lima Chaves 3e2869d588 [elm] Bump on elm_priv.h.
SVN revision: 75902
2012-08-30 16:47:05 +00:00
Carsten Haitzler c4612009a4 Yes - i know. Release. Freeze. I put this in as it solves a complaint
(i guess bug report) about using cpua nd drawing while minimized.



SVN revision: 75776
2012-08-28 10:37:02 +00:00
Vincent Torri f248a9f730 Elm: fix compilation on Windows
SVN revision: 75367
2012-08-17 08:09:06 +00:00
Christopher Michael e7aff2633f Elm: Commit roberts patch which fixes the unsafe call to
ecore_evas_window_get with a replacement function that checks the
currently used engine first. This fixes a segfault when running elm
with the wayland engines.



SVN revision: 73568
2012-07-11 11:53:29 +00:00
Jiyoun Park e99f497332 [els scroller] add debug code to measure smoothness of scroller
it count standard deviation of scroll velocity
and modify smooth algorithm


SVN revision: 73388
2012-07-06 01:59:57 +00:00
Carsten Haitzler c417a9c99f fix several elm+fb related issues and add a feature.
SVN revision: 73334
2012-07-05 09:23:38 +00:00
Cedric BAIL 4f3f2480bb elementary: initialize emotion when necessary.
SVN revision: 73180
2012-07-03 02:13:42 +00:00
Kim Shinwoo 577a646924 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][elementary] elm_cofig, setting
accessibility mode



SVN revision: 73073
2012-06-30 06:01:25 +00:00
Christopher Michael 8ae0fe2422 Elm: Patches from Rob Bradford <rob@linux.intel.com> to:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.

* Move X related cursor items into their own substruct of Elm_Cursor
to make supporting cursors on other platforms cleaner.

* Add support for setting the cursor under Wayland:
* Introduce a configure option and #define to as per other engines
* Add always-built API function to allow identification of running
under Wayland (like for X11)
* Call into Ecore to set the cursor when the mouse enters the desired
widget.



SVN revision: 71754
2012-06-06 13:55:15 +00:00
Gustavo Lima Chaves f72b6c8ad6 [elm] Warn about deprecation of some icon calls
The ones just wrapping their image counterparts should die eventually.
The signal callbacks on icons will die, too, eventually.



SVN revision: 71468
2012-05-28 20:35:35 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Tom Hacohen ce02820a26 Elm glayer: Made tap timeout a config.
SVN revision: 71258
2012-05-20 14:56:35 +00:00
Vincent Torri d141786fbc Elementary: include langinfo.h only if it exists
SVN revision: 70856
2012-05-07 19:32:13 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
ChunEon Park 4134315a8c elementary/datetime - Elm_datetime open source patch : Datetime enhancements
Change Description: 
- Year min/max values are moved to elm_config. 
- Format specifier must come along with % followed by any separator. ( % 123d is not supported but %d will denote Date format specifier) 
- Field separator can constitute multiple spaces, Space followed by any other non format specifier is also treated as the separator till its max length. ( %d x/ %b #2 format displays 27 x/ Mar #2 ) 

Thanks, Sumanth

Submitted-By-Off Sumanth Krishna Mannam<sumanth.m@samsung.com>



SVN revision: 69846
2012-04-02 06:20:01 +00:00
ChunEon Park d951cb6136 elemenatry/colorselector - finally first implementation going on
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)



SVN revision: 69100
2012-03-09 13:04:00 +00:00
ChunEon Park 18e3c65c0e elementary/dayselector - New widget Elc_dayselector
Hi Raster,
Please find the modified patch after the suggested changes. 
[ APIs are provided for setting week_start, weekend_start & weekend_length.Default values are fetched
from elm_config instead of edc styles.] 
Please review the patch and push it to svn. 
Thanks,
Sumanth 

Signed-Off-By: Sumanth Krishna Mannam(sumanth.m@samsung.com)



SVN revision: 68868
2012-03-07 04:57:03 +00:00