Why does API change from version to version?

This forum is about all development around libVLC.
mikeyd
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Aug 2008 22:27

Why does API change from version to version?

Postby mikeyd » 23 Jun 2010 23:43

I'm programming a C# interface against the libVLC API.

I recognized, that the API changes from (sub)version to (sub)version, what makes it difficult and time-consuming to keep the c# interface up-to-date.

In the new version 1.1.0 not only the API functions and functionality changed, but also the existing enumeration values changed ...

Why is it not possible to define an API where only the code-behind changes? Or at least keep the changes as small as possible?

Rémi Denis-Courmont
Developer
Developer
Posts: 15263
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why does API change from version to version?

Postby Rémi Denis-Courmont » 24 Jun 2010 02:37

This topic is not open for discussion. The API change and the ABI break was agreed a year ago on the vlc-devel mailing list. You're way too late.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mikeyd
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Aug 2008 22:27

Re: Why does API change from version to version?

Postby mikeyd » 24 Jun 2010 12:29

So, could you at least tell me, whether the API in the next version change again or is the API 1.1.0 stable now?

Thanks.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Why does API change from version to version?

Postby ivoire » 24 Jun 2010 13:40

Th'ats impossible to say right now. But the changes between 1.1 API and 1.2 API will normally but smaller than the ones from 1.0 to 1.1 (deletion of the exceptions).
We are trying to keep the changes as small as possible but for this case (the exceptions) it was a design problem which must be fixed (and was fixed in 1.1).

mikeyd
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Aug 2008 22:27

Re: Why does API change from version to version?

Postby mikeyd » 24 Jun 2010 14:30

Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Why does API change from version to version?

Postby Jean-Baptiste Kempf » 24 Jun 2010 18:23

Indeed, we will add functions, but we shouldn't break the API as much as we did between 1.0 and 1.1
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests