Commit Graph

6092 Commits

Author SHA1 Message Date
Vincent Torri 3d2be98980 Elm:
The datetime module has unnecessary lines.
The datetime resets ctxpopup parent in ctxpopup parent resize callback.

But ctxpopup has its own callback for the parent resize.
In this callback, ctxpopup hides itself. then, ctxpopup recalculates its
parent size when ctxpopup shows itself.

So the parent resize callback in the datetime is not necessary.
Then, please review the patch and give some feedbacks. Thanks.

Patch by Shinwoo Kim.



SVN revision: 72518
2012-06-20 06:10:31 +00:00
Gustavo Sverzut Barbieri 866c5b7a98 CNP is completely broken -- note where it should be fixed.
come on... I'd rather remove this crap than keep it like that. :-(



SVN revision: 72507
2012-06-19 23:33:57 +00:00
Daniel Willmann 7e35c19135 elementary: revert commit 72459. Please see commit 72197, it's the same functionality
revert ->
Log:
From: Daniel Willmann <d.willmann@samsung.com>
 Subject: Re: [E-devel] [PATCH] elementary: Add
 elm_progressbar_maxunit_{set, get} functions

 Some more discussion in IRC led to the conclusion that this should be a
 handled in a signal callback I've attached the new patch where I also
 updated the progress bar example.



Author:       raster
Date:         2012-06-19 02:26:29 -0700 (Tue, 19 Jun 2012)
New Revision: 72459

SVN revision: 72506
2012-06-19 22:53:46 +00:00
Gustavo Sverzut Barbieri dafcd43f50 EAPI elm_drag and elm_drop so I can use them from terminology.
SVN revision: 72505
2012-06-19 20:17:46 +00:00
Bruno Dilly d6341bfc9e Elm: module unloading
Implements the module unloading to all modules on elm_module_shutdown.
This change also fixes a memory leak within elm_module picked by valgrind.

Here follows the valgrind log:

96 bytes in 1 blocks are definitely lost in loss record 105 of 168
    at 0x4C29DB4: calloc (
            in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
            by 0x52065B6: _elm_module_add (elm_module.c:223)
            by 0x520669E: _elm_module_parse (elm_module.c:77)
            by 0x51F1249: elm_quicklaunch_sub_init (elm_main.c:437)
            by 0x51F12BE: elm_init (elm_main.c:180)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72499
2012-06-19 18:24:17 +00:00
Bruno Dilly 04061fc239 Elm: fix the widget event callback freeing
Removes the event callback list within _smart_del. The current
implementation does not care about the node data resulting on
memory leaks.

Here follows the valgrind log:

16 bytes in 1 blocks are definitely lost in loss record 11 of 168
at 0x4C29DB4: calloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        by 0x522EC34: elm_widget_event_callback_add (elm_widget.c:1996)
        by 0x5A7AA2B: _edje_emit_handle (edje_program.c:1322)
        by 0x5A766B6: _edje_message_queue_process (edje_message_queue.c:764)
        by 0x5A76856: _edje_job (edje_message_queue.c:160)
        by 0x628C02A: _ecore_job_event_handler (ecore_job.c:115)
        by 0x6288C1F: _ecore_event_call (ecore_private.h:319)
        by 0x628D09B: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
        by 0x628D566: ecore_main_loop_begin (ecore_main.c:931)
        by 0x4023B0: elm_main (test.c:198)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72498
2012-06-19 18:20:38 +00:00
Daniel Willmann a7cacf4204 elementary: Fix typo preventing examples to be compiled
Just a quick fix. Seems like this was not compile tested.

Regards,
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 72496
2012-06-19 18:03:40 +00:00
Gustavo Lima Chaves 7f0048b9b8 [elm] Switching in slideshow with no transition effect
Patch by Rajeev Ranjan <rajeev.r@samsung.com>.



SVN revision: 72492
2012-06-19 16:31:30 +00:00
Hyoyoung Chang 461055d878 elementary/genlist: remove unused codes
SVN revision: 72485
2012-06-19 14:51:38 +00:00
Minseok Kim db61fd9dbb elementary/multibuttonentry: add focus handling at clicked,
and remove box region show. 

Signed-off-by: Minseok Kim <minseok3.kim@samsung.com>


SVN revision: 72484
2012-06-19 14:48:05 +00:00
Carsten Haitzler ddd258a263 blank--
SVN revision: 72460
2012-06-19 09:31:56 +00:00
Daniel Willmann 2e9ae9f539 From: Daniel Willmann <d.willmann@samsung.com>
Subject: Re: [E-devel] [PATCH] elementary: Add
elm_progressbar_maxunit_{set, get} functions

Some more discussion in IRC led to the conclusion that this should be a 
handled in a signal callback I've attached the new patch where I also 
updated the progress bar example.



SVN revision: 72459
2012-06-19 09:26:29 +00:00
Carsten Haitzler 70c459c487 adjust slider units image to not overlap text.
SVN revision: 72457
2012-06-19 08:29:58 +00:00
Vincent Torri 3917e6a733 Elm: add missing @since.
SVN revision: 72436
2012-06-19 05:07:29 +00:00
Vincent Torri 00f27253fd please also add @since in newly typedef, struct, enum etc...
SVN revision: 72435
2012-06-19 04:50:11 +00:00
Jonas M. Gastal 93579ce392 Fixing Radio example docs.
SVN revision: 72411
2012-06-18 16:53:05 +00:00
Tom Hacohen a3c17ad245 Elementary default-theme: Changed text margins to be a little smaller.
4 pixels was way too much, 2 is better.

SVN revision: 72410
2012-06-18 16:13:21 +00:00
Carsten Haitzler ca0dd3f735 fix toolbar horizontal item sizing min calc.
SVN revision: 72382
2012-06-18 11:04:57 +00:00
Carsten Haitzler 02e4bce0b1 fix genlist issue that turned up in terminology fn selector where all
items get realized. fix! :)



