Commit e708b98
J. Daniel Smith
reduce compiler warnings/code-analysis diagnostics (#461)
* update externals (#388)
* update "nitro"
* update coda-oss and fix compiler errors
* update coda-oss and nitro with less use of sys::
* unit-test paths are wrong for "externals"
* update "nitro" to get SegmentMemorySource overloads
* latest from "nitro"
* match nitro -> nitf change
* make_span()
* latest from "coda-oss"
* more filesystem from coda-oss
* latest from "nitro"
* std::endian
* latest from "nitro"
* latest from "nitro" and "coda-oss"
* reduce use of toString() (#389)
* put common #includes for PCH in a single file
* build check_valid_six
* use EXIT_* rather than 0/1
* getting rid of std::auto_ptr<> because it's gone in C++17
* build all projects with C++17
* use <filesystem> to remove hard-coded paths
* in Visual Studio, run check_valid_six with a pre-defined path
* tweak plugin dir
* can't have "check_valid_six" as a directory for *ix build
* build crop_sicd
* turn on /Wall, fix some warnings
* C++17 generates more warnings that I don't want to fix right now
* removed some compiler warnings from third-party code
* comment-out use of C++17's <filesystem>
* tweak project settings for consistency
* unit-test for createFakeComplexData()
* turn on compiler warnings
* crank-up warning level
* enable "Warnings as errors"
* turn on all warnings (many #pragma'd away)
* get rid of more warnings
* adjust more #pragma's
* update "nitro"
* update coda-oss and fix compiler errors
* update "nitro"
* update coda-oss and fix compiler errors
* use "externals" from top-level "install"
* use int64_t, etc. instead of sys::Int64_T
* mem::SharedPtr -> std::shared_ptr
* update coda-oss and nitro with less use of sys::
* unit-test paths are wrong for "externals"
* update "nitro" to get SegmentMemorySource overloads
* use std::unique_ptr<[]> instead of mem::ScopedArray
* use int32_t et. al. instead of sys::Int32_T
* use std::byte (not quite working yet, but need to move code to a faster machine)
* build with std::byte
* build with simplified "externals" scheme
* latest from "nitro"
* match nitro -> nitf change
* make_span()
* use std::thread::hardware_concurrency() instead of sys::OS().getNumCPUs()
* sys::Off_T -> ptrdiff_t
* fix compiler errors from previous merge; mostly #include <thread>
* Revert "sys::Off_T -> ptrdiff_t"
This reverts commit aa22a37.
* sys::Off_T -> int64_t; sys::SSize_T -> ptrdiff_t
* latest from "coda-oss"
* use filesystem::path and std::endian
* more filesystem from coda-oss
* less use of sys::
* NULL -> nullptr
* use .data() rather than &d[0]
* mem::BufferView -> std::span
* const std::span<>& doesn't make much sense
* need make_span() overload for pointer+size
* latest from "nitro"
* std::endian
* coda-oss now gives us std::endian
* sys::Filesystem -> std::filesystem
* don't need to explicitly call fs::path::string() in most cases
* sys::Filesystem -> std::filesystem
* fix build errors when using C++17
* simplify access to some ImageSubheader values
* newReadControl() returns a std::unique_ptr<> rather than a raw pointer
* a singleton is much easier in C++11
* don't need to do manual locking in C++11
* use a template and some macros to dramatically simplify Enums
* adjust macros for GCC, provide operators for SWIG
* got the map entries wrong
* make getIndices() a bit more robust
* store a std::unique_ptr<> instead of a raw poniter
* throw exceptions in getIndices() rather than assuming
* use Enum<T>.toString() where possible rather than duplicating code
* remove duplicate code converting from a string to Enum<T>
* don't explicilty check for "SIDD" as that's already part of getDataType()
* use std::string instead of char[]
* reduce use of "delete[]"
* less use of "SICD" and "SIDD", use six::DataType instead
* simplify Region buffer management
* reduce some explicit use of std::shared_ptr<> with std::make_shared and/or auto
* more reduction in explicit use of std::shared_ptr
* latest from "nitro"
* simplify use of six::Region
* reduce use of explicit .toString()
* further reduction in explicit use of toString()
* template specialiaton can't be inline with G++
* simplify cphd enum creation
* reduce use of toString() with setAttribute()
* latest from "nitro" and "coda-oss"
* don't need catch(excep::Exception) ex.toString() as std::exception::what() now does the same thing
* really only have two calls to setAttribute(): std::string and size_t
* use macros to generate SIDD Enums
* add operator<< for Enum<T> to avoid some explicit .toString() calls
* add operator==(std::string) overload to redue need for .toString()
* add operator<<() to redue need for .toString()
* don't implmeent a bunch of six::toString() routines; they sholdn't be called anymore
* further reduction in use of toString()
* eliminate six::toString() template; just provide a few overloads instead
* createSixString() which calls six::toString(t) instead of t.toString()
* createSixString() overload with URI parameter
* allow different strings (e.g., "1" and "+1") to map to the same value
* put "Enum" support code in a separate file
* there is now just one NOT_SET_VALUE
* latest from coda-oss (#390)
* update "nitro"
* update coda-oss and fix compiler errors
* update coda-oss and nitro with less use of sys::
* unit-test paths are wrong for "externals"
* update "nitro" to get SegmentMemorySource overloads
* latest from "nitro"
* match nitro -> nitf change
* make_span()
* latest from "coda-oss"
* more filesystem from coda-oss
* latest from "nitro"
* std::endian
* latest from "nitro"
* latest from "nitro" and "coda-oss"
* latest from coda-oss
* lost toString<nullptr>()
* latest from coda-oss/main
* want "std" augmented in this repo
* latest from coda-oss and nitro (#391)
* update "nitro"
* update coda-oss and fix compiler errors
* update coda-oss and nitro with less use of sys::
* unit-test paths are wrong for "externals"
* update "nitro" to get SegmentMemorySource overloads
* latest from "nitro"
* match nitro -> nitf change
* make_span()
* latest from "coda-oss"
* more filesystem from coda-oss
* latest from "nitro"
* std::endian
* latest from "nitro"
* latest from "nitro" and "coda-oss"
* latest from coda-oss
* lost toString<nullptr>()
* latest from coda-oss/main
* want "std" augmented in this repo
* partial update from coda-oss/main
* latest from coda-oss/main
* update coda-oss with latest from https://github.com/mdaus/coda-oss
* update externals/nitro/docs
* latest from "nitro"
* Revert "latest from "nitro""
This reverts commit 0b99300.
* latest from nitro/master
* ignore build/ directory
* Revert "latest from nitro/master"
This reverts commit e89da71.
* update externals/nitro/docs
* update "c", "java", "mex", and "python" directories -- but not "c++"
* update other nitro top-level files ... everything except modules/c++
* VCXPROJ files from nitro
* several changes from nitro/c++ ... hoping this builds.
* fix build error on Linux
* more changes from nitro/modules/c++
* fix IOStreamWriter ctor
* more changes from nitro/modules/c++
* paths are wrong when in "externals"
* remove externals/nitro/docs
* slam in "main"
* latest from coda-oss/main
* adjust coda-oss for our usage
* latest from nitro/main
* std::span removed from "nitro"
* need to redo C++17
* fix missing #include file
* remove "nitro" files not needed in externals/nitro
* paths are wrong in "externals"
* Revert "remove "nitro" files not needed in externals/nitro"
This reverts commit da30b96.
* Revert "Revert "remove "nitro" files not needed in externals/nitro""
This reverts commit e69391b.
* slam in externals as merging creates too many conflicts
* merge brought back a deleted #include
* add back "java" and "mex"
* lates from coda-oss/main
* latest from "nitro"
* paths are wrong in "externals"
* need to redo C++17 support
* std::span -> gsl::span
* Revert "std::span -> gsl::span"
This reverts commit c10f233.
* latest from coda-oss and nitro
* these are the correct files from "master"
* gsl::span -> std::span
* get #includes right for PCH
* didn't want this change
* trigger build on GitHub
* remove files that shouldn't have been committed
* latest from coda-oss:master
* latest from nitro::master
* adjust to API changes in coda-oss/xml.lite
* latest from coda-oss
* latest from coda-oss
* std::filesystem::path doesn't implicitly convert to std::string
* more place where an explicit std::filesystem::path::string() call is needed
* latest from "coda-oss" and "nitro"
* latest from coda-oss
* one more change from coda-oss
* "nitro" changes to build with C90 instead of C99
* old C++11 compilers don't like template<template>
* new TREs from "nitro"
* std::shared_ptr<> doesn't have [] versions, only std::unique_ptr
* build with older compilers
* latest coda-oss changes
* Update .gitignore from "nitro"
* SWIG doesn't like "final"
* SWIG doesn't like "final"
* latest from coda_oss
* latest from "nitro"
* add a version number to externals/coda-oss
* add a version number to externals/nitro
* restore "build" and "cmake"
* Gsl_.h got lost ... ?
* update CMS to 3.0.3.3 (#433)
* remove version numbers (for now); we've went a very long time w/o them
* finish rename
* version number is in too many places ...
* missing .cmake files
* missing "build" files
* latest from coda-oss
* latest from "master" on coda-oss
* latest from "master" at nitro
* remove CA diagnostics from coda-oss
* CODA_OSS_AUGMENT_std_namespace got clobbered again
* update coda-oss and nitro
* be sure coda-oss "std" files are copied
* use new coda-oss "std" headers
* more coda-oss changes
* updates from coda-oss and nitro
* latest from coda-oss
* fix coda-oss unittest dependencies
* WAF dependencies for "scene"
* sys/Filesystem.h -> std/filesystem
* build using C++17 features
* account for removed coda-oss overloads
* add back coda_oss;;filesystem::path
* forgot to add new "coda_oss" directory
* latest from "coda-oss" and "nitro"
* tweaks to python wrappers from coda-oss
* prepare for removing some code-analysis diagnostics
* "const" and "constexpr" as directed by code-analsysi
* be sure variables are initialized -- per code-analysis
* prepare code-analysis for SIX
* "const" or "constexpr" per code-analysis
* get rid of most reinterpret_cast<>s
* get rid of C-style casts
* XML parsing routines can be "const"
* initialize per code-analysis
* turn on a few more code-analysis diagnostics
* assert() that various pointers aren't NULL
* make copy/move explicit, usually =delete
* enable more compiler-warnings & code-analysis diagnostics
* updates from coda-oss to remove compiler warnings
* Xerces generates a bunch of warnings
* there are a lot of code-analysis diagnostics from Xerces
* another update to coda-oss to get rid of code-analysis diagnostics
* latest from coda-oss
* enable more compiler warnings and code-analysis diagnostics
* coda-oss updates to reduce compiler warnings/code-analysis diagnostics
* turn on more code-analysis diagnostics
* latest from coda-oss to reduce compiler warnings
* fix more code-analysis diagnistics
* more code-analysis diagnostics fixes from coda-oss
* more code-analysis cleanup
* remove several more compiler warnings
* Multithreaded DEBUG DLL is the default
* latest from coda-oss
* updates from "nitro"
* lost sys/Conf.h #include
* use =default for more default constructors
* tweak code-analysis
* gsl::narrow<>
* get rid of size & signed/unsigned warnings
* more =default for default constructors
* use std::make_unique instead of explicit new
* latest from coda-oss and nitro
* latest from nitro
* assert() that some pointers can't be NULL
* latest from coda-oss
* updates from "nitro"
* latest from "nitro" to support nitf-c++ as a DLL/shared-library
* build w/o errors when nitf-c++ is a DLL
* explicitly list SegmentMemorySource() overloads
* Merge branch 'master' into develop/update_externals
* get rid of more compiler warnings/code-analysis diagnostics
* latest from coda-oss to get rid of more compiler warnings/code-analysis diagnostics
* be sure NITRO validation changes don't break SIX unittests
* allow six.ruleset to be used in other projects
* fix a bunch of compiler warnings
* get rid of the errors that were #pragma'd away in the previous submission
* PlanarCoordinateMesh can be moved constructed (i.e., return value)
* fix compiler warnings in six.sidd
* reduce the use of "static_cast" in client code
* build NITRO @ /W4
* CODA-OSS eliminates the need for /Zc:__cplusplus
* reduce some code-analysis diagnostics from six.sicd
* utilities to reduce code duplication
* fix more code-analysis diagnostics
* get rid of a bunch of "unreferenced parameter" warnings
* utility routines to reduce use of static_cast<>
* use template magic to reduce static_cast<>s when calling createInt()
* more reduction of static_cast<>
* "const XMLElem" -> "const xml::lite::Element*"
* parseOptionalInt()
* use parseOptional*() routines to reduce noisy code
* latest from "nitro" and "coda-oss"
* simplify code with parseOptional*()
* more use of parseOptional*()
* Revert "more use of parseOptional*()"
This reverts commit 4b54417.
* Revert "simplify code with parseOptional*()"
This reverts commit c62fce9.
* Revert "use parseOptional*() routines to reduce noisy code"
This reverts commit 8a497df.
* reduce use of getOptional()
* Revert "Revert "use parseOptional*() routines to reduce noisy code""
This reverts commit c6d2313.
* simplify Wideband::read()
* fix /W4 warnings in six.convert
* fix code-analysis diagnostics from six.sicd
* remove a bunch of code-analysis diagnostics
* removed more code-analysis diagnostics
* reduce .c_str()
* reduce use of .c_str() in "nitro"
* write() takes a std::string parameter
* simplify calling XMLControlRegistry::addCreator()
* reduce code-analysis diagnostics
* reduce use of vector::size()
* use range for() to reduce use of .size()
* cast not needed
* changes from coda-oss to reduce code-analysis diagnostics
* compile with C++20
* tweaks for VS2019 16.10
* latest from nitro and coda-oss1 parent 8774471 commit e708b98
9 files changed
Lines changed: 19 additions & 14 deletions
File tree
- six/modules/c++
- cphd03/unittests
- cphd/unittests
- scene
- include/scene
- six.sicd
- six.sidd
- six
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
159 | | - | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments