Skip to content

Commit 0b10a89

Browse files
committed
Merge branch 'master' into feature/colour_model
2 parents 7ee8d46 + 79f6c9b commit 0b10a89

File tree

4,453 files changed

+682641
-222380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,453 files changed

+682641
-222380
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
libraries/* linguist-vendored
2+
distribution/**/*.inc linguist-language=POV-Ray
3+
**/*.pov linguist-language=POV-Ray

.gitignore

Lines changed: 83 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# =====================================
2+
# From GitHub's C++ .gitignore template
3+
# =====================================
4+
15
# Compiled Object files
26
*.slo
37
*.lo
@@ -20,6 +24,10 @@
2024
*.out
2125
*.app
2226

27+
# ==============================================
28+
# From GitHub's VisualStudio .gitignore template
29+
# ==============================================
30+
2331
## Ignore Visual Studio temporary files, build results, and
2432
## files generated by popular Visual Studio add-ons.
2533

@@ -28,21 +36,6 @@
2836
*.user
2937
*.sln.docstates
3038

31-
# Build results
32-
33-
[Dd]ebug/
34-
[Rr]elease/
35-
x64/
36-
build/
37-
[Bb]in/
38-
[Oo]bj/
39-
40-
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
41-
!packages/*/build/
42-
43-
# Enable "build/" folder in the boost library
44-
!libraries/boost/libs/**/build/
45-
4639
# MSTest test Results
4740
[Tt]est[Rr]esult*/
4841
[Bb]uild[Ll]og.*
@@ -72,7 +65,6 @@ build/
7265
*.scc
7366

7467
# Visual C++ cache files
75-
ipch/
7668
*.aps
7769
*.ncb
7870
*.opensdf
@@ -90,11 +82,6 @@ $tf/
9082
# Guidance Automation Toolkit
9183
*.gpState
9284

93-
# ReSharper is a .NET coding add-in
94-
_ReSharper*/
95-
*.[Rr]e[Ss]harper
96-
*.DotSettings.user
97-
9885
# TeamCity is a build add-in
9986
_TeamCity*
10087

@@ -109,16 +96,6 @@ _NCrunch_*
10996
# Installshield output folder
11097
[Ee]xpress/
11198

112-
# DocProject is a documentation generator add-in
113-
DocProject/buildhelp/
114-
DocProject/Help/*.HxT
115-
DocProject/Help/*.HxC
116-
DocProject/Help/*.hhc
117-
DocProject/Help/*.hhk
118-
DocProject/Help/*.hhp
119-
DocProject/Help/Html2
120-
DocProject/Help/html
121-
12299
# Click-Once directory
123100
publish/
124101

@@ -129,13 +106,6 @@ publish/
129106
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
130107
#packages/
131108

132-
# Windows Azure Build Output
133-
csx
134-
*.build.csdef
135-
136-
# Windows Store app package directory
137-
AppPackages/
138-
139109
# Others
140110
sql/
141111
*.Cache
@@ -149,30 +119,18 @@ ClientBin/
149119
*.pfx
150120
*.publishsettings
151121

152-
# RIA/Silverlight projects
153-
Generated_Code/
154-
155122
# Backup & report files from converting an old project file to a newer
156123
# Visual Studio version. Backup files are not needed, because we have git ;-)
157124
_UpgradeReport_Files/
158125
Backup*/
159126
UpgradeLog*.XML
160127
UpgradeLog*.htm
161128

162-
# SQL Server files
163-
App_Data/*.mdf
164-
App_Data/*.ldf
165-
166-
# Business Intelligence projects
167-
*.rdl.data
168-
*.bim.layout
169-
*.bim_*.settings
170-
171129
# Microsoft Fakes
172130
FakesAssemblies/
173131

174132
# =========================
175-
# Windows detritus
133+
# Operating System detritus
176134
# =========================
177135

178136
# Windows image file caches
@@ -188,10 +146,77 @@ $RECYCLE.BIN/
188146
# Mac crap
189147
.DS_Store
190148

191-
# Unix build helper scripts
192-
unix/config/compile
193-
unix/config/config.guess
194-
unix/config/config.sub
195-
unix/config/depcomp
196-
unix/config/install-sh
197-
unix/config/missing
149+
# ===============================
150+
# POV-Ray Windows build artefacts
151+
# ===============================
152+
153+
/windows/vs*/.vs/
154+
/windows/vs*/bin32/
155+
/windows/vs*/bin64/
156+
/windows/vs*/build/
157+
/windows/vs*/ipch/
158+
159+
# ============================
160+
# POV-Ray Unix build artefacts
161+
# ============================
162+
163+
# Created by unix/prebuild.sh script
164+
/AUTHORS
165+
/COPYING
166+
/ChangeLog
167+
/INSTALL
168+
/Makefile.am
169+
/Makefile.in
170+
/NEWS
171+
/README
172+
/VERSION
173+
/aclocal.m4
174+
/bootstrap
175+
/config.h.in
176+
/configure
177+
/configure.ac
178+
/kde_install.sh
179+
/povray.1
180+
/povray.conf
181+
/povray.ini.in
182+
/icons/
183+
/include/
184+
/ini/
185+
/scenes/
186+
/scripts/
187+
/source/Makefile.am
188+
/source/Makefile.in
189+
/unix/Makefile.am
190+
/unix/Makefile.in
191+
/unix/config/config.guess
192+
/unix/config/config.sub
193+
/unix/config/depcomp
194+
/unix/config/install-sh
195+
/unix/config/missing
196+
/vfe/Makefile.am
197+
/vfe/Makefile.in
198+
199+
# Created by configure script
200+
/Makefile
201+
/config.h
202+
/config.status
203+
/stamp-h1
204+
/source/jversion.h
205+
/source/Makefile
206+
/unix/Makefile
207+
/vfe/Makefile
208+
.deps/
209+
210+
# Created by make
211+
/povray.ini
212+
/unix/povray
213+
.dirstamp
214+
215+
# =========================
216+
# POV-Ray Doxygen artefacts
217+
# =========================
218+
219+
/tools/doxygen-warnings.log
220+
/tools/doxygen/html/
221+
/tools/doxygen/latex/
222+
/tools/doxygen/pdf/

.travis.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
branches:
2+
except:
3+
- /^v[0-9]/
4+
5+
os:
6+
- linux
7+
# - osx
8+
9+
language: cpp
10+
11+
compiler:
12+
- gcc
13+
- clang
14+
15+
matrix:
16+
allow_failures:
17+
- os: osx
18+
- compiler: clang
19+
20+
sudo: false
21+
22+
addons:
23+
apt:
24+
packages:
25+
- libboost-dev
26+
- libboost-date-time-dev
27+
- libboost-thread-dev
28+
- libjpeg8-dev
29+
- libopenexr-dev
30+
- libpng12-dev
31+
- libtiff4-dev
32+
- zlib1g-dev
33+
34+
install:
35+
- cd unix
36+
- ./prebuild.sh
37+
- cd ..
38+
- ./configure COMPILED_BY="Travis CI" --prefix="$(pwd)/build"
39+
- make check
40+
- make install
41+
42+
script:
43+
- true
44+
45+
notifications:
46+
email:
47+
recipients:
48+
- ${NOTIFICATION_EMAIL}
49+
on_success: change
50+
on_failure: always

appveyor.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
version: 3.7+av{build}
2+
pull_requests:
3+
do_not_increment_build_number: true
4+
branches:
5+
except:
6+
- /v[0-9]/
7+
skip_tags: true
8+
9+
os:
10+
- Visual Studio 2015
11+
12+
shallow_clone: true
13+
14+
matrix:
15+
fast_finish: true
16+
17+
environment:
18+
matrix:
19+
- configuration: Release
20+
platform: Win32
21+
bin_dir: bin32
22+
artifact_suffix: -Win32
23+
PlatformToolset: v100
24+
- configuration: Release-SSE2
25+
platform: Win32
26+
bin_dir: bin32
27+
artifact_suffix: -Win32-sse2
28+
PlatformToolset: v100
29+
- configuration: Release
30+
platform: x64
31+
bin_dir: bin64
32+
artifact_suffix: -Win64
33+
PlatformToolset: v140
34+
35+
before_build:
36+
- ps: |
37+
$env:devenv = $env:VS140COMNTOOLS + '\..\IDE\devenv'
38+
& $env:devenv windows\vs10\povray.sln /upgrade
39+
$env:pov_autobuild_a = '#define POV_RAY_IS_AUTOBUILD 1'
40+
$env:pov_autobuild_b = '#define POV_RAY_AUTOBUILD_ID "av' + $env:APPVEYOR_BUILD_NUMBER + '"'
41+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_A}', $env:pov_autobuild_a) | Set-Content source\base\build.h
42+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_B}', $env:pov_autobuild_b) | Set-Content source\base\build.h
43+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_C}', $env:pov_autobuild_c) | Set-Content source\base\build.h
44+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_1}', $env:pov_autobuild_1) | Set-Content source\base\build.h
45+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_2}', $env:pov_autobuild_2) | Set-Content source\base\build.h
46+
(Get-Content source\base\build.h).replace('//{POV_AUTOBUILD_3}', $env:pov_autobuild_3) | Set-Content source\base\build.h
47+
(Get-Content source\base\build.h).replace('YOUR NAME (YOUR EMAIL)', $env:pov_authorized_by) | Set-Content source\base\build.h
48+
(Get-Content source\base\build.h).replace('#error Please fill in BUILT_BY, then remove this line', '') | Set-Content source\base\build.h
49+
50+
build:
51+
project: windows\vs10\povray.sln
52+
parallel: true
53+
verbosity: minimal
54+
55+
after_build:
56+
- ps: |
57+
$env:pov_exe_version = (Get-Content unix\VERSION)
58+
$env:pov_tag_version = 'v' + $env:pov_exe_version
59+
$env:pov_build_version = $env:pov_tag_version + '+av' + $env:APPVEYOR_BUILD_NUMBER
60+
$env:pov_build_message = ''
61+
if ($env:pov_exe_version -match '^[0-9.]*-x') {
62+
$env:pov_build_type = 'Experimental'
63+
$env:pov_build_message += '**EXPERIMENTAL: This version of POV-Ray is not part of the official development branch!**'
64+
$env:pov_build_message += "`n`n"
65+
} elseif ($env:pov_exe_version -match '^[0-9.]*-') {
66+
$env:pov_build_type = 'Development'
67+
} else {
68+
$env:pov_build_type = 'Automated'
69+
}
70+
$env:pov_release_type = ($env:pov_build_type).ToLower() + ' release'
71+
$env:pov_build_title = $env:pov_build_type + ' build'
72+
$env:pov_build_message += '**Note:** This is a binary-only ' + $env:pov_release_type + '; to install, copy the binary into an existing POV-Ray 3.7 installation. (Make sure to backup the original binary first.)'
73+
$env:pov_build_message += "`n`n"
74+
$env:pov_build_message += 'The 64-bit binary may require Windows Vista or higher. To run this ' + $env:pov_release_type + ' on an earlier 64-bit version of Windows, you may need to use the 32-bit SSE2 binary instead.'
75+
$env:pov_zipdir = "povray-" + $env:pov_exe_version + '-av' + $env:APPVEYOR_BUILD_NUMBER + $env:artifact_suffix
76+
$env:pov_binary = "Windows\vs10\" + $env:bin_dir + "\pvengine*.exe"
77+
$env:pov_zip = "artifacts\" + $env:pov_zipdir + ".7z"
78+
New-Item -ItemType directory -Path $env:pov_zipdir | Out-Null
79+
New-Item -ItemType directory -Path "artifacts" | Out-Null
80+
Copy-Item $env:pov_binary $env:pov_zipdir
81+
& "7z" "a" "-r" $env:pov_zip $env:pov_zipdir
82+
83+
test: off
84+
85+
artifacts:
86+
- path: artifacts\*.7z
87+
name: binaryOnly7z
88+
89+
deploy:
90+
- provider: GitHub
91+
tag: $(pov_tag_version)
92+
release: $(pov_build_title) $(pov_build_version)
93+
description: $(pov_build_message)
94+
95+
auth_token:
96+
secure: WkcFPXyr/SJ9TXixTQyivhfoR9FzlryIbc4deHeQ0eA6YRXL0wQopMYJ6XL1/FJK
97+
draft: true
98+
prerelease: true

0 commit comments

Comments
 (0)