aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-10-29Remove superfluous internal selftests from projection files matching ↵Thomas Knudsen
patterns PJ_f....c and PJ_e....c
2017-10-29Repair gie and cct after breakage due to proj_strtod update (#628)Thomas Knudsen
* Repair gie and cct after breakage due to proj_strtod update * Remove unused variables
2017-10-29Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c (#625)Thomas Knudsen
* Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c * Repair proj.def
2017-10-29Make gie roundtrips compatible with updated proj_strtodThomas Knudsen
In order to mimic strtod, proj_strtod now returns 0 and not HUGE_VAL on nonnumeric input. Hence, we must check the return pointers to identify an error.
2017-10-29Extend proj_strtod test case collection and improve its strtod-replicationThomas Knudsen
2017-10-28Allow nested pipelines. (#629)Kristian Evers
Allow nested pipelines when wrapped in +init's. The previous behaviour was to quit pipeline initialization when encountering a nested pipeline definition. With this commit that behaviour is changed so that it is possible to nest pipelines as long as they are defined elsewhere in a init-file. This is useful in init-files where steps in complicated transformations can be grouped in "sub-pipelines". These "sub-pipelines" can then be used as individual steps in a larger and more complicated pipeline. Nested pipelines are governed by the following rules: 1. You can't have more than one literal +proj=pipeline in a proj-string 2. Pipelines can be nested if they are wrapped up in a +init 3. More than one +init is disallowed in non-pipeline proj-strings 4. +inits are expanded as late as possible, that is they will only be expanded in single operations (that can be a part of a pipeline)
2017-10-28Add ellipsoids for the Russian coordinate systems PZ-90 and GSK-2011Ilya Oshchepkov
2017-10-27Linguistics: Clarify this and that, here and there (#632)Thomas Knudsen
* Linguistics: Clarify this and that, here and there * Revert nullification of PJ_cart->fwd, inv
2017-10-26Repair and improve broken cct output routine (#631)Thomas Knudsen
Repair and improve broken cct output routine and do a few minor cleanups
2017-10-25Remove superfluous internal selftests from projection files matching ↵Thomas Knudsen
patterns PJ_f....c and PJ_e....c
2017-10-25Repair gie and cct after breakage due to proj_strtod update (#628)Thomas Knudsen
* Repair gie and cct after breakage due to proj_strtod update * Remove unused variables
2017-10-25Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c (#625)Thomas Knudsen
* Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c * Repair proj.def
2017-10-24Make gie roundtrips compatible with updated proj_strtodThomas Knudsen
In order to mimic strtod, proj_strtod now returns 0 and not HUGE_VAL on nonnumeric input. Hence, we must check the return pointers to identify an error.
2017-10-24Merge pull request #624 from busstoptaktik/proj_strtod-ugly-corner-casesThomas Knudsen
Extend proj_strtod test cases and improve strtod-replication
2017-10-24Extend proj_strtod test case collection and improve its strtod-replicationThomas Knudsen
2017-10-21Make sure units of latlong operations are treated correctly (#620)Kristian Evers
Added 4D fwd/inv functions and unit descriptors to the latlong PJ object to work properly in pipelines.
2017-10-20Addition of an "area of use" argument to proj_transform_crs_to_crs (#565)Kristian Evers
In anticipation of a late-binding implementation of the proj_transform_crs_to_crs function an area argument is added to the function prototype. The PJ_AREA struct is not in use yet, but will be when the function is more tightly coupled to the EPSG database in the future.
2017-10-20Repair statistics for ROUNDTRIP testsThomas Knudsen
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-10-20Remove superfluous internal selftests from projection files matching ↵Thomas Knudsen
patterns PJ_d....c and PJ_e....c (#615)
2017-10-20Silence proj_strtodThomas Knudsen
Avoid printing output for succeeding tests
2017-10-20Improve proj_strtod test cases (#614)Thomas Knudsen
* Improve proj_strtod test cases * Add missing stdlib.h include
2017-10-19Merge pull request #613 from busstoptaktik/third-selftest-removalThomas Knudsen
remove internal seftests from projections starting with a 'c' (excluding PJ_cart.c)
2017-10-19Merge pull request #612 from busstoptaktik/second-selftest-removalThomas Knudsen
Second selftest removal (projections starting with 'b')
2017-10-19remove internal seftests from projections starting with a 'c' (excluding ↵Thomas Knudsen
PJ_cart)
2017-10-19make selftest stubs return stub signalThomas Knudsen
2017-10-19remove internal seftests from projections starting with a 'b'Thomas Knudsen
2017-10-19Teach proj_strtod to understand corner cases 0 and 0. (#611)Thomas Knudsen
2017-10-19Parse -I / --inverse properly in cct. Fixes #607.Kristian Evers
2017-10-19Prevent crashes and leaks on allocation failure (#606)Aaron Puchert
* Prevent crashes and leaks on allocation failure Memory allocation can fail. We need to gracefully handle this case and prevent dereferencing null pointers. * Make NULL checks consistent within a file * Properly report allocation errors * Improve cleanup in pj_gc_reader.c * Implement pj_strdup and use instead of strdup The function strdup is not part of ANSI C 89, but a POSIX extension. Therefore we can not rely on it being available on all platforms.
2017-10-13Merge pull request #604 from busstoptaktik/oss-fuzz-3630Thomas Knudsen
OSS-Fuzz issue 3630: Missing return in PJ_lsat.c
2017-10-13OSS-Fuzz issue 3630: Missing return in PJ_lsat.cThomas Knudsen
Resolves https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3630 Credit to OSS-Fuzz
2017-10-12Merge pull request #602 from busstoptaktik/oss-fuzz-3620Thomas Knudsen
Resolve OSS-Fuzz issue 3620 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3620 Credit to OSS-Fuzz
2017-10-12Remove first batch of internal self tests, now moved to builtins.gie:Thomas Knudsen
All projections starting with "a". Replace with stubs returning 10000. The two PJ_apply_?gridhift.c files have not been touched
2017-10-12Resolve OSS-Fuzz issue 3620Thomas Knudsen
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3620 Credit to OSS-Fuzz
2017-10-12Resolve OSS-Fuzz issue 3619,Thomas Knudsen
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3619 credit to OSS-Fuzz
2017-10-12Merge pull request #593 from busstoptaktik/gieThomas Knudsen
[WIP, RFC] Move regression tests out from the main code base
2017-10-12Run 'gie builtins.gie' as part of Travis CI jobsThomas Knudsen
Touch up configuration files to support gie
2017-10-12remove trailing whitespaceThomas Knudsen
Add missing prototype for opt_strip_path() A bunch of minor oops cleanups Remove unused functiion cloumn() Fighting the good fight trying to be *both* POSIX *and* Windows compatible A few more improvements: 2 missing casts and a potentially uninitialized variable
2017-10-12gie.c and builtins.gie now able to reproduce internal test resultsThomas Knudsen
improved docs, improved strtod - avoid precision loss for very long fractions Switch gie.c to use same framework as cct.c numerous improvements in proj_strtod.c and gie.c Add gie to the build system
2017-10-11Merge pull request #600 from busstoptaktik/oss-fuzz-pipelineThomas Knudsen
repair a simple dealloc bug in PJ_pipeline, which caused a landslide of OSS Fuzz issue reports Credit to OSS Fuzz
2017-10-11repair a simple dealloc bug in PJ_pipeline, which caused a landslide of OSS ↵Thomas Knudsen
Fuzz issue reports
2017-10-10Merge pull request #596 from busstoptaktik/OSS-Fuzz-issue-3595Thomas Knudsen
Resolve OSS Fuzz issue 3595 division by zero by replacing atan(y/x) with atan2(y,x) Credit to OSS Fuzz
2017-10-10Resolve OSS Fuzz issue 3595 division by zero by replacing atan(y/x) with ↵Thomas Knudsen
atan2(y,x)
2017-10-09Remove PJ_DATUMS which was introduced to proj.h by mistakeKristian Evers
2017-10-09Add proj_list_* functions that exposes various internal lists (#579)Kristian Evers
Fixes #173, #187 and #220
2017-10-08Resolve #594 and OSS-Fuzz-3569 (#595)Thomas Knudsen
* Resolve #594 and OSS-Fuzz-3569 * Restructure PJ_geos opaque object: sweep_axis showed unneeded, and freeing it was wrong. Eliminate instead Resolves #594 Resolves OSS-Fuzz Issue 3569 Credit to OSS-Fuzz
2017-10-07Merge pull request #592 from busstoptaktik/obs_api-improvementsThomas Knudsen
Cleaned up the use of PJ_IO_UNITS_CLASSIC, so it means only one thing: That output is linear and measured in units of the semimajor axis. This made it possible to remove a number of checks that had now become superfluous Corrected pj_roundtrip, so it takes PJ_COORD args, rather than PJ_OBS, and made it measure geodesic distances, rather than cartesian, where it makes sense
2017-10-06Switch proj_roundtrip to accept PJ_COORD, rather than PJ_OBS, and make it do ↵Thomas Knudsen
proper geodesic distances for forward roundtrips
2017-10-06Remove superfluous checks for PJ.left being PJ_IO_UNITS_CLASSICThomas Knudsen