Commit Graph

6665 Commits

Author SHA1 Message Date
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
Gustavo Lima Chaves 6914df9e5f [elm] Let's check for an elm widget before recursing on elm_widget_theme().
SVN revision: 77207
2012-09-28 14:08:00 +00:00
Gustavo Lima Chaves 939a530ebb We don't want to get err messages on !win objects on entry focus.
This can happen on window deletion scenario:

the parent object is elm_widget_sub_object_del()ed BEFORE it gets
evas_object_del()ed, so its children won't reach the window anymore.



SVN revision: 77206
2012-09-28 14:07:16 +00:00
Jihyeon Seol ca35233c07 From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] multibuttonentry - data corruption issue of
the box list

here is a problem in the data corruption of the box list in
_box_layout_cb() of the multibuttonentry.

EINA_LIST_FOREACH is used to move and resize the objects. 
but if box unpack/pack is called in the EINA_LIST_FOREACH loop, 
the data of the box list will be corrupted.

This problem can not be solved immediately due to the structural
problems of
the MBE. 
So the attached patch, a workaround, avoids calling unpack/pack in the
EINA_LIST_FOREACH loop.

I am in the process of refactoring MBE but in the mean time, 
this patch will resolve the above issue.



SVN revision: 77192
2012-09-28 09:28:18 +00:00
Carsten Haitzler e181297a20 typo--
SVN revision: 77183
2012-09-28 08:50:19 +00:00
Kim Shinwoo b52366b70d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - checking middle
item

the diskselector object x-coordinate would not be 0.
but the _scroll_animate_stop_cb() calculates selected item with assumption
that the diskselector object x-coordinate is 0.
so different item which is not in middle of diskselector is selected.



SVN revision: 77182
2012-09-28 08:48:48 +00:00
Jaehwan Kim 01691d9e7d fix indentation
SVN revision: 77177
2012-09-28 04:23:29 +00:00
Jaehwan Kim 052588f9d7 Add the toolbar API which expand the transverse length
SVN revision: 77107
2012-09-27 03:05:50 +00:00
Mike McCormack 33b0007e16 elementary: Fix uninitialized variable warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77101
2012-09-26 19:53:53 +00:00
ChunEon Park b62163cd47 elementary/transit - removed unnecessary line
SVN revision: 77077
2012-09-26 09:15:34 +00:00
Massimo Maiurana 08f0db1165 updating portuguese translations
SVN revision: 77052
2012-09-25 10:53:34 +00:00
Cedric BAIL aeb306bab3 elementary: fix ChangeLog spacing.
SVN revision: 77048
2012-09-25 08:05:25 +00:00
Cedric BAIL 8316dee00d elementary: escape theme filename correctly.
SVN revision: 77046
2012-09-25 08:04:17 +00:00
Flavio Vinicius Alvares Ceolin 8e82a878e5 elementary_codegen: Improving the example
Adding a table to example to test the new set
of generated functions.



SVN revision: 77040
2012-09-24 19:52:44 +00:00
Flavio Vinicius Alvares Ceolin 63fc09980f elementary_codegen: Adding support for box and table
Adding the follow functions if the part is a BOX:

   - elm_layout_box_append
   - elm_layout_box_prepend
   - elm_layout_box_insert_before
   - elm_layout_box_insert_at
   - elm_layout_box_remove
   - elm_layout_box_remove_all

or if the part is a TABLE:

   - elm_layout_table_pack
   - elm_layout_table_unpack
   - elm_layout_table_clear



SVN revision: 77039
2012-09-24 19:52:22 +00:00
Carsten Haitzler 4e4f0c40c1 dont blink curosr while not focused in elm and... make cursor a blink
not fade - less wakeups :)



SVN revision: 77037
2012-09-24 14:45:54 +00:00
Cedric BAIL 4f0e673c1d elementary: build elm map correctly without Ecore_Con.
SVN revision: 76968
2012-09-21 13:12:02 +00:00
ChunEon Park 512278bba2 elementry/naviframe - [E-devel] Elc_Naviframe: Animation optimization patch
Hi All,

Please find attached patch for naviframe animation optimization.
This patch makes sure animation happens smoothly even if content is heavy.
i.e, this patch makes sure animation is deferred so that it is visible(showing full transition time)
even if content takes more time in creation.

Change description:
Naviframe Animation optimization for smoother animation.

Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>

Thanks & Regards
Shilpa Singh



SVN revision: 76929
2012-09-21 05:28:55 +00:00
ChunEon Park 06172c86cc elementary - updated po
SVN revision: 76928
2012-09-21 05:26:53 +00:00
Daniel Juyung Seo a54d133cb3 elm popup.edc: Fixed broken popup item. Spotted by Amit S <amit@smargav.com>. Special thanks to Hermet as well.
SVN revision: 76926
2012-09-21 02:01:56 +00:00
Daniel Juyung Seo 2abea4b740 elm popup_example_03.c: Fixed wrong string.
SVN revision: 76925
2012-09-21 00:18:03 +00:00
Flavio Vinicius Alvares Ceolin 83405f2366 edje_codegen: Fixing a bug in the build system
The name of the edc's example is codegen_example.edc and not
codegen.edc

Problem spotted by Sleep_Walker.



SVN revision: 76920
2012-09-20 22:39:07 +00:00
Michael BOUCHAUD 8efb8ae427 elementary: Changelog
SVN revision: 76900
2012-09-20 09:18:49 +00:00
Michael BOUCHAUD 2bae83010b elementary: fix wrong size calc when an item have setted tittle_visible_set to false
SVN revision: 76897
2012-09-20 09:16:55 +00:00
Aharon Hillel 19b2e5e892 elementary: Fixed show/hide direction for ctx-popup ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76892
2012-09-20 08:13:28 +00:00
Daniel Juyung Seo e8fa4f8035 elm index: Fixed unused variable warnings.
SVN revision: 76879
2012-09-20 00:49:07 +00:00
Mike McCormack 25ead9a8a8 elementary: Fix unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 76876
2012-09-19 21:01:01 +00:00
Michael BOUCHAUD 3bbf200509 elementary: fix resizing on naviframe when an item is poped (typo)
SVN revision: 76870
2012-09-19 14:34:03 +00:00
Aharon Hillel 56dce48238 elementary: Fixed elc_ctxpopup arrow for ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76861
2012-09-19 13:00:00 +00:00