Commit Graph

6693 Commits

Author SHA1 Message Date
Michael BOUCHAUD a1661712da elementary: elm_map use now image proxy and do some cleaning in theme, big thx to Bluezery !
SVN revision: 77939
2012-10-12 14:51:45 +00:00
WooHyun Jung ba316374b9 elementary : From. Michal Jagiello.
In elm_slideshow_timeout_get documentation is no information about what
function returns on errors.


SVN revision: 77936
2012-10-12 10:37:23 +00:00
Michael BOUCHAUD b6c771c97c elementary: add elm_map_name_search
SVN revision: 77935
2012-10-12 10:27:08 +00:00
Jihoon Kim 9a8fc5433e elm: fix typo in elm_notify
SVN revision: 77839
2012-10-11 00:37:26 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Michael BOUCHAUD fc1d6f99de elementary: remove unneeded code & add some prevent code in elm_map. Patch from Bluezery, thx :)
SVN revision: 77756
2012-10-10 12:29:08 +00:00
Carsten Haitzler 3a2c283d26 i have no idea now why i put this here, hmm yes it did disable item
cache - re-enable! :(



SVN revision: 77750
2012-10-10 11:06:00 +00:00
Carsten Haitzler f917683f58 oops i didnt mean to commit this with shinwoo's patch. remove.
SVN revision: 77749
2012-10-10 11:03:44 +00:00
Cedric BAIL 2c6d0a57c9 elementary: better fix for data corruption in multibuttonentry.
Patch by Jihyeon Seol <jihyeon.seol@samsung.com>


SVN revision: 77742
2012-10-10 09:44:38 +00:00
Kim Shinwoo 1cdbfa5f82 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - bug fix

diskselector has two bugs.

1. on round enable mode
elm_diskselector_item_append(); does not call elm_box_pack_*() for
over_items and under_items which are added when the display item is
bigger
than 3.
because over_items and under_items is not added, the diskselector shows
just 4 items + half item(NOT 5 items), in case of display item number
is 5
- elm_diskselector_display_item_num(obj, 5); -.
this bug could be found only if u use as following sequence.
   a. elm_diskselector_round_enabled_set(obj, EINA_TRUE);
      b. elm_diskselector_item_append();
      
      2. on the round disable mode + bigger than 3 display item
      even though display item is bigger than 3 on the round disable
mode, only
two blank items are added - left_blank, right_blank.
because of this, the first item could not be selected. means.. the first
item cannot be located in the middle of diskselector.
if u scroll the diskselector to the left-most, then the second item is
selected as below.

   [blank] [ 1st ] [ 2nd ] [ 3rd ] [ 4th ]
   
   so if the display item is bigger than 3, more blank items would be
   necessary.
   include lines to resolve above 1st bug, the patch would resolve
this issue
also.



SVN revision: 77740
2012-10-10 09:43:58 +00:00
Kim Shinwoo 0864af3230 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] multibuttonentry - access feature

i have attached a patch which has access feature for the multibuttonentry.
it was hard time to implement access feature on the multibuttonentry than
others.



SVN revision: 77738
2012-10-10 09:37:50 +00:00
KoziarekBeata 39d8d990e3 From: KoziarekBeata <b.koziarek@samsung.com>
Subject: [E-devel] [elementary] size value checking in elm config

This patch contains size value checks for some functions in elm_config
file.
 
I think that calling these function with negative size values has no
sense.



SVN revision: 77734
2012-10-10 09:26:29 +00:00
Michael BOUCHAUD 994441181c elementary: don't try to find one more time the node we want to remove. We already have it !
SVN revision: 77630
2012-10-09 08:49:06 +00:00
Michael BOUCHAUD 881c36211c elementary: fix calculation of scale table, thx to Bluezery
SVN revision: 77620
2012-10-09 08:18:28 +00:00
Bruno Dilly fed295ce26 elementary: add since tag on new spinner funcs
SVN revision: 77600
2012-10-08 22:55:26 +00:00
Bruno Dilly 044230be87 elementary: update changelog
I was forgetting to add changelog entries



SVN revision: 77591
2012-10-08 22:39:26 +00:00
Bruno Dilly e0d1bab54a elementary: add special value del / get funcs to spinner
SVN revision: 77590
2012-10-08 22:39:15 +00:00
Bruno Dilly 93295e2657 elementary: replace previously special value set
When adding a special value, check if there is already a label for
the value. If it's the case, just replace the label.



SVN revision: 77589
2012-10-08 22:39:05 +00:00
Daniel Juyung Seo 41b315d770 elm elementary_codegen.c: Removed 'may be used uninitialized.' warnings.
SVN revision: 77535
2012-10-05 14:36:00 +00:00
Cedric BAIL 6f20d1cb7f elementary: should work with wayland when both wayland and x11 backend are build.
SVN revision: 77496
2012-10-05 01:59:11 +00:00
Sebastian Dransfeld 870c91ca10 elementary: Add COMPOUND_TEXT handler
Needed for vim cnp

SVN revision: 77486
2012-10-04 23:19:05 +00:00
Sebastian Dransfeld 9444642ee7 elementary: Don't allocate unneeded data
SVN revision: 77475
2012-10-04 23:17:28 +00:00
Daniel Juyung Seo 3dfd9b27d1 elm configure.ac: elementary colorselector needs ecore input. now fixed. spank cedric.
SVN revision: 77443
2012-10-04 16:33:22 +00:00
Daniel Juyung Seo f33db2a8ef elm test_colorselector.c: Added PICKER mode for color selector.
SVN revision: 77426
2012-10-04 11:00:26 +00:00
Cedric BAIL 98f1dc53d6 elementary: add color picker to elm_colorselector.
SVN revision: 77409
2012-10-04 08:27:07 +00:00
Cedric BAIL ced635d572 elementary: oops forgot to update the AUTHORS files.
SVN revision: 77408
2012-10-04 08:22:44 +00:00
Cedric BAIL 562cb064a7 elementary: Require Ecore >= 1.7.99 to build Elementary to fix following
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77399
2012-10-04 02:50:29 +00:00
Cedric BAIL 441a2ef861 elementary: Fixes copy&paste error and possible invalid memory access.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77397
2012-10-04 02:47:15 +00:00
Cedric BAIL 4e92316193 elementary: Simplifies code and removes redundant duplicated code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77396
2012-10-04 02:43:57 +00:00
Cedric BAIL f79c9bb374 elementary: Fixes bad format strings in *printf() calls.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77395
2012-10-04 02:42:26 +00:00
Cedric BAIL d6b7a7bc35 elementary: Removes unused variable.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77394
2012-10-04 02:40:59 +00:00
Bruno Dilly 900ba23681 elementary: correctly balance init counts
It was always increasing quicklaunch count on init, but
only reducing on shutdown when _elm_init_count is zeroed,
i.e., the quicklaunc_shutdown rountine wasn't being executed.



SVN revision: 77378
2012-10-03 16:41:46 +00:00
Bruno Dilly 3a7b3c67e0 elementary: on external widgets del just call shutdown
Instead of adding it to an idler.
If the main loop is already dead it won't shutdown correctly.



SVN revision: 77377
2012-10-03 16:41:30 +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
Massimo Maiurana fe71040979 updating galician translations
SVN revision: 77336
2012-10-02 21:11:31 +00:00
Flavio Vinicius Alvares Ceolin d2e0dca5d4 elementary_codegen: Fixing a small problem with programs
Generating code even when there is no signal and/or source
in a program with SIGNAL_EMIT action.



SVN revision: 77332
2012-10-02 19:09:10 +00:00
Bruno Dilly f3106115d3 elementary: fix enum docs on elm_general
SVN revision: 77329
2012-10-02 17:06:20 +00:00
Bruno Dilly 322ceb0458 elementary: add policy for elm exit
With ELM_POLICY_EXIT it's possible to request elementary
to delete all the windows before shutdown instead of just
quitting the main loop.



