Commit Graph

943 Commits

Author SHA1 Message Date
Daniel Juyung Seo 2bb2b1f0ee elm gen/gengrid/genlist: Changed item class's icon_get to content_get.
Do not limit the swallowed objects to icon. This had to be done before
elm 1.0 and now it's time to break. This will break all applications
which are using gengrid/genlist. Please fix it icon_get -> content_get.

TODO
1. fix theme as well.
2. fix documents.


SVN revision: 64344
2011-10-24 02:10:35 +00:00
Mike Blumenkrantz 81fb2abd7e deprecate all genlist/gengrid functions related to 64281
SVN revision: 64282
2011-10-22 00:26:21 +00:00
Mike Blumenkrantz b148562870 deprecate elm_genlist_item_selected_set and elm_gengrid_item_selected_set: use elm_gen_item_selected_set instead
SVN revision: 64277
2011-10-21 23:10:56 +00:00
Mike Blumenkrantz 82cfec36d5 deprecate elm_genlist_clear and elm_gengrid_clear: use elm_gen_clear instead
SVN revision: 64276
2011-10-21 23:05:02 +00:00
Iván Briano 4b911014e5 Webkit changed API, we should dress accordingly.
SVN revision: 64267
2011-10-21 20:56:09 +00:00
Mike Blumenkrantz 0766bdaf33 shut up compile warning
SVN revision: 64243
2011-10-21 07:25:02 +00:00
Mike Blumenkrantz 82cf8ef9ff add delete button to gengrid test 2
SVN revision: 64229
2011-10-21 04:04:03 +00:00
Mike Blumenkrantz 6026896d03 remove mode_item_style from item class, use genlist_mode_item_style_set() instead
SVN revision: 64228
2011-10-21 03:31:26 +00:00
Mike Blumenkrantz e35721c1ba fix compile with latest changes
SVN revision: 64224
2011-10-21 02:43:08 +00:00
Mike Blumenkrantz 5c081c834d whitespace--
SVN revision: 64216
2011-10-21 00:24:15 +00:00
Mike Blumenkrantz 82df90462a remove all use of elm_toggle_ api
SVN revision: 64207
2011-10-20 21:27:15 +00:00
Carsten Haitzler 6d77357cec make elm config all stored in blobs ion properties (as well as disk)
only not multiple properties and fix up elm config tool so it works
well with the better scheme. all internal changes so nothing app-wise
is affected except for also exposing an event to tell you config was
changed



SVN revision: 64178
2011-10-19 12:46:56 +00:00
Tom Hacohen 571b9c8277 Elm glayer: Fixed leaks in glayer's test code.
SVN revision: 64142
2011-10-18 08:58:41 +00:00
Sanjeev BA e2f3ddea3a Use toggle instead of button. It is appropriate for this example.
SVN revision: 64067
2011-10-14 06:51:59 +00:00
ChunEon Park d8f6df66bc elementary/ctxpopup - more proper function name
SVN revision: 64065
2011-10-14 06:12:04 +00:00
ChunEon Park e964c7e252 elementary/ctxpopup - added lines to remove ctxpopup
SVN revision: 64064
2011-10-14 06:05:44 +00:00
Jaehwan Kim 2fd30a5890 From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] ELM_THUMBSCROLL_SENSITIVITY_FRICTION

I talked with you about 4.0, magic number.
I want to change the part that the length of mouse dragging multiply 4.0
to _elm_config->thumbscroll_sensitivity_friction.
4.0 is nice. But some device may want to change the value. It is a kind
of sensitivity. So I added the config "ELM_THUMBSCROLL_SENESITIVITY
_FRICTION". And I change the value mean. If the value is high, it is
more sensitive. The range of the value is from 0.1 to 1.0. It cannot be 0.0.
4.0 changed to 0.25. 
Please check this patch.



SVN revision: 64051
2011-10-13 12:07:39 +00:00
Iván Briano 89e4e9f411 The Force is weak on me.
Crappy zoom and region_show code. If anyone wants to fix it before I get
back to it, discomfitor will buy you a beer.
It's intended to mimic as much as possible photocam's zoom api, but webkit
doesn't always help with that.


SVN revision: 63936
2011-10-09 22:10:45 +00:00
Mike McCormack 3c084f09c4 elementary: Reorder file list slightly
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63899
2011-10-07 05:55:56 +00:00
Gustavo Sverzut Barbieri aeded1ffdb elementary_config now knows about EWS, requested by kakaroto.
SVN revision: 63859
2011-10-06 00:03:04 +00:00
Mike Blumenkrantz 2f3ec838ef yeah, using vague numbers instead of clearly named enum values! best choice!
no wait...that's the OPPOSITE of the best choice.


