forked from Open-Cascade-SAS/OCCT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0024816: Tool for upgrading OCCT and dependent code
A new script adm/upgrade.tcl defines a Tcl procedure occt_upgrade, to be used for upgrading code of OCCT and applications for changes introduced by OCCT 7.0. Batch script upgrade.bat is provided for convenience. File upgrade.dat contains data (lists of classes) required for some upgrade steps. Details on upgrade procedure are put in dox/dev_guides/upgrade/upgrade.md. OCCT code corrected to improve compatibility with code based on previous versions of OCCT: - Added conversion operator of handle to bool, for use in conditional expressions. - Forward declaration of argument class restored in macro DEFINE_STANDARD_HANDLE. - Includes of used classes added in some headers to avoid problem of missing includes in dependent code - Type cast operators to base curve and surface added in GC and GCE2d classes to reduce porting issues. Added test for local reference to handle initialized by temporary handle to derived class. WOK and CDL User Guides removed.
- Loading branch information
Showing
84 changed files
with
2,901 additions
and
5,855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ Release | |
/adm/mac | ||
/adm/make | ||
*.vcproj*user | ||
*.vcxproj*user | ||
*.csproj*user | ||
*.ncb | ||
*.suo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,30 @@ | ||
#!/usr/bin/tclsh | ||
|
||
# Command-line starter for occdoc command, use it as follows: | ||
# tclsh> source dox/start.tcl [arguments] | ||
# ======================================================================= | ||
# Created on: 2014-03-21 | ||
# Created by: OMY | ||
# Copyright (c) 1996-1999 Matra Datavision | ||
# Copyright (c) 1999-2014 OPEN CASCADE SAS | ||
# | ||
# This file is part of Open CASCADE Technology software library. | ||
# | ||
# This library is free software; you can redistribute it and/or modify it under | ||
# the terms of the GNU Lesser General Public License version 2.1 as published | ||
# by the Free Software Foundation, with special exception defined in the file | ||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT | ||
# distribution for complete text of the license and disclaimer of any warranty. | ||
# | ||
# Alternatively, this file may be used under the terms of Open CASCADE | ||
# commercial license or contractual agreement. | ||
|
||
if { [llength $argv] < 1 } { | ||
puts "Command-line starter for Tcl command defined in same-named file." | ||
puts "Use it as follows:" | ||
puts "\> tclsh start.tcl command \[arguments\]" | ||
return | ||
} | ||
|
||
source [file join [file dirname [info script]] occaux.tcl] | ||
source [file join [file dirname [info script]] gendoc.tcl] | ||
gendoc {*}$::argv | ||
set cmdname [lindex $argv 0] | ||
source [file join [file dirname [info script]] $cmdname.tcl] | ||
|
||
eval $cmdname [lrange $argv 1 end] |
Oops, something went wrong.