\foxbin2prg.exe "INTERACTIVE-SHOWMSG" | Procesar archivos individuales o directorios preguntando qué convertir
+---
+---
+# Folder information
+Project to generate text representations of VFP binary sources for source control
+## ./
+This folder containes the files necessary to run FoxBin2Prg.prg or to create the FoxBin2Prg.exe
-Por ejemplo: Seleccionar un archivo, click-derecho, Enviar A -> FoxBin2Prg
-
-
-### LOCALIZACIÓN:
-Es automática desde la v1.19.38 (Lenguajes: EN,ES,FR,DE)
-
-
-### NOTA FINAL:
-Este programa es Open Source y "libre", y como tal no ofrezco garantías de que cumpla con sus espectativas o de que está libre de fallos, que intentaré solucionar si me reporta y mis obligaciones me lo permiten.
-
-Información del proyecto y actualizaciones: https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg
-
-
-### LICENCIA:
-Esta obra está sujeta a la licencia Reconocimiento-CompartirIgual 4.0 Internacional de Creative Commons. Para ver una copia de esta licencia, visite http://creativecommons.org/licenses/by-sa/4.0/deed.es_ES.
+For usage see [documentation](./Documentacion/github/FoxBin2prg.md)
----
-Last changed: _Pungenday, 53 Chaos 3187_
\ No newline at end of file
+Last changed: _2021/03/03_ 
\ No newline at end of file
diff --git a/foxbin2prg.cfg.txt b/foxbin2prg.cfg.txt
index 091eba7..3f3ca4e 100644
--- a/foxbin2prg.cfg.txt
+++ b/foxbin2prg.cfg.txt
@@ -1,65 +1,70 @@
-****************************************************************************************************
-* FOXBIN2PRG v1.19.51.4
-* CONFIGURATION FILE / ARCHIVO DE CONFIGURACIN
-****************************************************************************************************
+*################################################################################################################
+*FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
+*Version: v1.21.2
+*################################################################################################################
-****************************************************************************************************
-* SECTION DOCUMENTATION OF OPTIONS / SECCIN DE DOCUMENTACIN DE OPCIONES
-*
-* EN: Note: This values have precedence over internal parameters
-* ES: Nota: Estos valores tienen precedencia sobre los parmetros internos
-*
-* DETAIL OF SUPPORTED VALUES / DETALLE DE VALORES SOPORTADOS
-* If no values given, these are the DEFAULTS / Si no se proporcionan valores, estos son los PREDETERMINADOS
-*
-* extension: tx2=newext && Default FoxBin2Prg extensions ends in '2' (see at the bottom)
-* ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
-* DontShowErrors: 0 && Show message errors by default
-* NoTimestamps: 1 && Clear timestamps by default for minimize differences
-* Debug: 0 && Don't Activate individual .Log by default
-* BodyDevInfo: 0 && [0=Don't keep DevInfo for body pjx records], 1=Keep DevInfo
-* ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none
-* ClearUniqueID: 1 && 0=Keep UniqueID, 1=Clear Unique ID. Useful for Diff and Merge
-* ClearDBFLastUpdate: 1 && 0=Keep DBF LastUpdate, 1=Clear DBF LastUpdate. Useful for Diff.
-* OptimizeByFilestamp: 0 && Optimize file regeneration depending on file timestamp
-* RemoveNullCharsFromCode: 1 && 1=Drop NULL chars from source code
-* RemoveZOrderSetFromProps: 0 && 0=Do not remove ZOrderSet property from object, 1=Remove ZOrderSet property from object
-* Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espaol, DE=German, Not defined = AUTOMATIC [DEFAULT]
-* ExcludeDBFAutoincNextval: 0 && [0=Do not exclude this value from db2], 1=Exclude this value from db2
-* PRG_Compat_Level: 0 && [0=Legacy], 1=Use HELPSTRING as Class Procedure comment
+*extension: tx2=newext && Specify extensions to use. Default FoxBin2Prg extensions ends in '2' (see at the bottom)
+*ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
+*DontShowErrors: 0 && Show message errors by default
+*NoTimestamps: 1 && Clear timestamps by default for minimize differences
+*Debug: 0 && Don't Activate individual .Log by default
+*BodyDevInfo: 0 && [0=Don't keep DevInfo for body pjx records], 1=Keep DevInfo
+*ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none
+*ClearUniqueID: 1 && 0=Keep UniqueID in text files, 1=Clear Unique ID. Useful for Diff and Merge
+*ClearDBFLastUpdate: 1 && 0=Keep DBF LastUpdate, 1=Clear DBF LastUpdate. Useful for Diff.
+*OptimizeByFilestamp: 0 && 1=Optimize file regeneration depending on file timestamp. Dangerous while working with branches!
+*RemoveNullCharsFromCode: 1 && 1=Drop NULL chars from source code
+*RemoveZOrderSetFromProps: 0 && 0=Do not remove ZOrderSet property from object, 1=Remove ZOrderSet property from object
+*Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espaol, DE=German, Not defined = AUTOMATIC [DEFAULT]
+*ExcludeDBFAutoincNextval: 0 && [0=Do not exclude this value from db2], 1=Exclude this value from db2
+*PRG_Compat_Level: 0 && [0=Legacy], 1=Use HELPSTRING as Class Procedure comment
-*-- CONVERTION OPTIONS / OPCIONES DE CONVERSIN
-* PJX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* VCX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* SCX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* FRX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* LBX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* MNX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* FKY_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
-* MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
-* DBC_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
-* DBF_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge/Only Structure!), 4=Generate TXT with DATA (Diff), 8=Export and Import DATA (Merge/Structure & Data)
-* DBF_Conversion_Included: * && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
-* DBF_Conversion_Excluded: && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
+*-- Convertion options:
+*PJX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*VCX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*SCX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*FRX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*LBX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*MNX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*FKY_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
+*MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
+*DBC_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+*DBF_Conversion_Support: 1 && 0=No support, 1=Generate Header TXT only (Diff), 2=Generate Header TXT and BIN (Merge/Only Structure!), 4=Generate TXT with DATA (Diff), 8=Export and Import DATA (Merge/Structure & Data)
+*DBF_Conversion_Included: * && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
+*DBF_Conversion_Excluded: && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
-*-- "CLASS PER FILE" OPTIONS (UseClassPerFile: 1)
-* UseClassPerFile: 0 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files including DBC members
-* RedirectClassPerFileToMain: 0 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
-* ClassPerFileCheck: 0 && 0=Don't check file.class.tx2 inclusion, 1=Check file.class.tx2 inclusion
-*
-* END DOCUMENTATION SECTION / FIN DE LA SECCIN DE DOCUMENTACIN
-****************************************************************************************************
+*-- DBC options
+*- File per DBC options (UseFilesPerDBC: 1)
+*OldFilesPerDBC: 0 && 1=Turns the File per DBC options on, 0 uses the old UseClassPerFile etc settings.
+* && Options below will only read if OldFilesPerDBC is set 1 before!
+* && If OldFilesPerDBC is set 0 later, alle setting will be lost
+*UseFilesPerDBC: 0 && 0=One database dc2 file, 1=Multiple file.*.*.dc2 files
+* && 0 creates only a file.dc2 with all DBC (file) data
+* && 1 creates a file.dc2 with DBC properties
+* && and additional DBC files per DBC item (stored-proc, table, ..)
+* && Note: recration only if RedirectFilePerDBCToMain is 1
+*RedirectFilePerDBCToMain 0 && 0=Don't redirect to file.dc2, 1=Redirect to file.tx2 when selecting file.item.*.dc2
+*ItemPerDBCCheck: 0 && 0=Don't check file.item.*.dc2 inclusion, 1=Check file.item.*.dc2 inclusion
+*DBF_BinChar_Base64: 1 && 0=For character type fields, if NoCPTrans 0=do not transform, 1=use Base64 transform (default)
+*DBF_IncludeDeleted: 0 && 0=Do not include deleted records (default), 1=Include deleted records
+*-- CLASS and FORM options
+*- Class per file options (UseClassPerFile: 1)
+*UseClassPerFile: 0 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files
+*RedirectClassPerFileToMain: 0 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
+*ClassPerFileCheck: 0 && 0=Don't check file.class.tx2 inclusion, 1=Check file.class.tx2 inclusion
-****************************************************************************************************
-* EN: Uncomment for SourceSafe compatibility. You can change the extension on the right side.
-* ES: Descomentar para compatibilidad con SourceSafe. Puede cambiar la extensin del lado derecho.
-*---------------------------------------------------------------------------------------------------
-*extension: pj2=pja
-*extension: vc2=vca
-*extension: sc2=sca
-*extension: fr2=fra
-*extension: lb2=lba
-*extension: mn2=mna
-*extension: db2=dba
-*extension: dc2=dca
+*-- Example configuration for SourceSafe compatibility:
+*extension: pj2=pja && Text file to PJX
+*extension: vc2=vca && Text file to VCX
+*extension: sc2=sca && Text file to SCX
+*extension: fr2=fra && Text file to FRX
+*extension: lb2=lba && Text file to LBX
+*extension: mn2=mna && Text file to MNX
+*extension: db2=dba && Text file to DBF
+*extension: dc2=dca && Text file to DBC
+*-- Additional extensions
+*extension: fk2=fkx && Text file to FKY
+*extension: me2=fkx && Text file to MEM
+
+*
\ No newline at end of file
diff --git a/foxbin2prg.exe b/foxbin2prg.exe
index 5c0d3df..acbd148 100644
Binary files a/foxbin2prg.exe and b/foxbin2prg.exe differ
diff --git a/foxbin2prg.pjt b/foxbin2prg.pjt
index 5d62ac7..ab8a1a6 100644
Binary files a/foxbin2prg.pjt and b/foxbin2prg.pjt differ
diff --git a/foxbin2prg.pjx b/foxbin2prg.pjx
index 83f3318..c1ae6ab 100644
Binary files a/foxbin2prg.pjx and b/foxbin2prg.pjx differ
diff --git a/foxbin2prg.prg b/foxbin2prg.prg
index e640754..fe3072b 100644
--- a/foxbin2prg.prg
+++ b/foxbin2prg.prg
@@ -36,6 +36,8 @@
* DO FOXBIN2PRG.PRG WITH "\FILE.PJX" && Genera "\FILE.PJ2" (BIN TO PRG CONVERSION)
* DO FOXBIN2PRG.PRG WITH "\FILE.PJ2" && Genera "\FILE.PJX" (PRG TO BIN CONVERSION)
*
+* DO FOXBIN2PRG.PRG WITH "-c", cOutputFile && Generate a configuration (FoxBin2Prg.cfg) template
+*
*---------------------------------------------------------------------------------------------------
*
* 04/11/2013 FDBOZZO v1.0 Creacin inicial de las clases y soporte de los archivos VCX/SCX/PJX
@@ -225,24 +227,21 @@
* 01/04/2020 DH v1.19.51 Bug Fix: Manejo de AutoIncrement incompatible con Project Explorer (Dan Lauer)
* 01/04/2020 FDBOZZO v1.19.51 Bug Fix: La conversin de tablas falla si algn campo contiene una palabra reservada como UNIQUE (DAJU78)
* 01/04/2020 FDBOZZO v1.19.51 Bug Fix: No se respetan las propiedades de VCX/SCX con nombre "note" (Tracy Pearson)
-
-* fixes
-* 14/02/2021 Lutz Scheffler conversion dbf -> prg, error if only test mode (toFoxBin2Prg.l_ProcessFiles is false)
-* minor translations
-* 14/02/2021 Lutz Scheffler conversion prg -> dbf, fields with .NULL. value are incorectly recreated
-* 15/02/2021 Lutz Scheffler processing directory, flush log file after loop instead of file
-* 16/02/2021 Lutz Scheffler conversion prg -> vcx, files per class could create one class multiple times
-* mods
-* 14/02/2021 Lutz Scheffler inserted option UseFilesPerDBC to split DBC processing from vcx / scx
-* 15/02/2021 Lutz Scheffler inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx
-* 15/02/2021 Lutz Scheffler inserted option ItemPerDBCCheck to split DBC processing from vcx / scx
-* the three above are straight forward, so no extra comment are within the code
-* 19/02/2021 Lutz Scheffler inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way
-* 20/02/2021 Lutz Scheffler inserted option DBF_IncludeDeleted to allow including deleted records of DBF
-* 21/02/2021 Lutz Scheffler German translation improved
-* 21/02/2021 Lutz Scheffler Info screen-doc improved
-* 21/02/2021 Lutz Scheffler added option to create config file template
-* 21/02/2021 Lutz Scheffler added option to create config file template
+* 14/02/2021 LScheffler v1.19.52 Bug Fix: conversion dbf -> prg, error if only test mode (toFoxBin2Prg.l_ProcessFiles is false)
+* 14/02/2021 LScheffler v1.19.52 Bug Fix: conversion prg -> dbf, fields with .NULL. value are incorectly recreated
+* 15/02/2021 LScheffler v1.19.53 Bug Fix: processing directory, flush log file after loop instead of file
+* 16/02/2021 LScheffler v1.19.53 Bug Fix: conversion prg -> vcx, files per class could create one class multiple times
+* 03/03/2021 LScheffler v1.19.54 Bug Fix: DBF_Conversion_Condition, problem with macro expansion
+* 14/02/2021 LScheffler v1.21.02 Enhancement: inserted option UseFilesPerDBC to split DBC processing from vcx / scx
+* 15/02/2021 LScheffler v1.21.02 Enhancement: inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx
+* 15/02/2021 LScheffler v1.21.02 Enhancement: inserted option ItemPerDBCCheck to split DBC processing from vcx / scx
+* the three above are straight forward, so no extra comment are within the code
+* 19/02/2021 LScheffler v1.21.02 Enhancement: inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way
+* 20/02/2021 LScheffler v1.21.02 Enhancement: inserted option DBF_IncludeDeleted to allow including deleted records of DBF
+* 21/02/2021 LScheffler v1.21.02 Enhancement: German translation improved
+* 21/02/2021 LScheffler v1.21.02 Enhancement: Info screen-doc improved
+* 21/02/2021 LScheffler v1.21.02 Enhancement: added option to create config file template
+* 23/02/2021 LScheffler v1.21.02 Enhancement: inserted option OldFilesPerDBC to define the use splitting of DBC like version pre 1.20.0
*
@@ -833,7 +832,8 @@ Define Class c_foxbin2prg As Session
+ []
-*!* ;&& SF
+*!* ;&& SF -> String to long
+*!* + [] ;
*!* + [] ;
*!* + [] ;
*!* + [] ;
@@ -844,8 +844,8 @@ Define Class c_foxbin2prg As Session
Dimension a_ProcessedFiles(1, 6)
Protected n_CFG_Actual, l_Main_CFG_Loaded, o_Configuration, l_CFG_CachedAccess
*--
- n_FB2PRG_Version = 1.19
- c_FB2PRG_Version_Real = '1.19.51'
+ n_FB2PRG_Version = 1.21
+ c_FB2PRG_Version_Real = '1.21.02'
*--
c_Language = '' && EN, FR, ES, DE
c_SimulateError = '' && SIMERR_I0, SIMERR_I1, SIMERR_O1
@@ -893,7 +893,8 @@ Define Class c_foxbin2prg As Session
* additional options controlling
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
- n_UseFilesPerDBC = 0
+ l_OldFilesPerDBC = .T.
+ n_UseFilesPerDBC = 0
l_RedirectFilePerDBCToMain = .F.
l_ItemPerDBCCheck = .F.
l_DBF_BinChar_Base64 = .T.
@@ -1344,6 +1345,15 @@ Define Class c_foxbin2prg As Session
* additional options controlling
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
+ Procedure l_OldFilesPerDBC_ACCESS
+ If This.n_CFG_Actual = 0 Or Isnull( This.o_Configuration( This.n_CFG_Actual ) )
+ Return This.l_OldFilesPerDBC
+ Else
+ Return Nvl( This.o_Configuration( This.n_CFG_Actual ).l_OldFilesPerDBC, This.l_OldFilesPerDBC )
+ Endif
+ Endproc
+
+
Procedure n_UseFilesPerDBC_ACCESS
If This.n_CFG_Actual = 0 Or Isnull( This.o_Configuration( This.n_CFG_Actual ) )
Return This.n_UseFilesPerDBC
@@ -2344,35 +2354,54 @@ Define Class c_foxbin2prg As Session
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > OptimizeByFilestamp: ' + Transform(lcValue) )
Endif
- Case Left( laConfig(m.I), 16 ) == Lower('UseClassPerFile:')
- lcValue = Alltrim( Substr( laConfig(m.I), 17 ) )
- If Inlist( lcValue, '0', '1', '2' ) Then
- lo_CFG.n_UseClassPerFile = Int( Val(lcValue) )
- .writeLog( C_TAB + Justfname(lcConfigFile) + ' > UseClassPerFile: ' + Transform(lcValue) )
- Endif
-
*!* Changed by: Lutz Scheffler 21.02.2021
*!* change date="{^2021-02-21,10:57:00}"
* additional options controlling
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
- Case Left( laConfig(m.I), 15 ) == Lower('UseFilesPerDBC:')
+ Case Left( laConfig(m.I), 16 ) == Lower('UseClassPerFile:')
+ lcValue = Alltrim( Substr( laConfig(m.I), 17 ) )
+ If Inlist( lcValue, '0', '1', '2' ) Then
+ lo_CFG.n_UseClassPerFile = Int( Val(lcValue) )
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' > UseClassPerFile: ' + Transform(lcValue) )
+ IF !lo_CFG.l_OldFilesPerDBC THEN
+ lo_CFG.n_UseFilesPerDBC = lo_CFG.n_UseClassPerFile
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' => UseFilesPerDBC: ' + Transform(lcValue) )
+ endif
+ Endif
+
+ Case Left( laConfig(m.I), 15 ) == Lower('OldFilesPerDBC:')
lcValue = Alltrim( Substr( laConfig(m.I), 16 ) )
If Inlist( lcValue, '0', '1' ) Then
+ lo_CFG.l_OldFilesPerDBC = ( Transform(lcValue) == '1' )
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' > OldFilesPerDBC: ' + Transform(lcValue) )
+ IF !lo_CFG.l_OldFilesPerDBC THEN
+ lo_CFG.n_UseFilesPerDBC = lo_CFG.n_UseClassPerFile
+ lo_CFG.l_RedirectFilePerDBCToMain = lo_CFG.l_RedirectClassPerFileToMain
+ lo_CFG.l_ItemPerDBCCheck = lo_CFG.l_ClassPerFileCheck
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' ==> UseFilesPerDBC: ' + Transform(lcValue) )
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' ==> RedirectFilePerDBCToMain: ' + Transform(lcValue) )
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' ==> ItemPerDBCCheck: ' + Transform(lcValue) )
+ endif
+ Endif
+
+ Case Left( laConfig(m.I), 15 ) == Lower('UseFilesPerDBC:')
+ lcValue = Alltrim( Substr( laConfig(m.I), 16 ) )
+ If lo_CFG.l_OldFilesPerDBC AND Inlist( lcValue, '0', '1' ) Then
lo_CFG.n_UseFilesPerDBC = Int( Val(lcValue) )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > UseFilesPerDBC: ' + Transform(lcValue) )
Endif
Case Left( laConfig(m.I), 25 ) == Lower('RedirectFilePerDBCToMain:')
lcValue = Alltrim( Substr( laConfig(m.I), 26 ) )
- If Inlist( lcValue, '0', '1' ) Then
+ If lo_CFG.l_OldFilesPerDBC AND Inlist( lcValue, '0', '1' ) Then
lo_CFG.l_RedirectFilePerDBCToMain = ( Transform(lcValue) == '1' )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > RedirectFilePerDBCToMain: ' + Transform(lcValue) )
Endif
Case Left( laConfig(m.I), 16 ) == Lower('ItemPerDBCCheck:')
lcValue = Alltrim( Substr( laConfig(m.I), 17 ) )
- If Inlist( lcValue, '0', '1' ) Then
+ If lo_CFG.l_OldFilesPerDBC AND Inlist( lcValue, '0', '1' ) Then
lo_CFG.l_ItemPerDBCCheck = ( Transform(lcValue) == '1' )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > ItemPerDBCCheck: ' + Transform(lcValue) )
Endif
@@ -2390,13 +2419,16 @@ Define Class c_foxbin2prg As Session
lo_CFG.l_DBF_IncludeDeleted = ( Transform(lcValue) == '1' )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > DBF_IncludeDeleted: ' + Transform(lcValue) )
Endif
-*!* /Changed by: Lutz Scheffler 21.02.2021
Case Left( laConfig(m.I), 18 ) == Lower('ClassPerFileCheck:')
lcValue = Alltrim( Substr( laConfig(m.I), 19 ) )
If Inlist( lcValue, '0', '1' ) Then
lo_CFG.l_ClassPerFileCheck = ( Transform(lcValue) == '1' )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > ClassPerFileCheck: ' + Transform(lcValue) )
+ IF !lo_CFG.l_OldFilesPerDBC THEN
+ lo_CFG.l_ItemPerDBCCheck = lo_CFG.l_ClassPerFileCheck
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' => ItemPerDBCCheck: ' + Transform(lcValue) )
+ endif
Endif
Case Left( laConfig(m.I), 27 ) == Lower('RedirectClassPerFileToMain:')
@@ -2404,7 +2436,12 @@ Define Class c_foxbin2prg As Session
If Inlist( lcValue, '0', '1' ) Then
lo_CFG.l_RedirectClassPerFileToMain = ( Transform(lcValue) == '1' )
.writeLog( C_TAB + Justfname(lcConfigFile) + ' > RedirectClassPerFileToMain: ' + Transform(lcValue) )
+ IF !lo_CFG.l_OldFilesPerDBC THEN
+ lo_CFG.l_RedirectFilePerDBCToMain = lo_CFG.l_RedirectClassPerFileToMain
+ .writeLog( C_TAB + Justfname(lcConfigFile) + ' => RedirectFilePerDBCToMain: ' + Transform(lcValue) )
+ endif
Endif
+*!* /Changed by: Lutz Scheffler 21.02.2021
Case Left( laConfig(m.I), 18 ) == Lower('RedirectClassType:')
lcValue = Alltrim( Substr( laConfig(m.I), 19 ) )
@@ -2608,6 +2645,7 @@ Define Class c_foxbin2prg As Session
* additional options controlling
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
+ .writeLog( C_TAB + 'l_OldFilesPerDBC: ' + Transform(.l_OldFilesPerDBC) )
.writeLog( C_TAB + 'n_UseFilesPerDBC: ' + Transform(.n_UseFilesPerDBC) )
.writeLog( C_TAB + 'l_RedirectFilePerDBCToMain: ' + Transform(.l_RedirectFilePerDBCToMain) )
.writeLog( C_TAB + 'l_ItemPerDBCCheck: ' + Transform(.l_ItemPerDBCCheck) )
@@ -4088,17 +4126,25 @@ Define Class c_foxbin2prg As Session
lcForceAttribs = lcForceAttribs + '-R'
Endif
-*-- OPTIMIZACIN VC2/SC2/DC2: VERIFICO SI EL ARCHIVO BASE FUE PROCESADO PARA DESCARTAR REPROCESOS
- If .n_UseClassPerFile > 0 And .l_RedirectClassPerFileToMain ;
- OR Not Empty(.c_ClassToConvert)
+*!* Changed by: Lutz Scheffler 03.03.2021
+*!* change date="{^2021-03-03,11:38:00}"
+* Added option for DBC split
+
+*-- OPTIMIZACIN VC2/SC2: VERIFICO SI EL ARCHIVO BASE FUE PROCESADO PARA DESCARTAR REPROCESOS
+ If Inlist(lcExtension,"SCX","VCX",.c_VC2,.c_SC2);
+ AND (.n_UseClassPerFile > 0 And .l_RedirectClassPerFileToMain ;
+ OR Not Empty(.c_ClassToConvert))
Do Case
+* SF
+* n_RedirectClassType looks like lavacode. At least I see not where it set, except in cfg file, not documented in cfg Files
Case .n_RedirectClassType = 1 Or Not Empty(.c_ClassToConvert) && Redireccionar solo esta clase
If Occurs('.', Juststem(.c_InputFile)) = 0 Then
lc_BaseFile = .c_InputFile
Else
lc_BaseFile = Forcepath( Forceext( Juststem( Juststem(.c_InputFile) ), Justext(.c_InputFile)) , Justpath(.c_InputFile) )
Endif
+* /SF
Case .n_UseClassPerFile = 1 And Inlist(lcExtension,.c_VC2,.c_SC2)
If Occurs('.', Juststem(.c_InputFile)) = 0 Then
@@ -4111,8 +4157,8 @@ Define Class c_foxbin2prg As Session
If '.' $ Juststem(.c_InputFile)
.c_InputFile = lc_BaseFile
Endif
-
- Case .n_UseClassPerFile = 2 And Inlist(lcExtension,.c_VC2,.c_SC2) Or lcExtension = .c_DC2
+** SF, Problem, Fehler: DC2 hier nicht, das muss anders mit UseFilesPerDBC
+ Case .n_UseClassPerFile = 2 And Inlist(lcExtension,.c_VC2,.c_SC2)
If Occurs('.', Juststem(.c_InputFile)) = 0 Then
lc_BaseFile = .c_InputFile
Else
@@ -4127,6 +4173,28 @@ Define Class c_foxbin2prg As Session
Endcase
Endif
+*****************************
+
+*-- OPTIMIZACIN DC2: VERIFICO SI EL ARCHIVO BASE FUE PROCESADO PARA DESCARTAR REPROCESOS
+ If Inlist(lcExtension,"DBC",.c_DC2);
+ AND .n_UseFilesPerDBC > 0 And .l_RedirectFilePerDBCToMain;
+ AND .n_UseFilesPerDBC = 1
+
+ If Occurs('.', Juststem(.c_InputFile)) = 0 Then
+ lc_BaseFile = .c_InputFile
+ Else
+ lc_BaseFile = Forcepath( Forceext( Juststem( Juststem( Juststem(.c_InputFile) ) ), Justext(.c_InputFile)) , Justpath(.c_InputFile) )
+ Endif
+
+*-- Verifico si se debe forzar la redireccin al archivo principal
+ If '.' $ Juststem(.c_InputFile)
+ .c_InputFile = lc_BaseFile
+ Endif
+
+ Endif
+
+*!* /Changed by: Lutz Scheffler 03.03.2021
+
Erase ( .c_InputFile + '.ERR' )
If Not Empty(tcOriginalFileName)
@@ -13265,7 +13333,7 @@ Define Class c_conversor_prg_a_dbf As c_conversor_prg_a_bin
Enddefine && CLASS c_conversor_prg_a_dbf AS c_conversor_prg_a_bin
-* SF, just locate
+* SF, Analyse, just locate
Define Class c_conversor_prg_a_dbc As c_conversor_prg_a_bin
#If .F.
Local This As c_conversor_prg_a_dbc Of 'FOXBIN2PRG.PRG'
@@ -17825,7 +17893,7 @@ Define Class c_conversor_dbf_a_prg As c_conversor_bin_a_prg
Endif
loTextStream.WriteLine( C_FB2PRG_CODE ) && Replace VFP low-level file funcs.because the 8-16KB limit.
-* SF, call table
+* SF, Analyse, call table
loTable.toText( ln_HexFileType, ll_FileHasCDX, ll_FileHasMemo, ll_FileIsDBC, lc_DBC_Name, .c_InputFile, lc_FileTypeDesc, @toFoxBin2Prg )
loTextStream.Close()
@@ -17952,7 +18020,7 @@ Define Class c_conversor_dbf_a_prg As c_conversor_bin_a_prg
Enddefine
-* SF just locate
+* SF, Analyse, just locate
Define Class c_conversor_dbc_a_prg As c_conversor_bin_a_prg
#If .F.
Local This As c_conversor_dbc_a_prg Of 'FOXBIN2PRG.PRG'
@@ -25307,7 +25375,15 @@ Define Class CL_DBF_RECORDS As CL_COL_BASE
Endif
*!* /Changed by: Lutz Scheffler 21.02.2021
- Scan For &tc_DBF_Conversion_Condition.
+*!* Changed by: Lutz Scheffler 01.03.2021
+*!* change date="{^2021-03-01,12:45:00}"
+* failure with macro substitution
+* for wharever reason, macro substitution failed
+* EVALUATE() should do
+* Scan For &tc_DBF_Conversion_Condition.
+ Scan For EVALUATE(m.tc_DBF_Conversion_Condition)
+*!* /Changed by: Lutz Scheffler 01.03.2021
+
I = m.I + 1
lcText = loRecord.toText(@taFields, tnField_Count, tl_DBF_BinChar_Base64 )
@@ -25388,14 +25464,13 @@ Define Class CL_DBF_RECORD As CL_CUS_BASE
* toFields (@! IN ) Estructura de los campos
* tl_DBF_BinChar_Base64 out of settings (folder or per-file) Transform NocPTrans fields base64
*---------------------------------------------------------------------------------------------------
-* SF, added code to alternative prosessing NoCPTrans via tl_DBF_BinChar_Base64
-* SF, added code parse out deleted records.
-* deleted records should only occur if calling method sends them, so we just accept
*!* Changed by: Lutz Scheffler 21.02.2021
*!* change date="{^2021-02-21,10:57:00}"
* general note:
-* - added code to handle NoCPTrans coding with or without bas64, just like the flag 4096 of CURSORTOXML
+* - added code to handle NoCPTrans coding with or without basr64, just like the flag 4096 of CURSORTOXML
+* - added code parse out deleted records.
+* deleted records should only occur if calling method sends them, so we just accept
Lparameters tcLine, taCodeLines, I, tnCodeLines, toFields, tl_DBF_BinChar_Base64
@@ -25579,12 +25654,12 @@ Define Class CL_DBF_RECORD As CL_CUS_BASE
* tnField_Count (@! IN ) Cantidad de campos
* tl_DBF_BinChar_Base64 out of settings (folder or per-file) Transform NocPTrans fields base64
*---------------------------------------------------------------------------------------------------
-* SF, calling method decides if deleted records will be included, we just process
+* SF, Analyse, calling method decides if deleted records will be included, we just process
*!* Changed by: Lutz Scheffler 21.02.2021
*!* change date="{^2021-02-21,10:57:00}"
* general note:
-* - added code to handle NoCPTrans coding with or without bas64, just like the flag 4096 of CURSORTOXML
+* - added code to handle NoCPTrans coding with or without base64, just like the flag 4096 of CURSORTOXML
Lparameters taFields, tnField_Count, tl_DBF_BinChar_Base64
External Array taFields
@@ -28874,6 +28949,7 @@ Define Class CL_CFG As Custom
+ [] ;
+ [] ;
; && SF
+ + [] ;
+ [] ;
+ [] ;
+ [] ;
@@ -28927,6 +29003,7 @@ Define Class CL_CFG As Custom
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
*!* /Changed by: Lutz Scheffler 21.02.2021
+ l_OldFilesPerDBC = Null
n_UseFilesPerDBC = Null
l_RedirectFilePerDBCToMain = Null
l_ItemPerDBCCheck = Null
@@ -28989,6 +29066,7 @@ Define Class CL_CFG As Custom
* additional options controlling
* - splitt of DBC separated from VCX/SCX
* - new operations of DBF
+ .l_OldFilesPerDBC = toParentCFG.l_OldFilesPerDBC
.n_UseFilesPerDBC = toParentCFG.n_UseFilesPerDBC
.l_RedirectFilePerDBCToMain = toParentCFG.l_RedirectFilePerDBCToMain
.l_ItemPerDBCCheck = toParentCFG.l_ItemPerDBCCheck
@@ -29225,7 +29303,10 @@ Define Class CL_LANG As Custom
<<>>
ENDTEXT
TEXT TO .C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg TEXTMERGE NOSHOW FLAGS 1 PRETEXT 1+2
+ <<>>################################################################################################################
<<>>FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
+ <<>>Version: <<_Screen.c_FB2PRG_EXE_Version>>
+ <<>>################################################################################################################
<<>>
<<>>extension: tx2=newext && Specify extensions to use. Default FoxBin2Prg extensions ends in '2' (see at the bottom)
<<>>ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
@@ -29250,13 +29331,19 @@ Define Class CL_LANG As Custom
<<>>FRX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>LBX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>MNX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+ <<>>FKY_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
+ <<>>MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
<<>>DBC_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>DBF_Conversion_Support: 1 && 0=No support, 1=Generate Header TXT only (Diff), 2=Generate Header TXT and BIN (Merge/Only Structure!), 4=Generate TXT with DATA (Diff), 8=Export and Import DATA (Merge/Structure & Data)
<<>>DBF_Conversion_Included: * && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
<<>>DBF_Conversion_Excluded: && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
+
<<>>
<<>>-- DBC options
<<>>- File per DBC options (UseFilesPerDBC: 1)
+ <<>>OldFilesPerDBC: 0 && 1=Turns the File per DBC options on, 0 uses the old UseClassPerFile etc settings.
+ <<>> && Options below will only read if OldFilesPerDBC is set 1 before!
+ <<>> && If OldFilesPerDBC is set 0 later, alle setting will be lost
<<>>UseFilesPerDBC: 0 && 0=One database dc2 file, 1=Multiple file.*.*.dc2 files
<<>> && 0 creates only a file.dc2 with all DBC (file) data
<<>> && 1 creates a file.dc2 with DBC properties
@@ -29267,20 +29354,24 @@ Define Class CL_LANG As Custom
<<>>DBF_BinChar_Base64: 1 && 0=For character type fields, if NoCPTrans 0=do not transform, 1=use Base64 transform (default)
<<>>DBF_IncludeDeleted: 0 && 0=Do not include deleted records (default), 1=Include deleted records
<<>>
- <<>>-- Class per file options (UseClassPerFile: 1)
+ <<>>-- CLASS and FORM options
+ <<>>- Class per file options (UseClassPerFile: 1)
<<>>UseClassPerFile: 0 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files
<<>>RedirectClassPerFileToMain: 0 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
<<>>ClassPerFileCheck: 0 && 0=Don't check file.class.tx2 inclusion, 1=Check file.class.tx2 inclusion
<<>>
<<>>-- Example configuration for SourceSafe compatibility:
- <<>>extension: pj2=pja
- <<>>extension: vc2=vca
- <<>>extension: sc2=sca
- <<>>extension: fr2=fra
- <<>>extension: lb2=lba
- <<>>extension: mn2=mna
- <<>>extension: db2=dba
- <<>>extension: dc2=dca
+ <<>>extension: pj2=pja && Text file to PJX
+ <<>>extension: vc2=vca && Text file to VCX
+ <<>>extension: sc2=sca && Text file to SCX
+ <<>>extension: fr2=fra && Text file to FRX
+ <<>>extension: lb2=lba && Text file to LBX
+ <<>>extension: mn2=mna && Text file to MNX
+ <<>>extension: db2=dba && Text file to DBF
+ <<>>extension: dc2=dca && Text file to DBC
+ <<>>-- Additional extensions
+ <<>>extension: fk2=fkx && Text file to FKY
+ <<>>extension: me2=fkx && Text file to MEM
<<>>
<<>>
ENDTEXT
@@ -29415,7 +29506,10 @@ Define Class CL_LANG As Custom
<<>>
ENDTEXT
TEXT TO .C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg TEXTMERGE NOSHOW FLAGS 1 PRETEXT 1+2
+ <<>>################################################################################################################
<<>>FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
+ <<>>Version: <<_Screen.c_FB2PRG_EXE_Version>>
+ <<>>################################################################################################################
<<>>
<<>>extension: tx2=newext && Specify extensions to use. Default FoxBin2Prg extensions ends in '2' (see at the bottom)
<<>>ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
@@ -29440,6 +29534,8 @@ Define Class CL_LANG As Custom
<<>>FRX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>LBX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>MNX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+ <<>>FKY_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
+ <<>>MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
<<>>DBC_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>DBF_Conversion_Support: 1 && 0=No support, 1=Generate Header TXT only (Diff), 2=Generate Header TXT and BIN (Merge/Only Structure!), 4=Generate TXT with DATA (Diff), 8=Export and Import DATA (Merge/Structure & Data)
<<>>DBF_Conversion_Included: * && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
@@ -29447,6 +29543,9 @@ Define Class CL_LANG As Custom
<<>>
<<>>-- DBC options
<<>>- File per DBC options (UseFilesPerDBC: 1)
+ <<>>OldFilesPerDBC: 0 && 1=Turns the File per DBC options on, 0 uses the old UseClassPerFile etc settings.
+ <<>> && Options below will only read if OldFilesPerDBC is set 1 before!
+ <<>> && If OldFilesPerDBC is set 0 later, alle setting will be lost
<<>>UseFilesPerDBC: 0 && 0=One database dc2 file, 1=Multiple file.*.*.dc2 files
<<>> && 0 creates only a file.dc2 with all DBC (file) data
<<>> && 1 creates a file.dc2 with DBC properties
@@ -29457,20 +29556,24 @@ Define Class CL_LANG As Custom
<<>>DBF_BinChar_Base64: 1 && 0=For character type fields, if NoCPTrans 0=do not transform, 1=use Base64 transform (default)
<<>>DBF_IncludeDeleted: 0 && 0=Do not include deleted records (default), 1=Include deleted records
<<>>
- <<>>-- Class per file options (UseClassPerFile: 1)
+ <<>>-- CLASS and FORM options
+ <<>>- Class per file options (UseClassPerFile: 1)
<<>>UseClassPerFile: 0 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files
<<>>RedirectClassPerFileToMain: 0 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
<<>>ClassPerFileCheck: 0 && 0=Don't check file.class.tx2 inclusion, 1=Check file.class.tx2 inclusion
<<>>
<<>>-- Example configuration for SourceSafe compatibility:
- <<>>extension: pj2=pja
- <<>>extension: vc2=vca
- <<>>extension: sc2=sca
- <<>>extension: fr2=fra
- <<>>extension: lb2=lba
- <<>>extension: mn2=mna
- <<>>extension: db2=dba
- <<>>extension: dc2=dca
+ <<>>extension: pj2=pja && Text file to PJX
+ <<>>extension: vc2=vca && Text file to VCX
+ <<>>extension: sc2=sca && Text file to SCX
+ <<>>extension: fr2=fra && Text file to FRX
+ <<>>extension: lb2=lba && Text file to LBX
+ <<>>extension: mn2=mna && Text file to MNX
+ <<>>extension: db2=dba && Text file to DBF
+ <<>>extension: dc2=dca && Text file to DBC
+ <<>>-- Additional extensions
+ <<>>extension: fk2=fkx && Text file to FKY
+ <<>>extension: me2=fkx && Text file to MEM
<<>>
<<>>
ENDTEXT
@@ -29609,8 +29712,10 @@ Define Class CL_LANG As Custom
TEXT TO .C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg TEXTMERGE NOSHOW FLAGS 1 PRETEXT 1+2
<<>>################################################################################################################
<<>>FOXBIN2PRG.CFG Konfigurations Optionen: (Wird die Option nicht aufgefhrt, ist der Wert im Beispiel der Default)
+ <<>>Version: <<_Screen.c_FB2PRG_EXE_Version>>
+ <<>>
<<>> Achtung, die Konfigurationsdatein werden vererbt.
- <<>> 1. Defaultwerte
+ <<>> 1. Defaultwerte
<<>> 2., optional FOXBIN2PRG.CFG im Vereichnis aus dem FOXBIN2PRG.EXE startet
<<>> 3., optional FOXBIN2PRG.CFG in der Wurzel des Arbeitsverzeichnises
<<>> 4., optional FOXBIN2PRG.CFG in jedem Verzeichnis bis zum Arbeitsverzeichnis
@@ -29633,7 +29738,7 @@ Define Class CL_LANG As Custom
<<>>RemoveNullCharsFromCode: 1 && 0=Aus 1=Lsche NULL (CHR(0)) Zeichen aus dem Quellcode
<<>>RemoveZOrderSetFromProps: 0 && 0=Aus, 1=Entferne ZOrderSet Eigenschaft von Objekten
<<>>Language: (auto) && Sprache fr Anzeigen und Logs. EN=English, FR=Franais, ES=Espaol, DE=Deutsch, Nicht definiert = Automatisch [DEFAULT]
- <<>>ExcludeDBFAutoincNextval: 0 && 0=Aus, 1=Entferne diesen wert aus der Textdate der Datenbank (db2)
+ <<>>ExcludeDBFAutoincNextval: 0 && 0=Aus, 1=Entferne diesen Wert aus der Textdate der Datenbank (db2)
<<>>PRG_Compat_Level: 0 && [0=Legacy], 1=Nutze HELPSTRING als Class Procedure Kommentar
<<>>
<<>>----------------------------------------------------------------------------------------------------------------
@@ -29644,6 +29749,8 @@ Define Class CL_LANG As Custom
<<>>FRX_Conversion_Support: 2 && 0=Aus, 1=Erzeuge nur Textdatei (Diff), 2=Erzeuge Text- und Binrdatei (Merge)
<<>>LBX_Conversion_Support: 2 && 0=Aus, 1=Erzeuge nur Textdatei (Diff), 2=Erzeuge Text- und Binrdatei (Merge)
<<>>MNX_Conversion_Support: 2 && 0=Aus, 1=Erzeuge nur Textdatei (Diff), 2=Erzeuge Text- und Binrdatei (Merge)
+ <<>>FKY_Conversion_Support: 1 && 0=Aus, 1=Erzeuge nur Textdatei (Diff)
+ <<>>MEM_Conversion_Support: 1 && 0=Aus, 1=Erzeuge nur Textdatei (Diff)
<<>>DBC_Conversion_Support: 2 && 0=Aus, 1=Erzeuge nur Textdatei (Diff), 2=Erzeuge Text- und Binrdatei (Merge)
<<>>DBF_Conversion_Support: 1 && 0=Aus
<<>> && 1=Erzeuge Textdatei nur fr Struktur (Diff)
@@ -29659,11 +29766,14 @@ Define Class CL_LANG As Custom
<<>>----------------------------------------------------------------------------------------------------------------
<<>>-- Optionen fr DBC
<<>>- Optionen fr Datei per DBC options (UseFilesPerDBC: 1)
+ <<>>OldFilesPerDBC: 0 && 1=Die unten stehenden DBC Optionen werden aktiviert, 0=Die UseClassPerFile settings werden genutzt.
+ <<>> && Die unten stehenden Optionen werden nur gelesen, wenn OldFilesPerDBC vorher 1 ist!
+ <<>> && Wird OldFilesPerDBC wieder auf 0 gesetzt, gehen diese Einstellungen verloren.
<<>>UseFilesPerDBC: 0 && 0=Erzeuge eine dc2 Datei, 1=Erzeuge mehrfache Dateien.*.*.dc2
<<>> && 0 Erzeugt eine Datei .db2 mit allem Inhalt der DBC
<<>> && 1 Erzeugt eine Datei .dc2 mit den Eigenschaften der Datenbank
<<>> && und zustzlich eine Datei fr jedes Item der Datenbank (Gespeicherte Prozeduren, Tabellen, Views, ..)
- <<>> && Achtung! Diese Dateien werden nmur dann in die Bindatei einbezogen, wenn RedirectFilePerDBCToMain 1 ist
+ <<>> && Achtung! Diese Dateien werden nur dann in die Bindatei einbezogen, wenn RedirectFilePerDBCToMain 1 ist
<<>>RedirectFilePerDBCToMain 0 && Originale Dokumntation: 0=Keine Umlenkung, 1=Erzeuge .dbc, wenn .item.*.dc2 gewhlt wurde
<<>> && Die Bimr-Datenbank wird nur dann automatisch zusammen gefgt, wenn diese Option 1 ist!
<<>>ItemPerDBCCheck: 0 && 0=Aus, 1=Teste, ob .item.*.dc2 einbezogen wird.
@@ -29677,7 +29787,9 @@ Define Class CL_LANG As Custom
<<>> && Diese Option kann auch per Tabelle gesetzt werden.
<<>>
<<>>----------------------------------------------------------------------------------------------------------------
- <<>>-- Optionen fr Datei per Klasse (UseClassPerFile: 1) (fr VCX: vc2, fr SCX: sc2)
+ <<>>
+ <<>>-- Optionen fr CLASS und FORM
+ <<>>- Optionen fr Datei per Klasse (UseClassPerFile: 1) (fr VCX: vc2, fr SCX: sc2)
<<>>UseClassPerFile: 0 && 0=Eine Textdatei pro VCX/SCX, 1=Mehrere Dateien .KlassenName.vc2 files, 2=Mehrere Dateien .Basisklasse.KlassenName.vc2
<<>> && Fr 1, 2 wird jeweils auch ein Headerdatei .vc2 erzeugt
<<>>RedirectClassPerFileToMain: 0 && 0=Keine Umlenkung, 1=Klassen (und Objekte) werden in die VCX/SCX geschrieben wenn eine Datei [.Basisklasse].KlassenName.vc2 gewhlt wurde
@@ -29685,14 +29797,17 @@ Define Class CL_LANG As Custom
<<>>
<<>>----------------------------------------------------------------------------------------------------------------
<<>>-- Beispiel fr genderte Textdatei Endungen, hier fr SourceSafe Kompatibiltt:
- <<>>extension: pj2=pja
- <<>>extension: vc2=vca
- <<>>extension: sc2=sca
- <<>>extension: fr2=fra
- <<>>extension: lb2=lba
- <<>>extension: mn2=mna
- <<>>extension: db2=dba
- <<>>extension: dc2=dca
+ <<>>extension: pj2=pja && Text Datei fr PJX
+ <<>>extension: vc2=vca && Text Datei fr VCX
+ <<>>extension: sc2=sca && Text Datei fr SCX
+ <<>>extension: fr2=fra && Text Datei fr FRX
+ <<>>extension: lb2=lba && Text Datei fr LBX
+ <<>>extension: mn2=mna && Text Datei fr MNX
+ <<>>extension: db2=dba && Text Datei fr DBF
+ <<>>extension: dc2=dca && Text Datei fr DBC
+ <<>>-- Zustzliche Endungen
+ <<>>extension: fk2=fkx && Text Datei fr FKY
+ <<>>extension: me2=fkx && Text Datei fr MEM
<<>>
<<>>
ENDTEXT
@@ -29837,7 +29952,10 @@ Define Class CL_LANG As Custom
<<>>
ENDTEXT
TEXT TO .C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg TEXTMERGE NOSHOW FLAGS 1 PRETEXT 1+2
+ <<>>################################################################################################################
<<>>FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
+ <<>>Version: <<_Screen.c_FB2PRG_EXE_Version>>
+ <<>>################################################################################################################
<<>>
<<>>extension: tx2=newext && Specify extensions to use. Default FoxBin2Prg extensions ends in '2' (see at the bottom)
<<>>ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
@@ -29862,6 +29980,8 @@ Define Class CL_LANG As Custom
<<>>FRX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>LBX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>MNX_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
+ <<>>FKY_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
+ <<>>MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
<<>>DBC_Conversion_Support: 2 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
<<>>DBF_Conversion_Support: 1 && 0=No support, 1=Generate Header TXT only (Diff), 2=Generate Header TXT and BIN (Merge/Only Structure!), 4=Generate TXT with DATA (Diff), 8=Export and Import DATA (Merge/Structure & Data)
<<>>DBF_Conversion_Included: * && If DBF_Conversion_Support:4, you can specify multiple filemasks: www,fb2p_free.dbf
@@ -29869,6 +29989,9 @@ Define Class CL_LANG As Custom
<<>>
<<>>-- DBC options
<<>>- File per DBC options (UseFilesPerDBC: 1)
+ <<>>OldFilesPerDBC: 0 && 1=Turns the File per DBC options on, 0 uses the old UseClassPerFile etc settings.
+ <<>> && Options below will only read if OldFilesPerDBC is set 1 before!
+ <<>> && If OldFilesPerDBC is set 0 later, alle setting will be lost
<<>>UseFilesPerDBC: 0 && 0=One database dc2 file, 1=Multiple file.*.*.dc2 files
<<>> && 0 creates only a file.dc2 with all DBC (file) data
<<>> && 1 creates a file.dc2 with DBC properties
@@ -29879,20 +30002,24 @@ Define Class CL_LANG As Custom
<<>>DBF_BinChar_Base64: 1 && 0=For character type fields, if NoCPTrans 0=do not transform, 1=use Base64 transform (default)
<<>>DBF_IncludeDeleted: 0 && 0=Do not include deleted records (default), 1=Include deleted records
<<>>
- <<>>-- Class per file options (UseClassPerFile: 1)
+ <<>>-- CLASS and FORM options
+ <<>>- Class per file options (UseClassPerFile: 1)
<<>>UseClassPerFile: 0 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files
<<>>RedirectClassPerFileToMain: 0 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
<<>>ClassPerFileCheck: 0 && 0=Don't check file.class.tx2 inclusion, 1=Check file.class.tx2 inclusion
<<>>
<<>>-- Example configuration for SourceSafe compatibility:
- <<>>extension: pj2=pja
- <<>>extension: vc2=vca
- <<>>extension: sc2=sca
- <<>>extension: fr2=fra
- <<>>extension: lb2=lba
- <<>>extension: mn2=mna
- <<>>extension: db2=dba
- <<>>extension: dc2=dca
+ <<>>extension: pj2=pja && Text file to PJX
+ <<>>extension: vc2=vca && Text file to VCX
+ <<>>extension: sc2=sca && Text file to SCX
+ <<>>extension: fr2=fra && Text file to FRX
+ <<>>extension: lb2=lba && Text file to LBX
+ <<>>extension: mn2=mna && Text file to MNX
+ <<>>extension: db2=dba && Text file to DBF
+ <<>>extension: dc2=dca && Text file to DBC
+ <<>>-- Additional extensions
+ <<>>extension: fk2=fkx && Text file to FKY
+ <<>>extension: me2=fkx && Text file to MEM
<<>>
<<>>
ENDTEXT