Commit Graph

383 Commits

Author SHA1 Message Date
Bruno Dilly 139985f471 Remove annoying blank lines inside elm test_launcher file
SVN revision: 52103
2010-09-09 19:42:16 +00:00
Bruno Dilly a0da368667 Remove some unused variables from elm tests and externals
SVN revision: 52101
2010-09-09 19:35:53 +00:00
Brett Nash b9b1049215 Set size first, to avoid broken sizing in elm_photo
SVN revision: 52027
2010-09-09 06:05:31 +00:00
Brett Nash 2db7870780 Use callback instead of evil printf hack.
I wish I knew why the other method didn't work.

SVN revision: 52022
2010-09-09 03:09:49 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +00:00
Davide Andreoli 22104cfabb Add a REALLY simple command line option to elementary_test.
You can now call the test app with the name of a specific test
 to make it \autorun'.

SVN revision: 51997
2010-09-08 23:04:49 +00:00
Brett Nash 9640443824 Add 'drop' callback when objects are dropped.
SVN revision: 51977
2010-09-08 06:20:05 +00:00
Brett Nash 308e09effd editiable flags to allow drag dests for photso and images.
SVN revision: 51973
2010-09-08 04:55:20 +00:00
Gustavo Sverzut Barbieri e581ae2867 elm_selection_get() is in elm_priv.h and should not be used outside libelementary.so
this is clear when building with -fvisibility=hidden and it breaks
with undefined reference as elm_selection_get() is not marked as EAPI.





SVN revision: 51956
2010-09-07 15:54:43 +00:00
Brett Nash 0d492dcdaf Merge branch 'elmdnd'
Conflicts:
	trunk/TMP/st/elementary/.gitignore

SVN revision: 51935
2010-09-07 06:56:16 +00:00
Carsten Haitzler 36577f5abb and more test for launcher 3 - i can't reproduce the reported bug. my
guess is that its been fixed or that something subtle is being done
"wrong"



SVN revision: 51884
2010-09-04 12:31:39 +00:00
Carsten Haitzler b67066f6d3 make flip 3 easier to tell what's up.. and it's not really right..
flip in flip :(



SVN revision: 51832
2010-09-02 10:15:03 +00:00
Carsten Haitzler cda4f422b1 ooof flippidy-do-da... working much better.
SVN revision: 51831
2010-09-02 09:58:52 +00:00
Carsten Haitzler 42ec2033bb fix some most unfortunate lack of clip honorning :)
SVN revision: 51773
2010-08-31 06:20:33 +00:00
Bruno Dilly 1a985e09cd Add tests for elm calendar
SVN revision: 51585
2010-08-23 18:46:43 +00:00
Lucas De Marchi c6a4ea9d2f Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 1e16f33910 Use the E icon theme (if present) for 'icon desktops' test.
NB - Just an example to see if using getenv("E_ICON_THEME") works
correctly.



SVN revision: 50802
2010-08-04 02:18:44 +00:00
Mike Blumenkrantz c9182a400c wrong data type
SVN revision: 50580
2010-07-28 03:30:39 +00:00
Davide Andreoli c815aff152 From: Dave Andreoli <dave@gurumeditation.it>
Subject: [E-devel] New elm pager "slide" and "slide_invisible" styles

Hi everyone,
I have done 2 new style for the pager widget:

"slide" and "slide_invisible"

They work different from the other styles: new (pushed) pages
comes from right and the old go out left, while popped pages
goes out from right. It works like the enna browser, or like all the
"browser lists" on iphone.

The patch include the 2 new styles, a new elementary_test
page called "Pager Slide", a little code for elm_pager.c  that was
needed
for the new style to work and simple update for the other existing
styles.

The patch is located at:
http://pastebin.com/jSbg0wb9

I can commit this myself, just give me the go ;)



