Skip to content

Commit 35e0224

Browse files
Yakov GorelikYakov Gorelik
Yakov Gorelik
authored and
Yakov Gorelik
committedOct 11, 2019
Resolved issue CiscoDevNet#962
1 parent 26c68e0 commit 35e0224

File tree

20 files changed

+645
-4
lines changed

20 files changed

+645
-4
lines changed
 

‎CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 2019-09-15 version 0.8.4
1+
### 2019-10-15 version 0.8.4
22

33
#### New features and enhancements
44
* Expanded meta data in Python bundles by adding flags `has_must` and `has_when` ([#927](https://github.com/CiscoDevNet/ydk-gen/issues/927))
@@ -17,6 +17,7 @@
1717
* gNMISession fails to decode GetRequest response when returned values is empty string ([#943](https://github.com/CiscoDevNet/ydk-gen/issues/943))
1818
* No way to retrieve numeric value of enums in cpp generated code ([#944](https://github.com/CiscoDevNet/ydk-gen/issues/944))
1919
* XmlSubtreeCodec fails decode payload with augmented component ([#956](https://github.com/CiscoDevNet/ydk-gen/issues/956))
20+
* Debian package for C++ bundles getting installed to wrong location ([#962](https://github.com/CiscoDevNet/ydk-gen/issues/962))
2021

2122
#### Documentation improvements
2223
Added documentation for XmlSubtreeCodec and JsonSubtreeCodec.
+278
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
6CDB31BB23512F4C009BDA55 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6CDB31BA23512F4C009BDA55 /* main.cpp */; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXCopyFilesBuildPhase section */
14+
6CDB31B523512F4C009BDA55 /* CopyFiles */ = {
15+
isa = PBXCopyFilesBuildPhase;
16+
buildActionMask = 2147483647;
17+
dstPath = /usr/share/man/man1/;
18+
dstSubfolderSpec = 0;
19+
files = (
20+
);
21+
runOnlyForDeploymentPostprocessing = 1;
22+
};
23+
/* End PBXCopyFilesBuildPhase section */
24+
25+
/* Begin PBXFileReference section */
26+
6CDB31B723512F4C009BDA55 /* libydk */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = libydk; sourceTree = BUILT_PRODUCTS_DIR; };
27+
6CDB31BA23512F4C009BDA55 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; };
28+
/* End PBXFileReference section */
29+
30+
/* Begin PBXFrameworksBuildPhase section */
31+
6CDB31B423512F4C009BDA55 /* Frameworks */ = {
32+
isa = PBXFrameworksBuildPhase;
33+
buildActionMask = 2147483647;
34+
files = (
35+
);
36+
runOnlyForDeploymentPostprocessing = 0;
37+
};
38+
/* End PBXFrameworksBuildPhase section */
39+
40+
/* Begin PBXGroup section */
41+
6CDB31AE23512F4C009BDA55 = {
42+
isa = PBXGroup;
43+
children = (
44+
6CDB31B923512F4C009BDA55 /* libydk */,
45+
6CDB31B823512F4C009BDA55 /* Products */,
46+
);
47+
sourceTree = "<group>";
48+
};
49+
6CDB31B823512F4C009BDA55 /* Products */ = {
50+
isa = PBXGroup;
51+
children = (
52+
6CDB31B723512F4C009BDA55 /* libydk */,
53+
);
54+
name = Products;
55+
sourceTree = "<group>";
56+
};
57+
6CDB31B923512F4C009BDA55 /* libydk */ = {
58+
isa = PBXGroup;
59+
children = (
60+
6CDB31BA23512F4C009BDA55 /* main.cpp */,
61+
);
62+
path = libydk;
63+
sourceTree = "<group>";
64+
};
65+
/* End PBXGroup section */
66+
67+
/* Begin PBXNativeTarget section */
68+
6CDB31B623512F4C009BDA55 /* libydk */ = {
69+
isa = PBXNativeTarget;
70+
buildConfigurationList = 6CDB31BE23512F4C009BDA55 /* Build configuration list for PBXNativeTarget "libydk" */;
71+
buildPhases = (
72+
6CDB31B323512F4C009BDA55 /* Sources */,
73+
6CDB31B423512F4C009BDA55 /* Frameworks */,
74+
6CDB31B523512F4C009BDA55 /* CopyFiles */,
75+
);
76+
buildRules = (
77+
);
78+
dependencies = (
79+
);
80+
name = libydk;
81+
productName = libydk;
82+
productReference = 6CDB31B723512F4C009BDA55 /* libydk */;
83+
productType = "com.apple.product-type.tool";
84+
};
85+
/* End PBXNativeTarget section */
86+
87+
/* Begin PBXProject section */
88+
6CDB31AF23512F4C009BDA55 /* Project object */ = {
89+
isa = PBXProject;
90+
attributes = {
91+
LastUpgradeCheck = 1110;
92+
ORGANIZATIONNAME = "Yakov Gorelik";
93+
TargetAttributes = {
94+
6CDB31B623512F4C009BDA55 = {
95+
CreatedOnToolsVersion = 11.1;
96+
};
97+
};
98+
};
99+
buildConfigurationList = 6CDB31B223512F4C009BDA55 /* Build configuration list for PBXProject "libydk" */;
100+
compatibilityVersion = "Xcode 9.3";
101+
developmentRegion = en;
102+
hasScannedForEncodings = 0;
103+
knownRegions = (
104+
en,
105+
Base,
106+
);
107+
mainGroup = 6CDB31AE23512F4C009BDA55;
108+
productRefGroup = 6CDB31B823512F4C009BDA55 /* Products */;
109+
projectDirPath = "";
110+
projectRoot = "";
111+
targets = (
112+
6CDB31B623512F4C009BDA55 /* libydk */,
113+
);
114+
};
115+
/* End PBXProject section */
116+
117+
/* Begin PBXSourcesBuildPhase section */
118+
6CDB31B323512F4C009BDA55 /* Sources */ = {
119+
isa = PBXSourcesBuildPhase;
120+
buildActionMask = 2147483647;
121+
files = (
122+
6CDB31BB23512F4C009BDA55 /* main.cpp in Sources */,
123+
);
124+
runOnlyForDeploymentPostprocessing = 0;
125+
};
126+
/* End PBXSourcesBuildPhase section */
127+
128+
/* Begin XCBuildConfiguration section */
129+
6CDB31BC23512F4C009BDA55 /* Debug */ = {
130+
isa = XCBuildConfiguration;
131+
buildSettings = {
132+
ALWAYS_SEARCH_USER_PATHS = NO;
133+
CLANG_ANALYZER_NONNULL = YES;
134+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
135+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
136+
CLANG_CXX_LIBRARY = "libc++";
137+
CLANG_ENABLE_MODULES = YES;
138+
CLANG_ENABLE_OBJC_ARC = YES;
139+
CLANG_ENABLE_OBJC_WEAK = YES;
140+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
141+
CLANG_WARN_BOOL_CONVERSION = YES;
142+
CLANG_WARN_COMMA = YES;
143+
CLANG_WARN_CONSTANT_CONVERSION = YES;
144+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
145+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
146+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
147+
CLANG_WARN_EMPTY_BODY = YES;
148+
CLANG_WARN_ENUM_CONVERSION = YES;
149+
CLANG_WARN_INFINITE_RECURSION = YES;
150+
CLANG_WARN_INT_CONVERSION = YES;
151+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
152+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
153+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
154+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
155+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
156+
CLANG_WARN_STRICT_PROTOTYPES = YES;
157+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
158+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
159+
CLANG_WARN_UNREACHABLE_CODE = YES;
160+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
161+
COPY_PHASE_STRIP = NO;
162+
DEBUG_INFORMATION_FORMAT = dwarf;
163+
ENABLE_STRICT_OBJC_MSGSEND = YES;
164+
ENABLE_TESTABILITY = YES;
165+
GCC_C_LANGUAGE_STANDARD = gnu11;
166+
GCC_DYNAMIC_NO_PIC = NO;
167+
GCC_NO_COMMON_BLOCKS = YES;
168+
GCC_OPTIMIZATION_LEVEL = 0;
169+
GCC_PREPROCESSOR_DEFINITIONS = (
170+
"DEBUG=1",
171+
"$(inherited)",
172+
);
173+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
174+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
175+
GCC_WARN_UNDECLARED_SELECTOR = YES;
176+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
177+
GCC_WARN_UNUSED_FUNCTION = YES;
178+
GCC_WARN_UNUSED_VARIABLE = YES;
179+
MACOSX_DEPLOYMENT_TARGET = 10.14;
180+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
181+
MTL_FAST_MATH = YES;
182+
ONLY_ACTIVE_ARCH = YES;
183+
SDKROOT = macosx;
184+
};
185+
name = Debug;
186+
};
187+
6CDB31BD23512F4C009BDA55 /* Release */ = {
188+
isa = XCBuildConfiguration;
189+
buildSettings = {
190+
ALWAYS_SEARCH_USER_PATHS = NO;
191+
CLANG_ANALYZER_NONNULL = YES;
192+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
193+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
194+
CLANG_CXX_LIBRARY = "libc++";
195+
CLANG_ENABLE_MODULES = YES;
196+
CLANG_ENABLE_OBJC_ARC = YES;
197+
CLANG_ENABLE_OBJC_WEAK = YES;
198+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
199+
CLANG_WARN_BOOL_CONVERSION = YES;
200+
CLANG_WARN_COMMA = YES;
201+
CLANG_WARN_CONSTANT_CONVERSION = YES;
202+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
203+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
204+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
205+
CLANG_WARN_EMPTY_BODY = YES;
206+
CLANG_WARN_ENUM_CONVERSION = YES;
207+
CLANG_WARN_INFINITE_RECURSION = YES;
208+
CLANG_WARN_INT_CONVERSION = YES;
209+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
210+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
211+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
212+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
213+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
214+
CLANG_WARN_STRICT_PROTOTYPES = YES;
215+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
216+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
217+
CLANG_WARN_UNREACHABLE_CODE = YES;
218+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
219+
COPY_PHASE_STRIP = NO;
220+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
221+
ENABLE_NS_ASSERTIONS = NO;
222+
ENABLE_STRICT_OBJC_MSGSEND = YES;
223+
GCC_C_LANGUAGE_STANDARD = gnu11;
224+
GCC_NO_COMMON_BLOCKS = YES;
225+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
226+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
227+
GCC_WARN_UNDECLARED_SELECTOR = YES;
228+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
229+
GCC_WARN_UNUSED_FUNCTION = YES;
230+
GCC_WARN_UNUSED_VARIABLE = YES;
231+
MACOSX_DEPLOYMENT_TARGET = 10.14;
232+
MTL_ENABLE_DEBUG_INFO = NO;
233+
MTL_FAST_MATH = YES;
234+
SDKROOT = macosx;
235+
};
236+
name = Release;
237+
};
238+
6CDB31BF23512F4C009BDA55 /* Debug */ = {
239+
isa = XCBuildConfiguration;
240+
buildSettings = {
241+
CODE_SIGN_STYLE = Automatic;
242+
PRODUCT_NAME = "$(TARGET_NAME)";
243+
};
244+
name = Debug;
245+
};
246+
6CDB31C023512F4C009BDA55 /* Release */ = {
247+
isa = XCBuildConfiguration;
248+
buildSettings = {
249+
CODE_SIGN_STYLE = Automatic;
250+
PRODUCT_NAME = "$(TARGET_NAME)";
251+
};
252+
name = Release;
253+
};
254+
/* End XCBuildConfiguration section */
255+
256+
/* Begin XCConfigurationList section */
257+
6CDB31B223512F4C009BDA55 /* Build configuration list for PBXProject "libydk" */ = {
258+
isa = XCConfigurationList;
259+
buildConfigurations = (
260+
6CDB31BC23512F4C009BDA55 /* Debug */,
261+
6CDB31BD23512F4C009BDA55 /* Release */,
262+
);
263+
defaultConfigurationIsVisible = 0;
264+
defaultConfigurationName = Release;
265+
};
266+
6CDB31BE23512F4C009BDA55 /* Build configuration list for PBXNativeTarget "libydk" */ = {
267+
isa = XCConfigurationList;
268+
buildConfigurations = (
269+
6CDB31BF23512F4C009BDA55 /* Debug */,
270+
6CDB31C023512F4C009BDA55 /* Release */,
271+
);
272+
defaultConfigurationIsVisible = 0;
273+
defaultConfigurationName = Release;
274+
};
275+
/* End XCConfigurationList section */
276+
};
277+
rootObject = 6CDB31AF23512F4C009BDA55 /* Project object */;
278+
}

‎libydk/libydk.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>libydk.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>

‎libydk/libydk/main.cpp

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// main.cpp
3+
// libydk
4+
//
5+
// Created by Yakov Gorelik on 10/11/19.
6+
// Copyright © 2019 Yakov Gorelik. All rights reserved.
7+
//
8+
9+
#include <iostream>
10+
11+
int main(int argc, const char * argv[]) {
12+
// insert code here...
13+
std::cout << "Hello, World!\n";
14+
return 0;
15+
}

‎sdk/cpp/CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 2019-09-15 version 0.8.4
1+
### 2019-10-15 version 0.8.4
22

33
#### New features and enhancements
44
* Added utility function to compare two entities and build diff ([#925](https://github.com/CiscoDevNet/ydk-gen/issues/925))
@@ -14,6 +14,7 @@
1414
* gNMISession fails to decode GetRequest response when returned values is empty string ([#943](https://github.com/CiscoDevNet/ydk-gen/issues/943))
1515
* No way to retrieve numeric value of enums in cpp generated code ([#944](https://github.com/CiscoDevNet/ydk-gen/issues/944))
1616
* XmlSubtreeCodec fails decode payload with augmented component ([#956](https://github.com/CiscoDevNet/ydk-gen/issues/956))
17+
* Debian package for C++ bundles getting installed to wrong location ([#962](https://github.com/CiscoDevNet/ydk-gen/issues/962))
1718

1819
#### Documentation improvements
1920
* Added documentation for XmlSubtreeCodec and JsonSubtreeCodec.

‎sdk/go/CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 2019-08-15 version 0.8.4
1+
### 2019-10-15 version 0.8.4
22

33
#### New features and enhancements
44
* Added utility function to compare two entities and build diff ([#925](https://github.com/CiscoDevNet/ydk-gen/issues/925))

‎sdk/python/CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 2019-09-15 version 0.8.4
1+
### 2019-10-15 version 0.8.4
22

33
#### New features and enhancements
44
* Expanded meta data in Python bundles by adding flags `has_must` and `has_when` ([#927](https://github.com/CiscoDevNet/ydk-gen/issues/927))

‎ydk-gen.playground/Contents.swift

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<playground version='5.0' target-platform='ios'>
3+
<timeline fileName='timeline.xctimeline'/>
4+
</playground>

‎ydk-gen.playground/playground.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)