Commit Graph

1394 Commits

Author SHA1 Message Date
Bruno Dilly fcccd7dd5a Clean elm of null pointers dereferences
SVN revision: 53399
2010-10-14 14:12:26 +00:00
Bruno Dilly 294fa1d974 Clean elm of undefined assigned values
SVN revision: 53398
2010-10-14 14:11:53 +00:00
Bruno Dilly 21e71c932e Fix typo on cnp_helper :)
SVN revision: 53397
2010-10-14 14:11:15 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Bruno Dilly c7c7ceb547 Add list item check on tooltip and cursors functions
SVN revision: 53395
2010-10-14 14:09:49 +00:00
Gustavo Sverzut Barbieri 5fdee26795 box & table are handled in elm_layout.
so far they're just managing the lifetime of objects, same as swallow.



SVN revision: 53385
2010-10-14 02:36:37 +00:00
Gustavo Sverzut Barbieri cb2ebb9303 add elm_fileselector_entry
works, but focus chain is not giving focus to button.



SVN revision: 53384
2010-10-14 01:18:14 +00:00
Iván Briano b1b802bd7b Fix typo.
I mean, update highlight object to follow focused object properly.


SVN revision: 53376
2010-10-13 18:58:29 +00:00
Christopher Michael 2c7e5ca75f Fix typo (I believe the word is breaking) ;)
SVN revision: 53372
2010-10-13 17:50:20 +00:00
Bruno Dilly b02c54321a Ignore colorpreview.edj and fix colorpicker signals documentation
SVN revision: 53367
2010-10-13 17:38:35 +00:00
Vincent Torri 0dfde0078a [Elm_diskpicker] define MAX macro for those (poor Windows
developers) who don't have it

SVN revision: 53355
2010-10-13 13:39:24 +00:00
Carsten Haitzler 9ec9ce7585 typo---
SVN revision: 53351
2010-10-13 12:29:33 +00:00
Carsten Haitzler 4de21dcc19 lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?



SVN revision: 53325
2010-10-13 00:41:00 +00:00
Gustavo Sverzut Barbieri 5c03fe8b74 export missing toolbar_item method
SVN revision: 53317
2010-10-12 22:23:00 +00:00
Christopher Michael 6917435d00 Some colorpicker cleanups:
Don't need Ecore.h here, Elementary.h already includes it
  Fix formatting.
  Use #define for signal name rather than const char
  Initialize integer's with a value.
  Add 'changed' signal to Elementary.h so people know it emits changed
also.



SVN revision: 53314
2010-10-12 21:10:12 +00:00
Bruno Dilly 34fd688815 Elementary Colorpicker, widget designed to select a color.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53313
2010-10-12 20:38:00 +00:00
Christopher Michael 76f7bd543e Default BG Plain test back to scaled....
Oopsie, that should not have been there.



SVN revision: 53309
2010-10-12 15:33:40 +00:00
Christopher Michael 6a3bfc1a6a Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.



SVN revision: 53307
2010-10-12 14:38:46 +00:00
Christopher Michael 4595005550 Better name(s) for the bg option enum.
SVN revision: 53302
2010-10-12 10:30:32 +00:00
Christopher Michael c178a21aca Add ability for elm_bg to have a color rectangle.
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
  Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.



SVN revision: 53299
2010-10-12 08:46:17 +00:00
Christopher Michael 52ebe2e754 Make 'Tiled' actually do a tile :)
SVN revision: 53292
2010-10-12 04:34:42 +00:00
Christopher Michael 1921dd5802 Widget_Data gets passed to the _custom_resize callback as 'data'
already, so no need to refetch it.



SVN revision: 53291
2010-10-12 04:21:50 +00:00
Christopher Michael 042a9432d3 Add option for elm_bg to be Tiled, Scaled (more options to come).
SVN revision: 53290
2010-10-12 04:12:48 +00:00
Christopher Michael f0ec644467 Add UNUSED where needed.
Fix usage of UNUSED in _elm_cursor_del.
Use #define for string constant.
Fix formatting.



SVN revision: 53289
2010-10-12 04:07:27 +00:00
Christopher Michael 3255ee2148 Add UNUSED where missing.
Use #defines for string constants.
Fix up some formatting.



SVN revision: 53288
2010-10-12 04:02:47 +00:00
Christopher Michael c17b186326 Add UNUSED where missing.
Use #defines for string constants (less 'const char' variables being
used).
Fix formatting & whitespace where needed.



SVN revision: 53287
2010-10-12 03:59:30 +00:00
Christopher Michael 2b34e155b2 Add UNUSED where missing.
Only calculate scale once here and reuse it.
Fix formatting.



SVN revision: 53286
2010-10-12 03:53:03 +00:00
Christopher Michael baccf96db6 Add UNUSED where needed.
SVN revision: 53285
2010-10-12 03:47:07 +00:00
Christopher Michael a1a0cbc9c2 Add UNUSED where needed.
Fix some formatting snafus.



SVN revision: 53284
2010-10-12 03:46:11 +00:00
Christopher Michael 1ccf076e76 Add UNUSED where needed.
SVN revision: 53282
2010-10-12 03:42:01 +00:00
Christopher Michael 76f19fc03a String.h is already included via Elementary.h
SVN revision: 53280
2010-10-12 02:38:19 +00:00
Gustavo Sverzut Barbieri bf43a6d53c oops, important typo, thanks tiagofalcao
SVN revision: 53267
2010-10-11 17:55:28 +00:00
Rafael Fonseca fdcf18e462 Add safety checks to genlist and gengrid.
The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.



SVN revision: 53253
2010-10-11 02:09:36 +00:00
Rafael Fonseca 105aeb5967 Fix items alignment in Gengrid.
Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.



SVN revision: 53252
2010-10-11 01:55:07 +00:00
Rafael Fonseca c2b339a567 Make Gengrid 2 test work with recent gengrid modifications.
Before changing gengrid internal to use inlist, passing a NULL item to
insert_before and insert_after functions would make them behave as prepend and
append respectively but now one would just get a SEGV. So test for a selected
item before doing anything ;)



SVN revision: 53251
2010-10-11 01:46:14 +00:00
Gustavo Sverzut Barbieri 77b6c7a816 bugs--
SVN revision: 53249
2010-10-11 01:03:37 +00:00
Gustavo Sverzut Barbieri ada8ac0f82 gengrid more genlist-like.
use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.



SVN revision: 53248
2010-10-10 23:54:11 +00:00
Rafael Fonseca 0090ce210c Add more insertion types to Gengrid.
Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.



SVN revision: 53242
2010-10-10 21:05:23 +00:00
Rafael Fonseca 484d79e3c0 Don't change no_select state when adding item to Gengrid.
If one wants to create a Gengrid with seletion mode disabled and dynamically
add items to it the no select mode would be overwritten. So make Gengrid
selectable by default and just change the selection state when user explicitly
calls elm_gengrid_no_select_mode_set() function.



SVN revision: 53241
2010-10-10 20:45:30 +00:00
Gustavo Sverzut Barbieri 3597572c8c elm_gengrid_item_update()
also missing are elm_gengrid_item_prepend(),
elm_gengrid_item_insert_before() and elm_gengrid_item_insert_after()!
I can't do them right now, so any help is appreciated.



SVN revision: 53236
2010-10-09 19:07:42 +00:00
Gustavo Sverzut Barbieri 6a10964414 don't use ethumb if no path was set yet.
SVN revision: 53235
2010-10-09 18:43:03 +00:00
Boris Faure 6f8f4d7a00 elm: fix doc
SVN revision: 53234
2010-10-09 14:42:04 +00:00
Gustavo Sverzut Barbieri 6037fde0dd work when items are bigger than viewport.
rfonseca, be careful with corner cases... and PLEASE ADD SPACES!!!! it's awful to read (a*b)/c+d/e...



SVN revision: 53225
2010-10-09 01:42:32 +00:00
Gustavo Sverzut Barbieri 17dfe16715 document new style.
SVN revision: 53224
2010-10-09 01:34:01 +00:00
Gustavo Sverzut Barbieri e7924d7fac cancel previous request, if any.
SVN revision: 53216
2010-10-08 22:43:17 +00:00
Gustavo Sverzut Barbieri 3bdda23c70 ethumb reload function.
SVN revision: 53215
2010-10-08 22:14:50 +00:00
Tiago Rezende Campos Falcao 3e0c947cde Elm_object_focus give focus to one focusable obj.
SVN revision: 53206
2010-10-08 20:16:52 +00:00
Tiago Rezende Campos Falcao f17463a37f Add Object name in dot dump
Now can generate graphs like this:
https://trac.profusion.mobi/~tiago/editje_elm_dump.png

Call elm_object_tree_dot_dump(obj, "file.dot")
and use $ dot -Tpng file.dot -ofile.png

SVN revision: 53205
2010-10-08 20:16:48 +00:00
Tiago Rezende Campos Falcao cd76f3a7f5 Fix the assignment that discards const qualifier.
SVN revision: 53195
2010-10-08 16:27:07 +00:00
Tiago Rezende Campos Falcao 9ff54ffc12 Fix event propagation in elementary.
Need set ON_HOLD, and check it.

SVN revision: 53194
2010-10-08 16:27:04 +00:00