[trunk] backout one part of the rev 2266

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2285 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] update test suite for issue 5 and 62

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2287 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] update convert about png writing with additional metadata (thanks winfried)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2290 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] add a test related to issue 202

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2292 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] add functions to avoid to use FILE* into the API (thanks winfried). 
Update issue 120 and update issue 198

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2293 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] rename deprecated macro with opj_ prefix and use it for opj_stream_destroy function

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2294 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] move to the new API for function opj_stream_destroy. Use now opj_stream_destroy_v3 (WIP)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2295 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] move to the new API for function opj_stream_create_default_file_stream. Use now opj_stream_create_default_file_stream_v3 (WIP)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2296 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] update documentation of new functions _v3 and mark deprecated related functions

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2297 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] add the prefix opj_ to deprecated everywhere

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2298 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] split into two config files config options related to the lib and to the application.

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2300 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] remove some unused variable from opj_config and rename other one with opj_ prefix

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2301 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] correct missing variable in openjpeg config file

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2302 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] use the opj_ prefix for the HAVE_FSEEKO variable

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2303 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] use the home made macro to ensure the existence of some include file

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2304 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] use everywhere the new opj_ prefix for HAVE variables and use the opj_apps_config file (thanks to winfried)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2306 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk]remove wrong code in mj2 library detected by winfried (thanks to you)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2307 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] use OPJ_ prefix on HAVE variable also for tests 

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2308 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] correct issue 188 (thanks winfried) and add test about it. Fixes issue 188 

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2313 974d547c-b4cf-11dd-89c7-03d08fec6209
[trunk] manage correctly the case where meth value is not correct (thanks winfried)

git-svn-id: http://openjpeg.googlecode.com/svn/trunk@2314 974d547c-b4cf-11dd-89c7-03d08fec6209