platform/upstream/elementary.git
14 years agosome docs on items.
Carsten Haitzler [Tue, 27 Apr 2010 08:12:59 +0000 (08:12 +0000)]
some docs on items.

SVN revision: 48357

14 years agoemoticons!!!! woot woot!
Carsten Haitzler [Tue, 27 Apr 2010 08:06:42 +0000 (08:06 +0000)]
emoticons!!!! woot woot!

SVN revision: 48356

14 years agoFrom: Michael Blumenkrantz <mike@zentific.com>
Michael Blumenkrantz [Tue, 27 Apr 2010 05:43:54 +0000 (05:43 +0000)]
From: Michael Blumenkrantz <mike@zentific.com>

elm.diff is a patch which implements a number of convenience functions
for various widgets, as well as some new features for toolbar and panel.
With the panel widget, I've written a number of calls related to
toolbar items and the selected item in particular, allowing
manipulation of the selection and toolbar items more easily. These
functions are as follows:
+elm_toolbar_item_get_all() returns a Eina_List* of all the toolbar
items
+elm_toolbar_item_get_first() returns the first toolbar item
+elm_toolbar_item_get_last() returns the last toolbar item
+elm_toolbar_item_get_next() returns the item after the
currently selected item
+elm_toolbar_item_select_next() moves the selection to the next valid
item
+elm_toolbar_item_select_first() selects the first valid item
+elm_toolbar_item_select_last() selects the last valid item
+elm_toolbar_item_find_by_label() returns the first Elm_Toolbar_Item
matching "label"

The new panel functions I have written allow for control of the panel's
state from code, and are as follows:
+elm_panel_hidden_set() sets the panel's toggle state to a bool value
and runs the animation
+elm_panel_hidden_get() returns whether the panel is hidden
+elm_panel_toggle() toggles the panel to its other state

The remainder of the functions are just general wd->data returns which
were missing, the functionality of which may be of use to people.

SVN revision: 48355

14 years agoLet the grid be shrunk when resizing. By Rafael Fonseca.
Iván Briano [Mon, 26 Apr 2010 16:51:03 +0000 (16:51 +0000)]
Let the grid be shrunk when resizing. By Rafael Fonseca.

SVN revision: 48333

14 years agouse the new item stuff! :):) it works.... wow!
Carsten Haitzler [Mon, 26 Apr 2010 14:59:01 +0000 (14:59 +0000)]
use the new item stuff! :):) it works.... wow!

SVN revision: 48330

14 years agoAdd the ability to set the way the grid contents are aligned in the
titan [Mon, 26 Apr 2010 02:34:07 +0000 (02:34 +0000)]
Add the ability to set the way the grid contents are aligned in the
scroller... Set x and y values ranging from 0.0 to 1.0. Default is 0.5
0.5.

SVN revision: 48326

14 years agotest all combos.
Carsten Haitzler [Sun, 25 Apr 2010 13:13:28 +0000 (13:13 +0000)]
test all combos.

SVN revision: 48310

14 years agoa test for items... getting there.
Carsten Haitzler [Sun, 25 Apr 2010 13:07:48 +0000 (13:07 +0000)]
a test for items... getting there.

SVN revision: 48308

14 years agoAllow setting group for radios
Iván Briano [Fri, 23 Apr 2010 18:04:24 +0000 (18:04 +0000)]
Allow setting group for radios

SVN revision: 48255