SVN revision: 72377
2012-06-18 09:54:00 +00:00
Carsten Haitzler f30ff2330e document new styles for gl items
SVN revision: 72365
2012-06-18 07:40:36 +00:00
Carsten Haitzler 5c7e4746b8 add new genlisut stiles for one_icon, end_icon and no_icon
SVN revision: 72364
2012-06-18 07:35:27 +00:00
Daniel Juyung Seo 282f65fe8d elm genlist: Unbork genlist group index and fix it in a correct way. Thanks to Raster for notifying that bug.
SVN revision: 72304
2012-06-17 17:20:23 +00:00
Michael BOUCHAUD a44d411430 elementary: add a test and an example for the unit format function in progressbar
SVN revision: 72293
2012-06-17 11:41:19 +00:00
Cedric BAIL 17e30e1dea elementary: don't crash on NULL filename in elm_video.
NOTE: I don't know when this bug was introduced.


SVN revision: 72260
2012-06-17 02:45:12 +00:00
Carsten Haitzler fae68f6397 add xxx for tomorrow.
SVN revision: 72246
2012-06-16 19:07:45 +00:00
Carsten Haitzler c72a22da75 improve desktop theme setup.
SVN revision: 72244
2012-06-16 18:19:23 +00:00
Carsten Haitzler 8b5963cd77 fix group item header placement when genlist is not at 0,0 - ppl dont
test this :)



SVN revision: 72234
2012-06-16 12:55:29 +00:00
Davide Andreoli a6a41f5717 elm_map: add elm_map_overlay_del_cb_set() to get notified when an overlay is deleted.
SVN revision: 72233
2012-06-16 12:50:54 +00:00
Carsten Haitzler 6d265ac226 fix theme where inheritance was used that broke selected compress
mode. :)



SVN revision: 72225
2012-06-16 10:45:50 +00:00
Daniel Juyung Seo b0631415a7 elm test_genlist.c: Applied elm_genlist_decorated_item_get() return value const change.
SVN revision: 72222
2012-06-16 10:12:25 +00:00
Daniel Juyung Seo 1f01713eb3 elm genlist: Removed 'const' from elm_genlist_decorated_item_get() API's return value. This API was aimed to manipulate decorated item so no const for the return value. Raster confirmed that this is not a API break. Thanks.
SVN revision: 72221
2012-06-16 10:12:15 +00:00
Carsten Haitzler 551320670c genlist items.. shouldnt repeat events.... when u click/select items
and they happen to be on top of other things... they also get clicks.
weird. :/  theme cleanies.



SVN revision: 72220
2012-06-16 09:50:41 +00:00
Gustavo Lima Chaves 787a42f880 [elm] Uncomment widget tree images rule out -- leave it
dangling.
To be called explicitly.