SVN revision: 63706
2011-09-30 03:44:46 +00:00
Iván Briano 28a4120b65 Some day I will learn to rebase without fucking up
SVN revision: 63687
2011-09-29 21:45:27 +00:00
Iván Briano 1107e0e543 People from Earth: Welcome Elm_Web
Started by glima as a thin wrapper around ewk_view to make webkit
work better integrated with Elementary, then grew up as a more complete
widget thanks to k-s' magic fingers, and now I screwed it up but it looks
like it works, so there..

Build WebKit-EFL, rebuild Elementary and enjoy elm_web.


SVN revision: 63676
2011-09-29 20:58:22 +00:00
ChunEon Park 6be9cea907 elementry/ctxpopup - oopss. fixed ctxpopup according to changes
SVN revision: 63375
2011-09-14 07:50:05 +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 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
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
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
Carsten Haitzler c739e60ab0 working on factory - fix fixme in box while i'm at it.
SVN revision: 62946
2011-08-29 12:52:41 +00:00
Daniel Juyung Seo 925715983a elm test.c: Removed wrong warnings. Fixed indentation and removed
trailing whitespaces.


SVN revision: 62929
2011-08-29 04:00:17 +00:00
ChunEon Park 35a7d0f544 elementry/ctxpopup - updated test code for checking elm_ctxpopup_direction_get API.
SVN revision: 62906
2011-08-28 07:13:04 +00:00
Vincent Torri a1e841fcac change the way elm_main() must be declared (fix bug on Windows).
Instead of EAPI elm_main(***), it must be EAPI_MAIN elm_main(***) so that
it also work on Windows.

If someone knows sed a bit, can he also change all the examples ?



SVN revision: 62885
2011-08-27 07:54:49 +00:00
Carsten Haitzler 7704b55936 and improve factory massively.. no more "hangs" while scrolling massiv
massive massive lists of buttons.



SVN revision: 62857
2011-08-26 12:27:57 +00:00
Carsten Haitzler 56462217ad dont create main test win at all if test win only mode.
SVN revision: 62851
2011-08-26 07:40:51 +00:00
Carsten Haitzler 7e6305542d dont make index active - oops. debugging.
SVN revision: 62819
2011-08-25 14:06:27 +00:00
Carsten Haitzler 2283962009 make note of horizontal hoversel
SVN revision: 62802
2011-08-25 10:42:42 +00:00
Carsten Haitzler 62b4440c3c if you activate index without it being clicked, the indicator bit is
visible but empty - dont show this until someone actually clicks.



SVN revision: 62799
2011-08-25 10:20:47 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
Daniel Juyung Seo 9ab7800bdf elm test_button.c: Use elm_object_xxx API in application side.
SVN revision: 62720
2011-08-23 12:45:12 +00:00
Carsten Haitzler f950dd6e19 1. adjust voice to be slower and more clear
2. show how to set custom access text on a widget.



SVN revision: 62716
2011-08-23 09:11:33 +00:00
ChunEon Park 134a0dd77a elementary/ctxpopup - updated to use elm_object_item
SVN revision: 62429
2011-08-14 03:36:56 +00:00
Daniel Juyung Seo 8923cd63ed elm icon_animated: Refactoring.
1. Enhance the document.
2. Call elm_icon_animated_xxx() when the icon supports animation.
3. Anyway, animated icon doesn't work on my machine :(
   I got this error when I ran it.
   >> sh: evas_image_loader.gif: not found


SVN revision: 62426
2011-08-13 16:56:11 +00:00
Daniel Juyung Seo 479b4773e1 elm: Refactoring before I commit another patch.
1. Fixed indentation.
2. Removed trailing whitespaces.
3. Removed unnecessary blank lines.


SVN revision: 62424
2011-08-13 16:36:44 +00:00
Iván Briano 2a2b0f7102 It sort of looks as if some crazy korean didn't test what he was committing.
SVN revision: 62417
2011-08-12 23:15:11 +00:00
Daniel Juyung Seo 01a69df2da elm test.c: Enhance the document.
SVN revision: 62406
2011-08-12 18:00:29 +00:00
Daniel Juyung Seo a423aacc07 elm: Refactoring. Use EINA_TRUE instead of 1 for Eina_Bool type parameter.
SVN revision: 62394
2011-08-12 15:26:58 +00:00
Jiyoun Park 2605c2c0d8 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: RE: [E-devel] [Patch] Animation gif feature patch

animated image support in elm icon - from jy.



