This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ on generate
1414
1515 local tVars
1616 put url ("file:" & $1 & "/../version") into tVars
17+
1718 repeat for each line tVar in tVars
18- split tVar by "="
19- replace "$" & word 1 to -1 of tVar[1] with word 1 to -1 of tVar[2] in tTemplate
19+ get tVar
20+ split it by "="
21+ replace ("$" & word 1 to -1 of it[1]) with (word 1 to -1 of it[2]) in tTemplate
2022 end repeat
2123
2224 put tTemplate into url ("binfile:" & $1 & "/include/revbuild.h")
Original file line number Diff line number Diff line change 246246 RelativePath=" .\src\mode_installer_w32.cpp"
247247 >
248248 </File >
249+ <File
250+ RelativePath=" .\src\stacksecurity.cpp"
251+ >
252+ </File >
249253 </Filter >
250254 <Filter
251255 Name=" Header Files"
Original file line number Diff line number Diff line change 215215 <Tool
216216 Name=" VCCustomBuildTool"
217217 Description=" Encoding error strings"
218- CommandLine=" $(SolutionDir)prebuilt\bin\Revolution.exe " $(InputDir)encode_errors.rev" " $(InputDir)src" " $(InputDir)src\encodederrors.cpp" "
218+ CommandLine=" " $(SolutionDir)prebuilt\bin\Revolution.exe" " $(InputDir)encode_errors.rev" " $(InputDir)src" " $(InputDir)src\encodederrors.cpp" "
219219 AdditionalDependencies=" $(InputDir)src\executionerrors.h;$(InputDir)src\parseerrors.h"
220220 Outputs=" $(InputDir)src\encodederrors.cpp"
221221 />
226226 <Tool
227227 Name=" VCCustomBuildTool"
228228 Description=" Encoding error strings"
229- CommandLine=" $(SolutionDir)prebuilt\tools \Revolution.exe " $(InputDir)encode_errors.rev" " $(InputDir)src" " $(InputDir)src\encodederrors.cpp" "
229+ CommandLine=" " $(SolutionDir)prebuilt\bin \Revolution.exe" " $(InputDir)encode_errors.rev" " $(InputDir)src" " $(InputDir)src\encodederrors.cpp"
 ; "
230230 AdditionalDependencies=" $(InputDir)src\executionerrors.h;$(InputDir)src\parseerrors.h"
231231 Outputs=" $(InputDir)src\encodederrors.cpp"
232232 />
241241 <Tool
242242 Name=" VCCustomBuildTool"
243243 Description=" Generating hashed strings for colorization..."
244- CommandLine=" $(SolutionDir)prebuilt\bin\Revolution.exe " $(InputDir)hash_strings.rev" " $(InputDir)src\lextable.cpp" " $(InputDir)src\hashedstrings.cpp" "
244+ CommandLine=" " $(SolutionDir)prebuilt\bin\Revolution.exe" " $(InputDir)hash_strings.rev" " $(InputDir)src\lextable.cpp" " $(InputDir)src\hashedstrings.cpp" "
245245 AdditionalDependencies=" $(InputDir)src\lextable.cpp"
246246 Outputs=" $(InputDir)src\hashedstrings.cpp"
247247 />
252252 <Tool
253253 Name=" VCCustomBuildTool"
254254 Description=" Generating hashed strings for colorization..."
255- CommandLine=" $(SolutionDir)prebuilt\bin\Revolution.exe " $(InputDir)hash_strings.rev" " $(InputDir)src\lextable.cpp" " $(InputDir)src\hashedstrings.cpp" "
255+ CommandLine=" " $(SolutionDir)prebuilt\bin\Revolution.exe" " $(InputDir)hash_strings.rev" " $(InputDir)src\lextable.cpp" " $(InputDir)src\hashedstrings.cpp" "
256256 AdditionalDependencies=" $(InputDir)src\lextable.cpp"
257257 Outputs=" $(InputDir)src\hashedstrings.cpp"
258258 />
Original file line number Diff line number Diff line change 54595459 RelativePath=" .\ChangeLog.txt"
54605460 >
54615461 </File >
5462+ <File
5463+ RelativePath=" .\encode_version.rev"
5464+ >
5465+ <FileConfiguration
5466+ Name=" Debug|Win32"
5467+ >
5468+ <Tool
5469+ Name=" VCCustomBuildTool"
5470+ Description=" Generating version info..."
5471+ CommandLine=" " $(SolutionDir)prebuilt\bin\Revolution.exe" " $(InputPath)" " $(ProjectDir)" "
5472+ AdditionalDependencies=" $(ProjectDir)include\revbuilt.h.in;$(SolutionDir)\version"
5473+ Outputs=" $(ProjectDir)include\revbuild.h"
5474+ />
5475+ </FileConfiguration >
5476+ <FileConfiguration
5477+ Name=" Release|Win32"
5478+ >
5479+ <Tool
5480+ Name=" VCCustomBuildTool"
5481+ Description=" Generating version info..."
5482+ CommandLine=" " $(SolutionDir)prebuilt\bin\Revolution.exe" " $(InputPath)" " $(ProjectDir)" "
5483+ AdditionalDependencies=" $(ProjectDir)include\revbuilt.h.in;$(SolutionDir)\version"
5484+ Outputs=" $(ProjectDir)include\revbuild.h"
5485+ />
5486+ </FileConfiguration >
5487+ </File >
54625488 <File
54635489 RelativePath=" .\Makefile"
54645490 >
Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
6363#include " w32prefix.h"
6464#include " w32dc.h"
6565#include < process.h>
66+
67+ // MW-2013-04-18: [[ Bug ]] Temporarily undefine 'GetObject' so that the reference
68+ // to the GetObject() parentscript object method works. (Platform-specific stuff
69+ // needs to move into separate files!)
70+ #undef GetObject
71+
6672#elif defined(_MAC_DESKTOP)
6773#include " osxprefix.h"
6874#elif defined(_LINUX_DESKTOP)
You can’t perform that action at this time.
0 commit comments