[E-devel] CVS->SVN.

2008-08-08 Thread The Rasterman
ok guys. i'm going to move stuff from CVS to SVN tomorrow. that means in 16
hours from now or so. get all your commits in NOW. that means in the next 16
hours. at some time soon after that i'll start the migration over and send out
an email when done. after that - just check out the svn tree and continue work.

so... 16 hours and counting... :)

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto/eina turran

2008-08-08 Thread Simon Horman
On Fri, Aug 08, 2008 at 12:51:18PM -0300, Gustavo Sverzut Barbieri wrote:
> On Fri, Aug 8, 2008 at 7:39 AM, Enlightenment CVS
> <[EMAIL PROTECTED]> wrote:
> 
> > +EAPI void eina_error_print(Eina_Error_Level level, const char *file,
> >const char *fnc, int line, const char *fmt, ...)
> >  {
> >va_list args;
> >
> >va_start(args, fmt);
> > -   _error_print(level, file, fnc, line, fmt, args);
> > +   if (level <= _error_level)
> > +   _print_cb(level, file, fnc, line, fmt, _print_cb_data, 
> > args);
> >va_end(args);
> > +}
> 
> Let's try to avoid this useless nesting and also making it more
> optimized, in this case, by using:
> 
> if (premature-exit-condition)
> return;

IMHO, if possible exiting early, as you suggest, almost always leads to
cleaner code.

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Top Level Makefile

2008-08-08 Thread Vikram Noel Ambrose
Here is a little Makefile i wrote really quickly to build the basic libs 
from the help page 
http://wiki.enlightenment.org/index.php/E17_User_Guide/Installing_Using_CVS


Pretty simple except for the chain rule bit. It would be nice to have 
something like this in the trunk for the n00b to use when building e17.


Put it anywhere you like, even /tmp and edit the SRCDIR path in it, and 
just hit "make" and you should have a nice build.



thanks.

V.
# Author- Vikram Ambrose
# Date  - 9/8/2008

# Installation Prefix
PREFIX  = /opt/e17
LIBDIR  = $(PREFIX)/lib64
INCLUDEDIR  = $(PREFIX)/include

# Top level source directory (ie, SRCDIR/libs/eet etc..)
SRCDIR  = /home/vikky/Programs/e17

# Folder to build in
BUILDDIR= $(SRCDIR)/build

# Folder to store timestamps
STAMPDIR= $(BUILDDIR)/stamps

# Number of make jobs
JOBS= 1

# Method of creating time stamp
STAMP   = echo `date` > 

# Print on the screen
PRINT   = echo -n -e 

# Environment variables for ./configure
CONFIG_VARS = PKG_CONFIG_PATH=$(LIBDIR)/pkgconfig 

# Environemnt variables for ./autogen.sh
AUTOGEN_VARS= NOCONFIGURE=y

# Build Log
#LOG= &> /dev/null 

all:  $(STAMPDIR)/built_all setup_env
@$(PRINT) "ALl Done\n"

$(STAMPDIR)/built_all: setup_env  eet evas ecore embryo efreet edje e_dbus
@$(STAMP) $@

# Run only once to create folders and other stuff if necessary
$(STAMPDIR)/setup :
@$(PRINT) "Creating build folders\n"
@mkdir $(STAMPDIR)
@$(STAMP) $@

# Run at each package rule
setup_env : $(STAMPDIR)/setup
@$(PRINT) "Setting up Environment\n"

# Used to run ./configure
$(STAMPDIR)/%.conf : $(STAMPDIR)/%.preconf
@$(PRINT) "Configuring $(basename $(notdir $@))\n"
@cd $(BUILDDIR)/$(basename $(notdir $@)) \
&& $(CONFIG_VARS) $(SRCDIR)/libs/$(basename $(notdir 
$@))/configure \
--prefix=$(PREFIX) \
--libdir=$(LIBDIR) \
$(LOG)
@$(STAMP) $@

# Actual compile rule
$(STAMPDIR)/%.compile : $(STAMPDIR)/%.conf
@$(PRINT) "Compiling $(basename $(notdir $@))\n"
@time { make -C $(BUILDDIR)/$(basename $(notdir $@)) -j $(JOBS) $(LOG) 
; }
@$(STAMP) $@

# Install rule
$(STAMPDIR)/%.install : $(STAMPDIR)/%.compile
@$(PRINT) "Installing $(basename $(notdir $@))\n"
@time { make -C $(BUILDDIR)/$(basename $(notdir $@))  install $(LOG) ; }
@$(STAMP) $@

# sh autogen.sh rule
$(STAMPDIR)/%.preconf : $(SRCDIR)/libs/%/autogen.sh $(STAMPDIR)/setup
@$(PRINT) "Preconfiguring $(basename $(notdir $@))\n"
@cd $(SRCDIR)/libs/$(basename $(notdir $@)) \
&& $(AUTOGEN_VARS) ./autogen.sh $(LOG)  
@mkdir $(BUILDDIR)/$(basename $(notdir $@))
@$(STAMP) $@


# Listed explicitly to prevent Make from deleteing intermediataries from Chain 
Rule
eet:$(STAMPDIR)/eet.install \
$(STAMPDIR)/eet.compile \
$(STAMPDIR)/eet.conf \
$(STAMPDIR)/eet.preconf

evas:   $(STAMPDIR)/evas.install \
$(STAMPDIR)/evas.compile \
$(STAMPDIR)/evas.conf \
$(STAMPDIR)/evas.preconf \
eet

ecore:  $(STAMPDIR)/ecore.install \
$(STAMPDIR)/ecore.compile \
$(STAMPDIR)/ecore.conf \
$(STAMPDIR)/ecore.preconf \
evas

embryo: $(STAMPDIR)/embryo.install \
$(STAMPDIR)/embryo.compile \
$(STAMPDIR)/embryo.conf \
$(STAMPDIR)/embryo.preconf \
efreet

efreet: $(STAMPDIR)/efreet.install \
$(STAMPDIR)/efreet.compile \
$(STAMPDIR)/efreet.conf \
$(STAMPDIR)/efreet.preconf \
ecore

edje:   $(STAMPDIR)/edje.install \
$(STAMPDIR)/edje.compile \
$(STAMPDIR)/edje.conf \
$(STAMPDIR)/edje.preconf \
embryo evas

e_dbus: $(STAMPDIR)/e_dbus.install \
$(STAMPDIR)/e_dbus.compile \
$(STAMPDIR)/e_dbus.conf \
$(STAMPDIR)/e_dbus.preconf \
edje

.PHONY: eet evas ecore embryo edje e_dbus setup_env all

-
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=100&url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Toma
On 09/08/2008, Zachary Goldberg <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 8, 2008 at 11:57 PM, Toma <[EMAIL PROTECTED]> wrote:
> > A big factor in any theme is its colour palette. Here are a couple that I 
> > like.
> >
> > http://www.colourlovers.com/palette/292482/Terra
> > Kind of standardish...
> >
> > http://www.colourlovers.com/palette/482774/dream_magnet
> > With this one it might be an idea to use some red highlights in some
> > things or even little splashes of red against the dark blues.
> >
> > In addition to all those, a splash of black and white is something
> > that might be needed. Any more ideas on that?
> >
> > Toma
> >
> >
> >
> > On 08/08/2008, Toma <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >> Now, I know raster is working on a new theme, and I know a lot of
> >> people already love it, but its so far a lot of the same in terms of
> >> whats already out there. (Please dont debate that on this thread!) And
> >> I applaud him for keeping to the norm and keeping it simple, but EFL
> >> is far more powerful than whats already in there. Im thinking about a
> >> theme that does still keep a semi-traditional edge, but really pushes
> >> the boundaries of UI, 'beautiful'-ness and originality.
> >>
> >> Here are some simple rules.
> >> 1. Dont copy Mac. -Apple already done it.
> >> 2. Dont copy Vista. -It sucks. :)
> >> 3. Dont copy KDE4. -KDE already done it.
> >> 4. (Should I even mention gnome?) -Sarcasm.
> >> 5. Make sure its entirely usable by people. Half-wits dont generally
> >> wander too far from gnome. :)
> >> 6. Make the user say "Oh my. Thats something E17 can do? Im in love."
> >> 7. K. I. S. S. (Keep It Simple, Stupid!)
> >>
> >> Youre probably wondering, thats all good and fine, but this means
> >> nothing without screenshots.
> >> So, Im asking you all for some input. Just some simple ideas, be it
> >> for a check box, a window button, a slider, a background... whatever.
> >> If you have any screenshots, or like the way some other theme already
> >> does something, throw that in there too. But remember, "Originality"
> >> is going to be key to this design experiment. I also would like to see
> >> this come as a separate theme thats installed as default to show some
> >> contrast in E design between rasters new one and this other that
> >> hopefully we all make.
> >>
> >> Lets make E kick ass all over the place!
> >> Toma.
> >>
> >
> > -
> > 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=100&url=/
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> Can I put in a request for mouse sensitive (hover)
> minimize/maximize/close buttons?
>

