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
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
Sebastian Dransfeld [Fri, 26 Mar 2010 05:34:34 +0000 (05:34 +0000)]
Sync with efreet and some cleanup
SVN revision: 47478
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
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
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
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
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
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
Cedric BAIL [Thu, 25 Mar 2010 17:47:48 +0000 (17:47 +0000)]
* elementary: enable wheel in slider.
SVN revision: 47454
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
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
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
Carsten Haitzler [Wed, 24 Mar 2010 08:54:59 +0000 (08:54 +0000)]
longpress <- for dan!
SVN revision: 47414
Gustavo Sverzut Barbieri [Wed, 24 Mar 2010 03:06:00 +0000 (03:06 +0000)]
const and -Wextra, come on guys! :-/
SVN revision: 47409
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
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
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
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
Gustavo Sverzut Barbieri [Mon, 22 Mar 2010 21:36:59 +0000 (21:36 +0000)]
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
Carsten Haitzler [Mon, 22 Mar 2010 05:52:05 +0000 (05:52 +0000)]
test elm_entry_markup_to_utf8
SVN revision: 47363
Vincent Torri [Fri, 19 Mar 2010 18:24:58 +0000 (18:24 +0000)]
support Windows file system
patch by Nicolas Aguirre
SVN revision: 47346
Carsten Haitzler [Wed, 17 Mar 2010 01:08:39 +0000 (01:08 +0000)]
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
Gustavo Sverzut Barbieri [Tue, 16 Mar 2010 15:43:49 +0000 (15:43 +0000)]
reorganize genlist functions in header to make more sense.
SVN revision: 47294
Gustavo Sverzut Barbieri [Tue, 16 Mar 2010 15:31:38 +0000 (15:31 +0000)]
Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
Carsten Haitzler [Tue, 16 Mar 2010 12:42:24 +0000 (12:42 +0000)]
add new test.
SVN revision: 47289
Carsten Haitzler [Tue, 16 Mar 2010 09:22:47 +0000 (09:22 +0000)]
test entries in a layout - works just fine! so bug--
SVN revision: 47283
Carsten Haitzler [Tue, 16 Mar 2010 04:11:47 +0000 (04:11 +0000)]
bug-- and.. bug++
SVN revision: 47276
Carsten Haitzler [Tue, 16 Mar 2010 03:28:39 +0000 (03:28 +0000)]
off by 1 - just noticed now!
SVN revision: 47273
Gustavo Sverzut Barbieri [Tue, 16 Mar 2010 02:15:37 +0000 (02:15 +0000)]
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
Carsten Haitzler [Tue, 16 Mar 2010 01:36:29 +0000 (01:36 +0000)]
bug change
SVN revision: 47271
Gustavo Sverzut Barbieri [Mon, 15 Mar 2010 19:30:24 +0000 (19:30 +0000)]
fix compile without ethumb...
SVN revision: 47246
Gustavo Sverzut Barbieri [Mon, 15 Mar 2010 18:46:27 +0000 (18:46 +0000)]
packaging ethumb support for elementary.
SVN revision: 47241
Gustavo Sverzut Barbieri [Mon, 15 Mar 2010 18:34:04 +0000 (18:34 +0000)]
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
Carsten Haitzler [Mon, 15 Mar 2010 13:51:54 +0000 (13:51 +0000)]
bug++ :(
SVN revision: 47236
Carsten Haitzler [Mon, 15 Mar 2010 09:45:16 +0000 (09:45 +0000)]
bug-- note
SVN revision: 47233
Carsten Haitzler [Mon, 15 Mar 2010 02:34:27 +0000 (02:34 +0000)]
bug -= 2;
SVN revision: 47230
Carsten Haitzler [Sun, 14 Mar 2010 22:33:52 +0000 (22:33 +0000)]
aaah typo! fix from lupan.
SVN revision: 47225
Carsten Haitzler [Sun, 14 Mar 2010 13:02:00 +0000 (13:02 +0000)]
bug++ :(
SVN revision: 47206
Carsten Haitzler [Sun, 14 Mar 2010 12:59:12 +0000 (12:59 +0000)]
bug--
SVN revision: 47205
Carsten Haitzler [Sun, 14 Mar 2010 12:27:21 +0000 (12:27 +0000)]
bug--.. and unfortunately.. bug++
SVN revision: 47203
Carsten Haitzler [Sun, 14 Mar 2010 08:21:22 +0000 (08:21 +0000)]
note some bugs i found... to be fixed. at least i know them. :) (and have a
test case).
SVN revision: 47199
Carsten Haitzler [Sun, 14 Mar 2010 03:48:22 +0000 (03:48 +0000)]
fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
Gustavo Sverzut Barbieri [Sat, 13 Mar 2010 21:01:26 +0000 (21:01 +0000)]
Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
Gustavo Sverzut Barbieri [Fri, 12 Mar 2010 22:04:23 +0000 (22:04 +0000)]
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
Carsten Haitzler [Thu, 11 Mar 2010 08:13:20 +0000 (08:13 +0000)]
get rid of forced scrollbars in scroller.
SVN revision: 47131
Carsten Haitzler [Thu, 11 Mar 2010 08:08:15 +0000 (08:08 +0000)]
remove newline stuff.
SVN revision: 47130
Carsten Haitzler [Thu, 11 Mar 2010 06:35:07 +0000 (06:35 +0000)]
and make entry api's acutally work - and be tested.
SVN revision: 47127
Carsten Haitzler [Wed, 10 Mar 2010 14:08:47 +0000 (14:08 +0000)]
aaah eeek - wrong call. fixed.
SVN revision: 47107
Carsten Haitzler [Wed, 10 Mar 2010 13:40:15 +0000 (13:40 +0000)]
mark brokenness for now - will fix.
SVN revision: 47104
Carsten Haitzler [Wed, 10 Mar 2010 13:24:38 +0000 (13:24 +0000)]
fix up test - set no allow focus and no propagate so buttons dont snarf focus
form entries.
SVN revision: 47102
Carsten Haitzler [Wed, 10 Mar 2010 07:58:29 +0000 (07:58 +0000)]
more comprehensive test for entry - there are bugs, this will let me test and
fix.
SVN revision: 47101
Carsten Haitzler [Wed, 10 Mar 2010 07:21:10 +0000 (07:21 +0000)]
remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
Carsten Haitzler [Wed, 10 Mar 2010 06:46:28 +0000 (06:46 +0000)]
more warning--
SVN revision: 47099
Carsten Haitzler [Wed, 10 Mar 2010 04:13:34 +0000 (04:13 +0000)]
take that - more warning--
SVN revision: 47098
Carsten Haitzler [Wed, 10 Mar 2010 03:47:33 +0000 (03:47 +0000)]
and some more warning--
SVN revision: 47097
Carsten Haitzler [Wed, 10 Mar 2010 00:31:54 +0000 (00:31 +0000)]
more wanring-- and safety checks.
SVN revision: 47096
Vincent Torri [Tue, 9 Mar 2010 17:51:30 +0000 (17:51 +0000)]
remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
Carsten Haitzler [Tue, 9 Mar 2010 16:56:31 +0000 (16:56 +0000)]
more members for newer struct - init to null.
SVN revision: 47092
Carsten Haitzler [Tue, 9 Mar 2010 16:46:13 +0000 (16:46 +0000)]
more warnning fixes!
SVN revision: 47087
Carsten Haitzler [Tue, 9 Mar 2010 16:27:46 +0000 (16:27 +0000)]
more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
SVN revision: 47082
Carsten Haitzler [Tue, 9 Mar 2010 14:42:41 +0000 (14:42 +0000)]
warning-- more
SVN revision: 47078
Carsten Haitzler [Tue, 9 Mar 2010 11:42:53 +0000 (11:42 +0000)]
more warning fixes!
SVN revision: 47076
Carsten Haitzler [Tue, 9 Mar 2010 07:30:48 +0000 (07:30 +0000)]
warning fix 1. :)
SVN revision: 47074
Carsten Haitzler [Tue, 9 Mar 2010 06:15:39 +0000 (06:15 +0000)]
patch from discomfitor <- check type of widget on api call and return if not
the right type
SVN revision: 47073
Carsten Haitzler [Tue, 9 Mar 2010 04:00:08 +0000 (04:00 +0000)]
more comprehensive flip test with multiple children etc.
SVN revision: 47072
Gustavo Sverzut Barbieri [Mon, 8 Mar 2010 15:17:10 +0000 (15:17 +0000)]
fix FALSE -> EINA_FALSE.
SVN revision: 47001
Vincent Torri [Sat, 6 Mar 2010 16:46:08 +0000 (16:46 +0000)]
fix compilation on mac os x
based on a patch by Leif Middelschulte
SVN revision: 46911
Gustavo Sverzut Barbieri [Wed, 3 Mar 2010 22:34:57 +0000 (22:34 +0000)]
enable forcing dependencies and ignoring auto-detect/automagic.
SVN revision: 46849
Gustavo Sverzut Barbieri [Wed, 3 Mar 2010 19:02:01 +0000 (19:02 +0000)]
Fix position in notify widget
Content was going outside of notify widget.
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>
SVN revision: 46839
Carsten Haitzler [Tue, 2 Mar 2010 08:47:40 +0000 (08:47 +0000)]
fix genlist delete item in callback bug
SVN revision: 46781
김지훈 [Tue, 2 Mar 2010 08:17:13 +0000 (08:17 +0000)]
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
Gustavo Sverzut Barbieri [Tue, 2 Mar 2010 01:27:08 +0000 (01:27 +0000)]
fix most llvm/gcc real bugs.
SVN revision: 46762
Carsten Haitzler [Tue, 2 Mar 2010 01:14:36 +0000 (01:14 +0000)]
hmm that should have been argv i think
SVN revision: 46759
Carsten Haitzler [Tue, 2 Mar 2010 01:04:38 +0000 (01:04 +0000)]
llvm shhhhhh! (not a real fix)
SVN revision: 46757
Gustavo Sverzut Barbieri [Mon, 1 Mar 2010 23:23:53 +0000 (23:23 +0000)]
being extra careful and verbose on elm_entry_entry_get().
For some reason, we're getting text without the <br> and it is
crashing. Instead of crashing, be loud about that error and bail.
The source of the real bug is still unknown :-(
SVN revision: 46747
Christopher Michael [Mon, 1 Mar 2010 16:20:39 +0000 (16:20 +0000)]
Fix doxy typo.
SVN revision: 46704
Carsten Haitzler [Mon, 1 Mar 2010 02:20:41 +0000 (02:20 +0000)]
allow icon window to resize for testing.
SVN revision: 46676
Carsten Haitzler [Sat, 27 Feb 2010 15:14:34 +0000 (15:14 +0000)]
1. fix child stuff .. smart object members.. that was just bad of me.. oops.
swapped params. i should have known better. *spank* and .. add visible "u
clikced here" tests to launcher test.
SVN revision: 46582
Carsten Haitzler [Sat, 27 Feb 2010 05:20:28 +0000 (05:20 +0000)]
stop using round - no need
SVN revision: 46553
Carsten Haitzler [Fri, 26 Feb 2010 06:30:17 +0000 (06:30 +0000)]
slight change in drag events vs scrolling on_hold to fix small "distance
race" issue.
SVN revision: 46505
Gustavo Sverzut Barbieri [Thu, 25 Feb 2010 21:36:12 +0000 (21:36 +0000)]
allow disabling automagic to discover efreet, eweather and edbus
SVN revision: 46489
Iván Briano [Wed, 24 Feb 2010 21:53:51 +0000 (21:53 +0000)]
Remove unused variables and use correct functions for objects. Now that scrolled_entry is used for the Entry scrolled test, the button callbacks can't be reused.
SVN revision: 46444
Christopher Michael [Tue, 23 Feb 2010 20:54:39 +0000 (20:54 +0000)]
Add case for keyboard geometry changing. (not completely handled yet, but
conformant widget does get notified now).
SVN revision: 46403
김재환 [Mon, 22 Feb 2010 09:48:21 +0000 (09:48 +0000)]
From: 김재환 <jae.hwan.kim@samsung.com>
Subject: Request for "block,clicked" callback event of elm_notify
SVN revision: 46354
Rui Seabra [Sun, 21 Feb 2010 19:40:32 +0000 (19:40 +0000)]
Better values fro url and source.
SVN revision: 46350
Rui Seabra [Sun, 21 Feb 2010 19:18:26 +0000 (19:18 +0000)]
RPM spec for elementary.
SVN revision: 46349
Tiago Rezende Campos Falcao [Fri, 19 Feb 2010 19:56:44 +0000 (19:56 +0000)]
Fix swallow.end align in elm.list items. By Masaki
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 46322
Christopher Michael [Fri, 19 Feb 2010 02:33:17 +0000 (02:33 +0000)]
Updates to elm_conform and elm_win code for new illume2.
SVN revision: 46288
Jonathan Atton [Wed, 17 Feb 2010 22:49:27 +0000 (22:49 +0000)]
Set the content after the content is added as sub object
SVN revision: 46259
Carsten Haitzler [Wed, 17 Feb 2010 05:26:16 +0000 (05:26 +0000)]
oh dear. how did that go unnoticed. it SHOULD use steal!
SVN revision: 46238
Carsten Haitzler [Wed, 17 Feb 2010 02:15:52 +0000 (02:15 +0000)]
be more robust and fall baack to software x11 engine - but warn.
SVN revision: 46230
Gustavo Sverzut Barbieri [Tue, 16 Feb 2010 13:00:31 +0000 (13:00 +0000)]
Update to new event callback signature.
SVN revision: 46208
Jonathan Atton [Sun, 14 Feb 2010 14:09:18 +0000 (14:09 +0000)]
Improve the theme of elm_menu
SVN revision: 46166
Iván Briano [Fri, 12 Feb 2010 15:22:51 +0000 (15:22 +0000)]
Make Entry Scrolled test look a bit better.
SVN revision: 46115
이상진 [Fri, 12 Feb 2010 05:31:26 +0000 (05:31 +0000)]
From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.
1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
- Ecore_Evas_Engine_Func->fn_transparent_set
- ecore_evas_transparent_set , ecore_evas_transparent_get
- elm_win_transparent_set, elm_win_transparent_get
SVN revision: 46106
WonGuk Jeong [Fri, 12 Feb 2010 03:50:19 +0000 (03:50 +0000)]
From: WonGuk Jeong <wonguk.jeong@samsung.com>
There are two API requests of elm_table
elm_table_unpack()
elm_table_clear()
SVN revision: 46105
Vincent Torri [Thu, 11 Feb 2010 16:13:41 +0000 (16:13 +0000)]
fix returned values
SVN revision: 46081
Carsten Haitzler [Wed, 10 Feb 2010 15:11:16 +0000 (15:11 +0000)]
add some callback tests.
SVN revision: 46049
이상진 [Wed, 10 Feb 2010 14:38:08 +0000 (14:38 +0000)]
From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize
(some formatting fixed too like ecore patch)
SVN revision: 46047