SVN revision: 72200
2012-06-15 18:52:04 +00:00
Michael BOUCHAUD 48728c1039 elementary: and now fix me
SVN revision: 72198
2012-06-15 16:48:25 +00:00
Michael BOUCHAUD d24e7b363d elementary: add elm_progressbar_unit_format_function_set
SVN revision: 72197
2012-06-15 16:32:54 +00:00
Michael BOUCHAUD 4d5405a135 elementary: fix typo in doc
SVN revision: 72196
2012-06-15 16:21:21 +00:00
Stefan Schmidt b65fe02596 elementary/elm_win: No need to define and undef the same macro all over again.
SVN revision: 72194
2012-06-15 14:11:47 +00:00
Vincent Torri bc0efce43a elm: @since. Reviewers, please, review...
SVN revision: 72189
2012-06-15 11:43:02 +00:00
Daniel Juyung Seo ee7efee8b8 elm test_genlist.c: Added more test case for genlist. 'Genlist Decorate Modes'. This test runs 'decorate item mode' and 'decorate all mode' at the same time.
SVN revision: 72174
2012-06-15 07:58:11 +00:00
Daniel Juyung Seo fab4708d34 elm genlist: Unset decorate item mode when decorate mode set is called. Yes that's so confusing. 'Decorate Item Mode' and 'Decorate Mode' are different and exlusive from the implementation.
SVN revision: 72173
2012-06-15 07:58:08 +00:00
Daniel Juyung Seo 854b8960e9 elm test_genlist.c: Add separator for each test case.
SVN revision: 72172
2012-06-15 07:58:05 +00:00
Michael BOUCHAUD d925737952 elementary: changelog and News. I avoid vtorri spanking :P
SVN revision: 72152
2012-06-14 22:54:31 +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
Stefan Schmidt 9c0f6e7709 elementary/elm_win: Also check for potential NULL in other defines
Thanks to Daniel Willmann pointing them out to me. Actually I wonder
why we need all this define and undef for ENGINE_COMPARE. Will dig a
bit deeper into that and see if we may can go with a single one.

SVN revision: 72144
2012-06-14 15:56:42 +00:00
Stefan Schmidt c6ff40ba13 elementary/elm_win: Check argument for NULL before we pass it to strncmp
strncmp() really does not like that. So we should not be lazy and check for it. Say thanks to
scan-build which reported these to me.

SVN revision: 72142
2012-06-14 15:01:37 +00:00
Daniel Willmann 1e25de9ab3 From: Daniel Willmann <d.willmann@samsung.com>
Subject: [PATCH] elementary: Minor fix to the documentation of ActionSlider
Date: Thu, 14 Jun 2012 15:31:05 +0100

Yeah, the most overhead I could imagine. :-)


SVN revision: 72141
2012-06-14 14:42:34 +00:00
Mike Blumenkrantz e2d63d4c40 massive, massive, MASSIVE spankies to the person that wrote gengrid's sorted insert functions. cannot overstate the size of the spankies that await you if I decide to look through the svn logs.
also fixes ticket #984
--This line
\
, and those below, will be ignored--

M    lib/elm_gengrid.c


SVN revision: 72139
2012-06-14 14:11:04 +00:00
Jaehwan Kim 3f370e5148 Add the reorder feature when the more panel is shown.
After the item is long-pressed, it can be moved.


SVN revision: 72129
2012-06-14 12:59:38 +00:00
Mike Blumenkrantz e4baf0e068 fix doc error as spotted by Daniel Willmann <d.willmann@samsung.com>
SVN revision: 72127
2012-06-14 12:41:18 +00:00
Seunggyun Kim 4f7121cd4a From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_config_font_overlay_apply bug fix

[Current Issue]
 - The API applies the changes with elm_config_font_overlay_set(). 
   But at the first time, application fonts have not been changed after
elm_config_font_overlay_apply api is called.
   The application fonts changed only when the display is updated or
elm_config_font_overlay_apply api is called again.

[Main cause]
 - When the elm_config_font_overlay_apply is called at fist time, it
calls
edje_text_class_del and edje_text_class_set in locally. But
edje_text_class_set just returns without _ejde_reclc() when new text
class
is ceated. 
  So in this case, there is nothing to be changed.
  Since second call the api, edje_text_class_del api calls
_edje_recalc() in
locally. So the application fonts are changed.

[Change Description]
 - There is two method. The first is to enable ejde_test_class_set api
is
can be recalced when the fist calling.
   The second is to add _elm_rescale() function in
elm_config_font_overlay_apply API. This occurs edje_recalc effect
after font
overay set.
   I attached the second method.



SVN revision: 72124
2012-06-14 10:55:16 +00:00
Carsten Haitzler c7fad4ef42 fix discomfitors list scalign thing.. was actually image/icon madness.
:)



SVN revision: 72109
2012-06-14 07:55:55 +00:00
Gustavo Lima Chaves dc83c09247 [elm] Forgotten __UNUSED__.
SVN revision: 72092
2012-06-13 17:21:34 +00:00
Gustavo Lima Chaves c3512bb998 Be clear about gesture layer's usage.
Elm widget as parent, any Evas object as target.



SVN revision: 72091
2012-06-13 17:21:13 +00:00
Jaehwan Kim e828e20bb7 In case of scroll in scroll, the outside scroller shouldn't be scrolled if the inside scroller can be scrolled.
SVN revision: 72064
2012-06-13 07:01:00 +00:00
Cedric BAIL 5ccf4d4d24 elementary: rename VIRTUAL into SPACER.
SVN revision: 72059
2012-06-13 03:23:01 +00:00
Gustavo Lima Chaves 7753347d27 [elm] Sexying up elm_win_icon_object_set()'s doc
string.



SVN revision: 72045
2012-06-12 16:40:57 +00:00
Carsten Haitzler 0babab585e bitch--
SVN revision: 72044
2012-06-12 16:31:02 +00:00
Carsten Haitzler 9e0801e8ea debug bitch--
SVN revision: 72042
2012-06-12 16:27:15 +00:00
Carsten Haitzler 5ef9fe3db7 complaint--
SVN revision: 72040
2012-06-12 16:21:56 +00:00
Mike Blumenkrantz 1913c99bc1 ticket #902: elementary saves map data into /tmp
now we use XDG_CACHE_HOME


SVN revision: 72035
2012-06-12 14:50:15 +00:00
Rafael Antognolli 13767c7624 elm/docs: Fix typo: no releted pages.
SVN revision: 72027
2012-06-12 13:08:51 +00:00
Carsten Haitzler 36c8762a9b fix date in chlog
SVN revision: 72016
2012-06-12 10:58:20 +00:00
Carsten Haitzler 2165089e21 add docs for new win funcs.
SVN revision: 72012
2012-06-12 10:21:41 +00:00
Carsten Haitzler 312ccfd855 changelog for added api's to elm
SVN revision: 72011
2012-06-12 10:16:46 +00:00
Carsten Haitzler 78b003d5ea new api's for hinting base+step sizes for a window.
SVN revision: 72009
2012-06-12 10:15:19 +00:00
ChunEon Park 979bb7ba2b elementary/transit - updated changelog
SVN revision: 71981
2012-06-12 06:46:54 +00:00
ChunEon Park e9022240c9 elementary/po - updated
SVN revision: 71980
2012-06-12 06:46:38 +00:00
ChunEon Park a9b4b5cd4a elementary/transit - fixed wipe effect flickering.
evas_map_point_coord APIs have the int values but evas_map_point_image_uv_set have the double parameters on the other hand.
This inconsistency causes the inexact result(flickering). 

It's not good APIs for users.



SVN revision: 71979
2012-06-12 06:39:25 +00:00
WooHyun Jung 9425a89305 elementary/module : Modified 71929 with better way. Thanks ShinWoo.
But I recommend to remove all callbacks with elm_widget_top_get(obj).


SVN revision: 71975
2012-06-12 01:52:31 +00:00
Davide Andreoli 9b72ec0dea another non premul color
SVN revision: 71970
2012-06-11 23:56:01 +00:00
Davide Andreoli 8babe97704 whops, this file wasnt mean to be committed
SVN revision: 71968
2012-06-11 23:35:05 +00:00
Davide Andreoli 5a1213ec8c evas only handle premul colors (note: not making any news or bp)
SVN revision: 71965
2012-06-11 23:25:43 +00:00
Mike Blumenkrantz ea5e907bb6 should probably return these values instead of just copy/pasting code around
SVN revision: 71935
2012-06-11 08:19:04 +00:00
ChunEon Park 8829228d22 elementary/datetime - [E-devel] [Patch][elementary] datetime module, delete callback
Dear all, hello.

There is a case, in the _ctxpopup_parent_resize_cb() is called even
though the datetime is removed.
It makes a crash, so the callback should be deleted before removing
datetime. That's it.

Sincerely,
Shinwoo Kim.

Submitted-By-Off: Kim Shinwoo <kimcinoo.efl@gmail.com>



SVN revision: 71929
2012-06-11 07:09:48 +00:00
Tom Hacohen e34eed9c11 Elm ctxpopup: Fixed ctxpopup test.
Patch by Daniel Zaoui.