SVN revision: 50559
2010-07-27 23:43:12 +00:00
Luis Felipe Strano Moraes eb03502762 After Sachiel's changes about making the edje_object a sub_object of
elm_thumb widget, all the stuff about alignement and crop are not
used anymore.

By: Rafael "15 years experience" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50388
2010-07-20 18:42:21 +00:00
Davide Andreoli 9dc25a32d2 whops, commit also Elementary.h.in I always forbot about it :(
and add the cube also to test2

SVN revision: 50289
2010-07-16 20:47:21 +00:00
Davide Andreoli 5005200d84 Flip widget: add 2 new flip style:
ELM_FLIP_CUBE_RIGHT, ELM_FLIP_CUBE_LEFT

As you can imagine the new animations make the flip as a rotating cube,
the 2 contents are on 2 different faces.


SVN revision: 50287
2010-07-16 20:30:11 +00:00
Jonathan Atton 2ad9cb0ad5 Elm_Slideshow : rollback, remove the possibility to have more than 1 item display at the same time. We need a specific widget to do this with specifics animations.
SVN revision: 50269
2010-07-15 17:09:59 +00:00
Jonathan Atton 3eaecdafbd Elm_Slideshow:
- Add a new layout : expose
- Add a way to display more than 1 slide at a time, the number of slides displayed is defined in the layout

SVN revision: 50256
2010-07-14 21:12:58 +00:00
Jonathan Atton a05015145d Elm_Photo:
- Add a way to display a photo by keeping the ratio AND the theme can display something around the photo (border ...). The way I use is maybe a bit crappy (embryo, offset ...) but I do not know a better way.
 - Add a new style (with a shadow). The default style has no changes
 If you do not like my way, revert the commit and commit your way :)
 
Elm_Slideshow:
 - Use elm_photo in the test
 - Add a black background

SVN revision: 50248
2010-07-14 14:48:21 +00:00
Jonathan Atton b8e248f29c Add a list of "layout" to elm_slideshow. A layout is like a "sub-style". For example the content can take all the slideshow widget (~fullscreen) or not. I do not have finish to work on it.
SVN revision: 50247
2010-07-14 09:07:43 +00:00
Bruno Dilly d7f29ebf7c fix for Ecore API changes on test_genlist
SVN revision: 49867
2010-06-25 22:28:06 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Jonathan Atton 4ed9f35e44 elm_panes : add the horizontal mode
SVN revision: 49801
2010-06-22 19:08:52 +00:00
Jonathan Atton 777be38c1e refactor elm_panes_left_content* -> elm_panes_content_left*
SVN revision: 49788
2010-06-21 20:58:40 +00:00
Jonathan Atton 6ba054f636 elm_panes : - add an animation with 2 arrows while the bar is dragged. - add getter/setter for the size of the left content. - in the test : double click -> open/close the left content
SVN revision: 49786
2010-06-21 20:15:57 +00:00
Jonathan Atton 8b910bf656 Add a new widget : elm_panes :)
SVN revision: 49773
2010-06-20 16:01:15 +00:00
Rafael Fonseca 24feacfa4c From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.



SVN revision: 49411
2010-06-03 12:53:14 +00:00
Mike Blumenkrantz cde85d6a55 remove test panel 2, add in top panel test
SVN revision: 49224
2010-05-27 09:03:22 +00:00
Mike Blumenkrantz 25aef82253 this was close, but not quite the right variable name
SVN revision: 49223
2010-05-27 09:02:44 +00:00
Bruno Dilly 46762b882e Add right orientation to elm panel widget
And create a new test for panel, a bit more complex, that should
be extended to show panels with all the 4 orientations, when they're
implemented.



SVN revision: 49202
2010-05-26 03:08:10 +00:00
Bruno Dilly 7d57c9c432 Fix misuse of win_resize_object on test_flip3 and add comments
explaining better the sorted insertion of index widget.
Thanks to Sachiel for spotting that stuff.


