aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-03-21Merge pull request #880 from mwtoews/rename-varKristian Evers
Avoid shadowed declaration errors with old gcc
2018-03-21Merge branch 'master' into ctable-nullKristian Evers
2018-03-21Merge pull request #878 from schwehr/logging-cleanupKristian Evers
Remove final \n from pj_log messages.
2018-03-20Handle the case where nad_ctable2_init returns NULL.Kurt Schwehr
Make CTABLE V2 handling the same as CTABLE. The pj_log call hit a NULL pointer during fuzzing. Found with autofuzz.
2018-03-21Avoid shadowed declaration errors with old gccMike Toews
2018-03-21Add extra { } to make code clearerEven Rouault
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-20Merge pull request #877 from kbevers/fix-datum-param-in-pipelinesKristian Evers
Introduce late expansion of +datum parameters.
2018-03-20Merge pull request #876 from schwehr/b74944176-pj_gridinfo_initKristian Evers
Track the header size read in pj_gridinfo_init
2018-03-20Introduce late expansion of +datum parameters. Fixes #872.Kristian Evers
2018-03-20Add 'exact' flag to Helmert operation when doing cs2cs emulation. Fixes ↵Kristian Evers
#871. (#873)
2018-03-20Track the header size read in pj_gridinfo_initKurt Schwehr
Fixes #875 Found with autofuzz using MSAN: use-of-uninitialized-value
2018-03-19Fix spelling error in gie error code. Closes #861.Kristian Evers
2018-03-17Fix comments in geodesic.c. Better invocation of AX_CHECK_COMPILE_FLAG,Charles Karney
but I doubt this will fix the build failures on the CI machines.
2018-03-17Patch 1.49.3 for geodesic package.Charles Karney
Set flags for Intel compiler to prevent incorrect optimization of arithmetic expressions #826. Guard against nans in sincosdx #834. Issue #831 is not addressed here (need more information...).
2018-03-16Merge pull request #865 from kbevers/pj_releaseKristian Evers
Use version numbers from proj.h in pj_release string
2018-03-16Use version numbers from proj.h in pj_release stringKristian Evers
2018-03-14Use a function to dereference a double value, to avoid false positive ↵Even Rouault
warning with older cppcheck versions
2018-03-14Avoid 'Found calculation inside sizeof()' false positive with older cppcheck ↵Even Rouault
versions
2018-03-14Avoid 'duplicateExpression,Same expression on both sides of '!='' false ↵Even Rouault
positive with older cppcheck versions
2018-03-14Avoid 'invalidscanf,scanf without field width limits can crash with huge ↵Even Rouault
input data on some versions of libc' with older cppcheck versions
2018-03-14Workaround false positive older cppcheck warning about null pointer dereferenceEven Rouault
2018-03-14Fix (mostly false positive) clang static analyzer warnings about potential ↵Even Rouault
null pointer dereference
2018-03-14Fix various dead initialization warnings spotted by clang static analyzerEven Rouault
2018-03-14Remove useless code (the variable is updated, but no longer used in the ↵Even Rouault
loop, and reinitialized at the next iteration) (spotted by clang static analyzer) The bug dates back from the original commit of src/PJ_lsat.c src/PJ_misrsom.c has likely copied & pasted from PJ_lsat.c
2018-03-14Fix dead assignment spotted by clang static analyzerEven Rouault
2018-03-14geodesic.c: initialize various variables to please CLang Static AnalyzerEven Rouault
2018-03-14cct.c: fix memory leak (spotted by clang static analyzer)Even Rouault
2018-03-14Fix 'Variable 'XXXX' is reassigned a value before the old one has been used' ↵Even Rouault
warnings
2018-03-14Add a few cppcheck suppressionsEven Rouault
2018-03-14Add comment to justify 718495c62ed00d6bf2a60be3b67ecf7e2e8da2d2Even Rouault
2018-03-14fixupEven Rouault
2018-03-14PJ_isea.c: Remove unused structureEven Rouault
2018-03-12Fix 'Consecutive return, break, continue, goto or throw statements are ↵Even Rouault
unnecessary' cppcheck warnings
2018-03-12Fix 'Either the condition 'fromProj!=0' is redundant or there is possible ↵Even Rouault
null pointer dereference: fromProj' cppcheck warning
2018-03-12Fix 'src/nad2bin.c:80,style,arrayIndexThenCheck,Array index 'i' is used ↵Even Rouault
before limits check' false positive cppcheck warning
2018-03-12Fix 'src/pj_internal.c:346,style,unreadVariable,Variable 'n' is assigned a ↵Even Rouault
value that is never used' cppcheck warning
2018-03-12Avoid cppcheck false positive 'Variable 'nadgrids' is assigned a value that ↵Even Rouault
is never used' and make code more readable
2018-03-12PJ_pipeline: remove unused sructure member (spotted by cppcheck)Even Rouault
2018-03-12geodesic.c: fix multiple occurences of 'Clarify calculation precedence for ↵Even Rouault
'&' and '?'' cppcheck warnings
2018-03-12Fix 'src/proj.c:224,style,multiCondition,Expression is always false because ↵Even Rouault
'else if' condition matches previous condition at line 221' cppcheck warning
2018-03-12Fix 'bufferAccessOutOfBounds,Buffer is accessed out of bounds' cppcheck warningsEven Rouault
2018-03-12Fix 'src/cct.c:235,error,resourceLeak,Resource leak: fout' cppcheck warningEven Rouault
2018-03-12Merge pull request #857 from kbevers/return-error-instead-of-zerosKristian Evers
Make sure that transient errors are returned correctly
2018-03-12Make sure to pass any existing errno's on after the coordinate operation is doneKristian Evers
2018-03-11Don't fetch lat_0 value twiceKristian Evers
It is not necessary to read +lat_0 with pj_param in projection setup. It is read by default in pj_init().
2018-03-11Make sure that transient errors are returned correctlyKristian Evers
The prepare/finalize steps in pj_fwd*/pj_inv* now checks the error level of the PJ object before returning the coordinate. If an error is detected proj_coord_error() is returned.
2018-03-11Merge pull request #852 from kbevers/remove-pj_-prefix-from-static-functionsKristian Evers
Remove 'pj_' prefix from static functions
2018-03-11Merge pull request #853 from rouault/typo_fixesKristian Evers
Typo fixes
2018-03-11mingw32 travis: reduce number of iterations for multistresstestEven Rouault