Bruno Dilly [Fri, 25 Jun 2010 22:40:11 +0000 (22:40 +0000)]
Set hooks for elm object signal emit, listen and unlisten on elm clock
SVN revision: 49869
Bruno Dilly [Fri, 25 Jun 2010 22:38:32 +0000 (22:38 +0000)]
Implement elm_object_signal_listen and unlisten
elm_object_signal_listen add callback(s) for edje object(s) of the widget.
elm_object_signal_unlisten delete this callback.
They're general functions, and every widget should set hooks for these.
It will improve elm extension flexibility. We have already
elm_object_signal_emit to send signals for the widgets theme, adding callbacks
is an expected step.
It provides a way to support sound on widgets. For example, in the elm extension
we could emit "file_to_play", "play", and add a callback with
elm_object_signal_listen for "*", "play". The callback function could use
the signal received to request the file to be played by the backend
sound system.
Certainly we should look for a better way to provide support for sound
on edje, but for now, it does the work. And anyway, it's only a use case
for these new functions.
SVN revision: 49868
Bruno Dilly [Fri, 25 Jun 2010 22:28:06 +0000 (22:28 +0000)]
fix for Ecore API changes on test_genlist
SVN revision: 49867
Vincent Torri [Fri, 25 Jun 2010 12:14:34 +0000 (12:14 +0000)]
next try to make it compile on Windows
SVN revision: 49865
Vincent Torri [Fri, 25 Jun 2010 11:56:02 +0000 (11:56 +0000)]
elm_cnp_helper.c is for X11 stuff only
SVN revision: 49864
Cedric BAIL [Fri, 25 Jun 2010 09:58:14 +0000 (09:58 +0000)]
* elementary: fix Ecore API changes.
SVN revision: 49860
Brett Nash [Thu, 24 Jun 2010 03:02:18 +0000 (03:02 +0000)]
Fix return of hover check.
SVN revision: 49827
Brett Nash [Thu, 24 Jun 2010 03:01:47 +0000 (03:01 +0000)]
return NULL, not NULL.
SVN revision: 49826
Carsten Haitzler [Thu, 24 Jun 2010 02:54:03 +0000 (02:54 +0000)]
aaah safety delete - nash nash nash. for you.
SVN revision: 49825
Jonathan Atton [Wed, 23 Jun 2010 17:58:08 +0000 (17:58 +0000)]
elm_notify: recalc everything if the size hint change
SVN revision: 49820
Brett Nash [Wed, 23 Jun 2010 08:51:58 +0000 (08:51 +0000)]
Add elm_object_top_widget_get(): Useful for hoversels.
Also useful for arguments about widget_top or top_widget.
After all it's not a widget of type top, but rather the widget at the top.
Your views? Opinions on a postcard plase.
SVN revision: 49814
Brett Nash [Wed, 23 Jun 2010 08:08:17 +0000 (08:08 +0000)]
Elm entry now uses new & improved cut and paste.
SVN revision: 49813
Brett Nash [Wed, 23 Jun 2010 08:02:35 +0000 (08:02 +0000)]
Improve content negotiation on paste
SVN revision: 49812
Brett Nash [Wed, 23 Jun 2010 01:28:57 +0000 (01:28 +0000)]
Fix elm->elm copy
SVN revision: 49810
Jonathan Atton [Tue, 22 Jun 2010 19:08:52 +0000 (19:08 +0000)]
elm_panes : add the horizontal mode
SVN revision: 49801
Jonathan Atton [Tue, 22 Jun 2010 17:27:19 +0000 (17:27 +0000)]
remove useless calcul
SVN revision: 49795
Brett Nash [Tue, 22 Jun 2010 05:12:08 +0000 (05:12 +0000)]
Add me to authors, and make selection work a bit better.
SVN revision: 49792
Brett Nash [Tue, 22 Jun 2010 01:25:20 +0000 (01:25 +0000)]
Clarify 'secondary' string.
SVN revision: 49791
Jonathan Atton [Mon, 21 Jun 2010 20:58:40 +0000 (20:58 +0000)]
refactor elm_panes_left_content* -> elm_panes_content_left*
SVN revision: 49788
Jonathan Atton [Mon, 21 Jun 2010 20:39:11 +0000 (20:39 +0000)]
elm_panes : center the bar
SVN revision: 49787
Jonathan Atton [Mon, 21 Jun 2010 20:15:57 +0000 (20:15 +0000)]
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
Iván Briano [Mon, 21 Jun 2010 18:16:45 +0000 (18:16 +0000)]
Fix the usage of API_ENTRY macro in the new funcion _newest_focus_order_get
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>
SVN revision: 49785
Carsten Haitzler [Mon, 21 Jun 2010 07:39:49 +0000 (07:39 +0000)]
fix focus issue if child has focus and is deleted (or in this case not
- hidden) - focuse most recent focused widget.
SVN revision: 49780
Jonathan Atton [Sun, 20 Jun 2010 16:01:15 +0000 (16:01 +0000)]
Add a new widget : elm_panes :)
SVN revision: 49773
Cedric BAIL [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
* configure.ac: take inept translation a little bit into account.
SVN revision: 49743
Iván Briano [Thu, 17 Jun 2010 16:09:23 +0000 (16:09 +0000)]
Avoid returning stack trash, thanks nash.
SVN revision: 49730
Brett Nash [Thu, 17 Jun 2010 08:50:43 +0000 (08:50 +0000)]
Updates to entry to use selection code.
SVN revision: 49728
Brett Nash [Thu, 17 Jun 2010 08:14:32 +0000 (08:14 +0000)]
Fix == and =.
SVN revision: 49727
Brett Nash [Thu, 17 Jun 2010 08:07:27 +0000 (08:07 +0000)]
Add to Makefile.
SVN revision: 49726
Brett Nash [Thu, 17 Jun 2010 08:06:07 +0000 (08:06 +0000)]
Add the Cut and Paste helper code.
SVN revision: 49725
Iván Briano [Wed, 16 Jun 2010 20:58:09 +0000 (20:58 +0000)]
Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49706
Iván Briano [Wed, 16 Jun 2010 20:58:01 +0000 (20:58 +0000)]
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
Iván Briano [Wed, 16 Jun 2010 20:57:51 +0000 (20:57 +0000)]
Changing internal name from chk to radio
chk is used to check.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49704
Iván Briano [Wed, 16 Jun 2010 20:57:42 +0000 (20:57 +0000)]
Including icon show/hide in bubble widget
States and program craeted to allow that the user can change/delete
an icon without the icon remain floating on the screen
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49703
Iván Briano [Wed, 16 Jun 2010 20:57:33 +0000 (20:57 +0000)]
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
Bruno Dilly [Tue, 15 Jun 2010 15:55:22 +0000 (15:55 +0000)]
Fix max value wrapping calculation of elm spinner.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 49683
Bruno Dilly [Tue, 15 Jun 2010 15:04:05 +0000 (15:04 +0000)]
Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
Bruno Dilly [Tue, 15 Jun 2010 14:11:13 +0000 (14:11 +0000)]
Add elm_object_signal_emit
This function sends a signal to the edje object of the obj.
It's a general function, and every widget should set a hook for this.
I'm setting a hook only for the spinner now, but soon I will work on other widgets.
SVN revision: 49681
Jonathan Atton [Sat, 12 Jun 2010 16:05:48 +0000 (16:05 +0000)]
Add style "fade_invisible" to elm_panel. This style create an invisible panel (no image, we only see the content) and the transition is a fading
SVN revision: 49657
Brett Nash [Thu, 10 Jun 2010 06:41:50 +0000 (06:41 +0000)]
/me shuts up GCC for not understanding this new fangled C code.
SVN revision: 49608
Christopher Michael [Thu, 10 Jun 2010 01:21:39 +0000 (01:21 +0000)]
Don't allow toolbar to be dragable w/ the mouse if scrollable is set
to False.
SVN revision: 49602
Christopher Michael [Wed, 9 Jun 2010 21:08:12 +0000 (21:08 +0000)]
Use proper formatting.
SVN revision: 49597
Gustavo Sverzut Barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
SVN revision: 49594
Gustavo Lima Chaves [Mon, 7 Jun 2010 19:01:37 +0000 (19:01 +0000)]
Shut up compilation error on OpenSolaris, for this widget.
Here it is, vtorri, sorry :)
SVN revision: 49557
Christopher Michael [Mon, 7 Jun 2010 17:28:25 +0000 (17:28 +0000)]
Don't need to get canonical build & host twice.
SVN revision: 49555
Bruno Dilly [Mon, 7 Jun 2010 14:19:38 +0000 (14:19 +0000)]
oops--
Setting timer handle to NULL when canceling cb function =/
SVN revision: 49554
Bruno Dilly [Mon, 7 Jun 2010 13:43:07 +0000 (13:43 +0000)]
oops - forgot to return CALLBACK_CANCEL on elm_clock
SVN revision: 49553
Bruno Dilly [Sun, 6 Jun 2010 22:15:27 +0000 (22:15 +0000)]
This patch make it possible to ask elm_thumb for the generated thumbnail
path.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 49550
Bruno Dilly [Sun, 6 Jun 2010 22:09:48 +0000 (22:09 +0000)]
Del spin timer on elm_spinner del_hook
SVN revision: 49549
Bruno Dilly [Sun, 6 Jun 2010 22:08:50 +0000 (22:08 +0000)]
Make clock set mode consistent with spinners
It will change values while the user keep arrows pressed.
SVN revision: 49548
Vincent Torri [Sun, 6 Jun 2010 20:22:27 +0000 (20:22 +0000)]
fix prototype of elm_clock_digit_edit_get() too
SVN revision: 49547
Vincent Torri [Sun, 6 Jun 2010 20:19:26 +0000 (20:19 +0000)]
use Elm_Clock_Digedit instead of unsigned int
SVN revision: 49546
Carsten Haitzler [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release
SVN revision: 49540
Carsten Haitzler [Sun, 6 Jun 2010 17:27:07 +0000 (17:27 +0000)]
Snapshot TMP/st/elementary
SVN revision: 49539
Carsten Haitzler [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.
SVN revision: 49526
Carsten Haitzler [Sun, 6 Jun 2010 16:43:00 +0000 (16:43 +0000)]
Snapshot TMP/st/elementary
SVN revision: 49522
Carsten Haitzler [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.
SVN revision: 49506
Carsten Haitzler [Sun, 6 Jun 2010 16:08:32 +0000 (16:08 +0000)]
Snapshot TMP/st/elementary
SVN revision: 49503
Brett Nash [Sun, 6 Jun 2010 04:44:54 +0000 (04:44 +0000)]
Scrolled entry doc format update
SVN revision: 49475
Brett Nash [Sun, 6 Jun 2010 04:32:41 +0000 (04:32 +0000)]
Minor fix to documentation formatting
SVN revision: 49474
Brett Nash [Sun, 6 Jun 2010 04:09:56 +0000 (04:09 +0000)]
Don't deref a pointer before we check it.
SVN revision: 49473
Fabiano Fidêncio [Sat, 5 Jun 2010 13:12:45 +0000 (13:12 +0000)]
From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...
SVN revision: 49470
Carsten Haitzler [Sat, 5 Jun 2010 05:30:59 +0000 (05:30 +0000)]
dont need that anymore.
SVN revision: 49466
Carsten Haitzler [Sat, 5 Jun 2010 04:34:00 +0000 (04:34 +0000)]
oops - typo. fix.
SVN revision: 49465
Carsten Haitzler [Fri, 4 Jun 2010 05:14:35 +0000 (05:14 +0000)]
init imf in elm_main. saves de-init and re-inti when entires are around.
SVN revision: 49442
Carsten Haitzler [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.
SVN revision: 49429
Rafael Fonseca [Thu, 3 Jun 2010 12:53:14 +0000 (12:53 +0000)]
From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.
SVN revision: 49411
Iván Briano [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
Carsten Haitzler [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.
SVN revision: 49344
Carsten Haitzler [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
Carsten Haitzler [Sat, 29 May 2010 09:48:05 +0000 (09:48 +0000)]
elm... version too!
SVN revision: 49284
Mike Blumenkrantz [Thu, 27 May 2010 09:03:22 +0000 (09:03 +0000)]
remove test panel 2, add in top panel test
SVN revision: 49224
Mike Blumenkrantz [Thu, 27 May 2010 09:02:44 +0000 (09:02 +0000)]
this was close, but not quite the right variable name
SVN revision: 49223
Mike Blumenkrantz [Thu, 27 May 2010 09:01:41 +0000 (09:01 +0000)]
kill off some unused variables, return values on some widtype check fails
SVN revision: 49222
Bruno Dilly [Wed, 26 May 2010 03:08:10 +0000 (03:08 +0000)]
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
Bruno Dilly [Tue, 25 May 2010 13:36:20 +0000 (13:36 +0000)]
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
Bruno Dilly [Tue, 25 May 2010 13:17:00 +0000 (13:17 +0000)]
Add new test for flip widget, using flips inside of a flip.
This test shows a bug in current flip implementation.
SVN revision: 49194
Mike Blumenkrantz [Mon, 24 May 2010 08:28:23 +0000 (08:28 +0000)]
sighhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
SVN revision: 49176
Mike Blumenkrantz [Mon, 24 May 2010 08:26:18 +0000 (08:26 +0000)]
fix smart_object_add param order (hooray for Sachiel at 4:30am!)
SVN revision: 49175
Bruno Dilly [Sun, 23 May 2010 23:54:16 +0000 (23:54 +0000)]
Adding function to set cell selected in elm_scrolled_grid
By: Rafael Fonseca
SVN revision: 49173
Bruno Dilly [Sun, 23 May 2010 23:44:36 +0000 (23:44 +0000)]
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
Bruno Dilly [Sun, 23 May 2010 23:41:32 +0000 (23:41 +0000)]
Implement elm index sorted insert
- Name index item as Elm_Index_Item
- Add some other index functions:
+ Item find
+ Data get/set
+ Letter get
I think this stuff will make easier to create index for
dynamically created lists.
SVN revision: 49171
Christopher Michael [Fri, 21 May 2010 19:26:57 +0000 (19:26 +0000)]
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
Christopher Michael [Fri, 21 May 2010 17:16:42 +0000 (17:16 +0000)]
Fix compiler warnings ... yes, they were fairly harmless, but I hate
seeing warnings during compile, especially when they are easily
corrected.
SVN revision: 49109
Andreas Volz [Thu, 20 May 2010 18:00:33 +0000 (18:00 +0000)]
added a usage hint about casting int to void* and back
SVN revision: 49071
Bruno Dilly [Wed, 19 May 2010 13:17:02 +0000 (13:17 +0000)]
Implements elm_object_focus_get that returns if the object is focused.
SVN revision: 49005
Bruno Dilly [Tue, 18 May 2010 18:23:11 +0000 (18:23 +0000)]
When the grid size was different from the viewport's, the min size
for the grid was being wrongly calculated leading to children
objects leaking through the widget.
By Rafael Fonseca
SVN revision: 48984
Iván Briano [Mon, 17 May 2010 17:36:43 +0000 (17:36 +0000)]
Set main object as resize object for the widget
This way, Elementary handles stacking, resizing and moving of the
object by itself, instead of letting it loose and stacked over
everything else.
SVN revision: 48945
Gustavo Sverzut Barbieri [Thu, 13 May 2010 22:02:26 +0000 (22:02 +0000)]
Work around elementary's lack of proper inheritance.
Someday someone should take care to make elementary real smart objects
and benefit from everything it brings... yes, types more, but it is
worth -- and we added macros to help the type-a-lot.
SVN revision: 48831
Iván Briano [Wed, 12 May 2010 21:59:08 +0000 (21:59 +0000)]
Signal edje when clock gets focused.
By Rafael Fonseca
SVN revision: 48789
Carsten Haitzler [Wed, 12 May 2010 16:37:33 +0000 (16:37 +0000)]
add docs.
SVN revision: 48779
Carsten Haitzler [Wed, 12 May 2010 16:32:12 +0000 (16:32 +0000)]
working much better elm config stuff. hs old config sliders still there, now
adding theme tab. not complete tho.
SVN revision: 48778
Luis Felipe Strano Moraes [Wed, 12 May 2010 15:43:54 +0000 (15:43 +0000)]
Create elm_list_item_sorted_insert
Function that include items to an elm list in a sorted way defined by
an Eina_Compare_Cb function.
Author: Bruno Dilly <bdilly@profusion.mobi>
SVN revision: 48777
Carsten Haitzler [Wed, 12 May 2010 01:03:46 +0000 (01:03 +0000)]
theme -> can specify a new theme for an object andit gets inherited. need to
add tests.
SVN revision: 48771
Iván Briano [Tue, 11 May 2010 15:25:01 +0000 (15:25 +0000)]
Let the user choose what digits of the clock are editable.
Patch by Rafael "15 years of experience" Fonseca.
SVN revision: 48757
Carsten Haitzler [Sun, 9 May 2010 16:05:18 +0000 (16:05 +0000)]
if sub scroller bigger than oparent - it's still usable now - u can get to
edge of child then it stops and now parent moves etc.
SVN revision: 48717
Carsten Haitzler [Sun, 9 May 2010 10:46:49 +0000 (10:46 +0000)]
fix list scroller to use ppropeer internal scroller calls.
remove commented out code from elm_scroller
SVN revision: 48712
Carsten Haitzler [Sun, 9 May 2010 02:19:14 +0000 (02:19 +0000)]
oooh lookie here. profiel and config can now be properties on root - and will
be re-fectsh when they change etc. etc. etc. :)
SVN revision: 48701
Carsten Haitzler [Fri, 7 May 2010 15:49:06 +0000 (15:49 +0000)]
re-jig elm config stuff to be in its own file and modularise it a little.
will be modified more soon to support x prop.
SVN revision: 48669
Carsten Haitzler [Fri, 7 May 2010 13:24:29 +0000 (13:24 +0000)]
and do the other instances too.
SVN revision: 48668