SVN revision: 62332
2011-08-11 06:05:05 +00:00
Daniel Juyung Seo b8e186dcad elm: Refactoring. Removed trailing whitespaces and fixed indentation.
SVN revision: 62281
2011-08-10 04:35:31 +00:00
Daniel Juyung Seo 9f37ae411a elm test_photo.c: Fixed indentations. Applied coding conventions.
SVN revision: 62226
2011-08-09 06:43:09 +00:00
Mike Blumenkrantz cf033a8c7a more useless elm stuff: vertical toolbar orientation (by cedric's request) along with toolbar test 6 as a demo. still pretty buggy but I'm tired and don't know when/if I'll get around to fixing it up. play with the toolbar weight in the test to find more bugs!
SVN revision: 62171
2011-08-07 03:42:28 +00:00
Carsten Haitzler 95dc824db0 ok demo is a bit better now. less ambitious. only 33million buttons.
but it scrolls fine now. using homogenous boxen now in groups of 32 (5
levels of 32 - ie 32 ^ 5 == 33mil or so)



SVN revision: 62132
2011-08-05 12:25:43 +00:00
Carsten Haitzler 43f8bd98fe factory.... working on it. but up and kicking. it's a little unhappy
with the 102 million buttons i have in the scroller right now...  when
you scroll along, but... i'll work at it to make it work better.



SVN revision: 62130
2011-08-05 11:15:03 +00:00
WooHyun Jung 85351c10c5 elementary : Focus movement is possible with arrow keys. You can check
this feature in elementary_test -> focus. 


SVN revision: 62125
2011-08-05 08:25:07 +00:00
Carsten Haitzler f44b26b3e1 we dont need no steenkine genscroller... i had an ephipany! we need
something entirely different...



SVN revision: 62123
2011-08-05 05:59:53 +00:00
ChunEon Park 2b4f061b56 elementary/elm_naviframe - modified to use elm_object_item common_apis
SVN revision: 62097
2011-08-04 16:37:36 +00:00
ChunEon Park 067e8f4ad9 elementary/naviframe - is updating according to elm_object_item.
SVN revision: 62083
2011-08-04 08:17:30 +00:00
Daniel Juyung Seo 4d7cb59930 elm src/bin: Applied elm_object_focus API change. Changed it to elm_object_focus_set.
SVN revision: 62062
2011-08-03 15:01:39 +00:00
ChunEon Park 49fcf833f8 elementary/ctxpopup - modified to use elm_object_content_set
SVN revision: 62046
2011-08-03 09:32:15 +00:00
Mike Blumenkrantz 5e641dfc47 change one of the tooltip tests to exhibit a pretty hilarious tooltip-related label bug
SVN revision: 61930
2011-08-01 00:49:46 +00:00
Mike Blumenkrantz 7512d98de6 set transparent style for tooltip tests
SVN revision: 61790
2011-07-27 06:41:56 +00:00
Iván Briano 7f82a14061 And if we found Emap and it wasn't disabled, we may as well not break the build.
SVN revision: 61780
2011-07-26 21:36:14 +00:00
Cedric BAIL 618317e0c1 elementary: fix compilation of shader with OpenGL.
SVN revision: 61765
2011-07-26 16:37:41 +00:00
Mike Blumenkrantz 26ccd20393 new tooltip test for seriously large images
SVN revision: 61740
2011-07-26 10:28:01 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Mike Blumenkrantz 2139708729 radio buttons: GET IN MAH MENUS!!!!
added elm_menu_item_add_object which allows a user to directly add an arbitrary evas_object to be swallowed as a menu item, added radio item as test


SVN revision: 61717
2011-07-26 01:17:09 +00:00
Daniel Juyung Seo d473e343eb elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of elm_win_autodel_set() API.
SVN revision: 61695
2011-07-25 14:22:19 +00:00
Daniel Juyung Seo 804a13f2dd elm: Refactoring. Removed trailing whitespaces.
SVN revision: 61673
2011-07-25 08:48:47 +00:00
Mike Blumenkrantz 105c0bc038 added another test for "big" tooltips, showcases obvious bug where tooltip is cut off when it is larger than the window's canvas
SVN revision: 61617
2011-07-23 18:24:12 +00:00
Daniel Juyung Seo 9261f2d761 elm test_table.c: Fixed wrong sample.
SVN revision: 61588
2011-07-22 12:31:46 +00:00
Daniel Juyung Seo 8501a5174e elm glview: Changed Elm_GLView_Func callback function typedef to
Elm_GLView_Func_Cb according to EFL coding convention.


SVN revision: 61587
2011-07-22 11:31:06 +00:00
Daniel Juyung Seo 05d557d9c3 elm config: Fixed 'may be used uninitialized' warning.
SVN revision: 61470
2011-07-18 08:05:49 +00:00
Mike Blumenkrantz 2fa326e6a4 more elm_config features! theme list will now autoselect your current theme(s) on load. it might even select them correctly!
overlay themes sometimes don't get applied to the sample for some reason, but they will still be applied when 'use theme' is clicked


SVN revision: 61466
2011-07-18 06:51:45 +00:00
Mike Blumenkrantz f63260d300 elm_config gains a new feature: multitheme selection! themes are added in the order of selection, so to use an overlay for a theme you would select the "base" theme first, then the "overlay" part. then just click use theme and zooooooooooooooooooon
SVN revision: 61426
2011-07-16 14:45:41 +00:00
ChunEon Park 5d0a7c26d9 elementary/naviframe - removed white spaces.
SVN revision: 61316
2011-07-13 05:15:35 +00:00
ChunEon Park 696b5aa58d elementary/naviframe - added new widget.
This widget is for application's view manager such as elm_pager
But has optional functions more for users convenience. 
Not completed yet for decorations. but basic frame is completed. 

Need to have a review. 



SVN revision: 61313
2011-07-13 04:21:50 +00:00
ChunEon Park bc1a70bfb0 elementary/test_gesture_layer - oops. ciritical misktake. :p
elm_animator -> elm_transit 



SVN revision: 61312
2011-07-13 01:41:56 +00:00
ChunEon Park 323426187f elementray/test_gesture_layer - trivial changes.
SVN revision: 61311
2011-07-13 01:39:43 +00:00
ChunEon Park 2234af4d64 elementary/test_gesture_layer - modified to use elm_transit.
but need to check it works fine. 



SVN revision: 61310
2011-07-13 01:35:10 +00:00
Tom Hacohen 49b65bfc62 Elm test: Added a --test-win-only to not show the main list window.
This is a nice workaround if you want to use the shot module to take
pictures of the various tests, since the shot module doesn't behave nicely
with multiple windows atm.

SVN revision: 61246
2011-07-11 14:46:16 +00:00
Mike McCormack 252c052ea7 elementary: elementary_config.h is a local include
Using #include <elementary_config.h> will fail if
elementary has never been installed.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61220
2011-07-11 01:22:19 +00:00
Tom Hacohen 8d20563055 Elm gesture layer: Added a test for the gesture layer widget.
SVN revision: 61119
2011-07-07 14:41:10 +00:00
Daniel Juyung Seo 00775ed687 elm/bin/Makefile.am: Reorder sequence.
SVN revision: 61032
2011-07-05 07:26:12 +00:00
Tom Hacohen 3fa8a29dac Elm anchorblock: Fix code to use the new elm_object_text_set/get API
SVN revision: 61000
2011-07-04 10:40:10 +00:00
Tom Hacohen 23a544282f Elm anchorview: Fix code to use the new elm_object_text_set/get API
SVN revision: 60998
2011-07-04 10:40:02 +00:00
Tom Hacohen bafb5ce6b8 Elm bubble: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60996
2011-07-04 10:14:14 +00:00
Tom Hacohen 3ee5d802ab Elm fileselector_btn_ent: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60994
2011-07-04 10:14:08 +00:00
Tom Hacohen b071be2cd2 Elm fileselector_btn: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60992
2011-07-04 10:14:02 +00:00
Tom Hacohen c344fb3ed4 Elm progress: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60990
2011-07-04 10:13:56 +00:00
Tom Hacohen 6979f9bfae Elm radio: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60987
2011-07-04 10:13:46 +00:00
Tom Hacohen 4b0af66c91 Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
This name is better as it also applies for entries, and not just
for labels.

SVN revision: 60975
2011-07-04 09:18:16 +00:00
Tom Hacohen ed34980b5e Elm Check: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60974
2011-07-04 09:18:13 +00:00
Tom Hacohen 23b351cf5a Elm actionslider: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60972
2011-07-04 09:18:07 +00:00
Daniel Juyung Seo 3a0636d1f1 elm: Removed trailing whitespaces.
SVN revision: 60952
2011-07-03 07:49:02 +00:00
Daniel Juyung Seo ccca5ade98 elm/src/bin Makefile.am: Removed trailing whitespaces.
SVN revision: 60951
2011-07-03 07:46:55 +00:00
Tom Hacohen 9397a166b0 Elm slider: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60863
2011-06-30 05:58:32 +00:00
Tom Hacohen 2bf521e3b6 Elm hoversel: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60861
2011-06-30 05:43:59 +00:00
Tom Hacohen 845c02bf62 Elm layout: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60808
2011-06-29 09:30:58 +00:00
Tom Hacohen 8df2bb821d Elm frame: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60806
2011-06-29 09:11:48 +00:00
Tom Hacohen f0b79d1347 Elm toggle: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60803
2011-06-29 08:57:43 +00:00
Tom Hacohen 36be2846c9 Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
2011-06-29 07:11:54 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Daniel Juyung Seo a4705d7d9d elm test_map: Fixed 'unused parameter' warnings.
SVN revision: 60746
2011-06-28 07:02:37 +00:00
Jonathan Atton d47854c49f elm: add elm_route: widget to display a route on elm_map. Currently the widget use lines, in the futur it will use edje
SVN revision: 60703
2011-06-26 17:36:18 +00:00
Cedric BAIL 452e2d379f elementary: use Eio when available for fileselector.
SVN revision: 60692
2011-06-25 23:39:43 +00:00
Jonathan Atton 4717eea85d elm: do not include config.h
SVN revision: 60687
2011-06-25 17:48:55 +00:00
Jonathan Atton 6b88bee7e5 elm_map: use emap
SVN revision: 60684
2011-06-25 14:30:10 +00:00
Carsten Haitzler c1e12182b8 genscroller++. just stubs right now.
SVN revision: 60625
2011-06-23 08:52:51 +00:00
ChunEon Park 2b172f87be elementary/diskselector - fixed typos (lenght -> length)
SVN revision: 60570
2011-06-22 05:30:49 +00:00
Carsten Haitzler be21f7e4ea Upon reviewing the elm_glview, I've realized a few issues and mistakes that i've
made originally so I've made some changes/ updates to elm_glview

1.)  GL Resource Deletion in ELM_GLView

