Commit Graph

238 Commits

Author SHA1 Message Date
Daniel Juyung Seo 7aa4684ab1 elementary: Add edje interface for calendar
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
Signed-off-by: Sumanth Krishna Mannam <sumanth.m@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63969
2011-10-11 02:06:12 +00:00
Mike McCormack bcf44a7450 elementary: Support alignment in gengrid
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63949
2011-10-10 08:32:56 +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 1d6ee07488 elm genlist: Added elm_genlist_horizontal_set/get() APIs. Deprecated
elm_genlist_horizontal_mode_set/get() for API name consistency. Use
new APIs.


SVN revision: 62117
2011-08-05 01:21: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 bc3484f7ae elementary: free at the right time.
SVN revision: 61549
2011-07-21 10:45:21 +00:00
Daniel Juyung Seo 9dee09279c elm src/edje_externals/Makefile.am: Build alphabetical order.
SVN revision: 61153
2011-07-08 11:20:53 +00:00
Daniel Juyung Seo 159aba2ca7 elm/src/edje_externals/elm_icon.c: Fixed indentation.
SVN revision: 61083
2011-07-06 13:24:35 +00:00
Michael BOUCHAUD 0f51f6a912 elementary: use line wrap for the edje_external entry object
SVN revision: 61046
2011-07-05 11:30:46 +00:00
Michael BOUCHAUD 3df1497e77 elementary: add entry widget in edje_external
SVN revision: 61037
2011-07-05 10:33:24 +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 cb18ff8cfc Elm check: Fix edje_externals to use elm_object_text_set.
SVN revision: 60988
2011-07-04 10:13:50 +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
Daniel Juyung Seo a2d3d40fce elm edje_externals: Applied hoversel/slider elm_xxx_label_get/set API changes.
Use elm_object_text_get/set instead of elm_xxx_label_get/set.


SVN revision: 60874
2011-06-30 15:27:38 +00:00
Daniel Juyung Seo 857af86916 elm edje_externals: Applied button/toggle elm_xxx_label_get/set API changes.
Use elm_object_text_get/set instead of elm_xxx_label_get/set.


SVN revision: 60849
2011-06-30 01:33:38 +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
Iván Briano 80cc2fb9ca don't reference dead scrolled_entry in externals module
SVN revision: 60454
2011-06-17 18:22:15 +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
Daniel Juyung Seo 175ab810f0 Elementary src/edje_externals/elm_segment_control.c: Fixed warnings.
SVN revision: 59794
2011-05-30 02:00:10 +00:00
Daniel Juyung Seo a8297cf00e Elementary src/edje_externals/Makefile.am: Alphabetical build order.
SVN revision: 59793
2011-05-30 01:59:13 +00:00
Michael BOUCHAUD 65f0f28185 elementary: add external elm_index
SVN revision: 59758
2011-05-27 17:34:02 +00:00
Michael BOUCHAUD eab341cf12 elementary: add external segment_control
SVN revision: 59737
2011-05-27 14:32:12 +00:00
Cedric BAIL 132c22db16 elementary: reduce error noise.
SVN revision: 59243
2011-05-06 16:14:04 +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
Sangho Park cfc655445f elementary: sort Makefile.am for compiling sequence
SVN revision: 58947
2011-04-27 06:20:23 +00:00
Daniel Juyung Seo b1c1993845 Elementary: Removed trailing whitespaces.
SVN revision: 58754
2011-04-20 14:16:51 +00:00
Michael BOUCHAUD 97dee1c433 elementary: add page relative, item size and horizontal controls to external gengrid
SVN revision: 58706
2011-04-18 10:59:45 +00:00
Cedric BAIL 4c49d3ec19 elementary: fix wrong refcounting.
SVN revision: 57595
2011-03-08 15:54:15 +00:00
Daniel Juyung Seo 32778a770a Elementary magic key: Fixed typo.
SVN revision: 57001
2011-02-14 01:47:51 +00:00
Carsten Haitzler 66dbccf4c9 annoy people using elm's widget api!
SVN revision: 56987
2011-02-13 14:58:38 +00:00
Michael BOUCHAUD 863cd6e598 elementary: add edje_external gengrid
SVN revision: 56843
2011-02-09 15:14:28 +00:00
Jonathan Atton f10db79a73 elm external: elm_label fix segv
SVN revision: 56822
2011-02-08 21:56:41 +00:00
Jonathan Atton 7ac159bb4a elm external: fix the previous patch. Sorry I was stupids and didn't check correctly !
SVN revision: 56759
2011-02-06 21:57:25 +00:00
Jonathan Atton 8ea3fc6f4b elm: replace printf() by LOG_DEBUG()
SVN revision: 56754
2011-02-06 17:14:21 +00:00
Jonathan Atton 8bfd0fec96 elm external: fix elm_label
SVN revision: 56727
2011-02-05 17:58:49 +00:00
Michael BOUCHAUD bfbe785bad elementary: switch int to double timeout slideshow in edje_external
SVN revision: 56608
2011-01-31 14:43:34 +00:00
Carsten Haitzler 16e1e0b663 dont ALWAYS init elm for externals - if one isnt used.. why init it?
(for that matter externals has a problem in design - it loads every
module for externals and thus links in every lib even if never used by
the app/edje obj).



