elm_widget_disabled_set was calling focus_jump and it broke the focus tree.
Now, using focus_cycle to pass focus to next object.
Added test to disable focused button in test_focus.
SVN revision: 55408
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
With a small rectangle swallowed as a base is now possible to make scrollbars
respect the finger size hint. But it just makes sense when thumbscroll is
disabled, i.e, when scrollbars should be dragable.
SVN revision: 54700
Some of the gengrid items themes defined in Ephoto can be reused by others
later so it would be better to have those in the default theme.
SVN revision: 54694
Like android and iphone, the scrollbar was made smaller to not incentivate users
to try to drag it since it is not dragable (yet).
And do not worry desktops, you will have a suitable scrollbar soon.
SVN revision: 54693
I'm now populating the default theme with text classes, just commit
with one for now. There can be tweakings at Elm config app's UI fonts
page, I know, but that will come later (editable preview field, font
hinting/fallback, blablabla).
WARNING: for users testing elm config, an old "rm -rf
~/.elementary/config" might be needed here, after this commit.
SVN revision: 54681
1. elm_genlist_item_item_class_update() API
It is required to change an item's item class on run-time.
Applications want to change a certain item's style and callbacks
dynamically.
This looks ok because changing one item's style does not affect performance,
And this API uses elm_genlist_item_update internally.
API name follows elementary naming conventions.
I've also added test code to elementary_test, Genlist 7.
2. constant to macro.
I replaced 2 constants for max_item_per_block and longpress_timeout to
macros.
This could be used in other places of the code.
3. duplicated assignment.
In elm_genlist_item_append, it->before = 0 is written in if and else.
I put this statement out of if().
4. fix doxygen typo
I fixed elm_genlist_compress_mode_set doxygen.
By: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 54639
Actually it would be nice to fix these in the entire API.
Most widgets use homogenous, elm_genlist uses homogeneous,
that looks to be the name adopted on evas.
SVN revision: 54634
Compiling this code with CFLAGS="-ffunction-sections -fdata-sections"
and LDFLAGS="-Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections"
was giving me the following messages:
/usr/bin/ld: Removing unused section '.text._on_key_down' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.my_show' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.rodata' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.test_focus' in file 'elementary_testql-test_focus.o'
The issue was the missing guards.
SVN revision: 54600
Avoid the mess of table pack / unpack and back / front flip sets
Pager is an widget much more appropriated for our needs.
And we will have the exactly same look when pager flip style is
fixed.
SVN revision: 54519
"- I've contributed elm_magnetslider widget.
- I've added an API and patched elm_genlist."
Fix typo in AUTHORS
By Daniel Juyung Seo (SeoZ) <juyung.seo@samsung.com>
SVN revision: 54499
they CAN be focused :) see conform 2 test. focuse the entry in the
pager then dlete the pager page (pop). before focus vanished. now it
goes back to the top entry as you'd expect.
SVN revision: 54486
This function does not receive the Widget object in the parameter
Evas_Object *obj, so it must not check its type with ELM_CHECK_WIDTYPE
See "Box Transition" test in the elementary_test
By: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54461
Effects:
Translation
Resizable Flip
Fade
Blend
The effects above retrives information about objects in the transit,
they need to release these informations if the object dies.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54432
This effects must do the evas_object_{show, hide} at the end of the
effect
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54431
Bug: If the object does not belong to the transit, it was removing the
obj_data from it.
Bug: segfaut if you try to remove an object that do not belongs to any
transit
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54427
Bug: if the objects belongs to multiples transits, there is a problem
with the internal state of the object storage with the data_set
function. If a transit die, it will free this data, and the other
transit will crash.
Removing _elm_transit_object_remove_cb prototype
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54426
Removing math functions. Changing how auto_reverse works
Removing _tween_progress_calc
If the object dies, the del_cb does not need to be deleted
Coccinelle modifications
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54425
After you add an effect, if the effect's list stay empty, the transit
will die
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54423
If the transit object is removed inside some animation, there is a
problem. Now we set the transit to be deleted.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54421
ELM_FX is now ELM_TRANSIT_EFFECT
Curve style like in edje
Changing names:
CURVE_IN -> TWEEN_DECELERATE
CURVE_OUT -> TWEEN_ACCELERATE
CURVE_IN_OUT -> TWEEN_SINUSOIDAL
Curve_Style -> Tween_Mode
Now, the calculation is done like in edje.
Changing function of type function() to function(void)
Elm_Transit: Changing calloc(1, to ELM_NEW
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54417
Now, if you set a negative number to repeat, it will repeat infinite
times.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54416
After you add an object, if the objects list stay empty, the transit
will die
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54415
Intead of doing a list to restore information about an object, now using
evas_object_data{set, get, del}
Using evas_object_pass_events instead elm_object_disabled_set
This allows the event block to be setted in non widgets objects
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54412
"Do you come from the land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take cover."
- Men at Work
commit msg suggested by glima =D
%hua
SVN revision: 54407
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.
colorpicker, diskpicker and flippicker should follow
fileselector name.
SVN revision: 54405
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.
The new smart callbacks called are:
· "scroll,edge,top" - the list is scrolled until the top edge
· "scroll,edge,bottom" - the list is scrolled until the bottom edge
· "scroll,edge,left" - the list is scrolled until the left edge
· "scroll,edge,right" - the list is scrolled until the right edge
SVN revision: 3
SVN revision: 54393
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.
A bit late to do an API break, but must be done.
SVN revision: 54372
If it was added to mask a bug, we are unmasking it, so we can
solve it and use the toolbar for programs that want more than
48 pixels.
SVN revision: 54336
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.
SVN revision: 54214