In order to delete GL resources, the current approach simply registered a
delete callback to the GLView object and handled resource deletion there.
Unfortunately, using the delete callback did not guarantee the glview context to be
current.  In order to guarantee that the current context was the glview context,
the make_current call needs to be called explicitly.  Since we were hiding all the
make current details in elm_glview, i've decided to add an API that registers a
delete callback function. I know that this may seem redundant since there is already
a delete callback that you can register with glview objects. Unfortunately, this is the
only option that we have apart from exposing make_current, which is something that
went again what we are trying to do with elm_glview.

Since adding delete callback alone seemed a little out of place, i've taken the liberty
to add other callback functions to make it seem consistent.

void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func func);
void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func func);
void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func func);

resize callback can be controversial as well but I want to argue that adding this callback
makes the render function a lot cleaner.  To handle resize differently, the user in
render function needs to manually compare and see if the size has changed, and
then handle the cases.  Doing all of this internally once makes the developers life
a lot easier in my opinion.

these callback functions do make the render function a lot cleaner. You can check
out the updated test_glview.c or newly added test_glview_simple.

2.) Minor bug fixes/changes

elm_glview_scale_policy_set() was supposed to be elm_glview_resize_policy_set()
but it somehow evaded our reviews.  That has been fixed.

Also, in _glview_resize, after updating the surface, it was explicitly calling the
render function.  It is actually unnecessary here and calling it here will cause
problems if resize gets called before everything else is setup properly.  So that has
been commented out.