Absolutely. On that note, the animated ones Sthitha used in chrome
have always been an awesome way to convey the message of what the
buttons action is. (I even used them in Grunge for the blood splat
buttons) We could always keep the conventional images - O X and
animate those to show what they do aswell.

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Zachary Goldberg
On Fri, Aug 8, 2008 at 11:57 PM, Toma <[EMAIL PROTECTED]> wrote:
> A big factor in any theme is its colour palette. Here are a couple that I 
> like.
>
> http://www.colourlovers.com/palette/292482/Terra
> Kind of standardish...
>
> http://www.colourlovers.com/palette/482774/dream_magnet
> With this one it might be an idea to use some red highlights in some
> things or even little splashes of red against the dark blues.
>
> In addition to all those, a splash of black and white is something
> that might be needed. Any more ideas on that?
>
> Toma
>
>
>
> On 08/08/2008, Toma <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> Now, I know raster is working on a new theme, and I know a lot of
>> people already love it, but its so far a lot of the same in terms of
>> whats already out there. (Please dont debate that on this thread!) And
>> I applaud him for keeping to the norm and keeping it simple, but EFL
>> is far more powerful than whats already in there. Im thinking about a
>> theme that does still keep a semi-traditional edge, but really pushes
>> the boundaries of UI, 'beautiful'-ness and originality.
>>
>> Here are some simple rules.
>> 1. Dont copy Mac. -Apple already done it.
>> 2. Dont copy Vista. -It sucks. :)
>> 3. Dont copy KDE4. -KDE already done it.
>> 4. (Should I even mention gnome?) -Sarcasm.
>> 5. Make sure its entirely usable by people. Half-wits dont generally
>> wander too far from gnome. :)
>> 6. Make the user say "Oh my. Thats something E17 can do? Im in love."
>> 7. K. I. S. S. (Keep It Simple, Stupid!)
>>
>> Youre probably wondering, thats all good and fine, but this means
>> nothing without screenshots.
>> So, Im asking you all for some input. Just some simple ideas, be it
>> for a check box, a window button, a slider, a background... whatever.
>> If you have any screenshots, or like the way some other theme already
>> does something, throw that in there too. But remember, "Originality"
>> is going to be key to this design experiment. I also would like to see
>> this come as a separate theme thats installed as default to show some
>> contrast in E design between rasters new one and this other that
>> hopefully we all make.
>>
>> Lets make E kick ass all over the place!
>> Toma.
>>
>
> -
> 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=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

Can I put in a request for mouse sensitive (hover)
minimize/maximize/close buttons?

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Toma
A big factor in any theme is its colour palette. Here are a couple that I like.

http://www.colourlovers.com/palette/292482/Terra
Kind of standardish...

http://www.colourlovers.com/palette/482774/dream_magnet
With this one it might be an idea to use some red highlights in some
things or even little splashes of red against the dark blues.

In addition to all those, a splash of black and white is something
that might be needed. Any more ideas on that?

Toma



