[GSOC] api- GSoC report 3

[email protected] (Varuna Jayasiri) Sun, 31 May 2009 16:56:54 +0530
Newsgroups php.pecl.dev,php.gsoc
Message-ID <[email protected]>
--0016364ee244355a13046b339622
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,

I've been able to complete the extension versioning section during the past
week.

What I've been doing:
* Included a function to get the latest version of an extension available
* Functions to convert version from major.minor[.build[.revision]] format to
an uint and vice versa are provided.
  - when representing the version in uint first 8 bits will be used for
major and the next 8 for minor and so on
* A few memory leaks were fixed

The zend_ext_api_get_latest_version gives the version in the uint form,
since it will be easier to be handled by the extensions which need it. Also
it can be converted to the major.minor[.build[.revision]] form if required.

What's next:
 I will prepare a document describing the interface of ext_api, so that you
can test it out if possible and give some feedback. So far I've tested most
of the cases I could think of whenever I added new funcitonality to the
code. I will do some more testing in the next few weeks and upload the test
code if possible.

Note: I have exams at my university from tomorrow onwards till 21st June, so
I won't be able to give a lot of time for the project during that period :P
.

Thanks
 Varuna

--0016364ee244355a13046b339622--