3.) test_glview & test_glview_simple

elementary_test case for glview has been updated to reflect the api changes.
when you run the elmentary_test, you need to make sure that you set
ELM_ENGINE=gl as glview currently only runs on gl backend.

test_glview runs the gears example.  For testing purposes I've included a simple
glview test case that renders a triangle and changing background color.

             


SVN revision: 60517
2011-06-20 10:55:02 +00:00
Vincent Torri 41566eda22 Elementary : use binary mode for fopen()
SVN revision: 60462
2011-06-17 21:41:17 +00:00
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
Carsten Haitzler 4d150c4644 warn--
SVN revision: 60432
2011-06-17 09:06:09 +00:00
Carsten Haitzler ad5dff0d1d quick 3d test for people to know what the perspective and rotate
params do



SVN revision: 60424
2011-06-17 06:58:35 +00:00
Carsten Haitzler 1269305a80 put 2 items in same cell or make them overlap test]
SVN revision: 60339
2011-06-15 10:07:59 +00:00
Daniel Juyung Seo 4cc3d06442 elm genlist: Fixed indentation.
SVN revision: 60323
2011-06-15 04:58:14 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Boris Faure cb70c3fe3d remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler af679f1cc7 hmm conflict not merged right. fix.
SVN revision: 60177
2011-06-10 07:08:34 +00:00
Carsten Haitzler 1e9bdf652b box may be deleted when win is deleted - so dont assume box is around.
SVN revision: 60176
2011-06-10 06:46:04 +00:00
Carsten Haitzler 1e062e2b30 use width for height mode in genlist 4
SVN revision: 60175
2011-06-10 06:18:56 +00:00
Mike McCormack 88b6d94a8e elementary_test: Avoid a double free in box transition
*** glibc detected *** elementary_test: double free or corruption (fasttop): 0x096aa5d0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xd08591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xd09de8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xd0cecd]
/usr/local/lib/libevas.so.1(evas_object_smart_callback_call+0x146)[0x37d4f6]
/usr/local/lib/libelementary-ver-pre-svn-09.so.0(+0xcf984)[0x287984]
/usr/local/lib/libecore_evas.so.1(+0x11457)[0x612457]
/usr/local/lib/libecore.so.1(_ecore_event_call+0x389)[0xe93399]
/usr/local/lib/libecore.so.1(+0xca05)[0xe97a05]

my prefix: /usr/local
elm test data in /usr/local/share/elementary
==18230== Invalid read of size 4
==18230==    at 0x80582D6: _win_del (test_box.c:203)
==18230==    by 0x42684F5: evas_object_smart_callback_call (evas_object_smart.c:409)
==18230==    by 0x4112983: _elm_win_delete_request (elm_win.c:624)
==18230==    by 0x4338456: _ecore_evas_x_event_window_delete_request (ecore_evas_x.c:1065)
==18230==    by 0x4307398: _ecore_event_call (ecore_events.c:641)
==18230==    by 0x430BA04: _ecore_main_gsource_dispatch (ecore_main.c:553)

