diff --git a/Documentacion/github/.gitignore b/Documentacion/github/.gitignore new file mode 100644 index 0000000..a923fe1 --- /dev/null +++ b/Documentacion/github/.gitignore @@ -0,0 +1,11 @@ +# we use the exclude-all-include-special approach, easier then excluding any odd stuff later +#exclude general +*.* + +#include general +# docs +!*.md + +#include special +#default git +!*.gitignore diff --git a/Documentacion/github/FoxBin2Prg_Changes.md b/Documentacion/github/FoxBin2Prg_Changes.md index 9a87462..dedf1a3 100644 --- a/Documentacion/github/FoxBin2Prg_Changes.md +++ b/Documentacion/github/FoxBin2Prg_Changes.md @@ -32,11 +32,12 @@ _**Note:** you can click on the version number for downloading this version from | Rel.Date | Developer | Version | Details | | - | - | - | - | -| 21/02/2021 | Lutz Scheffler | | added option to create config file template | +| 21/02/2021 | Lutz Scheffler | | Documentation from CodePlex integrated | +| | Lutz Scheffler | | added option to create config file template | +| | Lutz Scheffler | | Info screen-doc improved | | | Lutz Scheffler | | German translation improved | | 20/02/2021 | Lutz Scheffler | | inserted option DBF_IncludeDeleted to allow including deleted records of DBF | | 19/02/2021 | Lutz Scheffler | | inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way | -| | Lutz Scheffler | | the three above are straight forward, so no extra comment ar within the code | | 15/02/2021 | Lutz Scheffler | | inserted option ItemPerDBCCheck to split DBC processing from vcx / scx | | | Lutz Scheffler | | inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx | | 14/02/2021 | Lutz Scheffler | | inserted option UseFilesPerDBC to split DBC processing from vcx / scx | diff --git a/Documentacion/github/pictures/.gitignore b/Documentacion/github/pictures/.gitignore new file mode 100644 index 0000000..c26aa05 --- /dev/null +++ b/Documentacion/github/pictures/.gitignore @@ -0,0 +1,12 @@ +# we use the exclude-all-include-special approach, easier then excluding any odd stuff later +#exclude general +*.* + +#include general +#grafics +!*.gif +!*.png + +#include special +#default git +!*.gitignore diff --git a/Documentacion/github/pictures/FoxBin2Prg Full Change History_vfpxreleasesmall.png b/Documentacion/github/pictures/FoxBin2Prg Full Change History_vfpxreleasesmall.png deleted file mode 100644 index d3c45b1..0000000 Binary files a/Documentacion/github/pictures/FoxBin2Prg Full Change History_vfpxreleasesmall.png and /dev/null differ diff --git a/README.md b/README.md index 5960eca..ad5496f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,57 @@ +# FoxBin2Prg v1.19.xx - Binary/Text Converting program for Microsoft Visual FoxPro 9 +![](https://vfpx.github.io/images/vfpxbanner_small.gif) +## This fork + This is a fork of [Fernando D. Bozzo](https://github.com/fdbozzo) [foxbin2prg](https://github.com/fdbozzo/foxbin2prg/). +It's main purpose it's to fix some bugs and recreate the documentation this project had on CodePlex. +There was a need of some functionality too. Some off the mods may ore may not seen as bug fixes. + + To get the new settings in config file, use the new create-a-template function: + +``` +DO FOXBIN2PRG.PRG WITH "-c","template.cfg" ==> Generates a template for FoxBin2Prg.cfg config file with newest settings +DO FOXBIN2PRG.PRG WITH "-t","template.dbf.cfg" ==> Generates a template for table.dbf.cfg per table config file with newest settings +``` + + The major break is the split of the handling of DBC from VCX/SCX. +If DBC's where splited into single files using _UseClassPerFile_, +the new settings around _UseFilesPerDBC_ must be used. See [Intenals](./Documentacion/github/FoxBin2prg_Internals.md#configuration-file). + + The function _DBF_BinChar_Base64: 0_ must be handled with care too. +Tables must converted to _Text_ according. **It's not recommended for running projects.** + +The data added by _DBF_IncludeDeleted: 1_ will be ignored by old versions. + + + It's a good idea to have the FoxBin2Prg.cfg per projekt and and source control anyway, old commits / versions would have the old config. +So teh settings would fit the data. + +### Fixes (fixes only are in the fork branch of this repo) + +| Details | +| - | +| conversion prg -> vcx, files per class could create one class multiple times | +| processing directory, flush log file after loop instead of file | +| conversion prg -> dbf, fields with .NULL. value are incorectly recreated | +| minor translations | +| conversion dbf -> prg, error if only test mode (toFoxBin2Prg.l_ProcessFiles is false) | +### Mods + +| Details | +| - | +| Documentation from CodePlex integrated | +| German translation improved | +| Info screen-doc improved | +| inserted option DBF_IncludeDeleted to allow including deleted records of DBF | +| inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way | +| inserted option ItemPerDBCCheck to split DBC processing from vcx / scx | +| inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx | +| inserted option UseFilesPerDBC to split DBC processing from vcx / scx | + + There is a the reworked [documentation](./Documentacion/github/FoxBin2prg.md) from CodePlex available. + +--- +--- + ## FoxBin2Prg v1.19.xx - Binary/Text Conversor for Microsoft Visual FoxPro 9 ### Fernando D. Bozzo @@ -10,10 +64,6 @@ Thank you for your support! -## Remark -There is an extended [documentation](./Documentacion/github/FoxBin2prg.md) available. - - ## ENGLISH/ESPAÑOL ### ENGLISH @@ -57,11 +107,11 @@ extension: DC2=DCA ### USE: ``` -DO FOXBIN2PRG.PRG WITH "\archivo.scx" ==> Generates the TEXT version sc2 extension -DO FOXBIN2PRG.PRG WITH "\archivo.sc2" ==> Regenerates the binary version with scx extension +DO FOXBIN2PRG.PRG WITH "\archivo.scx" ==> Generates the TEXT version sc2 extension +DO FOXBIN2PRG.PRG WITH "\archivo.sc2" ==> Regenerates the binary version with scx extension -DO FOXBIN2PRG.PRG WITH "-c","template.cfg" ==> Generates a template for FoxBin2Prg.cfg config file with newest settings -DO FOXBIN2PRG.PRG WITH "-t","template.dbf.cfg" ==> Generates a template for table.dbf.cfg per table config file with newest settings +DO FOXBIN2PRG.PRG WITH "-c","template.cfg" ==> Generates a template for FoxBin2Prg.cfg config file with newest settings +DO FOXBIN2PRG.PRG WITH "-t","template.dbf.cfg" ==> Generates a template for table.dbf.cfg per table config file with newest settings ``` ### USEFUL SETUP: diff --git a/foxbin2prg.prg b/foxbin2prg.prg index 697d8c0..e640754 100644 --- a/foxbin2prg.prg +++ b/foxbin2prg.prg @@ -236,10 +236,12 @@ * 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 ar within the code +* 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