On 08/08/2008, Toma <[EMAIL PROTECTED]> wrote:
> Hi all,
> Now, I know raster is working on a new theme, and I know a lot of
> people already love it, but its so far a lot of the same in terms of
> whats already out there. (Please dont debate that on this thread!) And
> I applaud him for keeping to the norm and keeping it simple, but EFL
> is far more powerful than whats already in there. Im thinking about a
> theme that does still keep a semi-traditional edge, but really pushes
> the boundaries of UI, 'beautiful'-ness and originality.
>
> Here are some simple rules.
> 1. Dont copy Mac. -Apple already done it.
> 2. Dont copy Vista. -It sucks. :)
> 3. Dont copy KDE4. -KDE already done it.
> 4. (Should I even mention gnome?) -Sarcasm.
> 5. Make sure its entirely usable by people. Half-wits dont generally
> wander too far from gnome. :)
> 6. Make the user say "Oh my. Thats something E17 can do? Im in love."
> 7. K. I. S. S. (Keep It Simple, Stupid!)
>
> Youre probably wondering, thats all good and fine, but this means
> nothing without screenshots.
> So, Im asking you all for some input. Just some simple ideas, be it
> for a check box, a window button, a slider, a background... whatever.
> If you have any screenshots, or like the way some other theme already
> does something, throw that in there too. But remember, "Originality"
> is going to be key to this design experiment. I also would like to see
> this come as a separate theme thats installed as default to show some
> contrast in E design between rasters new one and this other that
> hopefully we all make.
>
> Lets make E kick ass all over the place!
> Toma.
>

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Toma
Im thinking about putting some gadgets into the background itself.
These gadgets can have little activate/deactive switches on there
too...

eg. clicking a little (C) will pop up an edje based calculator that
can be dragged around... then clicking the (C) again will close it.
Same thing can be done for a clock.

While it would be good to have these as seperate modules or apps, its
not needed and could learn to some more ideas in interactive
backgrounds.
Theres 1 problem to this idea and its this bug I found a while ago...
http://bugs.enlightenment.org/show_bug.cgi?id=485
Where dragable items with a confine dont position correctly.

This would be cool, but the obvious target for this theme is also
beauty, so that idea would need to be considered I guess.

Toma