SVN revision: 60174
2011-06-10 06:03:52 +00:00
Carsten Haitzler b01978ac93 forgot to make window of smoothing configurable. fix minor macro
oopsie too.



SVN revision: 60165
2011-06-10 05:07:21 +00:00
Daniel Juyung Seo 7adc76b94e Elm config.c: Fixed thumb scroll option.
SVN revision: 60154
2011-06-10 02:19:36 +00:00
Daniel Juyung Seo 5f1d8a6201 Elementary test_genlist.c: Added evas_object_event_propagate_set() for check object. And changed parameter 0 to EINA_FALSE for Eina_Bool type.
SVN revision: 60093
2011-06-08 16:58:08 +00:00
Carsten Haitzler be54fd5b8e improve layout of font cfg pane in elm config
SVN revision: 60021
2011-06-07 05:35:23 +00:00
Daniel Juyung Seo 6206f5f4a4 Elementary genlist: Code refactoring.
SVN revision: 59942
2011-06-04 01:52:08 +00:00
Daniel Juyung Seo 91bc4fa79f Elementary test_glview.c: Fixed formatting.
SVN revision: 59922
2011-06-03 18:31:12 +00:00
Daniel Juyung Seo 8e91672a42 Elementary: Removed trailing whitespaces.
Keep removing trailing whitespaces :)


SVN revision: 59919
2011-06-03 17:44:24 +00:00
Daniel Juyung Seo c5a6a93ae9 Elementary: Changed build order to alphabetical order.
SVN revision: 59918
2011-06-03 17:43:04 +00:00
Sung W. Park 7e01afebe7 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: Re: [E-devel] [RFC] ELM GLView

Elementary GLview wiedget giving simplified access to do opengl
drawing in a widget in elm so you pretty much do no work to set it up
and just provide a render function to draw the contents when it needs
drawing. Thanks to Sungwoo Park and Samsung



SVN revision: 59909
2011-06-03 07:09:25 +00:00
Jeonghyun Yun 732f99f2b7 From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel] [Patch] elm_gengrid - added new feature : gengrid
reorder mode

I added a new feature "reorder mode" of gengrid refer to genlist
reorder mode.

After set this reorder API, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reordered in gengrid.



SVN revision: 59892
2011-06-02 07:09:17 +00:00
Carsten Haitzler a02679b95f dont need to show actuallyu returning objects - genlist will do that
for u when it gets them.



SVN revision: 59891
2011-06-02 07:07:22 +00:00
Carsten Haitzler 22b5529635 fix elm config - table layout fixes in evas broke usage in elm.
SVN revision: 59889
2011-06-02 06:15:51 +00:00
Daniel Juyung Seo 205abde67d Elementary genlist: Fixed genlist reorder.
1. Added reorder APIs to Elementary.h.in header.
2. Fixed wrong declaration of moved callback.
3. Fixed warnings.

And I think 'moved' function needs to be changed to smartcallback.
This is not related to item class structure.


SVN revision: 59885
2011-06-02 04:41:04 +00:00
Daniel Juyung Seo 665b5f07c6 Elementary: Fixed trailing whitespaces.
It looks like flip is not changed frequently now. I will check
whitespace and indentation from time to time. If this is not good,
please check codes before commit. Thanks.


SVN revision: 59884
2011-06-02 04:24:58 +00:00
Seunggyun Kim 265c83e5a5 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist - added new feature : genlist
reorder mode


I introduce a new feature "reorder mode" of genlist.
Using this feature, user can reoder genlist items dynamically.

[API]
==================================================================
- EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
Get the rename mode state of an item. This gets the rename mode state
of an item

- EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)
Set genlist reorder mode. This enables the item is moved to another
item.
==================================================================

After set this reorder api, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reodered in genlist.
When the user releases the holding item, Elm_Genlist_Item_Class.func.moved
callback is also called. 
If needed, the application can add some logic in that callback function.



SVN revision: 59883
2011-06-02 03:10:11 +00:00
Cedric BAIL e20bf4eba5 elementary: add elm_icon_thumb_set.
NOTE: it will only display thumbnail if you requested ethumb in your app.
See fileselector example for more information.


