Commit Graph

242 Commits

Author SHA1 Message Date
Viktor Kojouharov 7b2198b7d3 From: Viktor Kojouharov <vkojouharov@gmail.com>
this is a patch for the elm_image so far.

After some valgrind work and with the help of Gustavo, the orient code
for the image is not leak free (according to valgrind). According to
k-s, this way of doing things would avoid any nasty caching errors I've
been getting though valgrind before.



SVN revision: 40314
2009-04-23 03:48:41 +00:00
Vincent Torri 87e7d4b5d7 allow the build of elementary_run on opensolaris
SVN revision: 40245
2009-04-20 04:48:58 +00:00
Carsten Haitzler 9e809611c1 restorer--
SVN revision: 40134
2009-04-17 10:37:49 +00:00
Carsten Haitzler b4d9964e70 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Rafael Antognolli 71f3c6b743 Fixed elementary build when builddir != srcdir.
SVN revision: 40076
2009-04-15 05:01:26 +00:00
Gustavo Sverzut Barbieri 4fe27de5ea actually enable netwm window type set, simplify code.
SVN revision: 40071
2009-04-15 02:08:07 +00:00
Carsten Haitzler d77c35a2fc fix load alloc bug.
SVN revision: 39980
2009-04-11 12:34:14 +00:00
Gustavo Sverzut Barbieri 75431ef347 add other Netwm window types, good for launcher ;-)
SVN revision: 39957
2009-04-11 04:54:12 +00:00
Gustavo Sverzut Barbieri b9670eb461 focus in/out signals.
SVN revision: 39860
2009-04-04 16:58:28 +00:00
Gustavo Sverzut Barbieri 17840b8120 list items no keep reference to their node, returns siblings.
SVN revision: 39857
2009-04-04 15:06:58 +00:00
Gustavo Sverzut Barbieri 557a0c1f98 couple of changes and addition.
* list: export label and base object for items

 * list: per-item delete function, cleanup associated data.

 * list: clear.

 * couple of functions return success or failure.

 * win: sticky, lower and raise




SVN revision: 39845
2009-04-03 21:52:01 +00:00
Carsten Haitzler 42853697f8 add data get call for convenience.
SVN revision: 39815
2009-03-31 11:58:56 +00:00
Carsten Haitzler e136d2a03a fix scale for toolbar
SVN revision: 39797
2009-03-30 08:32:25 +00:00
Carsten Haitzler 26102c8cfe add cancel action for copy & paste.
SVN revision: 39642
2009-03-23 04:55:37 +00:00
Carsten Haitzler 16a328cba1 and make entry work nicely by freezing/holding scrolling (hold == different
scroll mode).



SVN revision: 39601
2009-03-20 15:08:33 +00:00
Carsten Haitzler e5298074e7 work on bettre touchscreen text selection support. not 100% done yet. been
playing with ideas. this one seems best.



SVN revision: 39579
2009-03-19 13:36:46 +00:00
Carsten Haitzler 2685a2feef oopsie thanks to hendrik!
SVN revision: 39513
2009-03-17 00:37:02 +00:00
Michael Lauer 569434d6e0 fix typo (can't stand it any more :))
SVN revision: 39512
2009-03-17 00:13:25 +00:00
Carsten Haitzler 0c6c2eefd0 tree is working... i'm happy (for now). :)
SVN revision: 39488
2009-03-15 09:32:35 +00:00
Carsten Haitzler 5eb759a0e9 and fix the updates for vala
SVN revision: 39487
2009-03-15 04:13:08 +00:00
Carsten Haitzler 5673ab5eb7 make vala happy.
SVN revision: 39485
2009-03-15 03:03:54 +00:00
Carsten Haitzler e730cb0364 indent tree items... not perfect... but good
add rotation api call.



SVN revision: 39480
2009-03-14 18:03:19 +00:00
Carsten Haitzler 6e0c99e69f fixes for some bugs i found, tree ability in genlist (basic not fully done
visually yet), and some win util calls added.



SVN revision: 39456
2009-03-13 05:50:38 +00:00
Vincent Torri a3657ff30a * use binary flag in fopen
* fix warning


SVN revision: 39342
2009-03-03 06:48:56 +00:00
Carsten Haitzler fd86051c05 pager now is all happy. after fiddling ... and some thought.
SVN revision: 39327
2009-03-02 09:42:58 +00:00
Carsten Haitzler 0290e9d631 finally pager working how i like.. a little...
SVN revision: 39326
2009-03-02 08:59:00 +00:00
Carsten Haitzler d1227d4099 glow easier to see.
SVN revision: 39325
2009-03-02 05:48:14 +00:00
Carsten Haitzler acf2ea7eb3 only build quicklaunch on systems that have... fork!
SVN revision: 39319
2009-03-01 23:52:13 +00:00
Carsten Haitzler 69440886fc only build quicklaunch stuff if fork is found.
SVN revision: 39303
2009-03-01 09:33:41 +00:00
Carsten Haitzler fbc56fe2fb add fps setting.
SVN revision: 39272
2009-02-28 07:32:50 +00:00
Carsten Haitzler 82bea491f8 demo changed callback of check and using it in genlist item
SVN revision: 39242
2009-02-26 08:25:22 +00:00
Carsten Haitzler 841ea095da clean up elm header and add acknowledgements
SVN revision: 39236
2009-02-26 06:50:36 +00:00
Carsten Haitzler e75be2e724 change argv[0] to match quicklanch process name. much better for debugging!
SVN revision: 39235
2009-02-26 06:20:41 +00:00
Carsten Haitzler 4954c694d7 no - need to add. the strings are not necessarily stringshare strings!
SVN revision: 39233
2009-02-26 06:09:15 +00:00
Carsten Haitzler c868b1081b handle crashing in quicklaunch - restart yourself.
SVN revision: 39231
2009-02-26 04:36:13 +00:00
Carsten Haitzler 4e998eac34 1. setsid to children detech from parent
2. entry segv fix possibly
3. some formatting for list frees



SVN revision: 39225
2009-02-26 02:13:34 +00:00
Jaime Thomas 3e1edbcf4f Match the other changes.
SVN revision: 39221
2009-02-25 23:17:01 +00:00
Gustavo Sverzut Barbieri d7829ccd3c use EINA_LIST_FREE()
This macro helps releasing a list of elements in efficient and safe way.



SVN revision: 39217
2009-02-25 20:18:38 +00:00
Gustavo Sverzut Barbieri d1d91b99df Move eina list iterations to EINA_LIST_FOREACH variants.
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.



SVN revision: 39216
2009-02-25 19:50:45 +00:00
Gustavo Sverzut Barbieri 47c6288efc Safer use of Eina_Inlist.
Avoid doing casts on it, use EINA_INLIST to define the struct and
EINA_INLIST_GET() to access members, this way if you misused the types
compiler will be able to warn you.

Move most Eina_Inlist loops to EINA_INLIST_FOREACH(), this way it is
more clear and if we want to change something we just change the
macro.

Needs new code in Eina!!! (fix EINA_INLIST_GET() macro)



SVN revision: 39209
2009-02-25 16:22:29 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 647ef9e4f0 that was silly. actually assign the val
SVN revision: 39204
2009-02-25 11:27:01 +00:00
Carsten Haitzler da3167a027 fix finger size scale with ql
SVN revision: 39203
2009-02-25 11:19:49 +00:00
Carsten Haitzler f7a18a3db9 add quicklauncher infra! elementary_testql uses this infra.
SVN revision: 39199
2009-02-25 11:00:07 +00:00
Carsten Haitzler 017cc96515 fix next/prev bug.
SVN revision: 39186
2009-02-25 00:41:57 +00:00
Carsten Haitzler 31c76226ea and fix some genlist bugs i spotted!
SVN revision: 39177
2009-02-24 13:08:21 +00:00
Carsten Haitzler e6b518e7af comment--
SVN revision: 39175
2009-02-24 11:59:51 +00:00
Carsten Haitzler 03f44c4768 genlist theme issue - fixed.
SVN revision: 39174
2009-02-24 11:58:52 +00:00
Carsten Haitzler 7e31e6d212 radio widget working.
SVN revision: 39173
2009-02-24 09:23:51 +00:00
Carsten Haitzler 5a806c775b oops - how did that happen? no get state for toggle and check. added.
SVN revision: 39169
2009-02-24 01:23:18 +00:00
Carsten Haitzler 26310ad463 check looks good-ish now.
SVN revision: 39164
2009-02-23 13:30:31 +00:00
Carsten Haitzler fa0c07db79 todo stuff
scroller segv fix (list showed it).
check theme item placeholder. doing gfx.



SVN revision: 39161
2009-02-23 11:40:24 +00:00
Carsten Haitzler be9254a478 add ability for apps to extend their theme (adding more styles) or overlay it
forcibly (with their own customtheme implementing custom modifications of
their own).



SVN revision: 39158
2009-02-23 08:40:58 +00:00
Carsten Haitzler 87f728b766 begin check widget work, and make elm_theme use a path like normal unix paths
do with : - allow relative, absolute and ~/ files. otherwise as before.



SVN revision: 39156
2009-02-23 08:05:05 +00:00
Carsten Haitzler 15b7022242 a specific test for update and multiple/different icons etc.
SVN revision: 39108
2009-02-20 01:07:21 +00:00
Carsten Haitzler 2d303c2ce7 and demo focusing a specific widget, not just the first.
SVN revision: 39090
2009-02-19 07:05:12 +00:00
Carsten Haitzler 8af44b2483 and back to 10k test, and only insert 8 items from the queue at a time.
SVN revision: 39089
2009-02-19 06:29:07 +00:00
Carsten Haitzler 20ab3d1d84 printf--
SVN revision: 39088
2009-02-19 06:02:56 +00:00
Carsten Haitzler 78b673c9cb fix some insertion/append/prepend stuff. wasn't working. hunted bug. now
insert queue is slow. need to check.



SVN revision: 39086
2009-02-19 04:37:06 +00:00
Carsten Haitzler f9fb1d3f0f make scroller stay in the exact pixel pos when resizign - unless at the end.
SVN revision: 39080
2009-02-18 13:42:56 +00:00
Carsten Haitzler cab8dc9942 handle dynamic theme and scale changes in genlist
SVN revision: 39079
2009-02-18 13:13:10 +00:00
Carsten Haitzler 145967f4ee insert and prepend calls work... at least in my tests.
SVN revision: 39077
2009-02-18 12:41:45 +00:00
Carsten Haitzler eb9349e44b oops- didnt add sub obj!
SVN revision: 39076
2009-02-18 07:10:42 +00:00
Carsten Haitzler d88c4d4cab make finger size match docs!
SVN revision: 39075
2009-02-18 05:32:47 +00:00
Carsten Haitzler f5ae19e69f genlist items can enable/disable
SVN revision: 39074
2009-02-18 04:51:22 +00:00
Carsten Haitzler 385fcff490 add clear call. fix free to have less leaks
SVN revision: 39073
2009-02-18 04:27:49 +00:00
Carsten Haitzler 0c40d9a0a8 fix up some dynamic add/del and showing code.
SVN revision: 39072
2009-02-18 04:18:25 +00:00
Carsten Haitzler 4aff7b184a handle errors and use eina error print.
SVN revision: 39066
2009-02-18 00:29:07 +00:00
Carsten Haitzler d6c75b5cad more genlist work.
SVN revision: 39059
2009-02-17 14:39:08 +00:00
Carsten Haitzler 00f0b4c9cc more genlist testing - deletign items works. not perfect - but working... in
small tests.



SVN revision: 39056
2009-02-17 07:50:35 +00:00
Carsten Haitzler 1d36bea662 use new fill mode, fix bug in object tracking and deletion - nasty one. more
genlist work too.



SVN revision: 39021
2009-02-15 02:53:56 +00:00
Carsten Haitzler bb9742a604 more work on genlist!
SVN revision: 39002
2009-02-12 13:39:43 +00:00
Carsten Haitzler 1099280784 fix some min size calc issues.
fix some theme size calc issues
make all widgets able to... do finger size! this way a ui can be tweaked with
1 value (finger size) if it is to be finger or mouse/stylus driven. and it
was so simple to add in.
work on genlist - beginning to display items and scroll.



SVN revision: 38995
2009-02-11 11:49:43 +00:00
Carsten Haitzler fc5d7b65e9 adjust slider theme a bit and test app. some skleton work on genlist.
SVN revision: 38992
2009-02-10 11:57:47 +00:00
Carsten Haitzler 86ebf4591c more work on slider - i think its complete now vertical mode works. might be
some buglts to clear up though.
fix scroller to scroll only at animator framerate.. using an animator making
scrolling much better.
begin genlist (geeric but complicated) list.



SVN revision: 38979
2009-02-09 11:23:59 +00:00
Carsten Haitzler a86ca90a14 horizontal is there. but man does it look wrong. need todo theme work.
SVN revision: 38973
2009-02-08 12:45:52 +00:00
Carsten Haitzler 55055feb3e slider... horizontal only done right now - but complete. looks decent methinks.
SVN revision: 38972
2009-02-08 12:34:58 +00:00
Cedric BAIL f53b4bea0f * elementary/configure.in,
* elementary/data/themes/Makefile.am,
	* elementary/data/objects/Makefile.am: Make configurable edje_cc binary (usefull when cross compiling).

	* elementary/src/lib/Elementary.h.in: Make libintl.h optional.



SVN revision: 38948
2009-02-05 10:23:04 +00:00
Carsten Haitzler a8043c0af7 and freee font path too.
SVN revision: 38915
2009-02-03 10:28:52 +00:00
Carsten Haitzler 77a09c957a env vars for font path, image and font cache and even font hintingt
SVN revision: 38914
2009-02-03 10:27:52 +00:00
Carsten Haitzler 40029378de remove a todo item
SVN revision: 38911
2009-02-03 05:54:46 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler 680daaa606 update .h.in todo
SVN revision: 38867
2009-01-31 23:23:51 +00:00
Carsten Haitzler 54f10e837c fix leak - no cleanup items in toolbar.
SVN revision: 38823
2009-01-28 00:48:43 +00:00
Carsten Haitzler 2706ed3038 add styles for inwin for mininmal and minimal_vertical
SVN revision: 38821
2009-01-28 00:28:20 +00:00
Carsten Haitzler 478023f683 export markup<->plain utf8 conversion calls and use them too.
SVN revision: 38803
2009-01-27 00:44:29 +00:00
Carsten Haitzler 9839429917 fix scroller del bug.
SVN revision: 38788
2009-01-26 02:18:41 +00:00
Carsten Haitzler 09ab0fb0df make inwin a bit bigger
make list track sub icon/end for deletion and so on.



SVN revision: 38787
2009-01-25 23:18:25 +00:00
Vincent Torri c5d296b658 add Windows XP support
SVN revision: 38701
2009-01-22 21:43:07 +00:00
Carsten Haitzler fbce5a6f7f oops. c++ support broken. fix!
SVN revision: 38675
2009-01-21 00:05:38 +00:00
Carsten Haitzler e385c359ec oops - forgot to use _elm_data_dir! fix!
SVN revision: 38619
2009-01-17 13:35:39 +00:00
Carsten Haitzler e737a9e838 fix header to document styles for widgets with styles.
SVN revision: 38602
2009-01-16 02:49:18 +00:00
Carsten Haitzler 6a6dee4e08 fix list slowness with edje complaints on min size. also handle sizing icons
down when icon allowed to down-scale.



SVN revision: 38593
2009-01-15 11:34:39 +00:00
Carsten Haitzler 90f79c27db 1. add carousel start - does nothnig. ignore. copy of toolbar atm to start with
2. make elementary be able to determine theme from
  PREFIX/share/elementary/themes or ~/.elementary/themes (~/ takes preference)
  currently using a delimited list of theme names in order to check like:
    mytheme/fallback/morestuff/default
  (if the last theme entry is on default it is added explicitly).
  this allows multiple theme files bascially to work a bit like a fontset - try
  the first one - if not there, try the next and so on. set $ELM_THEME to your
  theme setting
3. determine prefix and thus data dir - where system themes go. if it can't
  rely on dladdr, or the compiled-in prefix/data dir, you can set $ELM_PREFIX
  and/or $ELM_DATA_DIR accordingly.
  


SVN revision: 38568
2009-01-13 09:20:53 +00:00
Vincent Torri 478ebffb67 Windows CE: use the gdi engine for now
SVN revision: 38537
2009-01-10 14:48:30 +00:00
Carsten Haitzler 6a8274378d fix typos.
SVN revision: 38517
2009-01-09 13:58:48 +00:00
Carsten Haitzler a8d40d0d5f provide a #defined macro for the standard main() for elementary apps.
SVN revision: 38510
2009-01-09 11:34:55 +00:00
Carsten Haitzler d63440b865 list is pretty functional now.
SVN revision: 38509
2009-01-09 07:35:52 +00:00
Carsten Haitzler 2c90cd89ae more list stuff working
SVN revision: 38508
2009-01-09 03:03:36 +00:00
Carsten Haitzler f382576f6a more list work - also some minimal safety stuff.
SVN revision: 38503
2009-01-08 14:29:13 +00:00