SVN revision: 77328
2012-10-02 17:06:11 +00:00
Stefan Schmidt f2f7c1deef elementary/genlist: Init itc to NULL before using it.
SVN revision: 77320
2012-10-02 12:53:58 +00:00
Bruno Dilly 34dbd67c31 elementary: fix spinner wrap
It's weird, but looks like wrap mode of the spinner is broken at least
since the move of elm to trunk.

The current code:

  if (sd->wrap)
     {
        while (new_val < sd->val_min)
          new_val = sd->val_max + new_val + 1 - sd->val_min;
        while (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max - 1;
     }

doesn't seems correct. Since even the documented example would fails:

 * E.g.:
 * @li min value = 10
 * @li max value = 50
 * @li step value = 20
 * @li displayed value = 20
 *
 * When the user decrement value (using left or bottom arrow), it will
 * displays @c 40, because max - (min - (displayed - step)) is
 * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.

With the current code the value will be 41.

It also could lead to values above min, like happens on the first spinner test,
when you could go to -50.5 because new value will become:
 250 + (-50.5) + 1 - (-50) in the first while() and later since these value
 is bigger then 250, would go back to -50.5 ...

So, a reasonable algorithm would be

  if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max + new_val - sd->val_min;
        else if (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max;
     }

But it doesn't works fine for cases like the months spinners test, when you
have min = 1, max = 12, step = 1 and each option should be displayed with
wrap. This algorithm would wraps from 1 to 11, so would skip December...

So, I think just going to the max value when min is reached is the better
choice.

   if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max;
        else if (new_val > sd->val_max)
          new_val = sd->val_min;
     }



SVN revision: 77278
2012-10-01 20:44:19 +00:00
Daniel Juyung Seo 838684f1bf elm genlist: Fixed reorder mode to scroll the pan when reorder item approaches to the edges. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Sep 28, 2012 at 10:04 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear EFL developers,
>
> In current genlist reorder mode, reordering is not moved when
> reordering item is on top or in bottom of within genlist objec because
> of scroller's hold mode.
> After mouse point is moved out of genlist object, then reordering item
> can be moved.
> But in mobile, mouse point can not be moved out of window (if genlist
> item is expanded in window).
> So I add some tweaks to reordering item can be moved when reordering
> item is moved on top item or bottom item.
>
> Please review this patch.
>
> BRs
> Kim.

SVN revision: 77255
2012-10-01 08:55:46 +00:00
ChunEon Park a569a6ab56 elementary/flip - not inteded this line..
SVN revision: 77251
2012-10-01 08:22:49 +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
ChunEon Park 7539a862ba elementary/flip - reverted 77229. actually clo.png is used.
SVN revision: 77236
2012-10-01 06:35:08 +00:00
ChunEon Park b4dcd7c9bf elementary/flip - removed unnecessay line
SVN revision: 77229
2012-09-30 13:39:37 +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
ChunEon Park 5db89a0439 elementary/genlist - my fault. fixed build error :1
SVN revision: 77219
2012-09-29 18:45:15 +00:00
ChunEon Park 48613d7cd8 elementary/genlist - remove it safely.
SVN revision: 77218
2012-09-29 18:40:43 +00:00
Bruno Dilly ede2439e4a elementary: remove wrap from one of spinner tests
Since all the spinners have wrap set we don't test if min / max
are working fine without it.
Also, using EINA_TRUE instead of ELM_WRAP_CHAR makes more sense.

Anyway I couldn't reproduce the bug Ricardo reported to me =/



SVN revision: 77213
2012-09-28 21:07:28 +00:00
Bruno Dilly 116ee8afa5 elm: add bg external
I know some guys insinuated it's useless, since if you want to
put a image in your theme you can just place a image part.

But there are some cool things:
 - You can add a background that fits the theme (default bg theme)
 - You can use background options (tile, stretch...)



SVN revision: 77212
2012-09-28 21:07:23 +00:00