Merge lp:~zorba-coders/zorba/feature-gen_audit_props into lp:zorba
- feature-gen_audit_props
- Merge into trunk
Proposed by
Matthias Brantner
Status: | Merged |
---|---|
Approved by: | Matthias Brantner |
Approved revision: | 11340 |
Merged at revision: | 11340 |
Proposed branch: | lp:~zorba-coders/zorba/feature-gen_audit_props |
Merge into: | lp:zorba |
Diff against target: |
370 lines (+243/-34) 9 files modified
cmake_modules/ZorbaRuntimeGenerator.cmake (+33/-0) src/api/CMakeLists.txt (+24/-0) src/api/audit.xml (+30/-0) src/api/auditimpl.cpp (+2/-26) src/api/auditimpl.h (+2/-8) src/api/auditprops_cpp.xq (+74/-0) src/api/auditprops_h.xq (+55/-0) src/api/pregenerated/auditprops.cpp (+16/-0) src/api/pregenerated/auditprops.h (+7/-0) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/feature-gen_audit_props |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Brantner | Approve | ||
Till Westmann | Approve | ||
Review via email: mp+156994@code.launchpad.net |
Commit message
generate audit properties
Description of the change
To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : | # |
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue job feature-
All tests succeeded!
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : | # |
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1, Needs Information < 1, Resubmit < 1. Got: 2 Pending.
Revision history for this message
Till Westmann (tillw) : | # |
review:
Approve
Revision history for this message
Matthias Brantner (matthias-brantner) : | # |
review:
Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue job feature-
All tests succeeded!
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'cmake_modules/ZorbaRuntimeGenerator.cmake' | |||
2 | --- cmake_modules/ZorbaRuntimeGenerator.cmake 2013-03-04 16:17:30 +0000 | |||
3 | +++ cmake_modules/ZorbaRuntimeGenerator.cmake 2013-04-03 23:02:22 +0000 | |||
4 | @@ -127,3 +127,36 @@ | |||
5 | 127 | -D "test_only:BOOLEAN=TRUE" | 127 | -D "test_only:BOOLEAN=TRUE" |
6 | 128 | -P "${GEN_SCRIPT}") | 128 | -P "${GEN_SCRIPT}") |
7 | 129 | ENDMACRO(ZORBA_DIAGNOSTIC_GENERATOR) | 129 | ENDMACRO(ZORBA_DIAGNOSTIC_GENERATOR) |
8 | 130 | |||
9 | 131 | MACRO(ZORBA_AUDIT_GENERATOR GEN_QUERY EXTVARS EXTRA_DEPS OUTPUT) | ||
10 | 132 | # CMake is annoyingly limited when it comes to lists. There's no way | ||
11 | 133 | # (that I know of) to create a list where any item contains a | ||
12 | 134 | # semicolon. Since some of our arguments contain semicolons, we | ||
13 | 135 | # cannot create a variable to hold the arguments to CMake | ||
14 | 136 | # here. Therefore, we must duplicate them. It is important for | ||
15 | 137 | # testing purposes that the arguments to CMAKE_COMMAND in both | ||
16 | 138 | # ADD_CUSTOM_COMMAND() and ADD_TEST() here be the same, except for | ||
17 | 139 | # -Dtest_only. | ||
18 | 140 | STRING(REPLACE " " "_" TEST_NAME "${OUTPUT}") | ||
19 | 141 | ADD_CUSTOM_COMMAND(OUTPUT "${OUTPUT}" | ||
20 | 142 | COMMAND "${CMAKE_COMMAND}" | ||
21 | 143 | -D "source_dir=\"${CMAKE_SOURCE_DIR}\"" | ||
22 | 144 | -D "binary_dir=\"${CMAKE_BINARY_DIR}\"" | ||
23 | 145 | -D "ZORBA_EXE=\"${ZORBA_EXE}\"" | ||
24 | 146 | -D "query=\"${GEN_QUERY}\"" | ||
25 | 147 | -D "gen_file=\"${OUTPUT}\"" | ||
26 | 148 | -D "extvars:STRING=${EXTVARS}" | ||
27 | 149 | -P "${GEN_SCRIPT}" | ||
28 | 150 | MAIN_DEPENDENCY ${GEN_QUERY} | ||
29 | 151 | DEPENDS ${EXTRA_DEPS} | ||
30 | 152 | ${GEN_SCRIPT} ${CMAKE_SOURCE_DIR}/cmake_modules/ZorbaRuntimeGenerator.cmake) | ||
31 | 153 | ADD_TEST("RuntimeGeneratorTest-${TEST_NAME}" "${CMAKE_COMMAND}" | ||
32 | 154 | -D "source_dir=${CMAKE_SOURCE_DIR}" | ||
33 | 155 | -D "binary_dir=${CMAKE_BINARY_DIR}" | ||
34 | 156 | -D "ZORBA_EXE=${ZORBA_EXE}" | ||
35 | 157 | -D "query=${GEN_QUERY}" | ||
36 | 158 | -D "gen_file=${OUTPUT}" | ||
37 | 159 | -D "extvars:STRING=${EXTVARS}" | ||
38 | 160 | -D "test_only:BOOLEAN=TRUE" | ||
39 | 161 | -P "${GEN_SCRIPT}") | ||
40 | 162 | ENDMACRO(ZORBA_AUDIT_GENERATOR) | ||
41 | 130 | 163 | ||
42 | === modified file 'src/api/CMakeLists.txt' | |||
43 | --- src/api/CMakeLists.txt 2013-02-07 17:24:36 +0000 | |||
44 | +++ src/api/CMakeLists.txt 2013-04-03 23:02:22 +0000 | |||
45 | @@ -81,4 +81,28 @@ | |||
46 | 81 | ${CMAKE_CURRENT_BINARY_DIR}/api/version.cpp | 81 | ${CMAKE_CURRENT_BINARY_DIR}/api/version.cpp |
47 | 82 | ) | 82 | ) |
48 | 83 | 83 | ||
49 | 84 | SET(AUDIT_HEADER_GENERATOR "${CMAKE_SOURCE_DIR}/src/api/auditprops_h.xq") | ||
50 | 85 | SET(AUDIT_CPP_GENERATOR "${CMAKE_SOURCE_DIR}/src/api/auditprops_cpp.xq") | ||
51 | 86 | SET(AUDIT_HEADER "${CMAKE_BINARY_DIR}/src/api/auditprops.h") | ||
52 | 87 | SET(AUDIT_CPP "${CMAKE_BINARY_DIR}/src/api/auditprops.cpp") | ||
53 | 88 | SET(AUDIT_PROPS_SPEC "${CMAKE_SOURCE_DIR}/src/api/audit.xml") | ||
54 | 89 | |||
55 | 90 | ZORBA_AUDIT_GENERATOR( | ||
56 | 91 | ${AUDIT_CPP_GENERATOR} | ||
57 | 92 | "auditspecfile:=${AUDIT_PROPS_SPEC}" | ||
58 | 93 | ${AUDIT_PROPS_SPEC} | ||
59 | 94 | ${AUDIT_CPP}) | ||
60 | 95 | |||
61 | 96 | ZORBA_AUDIT_GENERATOR( | ||
62 | 97 | ${AUDIT_HEADER_GENERATOR} | ||
63 | 98 | "auditspecfile:=${AUDIT_PROPS_SPEC}" | ||
64 | 99 | ${AUDIT_PROPS_SPEC} | ||
65 | 100 | ${AUDIT_HEADER}) | ||
66 | 101 | |||
67 | 102 | SET_SOURCE_FILES_PROPERTIES("${CMAKE_SOURCE_DIR}/src/api/auditimpl.cpp" | ||
68 | 103 | PROPERTIES OBJECT_DEPENDS | ||
69 | 104 | "${CMAKE_BINARY_DIR}/src/api/auditprops.cpp;${CMAKE_BINARY_DIR}/src/api/auditprops.h") | ||
70 | 105 | SET_SOURCE_FILES_PROPERTIES("${CMAKE_SOURCE_DIR}/src/api/auditimpl.h" | ||
71 | 106 | PROPERTIES OBJECT_DEPENDS | ||
72 | 107 | "${CMAKE_BINARY_DIR}/src/api/auditprops.h") | ||
73 | 84 | # vim:set et sw=2 ts=2: | 108 | # vim:set et sw=2 ts=2: |
74 | 85 | 109 | ||
75 | === added file 'src/api/audit.xml' | |||
76 | --- src/api/audit.xml 1970-01-01 00:00:00 +0000 | |||
77 | +++ src/api/audit.xml 2013-04-03 23:02:22 +0000 | |||
78 | @@ -0,0 +1,30 @@ | |||
79 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
80 | 2 | <!-- | ||
81 | 3 | : Copyright 2013 The FLWOR Foundation. | ||
82 | 4 | : | ||
83 | 5 | : Licensed under the Apache License, Version 2.0 (the "License"); | ||
84 | 6 | : you may not use this file except in compliance with the License. | ||
85 | 7 | : You may obtain a copy of the License at | ||
86 | 8 | : | ||
87 | 9 | : http://www.apache.org/licenses/LICENSE-2.0 | ||
88 | 10 | : | ||
89 | 11 | : Unless required by applicable law or agreed to in writing, software | ||
90 | 12 | : distributed under the License is distributed on an "AS IS" BASIS, | ||
91 | 13 | : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
92 | 14 | : See the License for the specific language governing permissions and | ||
93 | 15 | : limitations under the License. | ||
94 | 16 | --> | ||
95 | 17 | |||
96 | 18 | <audit> | ||
97 | 19 | |||
98 | 20 | <group name="xquery"> | ||
99 | 21 | <group name="compilation"> | ||
100 | 22 | <property name="filename" type="string"/> | ||
101 | 23 | <property name="parse-duration" type="int"/> | ||
102 | 24 | <property name="translation-duration" type="int"/> | ||
103 | 25 | <property name="optimization-duration" type="int"/> | ||
104 | 26 | <property name="codegeneration-duration" type="int"/> | ||
105 | 27 | </group> | ||
106 | 28 | </group> | ||
107 | 29 | |||
108 | 30 | </audit> | ||
109 | 0 | 31 | ||
110 | === modified file 'src/api/auditimpl.cpp' | |||
111 | --- src/api/auditimpl.cpp 2013-02-07 17:24:36 +0000 | |||
112 | +++ src/api/auditimpl.cpp 2013-04-03 23:02:22 +0000 | |||
113 | @@ -30,10 +30,7 @@ | |||
114 | 30 | // PropertyGroupImpl | 30 | // PropertyGroupImpl |
115 | 31 | //************************************************************************ | 31 | //************************************************************************ |
116 | 32 | 32 | ||
117 | 33 | const char* XQUERY_COMPILATION_PATH[] = { "xquery", "compilation" }; | ||
118 | 34 | |||
119 | 35 | const PropertyGroupImpl EMPTY_OBJECT (0, NULL); | 33 | const PropertyGroupImpl EMPTY_OBJECT (0, NULL); |
120 | 36 | const PropertyGroupImpl XQUERY_COMPILATION(2, XQUERY_COMPILATION_PATH); | ||
121 | 37 | 34 | ||
122 | 38 | PropertyGroupImpl::PropertyGroupImpl(const size_t pathLength, const char** path) | 35 | PropertyGroupImpl::PropertyGroupImpl(const size_t pathLength, const char** path) |
123 | 39 | : m_pathLength(pathLength), m_path(path) { | 36 | : m_pathLength(pathLength), m_path(path) { |
124 | @@ -60,29 +57,6 @@ | |||
125 | 60 | 57 | ||
126 | 61 | const PropertyImpl INVALID(""); | 58 | const PropertyImpl INVALID(""); |
127 | 62 | 59 | ||
128 | 63 | const PropertyImpl XQUERY_COMPILATION_FILENAME( | ||
129 | 64 | XQUERY_COMPILATION, "filename", 0, Property::STRING); | ||
130 | 65 | |||
131 | 66 | const PropertyImpl XQUERY_COMPILATION_PARSE_DURATION( | ||
132 | 67 | XQUERY_COMPILATION, "parse-duration", 1, Property::INT); | ||
133 | 68 | |||
134 | 69 | const PropertyImpl XQUERY_COMPILATION_TRANSLATION_DURATION( | ||
135 | 70 | XQUERY_COMPILATION, "translation-duration", 2, Property::INT); | ||
136 | 71 | |||
137 | 72 | const PropertyImpl XQUERY_COMPILATION_OPTIMIZATION_DURATION( | ||
138 | 73 | XQUERY_COMPILATION, "optimization-duration", 3, Property::INT); | ||
139 | 74 | |||
140 | 75 | const PropertyImpl XQUERY_COMPILATION_CODEGENERATION_DURATION( | ||
141 | 76 | XQUERY_COMPILATION, "codegeneration-duration", 4, Property::INT); | ||
142 | 77 | |||
143 | 78 | const PropertyImpl* PROPERTIES[] = { | ||
144 | 79 | &XQUERY_COMPILATION_FILENAME, | ||
145 | 80 | &XQUERY_COMPILATION_PARSE_DURATION, | ||
146 | 81 | &XQUERY_COMPILATION_TRANSLATION_DURATION, | ||
147 | 82 | &XQUERY_COMPILATION_OPTIMIZATION_DURATION, | ||
148 | 83 | &XQUERY_COMPILATION_CODEGENERATION_DURATION | ||
149 | 84 | }; | ||
150 | 85 | |||
151 | 86 | PropertyImpl::PropertyImpl(const PropertyGroup& g, const char n[], long i, Type t) | 60 | PropertyImpl::PropertyImpl(const PropertyGroup& g, const char n[], long i, Type t) |
152 | 87 | : m_group(g), m_id(i), m_type(t) { | 61 | : m_group(g), m_id(i), m_type(t) { |
153 | 88 | String result; | 62 | String result; |
154 | @@ -120,6 +94,8 @@ | |||
155 | 120 | return m_type; | 94 | return m_type; |
156 | 121 | } | 95 | } |
157 | 122 | 96 | ||
158 | 97 | #include "api/auditprops.cpp" | ||
159 | 98 | |||
160 | 123 | //************************************************************************ | 99 | //************************************************************************ |
161 | 124 | // Observation | 100 | // Observation |
162 | 125 | //************************************************************************ | 101 | //************************************************************************ |
163 | 126 | 102 | ||
164 | === modified file 'src/api/auditimpl.h' | |||
165 | --- src/api/auditimpl.h 2013-02-07 17:24:36 +0000 | |||
166 | +++ src/api/auditimpl.h 2013-04-03 23:02:22 +0000 | |||
167 | @@ -43,8 +43,6 @@ | |||
168 | 43 | const char** m_path; | 43 | const char** m_path; |
169 | 44 | }; | 44 | }; |
170 | 45 | 45 | ||
171 | 46 | extern const PropertyGroupImpl XQUERY_COMPILATION; | ||
172 | 47 | |||
173 | 48 | class PropertyImpl : public Property { | 46 | class PropertyImpl : public Property { |
174 | 49 | public: | 47 | public: |
175 | 50 | 48 | ||
176 | @@ -74,12 +72,6 @@ | |||
177 | 74 | const Type m_type; | 72 | const Type m_type; |
178 | 75 | }; | 73 | }; |
179 | 76 | 74 | ||
180 | 77 | extern const PropertyImpl XQUERY_COMPILATION_FILENAME; | ||
181 | 78 | extern const PropertyImpl XQUERY_COMPILATION_PARSE_DURATION; | ||
182 | 79 | extern const PropertyImpl XQUERY_COMPILATION_TRANSLATION_DURATION; | ||
183 | 80 | extern const PropertyImpl XQUERY_COMPILATION_OPTIMIZATION_DURATION; | ||
184 | 81 | extern const PropertyImpl XQUERY_COMPILATION_CODEGENERATION_DURATION; | ||
185 | 82 | |||
186 | 83 | class ObservationImpl : public Observation { | 75 | class ObservationImpl : public Observation { |
187 | 84 | public: | 76 | public: |
188 | 85 | union Value { | 77 | union Value { |
189 | @@ -210,6 +202,8 @@ | |||
190 | 210 | }; | 202 | }; |
191 | 211 | 203 | ||
192 | 212 | extern ProviderImpl PROVIDER_IMPL; | 204 | extern ProviderImpl PROVIDER_IMPL; |
193 | 205 | |||
194 | 206 | #include "api/auditprops.h" | ||
195 | 213 | } | 207 | } |
196 | 214 | } | 208 | } |
197 | 215 | 209 | ||
198 | 216 | 210 | ||
199 | === added file 'src/api/auditprops_cpp.xq' | |||
200 | --- src/api/auditprops_cpp.xq 1970-01-01 00:00:00 +0000 | |||
201 | +++ src/api/auditprops_cpp.xq 2013-04-03 23:02:22 +0000 | |||
202 | @@ -0,0 +1,74 @@ | |||
203 | 1 | (: | ||
204 | 2 | : Copyright 2013 The FLWOR Foundation. | ||
205 | 3 | : | ||
206 | 4 | : Licensed under the Apache License, Version 2.0 (the "License"); | ||
207 | 5 | : you may not use this file except in compliance with the License. | ||
208 | 6 | : You may obtain a copy of the License at | ||
209 | 7 | : | ||
210 | 8 | : http://www.apache.org/licenses/LICENSE-2.0 | ||
211 | 9 | : | ||
212 | 10 | : Unless required by applicable law or agreed to in writing, software | ||
213 | 11 | : distributed under the License is distributed on an "AS IS" BASIS, | ||
214 | 12 | : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
215 | 13 | : See the License for the specific language governing permissions and | ||
216 | 14 | : limitations under the License. | ||
217 | 15 | :) | ||
218 | 16 | import module namespace file = "http://expath.org/ns/file"; | ||
219 | 17 | |||
220 | 18 | declare variable $auditspecfile as xs:string external; | ||
221 | 19 | |||
222 | 20 | declare function local:gen-group-spec($group as element()?) as xs:string* | ||
223 | 21 | { | ||
224 | 22 | if ($group) | ||
225 | 23 | then | ||
226 | 24 | ($group/@name, local:gen-group-spec($group/parent::group)) | ||
227 | 25 | else () | ||
228 | 26 | }; | ||
229 | 27 | |||
230 | 28 | declare function local:group-path($group-spec as xs:string*) as xs:string | ||
231 | 29 | { | ||
232 | 30 | let $name := string-join($group-spec ! upper-case(.), "_") | ||
233 | 31 | let $path := $name || "_PATH" | ||
234 | 32 | return | ||
235 | 33 | 'const char* ' | ||
236 | 34 | || $path || "[]" | ||
237 | 35 | || " = { " || string-join($group-spec ! concat('"', ., '"'), ", ") | ||
238 | 36 | || " }; " | ||
239 | 37 | || 'const PropertyGroupImpl ' || $name | ||
240 | 38 | || "(" || count($group-spec) || ", " || $path || "); " | ||
241 | 39 | }; | ||
242 | 40 | |||
243 | 41 | variable $counter := -1; | ||
244 | 42 | |||
245 | 43 | ( | ||
246 | 44 | let $spec := parse-xml(file:read-text($auditspecfile)) | ||
247 | 45 | return | ||
248 | 46 | string-join( | ||
249 | 47 | for $first-prop in $spec//group/property[1] | ||
250 | 48 | let $group-spec := reverse(local:gen-group-spec($first-prop/parent::group)) | ||
251 | 49 | return | ||
252 | 50 | local:group-path($group-spec) || | ||
253 | 51 | string-join( | ||
254 | 52 | for $prop in ($first-prop, $first-prop/following-sibling::property) | ||
255 | 53 | let $group := string-join($group-spec ! upper-case(.), "_") | ||
256 | 54 | return { | ||
257 | 55 | $counter := $counter + 1; | ||
258 | 56 | "const PropertyImpl " || $group || "_" || replace(upper-case($prop/@name), "-", "_") | ||
259 | 57 | || "(" || $group || ', "' || $prop/@name || '", ' || $counter | ||
260 | 58 | || ", Property::" || upper-case($prop/@type) || "); " | ||
261 | 59 | } | ||
262 | 60 | ) || " " | ||
263 | 61 | ) || " " || | ||
264 | 62 | "const PropertyImpl* PROPERTIES[] = { " || | ||
265 | 63 | string-join( | ||
266 | 64 | for $first-prop in $spec//group/property[1] | ||
267 | 65 | let $group-spec := reverse(local:gen-group-spec($first-prop/parent::group)) | ||
268 | 66 | return | ||
269 | 67 | string-join( | ||
270 | 68 | for $prop in ($first-prop, $first-prop/following-sibling::property) | ||
271 | 69 | return | ||
272 | 70 | (" &" || string-join($group-spec ! upper-case(.), "_") || "_" | ||
273 | 71 | || replace(upper-case($prop/@name), "-", "_")), ", " | ||
274 | 72 | ), ", " | ||
275 | 73 | ) || " }; " | ||
276 | 74 | ) | ||
277 | 0 | 75 | ||
278 | === added file 'src/api/auditprops_h.xq' | |||
279 | --- src/api/auditprops_h.xq 1970-01-01 00:00:00 +0000 | |||
280 | +++ src/api/auditprops_h.xq 2013-04-03 23:02:22 +0000 | |||
281 | @@ -0,0 +1,55 @@ | |||
282 | 1 | (: | ||
283 | 2 | : Copyright 2013 The FLWOR Foundation. | ||
284 | 3 | : | ||
285 | 4 | : Licensed under the Apache License, Version 2.0 (the "License"); | ||
286 | 5 | : you may not use this file except in compliance with the License. | ||
287 | 6 | : You may obtain a copy of the License at | ||
288 | 7 | : | ||
289 | 8 | : http://www.apache.org/licenses/LICENSE-2.0 | ||
290 | 9 | : | ||
291 | 10 | : Unless required by applicable law or agreed to in writing, software | ||
292 | 11 | : distributed under the License is distributed on an "AS IS" BASIS, | ||
293 | 12 | : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
294 | 13 | : See the License for the specific language governing permissions and | ||
295 | 14 | : limitations under the License. | ||
296 | 15 | :) | ||
297 | 16 | import module namespace file = "http://expath.org/ns/file"; | ||
298 | 17 | |||
299 | 18 | declare variable $auditspecfile as xs:string external; | ||
300 | 19 | |||
301 | 20 | declare function local:gen-group-spec($group as element()?) as xs:string* | ||
302 | 21 | { | ||
303 | 22 | if ($group) | ||
304 | 23 | then | ||
305 | 24 | ($group/@name, local:gen-group-spec($group/parent::group)) | ||
306 | 25 | else () | ||
307 | 26 | }; | ||
308 | 27 | |||
309 | 28 | |||
310 | 29 | declare function local:group($group-spec as xs:string*) as xs:string | ||
311 | 30 | { | ||
312 | 31 | 'extern const PropertyGroupImpl ' | ||
313 | 32 | || string-join($group-spec ! upper-case(.), "_") | ||
314 | 33 | || '; | ||
315 | 34 | ' | ||
316 | 35 | }; | ||
317 | 36 | |||
318 | 37 | string-join( | ||
319 | 38 | ( | ||
320 | 39 | let $spec := parse-xml(file:read-text($auditspecfile)) | ||
321 | 40 | for $first-prop in $spec//group/property[1] | ||
322 | 41 | let $group-spec := reverse(local:gen-group-spec($first-prop/parent::group)) | ||
323 | 42 | return | ||
324 | 43 | local:group($group-spec) || | ||
325 | 44 | string-join( | ||
326 | 45 | for $prop in ($first-prop, $first-prop/following-sibling::property) | ||
327 | 46 | return | ||
328 | 47 | 'extern const PropertyImpl ' | ||
329 | 48 | || string-join($group-spec ! upper-case(.), "_") | ||
330 | 49 | || '_' || replace(upper-case($prop/@name), "-", "_") | ||
331 | 50 | || ';' | ||
332 | 51 | , " | ||
333 | 52 | ") || ' | ||
334 | 53 | |||
335 | 54 | ')) | ||
336 | 55 | |||
337 | 0 | 56 | ||
338 | === added directory 'src/api/pregenerated' | |||
339 | === added file 'src/api/pregenerated/auditprops.cpp' | |||
340 | --- src/api/pregenerated/auditprops.cpp 1970-01-01 00:00:00 +0000 | |||
341 | +++ src/api/pregenerated/auditprops.cpp 2013-04-03 23:02:22 +0000 | |||
342 | @@ -0,0 +1,16 @@ | |||
343 | 1 | const char* XQUERY_COMPILATION_PATH[] = { "xquery", "compilation" }; | ||
344 | 2 | const PropertyGroupImpl XQUERY_COMPILATION(2, XQUERY_COMPILATION_PATH); | ||
345 | 3 | const PropertyImpl XQUERY_COMPILATION_FILENAME(XQUERY_COMPILATION, "filename", 0, Property::STRING); | ||
346 | 4 | const PropertyImpl XQUERY_COMPILATION_PARSE_DURATION(XQUERY_COMPILATION, "parse-duration", 1, Property::INT); | ||
347 | 5 | const PropertyImpl XQUERY_COMPILATION_TRANSLATION_DURATION(XQUERY_COMPILATION, "translation-duration", 2, Property::INT); | ||
348 | 6 | const PropertyImpl XQUERY_COMPILATION_OPTIMIZATION_DURATION(XQUERY_COMPILATION, "optimization-duration", 3, Property::INT); | ||
349 | 7 | const PropertyImpl XQUERY_COMPILATION_CODEGENERATION_DURATION(XQUERY_COMPILATION, "codegeneration-duration", 4, Property::INT); | ||
350 | 8 | |||
351 | 9 | |||
352 | 10 | const PropertyImpl* PROPERTIES[] = { | ||
353 | 11 | &XQUERY_COMPILATION_FILENAME, | ||
354 | 12 | &XQUERY_COMPILATION_PARSE_DURATION, | ||
355 | 13 | &XQUERY_COMPILATION_TRANSLATION_DURATION, | ||
356 | 14 | &XQUERY_COMPILATION_OPTIMIZATION_DURATION, | ||
357 | 15 | &XQUERY_COMPILATION_CODEGENERATION_DURATION | ||
358 | 16 | }; | ||
359 | 0 | 17 | ||
360 | === added file 'src/api/pregenerated/auditprops.h' | |||
361 | --- src/api/pregenerated/auditprops.h 1970-01-01 00:00:00 +0000 | |||
362 | +++ src/api/pregenerated/auditprops.h 2013-04-03 23:02:22 +0000 | |||
363 | @@ -0,0 +1,7 @@ | |||
364 | 1 | extern const PropertyGroupImpl XQUERY_COMPILATION; | ||
365 | 2 | extern const PropertyImpl XQUERY_COMPILATION_FILENAME; | ||
366 | 3 | extern const PropertyImpl XQUERY_COMPILATION_PARSE_DURATION; | ||
367 | 4 | extern const PropertyImpl XQUERY_COMPILATION_TRANSLATION_DURATION; | ||
368 | 5 | extern const PropertyImpl XQUERY_COMPILATION_OPTIMIZATION_DURATION; | ||
369 | 6 | extern const PropertyImpl XQUERY_COMPILATION_CODEGENERATION_DURATION; | ||
370 | 7 |
Validation queue starting for merge proposal. zorbatest. lambda. nu:8080/ remotequeue/ feature- gen_audit_ props-2013- 04-03T23- 11-43.877Z/ log.html
Log at: http://