Commit Graph

3655 Commits

Author SHA1 Message Date
WooHyun Jung c879c55fad elementary/elm_entry : add some null checking codes.
SVN revision: 63594
2011-09-25 02:56:54 +00:00
Daniel Juyung Seo b7a22247f2 elm genlist: Changed internal variable name. old_pan_y ->
reorder_old_pan_y.


SVN revision: 63561
2011-09-23 08:32:32 +00:00
ChunEon Park 12d5ae477d elementary/naviframe - updated doc.
fixed grammar. found by ShilpaOnkar Singh. 



SVN revision: 63551
2011-09-23 00:34:50 +00:00
ChunEon Park 009d533645 elementary - fixed some logic errors patched by rajeev.r@samsung.com
Hi all,
I found few memory related issues in elementary package when performed static analysis on it.

These issues include:
Array indices getting out of bounds, freed memory address being passed to a function as parameter, memory not getting cleaned up because of earlier return statement.

Issues details:
1. In elm_widget.c inside function elm_widget_signal_callback_del(), it is possible that freed memory address esd is passed to the sd->callback_del_func(). I think it should be data, not esd.
Moreover what if the callback frees memory for data, then the other problem is that the return value is data from the function elm_widget_signal_callback_del() which in my opinion can be a problem.

2. Inside directory src/edje_externals for files elm_genlist.c, elm_notify.c, elm_list.c, elm_thumb.c and elm_map.c, array indices can go beyound bounary.
sizeof() operator for an array of character pointers will return [number of elements in the array * size of (char*)], basically 4 times the number of elements which has been taken care in assertion inside src/edje_extenarnals
while performing assertion but has been missed in the next statement in the loop condition.

3. In file src/lib/elm_config.c inside function _elm_config_profiles_list, freeing of file iterator has been missed out.

Please review the attached patch and let me know your opinion.

Thanks.
Regards,
Rajeev



SVN revision: 63550
2011-09-23 00:02:13 +00:00
Daniel Juyung Seo b8068daee9 elm els_scroller.c: Always check and delete hold_animator on mouse up.
SVN revision: 63539
2011-09-22 17:40:44 +00:00
Cedric BAIL eae1c81a70 elementary: fix trying to use the best available icon size.
SVN revision: 63537
2011-09-22 13:51:22 +00:00
Daniel Juyung Seo 8009f346e9 elm genlist: Added genlist event hook boundary check routine.
SVN revision: 63536
2011-09-22 12:39:49 +00:00
Tom Hacohen 2c5dc0e2aa Elm entry: Fixed a bug with inserting chunks.
Thanks a lot to WooHyun for finding this.

SVN revision: 63535
2011-09-22 11:31:22 +00:00
Cedric BAIL 0ef09f9e9a elementary: fix typo.
Patch by Guillaume "Kuri" Friloux <guillaume.friloux@asp64.com>.


SVN revision: 63532
2011-09-22 07:00:10 +00:00
Daniel Juyung Seo 787ad89b67 elm map: Coding convention.
SVN revision: 63513
2011-09-21 10:44:06 +00:00
Daniel Juyung Seo 93eed9dd9a elm: Removed trailing whitespaces.
SVN revision: 63512
2011-09-21 10:37:23 +00:00
Kim Yunhan 38fe934526 Elementary map : fix zoom-out bug
From: Kim Yunhan <spbear@gmail.com>

When you test elm_map with mouse wheel, it worked abnormally because of some bug.
So I made some more patch for fixing it.
This patch file also includes a previous patch (zoom-out issue).



SVN revision: 63510
2011-09-21 07:04:34 +00:00
Sangho Park 237c6e0961 Elementary map : a bug fix for zoom-out in elm_map by Kim Yunhan
I wrote a patch that handles a bug while zooming-out in elm_map.
When I try to zoom out, some tiles are broken.
But it is hard to notice because broken frame disappears quickly.

I investigated in a few days.
And I realize that there are something wrong.
When map is zoomed out, a tile is shrunk by evas_object_resize().
But evas_map handles its texture by just its origin image size not a shrunk size.
If evas_object's width & height is shrunk, I have to handle for its texture.


SVN revision: 63509
2011-09-21 06:20:28 +00:00
ChunEon Park 45d161a5fa Elementary/naviframe - doc more.
Since the users have no idea about elm_object_item content/text parts names which are available,
added those part names in doc here. 



SVN revision: 63485
2011-09-20 01:39:35 +00:00
ChunEon Park fd085ab76c Elementary/naviframe - documentation
SVN revision: 63484
2011-09-20 01:22:53 +00:00
ChunEon Park b0fc739ec1 elementary/naviframe - fixed just indentation
SVN revision: 63483
2011-09-20 00:31:44 +00:00
ChunEon Park 362c32d8fe elementary/video - fixed typo
SVN revision: 63476
2011-09-19 10:27:22 +00:00
ChunEon Park 206baf9b05 elementary/elc_naviframe - modified to use a widget API
SVN revision: 63470
2011-09-19 05:24:49 +00:00
ChunEon Park 4dd9ffff22 elementary/naviframe - added one convenient API for users.
pop the items which are in the stack between the top and the upper one of the given item



SVN revision: 63469
2011-09-19 05:23:35 +00:00
WooHyun Jung f077ab0a40 elementary/elm_radio : Added accessibility for elm_radio.
SVN revision: 63468
2011-09-19 05:22:22 +00:00
ChunEon Park 0e7f321153 elementary/widget - added one missing stuff.
SVN revision: 63467
2011-09-19 04:59:43 +00:00
Vincent Torri b40cc78bac fix compilation on Windows
SVN revision: 63458
2011-09-18 17:23:41 +00:00
Vincent Torri 03f38de25a position of Elementary.h
SVN revision: 63457
2011-09-18 17:23:10 +00:00
Tom Hacohen 80b062cf07 Elm gettext: Only translate if the app using elm is translatable.
It assumes gettext is initialized before the call to elm_init.

SVN revision: 63452
2011-09-18 07:53:41 +00:00
ChunEon Park b4c88023c6 elementary/naviframe - removed items in reverse since the items are stacked.
SVN revision: 63439
2011-09-16 12:21:11 +00:00
ChunEon Park bdca77d062 elementary/naviframe - modified naviframe theme for title clicked signal emit.
SVN revision: 63427
2011-09-16 06:17:19 +00:00
ChunEon Park fad15f3456 elementary/naviframe - to be proper name.
SVN revision: 63426
2011-09-16 06:11:36 +00:00
ChunEon Park 00cce5d58b elementary/naviframe - added item signal emit func.
SVN revision: 63425
2011-09-16 02:20:02 +00:00
ChunEon Park a1f1eb1689 elementary/elm_object_item - added signal emit func.
SVN revision: 63424
2011-09-16 02:10:07 +00:00
ChunEon Park a2fcea3f01 elementary/naviframe - renamed internal function names.
SVN revision: 63423
2011-09-16 01:09:48 +00:00
ChunEon Park 22894c09a6 elementary/naviframe - added signal emit hook
SVN revision: 63422
2011-09-16 01:05:15 +00:00
Daniel Juyung Seo 92b18a38f3 elm po: Updated po files.
SVN revision: 63411
2011-09-15 14:39:43 +00:00
Daniel Juyung Seo cfd9324780 elm ko_KR.po: Korean is not an RTL language. How stupid I was...
SVN revision: 63410
2011-09-15 14:39:03 +00:00
Daniel Juyung Seo ed9c9d4718 elm icon: Removed trailing whitespaces.
SVN revision: 63404
2011-09-15 02:20:26 +00:00
Daniel Juyung Seo 45372847f9 elm gengrid: Added page feature to gengrid. Patch by Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu>. Thanks a lot!

On Wed, Aug 31, 2011 at 1:52 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Earlier this month, there was a svn commit
> (http://trac.enlightenment.org/e/changeset/62496) which added a few
> page-related APIs to the elm scroller.  These should probably also be
> added to gengrid, genlist and maybe even grid and list.  Right now,
> though, I need them for gengrid.  So I propose this patch, based
> entirely on the change that went in before.  I've built it and I'm
> using these new gengrid APIs in my code now.

On Fri, Sep 9, 2011 at 4:45 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Slowly but surely....
>
> This version of the gengrid page APIs patch has the following changes:
> 1. fixed spacing issues
> 2. add const where needed
> 3. submitted a gengrid longpressed change in a separate patch
>
> I really want to try to squeak this in the upcoming release if at all
> possible. If I have an extra space in some file, I promise I'll not do
> it again for the next patch!
>
> Thanks!!
> Ben


SVN revision: 63403
2011-09-15 02:16:37 +00:00
ChunEon Park b307418960 elementary/elm_common - fixed typo
SVN revision: 63402
2011-09-15 00:41:12 +00:00
ChunEon Park ceb51e8b87 elementary/naviframe - modified to show the title area shadow.
SVN revision: 63401
2011-09-15 00:15:12 +00:00
Cedric BAIL 68eacadb45 elementary: decorelate fdo from thumbnail resizing.
SVN revision: 63393
2011-09-14 18:28:22 +00:00
cnook c07c9df5e5 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch] elm_diskselector (ticket #853)
Date: Thu, 8 Sep 2011 12:41:27 +0900

Dear All, Hello~

The attached patch for resolving the ticket #853.
(http://trac.enlightenment.org/e/ticket/853)

There is an issue when it comes to rounded item.
Anyhow, I will fix it also.

Sincerely,
Shinwoo Kim


SVN revision: 63386
2011-09-14 14:12:13 +00:00
ChunEon Park a602335d6a Elementary/naviframe - removed blank APIs.
SVN revision: 63385
2011-09-14 12:47:46 +00:00
ChunEon Park a71aae9f9e elementary/naviframe - support default content/text part name
removed shadow var. 
removed unuseful line. 



SVN revision: 63384
2011-09-14 12:37:17 +00:00
Daniel Juyung Seo ee5293278e elm src/examples: Applied elm API changes.
SVN revision: 63382
2011-09-14 11:30:21 +00:00
ChunEon Park 5e3770d0a0 elementary/naviframe - removed white trailings
SVN revision: 63381
2011-09-14 11:21:01 +00:00
ChunEon Park d2c98216bc elementary/naviframe - removed unproper method.
user needs to set their own style. 



SVN revision: 63380
2011-09-14 11:05:54 +00:00
ChunEon Park 8d780ef4b5 elementary/naviframe - merged groups base and title
SVN revision: 63379
2011-09-14 10:56:44 +00:00
Daniel Juyung Seo 8d54a54260 elm button: Added _del_pre_hook to button. This reduces unnecessary calculations
and min setttings.


SVN revision: 63378
2011-09-14 09:53:11 +00:00
ChunEon Park 9a7c9676df elementary/naviframe - just updated signal name.
SVN revision: 63376
2011-09-14 08:15:44 +00:00
ChunEon Park 6be9cea907 elementry/ctxpopup - oopss. fixed ctxpopup according to changes
SVN revision: 63375
2011-09-14 07:50:05 +00:00
ChunEon Park ace784146f elementry/ctxpopup - renamed more properly.
thanks govindaraju sm. 



SVN revision: 63374
2011-09-14 07:48:54 +00:00
ChunEon Park 2b808f9d8c elementary/naviframe - removed FIXME
SVN revision: 63372
2011-09-14 06:50:10 +00:00
ChunEon Park f947175526 elementary/naviframe - filled the content_unset_hook
SVN revision: 63371
2011-09-14 06:49:23 +00:00
ChunEon Park ce0f864c65 elementary/naviframe - modified to support any parts of item content/text but not specified.
SVN revision: 63370
2011-09-14 06:23:08 +00:00
ChunEon Park 9fafcc717b elementary/win - added signal callback call for theme chanaged.
application developers may need to know when theme is changed. 



SVN revision: 63368
2011-09-14 02:09:05 +00:00
Daniel Juyung Seo 95d188941d elm elm_widget.c: Fixed indentation.
SVN revision: 63361
2011-09-13 16:59:25 +00:00
Daniel Juyung Seo 764921e689 elm calendar: Internationalization of calendar title. Patch by Jihoon Kim <imfine98@gmail.com>
On Tue, Sep 13, 2011 at 10:47 PM, Jihoon Kim <imfine98@gmail.com> wrote:
> Hello, EFL developers.
>
> At this moment, the title format of elementary calendar widget is "%B %Y".
> However, it should be displayed as "%Y년 %B" in Korea.
> This patch is implemented for supporting this feature.
>
> Would you please apply this patch?


SVN revision: 63360
2011-09-13 16:58:10 +00:00
ChunEon Park 933097314a elementary/ctxpopup - fixed indent.
SVN revision: 63346
2011-09-12 09:23:38 +00:00
ChunEon Park 7f1e65c3d9 elementary/ctxpopup - minor changes.
used elm_widget_item_del.
and should be hidden when list is empty



SVN revision: 63345
2011-09-12 09:22:36 +00:00
Mike Blumenkrantz f3100ad3c6 don't require "menu/" prefix for menu icons, fall back on regular icon name
SVN revision: 63335
2011-09-12 03:14:53 +00:00
Mike Blumenkrantz c705290b44 make ELM_CHECK_WIDTYPE & co macros useful. would you believe this macro came from my first ever code patch :D
SVN revision: 63334
2011-09-12 02:06:27 +00:00
Mike Blumenkrantz 550156cfdc clicking a toolbar item is now a toggle:
clicking an unselected item -> item is selected
	clicking a selected item -> item is unselected


SVN revision: 63333
2011-09-12 02:05:30 +00:00
Mike Blumenkrantz f73248e766 typos
SVN revision: 63332
2011-09-12 01:56:57 +00:00
Mike Blumenkrantz f0cdbd0da3 all this for elm_theme_data_get
SVN revision: 63331
2011-09-12 01:05:07 +00:00
Daniel Juyung Seo 821ad97778 elm gengrid: Gengrid longpress documentation. Patch by Benjamin Drucker <benjamin.t.drucker@alum.mit.edu>
On Fri, Sep 9, 2011 at 4:18 PM, Benjamin Drucker <benjamin.t.drucker@alum.mit.edu> wrote:
> gengrid already emits "longpressed" signals, but it is not currently
> documented nor demonstrated in the examples.  See the attached patch,
> please.


SVN revision: 63323
2011-09-11 12:24:40 +00:00
Mike Blumenkrantz d2af2558dc greatly improve escape code for cnp escapes, also fixes all cnp escaping bugs
also fix another non-elm cnp crash


SVN revision: 63318
2011-09-10 19:43:46 +00:00
Mike Blumenkrantz 1360b4df3b add elm_object_item_data_get elm_object_item_data_set to wrap corresponding elm_widget_item calls
SVN revision: 63313
2011-09-10 15:54:43 +00:00
Mike Blumenkrantz 263b5a8b2b revert this addition from r62857: breaks elm menus in some cases
SVN revision: 63312
2011-09-10 14:19:25 +00:00
Michael BOUCHAUD 1ea8c466df elementary: oups missing test add
SVN revision: 63307
2011-09-09 12:49:54 +00:00
Michael BOUCHAUD 17748b5a0f elementary: welcome to group in gengrid. Still need some work with reorder...
SVN revision: 63306
2011-09-09 12:43:34 +00:00
Daniel Juyung Seo 783b313aba elm po: Updated po files.
SVN revision: 63292
2011-09-08 10:28:49 +00:00
Daniel Juyung Seo d59325d285 elm test_genlist.c: I introduce "Genlist Textblock" test case into
elementary_test. This will help test textblock with genlist. Enjoy it!


SVN revision: 63291
2011-09-08 10:21:04 +00:00
Aharon Hillel 072c0193f8 Elm Glayer: Updated documentation
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 63290
2011-09-08 10:10:45 +00:00
Tom Hacohen eec24e2394 Elm_glayer: Reset ZOOM, ROTATE to function as before continues.
SVN revision: 63289
2011-09-08 10:10:41 +00:00
Aharon Hillel 1845f63703 Elm glayer: Moved is_mirrored definition and added comment.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 63288
2011-09-08 10:10:38 +00:00
Aharon Hillel 429c050b46 Elm glayer: Added glayer_continues_enable setting to elm-config-file.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 63287
2011-09-08 10:10:34 +00:00
Aharon Hillel cd4e0fe936 Elm glayer: Cleaned elm_gesture_layer.c.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 63286
2011-09-08 10:10:30 +00:00
Aharon Hillel 510b663a4d Elm glayer: Added Continues-gesture-feature of Line, Flick, Zoom, Rotate.
TODO: Clean code (added this version to have easy way of review), and maybe add pref-var of enabling disabline continues gestures

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 63285
2011-09-08 10:10:27 +00:00
Daniel Juyung Seo 299d0f4106 elm diskselector: Fixed elm_diskselector_item_selected_set() hanging bug. Patch by Hyoyoung Chang <hyoyoung.chang@samsung.com>
On Wed, Sep 7, 2011 at 6:51 PM, Hyoyoung Chang <hyoyoung.chang@samsung.com> wrote:
> Dear developers.
>
> This patch is fixing - hangs after using elm_diskselector_item_selected_set.
> Elm_diskselector add a idler and remove in _move_scroller with checking
> wd->idler
> But in elm_diskselector_item_selected_set, it's not use wd->idler.
> So idler is called infinite.
>
> It also registered in ticket ( http://trac.enlightenment.org/e/ticket/854 )
>
> Thank you

On Wed, Sep 7, 2011 at 7:00 PM, Hyoyoung Chang <hyoyoung.chang@samsung.com> wrote:
> I omitted about credit.
> With cnook, I can easily find this bug.
> Thanks to cnook


SVN revision: 63269
2011-09-07 15:02:27 +00:00
WooHyun Jung d20294db8e elementary : Elementary focus can be controlled only when top window's
canvas gets focus. If elementary's focus control is tried with
unfocused canvas, newest_focus_count is only updated.


SVN revision: 63245
2011-09-07 06:15:55 +00:00
WooHyun Jung 52b792ce75 elementary/elm_win : Elementary's focus control should be started
after the canvas gets focus. There can be a case that the canvas doesn't get
focus when elm_win is shown. 


SVN revision: 63240
2011-09-07 01:41:19 +00:00
Cedric BAIL 8cd01e8068 elementary: use sorted state to improve gengrid and genlist.
SVN revision: 63217
2011-09-05 20:31:51 +00:00
Cedric BAIL ba60ba6ebe elementary: fix ordering bug in fileselector.
SVN revision: 63216
2011-09-05 20:30:12 +00:00
Cedric BAIL 71bc2bd8da elementary: forgotten patch that cleanup callback.
SVN revision: 63212
2011-09-05 20:09:02 +00:00
Daniel Juyung Seo 2ec5417dfb elm genlist: Fixed reordering mode bug.
1. Fixed floating item bug while reordering.
2. Fixed moving an item out of range bug while reordering.


SVN revision: 63195
2011-09-05 12:16:36 +00:00
Daniel Juyung Seo b72f454618 elm genlist: Fixed formatting.
SVN revision: 63194
2011-09-05 12:14:20 +00:00
Carsten Haitzler 9d5ecb4a98 fix COPYING to say 2011.
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Daniel Juyung Seo 34e96893eb elm Elementary.h.in: Fixed typo.
SVN revision: 63149
2011-09-04 04:28:02 +00:00
Rui Seabra 0d3d91c384 Adjust spec to existing modules.
SVN revision: 63130
2011-09-03 17:57:36 +00:00
Nicolas Aguirre 4e4775a9f0 Elementary: fix typo
SVN revision: 63114
2011-09-03 09:42:37 +00:00
Sanjeev BA a70a14fda4 From: Sanjeev BA <as2902.b@samsung.com>
Subject: [E-devel] [PATCH] Add new API elm_diskfileselector_item_num_get()

Kindly review and provide your comments on this patch, that adds new API 
elm_diskfileselector_item_num_get().

Add elm_diskselector_display_item_num_get() API.
Added required documentation in docx and Elementary.h.in files.
Updated test programs to print number of items set - as a verification.
Make input param as const. Thanks SeoZ.



SVN revision: 63107
2011-09-03 05:13:25 +00:00
Nicolas Aguirre 5c82959127 Elementary: 16px is a common value for icons size.
SVN revision: 63091
2011-09-02 16:19:22 +00:00
Daniel Juyung Seo 8d9360dea6 elm scroller: Added 'const' to the first Evas_Object parameter of
getters.


SVN revision: 63085
2011-09-02 04:53:48 +00:00
Daniel Juyung Seo c11701e85a elm els_scroller.c: Fixed formatting.
Fixed indentation. Fixed spacing.


SVN revision: 63084
2011-09-02 04:52:18 +00:00
Daniel Juyung Seo a817b43d33 elm: Removed all trailing whitespaces.
Why they are added even I'm removing them arbitrarily.


SVN revision: 63083
2011-09-02 04:09:17 +00:00
Nicolas Aguirre a644a29aee elementary: Privide a new api to elm_photo : elm_photo_thumb_set.
It works like elm_icon_thumb_set : it generates the thumb of the file passed as argument.


SVN revision: 63063
2011-09-01 19:14:32 +00:00
ChunEon Park 068b50962c elementary/ctxpopup - trivial changes.
SVN revision: 63036
2011-08-31 15:33:54 +00:00
Tom Hacohen 76d6b9d1f8 Elm entry: Reparent the smart scroller correctly.
SVN revision: 63023
2011-08-31 10:51:04 +00:00
Daniel Juyung Seo d1225c2382 elm Elementary.h.in: Removed duplicated callback description.
SVN revision: 63016
2011-08-31 08:34:43 +00:00
Tom Hacohen e40ca43d68 Elm default theme: Fix segment control's theme.
It was very hackish/broken and it broke when gustavo fixed some stuff in
edje. I merged all the different padding items to one padding frame,
and corrected some of the things that were wrong, and tada, now everything
works.

SVN revision: 62983
2011-08-30 11:05:04 +00:00
Daniel Juyung Seo 9e23119e41 elm: Refactoring. Modified elm_{widget}_scroller_policy_set() API.
SVN revision: 62957
2011-08-29 16:30:14 +00:00
Daniel Juyung Seo 12f074553c elm list: Fixed elm_list_scroller_policy_set(). Closed ticket #842.
SVN revision: 62956
2011-08-29 16:13:35 +00:00