Merge lp:~uriboni/qt-halide/copyright-headers into lp:qt-halide
- copyright-headers
- Merge into trunk
Proposed by
Ugo Riboni
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 311 |
Merged at revision: | 307 |
Proposed branch: | lp:~uriboni/qt-halide/copyright-headers |
Merge into: | lp:qt-halide |
Diff against target: |
1870 lines (+1177/-113) 73 files modified
examples/sampleapp/Editor.qml (+16/-0) examples/sampleapp/EffectPreview.qml (+16/-0) examples/sampleapp/EffectsGrid.qml (+16/-0) examples/sampleapp/FunctionAutoEnhance.qml (+16/-0) examples/sampleapp/FunctionBoxBlur.qml (+16/-0) examples/sampleapp/FunctionBrightness.qml (+16/-0) examples/sampleapp/FunctionCrop.qml (+16/-0) examples/sampleapp/FunctionRotation.qml (+16/-0) examples/sampleapp/FunctionSaturation.qml (+16/-0) examples/sampleapp/GenGen.cpp (+28/-0) examples/sampleapp/Overlay.qml (+16/-0) examples/sampleapp/OverlayMobile.qml (+16/-0) examples/sampleapp/ShapeButton.qml (+16/-0) examples/sampleapp/TransformPreview.qml (+16/-0) examples/sampleapp/TransformPreviewAutoEnhance.qml (+16/-0) examples/sampleapp/TransformPreviewBoxBlur.qml (+16/-0) examples/sampleapp/TransformPreviewBrightness.qml (+16/-0) examples/sampleapp/TransformPreviewCrop.qml (+16/-0) examples/sampleapp/TransformPreviewOneValue.qml (+16/-0) examples/sampleapp/TransformPreviewRect.qml (+16/-0) examples/sampleapp/TransformPreviewRotation.qml (+16/-0) examples/sampleapp/TransformPreviewSaturation.qml (+16/-0) examples/sampleapp/generator_auto_enhance.cpp (+16/-0) examples/sampleapp/generator_box_blur.cpp (+16/-0) examples/sampleapp/generator_brightness.cpp (+16/-0) examples/sampleapp/generator_crop.cpp (+16/-0) examples/sampleapp/generator_rotation.cpp (+16/-0) examples/sampleapp/generator_saturation.cpp (+16/-0) examples/sampleapp/sampleapp.cpp (+16/-0) examples/sampleapp/sampleapp.qml (+16/-0) src/QtHalide/GenGen.cpp (+0/-112) src/QtHalide/halide_common.h (+16/-0) src/QtHalide/halide_function.cpp (+16/-0) src/QtHalide/halide_function.h (+16/-0) src/QtHalide/halide_function_list_model.cpp (+16/-0) src/QtHalide/halide_function_list_model.h (+16/-0) src/QtHalide/halide_generators_common.h (+16/-0) src/QtHalide/halide_image.cpp (+16/-0) src/QtHalide/halide_image.h (+16/-0) src/QtHalide/halide_image_renderer.cpp (+16/-0) src/QtHalide/halide_image_renderer.h (+16/-0) src/QtHalide/halide_transform.cpp (+16/-0) src/QtHalide/halide_transform.h (+16/-0) src/QtHalide/halide_transform_cpu.cpp (+17/-1) src/QtHalide/halide_transform_cpu.h (+16/-0) src/QtHalide/halide_transform_opengl.cpp (+16/-0) src/QtHalide/halide_transform_opengl.h (+16/-0) src/QtHalide/halide_transform_worker.cpp (+16/-0) src/QtHalide/halide_transform_worker.h (+16/-0) src/QtHalide/qthalide_qml_plugin.cpp (+16/-0) src/QtHalide/qthalide_qml_plugin.h (+16/-0) tests/unit/ComparePixelsTestCase.qml (+16/-0) tests/unit/HalideTransformSignalSpy.qml (+16/-0) tests/unit/QtHalideTestHelper/GenGen.cpp (+28/-0) tests/unit/QtHalideTestHelper/generator_all_types.cpp (+16/-0) tests/unit/QtHalideTestHelper/generator_channel.cpp (+16/-0) tests/unit/QtHalideTestHelper/generator_first_pixel_from_input.cpp (+16/-0) tests/unit/QtHalideTestHelper/generator_render_rgb.cpp (+16/-0) tests/unit/QtHalideTestHelper/generator_unavailable_types.cpp (+16/-0) tests/unit/QtHalideTestHelper/plugin.cpp (+16/-0) tests/unit/QtHalideTestHelper/plugin.h (+16/-0) tests/unit/QtHalideTestHelper/test_helper.cpp (+16/-0) tests/unit/QtHalideTestHelper/test_helper.h (+16/-0) tests/unit/tst_function_list_model.qml (+16/-0) tests/unit/tst_function_missing_buffer_property.qml (+16/-0) tests/unit/tst_function_missing_property.qml (+16/-0) tests/unit/tst_function_multiple_buffer_input.qml (+16/-0) tests/unit/tst_function_no_buffer_input.qml (+16/-0) tests/unit/tst_function_property_types.qml (+16/-0) tests/unit/tst_image.qml (+16/-0) tests/unit/tst_image_renderer.qml (+16/-0) tests/unit/tst_transform.qml (+16/-0) tests/unit/tst_transform_save_to_file.qml (+16/-0) |
To merge this branch: | bzr merge lp:~uriboni/qt-halide/copyright-headers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | Needs Fixing | ||
Review via email: mp+255497@code.launchpad.net |
Commit message
Description of the change
Add copyright headers for all source
To post a comment you must log in.
Revision history for this message
Florian Boucault (fboucault) wrote : | # |
./QtHalide/
./QtHalide/
are missing license headers.
review:
Needs Fixing
Revision history for this message
Florian Boucault (fboucault) wrote : | # |
./QtHalide/
should have license header from Halide with an extra line Copyright Canonical (cause part of the code is original).
review:
Needs Fixing
- 308. By Ugo Riboni
-
Use LGPL as license for all files
- 309. By Ugo Riboni
-
Use original license for files copied from Halide, with additional Canonical copyright for the modifications
- 310. By Ugo Riboni
-
Add missing license on a file
- 311. By Ugo Riboni
-
Remove GenGen.cpp file from library dir as it is not used anymore since library does not contain generators
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'examples/sampleapp/Editor.qml' |
2 | --- examples/sampleapp/Editor.qml 2015-04-01 13:23:45 +0000 |
3 | +++ examples/sampleapp/Editor.qml 2015-04-08 15:54:31 +0000 |
4 | @@ -1,3 +1,19 @@ |
5 | +/* |
6 | + * Copyright (C) 2015 Canonical, Ltd. |
7 | + * |
8 | + * This program is free software; you can redistribute it and/or modify |
9 | + * it under the terms of the GNU Lesser General Public License as published by |
10 | + * the Free Software Foundation; version 3. |
11 | + * |
12 | + * This program is distributed in the hope that it will be useful, |
13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | + * GNU Lesser General Public License for more details. |
16 | + * |
17 | + * You should have received a copy of the GNU Lesser General Public License |
18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | + */ |
20 | + |
21 | import QtQuick 2.4 |
22 | import Ubuntu.Components 1.2 |
23 | import QtHalide 0.1 |
24 | |
25 | === modified file 'examples/sampleapp/EffectPreview.qml' |
26 | --- examples/sampleapp/EffectPreview.qml 2015-03-30 17:21:19 +0000 |
27 | +++ examples/sampleapp/EffectPreview.qml 2015-04-08 15:54:31 +0000 |
28 | @@ -1,3 +1,19 @@ |
29 | +/* |
30 | + * Copyright (C) 2015 Canonical, Ltd. |
31 | + * |
32 | + * This program is free software; you can redistribute it and/or modify |
33 | + * it under the terms of the GNU Lesser General Public License as published by |
34 | + * the Free Software Foundation; version 3. |
35 | + * |
36 | + * This program is distributed in the hope that it will be useful, |
37 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
38 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
39 | + * GNU Lesser General Public License for more details. |
40 | + * |
41 | + * You should have received a copy of the GNU Lesser General Public License |
42 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
43 | + */ |
44 | + |
45 | import QtQuick 2.4 |
46 | import Ubuntu.Components 1.2 |
47 | import QtHalide 0.1 |
48 | |
49 | === modified file 'examples/sampleapp/EffectsGrid.qml' |
50 | --- examples/sampleapp/EffectsGrid.qml 2015-04-01 13:23:45 +0000 |
51 | +++ examples/sampleapp/EffectsGrid.qml 2015-04-08 15:54:31 +0000 |
52 | @@ -1,3 +1,19 @@ |
53 | +/* |
54 | + * Copyright (C) 2015 Canonical, Ltd. |
55 | + * |
56 | + * This program is free software; you can redistribute it and/or modify |
57 | + * it under the terms of the GNU Lesser General Public License as published by |
58 | + * the Free Software Foundation; version 3. |
59 | + * |
60 | + * This program is distributed in the hope that it will be useful, |
61 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
62 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
63 | + * GNU Lesser General Public License for more details. |
64 | + * |
65 | + * You should have received a copy of the GNU Lesser General Public License |
66 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
67 | + */ |
68 | + |
69 | import QtQuick 2.4 |
70 | import Ubuntu.Components 1.2 |
71 | import QtHalide 0.1 |
72 | |
73 | === modified file 'examples/sampleapp/FunctionAutoEnhance.qml' |
74 | --- examples/sampleapp/FunctionAutoEnhance.qml 2015-03-30 17:21:19 +0000 |
75 | +++ examples/sampleapp/FunctionAutoEnhance.qml 2015-04-08 15:54:31 +0000 |
76 | @@ -1,3 +1,19 @@ |
77 | +/* |
78 | + * Copyright (C) 2015 Canonical, Ltd. |
79 | + * |
80 | + * This program is free software; you can redistribute it and/or modify |
81 | + * it under the terms of the GNU Lesser General Public License as published by |
82 | + * the Free Software Foundation; version 3. |
83 | + * |
84 | + * This program is distributed in the hope that it will be useful, |
85 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
86 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
87 | + * GNU Lesser General Public License for more details. |
88 | + * |
89 | + * You should have received a copy of the GNU Lesser General Public License |
90 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
91 | + */ |
92 | + |
93 | import QtHalide 0.1 |
94 | |
95 | HalideFunction { |
96 | |
97 | === modified file 'examples/sampleapp/FunctionBoxBlur.qml' |
98 | --- examples/sampleapp/FunctionBoxBlur.qml 2015-03-30 17:21:19 +0000 |
99 | +++ examples/sampleapp/FunctionBoxBlur.qml 2015-04-08 15:54:31 +0000 |
100 | @@ -1,3 +1,19 @@ |
101 | +/* |
102 | + * Copyright (C) 2015 Canonical, Ltd. |
103 | + * |
104 | + * This program is free software; you can redistribute it and/or modify |
105 | + * it under the terms of the GNU Lesser General Public License as published by |
106 | + * the Free Software Foundation; version 3. |
107 | + * |
108 | + * This program is distributed in the hope that it will be useful, |
109 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
110 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
111 | + * GNU Lesser General Public License for more details. |
112 | + * |
113 | + * You should have received a copy of the GNU Lesser General Public License |
114 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
115 | + */ |
116 | + |
117 | import QtHalide 0.1 |
118 | |
119 | HalideFunction { |
120 | |
121 | === modified file 'examples/sampleapp/FunctionBrightness.qml' |
122 | --- examples/sampleapp/FunctionBrightness.qml 2015-03-30 17:21:19 +0000 |
123 | +++ examples/sampleapp/FunctionBrightness.qml 2015-04-08 15:54:31 +0000 |
124 | @@ -1,3 +1,19 @@ |
125 | +/* |
126 | + * Copyright (C) 2015 Canonical, Ltd. |
127 | + * |
128 | + * This program is free software; you can redistribute it and/or modify |
129 | + * it under the terms of the GNU Lesser General Public License as published by |
130 | + * the Free Software Foundation; version 3. |
131 | + * |
132 | + * This program is distributed in the hope that it will be useful, |
133 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
134 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
135 | + * GNU Lesser General Public License for more details. |
136 | + * |
137 | + * You should have received a copy of the GNU Lesser General Public License |
138 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
139 | + */ |
140 | + |
141 | import QtHalide 0.1 |
142 | |
143 | HalideFunction { |
144 | |
145 | === modified file 'examples/sampleapp/FunctionCrop.qml' |
146 | --- examples/sampleapp/FunctionCrop.qml 2015-03-30 17:21:19 +0000 |
147 | +++ examples/sampleapp/FunctionCrop.qml 2015-04-08 15:54:31 +0000 |
148 | @@ -1,3 +1,19 @@ |
149 | +/* |
150 | + * Copyright (C) 2015 Canonical, Ltd. |
151 | + * |
152 | + * This program is free software; you can redistribute it and/or modify |
153 | + * it under the terms of the GNU Lesser General Public License as published by |
154 | + * the Free Software Foundation; version 3. |
155 | + * |
156 | + * This program is distributed in the hope that it will be useful, |
157 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
158 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
159 | + * GNU Lesser General Public License for more details. |
160 | + * |
161 | + * You should have received a copy of the GNU Lesser General Public License |
162 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
163 | + */ |
164 | + |
165 | import QtHalide 0.1 |
166 | |
167 | HalideFunction { |
168 | |
169 | === modified file 'examples/sampleapp/FunctionRotation.qml' |
170 | --- examples/sampleapp/FunctionRotation.qml 2015-03-30 17:21:19 +0000 |
171 | +++ examples/sampleapp/FunctionRotation.qml 2015-04-08 15:54:31 +0000 |
172 | @@ -1,3 +1,19 @@ |
173 | +/* |
174 | + * Copyright (C) 2015 Canonical, Ltd. |
175 | + * |
176 | + * This program is free software; you can redistribute it and/or modify |
177 | + * it under the terms of the GNU Lesser General Public License as published by |
178 | + * the Free Software Foundation; version 3. |
179 | + * |
180 | + * This program is distributed in the hope that it will be useful, |
181 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
182 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
183 | + * GNU Lesser General Public License for more details. |
184 | + * |
185 | + * You should have received a copy of the GNU Lesser General Public License |
186 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
187 | + */ |
188 | + |
189 | import QtHalide 0.1 |
190 | |
191 | HalideFunction { |
192 | |
193 | === modified file 'examples/sampleapp/FunctionSaturation.qml' |
194 | --- examples/sampleapp/FunctionSaturation.qml 2015-03-30 17:21:19 +0000 |
195 | +++ examples/sampleapp/FunctionSaturation.qml 2015-04-08 15:54:31 +0000 |
196 | @@ -1,3 +1,19 @@ |
197 | +/* |
198 | + * Copyright (C) 2015 Canonical, Ltd. |
199 | + * |
200 | + * This program is free software; you can redistribute it and/or modify |
201 | + * it under the terms of the GNU Lesser General Public License as published by |
202 | + * the Free Software Foundation; version 3. |
203 | + * |
204 | + * This program is distributed in the hope that it will be useful, |
205 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
206 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
207 | + * GNU Lesser General Public License for more details. |
208 | + * |
209 | + * You should have received a copy of the GNU Lesser General Public License |
210 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
211 | + */ |
212 | + |
213 | import QtHalide 0.1 |
214 | |
215 | HalideFunction { |
216 | |
217 | === modified file 'examples/sampleapp/GenGen.cpp' |
218 | --- examples/sampleapp/GenGen.cpp 2015-04-02 16:23:28 +0000 |
219 | +++ examples/sampleapp/GenGen.cpp 2015-04-08 15:54:31 +0000 |
220 | @@ -1,3 +1,31 @@ |
221 | +/* |
222 | + * Copyright (c) 2012-2014 MIT CSAIL, Google Inc., and other contributors |
223 | + * Copyright (c) 2015 Canonical |
224 | + * |
225 | + * Developed by: |
226 | + * |
227 | + * The Halide team |
228 | + * http://halide-lang.org |
229 | + * |
230 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
231 | + * of this software and associated documentation files (the "Software"), to deal |
232 | + * in the Software without restriction, including without limitation the rights |
233 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
234 | + * copies of the Software, and to permit persons to whom the Software is |
235 | + * furnished to do so, subject to the following conditions: |
236 | + * |
237 | + * The above copyright notice and this permission notice shall be included in |
238 | + * all copies or substantial portions of the Software. |
239 | + * |
240 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
241 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
242 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
243 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
244 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
245 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
246 | + * SOFTWARE. |
247 | + */ |
248 | + |
249 | #include <Halide.h> |
250 | |
251 | int custom_generate_filter_main(int argc, char **argv, std::ostream &cerr); |
252 | |
253 | === modified file 'examples/sampleapp/Overlay.qml' |
254 | --- examples/sampleapp/Overlay.qml 2015-04-01 11:19:56 +0000 |
255 | +++ examples/sampleapp/Overlay.qml 2015-04-08 15:54:31 +0000 |
256 | @@ -1,3 +1,19 @@ |
257 | +/* |
258 | + * Copyright (C) 2015 Canonical, Ltd. |
259 | + * |
260 | + * This program is free software; you can redistribute it and/or modify |
261 | + * it under the terms of the GNU Lesser General Public License as published by |
262 | + * the Free Software Foundation; version 3. |
263 | + * |
264 | + * This program is distributed in the hope that it will be useful, |
265 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
266 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
267 | + * GNU Lesser General Public License for more details. |
268 | + * |
269 | + * You should have received a copy of the GNU Lesser General Public License |
270 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
271 | + */ |
272 | + |
273 | import QtQuick 2.4 |
274 | import Ubuntu.Components 1.2 |
275 | import Ubuntu.Components.Popups 1.0 |
276 | |
277 | === modified file 'examples/sampleapp/OverlayMobile.qml' |
278 | --- examples/sampleapp/OverlayMobile.qml 2015-03-30 17:21:19 +0000 |
279 | +++ examples/sampleapp/OverlayMobile.qml 2015-04-08 15:54:31 +0000 |
280 | @@ -1,3 +1,19 @@ |
281 | +/* |
282 | + * Copyright (C) 2015 Canonical, Ltd. |
283 | + * |
284 | + * This program is free software; you can redistribute it and/or modify |
285 | + * it under the terms of the GNU Lesser General Public License as published by |
286 | + * the Free Software Foundation; version 3. |
287 | + * |
288 | + * This program is distributed in the hope that it will be useful, |
289 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
290 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
291 | + * GNU Lesser General Public License for more details. |
292 | + * |
293 | + * You should have received a copy of the GNU Lesser General Public License |
294 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
295 | + */ |
296 | + |
297 | import QtQuick 2.4 |
298 | import Ubuntu.Components 1.2 |
299 | import QtHalide 0.1 |
300 | |
301 | === modified file 'examples/sampleapp/ShapeButton.qml' |
302 | --- examples/sampleapp/ShapeButton.qml 2015-03-21 23:29:19 +0000 |
303 | +++ examples/sampleapp/ShapeButton.qml 2015-04-08 15:54:31 +0000 |
304 | @@ -1,3 +1,19 @@ |
305 | +/* |
306 | + * Copyright (C) 2015 Canonical, Ltd. |
307 | + * |
308 | + * This program is free software; you can redistribute it and/or modify |
309 | + * it under the terms of the GNU Lesser General Public License as published by |
310 | + * the Free Software Foundation; version 3. |
311 | + * |
312 | + * This program is distributed in the hope that it will be useful, |
313 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
314 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
315 | + * GNU Lesser General Public License for more details. |
316 | + * |
317 | + * You should have received a copy of the GNU Lesser General Public License |
318 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
319 | + */ |
320 | + |
321 | import QtQuick 2.4 |
322 | import Ubuntu.Components 1.2 |
323 | |
324 | |
325 | === modified file 'examples/sampleapp/TransformPreview.qml' |
326 | --- examples/sampleapp/TransformPreview.qml 2015-03-30 17:21:19 +0000 |
327 | +++ examples/sampleapp/TransformPreview.qml 2015-04-08 15:54:31 +0000 |
328 | @@ -1,3 +1,19 @@ |
329 | +/* |
330 | + * Copyright (C) 2015 Canonical, Ltd. |
331 | + * |
332 | + * This program is free software; you can redistribute it and/or modify |
333 | + * it under the terms of the GNU Lesser General Public License as published by |
334 | + * the Free Software Foundation; version 3. |
335 | + * |
336 | + * This program is distributed in the hope that it will be useful, |
337 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
338 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
339 | + * GNU Lesser General Public License for more details. |
340 | + * |
341 | + * You should have received a copy of the GNU Lesser General Public License |
342 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
343 | + */ |
344 | + |
345 | import QtQuick 2.4 |
346 | import QtHalide 0.1 |
347 | |
348 | |
349 | === modified file 'examples/sampleapp/TransformPreviewAutoEnhance.qml' |
350 | --- examples/sampleapp/TransformPreviewAutoEnhance.qml 2015-03-21 23:29:19 +0000 |
351 | +++ examples/sampleapp/TransformPreviewAutoEnhance.qml 2015-04-08 15:54:31 +0000 |
352 | @@ -1,3 +1,19 @@ |
353 | +/* |
354 | + * Copyright (C) 2015 Canonical, Ltd. |
355 | + * |
356 | + * This program is free software; you can redistribute it and/or modify |
357 | + * it under the terms of the GNU Lesser General Public License as published by |
358 | + * the Free Software Foundation; version 3. |
359 | + * |
360 | + * This program is distributed in the hope that it will be useful, |
361 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
362 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
363 | + * GNU Lesser General Public License for more details. |
364 | + * |
365 | + * You should have received a copy of the GNU Lesser General Public License |
366 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
367 | + */ |
368 | + |
369 | import QtQuick 2.4 |
370 | |
371 | TransformPreview { |
372 | |
373 | === modified file 'examples/sampleapp/TransformPreviewBoxBlur.qml' |
374 | --- examples/sampleapp/TransformPreviewBoxBlur.qml 2015-03-21 23:29:19 +0000 |
375 | +++ examples/sampleapp/TransformPreviewBoxBlur.qml 2015-04-08 15:54:31 +0000 |
376 | @@ -1,3 +1,19 @@ |
377 | +/* |
378 | + * Copyright (C) 2015 Canonical, Ltd. |
379 | + * |
380 | + * This program is free software; you can redistribute it and/or modify |
381 | + * it under the terms of the GNU Lesser General Public License as published by |
382 | + * the Free Software Foundation; version 3. |
383 | + * |
384 | + * This program is distributed in the hope that it will be useful, |
385 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
386 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
387 | + * GNU Lesser General Public License for more details. |
388 | + * |
389 | + * You should have received a copy of the GNU Lesser General Public License |
390 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
391 | + */ |
392 | + |
393 | import QtQuick 2.4 |
394 | |
395 | TransformPreviewOneValue { |
396 | |
397 | === modified file 'examples/sampleapp/TransformPreviewBrightness.qml' |
398 | --- examples/sampleapp/TransformPreviewBrightness.qml 2015-03-21 23:29:19 +0000 |
399 | +++ examples/sampleapp/TransformPreviewBrightness.qml 2015-04-08 15:54:31 +0000 |
400 | @@ -1,3 +1,19 @@ |
401 | +/* |
402 | + * Copyright (C) 2015 Canonical, Ltd. |
403 | + * |
404 | + * This program is free software; you can redistribute it and/or modify |
405 | + * it under the terms of the GNU Lesser General Public License as published by |
406 | + * the Free Software Foundation; version 3. |
407 | + * |
408 | + * This program is distributed in the hope that it will be useful, |
409 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
410 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
411 | + * GNU Lesser General Public License for more details. |
412 | + * |
413 | + * You should have received a copy of the GNU Lesser General Public License |
414 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
415 | + */ |
416 | + |
417 | import QtQuick 2.4 |
418 | |
419 | TransformPreviewOneValue { |
420 | |
421 | === modified file 'examples/sampleapp/TransformPreviewCrop.qml' |
422 | --- examples/sampleapp/TransformPreviewCrop.qml 2015-03-21 23:29:19 +0000 |
423 | +++ examples/sampleapp/TransformPreviewCrop.qml 2015-04-08 15:54:31 +0000 |
424 | @@ -1,3 +1,19 @@ |
425 | +/* |
426 | + * Copyright (C) 2015 Canonical, Ltd. |
427 | + * |
428 | + * This program is free software; you can redistribute it and/or modify |
429 | + * it under the terms of the GNU Lesser General Public License as published by |
430 | + * the Free Software Foundation; version 3. |
431 | + * |
432 | + * This program is distributed in the hope that it will be useful, |
433 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
434 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
435 | + * GNU Lesser General Public License for more details. |
436 | + * |
437 | + * You should have received a copy of the GNU Lesser General Public License |
438 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
439 | + */ |
440 | + |
441 | import QtQuick 2.4 |
442 | |
443 | TransformPreviewRect { |
444 | |
445 | === modified file 'examples/sampleapp/TransformPreviewOneValue.qml' |
446 | --- examples/sampleapp/TransformPreviewOneValue.qml 2015-03-21 23:29:19 +0000 |
447 | +++ examples/sampleapp/TransformPreviewOneValue.qml 2015-04-08 15:54:31 +0000 |
448 | @@ -1,3 +1,19 @@ |
449 | +/* |
450 | + * Copyright (C) 2015 Canonical, Ltd. |
451 | + * |
452 | + * This program is free software; you can redistribute it and/or modify |
453 | + * it under the terms of the GNU Lesser General Public License as published by |
454 | + * the Free Software Foundation; version 3. |
455 | + * |
456 | + * This program is distributed in the hope that it will be useful, |
457 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
458 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
459 | + * GNU Lesser General Public License for more details. |
460 | + * |
461 | + * You should have received a copy of the GNU Lesser General Public License |
462 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
463 | + */ |
464 | + |
465 | import QtQuick 2.4 |
466 | import Ubuntu.Components 1.2 |
467 | |
468 | |
469 | === modified file 'examples/sampleapp/TransformPreviewRect.qml' |
470 | --- examples/sampleapp/TransformPreviewRect.qml 2015-03-21 23:29:19 +0000 |
471 | +++ examples/sampleapp/TransformPreviewRect.qml 2015-04-08 15:54:31 +0000 |
472 | @@ -1,3 +1,19 @@ |
473 | +/* |
474 | + * Copyright (C) 2015 Canonical, Ltd. |
475 | + * |
476 | + * This program is free software; you can redistribute it and/or modify |
477 | + * it under the terms of the GNU Lesser General Public License as published by |
478 | + * the Free Software Foundation; version 3. |
479 | + * |
480 | + * This program is distributed in the hope that it will be useful, |
481 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
482 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
483 | + * GNU Lesser General Public License for more details. |
484 | + * |
485 | + * You should have received a copy of the GNU Lesser General Public License |
486 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
487 | + */ |
488 | + |
489 | import QtQuick 2.4 |
490 | import Ubuntu.Components 1.2 |
491 | |
492 | |
493 | === modified file 'examples/sampleapp/TransformPreviewRotation.qml' |
494 | --- examples/sampleapp/TransformPreviewRotation.qml 2015-03-21 23:29:19 +0000 |
495 | +++ examples/sampleapp/TransformPreviewRotation.qml 2015-04-08 15:54:31 +0000 |
496 | @@ -1,3 +1,19 @@ |
497 | +/* |
498 | + * Copyright (C) 2015 Canonical, Ltd. |
499 | + * |
500 | + * This program is free software; you can redistribute it and/or modify |
501 | + * it under the terms of the GNU Lesser General Public License as published by |
502 | + * the Free Software Foundation; version 3. |
503 | + * |
504 | + * This program is distributed in the hope that it will be useful, |
505 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
506 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
507 | + * GNU Lesser General Public License for more details. |
508 | + * |
509 | + * You should have received a copy of the GNU Lesser General Public License |
510 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
511 | + */ |
512 | + |
513 | import QtQuick 2.4 |
514 | |
515 | TransformPreviewOneValue { |
516 | |
517 | === modified file 'examples/sampleapp/TransformPreviewSaturation.qml' |
518 | --- examples/sampleapp/TransformPreviewSaturation.qml 2015-03-21 23:29:19 +0000 |
519 | +++ examples/sampleapp/TransformPreviewSaturation.qml 2015-04-08 15:54:31 +0000 |
520 | @@ -1,3 +1,19 @@ |
521 | +/* |
522 | + * Copyright (C) 2015 Canonical, Ltd. |
523 | + * |
524 | + * This program is free software; you can redistribute it and/or modify |
525 | + * it under the terms of the GNU Lesser General Public License as published by |
526 | + * the Free Software Foundation; version 3. |
527 | + * |
528 | + * This program is distributed in the hope that it will be useful, |
529 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
530 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
531 | + * GNU Lesser General Public License for more details. |
532 | + * |
533 | + * You should have received a copy of the GNU Lesser General Public License |
534 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
535 | + */ |
536 | + |
537 | import QtQuick 2.4 |
538 | |
539 | TransformPreviewOneValue { |
540 | |
541 | === modified file 'examples/sampleapp/generator_auto_enhance.cpp' |
542 | --- examples/sampleapp/generator_auto_enhance.cpp 2015-04-02 16:23:28 +0000 |
543 | +++ examples/sampleapp/generator_auto_enhance.cpp 2015-04-08 15:54:31 +0000 |
544 | @@ -1,3 +1,19 @@ |
545 | +/* |
546 | + * Copyright (C) 2015 Canonical, Ltd. |
547 | + * |
548 | + * This program is free software; you can redistribute it and/or modify |
549 | + * it under the terms of the GNU Lesser General Public License as published by |
550 | + * the Free Software Foundation; version 3. |
551 | + * |
552 | + * This program is distributed in the hope that it will be useful, |
553 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
554 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
555 | + * GNU Lesser General Public License for more details. |
556 | + * |
557 | + * You should have received a copy of the GNU Lesser General Public License |
558 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
559 | + */ |
560 | + |
561 | #include <Halide.h> |
562 | #include "halide_generators_common.h" |
563 | |
564 | |
565 | === modified file 'examples/sampleapp/generator_box_blur.cpp' |
566 | --- examples/sampleapp/generator_box_blur.cpp 2015-04-02 16:23:28 +0000 |
567 | +++ examples/sampleapp/generator_box_blur.cpp 2015-04-08 15:54:31 +0000 |
568 | @@ -1,3 +1,19 @@ |
569 | +/* |
570 | + * Copyright (C) 2015 Canonical, Ltd. |
571 | + * |
572 | + * This program is free software; you can redistribute it and/or modify |
573 | + * it under the terms of the GNU Lesser General Public License as published by |
574 | + * the Free Software Foundation; version 3. |
575 | + * |
576 | + * This program is distributed in the hope that it will be useful, |
577 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
578 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
579 | + * GNU Lesser General Public License for more details. |
580 | + * |
581 | + * You should have received a copy of the GNU Lesser General Public License |
582 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
583 | + */ |
584 | + |
585 | #include <Halide.h> |
586 | #include "halide_generators_common.h" |
587 | |
588 | |
589 | === modified file 'examples/sampleapp/generator_brightness.cpp' |
590 | --- examples/sampleapp/generator_brightness.cpp 2015-04-02 16:23:28 +0000 |
591 | +++ examples/sampleapp/generator_brightness.cpp 2015-04-08 15:54:31 +0000 |
592 | @@ -1,3 +1,19 @@ |
593 | +/* |
594 | + * Copyright (C) 2015 Canonical, Ltd. |
595 | + * |
596 | + * This program is free software; you can redistribute it and/or modify |
597 | + * it under the terms of the GNU Lesser General Public License as published by |
598 | + * the Free Software Foundation; version 3. |
599 | + * |
600 | + * This program is distributed in the hope that it will be useful, |
601 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
602 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
603 | + * GNU Lesser General Public License for more details. |
604 | + * |
605 | + * You should have received a copy of the GNU Lesser General Public License |
606 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
607 | + */ |
608 | + |
609 | #include <Halide.h> |
610 | #include "halide_generators_common.h" |
611 | |
612 | |
613 | === modified file 'examples/sampleapp/generator_crop.cpp' |
614 | --- examples/sampleapp/generator_crop.cpp 2015-04-02 16:23:28 +0000 |
615 | +++ examples/sampleapp/generator_crop.cpp 2015-04-08 15:54:31 +0000 |
616 | @@ -1,3 +1,19 @@ |
617 | +/* |
618 | + * Copyright (C) 2015 Canonical, Ltd. |
619 | + * |
620 | + * This program is free software; you can redistribute it and/or modify |
621 | + * it under the terms of the GNU Lesser General Public License as published by |
622 | + * the Free Software Foundation; version 3. |
623 | + * |
624 | + * This program is distributed in the hope that it will be useful, |
625 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
626 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
627 | + * GNU Lesser General Public License for more details. |
628 | + * |
629 | + * You should have received a copy of the GNU Lesser General Public License |
630 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
631 | + */ |
632 | + |
633 | #include <Halide.h> |
634 | #include "halide_generators_common.h" |
635 | #include <math.h> |
636 | |
637 | === modified file 'examples/sampleapp/generator_rotation.cpp' |
638 | --- examples/sampleapp/generator_rotation.cpp 2015-04-02 16:23:28 +0000 |
639 | +++ examples/sampleapp/generator_rotation.cpp 2015-04-08 15:54:31 +0000 |
640 | @@ -1,3 +1,19 @@ |
641 | +/* |
642 | + * Copyright (C) 2015 Canonical, Ltd. |
643 | + * |
644 | + * This program is free software; you can redistribute it and/or modify |
645 | + * it under the terms of the GNU Lesser General Public License as published by |
646 | + * the Free Software Foundation; version 3. |
647 | + * |
648 | + * This program is distributed in the hope that it will be useful, |
649 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
650 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
651 | + * GNU Lesser General Public License for more details. |
652 | + * |
653 | + * You should have received a copy of the GNU Lesser General Public License |
654 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
655 | + */ |
656 | + |
657 | #include <Halide.h> |
658 | #include "halide_generators_common.h" |
659 | |
660 | |
661 | === modified file 'examples/sampleapp/generator_saturation.cpp' |
662 | --- examples/sampleapp/generator_saturation.cpp 2015-04-02 16:23:28 +0000 |
663 | +++ examples/sampleapp/generator_saturation.cpp 2015-04-08 15:54:31 +0000 |
664 | @@ -1,3 +1,19 @@ |
665 | +/* |
666 | + * Copyright (C) 2015 Canonical, Ltd. |
667 | + * |
668 | + * This program is free software; you can redistribute it and/or modify |
669 | + * it under the terms of the GNU Lesser General Public License as published by |
670 | + * the Free Software Foundation; version 3. |
671 | + * |
672 | + * This program is distributed in the hope that it will be useful, |
673 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
674 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
675 | + * GNU Lesser General Public License for more details. |
676 | + * |
677 | + * You should have received a copy of the GNU Lesser General Public License |
678 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
679 | + */ |
680 | + |
681 | #include <Halide.h> |
682 | #include "halide_generators_common.h" |
683 | |
684 | |
685 | === modified file 'examples/sampleapp/sampleapp.cpp' |
686 | --- examples/sampleapp/sampleapp.cpp 2015-04-02 15:52:34 +0000 |
687 | +++ examples/sampleapp/sampleapp.cpp 2015-04-08 15:54:31 +0000 |
688 | @@ -1,3 +1,19 @@ |
689 | +/* |
690 | + * Copyright (C) 2015 Canonical, Ltd. |
691 | + * |
692 | + * This program is free software; you can redistribute it and/or modify |
693 | + * it under the terms of the GNU Lesser General Public License as published by |
694 | + * the Free Software Foundation; version 3. |
695 | + * |
696 | + * This program is distributed in the hope that it will be useful, |
697 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
698 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
699 | + * GNU Lesser General Public License for more details. |
700 | + * |
701 | + * You should have received a copy of the GNU Lesser General Public License |
702 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
703 | + */ |
704 | + |
705 | #include <QtGui/QGuiApplication> |
706 | #include <QtQml/QQmlEngine> |
707 | #include <QtQuick/QQuickView> |
708 | |
709 | === modified file 'examples/sampleapp/sampleapp.qml' |
710 | --- examples/sampleapp/sampleapp.qml 2015-04-02 14:30:37 +0000 |
711 | +++ examples/sampleapp/sampleapp.qml 2015-04-08 15:54:31 +0000 |
712 | @@ -1,3 +1,19 @@ |
713 | +/* |
714 | + * Copyright (C) 2015 Canonical, Ltd. |
715 | + * |
716 | + * This program is free software; you can redistribute it and/or modify |
717 | + * it under the terms of the GNU Lesser General Public License as published by |
718 | + * the Free Software Foundation; version 3. |
719 | + * |
720 | + * This program is distributed in the hope that it will be useful, |
721 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
722 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
723 | + * GNU Lesser General Public License for more details. |
724 | + * |
725 | + * You should have received a copy of the GNU Lesser General Public License |
726 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
727 | + */ |
728 | + |
729 | import QtQuick 2.4 |
730 | import Ubuntu.Components 1.2 |
731 | import QtHalide 0.1 |
732 | |
733 | === removed file 'src/QtHalide/GenGen.cpp' |
734 | --- src/QtHalide/GenGen.cpp 2015-03-24 20:24:47 +0000 |
735 | +++ src/QtHalide/GenGen.cpp 1970-01-01 00:00:00 +0000 |
736 | @@ -1,112 +0,0 @@ |
737 | -#include <Halide.h> |
738 | - |
739 | -int custom_generate_filter_main(int argc, char **argv, std::ostream &cerr); |
740 | - |
741 | -int main(int argc, char **argv) { |
742 | - return custom_generate_filter_main(argc, argv, std::cerr); |
743 | -} |
744 | - |
745 | -using namespace Halide::Internal; |
746 | - |
747 | -// Copied from Halide (src/Generator.cpp) and tweaked to add the -b parameter |
748 | -int custom_generate_filter_main(int argc, char **argv, std::ostream &cerr) { |
749 | - const char kUsage[] = "gengen [-g GENERATOR_NAME] [-f FUNCTION_NAME] [-b OUTPUT_FILE_NAME] [-o OUTPUT_DIR] [-e EMIT_OPTIONS] " |
750 | - "target=target-string [generator_arg=value [...]]\n\n" |
751 | - " -e A comma separated list of optional files to emit. Accepted values are " |
752 | - "[assembly, bitcode, stmt, html]\n"; |
753 | - |
754 | - std::map<std::string, std::string> flags_info = { { "-f", "" }, { "-b", "" }, { "-g", "" }, { "-o", "" }, { "-e", "" } }; |
755 | - std::map<std::string, std::string> generator_args; |
756 | - |
757 | - for (int i = 1; i < argc; ++i) { |
758 | - if (argv[i][0] != '-') { |
759 | - std::vector<std::string> v = split_string(argv[i], "="); |
760 | - if (v.size() != 2 || v[0].empty() || v[1].empty()) { |
761 | - cerr << kUsage; |
762 | - return 1; |
763 | - } |
764 | - generator_args[v[0]] = v[1]; |
765 | - continue; |
766 | - } |
767 | - auto it = flags_info.find(argv[i]); |
768 | - if (it != flags_info.end()) { |
769 | - if (i + 1 >= argc) { |
770 | - cerr << kUsage; |
771 | - return 1; |
772 | - } |
773 | - it->second = argv[i + 1]; |
774 | - ++i; |
775 | - continue; |
776 | - } |
777 | - cerr << "Unknown flag: " << argv[i] << "\n"; |
778 | - cerr << kUsage; |
779 | - return 1; |
780 | - } |
781 | - |
782 | - std::vector<std::string> generator_names = GeneratorRegistry::enumerate(); |
783 | - if (generator_names.size() == 0) { |
784 | - cerr << "No generators have been registered\n"; |
785 | - cerr << kUsage; |
786 | - return 1; |
787 | - } |
788 | - |
789 | - std::string generator_name = flags_info["-g"]; |
790 | - if (generator_name.empty()) { |
791 | - // If -g isn't specified, but there's only one generator registered, just use that one. |
792 | - if (generator_names.size() != 1) { |
793 | - cerr << "-g must be specified if multiple generators are registered:\n"; |
794 | - for (auto name : generator_names) { |
795 | - cerr << " " << name << "\n"; |
796 | - } |
797 | - cerr << kUsage; |
798 | - return 1; |
799 | - } |
800 | - generator_name = generator_names[0]; |
801 | - } |
802 | - std::string function_name = flags_info["-f"]; |
803 | - if (function_name.empty()) { |
804 | - // If -f isn't specified, assume function name = generator name. |
805 | - function_name = generator_name; |
806 | - } |
807 | - std::string output_file_name = flags_info["-b"]; |
808 | - if (output_file_name.empty()) { |
809 | - // If -b isn't specified, assume file name = function name. |
810 | - output_file_name = function_name; |
811 | - } |
812 | - std::string output_dir = flags_info["-o"]; |
813 | - if (output_dir.empty()) { |
814 | - cerr << "-o must always be specified.\n"; |
815 | - cerr << kUsage; |
816 | - return 1; |
817 | - } |
818 | - if (generator_args.find("target") == generator_args.end()) { |
819 | - cerr << "Target missing\n"; |
820 | - cerr << kUsage; |
821 | - return 1; |
822 | - } |
823 | - GeneratorBase::EmitOptions emit_options; |
824 | - std::vector<std::string> emit_flags = split_string(flags_info["-e"], ","); |
825 | - for (const std::string &opt : emit_flags) { |
826 | - if (opt == "assembly") { |
827 | - emit_options.emit_assembly = true; |
828 | - } else if (opt == "bitcode") { |
829 | - emit_options.emit_bitcode = true; |
830 | - } else if (opt == "stmt") { |
831 | - emit_options.emit_stmt = true; |
832 | - } else if (opt == "html") { |
833 | - emit_options.emit_stmt_html = true; |
834 | - } else if (!opt.empty()) { |
835 | - cerr << "Unrecognized emit option: " << opt |
836 | - << " not one of [assembly, bitcode, stmt, html], ignoring.\n"; |
837 | - } |
838 | - } |
839 | - |
840 | - std::unique_ptr<GeneratorBase> gen = GeneratorRegistry::create(generator_name, generator_args); |
841 | - if (gen == nullptr) { |
842 | - cerr << "Unknown generator: " << generator_name << "\n"; |
843 | - cerr << kUsage; |
844 | - return 1; |
845 | - } |
846 | - gen->emit_filter(output_dir, function_name, output_file_name, emit_options); |
847 | - return 0; |
848 | -} |
849 | |
850 | === modified file 'src/QtHalide/halide_common.h' |
851 | --- src/QtHalide/halide_common.h 2015-03-27 21:49:32 +0000 |
852 | +++ src/QtHalide/halide_common.h 2015-04-08 15:54:31 +0000 |
853 | @@ -1,3 +1,19 @@ |
854 | +/* |
855 | + * Copyright (C) 2015 Canonical, Ltd. |
856 | + * |
857 | + * This program is free software; you can redistribute it and/or modify |
858 | + * it under the terms of the GNU Lesser General Public License as published by |
859 | + * the Free Software Foundation; version 3. |
860 | + * |
861 | + * This program is distributed in the hope that it will be useful, |
862 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
863 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
864 | + * GNU Lesser General Public License for more details. |
865 | + * |
866 | + * You should have received a copy of the GNU Lesser General Public License |
867 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
868 | + */ |
869 | + |
870 | #ifndef HALIDE_COMMON_H |
871 | #define HALIDE_COMMON_H |
872 | |
873 | |
874 | === modified file 'src/QtHalide/halide_function.cpp' |
875 | --- src/QtHalide/halide_function.cpp 2015-04-02 11:21:00 +0000 |
876 | +++ src/QtHalide/halide_function.cpp 2015-04-08 15:54:31 +0000 |
877 | @@ -1,3 +1,19 @@ |
878 | +/* |
879 | + * Copyright 2015 Canonical Ltd. |
880 | + * |
881 | + * This program is free software; you can redistribute it and/or modify |
882 | + * it under the terms of the GNU Lesser General Public License as published by |
883 | + * the Free Software Foundation; version 3. |
884 | + * |
885 | + * This program is distributed in the hope that it will be useful, |
886 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
887 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
888 | + * GNU Lesser General Public License for more details. |
889 | + * |
890 | + * You should have received a copy of the GNU Lesser General Public License |
891 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
892 | + */ |
893 | + |
894 | #include <QtCore/QDebug> |
895 | #include <QtCore/QMetaObject> |
896 | #include <QtCore/QMetaProperty> |
897 | |
898 | === modified file 'src/QtHalide/halide_function.h' |
899 | --- src/QtHalide/halide_function.h 2015-04-02 11:21:00 +0000 |
900 | +++ src/QtHalide/halide_function.h 2015-04-08 15:54:31 +0000 |
901 | @@ -1,3 +1,19 @@ |
902 | +/* |
903 | + * Copyright (C) 2015 Canonical, Ltd. |
904 | + * |
905 | + * This program is free software; you can redistribute it and/or modify |
906 | + * it under the terms of the GNU Lesser General Public License as published by |
907 | + * the Free Software Foundation; version 3. |
908 | + * |
909 | + * This program is distributed in the hope that it will be useful, |
910 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
911 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
912 | + * GNU Lesser General Public License for more details. |
913 | + * |
914 | + * You should have received a copy of the GNU Lesser General Public License |
915 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
916 | + */ |
917 | + |
918 | // HALIDE_FUNCTION_H is already used by Halide itself |
919 | #ifndef QHALIDE_FUNCTION_H |
920 | #define QHALIDE_FUNCTION_H |
921 | |
922 | === modified file 'src/QtHalide/halide_function_list_model.cpp' |
923 | --- src/QtHalide/halide_function_list_model.cpp 2015-04-02 21:22:31 +0000 |
924 | +++ src/QtHalide/halide_function_list_model.cpp 2015-04-08 15:54:31 +0000 |
925 | @@ -1,3 +1,19 @@ |
926 | +/* |
927 | + * Copyright (C) 2015 Canonical, Ltd. |
928 | + * |
929 | + * This program is free software; you can redistribute it and/or modify |
930 | + * it under the terms of the GNU Lesser General Public License as published by |
931 | + * the Free Software Foundation; version 3. |
932 | + * |
933 | + * This program is distributed in the hope that it will be useful, |
934 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
935 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
936 | + * GNU Lesser General Public License for more details. |
937 | + * |
938 | + * You should have received a copy of the GNU Lesser General Public License |
939 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
940 | + */ |
941 | + |
942 | #include "halide_function_list_model.h" |
943 | |
944 | HalideFunctionListModel::HalideFunctionListModel(QObject* parent) : QAbstractListModel(parent) |
945 | |
946 | === modified file 'src/QtHalide/halide_function_list_model.h' |
947 | --- src/QtHalide/halide_function_list_model.h 2015-04-02 21:22:31 +0000 |
948 | +++ src/QtHalide/halide_function_list_model.h 2015-04-08 15:54:31 +0000 |
949 | @@ -1,3 +1,19 @@ |
950 | +/* |
951 | + * Copyright (C) 2015 Canonical, Ltd. |
952 | + * |
953 | + * This program is free software; you can redistribute it and/or modify |
954 | + * it under the terms of the GNU Lesser General Public License as published by |
955 | + * the Free Software Foundation; version 3. |
956 | + * |
957 | + * This program is distributed in the hope that it will be useful, |
958 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
959 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
960 | + * GNU Lesser General Public License for more details. |
961 | + * |
962 | + * You should have received a copy of the GNU Lesser General Public License |
963 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
964 | + */ |
965 | + |
966 | #ifndef HALIDEFUNCTIONLISTMODEL_H |
967 | #define HALIDEFUNCTIONLISTMODEL_H |
968 | |
969 | |
970 | === modified file 'src/QtHalide/halide_generators_common.h' |
971 | --- src/QtHalide/halide_generators_common.h 2015-03-24 23:20:58 +0000 |
972 | +++ src/QtHalide/halide_generators_common.h 2015-04-08 15:54:31 +0000 |
973 | @@ -1,3 +1,19 @@ |
974 | +/* |
975 | + * Copyright (C) 2015 Canonical, Ltd. |
976 | + * |
977 | + * This program is free software; you can redistribute it and/or modify |
978 | + * it under the terms of the GNU Lesser General Public License as published by |
979 | + * the Free Software Foundation; version 3. |
980 | + * |
981 | + * This program is distributed in the hope that it will be useful, |
982 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
983 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
984 | + * GNU Lesser General Public License for more details. |
985 | + * |
986 | + * You should have received a copy of the GNU Lesser General Public License |
987 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
988 | + */ |
989 | + |
990 | #ifndef HALIDE_GENERATORS_COMMON_H |
991 | #define HALIDE_GENERATORS_COMMON_H |
992 | |
993 | |
994 | === modified file 'src/QtHalide/halide_image.cpp' |
995 | --- src/QtHalide/halide_image.cpp 2015-04-01 13:52:32 +0000 |
996 | +++ src/QtHalide/halide_image.cpp 2015-04-08 15:54:31 +0000 |
997 | @@ -1,3 +1,19 @@ |
998 | +/* |
999 | + * Copyright (C) 2015 Canonical, Ltd. |
1000 | + * |
1001 | + * This program is free software; you can redistribute it and/or modify |
1002 | + * it under the terms of the GNU Lesser General Public License as published by |
1003 | + * the Free Software Foundation; version 3. |
1004 | + * |
1005 | + * This program is distributed in the hope that it will be useful, |
1006 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1007 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1008 | + * GNU Lesser General Public License for more details. |
1009 | + * |
1010 | + * You should have received a copy of the GNU Lesser General Public License |
1011 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1012 | + */ |
1013 | + |
1014 | #include "halide_image.h" |
1015 | #include "halide_common.h" |
1016 | #include <QtCore/QDebug> |
1017 | |
1018 | === modified file 'src/QtHalide/halide_image.h' |
1019 | --- src/QtHalide/halide_image.h 2015-04-02 11:21:00 +0000 |
1020 | +++ src/QtHalide/halide_image.h 2015-04-08 15:54:31 +0000 |
1021 | @@ -1,3 +1,19 @@ |
1022 | +/* |
1023 | + * Copyright (C) 2015 Canonical, Ltd. |
1024 | + * |
1025 | + * This program is free software; you can redistribute it and/or modify |
1026 | + * it under the terms of the GNU Lesser General Public License as published by |
1027 | + * the Free Software Foundation; version 3. |
1028 | + * |
1029 | + * This program is distributed in the hope that it will be useful, |
1030 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1031 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1032 | + * GNU Lesser General Public License for more details. |
1033 | + * |
1034 | + * You should have received a copy of the GNU Lesser General Public License |
1035 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1036 | + */ |
1037 | + |
1038 | #ifndef HALIDEIMAGE_H |
1039 | #define HALIDEIMAGE_H |
1040 | |
1041 | |
1042 | === modified file 'src/QtHalide/halide_image_renderer.cpp' |
1043 | --- src/QtHalide/halide_image_renderer.cpp 2015-04-01 13:09:21 +0000 |
1044 | +++ src/QtHalide/halide_image_renderer.cpp 2015-04-08 15:54:31 +0000 |
1045 | @@ -1,3 +1,19 @@ |
1046 | +/* |
1047 | + * Copyright (C) 2015 Canonical, Ltd. |
1048 | + * |
1049 | + * This program is free software; you can redistribute it and/or modify |
1050 | + * it under the terms of the GNU Lesser General Public License as published by |
1051 | + * the Free Software Foundation; version 3. |
1052 | + * |
1053 | + * This program is distributed in the hope that it will be useful, |
1054 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1055 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1056 | + * GNU Lesser General Public License for more details. |
1057 | + * |
1058 | + * You should have received a copy of the GNU Lesser General Public License |
1059 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1060 | + */ |
1061 | + |
1062 | #include "halide_image_renderer.h" |
1063 | #include <QtQuick/QQuickWindow> |
1064 | |
1065 | |
1066 | === modified file 'src/QtHalide/halide_image_renderer.h' |
1067 | --- src/QtHalide/halide_image_renderer.h 2015-04-02 11:21:00 +0000 |
1068 | +++ src/QtHalide/halide_image_renderer.h 2015-04-08 15:54:31 +0000 |
1069 | @@ -1,3 +1,19 @@ |
1070 | +/* |
1071 | + * Copyright (C) 2015 Canonical, Ltd. |
1072 | + * |
1073 | + * This program is free software; you can redistribute it and/or modify |
1074 | + * it under the terms of the GNU Lesser General Public License as published by |
1075 | + * the Free Software Foundation; version 3. |
1076 | + * |
1077 | + * This program is distributed in the hope that it will be useful, |
1078 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1079 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1080 | + * GNU Lesser General Public License for more details. |
1081 | + * |
1082 | + * You should have received a copy of the GNU Lesser General Public License |
1083 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1084 | + */ |
1085 | + |
1086 | #ifndef HALIDEIMAGERENDERER_H |
1087 | #define HALIDEIMAGERENDERER_H |
1088 | |
1089 | |
1090 | === modified file 'src/QtHalide/halide_transform.cpp' |
1091 | --- src/QtHalide/halide_transform.cpp 2015-04-02 10:45:28 +0000 |
1092 | +++ src/QtHalide/halide_transform.cpp 2015-04-08 15:54:31 +0000 |
1093 | @@ -1,3 +1,19 @@ |
1094 | +/* |
1095 | + * Copyright (C) 2015 Canonical, Ltd. |
1096 | + * |
1097 | + * This program is free software; you can redistribute it and/or modify |
1098 | + * it under the terms of the GNU Lesser General Public License as published by |
1099 | + * the Free Software Foundation; version 3. |
1100 | + * |
1101 | + * This program is distributed in the hope that it will be useful, |
1102 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1103 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1104 | + * GNU Lesser General Public License for more details. |
1105 | + * |
1106 | + * You should have received a copy of the GNU Lesser General Public License |
1107 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1108 | + */ |
1109 | + |
1110 | #include "halide_transform.h" |
1111 | #include "halide_function_list_model.h" |
1112 | #include "halide_image.h" |
1113 | |
1114 | === modified file 'src/QtHalide/halide_transform.h' |
1115 | --- src/QtHalide/halide_transform.h 2015-04-02 11:21:00 +0000 |
1116 | +++ src/QtHalide/halide_transform.h 2015-04-08 15:54:31 +0000 |
1117 | @@ -1,3 +1,19 @@ |
1118 | +/* |
1119 | + * Copyright (C) 2015 Canonical, Ltd. |
1120 | + * |
1121 | + * This program is free software; you can redistribute it and/or modify |
1122 | + * it under the terms of the GNU Lesser General Public License as published by |
1123 | + * the Free Software Foundation; version 3. |
1124 | + * |
1125 | + * This program is distributed in the hope that it will be useful, |
1126 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1127 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1128 | + * GNU Lesser General Public License for more details. |
1129 | + * |
1130 | + * You should have received a copy of the GNU Lesser General Public License |
1131 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1132 | + */ |
1133 | + |
1134 | #ifndef HALIDETRANSFORM_H |
1135 | #define HALIDETRANSFORM_H |
1136 | |
1137 | |
1138 | === modified file 'src/QtHalide/halide_transform_cpu.cpp' |
1139 | --- src/QtHalide/halide_transform_cpu.cpp 2015-04-01 14:30:04 +0000 |
1140 | +++ src/QtHalide/halide_transform_cpu.cpp 2015-04-08 15:54:31 +0000 |
1141 | @@ -1,4 +1,20 @@ |
1142 | -#include "halide_transform_cpu.h" |
1143 | +/* |
1144 | + * Copyright (C) 2015 Canonical, Ltd. |
1145 | + * |
1146 | + * This program is free software; you can redistribute it and/or modify |
1147 | + * it under the terms of the GNU Lesser General Public License as published by |
1148 | + * the Free Software Foundation; version 3. |
1149 | + * |
1150 | + * This program is distributed in the hope that it will be useful, |
1151 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1152 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1153 | + * GNU Lesser General Public License for more details. |
1154 | + * |
1155 | + * You should have received a copy of the GNU Lesser General Public License |
1156 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1157 | + */ |
1158 | + |
1159 | +#include "halide_transform_cpu.h" |
1160 | #include "halide_transform.h" |
1161 | #include "halide_common.h" |
1162 | |
1163 | |
1164 | === modified file 'src/QtHalide/halide_transform_cpu.h' |
1165 | --- src/QtHalide/halide_transform_cpu.h 2015-04-01 14:30:04 +0000 |
1166 | +++ src/QtHalide/halide_transform_cpu.h 2015-04-08 15:54:31 +0000 |
1167 | @@ -1,3 +1,19 @@ |
1168 | +/* |
1169 | + * Copyright (C) 2015 Canonical, Ltd. |
1170 | + * |
1171 | + * This program is free software; you can redistribute it and/or modify |
1172 | + * it under the terms of the GNU Lesser General Public License as published by |
1173 | + * the Free Software Foundation; version 3. |
1174 | + * |
1175 | + * This program is distributed in the hope that it will be useful, |
1176 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1177 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1178 | + * GNU Lesser General Public License for more details. |
1179 | + * |
1180 | + * You should have received a copy of the GNU Lesser General Public License |
1181 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1182 | + */ |
1183 | + |
1184 | #ifndef HALIDETRANSFORMCPU_H |
1185 | #define HALIDETRANSFORMCPU_H |
1186 | |
1187 | |
1188 | === modified file 'src/QtHalide/halide_transform_opengl.cpp' |
1189 | --- src/QtHalide/halide_transform_opengl.cpp 2015-04-01 14:30:04 +0000 |
1190 | +++ src/QtHalide/halide_transform_opengl.cpp 2015-04-08 15:54:31 +0000 |
1191 | @@ -1,3 +1,19 @@ |
1192 | +/* |
1193 | + * Copyright (C) 2015 Canonical, Ltd. |
1194 | + * |
1195 | + * This program is free software; you can redistribute it and/or modify |
1196 | + * it under the terms of the GNU Lesser General Public License as published by |
1197 | + * the Free Software Foundation; version 3. |
1198 | + * |
1199 | + * This program is distributed in the hope that it will be useful, |
1200 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1201 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1202 | + * GNU Lesser General Public License for more details. |
1203 | + * |
1204 | + * You should have received a copy of the GNU Lesser General Public License |
1205 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1206 | + */ |
1207 | + |
1208 | #include "halide_transform_opengl.h" |
1209 | #include "halide_transform.h" |
1210 | #include "halide_common.h" |
1211 | |
1212 | === modified file 'src/QtHalide/halide_transform_opengl.h' |
1213 | --- src/QtHalide/halide_transform_opengl.h 2015-04-02 11:21:00 +0000 |
1214 | +++ src/QtHalide/halide_transform_opengl.h 2015-04-08 15:54:31 +0000 |
1215 | @@ -1,3 +1,19 @@ |
1216 | +/* |
1217 | + * Copyright (C) 2015 Canonical, Ltd. |
1218 | + * |
1219 | + * This program is free software; you can redistribute it and/or modify |
1220 | + * it under the terms of the GNU Lesser General Public License as published by |
1221 | + * the Free Software Foundation; version 3. |
1222 | + * |
1223 | + * This program is distributed in the hope that it will be useful, |
1224 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1225 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1226 | + * GNU Lesser General Public License for more details. |
1227 | + * |
1228 | + * You should have received a copy of the GNU Lesser General Public License |
1229 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1230 | + */ |
1231 | + |
1232 | #ifndef HALIDETRANSFORMOPENGL_H |
1233 | #define HALIDETRANSFORMOPENGL_H |
1234 | |
1235 | |
1236 | === modified file 'src/QtHalide/halide_transform_worker.cpp' |
1237 | --- src/QtHalide/halide_transform_worker.cpp 2015-04-02 16:24:29 +0000 |
1238 | +++ src/QtHalide/halide_transform_worker.cpp 2015-04-08 15:54:31 +0000 |
1239 | @@ -1,3 +1,19 @@ |
1240 | +/* |
1241 | + * Copyright (C) 2015 Canonical, Ltd. |
1242 | + * |
1243 | + * This program is free software; you can redistribute it and/or modify |
1244 | + * it under the terms of the GNU Lesser General Public License as published by |
1245 | + * the Free Software Foundation; version 3. |
1246 | + * |
1247 | + * This program is distributed in the hope that it will be useful, |
1248 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1249 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1250 | + * GNU Lesser General Public License for more details. |
1251 | + * |
1252 | + * You should have received a copy of the GNU Lesser General Public License |
1253 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1254 | + */ |
1255 | + |
1256 | #include "halide_transform_worker.h" |
1257 | #include "halide_common.h" |
1258 | #include "halide_function.h" |
1259 | |
1260 | === modified file 'src/QtHalide/halide_transform_worker.h' |
1261 | --- src/QtHalide/halide_transform_worker.h 2015-04-02 16:24:29 +0000 |
1262 | +++ src/QtHalide/halide_transform_worker.h 2015-04-08 15:54:31 +0000 |
1263 | @@ -1,3 +1,19 @@ |
1264 | +/* |
1265 | + * Copyright (C) 2015 Canonical, Ltd. |
1266 | + * |
1267 | + * This program is free software; you can redistribute it and/or modify |
1268 | + * it under the terms of the GNU Lesser General Public License as published by |
1269 | + * the Free Software Foundation; version 3. |
1270 | + * |
1271 | + * This program is distributed in the hope that it will be useful, |
1272 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1273 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1274 | + * GNU Lesser General Public License for more details. |
1275 | + * |
1276 | + * You should have received a copy of the GNU Lesser General Public License |
1277 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1278 | + */ |
1279 | + |
1280 | #ifndef HALIDETRANSFORMWORKER_H |
1281 | #define HALIDETRANSFORMWORKER_H |
1282 | |
1283 | |
1284 | === modified file 'src/QtHalide/qthalide_qml_plugin.cpp' |
1285 | --- src/QtHalide/qthalide_qml_plugin.cpp 2015-04-02 14:41:45 +0000 |
1286 | +++ src/QtHalide/qthalide_qml_plugin.cpp 2015-04-08 15:54:31 +0000 |
1287 | @@ -1,3 +1,19 @@ |
1288 | +/* |
1289 | + * Copyright (C) 2015 Canonical, Ltd. |
1290 | + * |
1291 | + * This program is free software; you can redistribute it and/or modify |
1292 | + * it under the terms of the GNU Lesser General Public License as published by |
1293 | + * the Free Software Foundation; version 3. |
1294 | + * |
1295 | + * This program is distributed in the hope that it will be useful, |
1296 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1297 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1298 | + * GNU Lesser General Public License for more details. |
1299 | + * |
1300 | + * You should have received a copy of the GNU Lesser General Public License |
1301 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1302 | + */ |
1303 | + |
1304 | #include <QtQml> |
1305 | #include <QtQml/QQmlContext> |
1306 | #include "qthalide_qml_plugin.h" |
1307 | |
1308 | === modified file 'src/QtHalide/qthalide_qml_plugin.h' |
1309 | --- src/QtHalide/qthalide_qml_plugin.h 2015-04-02 14:41:45 +0000 |
1310 | +++ src/QtHalide/qthalide_qml_plugin.h 2015-04-08 15:54:31 +0000 |
1311 | @@ -1,3 +1,19 @@ |
1312 | +/* |
1313 | + * Copyright (C) 2015 Canonical, Ltd. |
1314 | + * |
1315 | + * This program is free software; you can redistribute it and/or modify |
1316 | + * it under the terms of the GNU Lesser General Public License as published by |
1317 | + * the Free Software Foundation; version 3. |
1318 | + * |
1319 | + * This program is distributed in the hope that it will be useful, |
1320 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1321 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1322 | + * GNU Lesser General Public License for more details. |
1323 | + * |
1324 | + * You should have received a copy of the GNU Lesser General Public License |
1325 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1326 | + */ |
1327 | + |
1328 | #ifndef QTHALIDEQMLPLUGIN_H |
1329 | #define QTHALIDEQMLPLUGIN_H |
1330 | |
1331 | |
1332 | === modified file 'tests/unit/ComparePixelsTestCase.qml' |
1333 | --- tests/unit/ComparePixelsTestCase.qml 2015-04-06 08:33:20 +0000 |
1334 | +++ tests/unit/ComparePixelsTestCase.qml 2015-04-08 15:54:31 +0000 |
1335 | @@ -1,3 +1,19 @@ |
1336 | +/* |
1337 | + * Copyright (C) 2015 Canonical, Ltd. |
1338 | + * |
1339 | + * This program is free software; you can redistribute it and/or modify |
1340 | + * it under the terms of the GNU Lesser General Public License as published by |
1341 | + * the Free Software Foundation; version 3. |
1342 | + * |
1343 | + * This program is distributed in the hope that it will be useful, |
1344 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1345 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1346 | + * GNU Lesser General Public License for more details. |
1347 | + * |
1348 | + * You should have received a copy of the GNU Lesser General Public License |
1349 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1350 | + */ |
1351 | + |
1352 | import QtQuick 2.0 |
1353 | import QtTest 1.0 |
1354 | |
1355 | |
1356 | === modified file 'tests/unit/HalideTransformSignalSpy.qml' |
1357 | --- tests/unit/HalideTransformSignalSpy.qml 2015-04-02 11:21:00 +0000 |
1358 | +++ tests/unit/HalideTransformSignalSpy.qml 2015-04-08 15:54:31 +0000 |
1359 | @@ -1,3 +1,19 @@ |
1360 | +/* |
1361 | + * Copyright (C) 2015 Canonical, Ltd. |
1362 | + * |
1363 | + * This program is free software; you can redistribute it and/or modify |
1364 | + * it under the terms of the GNU Lesser General Public License as published by |
1365 | + * the Free Software Foundation; version 3. |
1366 | + * |
1367 | + * This program is distributed in the hope that it will be useful, |
1368 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1369 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1370 | + * GNU Lesser General Public License for more details. |
1371 | + * |
1372 | + * You should have received a copy of the GNU Lesser General Public License |
1373 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1374 | + */ |
1375 | + |
1376 | import QtQuick 2.0 |
1377 | import QtTest 1.0 |
1378 | import QtHalide 0.1 |
1379 | |
1380 | === modified file 'tests/unit/QtHalideTestHelper/GenGen.cpp' |
1381 | --- tests/unit/QtHalideTestHelper/GenGen.cpp 2015-03-26 12:54:50 +0000 |
1382 | +++ tests/unit/QtHalideTestHelper/GenGen.cpp 2015-04-08 15:54:31 +0000 |
1383 | @@ -1,3 +1,31 @@ |
1384 | +/* |
1385 | + * Copyright (c) 2012-2014 MIT CSAIL, Google Inc., and other contributors |
1386 | + * Copyright (c) 2015 Canonical |
1387 | + * |
1388 | + * Developed by: |
1389 | + * |
1390 | + * The Halide team |
1391 | + * http://halide-lang.org |
1392 | + * |
1393 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
1394 | + * of this software and associated documentation files (the "Software"), to deal |
1395 | + * in the Software without restriction, including without limitation the rights |
1396 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
1397 | + * copies of the Software, and to permit persons to whom the Software is |
1398 | + * furnished to do so, subject to the following conditions: |
1399 | + * |
1400 | + * The above copyright notice and this permission notice shall be included in |
1401 | + * all copies or substantial portions of the Software. |
1402 | + * |
1403 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
1404 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
1405 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
1406 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
1407 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
1408 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
1409 | + * SOFTWARE. |
1410 | + */ |
1411 | + |
1412 | #include <Halide.h> |
1413 | |
1414 | int custom_generate_filter_main(int argc, char **argv, std::ostream &cerr); |
1415 | |
1416 | === modified file 'tests/unit/QtHalideTestHelper/generator_all_types.cpp' |
1417 | --- tests/unit/QtHalideTestHelper/generator_all_types.cpp 2015-04-01 19:42:56 +0000 |
1418 | +++ tests/unit/QtHalideTestHelper/generator_all_types.cpp 2015-04-08 15:54:31 +0000 |
1419 | @@ -1,3 +1,19 @@ |
1420 | +/* |
1421 | + * Copyright (C) 2015 Canonical, Ltd. |
1422 | + * |
1423 | + * This program is free software; you can redistribute it and/or modify |
1424 | + * it under the terms of the GNU Lesser General Public License as published by |
1425 | + * the Free Software Foundation; version 3. |
1426 | + * |
1427 | + * This program is distributed in the hope that it will be useful, |
1428 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1429 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1430 | + * GNU Lesser General Public License for more details. |
1431 | + * |
1432 | + * You should have received a copy of the GNU Lesser General Public License |
1433 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1434 | + */ |
1435 | + |
1436 | #include <Halide.h> |
1437 | #include "halide_generators_common.h" |
1438 | |
1439 | |
1440 | === modified file 'tests/unit/QtHalideTestHelper/generator_channel.cpp' |
1441 | --- tests/unit/QtHalideTestHelper/generator_channel.cpp 2015-03-30 08:51:01 +0000 |
1442 | +++ tests/unit/QtHalideTestHelper/generator_channel.cpp 2015-04-08 15:54:31 +0000 |
1443 | @@ -1,3 +1,19 @@ |
1444 | +/* |
1445 | + * Copyright (C) 2015 Canonical, Ltd. |
1446 | + * |
1447 | + * This program is free software; you can redistribute it and/or modify |
1448 | + * it under the terms of the GNU Lesser General Public License as published by |
1449 | + * the Free Software Foundation; version 3. |
1450 | + * |
1451 | + * This program is distributed in the hope that it will be useful, |
1452 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1453 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1454 | + * GNU Lesser General Public License for more details. |
1455 | + * |
1456 | + * You should have received a copy of the GNU Lesser General Public License |
1457 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1458 | + */ |
1459 | + |
1460 | #include <Halide.h> |
1461 | #include "halide_generators_common.h" |
1462 | |
1463 | |
1464 | === modified file 'tests/unit/QtHalideTestHelper/generator_first_pixel_from_input.cpp' |
1465 | --- tests/unit/QtHalideTestHelper/generator_first_pixel_from_input.cpp 2015-03-30 08:51:01 +0000 |
1466 | +++ tests/unit/QtHalideTestHelper/generator_first_pixel_from_input.cpp 2015-04-08 15:54:31 +0000 |
1467 | @@ -1,3 +1,19 @@ |
1468 | +/* |
1469 | + * Copyright (C) 2015 Canonical, Ltd. |
1470 | + * |
1471 | + * This program is free software; you can redistribute it and/or modify |
1472 | + * it under the terms of the GNU Lesser General Public License as published by |
1473 | + * the Free Software Foundation; version 3. |
1474 | + * |
1475 | + * This program is distributed in the hope that it will be useful, |
1476 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1477 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1478 | + * GNU Lesser General Public License for more details. |
1479 | + * |
1480 | + * You should have received a copy of the GNU Lesser General Public License |
1481 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1482 | + */ |
1483 | + |
1484 | #include <Halide.h> |
1485 | #include "halide_generators_common.h" |
1486 | |
1487 | |
1488 | === modified file 'tests/unit/QtHalideTestHelper/generator_render_rgb.cpp' |
1489 | --- tests/unit/QtHalideTestHelper/generator_render_rgb.cpp 2015-04-01 15:29:08 +0000 |
1490 | +++ tests/unit/QtHalideTestHelper/generator_render_rgb.cpp 2015-04-08 15:54:31 +0000 |
1491 | @@ -1,3 +1,19 @@ |
1492 | +/* |
1493 | + * Copyright (C) 2015 Canonical, Ltd. |
1494 | + * |
1495 | + * This program is free software; you can redistribute it and/or modify |
1496 | + * it under the terms of the GNU Lesser General Public License as published by |
1497 | + * the Free Software Foundation; version 3. |
1498 | + * |
1499 | + * This program is distributed in the hope that it will be useful, |
1500 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1501 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1502 | + * GNU Lesser General Public License for more details. |
1503 | + * |
1504 | + * You should have received a copy of the GNU Lesser General Public License |
1505 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1506 | + */ |
1507 | + |
1508 | #include <Halide.h> |
1509 | #include "halide_generators_common.h" |
1510 | |
1511 | |
1512 | === modified file 'tests/unit/QtHalideTestHelper/generator_unavailable_types.cpp' |
1513 | --- tests/unit/QtHalideTestHelper/generator_unavailable_types.cpp 2015-04-02 13:55:42 +0000 |
1514 | +++ tests/unit/QtHalideTestHelper/generator_unavailable_types.cpp 2015-04-08 15:54:31 +0000 |
1515 | @@ -1,3 +1,19 @@ |
1516 | +/* |
1517 | + * Copyright (C) 2015 Canonical, Ltd. |
1518 | + * |
1519 | + * This program is free software; you can redistribute it and/or modify |
1520 | + * it under the terms of the GNU Lesser General Public License as published by |
1521 | + * the Free Software Foundation; version 3. |
1522 | + * |
1523 | + * This program is distributed in the hope that it will be useful, |
1524 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1525 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1526 | + * GNU Lesser General Public License for more details. |
1527 | + * |
1528 | + * You should have received a copy of the GNU Lesser General Public License |
1529 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1530 | + */ |
1531 | + |
1532 | #include <Halide.h> |
1533 | #include "halide_generators_common.h" |
1534 | |
1535 | |
1536 | === modified file 'tests/unit/QtHalideTestHelper/plugin.cpp' |
1537 | --- tests/unit/QtHalideTestHelper/plugin.cpp 2015-03-31 17:54:11 +0000 |
1538 | +++ tests/unit/QtHalideTestHelper/plugin.cpp 2015-04-08 15:54:31 +0000 |
1539 | @@ -1,3 +1,19 @@ |
1540 | +/* |
1541 | + * Copyright (C) 2015 Canonical, Ltd. |
1542 | + * |
1543 | + * This program is free software; you can redistribute it and/or modify |
1544 | + * it under the terms of the GNU Lesser General Public License as published by |
1545 | + * the Free Software Foundation; version 3. |
1546 | + * |
1547 | + * This program is distributed in the hope that it will be useful, |
1548 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1549 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1550 | + * GNU Lesser General Public License for more details. |
1551 | + * |
1552 | + * You should have received a copy of the GNU Lesser General Public License |
1553 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1554 | + */ |
1555 | + |
1556 | #include <QtQml> |
1557 | #include <QtQml/QQmlContext> |
1558 | |
1559 | |
1560 | === modified file 'tests/unit/QtHalideTestHelper/plugin.h' |
1561 | --- tests/unit/QtHalideTestHelper/plugin.h 2015-03-31 17:54:11 +0000 |
1562 | +++ tests/unit/QtHalideTestHelper/plugin.h 2015-04-08 15:54:31 +0000 |
1563 | @@ -1,3 +1,19 @@ |
1564 | +/* |
1565 | + * Copyright (C) 2015 Canonical, Ltd. |
1566 | + * |
1567 | + * This program is free software; you can redistribute it and/or modify |
1568 | + * it under the terms of the GNU Lesser General Public License as published by |
1569 | + * the Free Software Foundation; version 3. |
1570 | + * |
1571 | + * This program is distributed in the hope that it will be useful, |
1572 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1573 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1574 | + * GNU Lesser General Public License for more details. |
1575 | + * |
1576 | + * You should have received a copy of the GNU Lesser General Public License |
1577 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1578 | + */ |
1579 | + |
1580 | #ifndef FILTER_TEST_HELPER_PLUGIN_H |
1581 | #define FILTER_TEST_HELPER_PLUGIN_H |
1582 | |
1583 | |
1584 | === modified file 'tests/unit/QtHalideTestHelper/test_helper.cpp' |
1585 | --- tests/unit/QtHalideTestHelper/test_helper.cpp 2015-03-26 12:54:50 +0000 |
1586 | +++ tests/unit/QtHalideTestHelper/test_helper.cpp 2015-04-08 15:54:31 +0000 |
1587 | @@ -1,3 +1,19 @@ |
1588 | +/* |
1589 | + * Copyright (C) 2015 Canonical, Ltd. |
1590 | + * |
1591 | + * This program is free software; you can redistribute it and/or modify |
1592 | + * it under the terms of the GNU Lesser General Public License as published by |
1593 | + * the Free Software Foundation; version 3. |
1594 | + * |
1595 | + * This program is distributed in the hope that it will be useful, |
1596 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1597 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1598 | + * GNU Lesser General Public License for more details. |
1599 | + * |
1600 | + * You should have received a copy of the GNU Lesser General Public License |
1601 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1602 | + */ |
1603 | + |
1604 | #include "test_helper.h" |
1605 | |
1606 | #include <QtCore/QStandardPaths> |
1607 | |
1608 | === modified file 'tests/unit/QtHalideTestHelper/test_helper.h' |
1609 | --- tests/unit/QtHalideTestHelper/test_helper.h 2015-03-26 12:54:50 +0000 |
1610 | +++ tests/unit/QtHalideTestHelper/test_helper.h 2015-04-08 15:54:31 +0000 |
1611 | @@ -1,3 +1,19 @@ |
1612 | +/* |
1613 | + * Copyright (C) 2015 Canonical, Ltd. |
1614 | + * |
1615 | + * This program is free software; you can redistribute it and/or modify |
1616 | + * it under the terms of the GNU Lesser General Public License as published by |
1617 | + * the Free Software Foundation; version 3. |
1618 | + * |
1619 | + * This program is distributed in the hope that it will be useful, |
1620 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1621 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1622 | + * GNU Lesser General Public License for more details. |
1623 | + * |
1624 | + * You should have received a copy of the GNU Lesser General Public License |
1625 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1626 | + */ |
1627 | + |
1628 | #ifndef TEST_HELPER_H |
1629 | #define TEST_HELPER_H |
1630 | |
1631 | |
1632 | === modified file 'tests/unit/tst_function_list_model.qml' |
1633 | --- tests/unit/tst_function_list_model.qml 2015-04-06 09:38:57 +0000 |
1634 | +++ tests/unit/tst_function_list_model.qml 2015-04-08 15:54:31 +0000 |
1635 | @@ -1,3 +1,19 @@ |
1636 | +/* |
1637 | + * Copyright (C) 2015 Canonical, Ltd. |
1638 | + * |
1639 | + * This program is free software; you can redistribute it and/or modify |
1640 | + * it under the terms of the GNU Lesser General Public License as published by |
1641 | + * the Free Software Foundation; version 3. |
1642 | + * |
1643 | + * This program is distributed in the hope that it will be useful, |
1644 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1645 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1646 | + * GNU Lesser General Public License for more details. |
1647 | + * |
1648 | + * You should have received a copy of the GNU Lesser General Public License |
1649 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1650 | + */ |
1651 | + |
1652 | import QtQuick 2.0 |
1653 | import QtTest 1.0 |
1654 | import QtHalide 0.1 |
1655 | |
1656 | === modified file 'tests/unit/tst_function_missing_buffer_property.qml' |
1657 | --- tests/unit/tst_function_missing_buffer_property.qml 2015-04-02 17:55:04 +0000 |
1658 | +++ tests/unit/tst_function_missing_buffer_property.qml 2015-04-08 15:54:31 +0000 |
1659 | @@ -1,3 +1,19 @@ |
1660 | +/* |
1661 | + * Copyright (C) 2015 Canonical, Ltd. |
1662 | + * |
1663 | + * This program is free software; you can redistribute it and/or modify |
1664 | + * it under the terms of the GNU Lesser General Public License as published by |
1665 | + * the Free Software Foundation; version 3. |
1666 | + * |
1667 | + * This program is distributed in the hope that it will be useful, |
1668 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1669 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1670 | + * GNU Lesser General Public License for more details. |
1671 | + * |
1672 | + * You should have received a copy of the GNU Lesser General Public License |
1673 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1674 | + */ |
1675 | + |
1676 | import QtQuick 2.0 |
1677 | import QtTest 1.0 |
1678 | import QtHalide 0.1 |
1679 | |
1680 | === modified file 'tests/unit/tst_function_missing_property.qml' |
1681 | --- tests/unit/tst_function_missing_property.qml 2015-04-01 20:37:04 +0000 |
1682 | +++ tests/unit/tst_function_missing_property.qml 2015-04-08 15:54:31 +0000 |
1683 | @@ -1,3 +1,19 @@ |
1684 | +/* |
1685 | + * Copyright (C) 2015 Canonical, Ltd. |
1686 | + * |
1687 | + * This program is free software; you can redistribute it and/or modify |
1688 | + * it under the terms of the GNU Lesser General Public License as published by |
1689 | + * the Free Software Foundation; version 3. |
1690 | + * |
1691 | + * This program is distributed in the hope that it will be useful, |
1692 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1693 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1694 | + * GNU Lesser General Public License for more details. |
1695 | + * |
1696 | + * You should have received a copy of the GNU Lesser General Public License |
1697 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1698 | + */ |
1699 | + |
1700 | import QtQuick 2.0 |
1701 | import QtTest 1.0 |
1702 | import QtHalide 0.1 |
1703 | |
1704 | === modified file 'tests/unit/tst_function_multiple_buffer_input.qml' |
1705 | --- tests/unit/tst_function_multiple_buffer_input.qml 2015-04-06 08:33:20 +0000 |
1706 | +++ tests/unit/tst_function_multiple_buffer_input.qml 2015-04-08 15:54:31 +0000 |
1707 | @@ -1,3 +1,19 @@ |
1708 | +/* |
1709 | + * Copyright (C) 2015 Canonical, Ltd. |
1710 | + * |
1711 | + * This program is free software; you can redistribute it and/or modify |
1712 | + * it under the terms of the GNU Lesser General Public License as published by |
1713 | + * the Free Software Foundation; version 3. |
1714 | + * |
1715 | + * This program is distributed in the hope that it will be useful, |
1716 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1717 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1718 | + * GNU Lesser General Public License for more details. |
1719 | + * |
1720 | + * You should have received a copy of the GNU Lesser General Public License |
1721 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1722 | + */ |
1723 | + |
1724 | import QtQuick 2.0 |
1725 | import QtTest 1.0 |
1726 | import QtHalide 0.1 |
1727 | |
1728 | === modified file 'tests/unit/tst_function_no_buffer_input.qml' |
1729 | --- tests/unit/tst_function_no_buffer_input.qml 2015-04-01 15:29:08 +0000 |
1730 | +++ tests/unit/tst_function_no_buffer_input.qml 2015-04-08 15:54:31 +0000 |
1731 | @@ -1,3 +1,19 @@ |
1732 | +/* |
1733 | + * Copyright (C) 2015 Canonical, Ltd. |
1734 | + * |
1735 | + * This program is free software; you can redistribute it and/or modify |
1736 | + * it under the terms of the GNU Lesser General Public License as published by |
1737 | + * the Free Software Foundation; version 3. |
1738 | + * |
1739 | + * This program is distributed in the hope that it will be useful, |
1740 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1741 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1742 | + * GNU Lesser General Public License for more details. |
1743 | + * |
1744 | + * You should have received a copy of the GNU Lesser General Public License |
1745 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1746 | + */ |
1747 | + |
1748 | import QtQuick 2.0 |
1749 | import QtTest 1.0 |
1750 | import QtHalide 0.1 |
1751 | |
1752 | === modified file 'tests/unit/tst_function_property_types.qml' |
1753 | --- tests/unit/tst_function_property_types.qml 2015-04-02 17:39:30 +0000 |
1754 | +++ tests/unit/tst_function_property_types.qml 2015-04-08 15:54:31 +0000 |
1755 | @@ -1,3 +1,19 @@ |
1756 | +/* |
1757 | + * Copyright (C) 2015 Canonical, Ltd. |
1758 | + * |
1759 | + * This program is free software; you can redistribute it and/or modify |
1760 | + * it under the terms of the GNU Lesser General Public License as published by |
1761 | + * the Free Software Foundation; version 3. |
1762 | + * |
1763 | + * This program is distributed in the hope that it will be useful, |
1764 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1765 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1766 | + * GNU Lesser General Public License for more details. |
1767 | + * |
1768 | + * You should have received a copy of the GNU Lesser General Public License |
1769 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1770 | + */ |
1771 | + |
1772 | import QtQuick 2.0 |
1773 | import QtTest 1.0 |
1774 | import QtHalide 0.1 |
1775 | |
1776 | === modified file 'tests/unit/tst_image.qml' |
1777 | --- tests/unit/tst_image.qml 2015-04-01 11:21:27 +0000 |
1778 | +++ tests/unit/tst_image.qml 2015-04-08 15:54:31 +0000 |
1779 | @@ -1,3 +1,19 @@ |
1780 | +/* |
1781 | + * Copyright (C) 2015 Canonical, Ltd. |
1782 | + * |
1783 | + * This program is free software; you can redistribute it and/or modify |
1784 | + * it under the terms of the GNU Lesser General Public License as published by |
1785 | + * the Free Software Foundation; version 3. |
1786 | + * |
1787 | + * This program is distributed in the hope that it will be useful, |
1788 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1789 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1790 | + * GNU Lesser General Public License for more details. |
1791 | + * |
1792 | + * You should have received a copy of the GNU Lesser General Public License |
1793 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1794 | + */ |
1795 | + |
1796 | import QtQuick 2.0 |
1797 | import QtTest 1.0 |
1798 | import QtHalide 0.1 |
1799 | |
1800 | === modified file 'tests/unit/tst_image_renderer.qml' |
1801 | --- tests/unit/tst_image_renderer.qml 2015-04-02 21:20:39 +0000 |
1802 | +++ tests/unit/tst_image_renderer.qml 2015-04-08 15:54:31 +0000 |
1803 | @@ -1,3 +1,19 @@ |
1804 | +/* |
1805 | + * Copyright (C) 2015 Canonical, Ltd. |
1806 | + * |
1807 | + * This program is free software; you can redistribute it and/or modify |
1808 | + * it under the terms of the GNU Lesser General Public License as published by |
1809 | + * the Free Software Foundation; version 3. |
1810 | + * |
1811 | + * This program is distributed in the hope that it will be useful, |
1812 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1813 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1814 | + * GNU Lesser General Public License for more details. |
1815 | + * |
1816 | + * You should have received a copy of the GNU Lesser General Public License |
1817 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1818 | + */ |
1819 | + |
1820 | import QtQuick 2.0 |
1821 | import QtTest 1.0 |
1822 | import QtHalide 0.1 |
1823 | |
1824 | === modified file 'tests/unit/tst_transform.qml' |
1825 | --- tests/unit/tst_transform.qml 2015-04-02 23:29:51 +0000 |
1826 | +++ tests/unit/tst_transform.qml 2015-04-08 15:54:31 +0000 |
1827 | @@ -1,3 +1,19 @@ |
1828 | +/* |
1829 | + * Copyright (C) 2015 Canonical, Ltd. |
1830 | + * |
1831 | + * This program is free software; you can redistribute it and/or modify |
1832 | + * it under the terms of the GNU Lesser General Public License as published by |
1833 | + * the Free Software Foundation; version 3. |
1834 | + * |
1835 | + * This program is distributed in the hope that it will be useful, |
1836 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1837 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1838 | + * GNU Lesser General Public License for more details. |
1839 | + * |
1840 | + * You should have received a copy of the GNU Lesser General Public License |
1841 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1842 | + */ |
1843 | + |
1844 | import QtQuick 2.0 |
1845 | import QtTest 1.0 |
1846 | import QtHalide 0.1 |
1847 | |
1848 | === modified file 'tests/unit/tst_transform_save_to_file.qml' |
1849 | --- tests/unit/tst_transform_save_to_file.qml 2015-04-02 23:30:02 +0000 |
1850 | +++ tests/unit/tst_transform_save_to_file.qml 2015-04-08 15:54:31 +0000 |
1851 | @@ -1,3 +1,19 @@ |
1852 | +/* |
1853 | + * Copyright (C) 2015 Canonical, Ltd. |
1854 | + * |
1855 | + * This program is free software; you can redistribute it and/or modify |
1856 | + * it under the terms of the GNU Lesser General Public License as published by |
1857 | + * the Free Software Foundation; version 3. |
1858 | + * |
1859 | + * This program is distributed in the hope that it will be useful, |
1860 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1861 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1862 | + * GNU Lesser General Public License for more details. |
1863 | + * |
1864 | + * You should have received a copy of the GNU Lesser General Public License |
1865 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1866 | + */ |
1867 | + |
1868 | import QtQuick 2.0 |
1869 | import QtTest 1.0 |
1870 | import QtHalide 0.1 |
Wrong license, it's LGPL