SVN revision: 59848
2011-05-31 16:16:01 +00:00
Vincent Torri 7484430229 link elementary_testql lib against eio when needed
SVN revision: 59832
2011-05-31 06:16:12 +00:00
Carsten Haitzler 284ee2b43b fix disk selector to handle intl trext properly. was bad to begin with.
SVN revision: 59831
2011-05-31 05:24:58 +00:00
Daniel Juyung Seo 9d24a639c6 Elementary test_transit.c: Fixed warnings.
SVN revision: 59795
2011-05-30 02:11:21 +00:00
ChunEon Park f7a9123e4c elementary/transit - added one more sample
SVN revision: 59764
2011-05-28 03:39:14 +00:00
Michael BOUCHAUD 6fb74e4853 elementary: fix more warning
SVN revision: 59735
2011-05-27 14:30:36 +00:00
Carsten Haitzler 57fbce9787 lets warning-- shall we?
SVN revision: 59731
2011-05-27 10:44:21 +00:00
ChunEon Park 9141279b52 elementary / transit - updated sample code
SVN revision: 59719
2011-05-27 02:00:46 +00:00
Sangho Park 92060c1ed5 Elementary map: add APIs for setting min,max zoom level
SVN revision: 59704
2011-05-26 12:40:29 +00:00
Carsten Haitzler b11b798344 dont set padding of 1000 pls. :)
SVN revision: 59700
2011-05-26 09:27:30 +00:00
Carsten Haitzler 322b55133d elm box -> use padding!
SVN revision: 59699
2011-05-26 09:22:43 +00:00
Carsten Haitzler 9e20ab8925 add last test case - lots of rows/cols
SVN revision: 59697
2011-05-26 08:49:57 +00:00
Carsten Haitzler ea4ac075fb add test4 for table
SVN revision: 59696
2011-05-26 08:45:20 +00:00
Daniel Juyung Seo 9005f95c62 Elementary: Removed trailing whitespaces except for some files that
raster is heavily working on recently.


SVN revision: 59683
2011-05-26 00:39:12 +00:00
Michael BOUCHAUD bff85e95bd elementary: add eio test with a genlist
SVN revision: 59675
2011-05-25 19:08:38 +00:00
Carsten Haitzler 66b0ee3cd3 add table test case.
SVN revision: 59664
2011-05-25 11:44:10 +00:00
Carsten Haitzler 9bd346b9c6 and... flip now does interactive flipping.. AND page curl flips...
woooo!



SVN revision: 59662
2011-05-25 10:20:49 +00:00
Carsten Haitzler aed4148c70 flip now supports the beginnings of interactive mode. - drag to flip
it in a direction.



SVN revision: 59660
2011-05-25 06:06:48 +00:00
Carsten Haitzler bf18aa110e fix page to properly show front and back objects.
SVN revision: 59649
2011-05-24 11:11:10 +00:00
Carsten Haitzler db4dae275e fix odd # of slices in x and y axis
SVN revision: 59639
2011-05-24 07:49:11 +00:00
Carsten Haitzler 91561e60a6 and avoid the gl engine perspective stuff
SVN revision: 59636
2011-05-24 05:58:44 +00:00
Carsten Haitzler 0ec1786593 and reduce the amount of calculating we do. we did way too much.
SVN revision: 59635
2011-05-24 05:27:11 +00:00
Carsten Haitzler bca08faf1b dont re-create proxy objects for map if we can avoid it.
SVN revision: 59629
2011-05-23 16:02:37 +00:00
Carsten Haitzler d5fc7633fb fix out of bounds check.
SVN revision: 59628
2011-05-23 13:12:35 +00:00
Carsten Haitzler 65c5ee4e18 and now it animates the "snap to position" either continuing the turn,
or snaps back to its orig posn.



SVN revision: 59623
2011-05-23 12:22:59 +00:00
Carsten Haitzler 228003ed04 and allow flipping in 4 directions! woots!
SVN revision: 59621
2011-05-23 11:22:41 +00:00
Boris Faure 954dc1d645 elementary: make test flipselector more natural
SVN revision: 59617
2011-05-23 10:03:13 +00:00
Carsten Haitzler 8791c3a409 and flip now does shading nicely. rather hacky, but works well.
SVN revision: 59606
2011-05-23 04:28:33 +00:00
Carsten Haitzler 6180b94884 start on light src shading
SVN revision: 59574
2011-05-22 05:28:33 +00:00
Carsten Haitzler 4b708d9155 improve flip some more.
SVN revision: 59573
2011-05-22 04:02:17 +00:00
Carsten Haitzler cf6d98a064 much better flip
SVN revision: 59572
2011-05-22 02:24:54 +00:00
Daniel Juyung Seo 1822602e24 Elementary test_flip_page.c: Removed trailing whitespaces. Spank raster!
SVN revision: 59571
2011-05-22 02:16:01 +00:00
Sangho Park 0203bfdb0e Elementary Map: --warns (-Wshadow)
SVN revision: 59562
2011-05-21 08:59:19 +00:00
Carsten Haitzler 3c83656d70 move test code further down out of the way.
SVN revision: 59558
2011-05-21 01:38:51 +00:00
Carsten Haitzler 16ecf697ff clean up flip code a bit. working on an eventual clean bit of code +
algorithm.