SVN revision: 56218
2011-01-19 04:55:19 +00:00
Carsten Haitzler b01e13faf2 warning--
SVN revision: 55129
2010-12-02 03:37:17 +00:00
Leandro Pereira 746b412b15 elementary: tab -> spaces
SVN revision: 55087
2010-11-30 15:18:21 +00:00
Tiago Rezende Campos Falcao f4294f8d2c Replace calloc by ELM_NEW and hack last externals
Spank watchwolf. The last added externals dont compile with the flags
that we try to keep OK, since revision 53683.

Replace calloc(1,X) to use ELM_NEW, i want do tests with mem pool.

SVN revision: 54778
2010-11-22 12:46:58 +00:00
Jonathan Atton 46d571bd68 elm : add edje external icon, label and scroller
SVN revision: 54446
2010-11-10 22:48:36 +00:00
Jonathan Atton 9c29a3ea1d elm : add expand in the edje external genlist
SVN revision: 54445
2010-11-10 22:44:44 +00:00
Bruno Dilly 81b68b08a9 Remove elm_notepad
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.

We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.

As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.

Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.

I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.

If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().

At last, some getters were added.



SVN revision: 54145
2010-11-04 11:56:15 +00:00
Iván Briano aec02288a9 label is no longer a common parameter, and style is
SVN revision: 54109
2010-11-02 17:55:14 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Fabiano Fidêncio 2c10a5d7c1 warning--
* Add UNUSED to arguments no used
 * Add functions recently created to private.h

Patch by: "Fabiano Fidêncio" <fidencio@profusion.mobi>



SVN revision: 53763
2010-10-22 12:05:45 +00:00
Otavio Pontes c11bf5692a Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external
to change the style of one object.

Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53754
2010-10-21 22:03:43 +00:00
Gustavo Lima Chaves 02d6dc885f Ugly typos gone.
SVN revision: 53663
2010-10-20 12:40:36 +00:00
Gustavo Lima Chaves 75ca838868 Elm list external file needed love WRT to new/changed exported properties.
SVN revision: 53662
2010-10-20 12:38:46 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Bruno Dilly b74069f814 Fix some Wextra complains on elm edje-externals
SVN revision: 53637
2010-10-19 18:25:57 +00:00
Tiago Rezende Campos Falcao 6e9551b087 Review Elm_fileselector_button.
Removed the selected_{get,set} because is the same of path_{get,set}.

Now it uses elm_button like hoversel.

