Commit Graph

2044 Commits

Author SHA1 Message Date
Jae Hwan Kim 1f32927291 From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
Subject: Re: [E-devel] [PATCH] els_scroller

els_scroller has some problems.

First, when the function "elm_scroller_page_size_set" is used and the
scroller is bounced,
the signal "scroll,anim,stop" is not called.

Second, the signal "scroll,anim,stop" is called at the time
"ELM_THUMBSCROLL_FRICTION",
even if the animation of scroller end before the time.

So I changed the code "els_scroller.c".
Patch code is the following.



SVN revision: 55341
2010-12-07 05:18:01 +00:00
Jihoon Kim 44cf2f3382 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_slider patch for disable state

elm_slider does not support disable state, so I make this patch.

Please review it and upload in svn if it is ok.

(nb - also fixed vertical slider sizing in defaul theme and changed
jihoons changes to slider test to make the vertical sliders in a
horizontal box so they dont get silly long windows)



SVN revision: 55340
2010-12-07 05:15:05 +00:00
WooHyun Jung 34a3ad17b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().

 I made a patch for adapting elm_longpress_timeout_get() function to all
 winsets, using long press event. 
 
 And I checked one warning in elm_entry.c , so I modified it. 
 


SVN revision: 55339
2010-12-07 05:04:45 +00:00
Carsten Haitzler 394b4f1bff and more formatting fixes
SVN revision: 55338
2010-12-07 00:59:06 +00:00
Carsten Haitzler f3c202a674 and lets format stuff nicely eh?
SVN revision: 55337
2010-12-07 00:57:42 +00:00
Carsten Haitzler ff9a846a6e mark sat.sun/weekday calls as deprecated and show how to do it with
marks.



SVN revision: 55336
2010-12-07 00:56:21 +00:00
Gustavo Lima Chaves eae9d6b81c Indenting.
SVN revision: 55329
2010-12-06 12:46:16 +00:00
Gustavo Lima Chaves e2b7c27106 New Elementary Config. App. options tab: Scrolling.
Also introducing config. API to set/query those values.



SVN revision: 55328
2010-12-06 12:46:10 +00:00
Gustavo Lima Chaves b63bf2450e Just indenting this file.
SVN revision: 55327
2010-12-06 12:46:02 +00:00
Gustavo Lima Chaves 444cd0eb5f Don't let sliders mess with parent scrollers.
Actually all dragable thingies in Elementary should get that safety trick.



SVN revision: 55326
2010-12-06 12:45:56 +00:00
Gustavo Lima Chaves 5522998e58 Using mouse wheel elm-propageted at sliders.
When we have time, we'll research a way of signalling
mouse events from bottom up, too (or at least emulate that).
Might be useful for "trapping" mouse wheel events, what
Elementary can't do as is.



SVN revision: 55325
2010-12-06 12:45:49 +00:00
Gustavo Lima Chaves f84b6c5f52 Mouse wheel events elm-propagated too.
SVN revision: 55324
2010-12-06 12:45:41 +00:00
Gustavo Lima Chaves acea6344eb Better handling of mouse wheel events for sliders.
SVN revision: 55323
2010-12-06 12:45:33 +00:00
Gustavo Lima Chaves d300d91cee Misusing API.
SVN revision: 55322
2010-12-06 12:45:26 +00:00
Gustavo Lima Chaves 2b354249df Typos, damn typos.
SVN revision: 55321
2010-12-06 12:45:18 +00:00
Gustavo Lima Chaves 13dcb67737 Redundant semicolons here.
SVN revision: 55320
2010-12-06 12:45:11 +00:00
Carsten Haitzler f47d6203b0 elementary.h.... oh so much formatting cleanup. spacing... etc. also
elm_thumb really has no choice - has to return void * for thumb client.



SVN revision: 55252
2010-12-04 04:10:25 +00:00
ChunEon Park 2e42e5ccbe From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel]  [Patch] elm_animator

Please check this small patch. 
Added one miner API. 

Thanks. 

The Hermet 




SVN revision: 55251
2010-12-04 02:59:43 +00:00
Cedric BAIL 650c60f862 * elementary: snapshot it.
SVN revision: 55240
2010-12-04 00:52:03 +00:00
helen 5034e4e8c7 Using EINA_ARG_NONNULL in Elementary.
The Api is very large, probably there is some EINA_ARG_NONNULL that are
missing in some parameters and others that I put that should not be
there, I tried my best to not have these mistakes, if you find
any, please, fix it :).

SVN revision: 55189
2010-12-03 14:08:37 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Otávio Pontes 1618a95058 Separator parent can be null
SVN revision: 55184
2010-12-03 11:18:36 +00:00
Otávio Pontes ee43dafc16 elm_toolbar_item_icon_get should return the icon string.
Also improves documentation related to icon_set/icon_get.

SVN revision: 55182
2010-12-03 10:58:46 +00:00
samsung 1d275544a9 From: samsung.
some added features to calendar. along with fixes of those features so
they work right.



SVN revision: 55177
2010-12-03 07:58:43 +00:00
hyoyoung.chang 3cf111500d From: hyoyoung.chang@samsung.com
As we talked last week, I made a version of adding external image in
elm_entry. It seeks a local file if prefix is 'file://' then it loads image and adds it. If image file can't be loaded, adding
wft emoticon.

patch in with minor fix for path and an added actual test case in elm
entry test.




SVN revision: 55134
2010-12-02 08:25:36 +00:00
Carsten Haitzler b01e13faf2 warning--
SVN revision: 55129
2010-12-02 03:37:17 +00:00
Massimo Maiurana f00a60db88 updating various translations
SVN revision: 55125
2010-12-01 23:34:15 +00:00
Rui Seabra 4120b97f68 Documentation patch from Daniel Juyung Seo
SVN revision: 55123
2010-12-01 17:38:42 +00:00
Carsten Haitzler f8b8439868 magnet->action (slider)
SVN revision: 55116
2010-12-01 09:54:20 +00:00
Carsten Haitzler ea1672a331 hoverlist -> ctxpopup - as its not just a list really. it is a popup
of arbitrary content. list is one of them.



SVN revision: 55112
2010-12-01 06:52:46 +00:00
Bruno Dilly 192d645277 Improve elm_colorselector readability and fix clicked entry sig emission
The reason for modifying about elm_colorselector can be "readability".
Each bar in the colorselector has its own color type (like hue, saturation,
...)
So I thought it will be better, if I added enum for each color type.

And, for about elm_entry.c , I thought that "SIG_CLICKED" was wrongly
emitted (by "MOUSE_UP" event).
I deleted mouse_up callback function (as you advised),
because this function didn't do anything by my modification.

By: WooHyun Jung <wh0705.jung@samsung.com>


SVN revision: 55097
2010-11-30 18:53:52 +00:00
Bruno Dilly ad9b687305 Remove unused var on test_focus
SVN revision: 55096
2010-11-30 18:51:16 +00:00
Bruno Dilly 0abe9b3eea Fix scroller bar on default-desktop theme
SVN revision: 55095
2010-11-30 18:50:27 +00:00
Leandro Pereira 746b412b15 elementary: tab -> spaces
SVN revision: 55087
2010-11-30 15:18:21 +00:00
Leandro Pereira 85c4fe8cf4 elementary: Bugfix: Elm_Fileselector returns parent directory in folder select mode
SVN revision: 55085
2010-11-30 12:59:08 +00:00
Leandro Pereira dbe6545040 elementary/elc_fileselector: Pack booleans with a bitfield
SVN revision: 55084
2010-11-30 12:59:05 +00:00
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Gustavo Lima Chaves a26f941960 Account for list unselection (elm profiles).
Sorry, my bad, discomfitor.



SVN revision: 55059
2010-11-29 13:15:20 +00:00
Gustavo Lima Chaves d93f1754b7 Elm style on disabled/enabled setter/getters has been this one.
Sorry for the incovenience, man at work.



SVN revision: 55058
2010-11-29 13:15:09 +00:00
Gustavo Lima Chaves 661c5eaa43 Wrong doc. groups here.
SVN revision: 55057
2010-11-29 13:14:54 +00:00
Gustavo Lima Chaves fabcb4b584 Ordering documenting groups.
SVN revision: 55056
2010-11-29 13:14:45 +00:00
Gustavo Lima Chaves 731ebfcb9a A little bit of formatting here.
Discomfitor, go fix ecrustify :(. Sucking hard for functions like
elm_object_signal_callback_add, i.e., big function prototypes as
argument types.



SVN revision: 55055
2010-11-29 13:14:37 +00:00
Mike Blumenkrantz 1164a8ab20 come on people, if it can return null then you can't just blindly throw it into strcmp and watch it segv.
SVN revision: 55032
2010-11-27 07:32:30 +00:00
helen 99e8296fc2 Making elementary compile when safety check is disabled
Removing warnings from Elementary if Eina is with safety checks disabled

SVN revision: 55012
2010-11-26 13:35:33 +00:00
helen b994341879 func _pan_min_get, setting the parameter obj as unused
In this functions, the first parameter obj is not used, adding
__UNUSED__ to them

SVN revision: 55011
2010-11-26 13:35:30 +00:00
Sebastian Dransfeld cd773d178b Fetch theme on first call to _icon_freedesktop_set
SVN revision: 55009
2010-11-26 11:37:45 +00:00
Sebastian Dransfeld 08c6d71a87 _icon_freedesktop_set sets freedesktop.use
and add some TODO's

SVN revision: 55007
2010-11-26 10:16:00 +00:00
Sebastian Dransfeld 6ecd6f2c4c default and highcolor aren't icon themes
And set hicolor last, as all themes inherit from it.

SVN revision: 55005
2010-11-26 09:56:45 +00:00
Sebastian Dransfeld 6a42df9f9a Search for icon theme in elm_need_efreet
When searching for an icon in a theme, efreet needs to load the specific
cache for the theme. So if an icon doesn't exist, this will be a huge
overhead. So it is better to find a theme on init, and then stick with
it.

SVN revision: 55004
2010-11-26 09:05:12 +00:00
helen cffdcb4efa Fix some getters from elm_scroller.c
elm_scroller_policy_get was not verifying if its parameters are null.
elm_scroller_region_get was not getting the y if you pass x = null
and y != null

SVN revision: 54987
2010-11-25 15:16:54 +00:00
helen 59351f8aac Fix elm_bg_file_set/get
If the file is a NULL pointer, it will delete the old imagem and set its
internal strings about file and group to NULL.
In the get function if the file argument is null does not mean that
it will not retrieve the group too.

SVN revision: 54986
2010-11-25 15:16:48 +00:00
Rafael Fonseca 7e70efd730 Fix showing specific items in Gengrid.
We need to account for min[xy] when calculating the position of an item.



SVN revision: 54981
2010-11-25 14:00:37 +00:00
Rafael Fonseca 9c79a9c135 Fix setting minimum coordinates on smart scroller.
We need to get the min[xy] provided since it can be different from (0,0).



SVN revision: 54980
2010-11-25 13:57:02 +00:00
Rafael Fonseca 4cc5a5370a The scroller bg was meant to be transparent on standard profile.
This commit fix the first issue with launcher in elm_test, when was appearing a
white rect all over it and the icons names seemed to be missing. It also fix
a related issue reported by the editje guys.



SVN revision: 54979
2010-11-25 12:36:27 +00:00
Carsten Haitzler 1b3700dbbd Hi Raster. This is Myungjae Lee.
As I’ve talked to you just before, I’m sending you the patch file for
applying max size in sizing_eval function in the scroller.

This patch will work in the case below

-       elm_scroller_content_min_limit() function is set to 1 (either
width or height)

-       the content’s min size is growing up unlimitedly (such as
entry case)

 
 
 Then the min size of the scroller cannot exceed the max size of itself.
 
 (if we let it be grown up to the content’s min size, there is no way
to limit the size of the scroller and to enable scrolling.)

 
 
 Please consider this way to avoid failure case (min is greater than
max) in the sizing_eval function,

and give me a feedback if it doesn’t meet any other requirement.

 
 
 Thank you.
 
  
  
   
   
   P.S.) patch file was created based on Rev. 54766.



SVN revision: 54978
2010-11-25 10:53:06 +00:00
Carsten Haitzler fc2c036041 fix filesel - never gave right path!
SVN revision: 54977
2010-11-25 10:01:39 +00:00
Carsten Haitzler e5fe7f8d53 fix anchor item nullification fun.
SVN revision: 54972
2010-11-25 07:07:39 +00:00
Gustavo Lima Chaves 76e4e00504 Elm photocam now back to life.
Now whoever broke fileselector, please fix it!!



SVN revision: 54971
2010-11-25 06:27:42 +00:00
Iván Briano 77b0cb3ff0 Longpress timeout is now configurable.
Patch by WooHyun Jung <wh0705.jung@samsung.com>


SVN revision: 54939
2010-11-24 17:11:34 +00:00
Gustavo Lima Chaves f4218d5fda Indenting this little monster.
SVN revision: 54923
2010-11-24 08:22:41 +00:00
Gustavo Lima Chaves 9f3300195a Let's keep property types in sync, eh?
SVN revision: 54922
2010-11-24 08:22:24 +00:00
Gustavo Lima Chaves 3735394891 Now people won't forget this shit anymore.
SVN revision: 54921
2010-11-24 08:22:13 +00:00
Gustavo Lima Chaves 22be065731 Important warning on config. versions.
SVN revision: 54920
2010-11-24 08:22:02 +00:00
Gustavo Lima Chaves 179bcf71b2 More text classes support on Elm: list/genlist/gengrid/toolbar items.
NB: we got textblock parts as some of our text elements, everyone
knows.  They support text_class fallbacking, but what would be an
elegant solution to achive reasonable mapping for styling tags (bold,
highlight, etc)? e17 has some "blah_hilight" text classes, which imho
are ugly...



SVN revision: 54915
2010-11-24 01:47:59 +00:00
Rafael Fonseca 8fb7daa582 Fix item alignment in Gengrid.
When the item was bigger than the grid it was not being correctly positioned.



SVN revision: 54906
2010-11-23 20:30:48 +00:00
Rafael Fonseca b1846a536c Fix mistake introduced in previous commit.
Don't matter how much you review it, it is never enough.
rfonseca spanks himself =/.



SVN revision: 54903
2010-11-23 20:26:08 +00:00
Rafael Fonseca f66f9b341e Make it possible to use origin besides (0,0) for pan object.
Although some widgets are modified in this patch there should not be any visible
change. Actually this patch is intended to fix a Gengrid issue (patch following).

In Gengrid when the items were bigger than the grid itself the scroll would not
work correctly when the alignment was other than 0.0. That happened because the
smart scroller object was assuming the pan origin to be (0,0) and doing some
miscalculations based on that.



SVN revision: 54902
2010-11-23 20:20:41 +00:00
Otávio Pontes ec86a81a78 Emiting signal to icon to unselect it. (bug fix)
SVN revision: 54874
2010-11-23 12:57:00 +00:00
Otávio Pontes 8b10c373a6 Adding style for disabled slider
SVN revision: 54873
2010-11-23 12:56:57 +00:00
Otávio Pontes 38a07ceaf7 Adding genlist theme from enjoy in default theme
SVN revision: 54872
2010-11-23 12:56:54 +00:00
Otávio Pontes 143febda82 Adding new layout for title with back and next button.
Content-back now has just the back button.

SVN revision: 54871
2010-11-23 12:56:51 +00:00
Massimo Maiurana 480c529729 updating french translations
SVN revision: 54865
2010-11-23 11:53:29 +00:00
Gustavo Lima Chaves a5ac9cd68f "Set to all" actions on font dialog, elm config app.
You may now set a common font overlay for all text classes available.



SVN revision: 54857
2010-11-23 08:30:55 +00:00
Gustavo Lima Chaves 3714c8d1af List/scroller-thingies disabler rect for desktop theme too.
SVN revision: 54855
2010-11-23 07:17:35 +00:00
Gustavo Lima Chaves c4d899c419 More font sizes.
SVN revision: 54852
2010-11-23 06:40:15 +00:00
Gustavo Lima Chaves bbeb7cfcc5 Elm caching settings exposed, part II.
Edje caching primitives exposed in Elm, too, now, and stored at
config. Also, there's now a poller running for all Elm apps doing
cache flushing. All these things have configurable values, of course.

Testing config version bumping too, it should work.



SVN revision: 54851
2010-11-23 06:10:58 +00:00
Davide Andreoli a6f53d0fb9 Improve Fileselector test: all API are exposed in the test now(is_save, folder_only, expandable, path_get), add a separator too.
SVN revision: 54844
2010-11-22 23:17:56 +00:00
Tiago Rezende Campos Falcao d666346484 Elm Fileselector with theme support
SVN revision: 54812
2010-11-22 19:24:48 +00:00
Bruno Dilly ddf7900931 Fix bubble test window title
SVN revision: 54810
2010-11-22 18:57:51 +00:00
Massimo Maiurana 9ddd01aa31 updating french and italian translations
SVN revision: 54807
2010-11-22 18:40:14 +00:00
Tiago Rezende Campos Falcao b247bb85f7 Elm Calendar keyboard support
Author: Jihoon Kim <jihoon48.kim at samsung.com>

SVN revision: 54798
2010-11-22 15:57:26 +00:00
Tiago Rezende Campos Falcao 80fc46f893 Add elm genlist scroller policy setter/getter
Author: "Marco Trevisan (Treviño)" <mail at 3v1n0.net>

And add NULL check in elm_list scroller policy getter/setter.

SVN revision: 54797
2010-11-22 15:24:58 +00:00
Tiago Rezende Campos Falcao f4294f8d2c Replace calloc by ELM_NEW and hack last externals
Spank watchwolf. The last added externals dont compile with the flags
that we try to keep OK, since revision 53683.

Replace calloc(1,X) to use ELM_NEW, i want do tests with mem pool.

SVN revision: 54778
2010-11-22 12:46:58 +00:00
Carsten Haitzler 39f48066ff set scale on scrollers on re-theme and on list items.
SVN revision: 54775
2010-11-22 09:41:37 +00:00
Gustavo Lima Chaves 4633eb92d8 Elm caching settings exposed, part I.
Now working on exposing edje caching too, and having a cache dumping
poller.  Patch also replaces some focus_overalay object functions,
too.



SVN revision: 54770
2010-11-22 06:56:06 +00:00
Gustavo Lima Chaves e7dfbf2315 Better sizes here.
SVN revision: 54769
2010-11-22 06:55:54 +00:00
Carsten Haitzler 6ce323eaa0 make thread support windows friendly. i hope.
SVN revision: 54754
2010-11-21 04:37:52 +00:00
Rui Seabra 4e3e9cface This has to be here in order for release tarballs to be directly fed to rpmbuild.
SVN revision: 54745
2010-11-20 12:51:51 +00:00
Carsten Haitzler b8c9cd18b1 for now done select disabled, selected or expanded items in the cache
- resetting is problematic. need an edje reset thing - or actually may
want edje to have a cache like this...



SVN revision: 54744
2010-11-20 11:35:09 +00:00
Carsten Haitzler b24883b7ba use right style name too.
SVN revision: 54743
2010-11-20 11:31:31 +00:00
Carsten Haitzler 876c72c1ae and do a proper odd style for items.
SVN revision: 54742
2010-11-20 11:24:12 +00:00
Carsten Haitzler e175185eaa make store "./store" to make it.. well.. better.
SVN revision: 54741
2010-11-20 11:14:23 +00:00
Carsten Haitzler 63fd838ebe move store to an actual lib file - elementray.h too and check for
pthread support due to locks. (vtorri - windows way of doing this?)



SVN revision: 54740
2010-11-20 11:12:15 +00:00
Carsten Haitzler e10b7bba94 comments--
SVN revision: 54739
2010-11-20 10:59:26 +00:00
Carsten Haitzler 01e71a2649 well... many things - genlist, when it is processign quue, or u
add.del items will try and stick to viewing an acnhor item. it also
handles wrapping text properly now if style has such a thing - a test
style with that is there too (message style) for now - found isasue in
edje with textblock styles - doesnt change on state change. but anyway
- re-wrapping text works.. and it progressively processes the genlist
blocks to re-calc sizes etc. etc. so you dont block and so-on. i5ts
not too shabby. as for that - store has a generic struct type reader
now and is being tested... and get rid of unused var.



SVN revision: 54738
2010-11-20 08:43:43 +00:00
Carsten Haitzler 376b264e3a make accelerated scrolling also accumulate scroll time so it doesnt
seem to silly fast - scroll speed also now increaese by 1.5x not 2x
and since time extends linearly by left over time from previous scroll
it's less extreme, but still accelerated.



SVN revision: 54733
2010-11-20 06:26:01 +00:00
Gustavo Lima Chaves 85cc0b3b01 Some more text classes now supported. We clearly need more later,
maybe wrapping unbounded ones into a "general" TC.
TC swithing exposes various widgets bugs WRT layouting of children
objects, we gotta fix them.



SVN revision: 54715
2010-11-19 09:37:33 +00:00
Davide Andreoli 9d6fcdc04d layout/application/titlebar canned layout:
Fix up the syle, use a better (more toolbar-ish) image, align the title in center, add a white bg, remove some useless offset and, last but not least, add an elm.swallow.content part...or your app cant go much further ;)

SVN revision: 54705
2010-11-19 00:50:10 +00:00
Rafael Fonseca f8d24df92f Add suitable scrollbars to desktops.
In this theme scrollbars do not disappear after a timeout, they are dragable,
there are up and down arrows to scroll and the line you see is also clickable
(much like e17 scrollbars). Ah, they also respect finger size hints.

Ok, some of you will want to kill me, others will probably try but I think that
at this moment is much easier to have a separate theme to desktop systems until
we define exactly what are all the theme differences between them.



SVN revision: 54701
2010-11-18 19:13:54 +00:00