On Fri, 17 Feb 2012 01:16:12 -0500 Youness Alaoui
<kakar...@kakaroto.homelinux.net> said:

> (FYI: for those who didn't read from IRC, when Carsten realized I meant to
> transform exquisite into a library+tools, and not add a new library to the
> set, he agreed to it).

yeah. yet-another-lib was something we really dont need atm - and it's better
rolled into an existing one, but since it'd just be a lib provided by exquisite
- moving its own functions into that lib and thus providing it for others to
use too - that's not bad.

> So I've done it, just finished, but I have a couple of questions :
> - what should I use for creating an object? exquisite_object_add, or
> exquisite_object_new ? I think _add makes more sense and follows with the
> edje API.

_add.

> - What version should I give it ? Should I keep it to 1.0.0 (or 1.0.99 to
> be more exact), or bump it to match the core efl libs versions (1.1.99)?

same version as exquisite. so 1.0.0 - we'll have to bump that for a release tho.

> - Do you have any documentation written for exquisite that I could reuse?
> Especially with regards to the format to follow for creating themes for it?

nup. as it was all internal to exquisite (the api anyway), and for themes -
well none other than "here's an example. follow and repeat"

> - Why is the tag <1> for success and <0> for failure in the edc, why not
> <success> <failure> ? Would make it more logical, and I can use an enum for
> the status without hardcoding the values of the enum.

if you want to change it, now's the time. but 0 or 1 is just a simpler more
compact way of handling the enums as all enums boil down to numbers anyway :)

> - There seems to be a bug in the default theme, where the last line of text
> appears cropped after you add a text, I just tried with ./run-demo.sh and
> part of the last text is cropped after adding one line, then a bigger part
> after adding another line, then the last lines don't even show up. I
> tracked it to the shift_text embryo script in the edj, which does y = y -
> 8; however, the font size is not fixed to 8 pixels height, I changed it to
> y - 13 and it worked. A better solution must be used to make sure the text
> always shows independently of your default font size or whatever might
> affect it.

yeah. that's a theme bug there - it should do text scrolling another way.

> Thanks,
> KaKaRoTo
> 
> On Tue, Feb 14, 2012 at 12:25 AM, Carsten Haitzler
> <ras...@rasterman.com>wrote:
> 
> > On Tue, 14 Feb 2012 00:07:38 -0500 Youness Alaoui
> > <kakar...@kakaroto.homelinux.net> said:
> >
> > well it's more because it really has very little additional beyond a
> > progressbar and it functions for the same purpose - it just can have a
> > large
> > "fill my window" style. :)
> >
> > > Humm... it may go as a widget in elementary, although it seems more like
> > a
> > > megawidget than a simple generic widget, so I'm not sure its place is
> > > inside elementary. But you know best what should go in there.
> > > I however do not use elementary for the ps3 (because it hasn't been fully
> > > ported yet) so I prefer to stay with pure edje. And since exquisite is
> > > already written.. it's not much trouble to expose its functions into a
> > > header. So if you don't need/want it in elementary yourself, then don't
> > > bother since I probably won't be using it anyways.
> > > Thanks
> > >
> > > On Mon, Feb 13, 2012 at 4:07 AM, Carsten Haitzler <ras...@rasterman.com
> > >wrote:
> > >
> > > > On Mon, 13 Feb 2012 03:46:22 -0500 Youness Alaoui
> > > > <kakar...@kakaroto.homelinux.net> said:
> > > >
> > > > hmm well if mainloop is alive... making an elementary widget would be
> > the
> > > > way
> > > > to go... :) call it the splash widget - u can fill a window with it,
> > just
> > > > put
> > > > it on the left/bottom half of your screen/window or whatever.  :) it's
> > > > really
> > > > more of a progressbar PLUS a few more text fields that pb doesnt
> > have... in
> > > > fact u can do all of it with progressbars and setting text elements in
> > the
> > > > progressbar if we added another 1. you can do the end anim with signal
> > > > emits -
> > > > in fact u'd want the callback when done and an api for this...
> > > >
> > > > i'd actually suggest adding some more features to progressbar as above
> > and
> > > > adding this as a style for it. only thing then is the text log scroll -
> > > > should
> > > > this be in progressbar or not - do you want/need it?
> > > >
> > > > > Yes, I've read the code, I know how small and easy it is, however, if
> > > > > there's a library for it, then apps could reuse the same .edc from
> > other
> > > > > apps, it would give a sort of 'standard' way of doing this kind of
> > splash
> > > > > screens, with a standard set of features, and a set of themes for it
> > that
> > > > > people can reuse..  and obviously, if someone wants it a bit
> > different,
> > > > > they can always just do their own edc instead.
> > > > > I just saw exquisite (release announcement on planet E) and thought
> > it
> > > > was
> > > > > cool, wanted to look at the API then realized it was an app, and I
> > > > thought
> > > > > it would be better as a lib.
> > > > > As for uses, I do have a use for it, there are many tools for the PS3
> > > > that
> > > > > take a while and do many things but have no output on the screen and
> > I
> > > > > thought they could benefit from that, like the messages "dumping ram,
> > > > > patching kernel, flashing NAND, formatting flash, etc.." as well as
> > > > having
> > > > > a progress bar.. Telling someone (who has no idea what the EFL even
> > is)
> > > > to
> > > > > write an EDC and set up his canvas and send signals, etc.. just for a
> > > > > progress bar or for printing a message on screen is a big turn off.
> > > > Also, I
> > > > > think games may benefit from it, it's not always about boot time,
> > but it
> > > > > would be for loading game levels for example, you often see a
> > "Loading"
> > > > > screen in games, and this could be used for example.
> > > > > And for my immediate use, I have a tool that unzips largs packages
> > into
> > > > the
> > > > > PS3 HDD and I'd like to use it as a progress bar for when I unzip
> > files,
> > > > it
> > > > > could be used for the progress bar as well as for listing the files
> > being
> > > > > unpacked. And yeah, the app is alive and running the mainloop in
> > those
> > > > use
> > > > > cases, and unzipping 1GB takes time.... I was going to implement a
> > > > progress
> > > > > bar+messages system in my code, and write the edc and write a spec
> > for
> > > > > people to retheme it, etc... but since I've seen exquisite, I don't
> > think
> > > > > it's worth it to rewrite the same thing when I could just reuse
> > existing
> > > > > code.
> > > > > Any suggestions on how you'd like me to proceed ? or should I just
> > go and
> > > > > do it (I'll probably do it tomorrow).
> > > > >
> > > > > Thanks,
> > > > > KaKaRoTo
> > > > >
> > > > > On Mon, Feb 13, 2012 at 2:03 AM, Carsten Haitzler <
> > ras...@rasterman.com
> > > > >wrote:
> > > > >
> > > > > > On Sun, 12 Feb 2012 07:13:39 -0500 Youness Alaoui
> > > > > > <kakar...@kakaroto.homelinux.net> said:
> > > > > >
> > > > > > ummm... if an app wants to do this its as easy as loading an edje
> > obj
> > > > and
> > > > > > sending signals/setting text and dragables. that's a VERY thin
> > library
> > > > > > there.
> > > > > > you want this for app splashes while apps start up? are the apps
> > that
> > > > start
> > > > > > actually alive and running the mainloop for a long period before
> > they
> > > > are
> > > > > > usable?
> > > > > >
> > > > > > > This looks pretty good!
> > > > > > > I've been thinking that this could be used for applications as
> > well,
> > > > not
> > > > > > > just for the init scripts. So I'm thinking of modifying exquisite
> > > > into a
> > > > > > > libexquisite (which the exquisite tool itself would use). It's
> > > > basically
> > > > > > > just about having a way of creating an exquisite (edje) object
> > and
> > > > > > > translating those IPC commands into API functions. I think it
> > could
> > > > be
> > > > > > used
> > > > > > > by apps for doing progress bars (with a sort of 'standard' edje
> > > > specs)
> > > > > > and
> > > > > > > generic splash screens (for games loading levels and stuff like
> > > > that).
> > > > > > > What do you think ? Any suggestions before I start ?
> > > > > > >
> > > > > > > KaKaRoTo
> > > > > > >
> > > > > > > On Fri, Feb 10, 2012 at 4:37 AM, P Purkayastha <ppu...@gmail.com
> > >
> > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > On Friday, February 10, 2012 4:40:33 PM UTC+8, The Rasterman
> > > > Carsten
> > > > > > > > Haitzler wrote:
> > > > > > > > >
> > > > > > > > > On Thu, 9 Feb 2012 23:04:00 -0800 (PST) P Purkayastha <
> > > > > > ppu...@gmail.com>
> > > > > > > > > said:
> > > > > > > > >
> > > > > > > > > > Is there some guide on how to set this up? I know that
> > > > Exquisite
> > > > > > has
> > > > > > > > > > existed for many years but I could never set it up due to
> > the
> > > > lack
> > > > > > of a
> > > > > > > > > > noobie-friendly guide.
> > > > > > > > >
> > > > > > > > > read README? look at the run-demo.sh
> > > > > > > > >
> > > > > > > > > as such you only want to be integrating this into a boot if
> > you
> > > > know
> > > > > > your
> > > > > > > > > boot
> > > > > > > > > stuff (systemd/systvinit/whatever) and you need to put the
> > status
> > > > > > writes
> > > > > > > > > into
> > > > > > > > > your startup scripts or modify systemd to do it for you.
> > (write
> > > > to
> > > > > > fifo
> > > > > > > > or
> > > > > > > > > scoket directly). other than that u need to hack up all your
> > init
> > > > > > setup
> > > > > > > > to
> > > > > > > > > start exquisite before everything else (and make sure efl
> > libs
> > > > are
> > > > > > > > > available to
> > > > > > > > > it at that time) and then send status and done messages from
> > your
> > > > > > init
> > > > > > > > > scripts
> > > > > > > > > or whatever.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ------------- Codito, ergo sum - "I code, therefore I am"
> > > > > > --------------
> > > > > > > > > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> > > > > > > > >
> > > > > > > >
> > > > > > > > Ah yeah. Now I remember why I didn't pursue it further. I
> > wasn't
> > > > > > > > comfortable with hacking init scripts. :)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > > > > Virtualization & Cloud Management Using Capacity Planning
> > > > > > > > Cloud computing makes use of virtualization - but cloud
> > computing
> > > > > > > > also focuses on allowing computing to be delivered as a
> > service.
> > > > > > > > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > > > > > > > _______________________________________________
> > > > > > > > enlightenment-devel mailing list
> > > > > > > > enlightenment-devel@lists.sourceforge.net
> > > > > > > >
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > > > Virtualization & Cloud Management Using Capacity Planning
> > > > > > > Cloud computing makes use of virtualization - but cloud computing
> > > > > > > also focuses on allowing computing to be delivered as a service.
> > > > > > > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > > > > > > _______________________________________________
> > > > > > > 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)    ras...@rasterman.com
> > > > > >
> > > > > >
> > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > Try before you buy = See our experts in action!
> > > > > The most comprehensive online learning library for Microsoft
> > developers
> > > > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
> > MVC3,
> > > > > Metro Style Apps, more. Free future releases when you subscribe now!
> > > > > http://p.sf.net/sfu/learndevnow-dev2
> > > > > _______________________________________________
> > > > > 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)    ras...@rasterman.com
> > > >
> > > >
> > >
> > ------------------------------------------------------------------------------
> > > Keep Your Developer Skills Current with LearnDevNow!
> > > The most comprehensive online learning library for Microsoft developers
> > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > > Metro Style Apps, more. Free future releases when you subscribe now!
> > > http://p.sf.net/sfu/learndevnow-d2d
> > > _______________________________________________
> > > 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)    ras...@rasterman.com
> >
> >


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to