SVN revision: 53622
2010-10-19 14:17:14 +00:00
Gustavo Sverzut Barbieri cb2ebb9303 add elm_fileselector_entry
works, but focus chain is not giving focus to button.



SVN revision: 53384
2010-10-14 01:18:14 +00:00
Tiago Rezende Campos Falcao 18e550d688 Notify timeout is double (in Externals)
SVN revision: 52887
2010-09-29 12:22:25 +00:00
Brett Nash 38997599c8 Untested fix for edje external elm_panes
It was elm_panes_horizontal_is, but grep shows no matches.
So I'm guessing horiztonal_get.
Seems was originally comited by watchwolf when the file was added.

SVN revision: 52287
2010-09-15 06:39:43 +00:00
Carsten Haitzler 68f5b4119b oooh big cleanup. internal elm widget api cleaned up a bit.
SVN revision: 52178
2010-09-13 07:56:23 +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
Bruno Dilly a06fdc1b84 Fix layout options used by external elm_slideshow
SVN revision: 52099
2010-09-09 19:34:58 +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
Cedric BAIL 7966765d77 * edje: fix edje external module to be consistent with the rest of the efl.
SVN revision: 51296
2010-08-18 16:57:19 +00:00
Cedric BAIL 5826c17db1 * edje: fix edje external module path.
SVN revision: 51251
2010-08-17 13:29:23 +00:00
Jonathan Atton 76a2b5f2cb Elementary:
- we can get the content of a external object
- a signal can be send to the content of a external object

SVN revision: 50731
2010-08-01 17:29:20 +00:00
Jonathan Atton 8050ddfe99 elementary: add elm_panes in edje external
SVN revision: 50520
2010-07-26 20:33:33 +00:00
Bruno Dilly e7bd53447a "Ooops, forgot about edje_external in the previous patch. Can someone apply this for me? Thanks."
By Rafael Fonseca <rfonseca@profusion.mobi>


SVN revision: 50393
2010-07-20 21:51:08 +00:00
Jonathan Atton 7a8c3ce129 External elm_slideshow: add "string: layout"
SVN revision: 50302
2010-07-17 08:18:04 +00:00
Jonathan Atton 24f5b1831b Add the elm notify external object
SVN revision: 50180
2010-07-11 21:19:27 +00:00
Carsten Haitzler e3679621e0 barf. build. didnt use ethubm cflags. bad!
SVN revision: 50171
2010-07-10 02:31:58 +00:00
Iván Briano a03476375e Allowing that icon/content can be set as NULL
Now, we can "remove" the icon used for the widget, in editje.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49705
2010-06-16 20:58:01 +00:00
Iván Briano 760c3c076d Fixing icon lost of external widgets in editje.
When params_free is made icons/content were deleted.
It's not necessary with the new API for icon/content set in elementary.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49702
2010-06-16 20:57:33 +00:00
Gustavo Lima Chaves e6798aa016 Shut up compilation error on OpenSolaris, for this widget.
Here it is, vtorri, sorry :)



SVN revision: 49557
2010-06-07 19:01:37 +00:00
Christopher Michael de41ec04e3 Proper fix for compiler warnings by adding const to the _get functions
(thanks k-s).
Fix formatting & remove some whitespace.

NB: Please take notice, do not format if statements like this:
      if (val && !val2).
    You will get spanked...hard :P
    Proper if formatting should be:
      if ((val) && (!val2))
    This avoids potential evaluation errors (as was recently seen in
    ecore_con).



SVN revision: 49111
2010-05-21 19:26:57 +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
Tiago Rezende Campos Falcao cd6fc4f7d0 dont return if choice didnt match
SVN revision: 48436
2010-04-29 20:26:41 +00:00
Tiago Rezende Campos Falcao 8186783f89 Update some widgets for type compare with CHOICE type. By Masaki
Author:    Thiago Ribeiro Masaki <masaki at profusion.mobi>

SVN revision: 48435
2010-04-29 20:26:38 +00:00
Iván Briano 13015087f4 Allow setting group for radios
SVN revision: 48255
2010-04-23 18:04:24 +00:00
Iván Briano 07d91767cd Expose elm_list as external
Patch by Thiago Masaki


SVN revision: 47847
2010-04-08 20:53:01 +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
Iván Briano 7c413d98dd Assorted fixes to slideshow in lib and externals
Patch by Thiago Masaki


SVN revision: 47845
2010-04-08 20:16:21 +00:00
Tiago Rezende Campos Falcao 58ffdf8254 Fix some bugs in Genlist/Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47823
2010-04-07 21:30:54 +00:00
Gustavo Lima Chaves ad9e7cb93b Fixes, fixes...
SVN revision: 47821
2010-04-07 19:37:31 +00:00
Gustavo Lima Chaves 0a90fa0886 One more.
SVN revision: 47818
2010-04-07 17:28:15 +00:00
Gustavo Lima Chaves a760186ea8 Note to self: never commit in a hurry.
SVN revision: 47817
2010-04-07 17:27:58 +00:00
Gustavo Lima Chaves 7caba8955b Again, and that's all.
SVN revision: 47816
2010-04-07 17:24:48 +00:00
Gustavo Lima Chaves 6985d6383e Nasty one, sorry.
SVN revision: 47815
2010-04-07 17:24:26 +00:00
Tiago Rezende Campos Falcao baa7e26d78 Some fixes in external Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47785
2010-04-06 14:01:08 +00:00
Tiago Rezende Campos Falcao ffaa68c266 Added get functions in elm_genlist and added external Genlist support. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47784
2010-04-06 14:01:04 +00:00
Gustavo Lima Chaves 07702cd2f3 Elm slideshow as edje external, by Masaki.
SVN revision: 47780
2010-04-05 20:23:30 +00:00
Gustavo Lima Chaves 6d3534b6f8 Elm_map exported as edje external.
SVN revision: 47654
2010-04-01 17:34:49 +00:00
Tiago Rezende Campos Falcao 46282c0f44 Toolbar external dont have icon
SVN revision: 47653
2010-04-01 17:08:14 +00:00
Gustavo Sverzut Barbieri 92342eca82 fix stupid error and delete icon.
SVN revision: 47652
2010-04-01 16:04:52 +00:00
Tiago Rezende Campos Falcao 6b3e8c6be5 External Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47649
2010-04-01 14:22:45 +00:00
Tiago Rezende Campos Falcao 8428f91d63 Just some fixes to show changes like horizontal and inverted in editje.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47648
2010-04-01 14:22:41 +00:00
Tiago Rezende Campos Falcao eb475b53bd Added get functions in elm progressbar and added elm progressbar support in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47647
2010-04-01 14:22:36 +00:00
Tiago Rezende Campos Falcao c00911ee84 Added get functions in elm spinner and added elm spinner in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47646
2010-04-01 14:22:32 +00:00
Tiago Rezende Campos Falcao c8823541a4 Added get functions in elm clock and added elm clock support in edje externals. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47645
2010-04-01 14:22:26 +00:00
Tiago Rezende Campos Falcao 147ae448e0 Free params in Toolbar external
SVN revision: 47644
2010-04-01 14:22:21 +00:00
Gustavo Lima Chaves a1228094fd Elm_fileselector as edje external.
SVN revision: 47634
2010-03-31 20:19:55 +00:00
Gustavo Lima Chaves 39507a1c57 Oops.
SVN revision: 47633
2010-03-31 19:14:32 +00:00
Gustavo Lima Chaves 8483246729 Elm_thumb as an edje external.
There's a bug while adding it at Editje: it will draw itself over the part moving knob.
Fixing it later.



SVN revision: 47632
2010-03-31 19:08:51 +00:00
Gustavo Sverzut Barbieri 587bfbac42 shutdown all resources.
SVN revision: 47623
2010-03-31 12:06:12 +00:00
Tiago Rezende Campos Falcao 5884ebfb18 Toolbar External
SVN revision: 47608
2010-03-30 20:42:01 +00:00
Tiago Rezende Campos Falcao 5dd010bb26 Hoversel External
SVN revision: 47607
2010-03-30 20:41:56 +00:00
Gustavo Lima Chaves 9a8981530d Elm anchorblock edje external support. Same progress as anchorview's.
SVN revision: 47606
2010-03-30 18:38:02 +00:00
Gustavo Lima Chaves 5f686476b5 Anchorview exported to edje.
Just text exported, for now.
TODO: make editje pass *unescaped* text down to this property.



SVN revision: 47604
2010-03-30 17:21:47 +00:00
Gustavo Lima Chaves 3240d746eb Elm notepad on edje_externals.
Still lacking properties exported, will come with more powerful param. types, further.



SVN revision: 47569
2010-03-29 20:53:00 +00:00
Gustavo Lima Chaves 3451411326 New elm widget exported to edje: bubble.
SVN revision: 47559
2010-03-29 17:19:35 +00:00
Gustavo Sverzut Barbieri c83883b8ef call elm_init otherwise applications that still did not will fail.
SVN revision: 47499
2010-03-27 01:24:40 +00:00
Iván Briano efccbe07e8 Make someone else assume responsibility when Elementary is not the father.
SVN revision: 47479
2010-03-26 05:44:30 +00:00
Iván Briano 679b233813 _elm_log_dom is not available outside of libelementary.so and EAPIfying it doesn't sound like a good idea. So let's just have another variable named like it in the externals module so we can reuse the log macros defined in elm_priv.h
SVN revision: 47468
2010-03-26 05:20:30 +00:00
Gustavo Sverzut Barbieri 439a3bd492 Proxy Elementary widget signals to Edje.
Add support to automatic proxy events from Elementary to Edje using
callbacks described with Evas_Smart_Cb_Description and set to
Evas_Smart_Class or per-instance with
evas_object_smart_callbacks_descriptions_set().

Right now elm_widget is not subclassable, so there is no way to define
class signals, just instance signals.

Just doing it for button, lots of widgets to do... If you can help,
please follow the process:

  * see example at src/lib/elm_button.c, copy it.

  * read your widget documentation at Elementary.h

  * grep for evas_object_smart_callback_call(), see if they are all
    documented in Elementary.h, or if there are some missing. Fix Elementary.h

  * paste and change based on fixed Elementary.h My recommendation is
    to create "static const char []" variables and replace all
    evas_object_smart_callback_call() with that, to force sync.


With callback descriptions pre-defined and using the same pointer with
a custom variation evas_object_smart_callback_call_ptr() we may later
optimize signal calling heavily, removing the requirement to call
eina_stringshare_add()/eina_stringshare_del() and also not mixing all
the callbacks in teh same list, instead having an array for defined
signals, and a list from there.  These optimizations are not in, but
they are easily added later without breaking the API/ABI.




SVN revision: 47461
2010-03-26 00:58:14 +00:00
Gustavo Sverzut Barbieri ed5cb0e7f3 Simplify state_set and just apply values that were explicitly set.
SVN revision: 47458
2010-03-25 20:17:34 +00:00
Gustavo Sverzut Barbieri d1d996f13d Port to new Edje EXTERNAL API goodies!
Now it is possible to change labels and lots of other parameters
directly through Edje's API.

BIG FAT NOTE: this is a convenience that comes with a reasonable
    price. If you have hot paths, like loops, then avoid calling this
    and use the object directly. This functions add a cost to check
    edje, then find the part, then get the type, then get the
    param_set/param_get methods, then calling it, then finding the
    parameters using strcmp(), then checking the type and just then it
    will call the actual method. So whenever possible, just call the
    method directly.

Due the reasoning of the "big fat note" I'm adding this inside edje
externals only. The code would be almost the same to expose it in
Elementary.h as elm_widget_property_set/get, but then I know people
would misuse it... actually this kind of stuff could be easily ported
to Evas smart object, but then abuse and slowness will hunt us
foreveeeeer...




SVN revision: 47457
2010-03-25 18:10:25 +00:00
Tiago Rezende Campos Falcao 97ae653c9f Externals Make Scrolled Entry Editable. By Kubo
Author:    Raphael Kubo da Costa <kubo at profusion.mobi>

SVN revision: 47400
2010-03-23 19:48:40 +00:00
Gustavo Sverzut Barbieri 45fb5c7947 Edje EXTERNAL should use as parent the first elm_widget so focus chain
is correct.

This patch should fix issues with multiple entries not being able to
focus, if not, let me know.




SVN revision: 47375
2010-03-22 21:38:32 +00:00
Iván Briano 1f9f880037 Don't set text in entries for now. It has big issues with state changes.
SVN revision: 45704
2010-01-29 15:16:22 +00:00
Tiago Rezende Campos Falcao 435abed395 Adding Module Name to Externals
SVN revision: 45566
2010-01-25 20:30:39 +00:00
Iván Briano 6f6ebbfaa6 Remove unused variable and don't create icons if there's no icon set
SVN revision: 45564
2010-01-25 19:56:45 +00:00
Iván Briano 66d310cf5b Fix typo and prototype
SVN revision: 45559
2010-01-25 18:52:05 +00:00
Gustavo Lima Chaves 500a0ffdd7 Adding more size hints to external object's icons.
Patch by Fabiano Fidêncio.



SVN revision: 45553
2010-01-25 14:24:15 +00:00
Iván Briano 507a2cde73 Icons for available externals, how exciting.
SVN revision: 45449
2010-01-22 20:07:47 +00:00
Gustavo Sverzut Barbieri fb539794d1 Icon parser check if it was successfuly set and if not deletes the icon.
that's the end of that ugly space in editje button.



SVN revision: 44589
2009-12-20 00:28:02 +00:00
Iván Briano d2d403453a formatting
SVN revision: 44448
2009-12-14 18:30:32 +00:00
Iván Briano bcc4b4db54 Scrolled entry, first step.
This is a compound widget that puts an entry inside a scroller,
so the user doesn't have to manage that stuff. Still needs some
more exposure of the scroller stuff and probably some automatizations.


SVN revision: 44349
2009-12-11 05:57:53 +00:00
Iván Briano 86a11a7b6e use bool type where it makes sense
SVN revision: 44310
2009-12-09 06:53:37 +00:00
Iván Briano 68f9598c49 reenable parameters
SVN revision: 44304
2009-12-09 05:22:38 +00:00
Iván Briano bf5af093fa style, better parsing, some parameter names changed
SVN revision: 44302
2009-12-09 04:37:48 +00:00
Iván Briano 0c8c726601 use correct types for parameters
SVN revision: 44297
2009-12-09 02:37:20 +00:00
Carsten Haitzler e4a50fc013 disable - compile errors - NAN for those macros!
SVN revision: 44278
2009-12-08 13:53:38 +00:00
Iván Briano 3d6a80c5f8 Rename some parametes, use defaults, use info
SVN revision: 44274
2009-12-08 05:53:12 +00:00
Iván Briano 02cb10c6e5 State is not a common parameter
patch by Fabiano Fidencio


SVN revision: 44273
2009-12-08 04:57:39 +00:00
Iván Briano 5e7c1eb4db use right name for the module
SVN revision: 44270
2009-12-08 01:35:15 +00:00
Tiago Rezende Campos Falcao edf7f2e22e Elementary edje external modules
Widgets: Button, Check, Radio, Slider, Toggle

SVN revision: 44207
2009-12-06 01:22:54 +00:00