Changeset 4423
- Timestamp:
- 08/14/08 12:49:40 (5 months ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 removed
- 9 modified
-
configs/eclipse.config (deleted)
-
configs/eclipse5.config (added)
-
configs/eclipse5iso.config (added)
-
configs/eclipse6.config (added)
-
configs/eclipse6iso.config (added)
-
configs/eclipseiso.config (deleted)
-
configs/NOTES.txt (modified) (2 diffs)
-
integration/eclipselgt.sh (modified) (1 diff)
-
integration/logtalk_eclipse.pl (deleted)
-
integration/NOTES.txt (modified) (1 diff)
-
RELEASE_NOTES.txt (modified) (1 diff)
-
scripts/debian/postinst (modified) (1 diff)
-
scripts/install.sh (modified) (1 diff)
-
scripts/linux/logtalk.spec (modified) (1 diff)
-
scripts/macosx/Portfile (modified) (1 diff)
-
scripts/windows/logtalk.iss (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configs/NOTES.txt
r4411 r4423 164 164 ECLiPSe 5.10#26 or later versions 165 165 166 eclipse .config167 eclipse iso.config166 eclipse5.config 167 eclipse5iso.config 168 168 169 169 There are two configs files for this compiler. The first one, named 170 "eclipse .config", should be used when, for some reason, you don't want171 to load the "iso" library. The second file, "eclipse iso.config" contains170 "eclipse5.config", should be used when, for some reason, you don't want 171 to load the "iso" library. The second file, "eclipse5iso.config" contains 172 172 a call to load the "iso" library. Both config files may be used with 173 173 ECLiPSe 5.10#26 or later versions. 174 174 175 You should use the "eclipse iso.config" whenever possible. The alternative175 You should use the "eclipse5iso.config" whenever possible. The alternative 176 176 config file may not contain all the needed definitions for ISO Prolog 177 177 predicates that are needed for compiling Logtalk itself, the Logtalk … … 204 204 built-in predicate compile/1, new clauses for dynamic predicates are 205 205 appended to the old ones instead of replacing them! 206 207 208 ECLiPSe 6.0 or later versions 209 210 eclipse6.config 211 eclipse6iso.config 212 213 (see comments above about ECLiPSe 5.10 version) 206 214 207 215 -
trunk/integration/eclipselgt.sh
r4411 r4423 74 74 echo 75 75 76 exec eclipse -b "$LOGTALKHOME/integration/logtalk_eclipse.pl" "$@" 76 if eclipse -e "halt." 2>&1 | grep "Version 5.10" 2>&1 >/dev/null; then 77 exec eclipse -b "$LOGTALKHOME/integration/logtalk_eclipse5.pl" "$@" 78 else 79 exec eclipse -b "$LOGTALKHOME/integration/logtalk_eclipse6.pl" "$@" 80 fi -
trunk/integration/NOTES.txt
r4411 r4423 20 20 * CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo) 21 21 * CxProlog (version 0.97.1 or later): cxlgt 22 * ECLiPSe (version 5.10#26 or later):eclipselgt22 * ECLiPSe (versions 5.10, 6.0): eclipselgt 23 23 * GNU Prolog (version 1.3.0 or later): gplgt 24 24 * K-Prolog (version 5.1.2a or later): plclgt -
trunk/RELEASE_NOTES.txt
r4422 r4423 22 22 Added support for meta-calls whose closure arguments are explicitly 23 23 qualified (using either Object::Closure or Module:Closure). 24 25 Added ECLiPSe 6.0 config files. Modified the POSIX script "eclipselgt" 26 to test for both ECLiPSe 5.10 and 6.0 versions. Added Windows shortcut 27 to start Logtalk with ECLiPSe 6.0. 24 28 25 29 Updated the GNU Prolog config file to allow Logtalk to recognize as -
trunk/scripts/debian/postinst
r4411 r4423 43 43 echo "* CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo)" 44 44 echo "* CxProlog (version 0.97.1 or later): cxlgt" 45 echo "* ECLiPSe (version 5.10#26 or later):eclipselgt"45 echo "* ECLiPSe (versions 5.10, 6.0): eclipselgt" 46 46 echo "* GNU Prolog (version 1.3.0 or later): gplgt" 47 47 echo "* K-Prolog (version 5.1.x): plclgt" -
trunk/scripts/install.sh
r4411 r4423 87 87 echo "* CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo)" 88 88 echo "* CxProlog (version 0.97.1 or later): cxlgt" 89 echo "* ECLiPSe (version 5.10#26 or later):eclipselgt"89 echo "* ECLiPSe (versions 5.10, 6.0): eclipselgt" 90 90 echo "* GNU Prolog (version 1.3.0 or later): gplgt" 91 91 echo "* K-Prolog (version 5.1.2a or later): plclgt" -
trunk/scripts/linux/logtalk.spec
r4411 r4423 137 137 echo "* CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo)" 138 138 echo "* CxProlog (version 0.97.1 or later): cxlgt" 139 echo "* ECLiPSe (version 5.10#26 or later):eclipselgt"139 echo "* ECLiPSe (versions 5.10, 6.0): eclipselgt" 140 140 echo "* GNU Prolog (version 1.3.0 or later): gplgt" 141 141 echo "* K-Prolog (version 5.1.x): plclgt" -
trunk/scripts/macosx/Portfile
r4411 r4423 54 54 ui_msg "* CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo)" 55 55 ui_msg "* CxProlog (version 0.97.1 or later): cxlgt" 56 ui_msg "* ECLiPSe (version 5.10#26 or later):eclipselgt"56 ui_msg "* ECLiPSe (versions 5.10, 6.0): eclipselgt" 57 57 ui_msg "* GNU Prolog (version 1.3.0 or later): gplgt" 58 58 ui_msg "* K-Prolog (version 5.1.x): plclgt" -
trunk/scripts/windows/logtalk.iss
r4411 r4423 55 55 Name: "prolog\ciao"; Description: "Ciao Prolog integration (version 1.10#5 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 56 56 Name: "prolog\cxprolog"; Description: "CxProlog integration (version 0.97.1 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 57 Name: "prolog\eclipse"; Description: "ECLiPSe integration (version 5.10#26 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning57 Name: "prolog\eclipse"; Description: "ECLiPSe integration (versions 5.10, 6.0)"; Types: full prolog custom; Flags: disablenouninstallwarning 58 58 Name: "prolog\gprolog"; Description: "GNU Prolog integration (version 1.3.0 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 59 59 Name: "prolog\plc"; Description: "K-Prolog integration (version 5.1.x)"; Types: full prolog custom; Flags: disablenouninstallwarning … … 115 115 Name: "{group}\Logtalk - CxProlog"; Filename: "{code:GetCxExePath}"; Parameters: "--goal ""silent_consult('%LOGTALKHOME%/integration/logtalk_cx.pl')"""; Comment: "Runs Logtalk with CxProlog"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\cxprolog; Flags: createonlyiffileexists 116 116 117 Name: "{group}\Logtalk - ECLiPSe"; Filename: "{code:GetEclipseExePath}"; Parameters: "-b ""%LOGTALKHOME%\integration\logtalk_eclipse.pl"""; Comment: "Runs Logtalk with ECLiPSe"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\eclipse; Flags: createonlyiffileexists 117 Name: "{group}\Logtalk - ECLiPSe 5"; Filename: "{code:GetEclipse5ExePath}"; Parameters: "-b ""%LOGTALKHOME%\integration\logtalk_eclipse5.pl"""; Comment: "Runs Logtalk with ECLiPSe 5"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\eclipse; Flags: createonlyiffileexists 118 119 Name: "{group}\Logtalk - ECLiPSe 6"; Filename: "{code:GetEclipse6ExePath}"; Parameters: "-b ""%LOGTALKHOME%\integration\logtalk_eclipse6.pl"""; Comment: "Runs Logtalk with ECLiPSe 6"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\eclipse; Flags: createonlyiffileexists 118 120 119 121 Name: "{group}\Logtalk - GNU Prolog"; Filename: "{code:GetGPExePath}"; Parameters: "--init-goal ""['$LOGTALKUSER/configs/gnu.config', '$LOGTALKHOME/integration/logtalk_gp.pl', '$LOGTALKUSER/libpaths/libpaths.pl']"""; Comment: "Runs Logtalk with GNU Prolog"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\gprolog; Flags: createonlyiffileexists … … 271 273 end; 272 274 273 function GetEclipse ExePath(Param: String): String;275 function GetEclipse5ExePath(Param: String): String; 274 276 var 275 277 ECLIPSEDIR: String; 276 278 begin 277 if RegQueryStringValue(HKLM, 'Software\IC-Parc\Eclipse\5.1 1\', 'ECLIPSEDIR', ECLIPSEDIR) then279 if RegQueryStringValue(HKLM, 'Software\IC-Parc\Eclipse\5.10\', 'ECLIPSEDIR', ECLIPSEDIR) then 278 280 Result := ECLIPSEDIR + '\lib\i386_nt\eclipse.exe' 279 else if RegQueryStringValue(HKLM, 'Software\IC-Parc\Eclipse\5.10\', 'ECLIPSEDIR', ECLIPSEDIR) then 281 else 282 Result := 'lgt_exe_does_not_exist' 283 end; 284 285 function GetEclipse6ExePath(Param: String): String; 286 var 287 ECLIPSEDIR: String; 288 begin 289 if RegQueryStringValue(HKLM, 'Software\IC-Parc\Eclipse\6.0\', 'ECLIPSEDIR', ECLIPSEDIR) then 280 290 Result := ECLIPSEDIR + '\lib\i386_nt\eclipse.exe' 281 291 else
