geode-native.git
8 days agoGEODE-6139: Fix problems reported by rat in source release (#413) master release/1.8 rel/v1.8.0 rel/v1.8.0.RC2
Blake Bender [Wed, 5 Dec 2018 16:21:13 +0000 (08:21 -0800)] 
GEODE-6139: Fix problems reported by rat in source release (#413)

* GEODE-6139: Fix problems reported by rat in source release
- Add missing license headers to a couple of files
- Tell rat to ignore some trivial config files
- Remove stray tmp file
- Fix cmake file that was badly reformatted
- Fix incorrect assumption in CMakeLists.txt
- .gitignore files use globbing, not regex, so they can't be read into cpack ignore directly

Co-authored-by: Ernest Burghardt <eburghardt@pivotal.io>
Co-authored-by: Mike Martell <mmartell@pivotal.io>
Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
2 weeks agoGEODE-4728 User Guide: Add Authentication submenu to left-hand nav rel/v1.8.0.RC1
Dave Barnes [Mon, 26 Nov 2018 19:21:38 +0000 (11:21 -0800)] 
GEODE-4728 User Guide: Add Authentication submenu to left-hand nav

2 weeks agoGEODE-6043: Improve User Guide Authentication example
Dave Barnes [Tue, 20 Nov 2018 01:30:02 +0000 (17:30 -0800)] 
GEODE-6043: Improve User Guide Authentication example

2 weeks agoGeode-4728: User Guide - improve authentication explanation
Dave Barnes [Fri, 16 Nov 2018 22:07:32 +0000 (14:07 -0800)] 
Geode-4728: User Guide - improve authentication explanation

2 weeks agoGEODE-4728 remove deprecated 'grid-client' property
Dave Barnes [Tue, 13 Nov 2018 00:19:48 +0000 (16:19 -0800)] 
GEODE-4728 remove deprecated 'grid-client' property

2 weeks agoGEODE-4728 Geode NC doc: Add a Security topic
Dave Barnes [Sat, 10 Nov 2018 00:08:31 +0000 (16:08 -0800)] 
GEODE-4728 Geode NC doc: Add a Security topic

2 weeks agoGEODE-4728 Geode NC doc: Add a Security topic
Dave Barnes [Thu, 8 Nov 2018 22:10:57 +0000 (14:10 -0800)] 
GEODE-4728 Geode NC doc: Add a Security topic

2 weeks agoGEODE-4728: User Guide typo fixes, Diffie-Hellman
Dave Barnes [Thu, 8 Nov 2018 18:42:24 +0000 (10:42 -0800)] 
GEODE-4728: User Guide typo fixes, Diffie-Hellman

2 weeks agoGEODE-4728: link repair
Dave Barnes [Thu, 8 Nov 2018 00:53:13 +0000 (16:53 -0800)] 
GEODE-4728: link repair

2 weeks agoGEODE-4728 Geode NC doc improvements: flatten hierarchy for querying pages
Dave Barnes [Wed, 7 Nov 2018 23:36:39 +0000 (15:36 -0800)] 
GEODE-4728 Geode NC doc improvements: flatten hierarchy for querying pages

2 weeks agoGEODE-4728 User Guide: Update config and getting started
Dave Barnes [Wed, 31 Oct 2018 22:25:20 +0000 (15:25 -0700)] 
GEODE-4728 User Guide: Update config and getting started

5 weeks agoGEODE-5251: parameterize assembly info (#384)
Blake Bender [Thu, 8 Nov 2018 18:47:57 +0000 (10:47 -0800)] 
GEODE-5251: parameterize assembly info (#384)

* We could already change the name(s) of the librarie(s) etc via cmake variables, but the assembly info in the .net DLL wasn't changing.  Now it can be changed based on the same cmake variables.

5 weeks agoGEODE-5942: Remove named constants from PersistenceManager (#393)
Blake Bender [Tue, 6 Nov 2018 15:47:15 +0000 (07:47 -0800)] 
GEODE-5942: Remove named constants from PersistenceManager (#393)

- These should just be agreed-upon values between client code and plugin

Co-authored-by: Sai Boorlagaddda <sai.boorlagadda@gmail.com>
5 weeks agoGEODE-5025: Fixes template visiblity when linked with executables. (#387)
Jacob Barrett [Fri, 2 Nov 2018 19:25:26 +0000 (12:25 -0700)] 
GEODE-5025: Fixes template visiblity when linked with executables. (#387)

6 weeks agoGEODE-4728 User Guide: System Props - Improve format
Dave Barnes [Wed, 31 Oct 2018 17:01:00 +0000 (10:01 -0700)] 
GEODE-4728 User Guide: System Props - Improve format

6 weeks agoGEODE-4728 User Guide: prune out-dated serialication details (update subnav)
Dave Barnes [Tue, 30 Oct 2018 21:12:29 +0000 (14:12 -0700)] 
GEODE-4728 User Guide: prune out-dated serialication details (update subnav)

6 weeks agogeode-4728 User Guide: prune out-dated cache config info (update subnav)
Dave Barnes [Tue, 30 Oct 2018 18:20:23 +0000 (11:20 -0700)] 
geode-4728 User Guide: prune out-dated cache config info (update subnav)

6 weeks agogeode-4728 User Guide: prune out-dated cache config info
Dave Barnes [Tue, 30 Oct 2018 18:07:38 +0000 (11:07 -0700)] 
geode-4728 User Guide: prune out-dated cache config info

6 weeks agoGEODE-5919: Fix documentation bugs (#386)
Michael Martell [Tue, 30 Oct 2018 03:36:16 +0000 (20:36 -0700)] 
GEODE-5919: Fix documentation bugs (#386)

* adding missing class comments
* fixed class comments that were in the wrong place

6 weeks agoFix build break due to typo
Ernie [Fri, 26 Oct 2018 15:32:21 +0000 (15:32 +0000)] 
Fix build break due to typo

7 weeks agoGEODE-4337: cpp example, function execution (#382)
Blake Bender [Thu, 25 Oct 2018 22:34:22 +0000 (15:34 -0700)] 
GEODE-4337: cpp example, function execution (#382)

Co-authored-by: Matthew Reddington <mreddington@pivotal.io>
7 weeks agoGEODE-2610: Fix up schema links in all references in source tree (#383)
Blake Bender [Thu, 25 Oct 2018 16:33:30 +0000 (09:33 -0700)] 
GEODE-2610: Fix up schema links in all references in source tree (#383)

Co-authored-by: Ernest Burghardt <eburghardt@pivotal.io>
7 weeks agoGEODE-5898: Fixes product directory searching.
Jacob Barrett [Fri, 19 Oct 2018 16:32:28 +0000 (16:32 +0000)] 
GEODE-5898: Fixes product directory searching.

7 weeks agoGEODE-5746: deflakify cli integration test2 (#380)
Blake Bender [Fri, 19 Oct 2018 15:51:12 +0000 (08:51 -0700)] 
GEODE-5746: deflakify cli integration test2 (#380)

- Refactor C# test framework to look like C++ framework
- Pay attention to gfsh exit codes and fail on non-zero exit
- Ensure all tests create their own jmx manager, and test exit gets rid of all java instances
- verify all tests run properly in parallel

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
Co-authored-by: Ernest Burghardt <eburghardt@pivotal.io>
8 weeks agoGEODE-5898: Throw CacheClosedException after Cache is closed.
Jacob Barrett [Thu, 18 Oct 2018 20:35:02 +0000 (13:35 -0700)] 
GEODE-5898: Throw CacheClosedException after Cache is closed.

* Adds unit test to assert.

8 weeks agoGEODE-5638: Move cppcache/integration-tests to legacy (#378)
Michael Martell [Tue, 16 Oct 2018 17:04:37 +0000 (10:04 -0700)] 
GEODE-5638: Move cppcache/integration-tests to legacy (#378)

2 months agoGEODE-5847: Fixes forward declarations on GCC.
Jacob Barrett [Sun, 14 Oct 2018 00:20:11 +0000 (00:20 +0000)] 
GEODE-5847: Fixes forward declarations on GCC.

After reordering of headers some poorly defined forward
declarations needed to be changed.

2 months agoGEODE-5847: Ignore NewDeleteLeaks in old integration tests.
Jacob Barrett [Fri, 12 Oct 2018 16:21:41 +0000 (09:21 -0700)] 
GEODE-5847: Ignore NewDeleteLeaks in old integration tests.

Ignoring clang-analyzer-cplusplus.NewDeleteLeaks in old integration
tests because there is a fundamental flaw in the design the relies
on the leaking of memory. Because it uses MACROS to define the tasks
we also can't just ignore the offending lines.

2 months agoGEODE-5847: Reformatted source
Jacob Barrett [Thu, 11 Oct 2018 20:34:42 +0000 (13:34 -0700)] 
GEODE-5847: Reformatted source

2 months agoGEODE-5847: Sort and group includes
Jacob Barrett [Thu, 11 Oct 2018 20:34:04 +0000 (13:34 -0700)] 
GEODE-5847: Sort and group includes

2 months agoGEODE-5847: Travis asserts sources is not modified
Jacob Barrett [Wed, 10 Oct 2018 21:37:28 +0000 (14:37 -0700)] 
GEODE-5847: Travis asserts sources is not modified

* Will exit non-zero if formatting changes while building.

2 months agoGEODE-5847: Formatted sources
Jacob Barrett [Wed, 10 Oct 2018 20:53:45 +0000 (13:53 -0700)] 
GEODE-5847: Formatted sources

2 months agoGEODE-5847: Integrate clang-format into CMake.
Jacob Barrett [Wed, 10 Oct 2018 16:55:25 +0000 (09:55 -0700)] 
GEODE-5847: Integrate clang-format into CMake.

* Formats all C++ sources on compile if they have changed.

2 months agoGEODE-5693: Revert fix to memory leak.
Jacob Barrett [Fri, 12 Oct 2018 00:58:35 +0000 (17:58 -0700)] 
GEODE-5693: Revert fix to memory leak.

2 months agoGEODE-5693: Use clang-tidy in travis build. (#374)
Jacob Barrett [Thu, 11 Oct 2018 20:05:29 +0000 (13:05 -0700)] 
GEODE-5693: Use clang-tidy in travis build. (#374)

2 months agoGEODE-5768: New ContinuousQuery tests using DataSerializable objects (#376)
Michael Martell [Wed, 10 Oct 2018 20:32:16 +0000 (13:32 -0700)] 
GEODE-5768: New ContinuousQuery tests using DataSerializable objects (#376)

* Refactored CqListners to override OnEvent method for specific type
* Added JMX port info to start/stop server scripting
* Reverted original Position.java to fix cppcache tests
* Created Position.java for cli tests
* Turned off parallel test execution in cli/integration-test2 using xunit parallelizeAssembly=false.
* Rename GemFireServerTest to GeodeServerTest
* Removed debug statements from base class

2 months agoGEODE-5839: Fixes explicit constructor definition.
Jacob Barrett [Tue, 9 Oct 2018 20:34:07 +0000 (13:34 -0700)] 
GEODE-5839: Fixes explicit constructor definition.

* Cleanup .clang-tidy files.

2 months agoGEODE-5839: Fixes misc clang-tidy warnings.
Jacob Barrett [Tue, 9 Oct 2018 00:21:48 +0000 (17:21 -0700)] 
GEODE-5839: Fixes misc clang-tidy warnings.

* Fixes clang-analyzer-core.CallAndMessage warning
* Fixes clang-diagnostic-return-std-move-in-c++11 warning.
* Cleanup NOLINT with specific warning it suppresses.
* Fixes clang-analyzer-core.CallAndMessage warning
* Updates to Boost 1.68 to fix uninitilalized variable.
* Fixes clang-analyzer-unix.* warnings.
* Fixes clang-analyzer-unix.* warnings.
* Fixes clang-analyzer-cplusplus.NewDeleteLeaks warnings.
* Fixes clang-analyzer-security.insecureAPI.rand warnings.
* Fixes remaining clang-diagnostic-* warnings.
* Fixes clang-analyzer-deadcode.DeadStores warnings.
* Fixes clang-analyzer-security.insecureAPI.strcpy warning
* Fixes clang-analyzer-cplusplus.NewDelete warning
* Cleanup clang-tidy configs

2 months agoGEODE-5773: Fixes misc google-* clang-tidy warnings.
Jacob Barrett [Sat, 22 Sep 2018 13:48:04 +0000 (06:48 -0700)] 
GEODE-5773: Fixes misc google-* clang-tidy warnings.

* google-readability-braces-around-statements
* google-build-namespaces

2 months agoGEODE-5770: Fixes clang-analyzer-optin.performance.Padding warning
Jacob Barrett [Fri, 21 Sep 2018 17:50:56 +0000 (10:50 -0700)] 
GEODE-5770: Fixes clang-analyzer-optin.performance.Padding warning

* Reorders members to reduce padding.

2 months agoGEODE-5766: Fixes google-readability-namespace-comments warning
Jacob Barrett [Fri, 21 Sep 2018 05:03:16 +0000 (22:03 -0700)] 
GEODE-5766: Fixes google-readability-namespace-comments warning

2 months agoGEODE-5753: Fixes rebase error
Jacob Barrett [Mon, 8 Oct 2018 19:51:41 +0000 (12:51 -0700)] 
GEODE-5753: Fixes rebase error

2 months agoGEODE-5753: Fixes google-readability-casting clang-tidy warning. (#368)
Jacob Barrett [Mon, 8 Oct 2018 19:30:28 +0000 (12:30 -0700)] 
GEODE-5753: Fixes google-readability-casting clang-tidy warning. (#368)

* Uses static_cast<> over C-style cast.
* Fixes ACE thread id to string.

2 months agoGEODE-3806: Removes use of Xerces. (#370)
Jacob Barrett [Mon, 8 Oct 2018 19:21:39 +0000 (12:21 -0700)] 
GEODE-3806: Removes use of Xerces. (#370)

Removes unused sources.

2 months agoGEODE-4338, GEODE-4347: User Guide - incorporate CQ examples - incorporate reviewer...
Dave Barnes [Fri, 5 Oct 2018 23:23:06 +0000 (16:23 -0700)] 
GEODE-4338, GEODE-4347: User Guide - incorporate CQ examples - incorporate reviewer suggestions

2 months agoGEODE-4338, GEODE-4347: User Guide - incorporate CQ examples - additional modifications
Dave Barnes [Fri, 5 Oct 2018 21:47:58 +0000 (14:47 -0700)] 
GEODE-4338, GEODE-4347: User Guide - incorporate CQ examples - additional modifications

2 months agoGEODE-4338, GEODE-4347: User Guide - incorporate CQ examples
Dave Barnes [Fri, 5 Oct 2018 21:21:11 +0000 (14:21 -0700)] 
GEODE-4338, GEODE-4347: User Guide - incorporate CQ examples

2 months agoGEODE-4338 User Guide - CQ example, WIP
Dave Barnes [Thu, 4 Oct 2018 22:09:31 +0000 (15:09 -0700)] 
GEODE-4338 User Guide - CQ example, WIP

2 months agoGEODE-4338 - CQ example, update README to match example output
Dave Barnes [Thu, 4 Oct 2018 22:08:21 +0000 (15:08 -0700)] 
GEODE-4338 - CQ example, update README to match example output

2 months agoGEODE-5025: Uses templates to define Cacheable types (#366)
Jacob Barrett [Fri, 5 Oct 2018 17:46:00 +0000 (10:46 -0700)] 
GEODE-5025: Uses templates to define Cacheable types (#366)

* Converts CacheableKeyType into CacheableKeyPrimitive template.

* Converts CacheableContainerType into CacheableContainerPrimitive template.

* Move templates internal.

*  Cleanup equals operator

* Workaround for MSVC limits

2 months agoGEODE-5638: Organize/Cleanup the geode-native project structure (#369)
Ernie Burghardt [Fri, 5 Oct 2018 17:10:47 +0000 (11:10 -0600)] 
GEODE-5638: Organize/Cleanup the geode-native project structure (#369)

* Use CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION for cmake generated projects.
* Removed dead code and hard coded path to project.
* Remove GUIDs from project references.
* Removing white space

2 months agoGEODE-4728: User Guide - re-enable collapsing subnav
Dave Barnes [Thu, 4 Oct 2018 22:21:01 +0000 (15:21 -0700)] 
GEODE-4728: User Guide - re-enable collapsing subnav

2 months agoGEODE-5744: FIxes cinttypes include on Windows.
Jacob Barrett [Thu, 4 Oct 2018 19:44:22 +0000 (19:44 +0000)] 
GEODE-5744: FIxes cinttypes include on Windows.

2 months agoGEODE-5744: Use fixed width int types. (#359)
Jacob Barrett [Thu, 4 Oct 2018 17:13:55 +0000 (10:13 -0700)] 
GEODE-5744: Use fixed width int types. (#359)

2 months agoGEODE-5638: Use cmake to generate the SQLiteCLI plugin project into cli folder
Michael Martell [Wed, 3 Oct 2018 15:58:46 +0000 (15:58 +0000)] 
GEODE-5638: Use cmake to generate the SQLiteCLI plugin project into cli folder

* Generate and reorganize SQLiteCLI project
* Fix reference to System.Data.SQLite
* Define DOTNET_TARGET_FRAMEWORK_VERSION at top level
* Remove redundant variable.

2 months agoGEODE-4728: Native Client doc improvements - Incorporate reviewer suggestions
Dave Barnes [Thu, 27 Sep 2018 00:27:40 +0000 (17:27 -0700)] 
GEODE-4728: Native Client doc improvements - Incorporate reviewer suggestions

2 months agoGeode-5638: Reorganize the projects (#364) feature-GEODE-5802
Michael Martell [Mon, 1 Oct 2018 13:25:07 +0000 (06:25 -0700)] 
Geode-5638: Reorganize the projects (#364)

Move cli related projects under a cli folder and all cpp related projects under a cpp folder.

2 months agoGEODE-5750: Fix incorrect optype enum value (#361)
Blake Bender [Mon, 24 Sep 2018 22:27:59 +0000 (22:27 +0000)] 
GEODE-5750: Fix incorrect optype enum value (#361)

-CqEvent.getQueryOperation() returns 1 for create event, while cli CqOperation was set to 0.
It has now been updated to reflect cpp CqOperation.
- Fixed apache::geode::client::Task<T> to handle AppDomain context
correctly
- Add tests for remaining events
- Add check for unknown event type

Co-authored-by: Blake Bender <bbender@pivotal.io>
2 months agoFix cli integration-test2 flakiness (#362)
Michael Martell [Sun, 23 Sep 2018 00:41:10 +0000 (17:41 -0700)] 
Fix cli integration-test2 flakiness (#362)

2 months agoUser guide: typo repair
Dave Barnes [Fri, 21 Sep 2018 22:38:15 +0000 (15:38 -0700)] 
User guide: typo repair

2 months agoGeode native user guide: update 'about' page and subnav
Dave Barnes [Fri, 21 Sep 2018 21:00:26 +0000 (14:00 -0700)] 
Geode native user guide: update 'about' page and subnav

2 months agoGEODE-5259: Fix clang (xcode 10) build breaks (#360)
Blake Bender [Fri, 21 Sep 2018 18:29:01 +0000 (18:29 +0000)] 
GEODE-5259: Fix clang (xcode 10) build breaks (#360)

- remove unused parameters from SerializableHelper<DataSerializableInternal>::metadataEqualTo()
- remove problematic clang-format properties
- remove gratuitous type cast

Co-authored-by: Mike Martell <mmartell@pivotal.io>
Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
2 months agoGEODE-4347: Add dotnet ContinuousQuery example (#355)
Blake Bender [Fri, 21 Sep 2018 16:55:30 +0000 (16:55 +0000)] 
GEODE-4347: Add dotnet ContinuousQuery example (#355)

- Create new project directory
- Add ContinuousQueryCs to dotnet examples CMakeLists

Co-authored-by: Blake Bender <bbender@pivotal.io>
2 months agoGEODE-5634: upgrade xunit version and testadapter (#358)
Ivan Godwin [Thu, 20 Sep 2018 20:25:32 +0000 (13:25 -0700)] 
GEODE-5634: upgrade xunit version and testadapter (#358)

- upgraded xunit from 2.3.1 to 2.4.0
- added new cmake reference to xunit.runner.visualstudio.testadapter

Co-authored-by: Mike Martell <mmartell@pivotal.io>
2 months ago GEODE-5738: Fixes google-global-names-in-headers warning
Jacob Barrett [Wed, 19 Sep 2018 14:41:12 +0000 (07:41 -0700)] 
 GEODE-5738: Fixes google-global-names-in-headers warning

- Wrap using inside anonymous namespaces
- Ignore unused-member-function warnings in old integration tests.
- Removes unused methods.
- Update ThinClientListenerWriter.hpp

2 months agoGEODE-5259: Remove classId from DataSerializable
Michael Martell [Tue, 18 Sep 2018 22:21:16 +0000 (15:21 -0700)] 
GEODE-5259: Remove classId from DataSerializable

- Test using type_info
- First cut at removing getClassId() from DataSerializable
- Switch to find instead of [ ] operator
- Update clicache integration tests to use new DataSerializable interface.
- Added new CSharp serialization test.
- Removed all reference to ClassId and added "type" to the Managed wrapper of DataSerializables plus tests
- Rebased with develop: switch to DSCode
- Make the DSCode version of bind private
- Cleanup bind function
- Fix serialize (wasn't writing the DSCode and the user typeId).
- Added a composite custom object test
- Update tests to use proper typeId (to match java classes).
- Update clicache integration tests to use new DataSerializable interface.
- Added new CSharp serialization test.
- Removed all reference to ClassId and added "type" to the Managed wrapper of DataSerializables plus tests
- Make the DSCode version of bind private
- Added a composite custom object test
- Update tests to use proper typeId (to match java classes).
- Switch TypeId for Portfolio and Position in clicache tests to coorespond with the Java versions of each.
- Updated DataSerializable test to use explicit compares of strings
- changed uint32_t to int32_t in TypeRegistry
- Refactor to remove compID (composite ID) and use better naming of maps
  All id's are now int32_t and bit shifts were removed
- Copy geode-native symbols to allow debugging
- Refactor bind into bindDataSerializable and bindDataSerializableFixedId and rename maps
- Switch back to std::type_info
- Added ManagedDataSerializableHandler support.
- Intercepting handling of DataSerializables for managed and unmanaged.
- Refactored SerializationRegistry to collapse overloaded methods.
- Added helper methods to support the (de)serializtion methods.
- DataOutput api changed to only support std::shared_ptr<Serializable>
- Managed TypeRegistry has improved mnemonics of maps and accessors
- also removed obsolete native delegate creation
- Only copy the pdb for Debug builds
- Test code shouldn't eat exceptions when creating the cache.
- Split out DataSerializablePrimitives map.
- Refactored map names to be more expressive.
- Remove DataSerializableInternal::getInternal().
- Fix rename error of DSCodeToFactoryMap
- Fix and reformat clicache SerializationTests
- Update examples to new DataSerializable api
- Fix missing Type property in example code
- Just use System::Type in IDataSerializable
- Cleanup formatting and dead code
- Remove IDataSerializable::Type property (no longer needed)
- More file cleanup from review.
- Remove Type property from an example.

2 months agoGEODE-4338: Add C++ Continuous Query Example (#352)
Blake Bender [Mon, 17 Sep 2018 14:50:16 +0000 (07:50 -0700)] 
GEODE-4338: Add C++ Continuous Query Example (#352)

- Remove meaningless doc comment
- Remove tabs from c++ examples CMakeLists.txt
- Change types of members in custom PDX object to avoid casting
- Check for nullptr in event handler
- Declare variables of type auto rather than use explicit typing

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
2 months agoGEODE-5626: Fix crash in register all keys (#351)
Blake Bender [Mon, 17 Sep 2018 14:48:15 +0000 (07:48 -0700)] 
GEODE-5626: Fix crash in register all keys (#351)

* GEODE-5626: Reject getInitialValues=true in registerAllKeys when region is not caching.

    - Refactor Cluster class so we can apply locators separately.
    - Clean up server directories at test startup.
    - Add test cases for caching proxy and proxy regions with getInitialValues set to true
    - remove extraneous comment and empty doc comments
    - throw exception if gfsh exits non-zero
    - use relative path when deleting server directory

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
3 months agoGEODE-5730: Fixes google-explicit-constructor clang-tidy warning (#350)
Jacob Barrett [Wed, 12 Sep 2018 20:39:02 +0000 (13:39 -0700)] 
GEODE-5730: Fixes google-explicit-constructor clang-tidy warning (#350)

3 months agoGEODE-5698: Fixes shared_ptr access.
Jacob Barrett [Thu, 6 Sep 2018 04:51:43 +0000 (21:51 -0700)] 
GEODE-5698: Fixes shared_ptr access.

3 months agoGEODE-5713: Fix valgrind uninitialized value (#348)
Blake Bender [Wed, 12 Sep 2018 15:57:34 +0000 (08:57 -0700)] 
GEODE-5713: Fix valgrind uninitialized value (#348)

* WIP - replace use of member variable with local variable
* Remove unused member variable

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
3 months agoFix extra console in BUILDING for rendering
M. Oleske [Wed, 12 Sep 2018 04:42:36 +0000 (21:42 -0700)] 
Fix extra console in BUILDING for rendering

3 months ago GEODE-5691: Fix using namespace violations (#346)
Jacob Barrett [Mon, 10 Sep 2018 17:09:52 +0000 (10:09 -0700)] 
 GEODE-5691: Fix using namespace violations (#346)

* Updates clang-tidy integration using CMake built in support.
* Updates .clang-tidy.

3 months agoGEODE-5677: Removes _GEODE_FRIEND_STD_SHARED_PTR. (#345)
Jacob Barrett [Fri, 7 Sep 2018 02:17:46 +0000 (19:17 -0700)] 
GEODE-5677: Removes _GEODE_FRIEND_STD_SHARED_PTR. (#345)

* Make all shared_ptr bound classes have public constructors.
* Correct missing virtual destructors.
* Correct deleted functions.
* Other minor CLang 6.0 fixes.

3 months agoGEODE-5672: Geode Native Docs: explain how to connect apps to the server (#344)
Dave Barnes [Thu, 6 Sep 2018 22:35:53 +0000 (15:35 -0700)] 
GEODE-5672: Geode Native Docs: explain how to connect apps to the server (#344)

* GEODE-5672: Geode Native Docs: explain how to connect apps to the server

3 months agoGEODE-4728: Geode Native Documentation Improvements - simplify docs for region config...
Dave Barnes [Thu, 6 Sep 2018 16:48:05 +0000 (09:48 -0700)] 
GEODE-4728: Geode Native Documentation Improvements - simplify docs for region configuration

3 months agoUpdate Gemfile.lock in docs/geode-native-book directory
Dave Barnes [Wed, 5 Sep 2018 21:36:06 +0000 (14:36 -0700)] 
Update Gemfile.lock in docs/geode-native-book directory

3 months agoGEODE-5651: Compiles on Xcode 9.2 or newer (#343)
Blake Bender [Fri, 31 Aug 2018 21:34:50 +0000 (14:34 -0700)] 
GEODE-5651: Compiles on Xcode 9.2 or newer (#343)

- Fix up all compiler warnings and errors on Mac after upgrade to XCode 9.2

Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
3 months agoGEODE-5648: Native client user guide - add a page describing Continuous Queries ...
Dave Barnes [Tue, 28 Aug 2018 23:37:31 +0000 (16:37 -0700)] 
GEODE-5648: Native client user guide - add a page describing Continuous Queries (#340)

3 months agoRevert "GEODE-5634: Xunit modules upgraded to latest"
Ernest Burghardt [Mon, 27 Aug 2018 15:19:23 +0000 (09:19 -0600)] 
Revert "GEODE-5634: Xunit modules upgraded to latest"

This reverts commit 24d235b92e85313f299a355aa9c6ba7770000453.

3 months agoGEODE-5634: Reverting the Xunit upgrade
Ernie Burghardt [Fri, 24 Aug 2018 20:51:30 +0000 (14:51 -0600)] 
GEODE-5634: Reverting the Xunit upgrade

- Revert "GEODE-5634: Xunit modules upgraded to latest"

- This reverts commit dc0a041d7c01d5cbe5d265fda1f65f7b158217ad.

3 months agoGEODE-5634: Xunit modules upgraded to latest
Ernie Burghardt [Fri, 24 Aug 2018 15:42:07 +0000 (09:42 -0600)] 
GEODE-5634: Xunit modules upgraded to latest

3 months agoGEODE-2607: improve release artifacts
Blake Bender [Thu, 23 Aug 2018 17:47:19 +0000 (17:47 +0000)] 
GEODE-2607: improve release artifacts

- Add packer and docker directories back into release artifacts
  Geode leaves these in, so it's best to match what they do when we can.

- Generate SHA512 has along with build artifacts.

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
3 months agoGeode 4978 pass hash into cmake for version (#334)
Blake Bender [Wed, 22 Aug 2018 21:27:25 +0000 (21:27 +0000)] 
Geode 4978 pass hash into cmake for version (#334)

- Don't use git to discover SHA and branch for version.h

- Add default values for cmake variables used in version.h, so we don't generate version.h unless we specify a variable on the command line.

- Make value overrides work properly by using CACHE STRING

Co-authored-by: Ernest Burghardt <eburghardt@pivotal.io>
- Remove old generation step for version.h

- Remove stray cmake messages

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
3 months agoAdded caveats for use of DataSerializable
Dave Barnes [Wed, 22 Aug 2018 16:53:36 +0000 (09:53 -0700)] 
Added caveats for use of DataSerializable

3 months agoGEODE-5582: Fix .NET API docs errors (CacheFactory.hpp) (#333)
Dave Barnes [Thu, 16 Aug 2018 22:07:22 +0000 (15:07 -0700)] 
GEODE-5582: Fix .NET API docs errors (CacheFactory.hpp) (#333)

3 months agoGEODE-5554: Standardize naming of Geode Native example *.md files (#332)
Dave Barnes [Thu, 16 Aug 2018 22:04:46 +0000 (15:04 -0700)] 
GEODE-5554: Standardize naming of Geode Native example *.md files (#332)

* GEODE-5554: Standardize naming of Geode Native example *.md files

3 months agoExclude build directory etc from source distribution ... (#331)
Blake Bender [Tue, 14 Aug 2018 21:42:41 +0000 (21:42 +0000)] 
Exclude build directory etc from source distribution ... (#331)

* Exclude build directory etc from source distribution generated by CPack.  Ignore .git and .idea (and .DS_Store)

* use .gitignore as base list for cpack exclusion.  Add '.cpackignore' file to add things that git wants but cpack doesn't.

Co-authored-by: Ernest Burghardt <eburghardt@pivotal.io>
4 months agoGEODE-5473 Docs page describing how to use the query api (#330)
Dave Barnes [Mon, 13 Aug 2018 20:44:44 +0000 (13:44 -0700)] 
GEODE-5473 Docs page describing how to use the query api (#330)

* GEODE-5473 Docs page describing how to use the query api

4 months agoGEODE-5567: Replace template parameter of std::atomic with a known trivially-copyable...
Blake Bender [Fri, 10 Aug 2018 22:50:50 +0000 (22:50 +0000)] 
GEODE-5567: Replace template parameter of std::atomic with a known trivially-copyable type

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
4 months agoRefactor GeodeTypeIds enums into DSCode, DSFid, and InternalId enums, make enums...
Blake Bender [Fri, 10 Aug 2018 22:10:23 +0000 (22:10 +0000)] 
Refactor GeodeTypeIds enums into DSCode, DSFid, and InternalId enums, make enums enum classes (#325)

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
4 months agoGEODE-5416: Geode Native C# Example (Put/get domain object using custom DataSerializa...
Dave Barnes [Thu, 9 Aug 2018 22:42:04 +0000 (15:42 -0700)] 
GEODE-5416: Geode Native C# Example (Put/get domain object using custom DataSerializable) Update README.md (#329)

4 months agoGEODE-4336: C++ Remote Query Example, add README.md (#328)
Dave Barnes [Thu, 9 Aug 2018 17:21:57 +0000 (10:21 -0700)] 
GEODE-4336: C++ Remote Query Example, add README.md (#328)

4 months agoGEODE-4336: Return 0 for object size, remove unnecessary objectSize and classId prope...
Blake Bender [Wed, 8 Aug 2018 17:57:21 +0000 (10:57 -0700)] 
GEODE-4336: Return 0 for object size, remove unnecessary objectSize and classId properties, rename customserializer pdxserializer

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
4 months agoGeode 4336 (#324)
Blake Bender [Mon, 6 Aug 2018 21:49:36 +0000 (14:49 -0700)] 
Geode 4336 (#324)

* Add C++ custom DataSerializable example

* Clean up toString methods and rename createDeserializable.

* Add DataSerializable example to install

* Rename C++ examples so they make a little more sense.

* Add PdxSerializable example for C# that uses custom PDX serialization
rather than reflection.

* Add C# version of OQL example

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
4 months agoFixed Spelling. (#323)
Jimmy Casey [Tue, 31 Jul 2018 16:06:54 +0000 (17:06 +0100)] 
Fixed Spelling. (#323)

* GEODE-5504: API docs, Update ThinClientDeltaTestFailing.cs to fix spellings. Co-authored-by: Jimmy Casey.

4 months agoGEODE-4359: Remove enable_shared_from_this (#320)
Blake Bender [Mon, 30 Jul 2018 21:31:52 +0000 (21:31 +0000)] 
GEODE-4359: Remove enable_shared_from_this (#320)

* Remove enable_shared_from_this from PdxSerializable by requiring std::shared_ptr at top API level

Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
4 months agoGEODE-5473 Docs page describing how to use the query api, update
Dave Barnes [Thu, 26 Jul 2018 23:29:34 +0000 (16:29 -0700)] 
GEODE-5473 Docs page describing how to use the query api, update

4 months agoUpdate cmake version to 3.12 for CLI projects (#322)
Blake Bender [Fri, 27 Jul 2018 15:40:02 +0000 (15:40 +0000)] 
Update cmake version to 3.12 for CLI projects (#322)

* cmake install switched to 'latest' (3.12)

Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
4 months agoGEODE-5473 Docs page describing how to use the query api, update
Dave Barnes [Thu, 26 Jul 2018 23:19:34 +0000 (16:19 -0700)] 
GEODE-5473 Docs page describing how to use the query api, update