aboutsummaryrefslogtreecommitdiff
path: root/src/nad_init.c
AgeCommit message (Collapse)Author
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-05-04Convert errno literals to corresponding PJD symbolKurt Schwehr
2018-03-20Remove final \n from pj_log messages.Kurt Schwehr
There was a mix of pj_log calls with and without a trailing newline. pj_stderr_logger already adds a newline to the end of each msg, so pj_log calls don't need their own.
2018-03-11Remove angle brackets for proj headers (#849)Thomas Knudsen
* Avoid using angle brackets for PROJ headers. Switching from #include <proj.h> to #include "proj.h", and correspondingly for projects.h and proj_api.h, reduces the risk of accidentally picking up a system installed older version of the header while building a new version of PROJ. * Also handle geodesic.h
2017-12-17Declare non-local variables as const where possibleAaron Puchert
Having non-const variables of static lifetime or even global scope is usually a bad idea. These variables are inherently constants, and this should be enforced. This required marking some functions as not modifying input parameters and marking some pointers as pointers to const. One advantage is that the compiler usually puts const static variables in a read-only code segment, so they can't be modified physically. This can be verified with `nm` (on POSIX systems). To avoid changes to the public API, functions returning non-const pointers to data tables were left intact, but the returned data may not be modified. Internally we prefer using the proj_list_* functions over the pj_get_*_ref functions, because the former return const pointers.
2017-11-27Replace some asserts by compile-time assertionsAaron Puchert
Decisions regarding the size of certain types are always made at compile time, hence this is where the assertion should take place. If the assertions fail, there is now a compiler error.
2017-10-20Handle allocation failure when loading grid files (#616)Aaron Puchert
* Handle allocation failure when loading grid files Continuing #606, we tackle the same issues in the loading and processing of grid files. This should fix potential crashes and memory leaks, and makes sure the global lock is always released. * Use pj_calloc when zero-initialized memory is wanted
2017-06-01Fix memory leaks. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2000. Credit to OSS Fuzz
2017-02-26Raise MSVC warning level to /W4Even Rouault
2017-02-26Fix MSVC warnings and add /Wx to appveyor.ymlEven Rouault
2015-05-31Remove unused $Id$ keywords.Elliott Sales de Andrade
2015-05-30Fix signed/unsigned comparison warnings.Elliott Sales de Andrade
2013-06-22bulk of file api implementation complete and workingFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2345 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-01-25minor formatting improvementsFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2142 4e78687f-474d-0410-85f9-8d5e500ac6b2
2011-11-22implement support for ctable2 format (read/write)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2121 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-06-11preliminary implementation of projCtx APIFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1854 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-03-03avoid warningsFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1827 4e78687f-474d-0410-85f9-8d5e500ac6b2
2009-01-06removed CVS log messages since they are not maintained by subversionFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1504 4e78687f-474d-0410-85f9-8d5e500ac6b2
2007-09-11 Improve error recovery if ctable datum shift files fails to load.Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1402 4e78687f-474d-0410-85f9-8d5e500ac6b2
2006-11-17Uploaded PROJ.4 port for Windows CE.Mateusz Loskot
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1377 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-17implement delayed loading of ctable format filesFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1096 4e78687f-474d-0410-85f9-8d5e500ac6b2
2003-03-15preliminary NTv2 support, major restructure of datum shiftingFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1091 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-07-08ensure clean C++ buildsFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1025 4e78687f-474d-0410-85f9-8d5e500ac6b2
2002-04-30trip newlines of ctable id fieldFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1007 4e78687f-474d-0410-85f9-8d5e500ac6b2
2001-08-17removed use of emess()Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@971 4e78687f-474d-0410-85f9-8d5e500ac6b2
2001-04-05substantially reorganized and added NTv1 supportFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@939 4e78687f-474d-0410-85f9-8d5e500ac6b2
2000-07-06don't prepend datum shift files with nad2783/Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@851 4e78687f-474d-0410-85f9-8d5e500ac6b2
1999-03-18NewFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@776 4e78687f-474d-0410-85f9-8d5e500ac6b2