SVN revision: 59557
2011-05-21 01:38:02 +00:00
Sangho Park 1a547f902f Elementary map: split route & track (watchwolf's suggestion)
SVN revision: 59548
2011-05-20 05:55:15 +00:00
Daniel Juyung Seo 694d5bff78 Elementary test_flip_page.c: Fixed warnings.
SVN revision: 59545
2011-05-20 00:46:09 +00:00
Daniel Juyung Seo c94f5ac6a6 Elementary: Removed trailing whitespaces.
/me spanks raster. Raster has begun to like whitespaces recently.


SVN revision: 59544
2011-05-20 00:43:05 +00:00
Carsten Haitzler 79470ac11f and make sure smooht is off!
SVN revision: 59538
2011-05-19 13:07:50 +00:00
Carsten Haitzler fed6752372 add page curl test. right now its code in test. will eventually become
widget when refined. right nhow its a test that has been kikcing proxy
around so its in svn.



SVN revision: 59537
2011-05-19 13:03:48 +00:00
Carsten Haitzler 72fca358dd elm grid obj++
SVN revision: 59483
2011-05-18 07:15:36 +00:00
Bruno Dilly 4b5bf38db6 Elementary calendar: fix min_max_year_set function
Properly support negative value for max year.
In this case, it shouldn't try to set the selected time
to year -1.


SVN revision: 59390
2011-05-14 19:47:54 +00:00
Daniel Juyung Seo 94cce60218 Elementary: Removed trailing whitespaces.
SVN revision: 59260
2011-05-07 08:37:47 +00:00
Sangho Park 2c7fc83f40 Elementary map:
> fix ZOOM_AUTO_FILL, FIT bug
  > fix wheel bug  when paused is set


SVN revision: 59257
2011-05-07 06:32:34 +00:00
Sangho Park 0a07dc8225 Elementary map:
> --bug of zoom
   > API change (double elm_map_zoom_get() -> int elm_map_zoom_get())


SVN revision: 59216
2011-05-05 15:15:43 +00:00
Vincent Torri 33e734bb7a fix undef ref on Mac OS X. Patch by Dave Ray
SVN revision: 59199
2011-05-05 08:28:16 +00:00
Sangho Park 2afcbf5d44 Elementary map: remove warnings of test_map
SVN revision: 59198
2011-05-05 07:42:12 +00:00
Sangho Park cb2a485477 Elementary map: add elm_menu to test_map
SVN revision: 59193
2011-05-04 15:01:07 +00:00
Cedric BAIL b795bd3985 elementary: fix aspect ratio of thumbnail.
SVN revision: 59192
2011-05-04 14:11:12 +00:00
Sangho Park b4830b8e84 Elementary map: elm_map source patch
i removed all custom enum & url callback of elm_map.
(ELM_MAP_SOURCE_CUSTOM_1, ELM_MAP_SOURCE_CUSTOM_2, ..., _custom1_url_cb, _custom2_url_cb, ... etc)
instead of those, i made sources list.
changed APIs are almost internal APIs...
but some APIs were changed for intuitive usage of map source.
user can make map module instead of setting custom APIs.

another change is "elm_module -> eina_module".
the reason of this change, is that elm_module uses environment value (i.e getenv, setenv.. ELM_MODULES)
i don't want to have a environment value dependency.


SVN revision: 59184
2011-05-04 09:44:53 +00:00
Carsten Haitzler 7aec7b6cd9 oops test resize there. remove.
SVN revision: 59170
2011-05-04 06:30:05 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
Carsten Haitzler a1cb0189c3 homogeneous table test.
SVN revision: 59159
2011-05-04 02:28:47 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00
Cedric BAIL 8a93d10cb0 elementary: fix segv when exiting elementary_config.
SVN revision: 59110
2011-05-02 10:11:38 +00:00
Daniel Juyung Seo a66af23825 Elementary map: Fixed warning.
SVN revision: 59036
2011-04-29 12:37:31 +00:00
Sangho Park 524096648e Elementary map: change evas_object_line (route) to evas_object_polygon
SVN revision: 59016
2011-04-28 16:52:52 +00:00
Daniel Juyung Seo 4f9e54e674 Elementary test.c: Fixed doxygen typo.
SVN revision: 59011
2011-04-28 15:45:32 +00:00
Daniel Juyung Seo 297d4b4bb4 Elementary: Fixed formatting.
Removed trailing white spaces. Fixed indentation.


SVN revision: 59007
2011-04-28 15:10:25 +00:00
Sangho Park 2bf6702d02 elm_map: add default wheel control for zoom in/out
SVN revision: 58985
2011-04-28 02:47:12 +00:00
Daniel Juyung Seo 71fe32df77 Elementary test_thumb.c: Fixed formatting.
SVN revision: 58983
2011-04-28 02:05:08 +00:00
Carsten Haitzler a45f22567d back to 2000 items in test.
SVN revision: 58952
2011-04-27 10:18:08 +00:00