Brett Nash [Fri, 10 Sep 2010 09:03:05 +0000 (09:03 +0000)]
Remove spurious underscores.
SVN revision: 52130
Brett Nash [Fri, 10 Sep 2010 08:24:29 +0000 (08:24 +0000)]
Elm photo stops scrolling events when dragging now.
SVN revision: 52129
Brett Nash [Fri, 10 Sep 2010 08:24:25 +0000 (08:24 +0000)]
Use hold flag for detecting drags.
SVN revision: 52128
Brett Nash [Fri, 10 Sep 2010 08:24:21 +0000 (08:24 +0000)]
Elm; drag_start now has a donecb.
SVN revision: 52127
Brett Nash [Fri, 10 Sep 2010 07:24:10 +0000 (07:24 +0000)]
Elm: cnp: Handle non-uri uris when searching
SVN revision: 52126
Brett Nash [Fri, 10 Sep 2010 07:24:07 +0000 (07:24 +0000)]
elm photo: Long press now tracks mouse movements.
SVN revision: 52125
Brett Nash [Fri, 10 Sep 2010 07:24:03 +0000 (07:24 +0000)]
Use file urls for files (hack hack hack).
SVN revision: 52124
Brett Nash [Fri, 10 Sep 2010 07:23:56 +0000 (07:23 +0000)]
Bit of dnd work.
SVN revision: 52123
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 02:05:45 +0000 (02:05 +0000)]
Use elm_widget_item common base.
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!
It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.
Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.
SVN revision: 52118
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 02:01:32 +0000 (02:01 +0000)]
Disconnect from signals if the pan_obj goes away.
IF we're replacing the pan_obj, then we should disconnect from the old
in order to avoid receive useless callbacks... actually if it is an
external pan object and we die and it does not, we may end crashing
due it calling function callbacks with garbage data.
SVN revision: 52117
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 01:54:05 +0000 (01:54 +0000)]
Introducing Elm_Widget_Item: common ground for widget sub items.
Lots of widgets have items that are not Evas_Object of type elm_widget
per se, like Elm_List_Item or Elm_Toolbar_Item. They all have, or
should have, some common attributes and functions such as data,
del_cb, a view object and a parent/owner widget. Thus this is being
provided and will be later used in future patches.
Right now I opted to hide elm_widget_item_del_cb_set(),
elm_widget_item_data_get(), elm_widget_item_data_set() inside
elm_priv.h and keep the old functions as wrappers to the new. But
maybe in future we can remove them and have the user to call the
common function.
Future extensions will use this base, such as tooltip support.
SVN revision: 52116
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 01:40:50 +0000 (01:40 +0000)]
Just delete children and related from del_pre_hook, not del_hook!
At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.
SVN revision: 52115
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 01:35:46 +0000 (01:35 +0000)]
Just delete children and related from del_pre_hook, not del_hook!
At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.
Also refactor the destructor to do recursion and stop allocate list
nodes to avoid it... simpler.
SVN revision: 52114
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 01:29:06 +0000 (01:29 +0000)]
Just delete children and related from del_pre_hook, not del_hook!
At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.
SVN revision: 52113
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 01:04:19 +0000 (01:04 +0000)]
Don't cast Eina_Inlist directly to Elm_Genlist_Item.
The correct way is to use EINA_INLIST_CONTAINER_GET() that allows the
Eina_Inlist structure to be moved around in the structure. Right now
it did work fine, but I want to change the Elm_Genlist_Item later and
this change will be required and it is better to come in a separate
patch.
SVN revision: 52112
Gustavo Sverzut Barbieri [Fri, 10 Sep 2010 00:28:47 +0000 (00:28 +0000)]
don't report callbacks on NULL object.
From _del_pre_hook() we first delete pan_smart and then call
elm_genlist_clear() to rip off children, however genlist_clear was
always doing evas_object_smart_callback_call() on it.
SVN revision: 52111
Rafael Fonseca [Thu, 9 Sep 2010 22:01:30 +0000 (22:01 +0000)]
Add signal emit hook to gengrid.
Like was already done to other widgets by bdilly, this patch adds the
possibility to send signals to elm_gengrid's theme.
P.S: lfelipe, ahi esta mi primer commit :P
SVN revision: 52109
Bruno Dilly [Thu, 9 Sep 2010 19:42:16 +0000 (19:42 +0000)]
Remove annoying blank lines inside elm test_launcher file
SVN revision: 52103
Gustavo Sverzut Barbieri [Thu, 9 Sep 2010 19:39:30 +0000 (19:39 +0000)]
some -Wall -Wextra warning cleanups.
elm_cnp_helper.c warnings were not fixed as they look like
implementation nash will do soon.
SVN revision: 52102
Bruno Dilly [Thu, 9 Sep 2010 19:35:53 +0000 (19:35 +0000)]
Remove some unused variables from elm tests and externals
SVN revision: 52101
Bruno Dilly [Thu, 9 Sep 2010 19:34:58 +0000 (19:34 +0000)]
Fix layout options used by external elm_slideshow
SVN revision: 52099
Gustavo Sverzut Barbieri [Thu, 9 Sep 2010 19:34:56 +0000 (19:34 +0000)]
Add Elm prefix to struct _Menu_Item.
I've noticed this while grepping the code.
SVN revision: 52098
Bruno Dilly [Thu, 9 Sep 2010 18:53:36 +0000 (18:53 +0000)]
Add elm object signal emit and callback add / del hooks to entry, list and index
SVN revision: 52087
Brett Nash [Thu, 9 Sep 2010 09:37:19 +0000 (09:37 +0000)]
More compilation fixes. FIxing for windows broke linux...
SVN revision: 52038
Brett Nash [Thu, 9 Sep 2010 09:12:08 +0000 (09:12 +0000)]
Fix typo from cut & paste
SVN revision: 52037
Brett Nash [Thu, 9 Sep 2010 08:59:42 +0000 (08:59 +0000)]
Hooks for dragging: not working, just so I can push.
SVN revision: 52036
Brett Nash [Thu, 9 Sep 2010 08:59:38 +0000 (08:59 +0000)]
Stubs + hide stuff for crazy fr^H^Hwindows users.
SVN revision: 52035
Brett Nash [Thu, 9 Sep 2010 08:59:34 +0000 (08:59 +0000)]
Fix some uncommon typos. A full list is included in the patch.
SVN revision: 52034
Brett Nash [Thu, 9 Sep 2010 06:05:31 +0000 (06:05 +0000)]
Set size first, to avoid broken sizing in elm_photo
SVN revision: 52027
Brett Nash [Thu, 9 Sep 2010 06:05:28 +0000 (06:05 +0000)]
elm: debug --;
SVN revision: 52026
Brett Nash [Thu, 9 Sep 2010 05:37:02 +0000 (05:37 +0000)]
elm: dnd: Leak less.
SVN revision: 52025
Brett Nash [Thu, 9 Sep 2010 03:09:49 +0000 (03:09 +0000)]
Use callback instead of evil printf hack.
I wish I knew why the other method didn't work.
SVN revision: 52022
Brett Nash [Thu, 9 Sep 2010 03:09:46 +0000 (03:09 +0000)]
Handle jpegs like we do pngs ;-)
SVN revision: 52021
Brett Nash [Thu, 9 Sep 2010 03:09:42 +0000 (03:09 +0000)]
indentationally inspired patch.
SVN revision: 52020
Brett Nash [Thu, 9 Sep 2010 03:09:28 +0000 (03:09 +0000)]
Remove some debug, add some FIXMEs
SVN revision: 52019
Davide Andreoli [Thu, 9 Sep 2010 01:07:50 +0000 (01:07 +0000)]
Scrolled Entry: forward the event_info from the entry to the
scrolled_entry callbacks. Without this any scrolled entry was
not able to use the event_info struct.
SVN revision: 52015
Lucas De Marchi [Thu, 9 Sep 2010 00:35:43 +0000 (00:35 +0000)]
Fix common misspellings
Following misspellings were fixed:
accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful
SVN revision: 52009
Davide Andreoli [Wed, 8 Sep 2010 23:04:49 +0000 (23:04 +0000)]
Add a REALLY simple command line option to elementary_test.
You can now call the test app with the name of a specific test
to make it \autorun'.
SVN revision: 51997
Iván Briano [Wed, 8 Sep 2010 19:26:58 +0000 (19:26 +0000)]
Skip pages on the smart functions that act on members. It was making some appear when they weren't supposed to.
SVN revision: 51994
Brett Nash [Wed, 8 Sep 2010 08:00:45 +0000 (08:00 +0000)]
elm: dnd cleanup a little better when objects are deleted.
SVN revision: 51982
Brett Nash [Wed, 8 Sep 2010 06:20:09 +0000 (06:20 +0000)]
Shutdown DND correctly.
SVN revision: 51978
Brett Nash [Wed, 8 Sep 2010 06:20:05 +0000 (06:20 +0000)]
Add 'drop' callback when objects are dropped.
SVN revision: 51977
Brett Nash [Wed, 8 Sep 2010 06:20:01 +0000 (06:20 +0000)]
Elm: photo doco ++
SVN revision: 51976
Brett Nash [Wed, 8 Sep 2010 06:19:57 +0000 (06:19 +0000)]
Elm: doco++ (image editable set)
SVN revision: 51975
Brett Nash [Wed, 8 Sep 2010 04:55:24 +0000 (04:55 +0000)]
Elm: els_icon: Actually work if the image is already loaded.
SVN revision: 51974
Brett Nash [Wed, 8 Sep 2010 04:55:20 +0000 (04:55 +0000)]
editiable flags to allow drag dests for photso and images.
SVN revision: 51973
Brett Nash [Wed, 8 Sep 2010 04:55:16 +0000 (04:55 +0000)]
Fix image support, support jpgs
SVN revision: 51972
Brett Nash [Wed, 8 Sep 2010 04:55:12 +0000 (04:55 +0000)]
Elm: CNP: Handle non-entries and non-elm widgets on drag/drop
SVN revision: 51971
Brett Nash [Wed, 8 Sep 2010 04:55:09 +0000 (04:55 +0000)]
Update types for new selections.
SVN revision: 51970
Brett Nash [Wed, 8 Sep 2010 04:55:05 +0000 (04:55 +0000)]
Start cleaning cnp/dnd code for elm.
SVN revision: 51969
Brett Nash [Wed, 8 Sep 2010 04:55:01 +0000 (04:55 +0000)]
Docimet elm_image_object_size_get
SVN revision: 51968
Brett Nash [Wed, 8 Sep 2010 04:54:46 +0000 (04:54 +0000)]
Elm: Simplify elm photo size handling.
Also don't carry around a negative size when it's not used.
SVN revision: 51967
Davide Andreoli [Wed, 8 Sep 2010 03:54:42 +0000 (03:54 +0000)]
whitespaces--
Im going to clear the fileselector widget, I will make the theme use
a layout instead of a fixed box and also I will clear the api that have
silly names atm
If you have suggestions please speak now
DaveMDS
SVN revision: 51966
Gustavo Sverzut Barbieri [Tue, 7 Sep 2010 15:54:43 +0000 (15:54 +0000)]
elm_selection_get() is in elm_priv.h and should not be used outside libelementary.so
this is clear when building with -fvisibility=hidden and it breaks
with undefined reference as elm_selection_get() is not marked as EAPI.
SVN revision: 51956
Brett Nash [Tue, 7 Sep 2010 09:36:51 +0000 (09:36 +0000)]
Handle providers a little better.
SVN revision: 51938
Brett Nash [Tue, 7 Sep 2010 06:56:16 +0000 (06:56 +0000)]
Merge branch 'elmdnd'
Conflicts:
trunk/TMP/st/elementary/.gitignore
SVN revision: 51935
Christopher Michael [Sat, 4 Sep 2010 18:32:59 +0000 (18:32 +0000)]
Update email address across the board.
SVN revision: 51890
Luis Felipe Strano Moraes [Sat, 4 Sep 2010 17:24:01 +0000 (17:24 +0000)]
Adding bdilly and rfonseca to the AUTHORS file.
SVN revision: 51889
Carsten Haitzler [Sat, 4 Sep 2010 12:31:39 +0000 (12:31 +0000)]
and more test for launcher 3 - i can't reproduce the reported bug. my
guess is that its been fixed or that something subtle is being done
"wrong"
SVN revision: 51884
Christopher Michael [Fri, 3 Sep 2010 17:15:38 +0000 (17:15 +0000)]
Fix ticket #569: Setting the same icon file twice for elm_icon would
make the object disappear.
SVN revision: 51865
Carsten Haitzler [Fri, 3 Sep 2010 08:27:05 +0000 (08:27 +0000)]
aaargh. hack hack.
SVN revision: 51856
Carsten Haitzler [Fri, 3 Sep 2010 00:08:11 +0000 (00:08 +0000)]
and umm... work... and .. struff.. ugh. don't ask.
SVN revision: 51851
Iván Briano [Thu, 2 Sep 2010 14:33:04 +0000 (14:33 +0000)]
Versioned config for Elementary.
This is not doing much now, just the version field in the struct,
some stuff stolen from E and a base to use when new things are added.
There are some comments in the code about what to do in certain cases
that E does not have, like a system update, new config and apps linked
to the old version still running when the config Atoms are updated. These
things we'll probably be addressed as they are needed, as well as come
clean up in quick code I ditched in there, but it would be good to do so
with more feedback from the good guys around that like to break SVN
every now and then.
Since the commit message is already long enough, I'm adding some more crap
just for the sake of doing so. I could go with some tl;dr thing as well,
but I don't feel like resuming what's up there.
Have a nice day.
SVN revision: 51843
Carsten Haitzler [Thu, 2 Sep 2010 10:25:05 +0000 (10:25 +0000)]
finally! flip works! happy!
SVN revision: 51833
Carsten Haitzler [Thu, 2 Sep 2010 10:15:03 +0000 (10:15 +0000)]
make flip 3 easier to tell what's up.. and it's not really right..
flip in flip :(
SVN revision: 51832
Carsten Haitzler [Thu, 2 Sep 2010 09:58:52 +0000 (09:58 +0000)]
ooof flippidy-do-da... working much better.
SVN revision: 51831
Tom Hacohen [Wed, 1 Sep 2010 14:30:31 +0000 (14:30 +0000)]
Elementary: Fixed utf8->markup. Should probably just put it all in one place or at least depend on the textblock working on.
SVN revision: 51810
Carsten Haitzler [Wed, 1 Sep 2010 01:13:16 +0000 (01:13 +0000)]
sky test edje - clip contents pls. :)
SVN revision: 51793
Carsten Haitzler [Tue, 31 Aug 2010 06:20:33 +0000 (06:20 +0000)]
fix some most unfortunate lack of clip honorning :)
SVN revision: 51773
Sebastian Dransfeld [Sun, 29 Aug 2010 08:51:43 +0000 (08:51 +0000)]
ignore++
SVN revision: 51715
Brett Nash [Wed, 25 Aug 2010 02:58:37 +0000 (02:58 +0000)]
More ignores for .git .ppl
SVN revision: 51626
Bruno Dilly [Mon, 23 Aug 2010 18:50:51 +0000 (18:50 +0000)]
Oops, fix leap years detection algorithm on elm_calendar
SVN revision: 51586
Bruno Dilly [Mon, 23 Aug 2010 18:46:43 +0000 (18:46 +0000)]
Add tests for elm calendar
SVN revision: 51585
Bruno Dilly [Mon, 23 Aug 2010 18:45:36 +0000 (18:45 +0000)]
Add Elementary Calendar Widget
A calendar is a widget that allows the user to select a date. It has
support to adding marks (holidays and checks by default). The calendar
is displayed month at a time.
Weekdays names and the function used to format month and year to
be displayed can be set, giving more flexibility to this widget.
SVN revision: 51584
Vincent Torri [Sun, 22 Aug 2010 07:19:29 +0000 (07:19 +0000)]
Use a macro to add a specific path for efl tools (edje_cc and eet, here)
See usage in efl_binary.m4
SVN revision: 51514
Vincent Torri [Sun, 22 Aug 2010 07:12:11 +0000 (07:12 +0000)]
remove whitespaces
SVN revision: 51513
Vincent Torri [Sun, 22 Aug 2010 05:45:48 +0000 (05:45 +0000)]
remove tab
SVN revision: 51509
Lucas De Marchi [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
Christopher Michael [Fri, 20 Aug 2010 17:10:35 +0000 (17:10 +0000)]
Spelling.
SVN revision: 51469
titan [Thu, 19 Aug 2010 20:57:51 +0000 (20:57 +0000)]
Make sure after moving the cursor on cursor end in a scrolled entry, the scroller stays where it was.
Should this be done for all cursor moves? Currently a cursor move always takes the scroller to the top.
SVN revision: 51450
Christopher Michael [Wed, 18 Aug 2010 19:18:42 +0000 (19:18 +0000)]
Lots of fixes:
Add UNUSED where needed.
Remove unused variables.
Fix lots of compiler warnings.
Formatting.
SVN revision: 51320
Cedric BAIL [Wed, 18 Aug 2010 16:57:19 +0000 (16:57 +0000)]
* edje: fix edje external module to be consistent with the rest of the efl.
SVN revision: 51296
Cedric BAIL [Tue, 17 Aug 2010 13:29:23 +0000 (13:29 +0000)]
* edje: fix edje external module path.
SVN revision: 51251
Tom Hacohen [Mon, 16 Aug 2010 14:52:36 +0000 (14:52 +0000)]
Elementary: Fixed selection and a possible segfault.
1. Selection now works with the buttons in elementary_test.
2. Selection with ctrl+v does not print ERR:elementary elm_widget.c:1373 _elm_widget_type_check() Passing Object: (nil), of type: '(unknown)' when expecting type: 'entry' anymore.
SVN revision: 51216
Carsten Haitzler [Mon, 16 Aug 2010 10:16:39 +0000 (10:16 +0000)]
adapt to 1.0.0 alpha vers.
SVN revision: 51191
Tom Hacohen [Mon, 16 Aug 2010 09:06:19 +0000 (09:06 +0000)]
Elementary: Translate <ps> back to paragraph separator.
SVN revision: 51175
Carsten Haitzler [Mon, 16 Aug 2010 04:44:45 +0000 (04:44 +0000)]
namefix.
SVN revision: 51153
Carsten Haitzler [Mon, 16 Aug 2010 02:40:32 +0000 (02:40 +0000)]
fix copying - it didnt actually even claim copyright. fix.
SVN revision: 51148
Daniel Juyung Seo [Sat, 14 Aug 2010 15:30:35 +0000 (15:30 +0000)]
elm_theme doxygen fix
elm_theme_extension_add() uses eina_list_append() not eina_list_prepend().
Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>
SVN revision: 51116
Tom Hacohen [Wed, 11 Aug 2010 06:57:07 +0000 (06:57 +0000)]
Elementary: Fixed theme to have 'ps' again and removed align=left from textblock (see previous commit for details).
SVN revision: 50983
Carsten Haitzler [Tue, 10 Aug 2010 23:58:57 +0000 (23:58 +0000)]
wonguk -> happy?
SVN revision: 50980
Iván Briano [Tue, 10 Aug 2010 23:13:21 +0000 (23:13 +0000)]
Reverting 50929. Too many changes that don't belong and broke stuff.
SVN revision: 50979
Tom Hacohen [Tue, 10 Aug 2010 15:41:41 +0000 (15:41 +0000)]
Elementary: Update textblock theme to *not* hardcode alignment to the left.
This is still the default in the object, but this allows us to auto-align according to natural text direction without breaking functionality.
SVN revision: 50967
Tom Hacohen [Mon, 9 Aug 2010 15:48:09 +0000 (15:48 +0000)]
Elementary: Update theme to have the 'ps' tag used by textblock.
SVN revision: 50929
Christopher Michael [Sun, 8 Aug 2010 23:00:09 +0000 (23:00 +0000)]
Fix up formatting while I am reading this.
SVN revision: 50914
Gustavo Lima Chaves [Thu, 5 Aug 2010 18:40:33 +0000 (18:40 +0000)]
Fixing weird behavior at scrolled entries.
SVN revision: 50842
Iván Briano [Thu, 5 Aug 2010 18:17:05 +0000 (18:17 +0000)]
Don't drop selection when dragging from selected item
SVN revision: 50841
Christopher Michael [Wed, 4 Aug 2010 19:20:52 +0000 (19:20 +0000)]
Set boolean to 1.
SVN revision: 50824
Christopher Michael [Wed, 4 Aug 2010 19:20:02 +0000 (19:20 +0000)]
Rename variable to 'autosave'.
When deleting the notepad, check if autosave is set before writting.
SVN revision: 50823
Lucas De Marchi [Wed, 4 Aug 2010 19:00:15 +0000 (19:00 +0000)]
Finish unscrewing patch-fu
SVN revision: 50820