SVN revision: 49195
2010-05-25 13:36:20 +00:00
Bruno Dilly 156c0ad0a0 Add new test for flip widget, using flips inside of a flip.
This test shows a bug in current flip implementation.



SVN revision: 49194
2010-05-25 13:17:00 +00:00
Bruno Dilly a5fa20a9ab Adding function to set cell selected in elm_scrolled_grid
By: Rafael Fonseca



SVN revision: 49173
2010-05-23 23:54:16 +00:00
Bruno Dilly bb3868efb5 Elementary test for index and list sorted insertion
A bit complex test, but it's probably a common use case for index.



SVN revision: 49172
2010-05-23 23:44:36 +00:00
Christopher Michael 364c11ca14 Fix compiler warnings ... yes, they were fairly harmless, but I hate
seeing warnings during compile, especially when they are easily
corrected.



SVN revision: 49109
2010-05-21 17:16:42 +00:00
Andreas Volz 317230f240 added a usage hint about casting int to void* and back
SVN revision: 49071
2010-05-20 18:00:33 +00:00
Carsten Haitzler 1c2f713799 working much better elm config stuff. hs old config sliders still there, now
adding theme tab. not complete tho.



SVN revision: 48778
2010-05-12 16:32:12 +00:00
Iván Briano cd097950e4 Let the user choose what digits of the clock are editable.
Patch by Rafael "15 years of experience" Fonseca.


SVN revision: 48757
2010-05-11 15:25:01 +00:00
Carsten Haitzler 83286a1d84 scroller in scroller.... works! well with scrollers for now (elm_scroller).
need to fix up some other instances of use of elm_smart_scroller. it's a 1
liner.



SVN revision: 48667
2010-05-07 13:21:45 +00:00
Carsten Haitzler 5b26300221 support items in anchorblock/view too.
SVN revision: 48384
2010-04-28 06:13:06 +00:00
Carsten Haitzler 88bee2cadb emoticons!!!! woot woot!
SVN revision: 48356
2010-04-27 08:06:42 +00:00
Carsten Haitzler 353571dccc test all combos.
SVN revision: 48310
2010-04-25 13:13:28 +00:00
Carsten Haitzler ad1ae1694a a test for items... getting there.
SVN revision: 48308
2010-04-25 13:07:48 +00:00
Gustavo Sverzut Barbieri 8a23d2a6b7 Add special values to spinner.
Special value is a string showed instead a numerical one.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48090
2010-04-18 00:31:07 +00:00
Gustavo Sverzut Barbieri 37d6782967 Add elm_scrolled_grid object.
A genlist like grid widget: just the visible objects are actually built.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48086
2010-04-17 20:21:59 +00:00
Carsten Haitzler 93fa196620 test++
SVN revision: 48073
2010-04-17 14:20:06 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +00:00
Gustavo Lima Chaves 23b65bc2de Welcome a new Elementary widget: file selector button.
This is an elm button extended to launch a file selector on click and to callback_call registered funcs
when selection is completed.

Many uses may arise from it, but as a fresh 1st example here comes the first (primitive, but cool) video
player in edje:

externals {
  external: "emotion";
  external: "elm";
}

collections {
  group { name: "main";
     parts {
        part { name: "video";
           type: EXTERNAL;
           source: "emotion";
           description { state: "default" 0;
              rel1 {
                 offset: 10 10;
              }
              rel2 {
                 offset: -11 -61;
              }
              params {
                 choice: "engine" "gstreamer";
              }
           }
        }
        part { name: "play";
           type: RECT;
           description { state: "default" 0;
              color: 0 255 0 128;
              rel1 {
                 relative: 0 1;
                 offset: 10 -51;
              }
              rel2 {
                 relative: 0.3 1;
                 offset: -6 -11;
              }
           }
        }
        part { name: "pause";
           type: RECT;
           description { state: "default" 0;
              color: 255 0 0 128;
              rel1 {
                 relative: 0.3 1;
                 offset: 5 -51;
              }
              rel2 {
                 relative: 0.6 1;
                 offset: -6 -11;
              }
           }
        }

        part { name: "file_sel_btn";
           type: EXTERNAL;
           source: "elm/fileselector_button";
           description { state: "default" 0;
              rel1 {
                 relative: 0.6 1;
                 offset: 5 -51;
              }
              rel2 {
                 offset: -11 -11;
              }
              params {
                 string: "label" "open file";
                 string: "icon" "file";
              }
           }
        }

        programs {
           program {
              signal: "mouse,clicked,1";
              source: "play";
              after: "do_play";
           }
           program {
              name: "do_play";
              action: PARAM_SET "video" "play" "1";
           }
           program {
              signal: "mouse,clicked,1";
              source: "pause";
              action: PARAM_SET "video" "play" "0";
           }
           program {
              signal: "file,chosen";
              source: "file_sel_btn";
              action: PARAM_COPY "file_sel_btn" "path" "video" "file";
              after: "do_play";
           }
        }
     }
  }
}

Enjoy. I've seen bugs on the fileselector itself wrt to list selection logic.
I'll dig into then soon.



SVN revision: 47846
2010-04-08 20:36:37 +00:00
Carsten Haitzler 31c4f0349c 1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.



SVN revision: 47757
2010-04-05 04:58:43 +00:00
Cedric BAIL 549bb1a0d6 * elementary: fix segv due to double free. But more is needed to fix
efreet usage by elm icon test.


SVN revision: 47589
2010-03-30 11:17:17 +00:00
Carsten Haitzler 31321fb483 add test case for longpress and selected in genlist.
SVN revision: 47522
2010-03-28 01:44:56 +00:00
Sebastian Dransfeld 182023bb85 Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Carsten Haitzler 1ec47d82f0 test elm_entry_markup_to_utf8
SVN revision: 47363
2010-03-22 05:52:05 +00:00
Carsten Haitzler 5328f8ff8e add new test.
SVN revision: 47289
2010-03-16 12:42:24 +00:00
Carsten Haitzler d0f6e1fff2 test entries in a layout - works just fine! so bug--
SVN revision: 47283
2010-03-16 09:22:47 +00:00
Carsten Haitzler 643fcd2f7d bug-- and.. bug++
SVN revision: 47276
2010-03-16 04:11:47 +00:00
Gustavo Sverzut Barbieri 53ac1c8682 sort tests, add index.
Idea by Lucas de Marchi, implementation by myself.

It's not as fancy as it could be, since elm_list does not have an
animated "bring-in" as genlist... but I added a macro to make it easy
to migrate to genlist later without lots of changes...