14 years agoApply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183...
Rui Seabra [Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)]
Apply the same fix MEJ did ( marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs

SVN revision: 48213

14 years ago * remove shadow declarations
Vincent Torri [Wed, 21 Apr 2010 07:46:03 +0000 (07:46 +0000)]
 * remove shadow declarations
 * missing initializer in Evas_Smart_Class (the data field was missing)

SVN revision: 48197

14 years agoremove unused parameters
Vincent Torri [Wed, 21 Apr 2010 07:38:25 +0000 (07:38 +0000)]
remove unused parameters

SVN revision: 48196

14 years agoSet evas focus for some objects when focused. More will come later.
Iván Briano [Tue, 20 Apr 2010 20:03:05 +0000 (20:03 +0000)]
Set evas focus for some objects when focused. More will come later.

SVN revision: 48179

14 years agoReverting formating patch, broke everything and I'm not dissecting it to fix it properly.
Iván Briano [Mon, 19 Apr 2010 13:32:37 +0000 (13:32 +0000)]
Reverting formating patch, broke everything and I'm not dissecting it to fix it properly.

SVN revision: 48131

14 years agoElementary theme format. Using the same technique as listed in the top of the E17...
toma [Mon, 19 Apr 2010 01:56:41 +0000 (01:56 +0000)]
Elementary theme format. Using the same technique as listed in the top of the E17 theme. I think it looks better, comments are welcome and I can redo it if need be. With the process written down its pretty easy to revert back and do it again with different settings. Sorry about the masssssive commit...

SVN revision: 48115

14 years agoAdd special values to spinner.
Gustavo Sverzut Barbieri [Sun, 18 Apr 2010 00:31:07 +0000 (00:31 +0000)]
Add special values to spinner.
Special value is a string showed instead a numerical one.

By: Rafael Fonseca <rfonseca@profusion.mobi>

SVN revision: 48090

14 years agoAdd elm_scrolled_grid object.
Gustavo Sverzut Barbieri [Sat, 17 Apr 2010 20:21:59 +0000 (20:21 +0000)]
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

14 years agotest++
Carsten Haitzler [Sat, 17 Apr 2010 14:20:06 +0000 (14:20 +0000)]
test++

SVN revision: 48073

14 years agoFixing some compiler warnings on filesector widgets.
Gustavo Lima Chaves [Thu, 15 Apr 2010 18:00:31 +0000 (18:00 +0000)]
Fixing some compiler warnings on filesector widgets.

SVN revision: 48024

14 years agosupport flush and dump protocol - also add call to do this by requuest from
Carsten Haitzler [Mon, 12 Apr 2010 08:27:10 +0000 (08:27 +0000)]
support flush and dump protocol - also add call to do this by requuest from
the app itself.

SVN revision: 47949

14 years agoelm: add lots of doc! Thanks to Mike (zmike/discomfitor)
Boris Faure [Mon, 12 Apr 2010 08:12:02 +0000 (08:12 +0000)]
elm: add lots of doc! Thanks to Mike (zmike/discomfitor)

SVN revision: 47944

14 years agoFix race condition on item selection for file selectors.
Gustavo Lima Chaves [Fri, 9 Apr 2010 17:52:55 +0000 (17:52 +0000)]
Fix race condition on item selection for file selectors.

Also, fixing bug at file selector button (last selection saving).

SVN revision: 47881

14 years agoExpose elm_list as external
Iván Briano [Thu, 8 Apr 2010 20:53:01 +0000 (20:53 +0000)]
Expose elm_list as external

   Patch by Thiago Masaki

SVN revision: 47847

14 years agoWelcome a new Elementary widget: file selector button.
Gustavo Lima Chaves [Thu, 8 Apr 2010 20:36:37 +0000 (20:36 +0000)]
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

14 years agoAssorted fixes to slideshow in lib and externals
Iván Briano [Thu, 8 Apr 2010 20:16:21 +0000 (20:16 +0000)]
Assorted fixes to slideshow in lib and externals

Patch by Thiago Masaki

SVN revision: 47845

14 years agoFix issues with button autorepeat
Iván Briano [Thu, 8 Apr 2010 15:15:22 +0000 (15:15 +0000)]
Fix issues with button autorepeat

Patch by Brian Wang

SVN revision: 47836

14 years agoFix some bugs in Genlist/Photocam. By Fidencio
Tiago Rezende Campos Falcao [Wed, 7 Apr 2010 21:30:54 +0000 (21:30 +0000)]
Fix some bugs in Genlist/Photocam. By Fidencio

Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47823

14 years agoFixes, fixes...
Gustavo Lima Chaves [Wed, 7 Apr 2010 19:37:31 +0000 (19:37 +0000)]
Fixes, fixes...

SVN revision: 47821

14 years agoOne more.
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:28:15 +0000 (17:28 +0000)]
One more.

