Cedric BAIL
341d5cff52
* elementary: Add elm_toolbar_item_selected_get and some const.
...
Patch by Mike Blumenkrantz (zmike) <mike@zentific.com>.
SVN revision: 47629
2010-03-31 16:38:37 +00:00
Tiago Rezende Campos Falcao
b30117f449
Don't forget to shutdown ethumb. By Fonseca
...
Author: Rafael Fonseca <rfonseca at profusion.mobi>
SVN revision: 47624
2010-03-31 12:38:58 +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
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
2f17c7c339
avoid adding timer to item that is not realized...
...
SVN revision: 47582
2010-03-30 05:42:56 +00:00
Iván Briano
d7517b304a
Also kill timer on genlist_clear
...
SVN revision: 47580
2010-03-30 05:26:14 +00:00
Carsten Haitzler
2fd70ad255
eek 2 longtimer dels.. move to end anyway.
...
SVN revision: 47579
2010-03-30 05:22:34 +00:00
Carsten Haitzler
2ae3d5f457
long timer del - on item del. why didnt this happen before?
...
SVN revision: 47578
2010-03-30 05:19:00 +00:00
Iván Briano
9fc0f17a49
Delete long press timer on item deletion
...
SVN revision: 47576
2010-03-30 05:03:57 +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
Carsten Haitzler
a22555c551
avoid norender when doing initial queued block - it's limited to 1 block
...
anyway.
SVN revision: 47550
2010-03-29 02:27:26 +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
f1ff260f2d
efreet_util_init gone
...
SVN revision: 47512
2010-03-27 19:58:21 +00:00
Carsten Haitzler
a9560949f5
fix unrealizesd dragging item issue.
...
SVN revision: 47502
2010-03-27 04:17:01 +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
Gustavo Sverzut Barbieri
64bc9152d5
allow init to be called multiple times.
...
SVN revision: 47498
2010-03-27 01:24:21 +00:00
Gustavo Sverzut Barbieri
86bf257913
fix _elm_widget_type_check() to return FALSE on failure.
...
SVN revision: 47497
2010-03-27 01:19:44 +00:00
Gustavo Sverzut Barbieri
5d36cbef7a
allow elm_init() being called with NULL argc/argv.
...
SVN revision: 47496
2010-03-27 01:19:05 +00:00
Gustavo Sverzut Barbieri
68321b408a
ops, forgot some signals.
...
SVN revision: 47489
2010-03-26 11:25:55 +00:00
Gustavo Sverzut Barbieri
9c951bc6fc
Describe more widgets callbacks.
...
These are all that Editje support now :-) Add others later as
required, but patches are welcome!
SVN revision: 47488
2010-03-26 10:59:56 +00:00
Iván Briano
c70784c37c
Adding focus and unfocused smart callbacks for entry
...
SVN revision: 47481
2010-03-26 06:46:31 +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
Sebastian Dransfeld
182023bb85
Sync with efreet and some cleanup
...
SVN revision: 47478
2010-03-26 05:34:34 +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
Carsten Haitzler
d8f22e5020
password mode - really dont allow selecting of passwords form password fields.
...
SVN revision: 47467
2010-03-26 04:45:11 +00:00
Iván Briano
b01e9fc400
NULL pointer after deleting timer to avoid bitching later
...
Patch by Brian Wang
SVN revision: 47462
2010-03-26 03:17:05 +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
Cedric BAIL
96657f33af
* elementary: enable wheel in slider.
...
SVN revision: 47454
2010-03-25 17:47:48 +00:00
Gustavo Sverzut Barbieri
f48ba4fb22
Some missing getters...
...
I'm working on edje_externals param_get/param_set and they will need
these functions.
SVN revision: 47450
2010-03-25 17:27:00 +00:00
Carsten Haitzler
59961838f1
return "" if conv is null anyway (as thats a "" src string)
...
SVN revision: 47441
2010-03-25 05:13:59 +00:00
Carsten Haitzler
9ed7a42108
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
2010-03-24 10:00:50 +00:00
Carsten Haitzler
29e61e39cb
longpress <- for dan!
...
SVN revision: 47414
2010-03-24 08:54:59 +00:00
Gustavo Sverzut Barbieri
06d14ed245
const and -Wextra, come on guys! :-/
...
SVN revision: 47409
2010-03-24 03:06:00 +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
Carsten Haitzler
9705f7dbe1
(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
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri
8ef9ff019e
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
2010-03-23 00:06:32 +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
Gustavo Sverzut Barbieri
dbd9fcce4d
Enable check of Elementary widgets and getting the first widget that
...
is parent of an Evas_Object.
With these in place, one can check if the given object is an elmentary
widget and query for the first widget that is parent, so we can add
them and keep focus chain correct, useful for Edje externals, patch to
follow.
SVN revision: 47374
2010-03-22 21:36:59 +00:00
Carsten Haitzler
1ec47d82f0
test elm_entry_markup_to_utf8
...
SVN revision: 47363
2010-03-22 05:52:05 +00:00
Vincent Torri
be6a95129a
support Windows file system
...
patch by Nicolas Aguirre
SVN revision: 47346
2010-03-19 18:24:58 +00:00
Carsten Haitzler
2257453fe4
example of how to work around heirachy to go back up the tree - but wont work
...
for going bck down. i.e. - focus.
SVN revision: 47302
2010-03-17 01:08:39 +00:00
Gustavo Sverzut Barbieri
7462246b63
reorganize genlist functions in header to make more sense.
...
SVN revision: 47294
2010-03-16 15:43:49 +00:00
Gustavo Sverzut Barbieri
abe1f4275a
Typedefs to help bindings, type less and make things easier to identify.
...
SVN revision: 47292
2010-03-16 15:31:38 +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
Carsten Haitzler
85994cc72f
off by 1 - just noticed now!
...
SVN revision: 47273
2010-03-16 03:28:39 +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
bbfce69db0
fix compile without ethumb...
...
SVN revision: 47246
2010-03-15 19:30:24 +00:00
Gustavo Sverzut Barbieri
8a9bcd4f54
packaging ethumb support for elementary.
...
SVN revision: 47241
2010-03-15 18:46:27 +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
Gustavo Sverzut Barbieri
e01d72fe26
Use eina_stringshare_replace to avoid crashes.
...
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
2010-03-13 21:01:26 +00:00
Gustavo Sverzut Barbieri
95db33e2c9
Adding space between icon and label in elementary list/slider.
...
By: Fabiano Fidêncio <fidencio@profusion.mobi>
NOTE: maybe it would be better to have a signal to say if it is
with/without icon and add the space only if icon AND
label... but label is pretty common, so it is fine.
SVN revision: 47170
2010-03-12 22:04:23 +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
6c46e85395
remove newline stuff.
...
SVN revision: 47130
2010-03-11 08:08:15 +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
ca93701c55
remove deprecated calls (been deprecated for a while now)
...
SVN revision: 47100
2010-03-10 07:21:10 +00:00
Carsten Haitzler
27a1fc9a9c
more warning--
...
SVN revision: 47099
2010-03-10 06:46:28 +00:00
Carsten Haitzler
23d121c6e7
take that - more warning--
...
SVN revision: 47098
2010-03-10 04:13:34 +00:00
Carsten Haitzler
310810413c
and some more warning--
...
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Carsten Haitzler
df611db335
more wanring-- and safety checks.
...
SVN revision: 47096
2010-03-10 00:31:54 +00:00
Vincent Torri
b07e49d435
remove unused parameter in the library.
...
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler
f3034c8196
more members for newer struct - init to null.
...
SVN revision: 47092
2010-03-09 16:56:31 +00:00
Carsten Haitzler
8599a54123
more warnning fixes!
...
SVN revision: 47087
2010-03-09 16:46:13 +00:00
Carsten Haitzler
58f0a50c45
more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
...
SVN revision: 47082
2010-03-09 16:27:46 +00:00
Carsten Haitzler
6e5836950a
warning-- more
...
SVN revision: 47078
2010-03-09 14:42:41 +00:00
Carsten Haitzler
d32e700fe3
more warning fixes!
...
SVN revision: 47076
2010-03-09 11:42:53 +00:00
Carsten Haitzler
6792e2db2c
warning fix 1. :)
...
SVN revision: 47074
2010-03-09 07:30:48 +00:00
Carsten Haitzler
91e01aa86e
patch from discomfitor <- check type of widget on api call and return if not
...
the right type
SVN revision: 47073
2010-03-09 06:15:39 +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
f838c2a17a
fix FALSE -> EINA_FALSE.
...
SVN revision: 47001
2010-03-08 15:17:10 +00:00
Vincent Torri
23f3dae076
fix compilation on mac os x
...
based on a patch by Leif Middelschulte
SVN revision: 46911
2010-03-06 16:46:08 +00:00
Gustavo Sverzut Barbieri
1c3a3b2a5d
enable forcing dependencies and ignoring auto-detect/automagic.
...
SVN revision: 46849
2010-03-03 22:34:57 +00:00
Gustavo Sverzut Barbieri
708ffb6d79
Fix position in notify widget
...
Content was going outside of notify widget.
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>
SVN revision: 46839
2010-03-03 19:02:01 +00:00
Carsten Haitzler
25d1ec7d80
fix genlist delete item in callback bug
...
SVN revision: 46781
2010-03-02 08:47:40 +00:00
김지훈
243d30a28f
From: 김지훈 <jihoon48.kim@samsung.com>
...
Subject: elc_scrolled_entry.c patch for adding callback
elm_scrolled_entry is consists of a scroller and entry, but it does not trasmit
the below signals:
- cursor,changed
- anchor,clicked
- selection,start
- selection,changed
- selection,cleared
- selection,paste
- selection,copy
- selection,cut
- longpressed
SVN revision: 46780
2010-03-02 08:17:13 +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
a50e54830e
hmm that should have been argv i think
...
SVN revision: 46759
2010-03-02 01:14:36 +00:00
Carsten Haitzler
9ade1a11cc
llvm shhhhhh! (not a real fix)
...
SVN revision: 46757
2010-03-02 01:04:38 +00:00