SVN revision: 47272
2010-03-16 02:15:37 +00:00
Carsten Haitzler 546b20d49a bug change
SVN revision: 47271
2010-03-16 01:36:29 +00:00
Gustavo Sverzut Barbieri 37de81817f Add elm_thumb object to Elementary.
The elm_thumb object interacts with ethumb to create a thumbnail.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47240
2010-03-15 18:34:04 +00:00
Carsten Haitzler 5ba7d227a9 bug++ :(
SVN revision: 47236
2010-03-15 13:51:54 +00:00
Carsten Haitzler c8f0e965af bug-- note
SVN revision: 47233
2010-03-15 09:45:16 +00:00
Carsten Haitzler 0971e213ab bug -= 2;
SVN revision: 47230
2010-03-15 02:34:27 +00:00
Carsten Haitzler 8f34a43231 aaah typo! fix from lupan.
SVN revision: 47225
2010-03-14 22:33:52 +00:00
Carsten Haitzler 74a985e916 bug++ :(
SVN revision: 47206
2010-03-14 13:02:00 +00:00
Carsten Haitzler cf87e22450 bug--
SVN revision: 47205
2010-03-14 12:59:12 +00:00
Carsten Haitzler b87feb067a bug--.. and unfortunately.. bug++
SVN revision: 47203
2010-03-14 12:27:21 +00:00
Carsten Haitzler 4f306d1607 note some bugs i found... to be fixed. at least i know them. :) (and have a
test case).



SVN revision: 47199
2010-03-14 08:21:22 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Carsten Haitzler 7be6ec6ff8 get rid of forced scrollbars in scroller.
SVN revision: 47131
2010-03-11 08:13:20 +00:00
Carsten Haitzler c86c9ea795 and make entry api's acutally work - and be tested.
SVN revision: 47127
2010-03-11 06:35:07 +00:00
Carsten Haitzler ebd8928997 aaah eeek - wrong call. fixed.
SVN revision: 47107
2010-03-10 14:08:47 +00:00
Carsten Haitzler 7a7c28294b mark brokenness for now - will fix.
SVN revision: 47104
2010-03-10 13:40:15 +00:00
Carsten Haitzler 990bdd476a fix up test - set no allow focus and no propagate so buttons dont snarf focus
form entries.



SVN revision: 47102
2010-03-10 13:24:38 +00:00
Carsten Haitzler 0c5ae56027 more comprehensive test for entry - there are bugs, this will let me test and
fix.



SVN revision: 47101
2010-03-10 07:58:29 +00:00
Carsten Haitzler 23d121c6e7 take that - more warning--
SVN revision: 47098
2010-03-10 04:13:34 +00:00
Carsten Haitzler b9f621228a more comprehensive flip test with multiple children etc.
SVN revision: 47072
2010-03-09 04:00:08 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Carsten Haitzler 0bad44f5db allow icon window to resize for testing.
SVN revision: 46676
2010-03-01 02:20:41 +00:00
Carsten Haitzler ee7d419109 stop using round - no need
SVN revision: 46553
2010-02-27 05:20:28 +00:00
Carsten Haitzler 6a7271084d slight change in drag events vs scrolling on_hold to fix small "distance
race" issue.



SVN revision: 46505
2010-02-26 06:30:17 +00:00
Iván Briano d3d03fe793 Remove unused variables and use correct functions for objects. Now that scrolled_entry is used for the Entry scrolled test, the button callbacks can't be reused.
SVN revision: 46444
2010-02-24 21:53:51 +00:00
Gustavo Sverzut Barbieri 878e97e600 Update to new event callback signature.
SVN revision: 46208
2010-02-16 13:00:31 +00:00
Iván Briano c2ca925f67 Make Entry Scrolled test look a bit better.
SVN revision: 46115
2010-02-12 15:22:51 +00:00
Carsten Haitzler 5a8adbf9b7 add some callback tests.
SVN revision: 46049
2010-02-10 15:11:16 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Iván Briano ceb6345b7f Improve scrolled_entry a bit, it's still open for more love though.
Move test_conformant to use scrolled_entry.


SVN revision: 46012
2010-02-09 15:43:17 +00:00
Gustavo Sverzut Barbieri a8777010c6 Convert test_entry to elm_scrolled_entry.
Reduce code duplication and also test the scrolled entry version.

Stéphane BAULAND



SVN revision: 46010
2010-02-09 13:21:46 +00:00
Carsten Haitzler e93dab4295 fix launcher test to scale a bit better.
SVN revision: 45927
2010-02-06 07:29:10 +00:00
Carsten Haitzler 02205965c4 more tests
SVN revision: 45893
2010-02-05 08:17:21 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Carsten Haitzler bf5471e700 mini config app - live changed scaling and finger size. needed to really show
what elementary is about!



SVN revision: 45800
2010-02-02 10:09:07 +00:00
Carsten Haitzler e905ed0ad5 typo fix
SVN revision: 45789
2010-02-02 02:54:22 +00:00
Carsten Haitzler 131ac8349a demo++
SVN revision: 45778
2010-02-01 16:46:26 +00:00