On 09/08/2008, Nick Hughart <[EMAIL PROTECTED]> wrote:
> Gustavo Sverzut Barbieri wrote:
> > On Fri, Aug 8, 2008 at 1:40 PM, Jorge Mariani <[EMAIL PROTECTED]> wrote:
> >
> >> Agree, but I'll tell you my point.
> >>
> >> I love to port. Why? Because, first of all, I'm not an artist, but
> >> maybe a pretty good coder. So, I lack the imagination and the artistic
> >> skills to make pixmaps and etc. But also, I like to see wm makeups
> >> widespread. In my ideal world, there's going to be a huge meeting of
> >> GUI developers and everybody will agree on creating a standard for
> >> window customization, across all OS.
> >>
> >> So, I will keep porting whatever. I'll try to port original ideas, not
> >> only common OS GUIs. But also, I'm open and if somebody has a good
> >> idea, but lacks time or skills to code, be welcome to send me mockups
> >> or whatever. I'll be happy to help.
> >>
> >
> > If you think so, why don't make things like Apple E17
> > (http://exchange.enlightenment.org/theme/show/394) better? I could
> > look and behave much better by being more strictly like apple's
> > version, today it looks like an amateur rip off (Yes, it can be made
> > even better than real macos, but it's not even at the same level)
> >
> Well don't copy it too much, Apple, as well as MS, have sent letters to
> people who have copied it too closely.  So this is the best reason to
> stay away from such themes, could be a big time waste if you can't
> distribute it.
>
>
> -
> 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=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto/eina cedric

2008-08-08 Thread The Rasterman
On Fri, 8 Aug 2008 12:47:48 -0300 "Gustavo Sverzut Barbieri"
<[EMAIL PROTECTED]> babbled:

i agree here - this macro as a public header macro to be "commonly used" is not
so hot an idea. :(

> On Fri, Aug 8, 2008 at 11:20 AM, Enlightenment CVS
> <[EMAIL PROTECTED]> wrote:
> 
> > +#define EINA_ARRAY_ITER_NEXT(array, index, item) \
> > +  for ((index) = 0; (index) < eina_array_count(array); ++(index)) \
> > +{\
> > +   (item) = eina_array_get((array), (index));
> > +
> > +#define EINA_ARRAY_ITER_END }
> 
> NO, and this is a BIG NO. Guys, come on, this is the worst thing we
> can do. Don't make macros like that, it is very error prone. Use
> something like (untested):
> 
> #define EINA_ARRAY_FOREACH(array, index, item) \
> for (index = 0, item = index < eina_array_count(array) ?
> eina_array_get(array, index) : NULL; index < eina_array_count(array);
> index++)
> 
> EINA_ARRAY_FOREACH(array, index, item) {
>code
> }
> 
> 
> remarks:
>1 - i haven't checked if eina_array_get() checks for out-of-bounds
> indexes, I suppose it doesn't, so I did the first check. IMO doing
> this check inside the FOR is useless, double-checking.
>2 - you don't need parenthesis around index and item, at least.
> That is because you are assigning to them, thus making use of any
> expression (the use of parenthesis), will make it invalid. If one
> wants, for example, to use as item a pointer, he will have to add the
> parenthesis himself anyway:   *(v + idx).
> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --
> MSN: [EMAIL PROTECTED]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
> 
> -
> 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=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] licensing - end it.

2008-08-08 Thread Michael Jennings
On Thursday, 07 August 2008, at 09:57:00 (-0500),
Nick Hughart wrote:

> Can you move code from an LGPL/GPL app into a BSD library with the
> permission of the author of that code and just that specific code?

You can do anything you want with code if you have the permission of
all authors of that specific code.  Obviously, the larger the chunk of
code, the more authors there are apt to be.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
Linux Server/Cluster Admin, LBL.gov   Author, Eterm (www.eterm.org)
---
 "The White House doesn't take American Express.  A briefcase full of
  unmarked bills:  It's everywhere you want to be."-- Rona Bologna

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc Segmentation fault

2008-08-08 Thread Jorge Mariani
Thanks!

On Aug 8, 2008, at 3:20 PM, Christopher Michael wrote:

> Jorge Mariani wrote:
>> Hi.
>> I have understood that if you have something like:
>> image {
>>normal: "imagename.png";
>> }
>> this can be abbreviated as image.normal: "imagename.png";
>> Then, the construction
>> description {
>>  state: "default" 0.0;
>> }
>> should be also abbreviated as description.state: "default" 0.0;
>> If I do that, I get an "Segmentation fault" message while  
>> edje_cc'ing.
>> Cya.
> Yea, you can do that with the image part, but you cannot do it with  
> the description part (currently).
>
> dh


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc Segmentation fault

2008-08-08 Thread Christopher Michael
Jorge Mariani wrote:
> Hi.
> 
> I have understood that if you have something like:
> 
> image {
> normal: "imagename.png";
> }
> 
> this can be abbreviated as image.normal: "imagename.png";
> 
> Then, the construction
> 
> description {
>   state: "default" 0.0;
> }
> 
> should be also abbreviated as description.state: "default" 0.0;
> 
> If I do that, I get an "Segmentation fault" message while edje_cc'ing.
> 
> Cya.
Yea, you can do that with the image part, but you cannot do it with the 
description part (currently).

dh

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] edje_cc Segmentation fault

2008-08-08 Thread Jorge Mariani
Hi.

I have understood that if you have something like:

image {
normal: "imagename.png";
}

this can be abbreviated as image.normal: "imagename.png";

Then, the construction

description {
  state: "default" 0.0;
}

should be also abbreviated as description.state: "default" 0.0;

If I do that, I get an "Segmentation fault" message while edje_cc'ing.

Cya.
-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Nick Hughart
Gustavo Sverzut Barbieri wrote:
> On Fri, Aug 8, 2008 at 1:40 PM, Jorge Mariani <[EMAIL PROTECTED]> wrote:
>   
>> Agree, but I'll tell you my point.
>>
>> I love to port. Why? Because, first of all, I'm not an artist, but
>> maybe a pretty good coder. So, I lack the imagination and the artistic
>> skills to make pixmaps and etc. But also, I like to see wm makeups
>> widespread. In my ideal world, there's going to be a huge meeting of
>> GUI developers and everybody will agree on creating a standard for
>> window customization, across all OS.
>>
>> So, I will keep porting whatever. I'll try to port original ideas, not
>> only common OS GUIs. But also, I'm open and if somebody has a good
>> idea, but lacks time or skills to code, be welcome to send me mockups
>> or whatever. I'll be happy to help.
>> 
>
> If you think so, why don't make things like Apple E17
> (http://exchange.enlightenment.org/theme/show/394) better? I could
> look and behave much better by being more strictly like apple's
> version, today it looks like an amateur rip off (Yes, it can be made
> even better than real macos, but it's not even at the same level)
>   
Well don't copy it too much, Apple, as well as MS, have sent letters to 
people who have copied it too closely.  So this is the best reason to 
stay away from such themes, could be a big time waste if you can't 
distribute it.


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto/eina turran

2008-08-08 Thread David Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Ingersoll wrote:
[snip]
> 
> Maybe this speaks more about your experience than the project as a
> whole. I certainly feel part of a community from years of working with
> good people that have treated each other with respect. I have
> regularly seen people come through and hurt the community by refusing
> to work with others or don't treat others with respect.
> 
> Do you feel that every new person that comes to the project should be
> allowed to choose a new license? re-implement an existing component?
> 
> Whether you try to dismiss what I have to say as "word games" or not,
> you are nowhere near arguing a strong reason that you should be able
> to impose a license change on the project. You are basically saying
> "This is what I want, so that's how it should be." And if you're
> listening to the people on this list, many of us only want one license
> in the project.
> 
> Seeing as the point of eina was to unify the use of data structures
> and utility functions, this is a very fracturing decision.
> 

I am merely a lowly e17 user (and former packager), but in the hope that more
voices might stop this madness, I'd like to add my support for Nathan here.
This is a community-fracturing decision, and it's being pushed through with a
complete lack of consensus.  Multiple licenses under e17 is also going to make
packaging it for distribution harder - you can't create a metapackage which will
pull in all libs under one licence.  It's not hard to work around, but it makes
things harder with no gain.

Dave Moore

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkianEYACgkQt9aL8U2V1lE9VACbBbAv6Piav1ZdxkCJtF0SLqMX
dvAAnRYOa6/hOm5NXohyvxv93KNIaHGN
=ft1k
-END PGP SIGNATURE-

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Gustavo Sverzut Barbieri
On Fri, Aug 8, 2008 at 1:40 PM, Jorge Mariani <[EMAIL PROTECTED]> wrote:
> Agree, but I'll tell you my point.
>
> I love to port. Why? Because, first of all, I'm not an artist, but
> maybe a pretty good coder. So, I lack the imagination and the artistic
> skills to make pixmaps and etc. But also, I like to see wm makeups
> widespread. In my ideal world, there's going to be a huge meeting of
> GUI developers and everybody will agree on creating a standard for
> window customization, across all OS.
>
> So, I will keep porting whatever. I'll try to port original ideas, not
> only common OS GUIs. But also, I'm open and if somebody has a good
> idea, but lacks time or skills to code, be welcome to send me mockups
> or whatever. I'll be happy to help.

If you think so, why don't make things like Apple E17
(http://exchange.enlightenment.org/theme/show/394) better? I could
look and behave much better by being more strictly like apple's
version, today it looks like an amateur rip off (Yes, it can be made
even better than real macos, but it's not even at the same level)

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New theme

2008-08-08 Thread Jorge Mariani
Agree, but I'll tell you my point.

I love to port. Why? Because, first of all, I'm not an artist, but  
maybe a pretty good coder. So, I lack the imagination and the artistic  
skills to make pixmaps and etc. But also, I like to see wm makeups  
widespread. In my ideal world, there's going to be a huge meeting of  
GUI developers and everybody will agree on creating a standard for  
window customization, across all OS.

So, I will keep porting whatever. I'll try to port original ideas, not  
only common OS GUIs. But also, I'm open and if somebody has a good  
idea, but lacks time or skills to code, be welcome to send me mockups  
or whatever. I'll be happy to help.

Cya!

On Aug 8, 2008, at 10:50 AM, Toma wrote:

> Hi all,
> Now, I know raster is working on a new theme, and I know a lot of
> people already love it, but its so far a lot of the same in terms of
> whats already out there. (Please dont debate that on this thread!) And
> I applaud him for keeping to the norm and keeping it simple, but EFL
> is far more powerful than whats already in there. Im thinking about a
> theme that does still keep a semi-traditional edge, but really pushes
> the boundaries of UI, 'beautiful'-ness and originality.
>
> Here are some simple rules.
> 1. Dont copy Mac. -Apple already done it.
> 2. Dont copy Vista. -It sucks. :)
> 3. Dont copy KDE4. -KDE already done it.
> 4. (Should I even mention gnome?) -Sarcasm.
> 5. Make sure its entirely usable by people. Half-wits dont generally
> wander too far from gnome. :)
> 6. Make the user say "Oh my. Thats something E17 can do? Im in love."
> 7. K. I. S. S. (Keep It Simple, Stupid!)
>
> Youre probably wondering, thats all good and fine, but this means
> nothing without screenshots.
> So, Im asking you all for some input. Just some simple ideas, be it
> for a check box, a window button, a slider, a background... whatever.
> If you have any screenshots, or like the way some other theme already
> does something, throw that in there too. But remember, "Originality"
> is going to be key to this design experiment. I also would like to see
> this come as a separate theme thats installed as default to show some
> contrast in E design between rasters new one and this other that
> hopefully we all make.
>
> Lets make E kick ass all over the place!
> Toma.
>
> -
> 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=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] New theme

2008-08-08 Thread Toma
Hi all,
Now, I know raster is working on a new theme, and I know a lot of
people already love it, but its so far a lot of the same in terms of
whats already out there. (Please dont debate that on this thread!) And
I applaud him for keeping to the norm and keeping it simple, but EFL
is far more powerful than whats already in there. Im thinking about a
theme that does still keep a semi-traditional edge, but really pushes
the boundaries of UI, 'beautiful'-ness and originality.

Here are some simple rules.
1. Dont copy Mac. -Apple already done it.
2. Dont copy Vista. -It sucks. :)
3. Dont copy KDE4. -KDE already done it.
4. (Should I even mention gnome?) -Sarcasm.
5. Make sure its entirely usable by people. Half-wits dont generally
wander too far from gnome. :)
6. Make the user say "Oh my. Thats something E17 can do? Im in love."
7. K. I. S. S. (Keep It Simple, Stupid!)

Youre probably wondering, thats all good and fine, but this means
nothing without screenshots.
So, Im asking you all for some input. Just some simple ideas, be it
for a check box, a window button, a slider, a background... whatever.
If you have any screenshots, or like the way some other theme already
does something, throw that in there too. But remember, "Originality"
is going to be key to this design experiment. I also would like to see
this come as a separate theme thats installed as default to show some
contrast in E design between rasters new one and this other that
hopefully we all make.

Lets make E kick ass all over the place!
Toma.

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto/eina turran

2008-08-08 Thread Gustavo Sverzut Barbieri
On Fri, Aug 8, 2008 at 7:39 AM, Enlightenment CVS
<[EMAIL PROTECTED]> wrote:

> +EAPI void eina_error_print(Eina_Error_Level level, const char *file,
>const char *fnc, int line, const char *fmt, ...)
>  {
>va_list args;
>
>va_start(args, fmt);
> -   _error_print(level, file, fnc, line, fmt, args);
> +   if (level <= _error_level)
> +   _print_cb(level, file, fnc, line, fmt, _print_cb_data, args);
>va_end(args);
> +}

Let's try to avoid this useless nesting and also making it more
optimized, in this case, by using:

if (premature-exit-condition)
return;

real-code.

in this case you'd avoid va_start()/va_end():

if (level > _error_level)
return;

va_start(args, fmt);
_print_cb(level, file, fnc, line, fmt, _print_cb_data, args);
va_end(args);

code is simpler, can be smaller if you need to add more things inside
va_start/end

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: proto/eina cedric

2008-08-08 Thread Gustavo Sverzut Barbieri
On Fri, Aug 8, 2008 at 11:20 AM, Enlightenment CVS
<[EMAIL PROTECTED]> wrote:

> +#define EINA_ARRAY_ITER_NEXT(array, index, item) \
> +  for ((index) = 0; (index) < eina_array_count(array); ++(index)) \
> +{\
> +   (item) = eina_array_get((array), (index));
> +
> +#define EINA_ARRAY_ITER_END }

NO, and this is a BIG NO. Guys, come on, this is the worst thing we
can do. Don't make macros like that, it is very error prone. Use
something like (untested):

#define EINA_ARRAY_FOREACH(array, index, item) \
for (index = 0, item = index < eina_array_count(array) ?
eina_array_get(array, index) : NULL; index < eina_array_count(array);
index++)

EINA_ARRAY_FOREACH(array, index, item) {
   code
}


remarks:
   1 - i haven't checked if eina_array_get() checks for out-of-bounds
indexes, I suppose it doesn't, so I did the first check. IMO doing
this check inside the FOR is useless, double-checking.
   2 - you don't need parenthesis around index and item, at least.
That is because you are assigning to them, thus making use of any
expression (the use of parenthesis), will make it invalid. If one
wants, for example, to use as item a pointer, he will have to add the
parenthesis himself anyway:   *(v + idx).

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Nightly build log for E17 on 2008-08-08 07:11:13 -0700

2008-08-08 Thread Nightly build system
Build log for Enlightenment DR 0.17 on 2008-08-08 07:11:13 -0700
Build logs are available at http://download.enlightenment.org/tests/logs

Packages that failed to build:
enna  http://download.enlightenment.org/tests/logs/enna.log
epdf  http://download.enlightenment.org/tests/logs/epdf.log

Packages with no supported build system:
entice, esmart_rsvg, exorcist, python-efl, 

Packages skipped:
camE, ecore_dbus, engage, enotes, enscribe, epbb, eplay, erss, etk_server, 
etox, e_utils, Evas_Perl, evoak, gfx_routines, lvs-gui, med, nexus, notgame, 
ruby-efl, webcam, 

Packages that build OK:
alarm, bling, calendar, cpu, deskshow, echo, eclair, ecore_li, ecore, edata, 
edb, e_dbus, edje_editor, edje, edje_viewer, edvi, eet, eflame, eflpp, efm_nav, 
efm_path, efreet, elapse, elation, elicit, elitaire, e, embrace, embryo, 
emotion, emphasis, empower, emprint, emu, enesim, engrave, engycad, enhance, 
enity, enterminus, enthrall, entrance_edit_gui, entrance, entropy, envision, 
epeg, ephoto, e_phys, epsilon, epx, equate, esmart, estickies, etk_extra, 
etk, etk-perl, evas, evfs, evolve, ewl, examine, execwatch, exhibit, exml, 
expedite, express, exquisite, extrackt, feh, flame, forecasts, gevas2, iconbar, 
iiirk, imlib2_loaders, imlib2, Imlib2_Perl, imlib2_tools, language, mail, 
mem, mixer, moon, mpdule, net, news, notification, penguins, pesh, photo, 
rage, rain, screenshot, scrot, skel, slideshow, snow, taskbar, tclock, uptime, 
weather, winselector, wlan, 

Debian GNU/Linux 4.0 \n \l

Linux enlightenment2 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 
GNU/Linux


See http://download.enlightenment.org/tests/ for details.


-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] licensing - end it.

2008-08-08 Thread David Seikel
On Thu, 07 Aug 2008 12:22:06 -0400 Jose Gonzalez <[EMAIL PROTECTED]>
wrote:

> statistics show that gpl/lgpl code and developers outnumber bsd ones
> by orders of magnitude.

Statistics show that Windows users outnumber Linux users by orders of
magnitude.  Does not mean we should all change to Windows.  Popularity
is never correlated to any quality metric, or anything else for that
matter.  Except maybe size of marketing effort.

( /me just wake up and probably should be following rasters desire to
just drop it.  Popularity arguments just get up my nose, no matter what
they are for. )


signature.asc
Description: PGP signature
-
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=100&url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Eps: Postscipt rendering library

2008-08-08 Thread Vincent Torri

Hey,

I would like to add a postscript rendering library in proto/

Its name : "eps". I know that 'eps' is also the standard extension of the 
encapsulated postscript format, but with all the names i could have 
thought of and all the name others people proposed, eps is the better. And 
anyway, i don't think there will be a conflict with the extension.

eps uses the library libspectre (only available in fdo's git repo), this 
one uses ghostscript (ghost, spectre, all that phantom stuff made me 
thought of ectoplasm for the library name, but it was not consistent with 
epdf and edvi). I first tried to use ghostscript, but it's a real pain. 
And libspectre does all the ugly and hard job for me.

Like Edvi, Eps has an api that is very close to Epdf one.

I answer to the question that some people can think of: why not using 
poppler (hence epdf) to render postscript files ? 2 answers:

  * i prefer to use the correct tool to achieve the purpose i want. Poppler
is for pdf files, not postscript.
  * poppler does not provide all the features that libspectre can provide
about postscript files.

Is there an objection that I add Eps to cvs ? If no objection arises, I'll 
commit it in 1 week (around the 17th august).

comments ? ideas ?

thank you

Vincent

PS: i'll not have internet next week, so, don't be surprised if i do not 
answer before the 16th.

-
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=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel