aboutsummaryrefslogtreecommitdiffstats
path: root/utilities
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-09-07 13:01:15 +0000
committerdanglassey <danglassey>2002-09-07 13:01:15 +0000
commita88d2ae0574ef1422da03fe36a0d339a2af8cd88 (patch)
tree041204e69e552ff3670767d288075986f75d43a3 /utilities
parenta550e4bddf5791f107f1d093599381052bb06d10 (diff)
downloadsword-sf-cvs-a88d2ae0574ef1422da03fe36a0d339a2af8cd88.tar.gz
sync with crosswire 20020907-1300
Diffstat (limited to 'utilities')
-rw-r--r--utilities/bcppmake/cipherraw.bpf6
-rw-r--r--utilities/bcppmake/cipherraw.bpr6
-rw-r--r--utilities/bcppmake/imp2gbs.bpf6
-rw-r--r--utilities/bcppmake/imp2gbs.bpr6
-rw-r--r--utilities/bcppmake/imp2ld.bpf6
-rw-r--r--utilities/bcppmake/imp2ld.bpr6
-rw-r--r--utilities/bcppmake/imp2vs.bpf6
-rw-r--r--utilities/bcppmake/imp2vs.bpr6
-rw-r--r--utilities/bcppmake/mkfastmod.bpf6
-rw-r--r--utilities/bcppmake/mkfastmod.bpr6
-rw-r--r--utilities/bcppmake/mod2imp.bpf6
-rw-r--r--utilities/bcppmake/mod2imp.bpr6
-rw-r--r--utilities/bcppmake/mod2vpl.bpf6
-rw-r--r--utilities/bcppmake/mod2vpl.bpr6
-rw-r--r--utilities/bcppmake/mod2zmod.bpf6
-rw-r--r--utilities/bcppmake/mod2zmod.bpr6
-rw-r--r--utilities/bcppmake/thml2gbs.bpf6
-rw-r--r--utilities/bcppmake/thml2gbs.bpr31
-rw-r--r--utilities/bcppmake/vpl2mod.bpf6
-rw-r--r--utilities/bcppmake/vpl2mod.bpr6
-rw-r--r--utilities/imp2ld.cpp73
-rw-r--r--utilities/imp2vs.cpp94
-rw-r--r--utilities/kylixmake/mod2zmod.bpr4
-rw-r--r--utilities/mod2zmod.cpp7
-rw-r--r--utilities/thml2gbs.cpp16
25 files changed, 164 insertions, 175 deletions
diff --git a/utilities/bcppmake/cipherraw.bpf b/utilities/bcppmake/cipherraw.bpf
index 3df5169..03a9c8a 100644
--- a/utilities/bcppmake/cipherraw.bpf
+++ b/utilities/bcppmake/cipherraw.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\cipherraw.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/cipherraw.bpr b/utilities/bcppmake/cipherraw.bpr
index 096e325..b2e0df9 100644
--- a/utilities/bcppmake/cipherraw.bpr
+++ b/utilities/bcppmake/cipherraw.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/imp2gbs.bpf b/utilities/bcppmake/imp2gbs.bpf
index 8a4a029..cde3c39 100644
--- a/utilities/bcppmake/imp2gbs.bpf
+++ b/utilities/bcppmake/imp2gbs.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\imp2gbs.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/imp2gbs.bpr b/utilities/bcppmake/imp2gbs.bpr
index 3323a1e..b5cc554 100644
--- a/utilities/bcppmake/imp2gbs.bpr
+++ b/utilities/bcppmake/imp2gbs.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/imp2ld.bpf b/utilities/bcppmake/imp2ld.bpf
index cbaf592..82171c2 100644
--- a/utilities/bcppmake/imp2ld.bpf
+++ b/utilities/bcppmake/imp2ld.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\imp2ld.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/imp2ld.bpr b/utilities/bcppmake/imp2ld.bpr
index 55cc403..06b7040 100644
--- a/utilities/bcppmake/imp2ld.bpr
+++ b/utilities/bcppmake/imp2ld.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/imp2vs.bpf b/utilities/bcppmake/imp2vs.bpf
index f96f64d..44fd7a4 100644
--- a/utilities/bcppmake/imp2vs.bpf
+++ b/utilities/bcppmake/imp2vs.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\imp2vs.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/imp2vs.bpr b/utilities/bcppmake/imp2vs.bpr
index b08909c..f86bba0 100644
--- a/utilities/bcppmake/imp2vs.bpr
+++ b/utilities/bcppmake/imp2vs.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/mkfastmod.bpf b/utilities/bcppmake/mkfastmod.bpf
index 79f59ae..9874ba2 100644
--- a/utilities/bcppmake/mkfastmod.bpf
+++ b/utilities/bcppmake/mkfastmod.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\mkfastmod.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/mkfastmod.bpr b/utilities/bcppmake/mkfastmod.bpr
index 4eaacd9..2bfe89f 100644
--- a/utilities/bcppmake/mkfastmod.bpr
+++ b/utilities/bcppmake/mkfastmod.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/mod2imp.bpf b/utilities/bcppmake/mod2imp.bpf
index c21a13d..62aa5e1 100644
--- a/utilities/bcppmake/mod2imp.bpf
+++ b/utilities/bcppmake/mod2imp.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\mod2imp.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/mod2imp.bpr b/utilities/bcppmake/mod2imp.bpr
index fdbadf7..491b281 100644
--- a/utilities/bcppmake/mod2imp.bpr
+++ b/utilities/bcppmake/mod2imp.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/mod2vpl.bpf b/utilities/bcppmake/mod2vpl.bpf
index a0f2da4..3f10bb0 100644
--- a/utilities/bcppmake/mod2vpl.bpf
+++ b/utilities/bcppmake/mod2vpl.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\mod2vpl.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/mod2vpl.bpr b/utilities/bcppmake/mod2vpl.bpr
index 287d6c8..fe6c102 100644
--- a/utilities/bcppmake/mod2vpl.bpr
+++ b/utilities/bcppmake/mod2vpl.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/mod2zmod.bpf b/utilities/bcppmake/mod2zmod.bpf
index ae870d7..a5ab3aa 100644
--- a/utilities/bcppmake/mod2zmod.bpf
+++ b/utilities/bcppmake/mod2zmod.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\mod2zmod.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/mod2zmod.bpr b/utilities/bcppmake/mod2zmod.bpr
index 0aef015..f388f91 100644
--- a/utilities/bcppmake/mod2zmod.bpr
+++ b/utilities/bcppmake/mod2zmod.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/bcppmake/thml2gbs.bpf b/utilities/bcppmake/thml2gbs.bpf
index d153611..d3b7342 100644
--- a/utilities/bcppmake/thml2gbs.bpf
+++ b/utilities/bcppmake/thml2gbs.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\thml2gbs.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/thml2gbs.bpr b/utilities/bcppmake/thml2gbs.bpr
index a6ff506..0447081 100644
--- a/utilities/bcppmake/thml2gbs.bpr
+++ b/utilities/bcppmake/thml2gbs.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="Vcl50.bpi Vclx50.bpi bcbsmp50.bpi Qrpt50.bpi Vcldb50.bpi Vclbde50.bpi
@@ -26,7 +26,7 @@
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="tlink32"/>
- <USERDEFINES value="_ICU_;_ICUSWORD_"/>
+ <USERDEFINES value="_ICU_;_ICUSWORD_;_DEBUG"/>
<SYSDEFINES value="NO_STRICT;_NO_VCL"/>
<MAINSOURCE value="thml2gbs.bpf"/>
<INCLUDEPATH value="..\;..;..\..\include;$(BCB)\include;$(BCB)\include\vcl"/>
@@ -34,11 +34,14 @@
<WARNINGS value="-w-par"/>
</MACROS>
<OPTIONS>
- <CFLAG1 value="-O2 -H=$(BCB)\lib\vcl50.csm -Hc -Vx -Ve -X- -a8 -b- -k- -vi -tWC -tWM- -c"/>
- <PFLAGS value="-$Y- -$L- -$D- -v -JPHNE -M"/>
+ <IDLCFLAGS value="-I..\. -I.. -I..\..\include -I$(BCB)\include -I$(BCB)\include\vcl
+ -src_suffix cpp -D_ICU_ -D_ICUSWORD_ -D_DEBUG -boa"/>
+ <CFLAG1 value="-Od -H=$(BCB)\lib\vcl50.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC
+ -tWM- -c"/>
+ <PFLAGS value="-$Y+ -$W -$O- -v -JPHNE -M"/>
<RFLAGS value=""/>
- <AFLAGS value="/mx /w2 /zn"/>
- <LFLAGS value="-D&quot;&quot; -S:0x200000 -Sc:0x20000 -ap -Tpe -x -Gn"/>
+ <AFLAGS value="/mx /w2 /zi"/>
+ <LFLAGS value="-D&quot;&quot; -S:0x200000 -Sc:0x20000 -ap -Tpe -x -Gn -v"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
@@ -92,9 +95,10 @@ Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
-Count=2
-Item0=_ICU_;_ICUSWORD_
-Item1=_DEBUG
+Count=3
+Item0=_ICU_;_ICUSWORD_;_DEBUG
+Item1=_ICU_;_ICUSWORD_
+Item2=_DEBUG
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
@@ -111,6 +115,11 @@ ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
+[CORBA]
+AddServerUnit=1
+AddClientUnit=1
+PrecompiledHeaders=1
+
[Language]
ActiveLang=
ProjectLang=
diff --git a/utilities/bcppmake/vpl2mod.bpf b/utilities/bcppmake/vpl2mod.bpf
index eb4b2c6..a31520b 100644
--- a/utilities/bcppmake/vpl2mod.bpf
+++ b/utilities/bcppmake/vpl2mod.bpf
@@ -1,8 +1,8 @@
USEUNIT("..\vpl2mod.cpp");
USELIB("libsword.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icui18n.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icudatab.lib");
-USELIB("..\..\..\icu-sword\as_is\win32\borland\icucommon.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icui18n.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icudatab.lib");
+USELIB("..\..\..\icu-sword\as_is\borland\icucommon.lib");
//---------------------------------------------------------------------------
This file is used by the project manager only and should be treated like the project file
diff --git a/utilities/bcppmake/vpl2mod.bpr b/utilities/bcppmake/vpl2mod.bpr
index 9eeb06d..54810be 100644
--- a/utilities/bcppmake/vpl2mod.bpr
+++ b/utilities/bcppmake/vpl2mod.bpr
@@ -10,9 +10,9 @@
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
- <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\win32\borland\icui18n.lib
- ..\..\..\icu-sword\as_is\win32\borland\icudatab.lib
- ..\..\..\icu-sword\as_is\win32\borland\icucommon.lib"/>
+ <LIBFILES value="libsword.lib ..\..\..\icu-sword\as_is\borland\icui18n.lib
+ ..\..\..\icu-sword\as_is\borland\icudatab.lib
+ ..\..\..\icu-sword\as_is\borland\icucommon.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
diff --git a/utilities/imp2ld.cpp b/utilities/imp2ld.cpp
index a92bbc5..86c8394 100644
--- a/utilities/imp2ld.cpp
+++ b/utilities/imp2ld.cpp
@@ -35,15 +35,20 @@ int readline(FILE* infile, char* linebuffer) {
}
int main(int argc, char **argv) {
-
+
const char * helptext ="imp2ld 1.0 Lexicon/Dictionary/Daily Devotional/Glossary module creation tool for the SWORD Project\n usage:\n %s <filename> [modname] [ 4 (default) | 2 | z - module driver]\n";
-
+
signed long i = 0;
char* keybuffer = new char[2048];
char* entbuffer = new char[1048576];
char* linebuffer = new char[1048576];
char modname[16];
-
+ char links = 0;
+ char* linkbuffer[32];
+ while (i < 32) {
+ linkbuffer[i] = new char[256];
+ i++;
+ }
if (argc > 2) {
strcpy (modname, argv[2]);
}
@@ -57,7 +62,7 @@ int main(int argc, char **argv) {
fprintf(stderr, helptext, argv[0]);
exit(-1);
}
-
+
FILE *infile;
infile = fopen(argv[1], "r");
@@ -74,7 +79,7 @@ int main(int argc, char **argv) {
mode = 1;
}
}
-
+
zLD* modZ;
RawLD* mod2;
RawLD4* mod4;
@@ -95,9 +100,9 @@ int main(int argc, char **argv) {
mod4 = new RawLD4(modname);
key = mod4->CreateKey();
}
-
+
key->Persist(1);
-
+
while (readline(infile, linebuffer)) {
if (!strncmp(linebuffer, "$$$", 3)) {
if (strlen(keybuffer) && strlen(entbuffer)) {
@@ -107,19 +112,40 @@ int main(int argc, char **argv) {
if (mode == 3) {
modZ->setKey(*key);
modZ->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ modZ->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
}
else if (mode == 2) {
mod2->setKey(*key);
mod2->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ mod2->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
}
else if (mode == 1) {
mod4->setKey(*key);
mod4->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ mod4->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
}
}
linebuffer[strlen(linebuffer) - 1] = 0;
strcpy (keybuffer, linebuffer + 3);
*entbuffer = 0;
+ links = 0;
+ }
+ else if (!strncmp(linebuffer, "%%%", 3)) {
+ strcpy (linkbuffer[links], linebuffer + 3);
+ linkbuffer[links][strlen(linkbuffer[links]) - 1] = 0;
+ links++;
}
else {
strcat (entbuffer, linebuffer);
@@ -132,24 +158,41 @@ int main(int argc, char **argv) {
*key = keybuffer;
if (mode == 3) {
- modZ->setKey(*key);
- modZ->setEntry(entbuffer, strlen(entbuffer));
+ modZ->setKey(*key);
+ modZ->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ modZ->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
}
else if (mode == 2) {
- mod2->setKey(*key);
- mod2->setEntry(entbuffer, strlen(entbuffer));
+ mod2->setKey(*key);
+ mod2->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ mod2->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
+
}
else if (mode == 1) {
- mod4->setKey(*key);
- mod4->setEntry(entbuffer, strlen(entbuffer));
+ mod4->setKey(*key);
+ mod4->setEntry(entbuffer, strlen(entbuffer));
+ for (i = 0; i < links; i++) {
+ SWKey tmpkey = linkbuffer[i];
+ mod4->linkEntry(&tmpkey);
+ std::cout << "Linking: " << linkbuffer[i] << std::endl;
+ }
+
}
}
-
+
//DEBUG printTree(root, treeKey);
delete keybuffer;
delete entbuffer;
delete linebuffer;
-
+
return 0;
}
diff --git a/utilities/imp2vs.cpp b/utilities/imp2vs.cpp
index 9a47301..c7ee1c6 100644
--- a/utilities/imp2vs.cpp
+++ b/utilities/imp2vs.cpp
@@ -59,15 +59,18 @@ int main(int argc, char **argv) {
RawText::createModule(modname);
RawText modRaw(modname);
mod = &modRaw;
-
+
VerseKey* vkey = new VerseKey;
vkey->Headings(1);
vkey->AutoNormalize(0);
vkey->Persist(1);
mod->setKey(*vkey);
-
- while (readline(infile, linebuffer)) {
- if (!strncmp(linebuffer, "$$$", 3)) {
+ char final; // 2 == pre-final line; 1 == final line; 0 == EOF
+
+ final = ((bool)(readline(infile, linebuffer)) + 1);
+
+ while (final) {
+ if (!strncmp(linebuffer, "$$$", 3) || final == 1) {
if (strlen(keybuffer) && strlen(entbuffer)) {
std::cout << "from file: " << keybuffer << std::endl;
*vkey = keybuffer;
@@ -87,7 +90,7 @@ int main(int argc, char **argv) {
}
vkey->Verse(0);
}
-
+
std::cout << "adding entry: " << *vkey << std::endl;
mod->setEntry(entbuffer, strlen(entbuffer));
}
@@ -108,12 +111,12 @@ int main(int argc, char **argv) {
if (!havefirst) {
havefirst = true;
firstverse = *vkey;
-
+
std::cout << "adding entry: " << *vkey << std::endl;
mod->setEntry(entbuffer, strlen(entbuffer));
(*vkey)++;
}
- while (*vkey <= finalkey) {
+ while (! (finalkey < (*vkey))) {
std::cout << "linking entry: " << *vkey << " to " << firstverse << std::endl;
*mod << &firstverse;
(*vkey)++;
@@ -129,7 +132,7 @@ int main(int argc, char **argv) {
*vkey = (*listkey.GetElement(i));
havefirst = true;
firstverse = *vkey;
-
+
std::cout << "adding entry: " << *vkey << std::endl;
mod->setEntry(entbuffer, strlen(entbuffer));
}
@@ -144,81 +147,12 @@ int main(int argc, char **argv) {
else {
strcat (entbuffer, linebuffer);
}
- }
-
- //handle final entry
- if (strlen(keybuffer) && strlen(entbuffer)) {
- std::cout << "from file: " << keybuffer << std::endl;
- *vkey = keybuffer;
- if (!vkey->Chapter()) {
- // bad hack: 0:0 is Book intro; (chapter):0 is Chapter intro; 0:2 is Module intro; 0:1 is Testament intro
- int backstep = vkey->Verse();
- if (backstep) {
- vkey->Verse(1);
- vkey->Chapter(1);
- switch (backstep) {
- case 2:
- vkey->Book(1);
- vkey->Testament(0);
- case 1:
- vkey->Book(0);
- vkey->Chapter(0);
- }
- vkey->Verse(0);
- }
-
- std::cout << "adding entry: " << *vkey << std::endl;
- mod->setEntry(entbuffer, strlen(entbuffer));
- }
- else {
- ListKey listkey = vkey->ParseVerseList(keybuffer, "Gen1:1", true);
- int i;
- bool havefirst = false;
- VerseKey firstverse;
- firstverse.Headings(1);
- firstverse.AutoNormalize(0);
- for (i = 0; i < listkey.Count(); i++) {
- VerseKey *element = SWDYNAMIC_CAST(VerseKey, listkey.GetElement(i));
- if (element) {
- *vkey = element->LowerBound();
- VerseKey finalkey = element->UpperBound();
- finalkey.Headings(1);
- finalkey.AutoNormalize(0);
- if (!havefirst) {
- havefirst = true;
- firstverse = *vkey;
-
- std::cout << "adding entry: " << *vkey << std::endl;
- mod->setEntry(entbuffer, strlen(entbuffer));
- (*vkey)++;
- }
- while (*vkey <= finalkey) {
- std::cout << "linking entry: " << *vkey << " to " << firstverse << std::endl;
- *(SWModule*)mod << &firstverse;
- (*vkey)++;
- }
- }
- else {
- if (havefirst) {
- *vkey = (*listkey.GetElement(i));
- std::cout << "linking entry: " << *vkey << " to " << firstverse << std::endl;
- *mod << &firstverse;
- }
- else {
- *vkey = (*listkey.GetElement(i));
- havefirst = true;
- firstverse = *vkey;
-
- std::cout << "adding entry: " << *vkey << std::endl;
- mod->setEntry(entbuffer, strlen(entbuffer));
- }
- }
- }
+ final--;
+ if (final) {
+ final = ((bool)(readline(infile, linebuffer)) + 1);
}
}
- //DEBUG printTree(root, treeKey);
-
delete entbuffer;
delete linebuffer;
delete keybuffer;
diff --git a/utilities/kylixmake/mod2zmod.bpr b/utilities/kylixmake/mod2zmod.bpr
index bc5ed1f..dc399a7 100644
--- a/utilities/kylixmake/mod2zmod.bpr
+++ b/utilities/kylixmake/mod2zmod.bpr
@@ -71,10 +71,10 @@ Item0=_DEBUG
DebugSourceDirs=
[Parameters]
-RunParams=
+RunParams=TEST ~/.sword/ztest/ 3 2
Launcher=/usr/X11R6/bin/xterm -T KylixDebuggerOutput -e bash -i -c %debuggee%
UseLauncher=0
-DebugCWD=
+DebugCWD=/space/home/scribe/src/sword/utilities/kylixmake
HostApplication=
[Compiler]
diff --git a/utilities/mod2zmod.cpp b/utilities/mod2zmod.cpp
index f015868..7d64b54 100644
--- a/utilities/mod2zmod.cpp
+++ b/utilities/mod2zmod.cpp
@@ -117,6 +117,7 @@ int main(int argc, char **argv)
string lastBuffer = "Something that would never be first module entry";
SWKey bufferKey;
+ SWKey lastBufferKey;
SWKey *outModuleKey = outModule->CreateKey();
VerseKey *vkey = SWDYNAMIC_CAST(VerseKey, outModuleKey);
outModuleKey->Persist(1);
@@ -132,11 +133,13 @@ int main(int argc, char **argv)
bufferKey = *(SWKey *)(*inModule);
// pseudo-check for link. Will get most common links.
if ((lastBuffer == inModule->getRawEntry()) &&(lastBuffer.length() > 0)) {
- (*outModule) << &bufferKey; // link to last key
- cout << "Adding [" << bufferKey << "] link to: \n";
+ *outModuleKey = bufferKey;
+ outModule->linkEntry(&lastBufferKey); // link to last key
+ cout << "Adding [" << bufferKey << "] link to: [" << lastBufferKey << "]\n";
}
else {
lastBuffer = inModule->getRawEntry();
+ lastBufferKey = inModule->KeyText();
if (lastBuffer.length() > 0) {
cout << "Adding [" << bufferKey << "] new text. \n";
*outModuleKey = bufferKey;
diff --git a/utilities/thml2gbs.cpp b/utilities/thml2gbs.cpp
index e95f4ab..df85806 100644
--- a/utilities/thml2gbs.cpp
+++ b/utilities/thml2gbs.cpp
@@ -103,9 +103,8 @@ int main(int argc, char **argv) {
char* n = new char[256];
char* type = new char[256];
char* title= new char[512];
-
- char* strtmp;
+ char* strtmp;
if (argc > 2) {
strcpy (modname, argv[2]);
}
@@ -120,7 +119,6 @@ int main(int argc, char **argv) {
exit(-1);
}
-
FILE *infile;
infile = fopen(argv[1], "r");
FILE *outfile;
@@ -128,7 +126,7 @@ int main(int argc, char **argv) {
strcat (modname, ".imp");
outfile = fopen(modname, "w");
}
-
+
TreeKeyIdx * treeKey;
RawGenBook *book;
@@ -142,7 +140,7 @@ int main(int argc, char **argv) {
//DEBUG TreeKeyIdx root = *((TreeKeyIdx *)((SWKey *)(*book)));
treeKey = ((TreeKeyIdx *)((SWKey *)(*book)));
}
-
+
int c;
while ((c = fgetc(infile)) != EOF) {
if (c == '<') {
@@ -160,7 +158,7 @@ int main(int argc, char **argv) {
}
if (level) {
- std::cout << keybuffer << std::endl;
+ printf ("%s\n", keybuffer);
if (exportfile) {
fprintf (outfile, "$$$%s\n%s\n", keybuffer, entbuffer);
}
@@ -200,7 +198,7 @@ int main(int argc, char **argv) {
}
if (level) {
- std::cout << keybuffer << std::endl;
+ printf ("%s\n", keybuffer);
if (exportfile) {
fprintf (outfile, "$$$%s\n%s\n", keybuffer, entbuffer);
}
@@ -227,7 +225,7 @@ int main(int argc, char **argv) {
}
}
keybuffer[keysize] = 0;
-
+
type[0] = 0;
strtmp = strstr(keybuffer, "type=\"");
if (strtmp) {
@@ -303,7 +301,9 @@ int main(int argc, char **argv) {
entbuffer[entrysize] = 0;
}
}
+
//DEBUG printTree(root, treeKey);
+ return 0;
delete treeKey;
delete book;