SVN revision: 47818

14 years agoNote to self: never commit in a hurry.
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:27:58 +0000 (17:27 +0000)]
Note to self: never commit in a hurry.

SVN revision: 47817

14 years agoAgain, and that's all.
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:24:48 +0000 (17:24 +0000)]
Again, and that's all.

SVN revision: 47816

14 years agoNasty one, sorry.
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:24:26 +0000 (17:24 +0000)]
Nasty one, sorry.

SVN revision: 47815

14 years agoadd doc, thanks to Mike Blumenkrantz (zmike)
Boris Faure [Wed, 7 Apr 2010 07:37:49 +0000 (07:37 +0000)]
add doc, thanks to Mike Blumenkrantz (zmike)

SVN revision: 47801

14 years agopatch from disco-man! :)
Carsten Haitzler [Wed, 7 Apr 2010 01:31:36 +0000 (01:31 +0000)]
patch from disco-man! :)

SVN revision: 47799

14 years agoSome fixes in external Photocam. By Fidencio
Tiago Rezende Campos Falcao [Tue, 6 Apr 2010 14:01:08 +0000 (14:01 +0000)]
Some fixes in external Photocam. By Fidencio

Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47785

14 years agoAdded get functions in elm_genlist and added external Genlist support. By Fidencio
Tiago Rezende Campos Falcao [Tue, 6 Apr 2010 14:01:04 +0000 (14:01 +0000)]
Added get functions in elm_genlist and added external Genlist support. By Fidencio

Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47784

14 years agoElm slideshow as edje external, by Masaki.
Gustavo Lima Chaves [Mon, 5 Apr 2010 20:23:30 +0000 (20:23 +0000)]
Elm slideshow as edje external, by Masaki.

SVN revision: 47780

14 years ago1st use of description field for callback signals.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:38:59 +0000 (19:38 +0000)]
1st use of description field for callback signals.

SVN revision: 47779

14 years agoSignal description infra for map.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:21:22 +0000 (19:21 +0000)]
Signal description infra for map.

SVN revision: 47778

14 years agoFix signal description infra for anchorblock.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:20:48 +0000 (19:20 +0000)]
Fix signal description infra for anchorblock.

SVN revision: 47777

14 years agoFix signal description infra for anchorview.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:20:06 +0000 (19:20 +0000)]
Fix signal description infra for anchorview.

SVN revision: 47776

14 years agoSignal description infra for file thumb.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:19:16 +0000 (19:19 +0000)]
Signal description infra for file thumb.

SVN revision: 47775

14 years agoSignal description infra for file selector.
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:18:36 +0000 (19:18 +0000)]
Signal description infra for file selector.

SVN revision: 47774

14 years ago1. if window is transient for another.. if parent del - nuke reference to it
Carsten Haitzler [Mon, 5 Apr 2010 04:58:43 +0000 (04:58 +0000)]
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

14 years agoElm_map exported as edje external.
Gustavo Lima Chaves [Thu, 1 Apr 2010 17:34:49 +0000 (17:34 +0000)]
Elm_map exported as edje external.

SVN revision: 47654

14 years agoToolbar external dont have icon
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 17:08:14 +0000 (17:08 +0000)]
Toolbar external dont have icon

SVN revision: 47653

14 years agofix stupid error and delete icon.
Gustavo Sverzut Barbieri [Thu, 1 Apr 2010 16:04:52 +0000 (16:04 +0000)]
fix stupid error and delete icon.

SVN revision: 47652

14 years agoExternal Photocam. By Fidencio
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:45 +0000 (14:22 +0000)]
External Photocam. By Fidencio

Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47649

