<feed xmlns='http://www.w3.org/2005/Atom'>
<title>PROJ/src/PJ_minimal.c, branch rfc4_dev</title>
<subtitle>Forked from https://github.com/OSGeo/PROJ</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/'/>
<entry>
<title>Enable default destructor for all PJ objects.</title>
<updated>2017-10-06T09:39:27+00:00</updated>
<author>
<name>Thomas Knudsen</name>
<email>thokn@sdfe.dk</email>
</author>
<published>2017-09-27T11:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=664577ced6a8e4074b1f53af82b5ae5d1d189eac'/>
<id>664577ced6a8e4074b1f53af82b5ae5d1d189eac</id>
<content type='text'>
In most cases memory deallocation is completely removed from the
code since it can be handled by the default destructor. In a few
special cases a local destructor overrides the default destructor
and makes sure that locally allocated memored is cleaned up correctly.

Move all deallocation from pj_free to pj_default_destructor
Rename pj_latlong.c to fit with the conventional format PJ_latlong.c - freeup was missed here due to wrong naming
Clean up pj_init to avoid double deallocation; Also resolve #576 by adding z_0 and t_0 options in pj_init, while cleaning

Add a prototype for dealloc_params
Added missing errno.h include in pj_ctx.c
Temporarily removing ob_tran from testvarious, to be sure that is where the trouble is
Make PJ_ob_tran.c use proper initialization for the chained projection
proj=ob_tran: make it clear, that we disallow ellipsoidal projections, and, for improved backwards compatibility, turns off default settings, which could inject unwanted ellipsoid definitions
... then also remove the ellipsoid definition from the testvarious test case - which is probably buggy anyway
Work around cs2cs spherical init bug in testvarious; Forbid defs for ob_tran in pj_init
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In most cases memory deallocation is completely removed from the
code since it can be handled by the default destructor. In a few
special cases a local destructor overrides the default destructor
and makes sure that locally allocated memored is cleaned up correctly.

Move all deallocation from pj_free to pj_default_destructor
Rename pj_latlong.c to fit with the conventional format PJ_latlong.c - freeup was missed here due to wrong naming
Clean up pj_init to avoid double deallocation; Also resolve #576 by adding z_0 and t_0 options in pj_init, while cleaning

Add a prototype for dealloc_params
Added missing errno.h include in pj_ctx.c
Temporarily removing ob_tran from testvarious, to be sure that is where the trouble is
Make PJ_ob_tran.c use proper initialization for the chained projection
proj=ob_tran: make it clear, that we disallow ellipsoidal projections, and, for improved backwards compatibility, turns off default settings, which could inject unwanted ellipsoid definitions
... then also remove the ellipsoid definition from the testvarious test case - which is probably buggy anyway
Work around cs2cs spherical init bug in testvarious; Forbid defs for ob_tran in pj_init
</pre>
</div>
</content>
</entry>
<entry>
<title>Portability cleanups for the code in PR #6 (and a few additional source files)</title>
<updated>2016-05-11T06:58:28+00:00</updated>
<author>
<name>Thomas Knudsen</name>
<email>lastname DOT firstname AT gmail DOT com</email>
</author>
<published>2016-05-11T06:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=f58ba586ebf11700317513f7bb5be84590d37a42'/>
<id>f58ba586ebf11700317513f7bb5be84590d37a42</id>
<content type='text'>
Eliminated mixed code and declarations, converted C++ style comments and
probably did a few more things highlighted by running gcc with the "-W
-Wall -Wextra -pedantic" flags
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminated mixed code and declarations, converted C++ style comments and
probably did a few more things highlighted by running gcc with the "-W
-Wall -Wextra -pedantic" flags
</pre>
</div>
</content>
</entry>
<entry>
<title>... and correcting the same blunder in the pj_minimal case</title>
<updated>2016-04-01T22:06:15+00:00</updated>
<author>
<name>Thomas Knudsen</name>
<email>lastname DOT firstname AT gmail DOT com</email>
</author>
<published>2016-04-01T22:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=afebe65cb503e40f9a89b5f931a1f94fb545e067'/>
<id>afebe65cb503e40f9a89b5f931a1f94fb545e067</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>First steps toward simplified macros/internals</title>
<updated>2016-04-01T21:10:44+00:00</updated>
<author>
<name>Thomas Knudsen</name>
<email>lastname DOT firstname AT gmail DOT com</email>
</author>
<published>2016-04-01T21:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=186c6e3303ccef8e833026e4e9dbaa76be6cb93b'/>
<id>186c6e3303ccef8e833026e4e9dbaa76be6cb93b</id>
<content type='text'>
The brief version::

In an attempt to make proj.4 code slightly more secure and much easier
to read and maintain, I'm trying to eliminate a few unfortunate design
decisions from the early days of proj.4

The work will be *very* intrusive, especially in the PJ_xxx segment of
the code tree, but great care has been taken to design a process that
can be implemented stepwise and localized, one projection at a time,
then finalized with a relatively small and concentrated work package.

The (very) long version: See the comments in PJ_minimal.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The brief version::

In an attempt to make proj.4 code slightly more secure and much easier
to read and maintain, I'm trying to eliminate a few unfortunate design
decisions from the early days of proj.4

The work will be *very* intrusive, especially in the PJ_xxx segment of
the code tree, but great care has been taken to design a process that
can be implemented stepwise and localized, one projection at a time,
then finalized with a relatively small and concentrated work package.

The (very) long version: See the comments in PJ_minimal.c
</pre>
</div>
</content>
</entry>
</feed>
