On Mon, 7 Nov 2011 16:37:39 -0500
Youness Alaoui <kakar...@kakaroto.homelinux.net> wrote:

> Could you explain what you mean by versioning or give me a link to
> something that explains it ?
> padding is useful so you can change your structure (and add new APIs)
> without breaking the ABI and forcing every app to recompile (changed
> sizeof).
See Ecore.h, Ecore_Version.
> 
> On Mon, Nov 7, 2011 at 2:35 PM, Gustavo Sverzut Barbieri <
> barbi...@profusion.mobi> wrote:
> 
> > I'm strongly against padfings. Just have versioning and check it
> >
> > On Monday, November 7, 2011, Youness Alaoui <
> > kakar...@kakaroto.homelinux.net>
> > wrote:
> > > In my opinion, Elementary.h should be split into smaller files that it
> > > includes, kind of like what Eina.h does.
> > > If structures are made public, they should have a 'void
> > > *padding[MAX_PADDING];' added to the end, makes it easier to not break
> > the
> > > ABI when adding new stuff.
> > >
> > > Other than that, I don't know elm enough to comment on anything else.
> > >
> > >
> > > On Mon, Nov 7, 2011 at 8:12 AM, Cedric BAIL <cedric.b...@free.fr> wrote:
> > >
> > >> Hi all,
> > >>
> > >>   We are going to try releasing Elementary soon after the release of
> > >> the EFL 1.1. I would like to start a discussion now on what should be
> > >> done to prepare Elementary for a release.
> > >>   I have been doing a quick overview of Elementary.h. The first
> > >> problem is that we have a lot of structure in it that should be
> > >> allocated by the application and they don't have any information about
> > >> version or size, so we will not be able to touch them after the
> > >> release anymore. That's bad, I think we need to fix that by adding
> > >> function that will do the allocation and zero the memory before giving
> > >> the pointer to the app.
> > >>   The second point is about both gengrid and genlist. I would like to
> > >> add a few new callback :
> > >>    - content_set/content_unset: when set, content_get will return an
> > >> object, but it will be reused and it's real content will be set and
> > >> unset later. This permit the implementation of some cache mechanisme
> > >> directly inside elm_gen.
> > >>    - label_free: if set, it will be able to override the call to
> > >> free. This could help, I have found many times that I am using
> > >> stringshare or static string that really don't need to be strdup. Btw
> > >> I don't like the name of that callback
> > >>   This second list of change should not break API/ABI once the first
> > >> change are done. So not a big hurry, but they are simple to do and
> > >> should help provide better performance.
> > >>
> > >>  Of course I don't plan to play with this until the EFL 1.1 are out,
> > >> so you have time for comment. I put here only the thing I want to do
> > >> and how I plan to fix them. If you have some idea of what need to be
> > >> fixed in Elementary before the release and how you want to do it,
> > >> maybe answering to this thread will be a good idea.
> > >>
> > >> Have fun,
> > >> --
> > >> Cedric BAIL
> > >>
> > >>
> > >>


-- 
Mike Blumenkrantz
Zentific: Doctor recommended, mother approved.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to