14 years agoJust some fixes to show changes like horizontal and inverted in editje.By Fidencio
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:41 +0000 (14:22 +0000)]
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

14 years agoAdded get functions in elm progressbar and added elm progressbar support in edje...
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:36 +0000 (14:22 +0000)]
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

14 years agoAdded get functions in elm spinner and added elm spinner in edje externals.By Fidencio
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:32 +0000 (14:22 +0000)]
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

14 years agoAdded get functions in elm clock and added elm clock support in edje externals. By...
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:26 +0000 (14:22 +0000)]
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

14 years agoFree params in Toolbar external
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:21 +0000 (14:22 +0000)]
Free params in Toolbar external

SVN revision: 47644

14 years agoElm_fileselector as edje external.
Gustavo Lima Chaves [Wed, 31 Mar 2010 20:19:55 +0000 (20:19 +0000)]
Elm_fileselector as edje external.

SVN revision: 47634

14 years agoOops.
Gustavo Lima Chaves [Wed, 31 Mar 2010 19:14:32 +0000 (19:14 +0000)]
Oops.

SVN revision: 47633

14 years agoElm_thumb as an edje external.
Gustavo Lima Chaves [Wed, 31 Mar 2010 19:08:51 +0000 (19:08 +0000)]
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

14 years ago * elementary: Add elm_toolbar_item_selected_get and some const.
Cedric BAIL [Wed, 31 Mar 2010 16:38:37 +0000 (16:38 +0000)]
    * elementary: Add elm_toolbar_item_selected_get and some const.

        Patch by Mike Blumenkrantz (zmike) <mike@zentific.com>.

SVN revision: 47629

14 years agoDon't forget to shutdown ethumb. By Fonseca
Tiago Rezende Campos Falcao [Wed, 31 Mar 2010 12:38:58 +0000 (12:38 +0000)]
Don't forget to shutdown ethumb. By Fonseca

Author:    Rafael Fonseca <rfonseca at profusion.mobi>

SVN revision: 47624

14 years agoshutdown all resources.
Gustavo Sverzut Barbieri [Wed, 31 Mar 2010 12:06:12 +0000 (12:06 +0000)]
shutdown all resources.

SVN revision: 47623

14 years agoToolbar External
Tiago Rezende Campos Falcao [Tue, 30 Mar 2010 20:42:01 +0000 (20:42 +0000)]
Toolbar External

SVN revision: 47608

14 years agoHoversel External
Tiago Rezende Campos Falcao [Tue, 30 Mar 2010 20:41:56 +0000 (20:41 +0000)]
Hoversel External

SVN revision: 47607

14 years agoElm anchorblock edje external support. Same progress as anchorview's.
Gustavo Lima Chaves [Tue, 30 Mar 2010 18:38:02 +0000 (18:38 +0000)]
Elm anchorblock edje external support. Same progress as anchorview's.

SVN revision: 47606

14 years agoAnchorview exported to edje.
Gustavo Lima Chaves [Tue, 30 Mar 2010 17:21:47 +0000 (17:21 +0000)]
Anchorview exported to edje.

Just text exported, for now.
TODO: make editje pass *unescaped* text down to this property.

SVN revision: 47604

14 years ago * elementary: fix segv due to double free. But more is needed to fix
Cedric BAIL [Tue, 30 Mar 2010 11:17:17 +0000 (11:17 +0000)]
* elementary: fix segv due to double free. But more is needed to fix
efreet usage by elm icon test.

SVN revision: 47589

14 years agoavoid adding timer to item that is not realized...
Carsten Haitzler [Tue, 30 Mar 2010 05:42:56 +0000 (05:42 +0000)]
avoid adding timer to item that is not realized...

SVN revision: 47582

14 years agoAlso kill timer on genlist_clear
Iván Briano [Tue, 30 Mar 2010 05:26:14 +0000 (05:26 +0000)]
Also kill timer on genlist_clear

SVN revision: 47580

14 years agoeek 2 longtimer dels.. move to end anyway.
Carsten Haitzler [Tue, 30 Mar 2010 05:22:34 +0000 (05:22 +0000)]
eek 2 longtimer dels.. move to end anyway.

SVN revision: 47579

14 years agolong timer del - on item del. why didnt this happen before?
Carsten Haitzler [Tue, 30 Mar 2010 05:19:00 +0000 (05:19 +0000)]
long timer del - on item del. why didnt this happen before?

SVN revision: 47578

14 years agoDelete long press timer on item deletion
Iván Briano [Tue, 30 Mar 2010 05:03:57 +0000 (05:03 +0000)]
Delete long press timer on item deletion

SVN revision: 47576

14 years agoElm notepad on edje_externals.
Gustavo Lima Chaves [Mon, 29 Mar 2010 20:53:00 +0000 (20:53 +0000)]
Elm notepad on edje_externals.

Still lacking properties exported, will come with more powerful param. types, further.

SVN revision: 47569

14 years agoNew elm widget exported to edje: bubble.
Gustavo Lima Chaves [Mon, 29 Mar 2010 17:19:35 +0000 (17:19 +0000)]
New elm widget exported to edje: bubble.

SVN revision: 47559

14 years agoavoid norender when doing initial queued block - it's limited to 1 block
Carsten Haitzler [Mon, 29 Mar 2010 02:27:26 +0000 (02:27 +0000)]
avoid norender when doing initial queued block - it's limited to 1 block
anyway.

SVN revision: 47550

14 years agoadd test case for longpress and selected in genlist.
Carsten Haitzler [Sun, 28 Mar 2010 01:44:56 +0000 (01:44 +0000)]
add test case for longpress and selected in genlist.

SVN revision: 47522

14 years agoefreet_util_init gone
Sebastian Dransfeld [Sat, 27 Mar 2010 19:58:21 +0000 (19:58 +0000)]
efreet_util_init gone

SVN revision: 47512

14 years agofix unrealizesd dragging item issue.
Carsten Haitzler [Sat, 27 Mar 2010 04:17:01 +0000 (04:17 +0000)]
fix unrealizesd dragging item issue.

SVN revision: 47502

14 years agocall elm_init otherwise applications that still did not will fail.
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:24:40 +0000 (01:24 +0000)]
call elm_init otherwise applications that still did not will fail.

SVN revision: 47499

14 years agoallow init to be called multiple times.
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:24:21 +0000 (01:24 +0000)]
allow init to be called multiple times.

SVN revision: 47498

14 years agofix _elm_widget_type_check() to return FALSE on failure.
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:19:44 +0000 (01:19 +0000)]
fix _elm_widget_type_check() to return FALSE on failure.

SVN revision: 47497

14 years agoallow elm_init() being called with NULL argc/argv.
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:19:05 +0000 (01:19 +0000)]
allow elm_init() being called with NULL argc/argv.

SVN revision: 47496

14 years agoops, forgot some signals.
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 11:25:55 +0000 (11:25 +0000)]
ops, forgot some signals.

SVN revision: 47489

14 years agoDescribe more widgets callbacks.
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 10:59:56 +0000 (10:59 +0000)]
Describe more widgets callbacks.

These are all that Editje support now :-) Add others later as
required, but patches are welcome!

SVN revision: 47488

14 years agoAdding focus and unfocused smart callbacks for entry
Iván Briano [Fri, 26 Mar 2010 06:46:31 +0000 (06:46 +0000)]
Adding focus and unfocused smart callbacks for entry

SVN revision: 47481

14 years agoMake someone else assume responsibility when Elementary is not the father.
Iván Briano [Fri, 26 Mar 2010 05:44:30 +0000 (05:44 +0000)]
Make someone else assume responsibility when Elementary is not the father.

SVN revision: 47479

14 years agoSync with efreet and some cleanup
Sebastian Dransfeld [Fri, 26 Mar 2010 05:34:34 +0000 (05:34 +0000)]
Sync with efreet and some cleanup

SVN revision: 47478

14 years ago_elm_log_dom is not available outside of libelementary.so and EAPIfying it doesn...
Iván Briano [Fri, 26 Mar 2010 05:20:30 +0000 (05:20 +0000)]
_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

14 years agopassword mode - really dont allow selecting of passwords form password fields.
Carsten Haitzler [Fri, 26 Mar 2010 04:45:11 +0000 (04:45 +0000)]
password mode - really dont allow selecting of passwords form password fields.

SVN revision: 47467

14 years agoNULL pointer after deleting timer to avoid bitching later
Iván Briano [Fri, 26 Mar 2010 03:17:05 +0000 (03:17 +0000)]
NULL pointer after deleting timer to avoid bitching later

Patch by Brian Wang

SVN revision: 47462

14 years agoProxy Elementary widget signals to Edje.
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 00:58:14 +0000 (00:58 +0000)]
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

14 years agoSimplify state_set and just apply values that were explicitly set.
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 20:17:34 +0000 (20:17 +0000)]
Simplify state_set and just apply values that were explicitly set.

SVN revision: 47458

14 years agoPort to new Edje EXTERNAL API goodies!
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 18:10:25 +0000 (18:10 +0000)]
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

14 years ago * elementary: enable wheel in slider.
Cedric BAIL [Thu, 25 Mar 2010 17:47:48 +0000 (17:47 +0000)]
* elementary: enable wheel in slider.

SVN revision: 47454

14 years agoSome missing getters...
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 17:27:00 +0000 (17:27 +0000)]
Some missing getters...

I'm working on edje_externals param_get/param_set and they will need
these functions.

SVN revision: 47450

14 years agoreturn "" if conv is null anyway (as thats a "" src string)
Carsten Haitzler [Thu, 25 Mar 2010 05:13:59 +0000 (05:13 +0000)]
return "" if conv is null anyway (as thats a "" src string)

SVN revision: 47441

14 years agowhen adding items to genlist - if there is no block yet, or a block that is
Carsten Haitzler [Wed, 24 Mar 2010 10:00:50 +0000 (10:00 +0000)]
when adding items to genlist - if there is no block yet, or a block that is
incomplete - always calc a block worth immediately.

SVN revision: 47416

14 years agolongpress <- for dan!
Carsten Haitzler [Wed, 24 Mar 2010 08:54:59 +0000 (08:54 +0000)]
longpress <- for dan!

SVN revision: 47414

14 years agoconst and -Wextra, come on guys! :-/
Gustavo Sverzut Barbieri [Wed, 24 Mar 2010 03:06:00 +0000 (03:06 +0000)]
const and -Wextra, come on guys! :-/

SVN revision: 47409

14 years agoExternals Make Scrolled Entry Editable. By Kubo
Tiago Rezende Campos Falcao [Tue, 23 Mar 2010 19:48:40 +0000 (19:48 +0000)]
Externals Make Scrolled Entry Editable. By Kubo

Author:    Raphael Kubo da Costa <kubo at profusion.mobi>

SVN revision: 47400

14 years ago(remove useless edje_object_scale_sets's on objects that are not edje objects)
Carsten Haitzler [Tue, 23 Mar 2010 04:46:53 +0000 (04:46 +0000)]
(remove useless edje_object_scale_sets's on objects that are not edje objects)

but more importantly - fix list to actually have a specific theme/base for it

SVN revision: 47381

14 years agoAdd a theme hook to elm_scrolled_entry
Gustavo Sverzut Barbieri [Tue, 23 Mar 2010 00:06:32 +0000 (00:06 +0000)]
Add a theme hook to elm_scrolled_entry
This patch makes it possible to specify a different style to an
elm_scrolled_entry. Worked fine in ewebkit-demo.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

SVN revision: 47376

14 years agoEdje EXTERNAL should use as parent the first elm_widget so focus chain
Gustavo Sverzut Barbieri [Mon, 22 Mar 2010 21:38:32 +0000 (21:38 +0000)]
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