Commit Graph

1991 Commits

Author SHA1 Message Date
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
Rafael Fonseca acb1ebb41c Make it possible to use finger size hint on scrollbars.
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
2010-11-18 18:47:16 +00:00
Rafael Fonseca f3ae26ee34 Baah, I always forget about EXTRA_DIST stuff.
SVN revision: 54698
2010-11-18 18:25:11 +00:00
Rafael Fonseca 2019d2c9f1 Merge Ephoto's gengrid items themes into elm default theme.
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
2010-11-18 18:03:15 +00:00
Rafael Fonseca fcb6781b6e Make scrollbar more suitable for mobile devices.
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
2010-11-18 17:38:53 +00:00
Tiago Rezende Campos Falcao 20db73ea48 Not return const Evas_Objects in (icon|end)_get
SVN revision: 54688
2010-11-18 12:55:31 +00:00
Tiago Rezende Campos Falcao 430492dc9c Adding Signal Hooks to Hoverlist
SVN revision: 54687
2010-11-18 12:55:28 +00:00
Carsten Haitzler 3b5e9a43b0 ummm fix warnings. merge with my start on generic data -> parts in
item mapping.



SVN revision: 54684
2010-11-18 11:10:58 +00:00
Gustavo Lima Chaves 1228afe8e0 Elementary's header little fixes.
SVN revision: 54682
2010-11-18 10:01:36 +00:00
Gustavo Lima Chaves f9172244ac Elementary welcomes text classes support.
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
2010-11-18 10:01:24 +00:00
Gustavo Lima Chaves 646b4007ec Disable hook for elm lists in.
SVN revision: 54680
2010-11-18 10:01:05 +00:00
Gustavo Lima Chaves 4b06ff870f Typo--.
SVN revision: 54679
2010-11-18 10:00:53 +00:00
Gustavo Lima Chaves bffe78ab3a Taking off defined block which is not necessary anymore + indenting.
SVN revision: 54678
2010-11-18 10:00:41 +00:00
Gustavo Lima Chaves ceff604deb Elm config app sizing change (matching Elm test's size) and cosmetic
fixes.



SVN revision: 54677
2010-11-18 10:00:26 +00:00
Gustavo Sverzut Barbieri 32e95a47bb allow fetch to be executed from main thread as well.
SVN revision: 54676
2010-11-18 09:54:51 +00:00
Gustavo Sverzut Barbieri 2ea364ff68 make core independent of filesystem.
idea is to make it extensible for other backends without bloating the
core too much.



SVN revision: 54675
2010-11-18 09:33:39 +00:00
Carsten Haitzler 0d689fc143 fix elm_module env var and ... elm_finger size . tnx mj lee. :)
SVN revision: 54674
2010-11-18 09:30:46 +00:00
Gustavo Sverzut Barbieri 1360f85163 who else agrees that raster should use more eina utilities? :-)
SVN revision: 54670
2010-11-18 08:13:05 +00:00
Carsten Haitzler b3ce84eb7d beginnings of a "store abstraction" ... data storage <-> genlist etc.
to make life easier for app devs.



SVN revision: 54664
2010-11-18 02:54:12 +00:00
Bruno Dilly ef9a69ed30 Fix elm_layout convenience macros II
I missed one.


SVN revision: 54649
2010-11-17 19:06:41 +00:00
Bruno Dilly 7626685c25 Fix elm_layout convenience macros
SVN revision: 54648
2010-11-17 18:51:43 +00:00
Bruno Dilly a69cc68c57 Add elm_genlist_item_item_class_update
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
2010-11-17 17:15:28 +00:00
Bruno Dilly 17cfad1c80 Ooops.. fix homogenous / homogeneous inconsistency on elm_table
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
2010-11-17 16:30:05 +00:00
Bruno Dilly 43b579e6a9 Move cursors from default theme to test file
They're used only on test cursor3, shouldn't be on
default.edc


SVN revision: 54631
2010-11-17 16:16:46 +00:00
Lucas De Marchi 067a49f294 Disable extra log verbosity
SVN revision: 54627
2010-11-17 10:35:31 +00:00
Lucas De Marchi d3b985e259 Log goes to stderr instead of stdout
SVN revision: 54626
2010-11-17 10:35:25 +00:00
Lucas De Marchi 0c0b0445b0 Use macro for debugging instead of printf
SVN revision: 54625
2010-11-17 10:35:03 +00:00
Leandro Pereira 887a29c723 Improvements in elm/layout/application/toolbar-content-back
Author:    Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54608
2010-11-16 19:49:32 +00:00
Lucas De Marchi 020605f4a1 Don't forget the QUICKLAUNCH guards
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
2010-11-16 18:36:47 +00:00
Bruno Dilly 91b6b4f98e Set smart obj callbacks descs for hoverlist and fs_bt
Spotted by demarchi


SVN revision: 54596
2010-11-16 15:51:03 +00:00
Bruno Dilly 86deede66b Delete trailing spaces on elm_animator
SVN revision: 54590
2010-11-16 13:17:30 +00:00
Bruno Dilly 7d64614307 Add macro to do magic check on elm_animator EAPI funcs
By: 박춘언 <hermet@naver.com>


SVN revision: 54588
2010-11-16 13:07:25 +00:00
Carsten Haitzler 7debb66407 fix docs.
SVN revision: 54557
2010-11-15 02:55:36 +00:00
Bruno Dilly 61c137691d respect 80 cols on elm_config, plz
SVN revision: 54520
2010-11-12 18:24:59 +00:00
Bruno Dilly 891468eee9 Use pager instead of flip + table on elm_config
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
2010-11-12 18:24:14 +00:00
Cedric BAIL 989ee2acb5 * eio, ethumb and elementary: snapshot increase.
SVN revision: 54508
2010-11-12 16:03:34 +00:00
Bruno Dilly 6041ebaa30 Mirror recent AUTHORS changes to elm docs
SVN revision: 54501
2010-11-12 13:17:13 +00:00
Bruno Dilly b18d9d4d55 Add Daniel Juyung Seo to elm AUTHORS
"- 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
2010-11-12 13:07:32 +00:00
Tiago Rezende Campos Falcao 3e95426ab7 Flip effect to Pager
Did we still need the flip?

SVN revision: 54497
2010-11-12 12:28:56 +00:00
Tiago Rezende Campos Falcao 9d3f490265 Adding styles options to pager test.
Can now remove the pager slide test?

SVN revision: 54496
2010-11-12 12:28:53 +00:00
Tiago Rezende Campos Falcao 177beb5dc5 Fix elm_pager style change
SVN revision: 54495
2010-11-12 12:28:50 +00:00
Carsten Haitzler b74087982a no debug!
SVN revision: 54492
2010-11-12 10:59:44 +00:00
Viktor Kojouharov 9919cc97ce adding myself to the list, as per raster's approval
SVN revision: 54487
2010-11-12 08:25:17 +00:00
Carsten Haitzler 0584726101 fix focus revert -> reverting should revert only to widgets that say
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
2010-11-12 04:16:24 +00:00
Carsten Haitzler 5f8146dff7 comment++!
SVN revision: 54485
2010-11-12 03:13:38 +00:00
Bruno Dilly 5845793808 Add getters for anchorblock and anchorview hover style
SVN revision: 54475
2010-11-11 19:47:56 +00:00
Bruno Dilly d485668cb2 Fixing resize problems in toolbar.
Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54468
2010-11-11 18:05:36 +00:00
Bruno Dilly bad1264722 Emit clicked on elm_bubble
Closes ticket #441


SVN revision: 54467
2010-11-11 18:04:45 +00:00
Bruno Dilly ed6cd22ddf Fix bubble corner and theme hook issues
SVN revision: 54466
2010-11-11 18:04:08 +00:00
Bruno Dilly 1ed3e906c9 Add test for elm_bubble
Spots issues with corner.


SVN revision: 54465
2010-11-11 18:03:40 +00:00
Iván Briano 7454518f05 elm_box.c: Fix in elm_box_layout_transition
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
2010-11-11 16:22:55 +00:00
Carsten Haitzler 02bb2eca06 as per chuneon's request :)
SVN revision: 54458
2010-11-11 14:59:21 +00:00
Carsten Haitzler 4d9ef710d2 protect gengrid from div by 0
SVN revision: 54447
2010-11-10 23:59:59 +00:00
Jonathan Atton 46d571bd68 elm : add edje external icon, label and scroller
SVN revision: 54446
2010-11-10 22:48:36 +00:00