SVN revision: 71889
2012-06-10 07:50:27 +00:00
Gustavo Lima Chaves 9ec740624f [elm] Just cosmetical, but since it's here on my
changes...



SVN revision: 71869
2012-06-08 21:05:51 +00:00
Gustavo Lima Chaves b15d43ef71 [elm] Oops, forgotten class smart cbs setting
paths.
This will also unb0rk Edje externals signal proxying.



SVN revision: 71868
2012-06-08 21:05:45 +00:00
Gustavo Lima Chaves 727f4692b3 [elm] Fix elm_shutdown via Edje externals.
An EVAS_CALLBACK_DEL event cb will take place before the smart del
function, so there'll be more action taking place after that, and Elm
has be on.



SVN revision: 71867
2012-06-08 21:05:37 +00:00
Jonas M. Gastal b06f7aa8e6 Fixing win_example (Win - General API Overview) doc, includes were broken.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 71864
2012-06-08 19:56:51 +00:00
Jonas M. Gastal 2ec5f9cfb1 Adding related pages link.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 71849
2012-06-08 13:21:47 +00:00
Jaehwan Kim b55c923034 Add elm_object_scroll_hold/freeze_get
SVN revision: 71836
2012-06-08 08:59:07 +00:00
Mike Blumenkrantz f18b904b2a elm notify can now have the timeout set before it becomes visible
SVN revision: 71832
2012-06-08 07:20:39 +00:00
Cedric BAIL cf2c7ac35a elementary: randomly testing elementary let me come to this completly broken widget.
SVN revision: 71828
2012-06-08 02:16:19 +00:00
Jaehwan Kim bf92dfb943 Change the comment.
SVN revision: 71826
2012-06-08 01:35:05 +00:00
Daniel Juyung Seo 0477ee0b0d elm: Applied elm_icon_file_set -> elm_image_file_set api change.
SVN revision: 71804
2012-06-07 11:40:54 +00:00
Mike Blumenkrantz e14d40fc97 typos in notify test
SVN revision: 71788
2012-06-07 09:52:14 +00:00
Jaehwan Kim c44133eadb Add the NEWS and @since.
SVN revision: 71780
2012-06-07 07:53:33 +00:00
Jaehwan Kim a0a7af0ec0 Sorry, I missed my name in changelog.
SVN revision: 71778
2012-06-07 07:40:22 +00:00
Jaehwan Kim 564b6f13c8 Remove the APIs elm_toolbar_items_max_set/get.
Instead of them, add the APIs elm_toolbar_standard_priority_set/get.
The items which are lower than standard priority are located in more menu or panel.


SVN revision: 71777
2012-06-07 07:32:55 +00:00
Gustavo Lima Chaves 528457fb98 [elm] Dangling elm_icon_resizable_set() calls, be gone.
SVN revision: 71763
2012-06-06 18:05:22 +00:00
Mike Blumenkrantz 85dd700d44 unbreak elm configure
SPANK SPANK SPANK devilhorns!


SVN revision: 71762
2012-06-06 16:43:35 +00:00
Gustavo Lima Chaves 36116d2ff7 [elm] Initialize forgotten variable on naviframe.
SVN revision: 71759
2012-06-06 14:40:34 +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
Christopher Michael 166018c8fc Elm: Update ChangeLog for Rob's patch.
SVN revision: 71737
2012-06-06 08:25:39 +00:00
Christopher Michael 8ec6c0d94e Elm: Patch from Rob Bradford <rob@linux.intel.com> for:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.



SVN revision: 71736
2012-06-06 08:25:12 +00:00
Jihoon Kim fd96bbf201 elm/edje_externals/index: fix formatting
SVN revision: 71727
2012-06-06 02:51:28 +00:00
Jihoon Kim b98b438dd6 elm_intro.h: fix @version from 0.8.0 to 1.0.0
SVN revision: 71726
2012-06-06 02:50:32 +00:00
Gustavo Lima Chaves ccaa32d72a [elm] Welcome pretty widget hierarchy images on docs.
The Makefile rule building that is commented out -- meant to be run
locally once in a while (when changes on overall widget tree happen)
and changed images commited.



SVN revision: 71721
2012-06-05 22:41:21 +00:00
Gustavo Lima Chaves ae6c0aa717 [elm] Separate win-inwin properly.
SVN revision: 71720
2012-06-05 22:39:59 +00:00
Gustavo Lima Chaves 65dd2b8b12 [elm] Put some order on widget preview programs
generation
and also on widget preview images generation.



SVN revision: 71719
2012-06-05 22:27:15 +00:00