Re: [E-devel] Layout module?

2008-08-11 Thread Michael Stapelberg
Hi Andreas,

* [12.08.08 00:29]:
   do
   {
 E_Border *border;
 clientList = evas_list_next (clientList);
 border = clientList-data;
 [...]
 The question is why that happens. Maybe I used Evas_List in a wrong
 way. Could anyone have a short eye on this?
Yes, you do. The problem is your loop. You assign border after iterating and
without checking if clientList is not null. Use it like this:

Evas_List *l;
for (l = e_border_client_list(); l; l = l-next) {
E_Border *border = l-data;
/* ... */
}

Best regards,
Michael

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Tiling module: new URL and merge request

2008-06-01 Thread Michael Stapelberg
Hi,

I've just now migrated the tiling module from the old server dev.twice-irc.de
to code.stapelberg.de with a working CACert-SSL-certificate and IPv6-support.
You can now find it at 
https://code.stapelberg.de/git/?p=e17-tiling/.git;a=summary
To change your git-repository, just edit .git/config and replace the old URL
with git://code.stapelberg.de/e17-tiling

Of course, the mirror at staff.get-e.org still exists.

Furthermore, I now consider the module stable. I've been using it for nearly
two months and yesterday I fixed the only bug I've encountered during these two
months (only showed up when using xinerama).

Therefore, I'd be happy to see it in official CVS. I've mailed raster about
this, but he seems to be quite busy. If anyone of you wants to merge, please
apply the included desk.patch to apps/e/src/bin first and then put the module
in e_modules/tiling - thanks!

Best regards,
Michael

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Gsoc] the presentation tools

2008-05-23 Thread Michael Stapelberg
Hi Atton,

Thanks for your mail and thanks for working on the project. I'm very
interested in it because it may be an easier solution than powerdot for LaTeX
to create graphically beautiful presentations.

I just wanted to ensure that one can write the presentation input file in any
editor and compile it with a simple commandline-utility, like LaTeX. Is this
the case? I'm not really interested in a GUI except for creating schemes.

Please update us on the progress and when you need help in testing, I'm
available for testing it :).

Best regards,
Michael

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Gsoc] the presentation tools

2008-05-23 Thread Michael Stapelberg
Hi Chady,

* [23.05.08 09:49]:
 Thinking of the target audience, who is really interested in creating
 presentations?
Everybody somewhen at some time? :)

 With that in mind, would that person be really interested in creating their
 presentation in a text file or are they more interested in concentrating on
 the presentation itself?
Both should be possible. I just mentioned 'my way' to ensure it is not
forgotten about and some GUI is *necessary* for creating presentations in the
end - we should let the user decide what he wants...

Best regards,
Michael

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EET minor details

2008-04-28 Thread Michael Stapelberg
Hi raster,

* [28.04.08 05:19]:
 WANT in eet. i fought against it forever. i did it to shut the complainers up
 with but we can't edit the files in a text editor. it's there. u can dump
 into text, edit and convert back to eet data. does anyone actually use it( 
 eet -
 the cmd-line tool can do this)... NOO - of course not! people are mostly a
Actually, I like the possibility to do this when developing. I'm using eet in
one of my projects and without eet -x, I'd probably still be searching for
a bug... ;-)

Best regards,
Michael

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Tiling module for e17

2008-04-18 Thread Michael Stapelberg
Hi Will,

* [18.04.08 00:10]:
 The first time I loaded this module, E segfaulted.  It loaded successfully 
 the next time, though.  However, 
 since unloading it I am unable to load the module again - E segfaults on 
 every attempt.  I am attaching a 
 backtrace from gdb.
Did you load this module before? I've seen this before when already having a
configurationfile.

Thanks to your backtrace, I've fixed the problem (I think, please test and
confirm). Please use git pull to get the bugfix, re-compile and test again.

Best regards,
Michael

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Tiling module for e17

2008-04-13 Thread Michael Stapelberg
Hi Dave,

* [13.04.08 03:37]:
 Hi, really a good module !! good work
 This version works well on my machine, also my xterm problem seem solved :)
Thanks, good to hear :-).

 You should add an
 X-Enlightenment-ModuleType=system
 line to the module.desktop.in file to make the module appear in the right
 category on the module setting dialog. Is system the right category for you?
Oh, thanks for the hint. I forgot this one. appearance is the more
appropriate category, I think. New Revision is in the git repositories.

 In my opinion we can commit the patch for e as it's really simple and
 brake free, so to make testing easier.
Yes, I think so, too. Anyone got CVS access and is willing to put the
following patch in please?
http://staff.get-e.org/?p=users/michael/e17-tiling.git/.git;a=blob_plain;f=desk.patch;hb=d1ff98e8d9de4cce37fa1643885413c0401b73e2

 Also I think your module should replace the really too much simple layout
 internal module once it is stable enought.
I think this one is to be used for something different (e17 on embedded
devices), however let raster speak on this ;-).

 Now a feature request: the ability to set a border for the desktop that
 will not be covered by tiling, for example top 10px, left 100px...
 This is usefull if you have other staff than shelf around your desktop,
 like itask, trayer or module placed on the desktop ;)
Ah, I see. I don't use anything like that so I didn't think about it before.
Wouldn't the best solution be to integrate everything into shelves as it
should be part of your windowmanager anyway?

One way to fix that would be to let the module not only take care of shelves
but also of sticky windows so you can just set it sticky in e and all the
other windows will go around it but the window itself will not be tiled and
not be set floating.

 I'm going to use your module everyday, so expect somo bug report... :)
Great :-).

Best regards,
Michael

PS: Please CC the mailinglist.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Tiling module for e17

2008-04-13 Thread Michael Stapelberg
Hi Dave,

* [13.04.08 14:51]:
 Something is impossible to integrate, like trayer (as we need a better
 tray spec), and something (like itask) don't make sense in a shelf.
I see.

 This could be an intresting solution, it will work for trayer, but
 probably not for itask. Because itask use a trasparent window that is
 much bigger than the bar itself.
I don't exactly see what's the problem then - can't you set transparent
windows sticky?

 My border idea can also be only an estetic preference, you can also want
 to view a piece of your desktop. We should implement both (sticky and
 border) to give a user the maximum flexibility.
Whilst the sticky thing is relatively easy, I don't (yet) see a general
solution to implement not tiling specific areas of the screen and - this is
the main problem - the configuration dialog. If you got a good idea how to
make this configurable and generic, tell me ;-).

Best regards,
Michael

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Tiling module for e17

2008-04-13 Thread Michael Stapelberg
Hi Dave,

* [13.04.08 16:21]:
 The problem is that the itask window is really big (it take pratically
 half of your screen), also if the bar is really small.
Hm, does this change if you disable maginification of the icons? Or is this a
bug of itask?

 Just the borders, not generic areas.
 You can make 4 slider for top, bottom, left and right pixels to don't cover.
Well, if there is the possibility to do this for borders, there also should be
the possibility to do this for generic areas.

Probably the easiest way for now is starting your own git branch and patching
it in hard-coded.

jeffdameth: Do you have an idea what to do in order to solve this in the best
possible way?

Best regards,
Michael

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Tiling module for e17

2008-04-13 Thread Michael Stapelberg
Hi Gustavo,

* [13.04.08 18:22]:
 AFAIR it is smaller, but that doesn't matter much, as the point of
 using it is to do magnification :-)
Ah, so can we just push it in the edge of those fancy graphic stuff noone
needs, especially not when using tiling? ;-)

 Also, since I read people wanting this in embedded devices, and I like
 the idea as well: how does popup dialogs show and is this animated? I
There is an option to exclude dialogs from tiling for exactly this problem.
No, there are no animations yet and I haven't planned any.

Best regards,
Michael

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Tiling module for e17

2008-04-12 Thread Michael Stapelberg
Hi,

as some of you might already know from IRC, I've been working on a tiling
module for e17 for about a month. Today, it reached feature-complete status
and this is a good moment to post to the development list, I thought ;-).

For those of you who are not familiar with the concepts that (for example) ion
or wmii use: The windows on your screen always fill the whole available space,
there are no overlapping windows. Some people quite like this concept and are
more productive with it. Some (like me) have worked implicitly this way
sometimes - this can be more effective when using the module which does all
placement for you :-).

To get an idea of the configuration, see:
https://twice-irc.de/misc/tiling/config.png
(You need to install the CACert-root-certificate for this to work in newer
versions of firefox, go to http://www.cacert.org/index.php?id=3 and use the
class 3 one.)

To see how the different layouts look like:
https://twice-irc.de/misc/tiling/bigmain_xinerama.png (Big window left, small
windows on the right)
https://twice-irc.de/misc/tiling/grid_xinerama.png (Grid mode)

Of course, Xinerama is supported :-).

There may still be bugs, so I'd appreciate some testing. Please don't comment
the #define DEBUG out and let e17 log to a file, for example using startx
/opt/e17/bin/enlightenment_start 21 1elog and send me the file afterwards
if you're having strange bugs which are not design flaws.

There is a short HOWTO on installing as you need to apply a patch for adding
another event before desktop changes, so check
https://twice-irc.de/misc/HOWTO-e17-tiling if you'd like to try it.

For those familiar with patching/compiling, use git clone
git://dev.twice-irc.de/e17-tiling.git or check webgit on
https://dev.twice-irc.de/git/?p=e17-tiling.git;a=summary

Best regards,
Michael

PS: The module has exactly 1337 lines of ansi-c-code according to SLOCCount -
if that isn't a good sign... ;-)

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel