Commit Graph

77 Commits

Author SHA1 Message Date
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
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Bruno Dilly d10860842d elm: remove unused var from elm calendar
SVN revision: 83097
2013-01-22 18:16:15 +00:00
Flavio Vinicius Alvares Ceolin 3048fa42b8 [elm] calendar: Making the them with double spinner a
style

The theme with double spinners is now a different style, so the user
can choice wich style he wants to use. It also removes the deprecated
flag from the elm_calendar_format_function_set() function.



SVN revision: 83095
2013-01-22 16:37:45 +00:00
Flavio Vinicius Alvares Ceolin fd30ab1d76 [elm] calendar: Fixing a problem with min/max year
Respecting the years bounds.



SVN revision: 82346
2013-01-07 13:50:19 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Flavio Vinicius Alvares Ceolin a8719f824d [elm] calendar: spinners for month and year now
Adding a separated spinner for year.



SVN revision: 82108
2013-01-03 20:50:10 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Michael BOUCHAUD 14e4e7dfbe elementary: add elm_calendar_displayed_time_get to know which month is displayed. And add a signal display,changed
SVN revision: 77362
2012-10-03 10:02:27 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Kim Shinwoo 7aacc9fc4b From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] calendar - add access feature,
access - add _elm_access_edje_object_part_object_unregister(); 

the attachment has accessibility feature which is for the
elm_calendar. and
moreover..
it would be better to keep one more api for the access which name is
_elm_access_edje_object_part_object_unregister();
in the case of calendar item, its text part could be set with empty
value
in run time(dynamically), even though it had a value (1~31) previously.
so if there is an empty field(item), then previously registered item
should
be unregistered. the api would be useful not only this case but also
others.
then, please review the patch and give feedback. thanks.



SVN revision: 76502
2012-09-12 08:25:10 +00:00
Michael BOUCHAUD 6b520ae48d elementary: add elm_calendar_selectable_set
SVN revision: 76478
2012-09-11 21:33:54 +00:00
Gustavo Lima Chaves b7e8152421 [elm] Calendar now inheritable.
SVN revision: 74691
2012-07-31 22:06:52 +00:00
Gustavo Lima Chaves 539db7e34a [elm] Remove unused var.
SVN revision: 74608
2012-07-30 22:36:29 +00:00
Cedric BAIL a948fe54ca elementary: defert Elm_Calendar generation until needed.
NOTE: The new infra is awesome ! That was a piece of cake once
I understand how it work. I love it !


SVN revision: 74562
2012-07-30 09:02:23 +00:00
Cedric BAIL 5e5d86df36 elementary: add thaw/freeze to Elm_Layout and use it in Elm_Calendar.
NOTE: This improve calendar performance quite a lot, but a better improvement
would be to populate the object when we really need it. I don't know how to
do that in current Elementary source code. Reason for another expected massive
improvement is that every time you set a property on an Elm_Calendar trigger
a populate and that one is costly (Around 6 populates call per Elm_Calendar in
our code example, meaning doing it could give us a 6 times boost...).


SVN revision: 74553
2012-07-30 07:14:33 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 3d00e9761d [elm] Init code fix -- calendar.
SVN revision: 74007
2012-07-17 18:44:16 +00:00
Michael BOUCHAUD 3e382200a5 elementary: add an enum for mark repeat type, ELM_CALENDAR_LAST_DAY_OF_MONTH. fix #855
SVN revision: 72145
2012-06-14 17:10:31 +00:00
Gustavo Lima Chaves 23a4924a88 [Elm] Elm calendar also a layout, now.
SVN revision: 70714
2012-05-03 22:41:58 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 082bc108a3 [Elm] Elm calendar also a layout, now.
SVN revision: 70637
2012-05-02 16:58:41 +00:00
Michael BOUCHAUD f23c33203e elementary: calendar still need glue
SVN revision: 70484
2012-04-25 22:51:46 +00:00
Michael BOUCHAUD b27633c238 elementary: fix ELM_CALENDAR_SELECT_MODE_ONDEMAND
SVN revision: 70451
2012-04-24 23:07:36 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Michael BOUCHAUD 4b6c52a4d6 elementary: warn--
SVN revision: 70341
2012-04-19 22:47:53 +00:00
Michael BOUCHAUD 1e525af4e4 elemntary: mr proper with council from SeoZ. Add _MODE_ to the enum
SVN revision: 70326
2012-04-19 09:03:59 +00:00
Michael BOUCHAUD e18646e52a elementary: elm_calendar deprecate elm_calendar_day_selection_disabled_set/get, instead now use elm_calendar_select_mode_set/get. ELM_CALENDAR_SELECT_MODE_ONDEMAND is present but not supported yet
SVN revision: 70319
2012-04-19 08:46:22 +00:00
Jihoon Kim b7c213af86 elementary: ignore key event of keypad when NumLock is turned on in calendar, diskselector, gengrid, genlist, and player
SVN revision: 69939
2012-04-06 00:56:06 +00:00
Michael BOUCHAUD d5e4755d08 elementary: oops, mistake
SVN revision: 69773
2012-03-29 23:05:54 +00:00
Michael BOUCHAUD 6e92d78cf3 elementary: add an enum for the weekdays, with magic numbers fixes
SVN revision: 69772
2012-03-29 22:59:11 +00:00
Michael BOUCHAUD 92c1745e90 elementary: add 2 API, the first one is to set the first day of week in elm_calendar, and the second to get the info. I use a more trivial way to set headers ^^
SVN revision: 69771
2012-03-29 22:14:30 +00:00
Jiyoun Park 91ecbfb917 remove deprecated code related with
elm_calendar_day_selection_enabled_set/get
function.


SVN revision: 69229
2012-03-12 08:12:49 +00:00
Carsten Haitzler c8622c8da1 shadow warn--
SVN revision: 68887
2012-03-07 07:59:51 +00:00
Bruno Dilly 3718134a2a Elm_Calendar: fix function pointer as arg
Spotted by Michael Blumenkrantz


SVN revision: 68864
2012-03-07 01:02:21 +00:00
Carsten Haitzler cd97aeb090 warn--
SVN revision: 68813
2012-03-06 12:06:43 +00:00
Jiyoun Park 74e7ff7411 remove deprecated code related with elm_calendar_text_xxx
SVN revision: 68792
2012-03-06 08:53:20 +00:00
Sanjeev BA d7a8ea0da6 Rename enum as per review comment.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 68562
2012-03-01 03:38:56 +00:00
Sanjeev BA e0efa2e5ad Change enabled_get/set to disabled_get/set.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68540
2012-02-29 07:54:57 +00:00
Mike McCormack b362edf0c9 elementary: Remove stray debugging code
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64939
2011-11-08 08:46:40 +00:00
Rajeev Ranjan cc44533fe3 elementary: Fix calendar's min-max year set for UTC
Signed-off-by: Rajeev Ranjan <rajeev.r@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63950
2011-10-10 08:33:04 +00:00