Enhancement to config

Stuff mainly to adress run regeneration of FoxBin2Prg out of itself
This commit is contained in:
Lutz
2023-08-30 22:06:51 +02:00
parent 8c9d7e37a5
commit af6db043ed
16 changed files with 807 additions and 34104 deletions

View File

@@ -1,9 +1,14 @@
# How to contribute to FoxBin2Prg # How to contribute to FoxBin2Prg
## Bug report? ## Bug report?
- Please check [issues](https://github.com/fdbozzo/foxbin2prg/issues) if the bug is reported - Please check [issues](https://github.com/lscheffler/foxbin2prg/issues) if the bug is reported
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. - If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
- Please add your current configuration creating a config file via `DO FOXBIN2PRG.PRG WITH '-C','path-to-source\FoxBin.cfg'`. **Do not include your normal config** - Please add your current configuration creating a config file via
```
CD 'path-to-source'
DO FOXBIN2PRG.PRG WITH '-C','FoxBin.cfg'
```
**Do not include your normal config**
### Did you write a patch that fixes a bug? ### Did you write a patch that fixes a bug?
- Open a new GitHub merge request with the patch. - Open a new GitHub merge request with the patch.
@@ -31,46 +36,44 @@ Stuff is a bit scattered, so this is where to look up.
1. Please create a fork at github 1. Please create a fork at github
- See this [guide](https://www.dataschool.io/how-to-contribute-on-github/) for setting up and using a fork - See this [guide](https://www.dataschool.io/how-to-contribute-on-github/) for setting up and using a fork
- If allready forked, pull the recent state, or get most recent version otherwise. - If allready forked, pull the recent state, or get most recent version otherwise.
2. On top of _FoxBin2Prg.prg_ there are two version numbers: 2. clonr from https://github.com/lscheffler/foxbin2prg.
**Note: If you have cloned the project, you must run it against itself to create the binaries and exes.**
```
CD "path_to_FoxBin2Prg"
*This uses a special configuration
DO ReCreate_FoxBin2Prg.prg
```
**Note: Do not run FoxBin2Prg.prg directly.**
3. On top of _FoxBin2Prg.prg_ there are two version numbers:
`#DEFINE DN_FB2PRG_VERSION 1.20` `#DEFINE DN_FB2PRG_VERSION 1.20`
`#DEFINE DC_FB2PRG_VERSION_REAL '1.20.00'` `#DEFINE DC_FB2PRG_VERSION_REAL '1.20.00'`
3. Please set the **minor** part of _DC_FB2PRG_VERSION_REAL_ to a new number. 4. Please set the **minor** part of _DC_FB2PRG_VERSION_REAL_ to a new number.
**Do not** alter the **1.20** part. This is written to the text files. **Do not** alter the **1.20** part. This is written to the text files.
Alteration might force that the files must be newly commited, what is not everybodies taste. Alteration might force that the files must be newly commited, what is not everybodies taste.
4. Add a meaningfull description of the change in the changes list on top of _FoxBin2Prg.prg_. 5. Add a meaningfull description of the change in the changes list on top of _FoxBin2Prg.prg_.
The most recent entries for changes in the middle of this section around _* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>_, The most recent entries for changes in the middle of this section around _* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>_,
The most recent bugs are listed above _* </TESTEO Y REPORTE DE BUGS (AGRADECIMIENTOS)>_ The most recent bugs are listed above _* </TESTEO Y REPORTE DE BUGS (AGRADECIMIENTOS)>_
5. Alter version in _README.md_ 6. Alter version in _README.md_
6. Add a description to _docs\ChangeLog.md_ 7. Add a description to _docs\ChangeLog.md_
7. If a change to the config files is made please add the description to the various properties (multi lang) 8. If a change to the config files is made please add the description to the various properties (multi lang)
- _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg:_ for general settings - _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_cfg:_ for general settings
- _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_tab_cfg:_ for settings per table - _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_tab_cfg:_ for settings per table
8. If a change to the parameters is made, change _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_ properties. 9. If a change to the parameters is made, change _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_ properties.
9. For changed functionality, add descriptive text on the appropriate _.md_ file in _docs_ folder. 1. For changed functionality, add descriptive text on the appropriate _.md_ file in _docs_ folder.
10. Please alter the footer of \*.md files touched to recent date. 11. Please alter the footer of \*.md files touched to recent date.
11. Create a template _foxbin2prg.cfg.txt_ for general settings or _foxbin2prg.dbf.cfg.txt_ for the settings per table.
- Do this even if no change to the setting to change the version number inside this files.
- Or change version number in those files manually
- **Note**. If you are not on an English comp, set the value _Language: EN_ in your local _foxbin2prg.cfg_ to create English files.
- run like:
```
CD Path_Top_Project
DO FoxBin2Prg.prg WITH "-c","foxbin2prg.cfg.txt"
DO FoxBin2Prg.prg WITH "-t","foxbin2prg.dbc.txt"
```
12. Alter the version number for the EXE to the version used above. 12. Alter the version number for the EXE to the version used above.
13. Compile to EXE **in VFP9 SP2** 13. Create the text representation of the binary sources running like
14. Create the text representation of the binary sources running like
``` ```
CD "path_to_FoxBin2Prg" CD "path_to_FoxBin2Prg"
*This uses a special configuration *This uses a special configuration
DO Create_FoxBin2Prg.prg DO Create_FoxBin2Prg.prg
``` ```
15. commit **Note: Do not run FoxBin2Prg.prg directly.**
16. push to your fork 14. commit
17. create a pull request 15. push to your fork
16. create a pull request
Thanks Thanks
---- ----
Last changed: _2023/08/27_ Last changed: _2023/08/30_

View File

@@ -1,32 +1,6 @@
LOCAL ARRAY;
laDir[1]
LOCAL;
llReplace
IF ADIR(laDir,'FoxBin2Prg.cfg')>0 THEN
DELETE FILE xFoxBin2Prg.cfg
RENAME FoxBin2Prg.cfg TO xFoxBin2Prg.cfg
llReplace = .T.
ENDIF &&ADIR(laDir,,'FoxBin2Prg.cfg')>0
COPY FILE Create_Config.cfg TO FoxBin2Prg.cfg
*Create config templates *Create config templates
*!* DO FoxBin2Prg.prg WITH "-c","foxbin2prg.cfg.txt",FULLPATH("","")+"Create_FoxBin2Prg.cfg" DO FoxBin2Prg.prg WITH "-c","foxbin2prg.cfg.txt",FULLPATH("Create_FoxBin2Prg.cfg","")
*!* DO FoxBin2Prg.prg WITH "-t","foxbin2prg.dbc.txt",FULLPATH("","")+"Create_FoxBin2Prg.cfg" DO FoxBin2Prg.prg WITH "-t","foxbin2prg.dbc.txt",FULLPATH("Create_FoxBin2Prg.cfg","")
DO FoxBin2Prg.prg WITH "-c","foxbin2prg.cfg.txt"
DO FoxBin2Prg.prg WITH "-t","foxbin2prg.dbc.txt"
*Create all FoxBin2Prg files to there text to commit them *create binaries
DO FOXBIN2PRG.PRG WITH JUSTPATH(FULLPATH("","")),"Bin2Prg",,,,,,,,,FULLPATH("Create_FoxBin2Prg.cfg","")
DELETE FILE FoxBin2Prg.cfg
COPY FILE Create_FoxBin2Prg.cfg TO FoxBin2Prg.cfg
*!* DO FOXBIN2PRG.PRG WITH JUSTPATH(FULLPATH("","")),"Bin2Prg",,,,,,,,,FULLPATH("","")+"Create_FoxBin2Prg.cfg"
DO FOXBIN2PRG.PRG WITH JUSTPATH(FULLPATH("","")),"Bin2Prg"
DELETE FILE FoxBin2Prg.cfg
IF m.llReplace THEN
RENAME xFoxBin2Prg.cfg TO FoxBin2Prg.cfg
ENDIF &&llReplace

View File

@@ -1,4 +1,4 @@
# FoxBin2Prg 1.20.00 # FoxBin2Prg 1.20.01
**Binary/Text Converting program for Microsoft Visual FoxPro** **Binary/Text Converting program for Microsoft Visual FoxPro**
## Lutz Scheffler ## Lutz Scheffler
@@ -10,15 +10,14 @@ I now maintain only [this project](https://github.com/lscheffler/foxbin2prg), ht
The spanish documentation is not longer maintained - it would fade. The spanish documentation is not longer maintained - it would fade.
Remind yourself to compile the exe first. Remind yourself to compile the exe first.
## Regenerate after download / clone ## Regenerate after download / clone / pull
**Note: If you have cloned the project, you must run it against itself to create the binaries ane exes.** **Note: If you have cloned the project, you must run it against itself to create the binaries and exes.**
1. Run Run
``` ```
CD "path_to_FoxBin2Prg" CD "path_to_FoxBin2Prg"
*This uses a special configuration *This uses a special configuration
DO ReCreate_FoxBin2Prg.prg DO ReCreate_FoxBin2Prg.prg
``` ```
2. Create the exe by compiling the pjx
--- ---
If you like to value my work, support the Geeks at If you like to value my work, support the Geeks at
@@ -154,4 +153,4 @@ See [issue #93](https://github.com/fdbozzo/foxbin2prg/issues/93).
## Usage ## Usage
For usage see [documentation](./docs/FoxBin2Prg.md) For usage see [documentation](./docs/FoxBin2Prg.md)
Last changed: _2023-08-27_ Last changed: _2023-08-30_

View File

@@ -1,20 +1,6 @@
*ReCreate all FoxBin2Prg files from there text representation and compile *ReCreate all FoxBin2Prg files from there text representation and compile
LOCAL ARRAY;
laDir[1]
LOCAL; DO FoxBin2Prg.PRG WITH JUSTPATH(FULLPATH("","")),"Prg2Bin",,,,,,,,,FULLPATH("Create_FoxBin2Prg.cfg","")
llReplace
IF ADIR(laDir,'FoxBin2Prg.cfg')>0 THEN
DELETE FILE xFoxBin2Prg.cfg
RENAME FoxBin2Prg.cfg TO xFoxBin2Prg.cfg
llReplace = .T.
ENDIF &&ADIR(laDir,,'FoxBin2Prg.cfg')>0
COPY FILE Create_FoxBin2Prg.cfg TO FoxBin2Prg.cfg
*!* DO FoxBin2Prg.PRG WITH JUSTPATH(FULLPATH("","")),"Prg2Bin",,,,,,,,,FULLPATH("","")+"Create_FoxBin2Prg.cfg"
DO FoxBin2Prg.PRG WITH JUSTPATH(FULLPATH("","")),"Prg2Bin"
BUILD PROJECT FoxBin2Prg.EXE FROM FoxBin2Prg.pjx RECOMPILE BUILD PROJECT FoxBin2Prg.EXE FROM FoxBin2Prg.pjx RECOMPILE
@@ -27,7 +13,3 @@ BUILD PROJECT FileName_Caps.EXE FROM FileName_Caps.pjx RECOMPILE
COPY FILE FileName_Caps.EXE TO ..\FileName_Caps.EXE COPY FILE FileName_Caps.EXE TO ..\FileName_Caps.EXE
CD .. CD ..
DELETE FILE FoxBin2Prg.cfg
IF m.llReplace THEN
RENAME xFoxBin2Prg.cfg TO FoxBin2Prg.cfg
ENDIF &&llReplace

Binary file not shown.

Binary file not shown.

View File

@@ -24,6 +24,11 @@ _**Note:** you can click on the version number for downloading this version from
| Rel.Date | Developer | Version | Details | | Rel.Date | Developer | Version | Details |
| - | - | - | - | | - | - | - | - |
| 2023/08/30 | LScheffler | [v1.20.01](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.20.01) | **Bug Fix**: Some values of config file would not be read, if the inline comment "&&" was not in the line (LScheffler) |
| | | | **Bug Fix**: Bug Fix: config file set by parameter would be ignored, if the folder contains FoxBin2Prg.cfg (LScheffler) |
| | | | **Bug Fix**: Bug Fix: Fixed problems with table config files (LScheffler) |
| | | | **Enhancement**: For config file template new options to set config file and debug added |
| | | | **Enhancement**: New option for parameter set config file to control the use of "regular" config files |
| 2023/08/27 | LScheffler | [v1.20.00](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.20.00) | **Enhancement**: Source now ships without binary source files. See [README.md](../README.md) how to regenerate. | | 2023/08/27 | LScheffler | [v1.20.00](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.20.00) | **Enhancement**: Source now ships without binary source files. See [README.md](../README.md) how to regenerate. |
| 2023/08/26 | LScheffler | [v1.20.00](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.20.00) | **Bug Fix**: Issues with form charsets ( national letters in form and controls Caption field) (KestasL) <br /> This fixes also: Forms with ole controls conversion error (also: any vcx) #95 (KestasL) | | 2023/08/26 | LScheffler | [v1.20.00](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.20.00) | **Bug Fix**: Issues with form charsets ( national letters in form and controls Caption field) (KestasL) <br /> This fixes also: Forms with ole controls conversion error (also: any vcx) #95 (KestasL) |
| | | | **Enhancement**: Added option to return version number | | | | | **Enhancement**: Added option to return version number |

View File

@@ -22,6 +22,16 @@ As far as possible these are the original documents. Changes are added where fun
## Source ## Source
Original repository at https://github.com/lscheffler/foxbin2prg. Original repository at https://github.com/lscheffler/foxbin2prg.
## Download
Regenerate after download / clone / pull from https://github.com/lscheffler/foxbin2prg.
**Note: If you have cloned the project, you must run it against itself to create the binaries and exes.**
Run
```
CD "path_to_FoxBin2Prg"
*This uses a special configuration
DO ReCreate_FoxBin2Prg.prg
```
## Requirements ## Requirements
- A copy of MS VFP9 SP1, at least _3504_ - A copy of MS VFP9 SP1, at least _3504_
- Runs with VFPA (Note, you need to recompile the EXE or use the PRG) - Runs with VFPA (Note, you need to recompile the EXE or use the PRG)

View File

@@ -110,10 +110,12 @@ These are the FoxBin2Prg.cfg configuration file settings and their meaning:
| ShowProgressbar | 0, _1_, 2 | 0=Don't show progressbar,<br/>1=Always show a progress bar,<br/>2=Only show it when processing multiple-files | | ShowProgressbar | 0, _1_, 2 | 0=Don't show progressbar,<br/>1=Always show a progress bar,<br/>2=Only show it when processing multiple-files |
| DontShowErrors | _0_, 1 | 0=show message errors in a modal messagebox. (default)<br/>1=don't show errors | | DontShowErrors | _0_, 1 | 0=show message errors in a modal messagebox. (default)<br/>1=don't show errors |
| ExtraBackupLevels | 0, _1_, n | <br/>0=No backup<br/>1=One backupfile _\_filename\_.BAK_ (default)<br/>n=n levels of backup in style _\_filename\_.n.BAK_ | | ExtraBackupLevels | 0, _1_, n | <br/>0=No backup<br/>1=One backupfile _\_filename\_.BAK_ (default)<br/>n=n levels of backup in style _\_filename\_.n.BAK_ |
| Debug | _0_, 1, 2 | 0=Off<br/>1=Normal<br/>2=Extended<br/>By default, don't generate individual <file>.Log with process hints.<br/>Activate with "1" to find possible error causes and for debugging,<br/>"2" is special logging | | Debug | _0_, 1, 2 | 0=Off<br/>1=Normal<br/>2=Extended<br/>By default, don't generate individual \<file\>.Log with process hints.<br/>Activate with "1" to find possible error causes and for debugging,<br/>"2" is special logging |
| BackgroundImage | <cFile> | Backgroundimage for process form | | BackgroundImage | \<cFile\> | Backgroundimage for process form |
| HomeDir | 0, _1_ | 0=don't save HomeDir in PJ2,<br/>1=save HomeDir in PJ2.<br/>Setting this to 0 prevents the PJ2 file from changing just because two developers have the project in different folders | | HomeDir | 0, _1_ | 0=don't save HomeDir in PJ2,<br/>1=save HomeDir in PJ2.<br/>Setting this to 0 prevents the PJ2 file from changing just because two developers have the project in different folders |
||| |||
| AllowInheritance | 0, _1_ | 0=Not allow scanning "regular" config files,<br/>1=Allow scanning "regular" config files.<br/>This is valid only for config files that are parameters of FoxBin2Prg. |
|||
| XXX_Conversion_Support | n | Defines the conversion operation per filetype | | XXX_Conversion_Support | n | Defines the conversion operation per filetype |
| | | For code:<br/> 0=No support,<br/>1=Generate _Text_ (Diff),<br/>2=Generate _Text_ and _Bin_ (Merge) | | | | For code:<br/> 0=No support,<br/>1=Generate _Text_ (Diff),<br/>2=Generate _Text_ and _Bin_ (Merge) |
| | | For complex data:<br/> (PJX / DBC / DBF): 0=No support,<br/>1=Generate Header _Text_ only (Diff),<br/>2=Generate Header _Text_ and _Bin_ (Merge/Only Structure!),<br/>4=Generate _Text_ with DATA (Diff),<br/>8=Export and Import DATA (Merge/Structure & Data) | | | | For complex data:<br/> (PJX / DBC / DBF): 0=No support,<br/>1=Generate Header _Text_ only (Diff),<br/>2=Generate Header _Text_ and _Bin_ (Merge/Only Structure!),<br/>4=Generate _Text_ with DATA (Diff),<br/>8=Export and Import DATA (Merge/Structure & Data) |
@@ -256,7 +258,7 @@ Views and Relations. All this to minimize the differences when diffing DBCs that
</FIELD_ORDER> </FIELD_ORDER>
```` ````
### PAM Section ### PAM Section
This section is generated for classes and forms, it is delimited with the <DefinedPropArrayMethod> tag, This section is generated for classes and forms, it is delimited with the \<DefinedPropArrayMethod\> tag,
and have the definition of Properties, Arrays and Methods, with their comments, like this example: and have the definition of Properties, Arrays and Methods, with their comments, like this example:
```` ````
DEFINE CLASS c1 AS custom OLEPUBLIC && Description of "c1" class DEFINE CLASS c1 AS custom OLEPUBLIC && Description of "c1" class
@@ -344,7 +346,7 @@ Example of multiple file masks (separte with ","):
```` ````
### Configuration per table ### Configuration per table
New <filename.dbf.cfg> configuration options. See [Configuration file per table](#configuration-file-per-table). New \<filename.dbf.cfg> configuration options. See [Configuration file per table](#configuration-file-per-table).
These options can be used in any combination inside a dbf particular cfg file, These options can be used in any combination inside a dbf particular cfg file,
if you create a text file using your dbf filename and adding ".cfg". if you create a text file using your dbf filename and adding ".cfg".
@@ -740,4 +742,4 @@ For options on integrating FoxBin2Prg with SCM tools, look at this topic:
See [FoxBin2Prg and use with git](./FoxBin2Prg_git.md) See [FoxBin2Prg and use with git](./FoxBin2Prg_git.md)
---- ----
Last changed: _2023/08/26_ Last changed: _2023/08/30_

View File

@@ -93,7 +93,7 @@ just select and process each one independently, in parallel if you like, but in
| cRecompile | 0, _1_ | Indicates recompile ('1') the _Binary_ once generated. <br/> True if called from SCCAPI (SCCTEXT.PRG) compatibility mode. | | cRecompile | 0, _1_ | Indicates recompile ('1') the _Binary_ once generated. <br/> True if called from SCCAPI (SCCTEXT.PRG) compatibility mode. |
| | path | The _Binary_ is compiled from this path | | | path | The _Binary_ is compiled from this path |
| cNoTimestamps | 0, _1_ | Indicates if timestamp must be cleared ('1' or empty) or not ('0') | | cNoTimestamps | 0, _1_ | Indicates if timestamp must be cleared ('1' or empty) or not ('0') |
| cCFG_File | filename | Indicates a CFG filename for not using the default on foxbin2prg directory or path. | | cCFG_File | filename | Indicates a special CFG filename for default values.<br/>Note, if the "regular" config files are used or not, is controlled by the setting *AllowInheritance* in *this** file. |
| cOutputFolder | folder | Optional. A folder to write the output to. If not used, output be the source path. | | cOutputFolder | folder | Optional. A folder to write the output to. If not used, output be the source path. |
#### Note #1 #### Note #1
@@ -108,8 +108,8 @@ on which fixed parameters must be in the shortcut.
The filename is an external variable parameter received when SendingTo FoxBin2Prg with right-click on File Manager. The filename is an external variable parameter received when SendingTo FoxBin2Prg with right-click on File Manager.
### Usage 2 ### Usage 2
`FoxBin2Prg.EXE [cCt [cOutputFile]]` `FoxBin2Prg.EXE c|C|t [OutFileName [ cCFG_File[ cDebug]]]`
`DO FoxBin2Prg.EXE WITH ["-cCt" [,cOutputFile]]` `DO FoxBin2Prg.EXE WITH -c|-C|-t [, OutFileName [, cCFG_File[, cDebug]]]`
| Parameter | Description | | Parameter | Description |
| ----- | ----- | | ----- | ----- |
@@ -118,7 +118,18 @@ The filename is an external variable parameter received when SendingTo FoxBin2Pr
| -C (C) | creates a config-file _cOutputFile_ ( like FOXBIN2PRG.CFG ) with the recent options used on the path of cOutputFile | | -C (C) | creates a config-file _cOutputFile_ ( like FOXBIN2PRG.CFG ) with the recent options used on the path of cOutputFile |
| | If cOutputFile is empty, a file FOXBIN2PRG.\_CFG will be created in default foder. | | | If cOutputFile is empty, a file FOXBIN2PRG.\_CFG will be created in default foder. |
| -t (t) | creates a template table-config-file _cOutputFile_ ( like \_TableName\_.dbf.cfg ) | | -t (t) | creates a template table-config-file _cOutputFile_ ( like \_TableName\_.dbf.cfg ) |
| | If cOutputFile is empty and a table is open is workarea, a file \<tablename\>.CFG will be created in table foder. | | cCFG_File | Indicates a special CFG filename for default values<br/>Note, if the "regular" config files are used orn not, is controlled by the setting *AllowInheritance* in *this** file. |
| cDebug | '1' for generating process LOGs, stop on errors |
### Usage 3
`FOXBIN2PRG.EXE VERNO`
`DO FOXBIN2PRG.EXE WITH "VERNO"|cPara`
| Parameter | Description |
| ----- | ----- |
| -VERNO (VERNO) | Return version number of FoxBin2Prg |
| cPara | A parameter with the Value "VERNO", the version number is returned to this parameter |
#### Note #### Note
From command line the call with paramters like -c, -C -t is not possible. Those parameters will be removed by VFP itself. From command line the call with paramters like -c, -C -t is not possible. Those parameters will be removed by VFP itself.
@@ -167,4 +178,4 @@ FoxBin2Prg - Text2Binary.lnk <path>\foxbin2prg.exe "PRG2BIN-SHOWMSG"
FoxBin2Prg.lnk <path>\foxbin2prg.exe "INTERACTIVE-SHOWMSG" FoxBin2Prg.lnk <path>\foxbin2prg.exe "INTERACTIVE-SHOWMSG"
``` ```
---- ----
Last changed: _2023/08/26_ Last changed: _2023/08/30_

View File

@@ -288,30 +288,34 @@ If I have to checkout old stuff - the setting will fit.
```` ````
*################################################################################################################ *################################################################################################################
*FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS) *FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
*Version: v1.19.69 *Version: v1.20.01
***************************************************************************************************************** *****************************************************************************************************************
* Note, configuration files will follow an inheritance. * Note, configuration files will follow an inheritance.
* 1. Default values * 1. Default values
* 2., optional FOXBIN2PRG.CFG in folder of FOXBIN2PRG.EXE * 2., optional FOXBIN2PRG.CFG in folder of FOXBIN2PRG.EXE
* or, if defined, a config file given by a parameter calling FOXBIN2PRG
* if used, the AllowInheritance setting controls if other config files will be evaluated
* 3., optional FOXBIN2PRG.CFG in root of working directory * 3., optional FOXBIN2PRG.CFG in root of working directory
* 4., optional FOXBIN2PRG.CFG in every folder up to the working directory * 4., optional FOXBIN2PRG.CFG in every folder up to the working directory
* 5., optional Special settings per aingle DBF's Syntax: <Tabellenname>.dbf.cfg in tables folder) * 5., optional Special settings per single DBF's Syntax: <TableName>.dbf.cfg in tables folder)
* 6., Parameter calling FOXBIN2PRG.EXE.
* Some Parameter calling FOXBIN2PRG.EXE overturn this settings (except Defaults) * Some Parameter calling FOXBIN2PRG.EXE overturn this settings (except Defaults)
***************************************************************************************************************** *****************************************************************************************************************
*-- Settings for internal work, not processing *-- Settings for internal work, not processing
*Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espa<70>ol, DE=German, Not defined = AUTOMATIC [DEFAULT] *Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espa<70>ol, DE=German, Not defined = AUTOMATIC [DEFAULT]
*ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing *ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2=Show only for multi-file processing
*DontShowErrors: 0 && Show message errors by default *DontShowErrors: 0 && Show message errors by default
*ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none *ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none
*Debug: 0 && Don't Activate individual <file>.Log by default *Debug: 0 && Don't Activate individual <file>.Log by default
*BackgroundImage: <cFile> && Backgroundimage for process form. Empty for empty Background. File not found uses default. *BackgroundImage: <cFile> && Backgroundimage for process form. Empty for empty Background. File not found uses default.
*HomeDir: 1 && Home Directory in PJX *HomeDir: 1 && Home directory in PJX
* && 0 don't save HomeDir in PJ2 * && 0 don't save HomeDir in PJ2
* && 1 save HomeDir in PJ2 * && 1 save HomeDir in PJ2
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*-- Settings for config file via parameter only
*AllowInheritance: 1 && 0=Not allow, 1=Allow scanning "regular" config files
*---------------------------------------------------------------------------------------------------------------- *----------------------------------------------------------------------------------------------------------------
*-- Conversion operation by type *-- Conversion operation by type
@@ -327,6 +331,14 @@ If I have to checkout old stuff - the setting will fit.
*MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff) *MEM_Conversion_Support: 1 && 0=No support, 1=Generate TXT only (Diff)
*---------------------------------------------------------------------------------------------------------------- *----------------------------------------------------------------------------------------------------------------
*Setting for pjx files
*CheckFileInPath: 0 && Determines 2Txt deals with files not in the subfolders of the PJX. No handler for UNC paths.
* && 0 Ignore. Default
* && 1 Check and error out if file is not on same structure (for source control)
* && 2 Create absolute path if file is on different drive.
* && 3 Create absolute path if file is not in structure
*----------------------------------------------------------------------------------------------------------------
*Setting for container files (not pjx) *Setting for container files (not pjx)
*-- CLASS and FORM options (tx2 is to read as vc2 or sc2, VCX might be SCX) *-- CLASS and FORM options (tx2 is to read as vc2 or sc2, VCX might be SCX)
*- Class per file options (UseClassPerFile: 1) *- Class per file options (UseClassPerFile: 1)
@@ -369,7 +381,7 @@ If I have to checkout old stuff - the setting will fit.
*NoTimestamps: 1 && Clear timestamps of several file types by default for minimize text-file differences *NoTimestamps: 1 && Clear timestamps of several file types by default for minimize text-file differences
*ClearUniqueID: 1 && 0=Keep UniqueID in text files, 1=Clear Unique ID. Useful for Diff and Merge *ClearUniqueID: 1 && 0=Keep UniqueID in text files, 1=Clear Unique ID. Useful for Diff and Merge
*OptimizeByFilestamp: 0 && 1=Optimize file regeneration depending on file timestamp. Dangerous while working with branches! *OptimizeByFilestamp: 0 && 1=Optimize file regeneration depending on file timestamp. Dangerous while working with branches!
*RemoveNullCharsFromCode: 1 && 1=Drop NULL chars from source code *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 *RemoveZOrderSetFromProps: 0 && 0=Do not remove ZOrderSet property from object, 1=Remove ZOrderSet property from object
*PRG_Compat_Level: 0 && 0=Legacy, 1=Use HELPSTRING as Class Procedure comment *PRG_Compat_Level: 0 && 0=Legacy, 1=Use HELPSTRING as Class Procedure comment
*---------------------------------------------------------------------------------------------------------------- *----------------------------------------------------------------------------------------------------------------
@@ -401,13 +413,6 @@ If I have to checkout old stuff - the setting will fit.
*-- Additional extensions *-- Additional extensions
*extension: fk2=fkx && Text file to FKY *extension: fk2=fkx && Text file to FKY
*extension: me2=fkx && Text file to MEM *extension: me2=fkx && Text file to MEM
*
*Settings changed
*----------------
UseClassPerFile: 2 && 0=One library tx2 file, 1=Multiple file.class.tx2 files, 2=Multiple file.baseclass.class.tx2 files
RedirectClassPerFileToMain: 1 && 0=Don't redirect to file.tx2, 1=Redirect to file.tx2 when selecting file.class.tx2
DBF_Conversion_Support: 0 && 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)
DBC_Conversion_Support: 0 && 0=No support, 1=Generate TXT only (Diff), 2=Generate TXT and BIN (Merge)
```` ````
All use off this are the last four lines. But I like to keep the template (recent as version 1.19.69). All use off this are the last four lines. But I like to keep the template (recent as version 1.19.69).
- Using single classes - because it's much more easy to merge a single class then a whole library. - Using single classes - because it's much more easy to merge a single class then a whole library.
@@ -419,4 +424,4 @@ All use off this are the last four lines. But I like to keep the template (recen
This project is part of [VFPX](https://vfpx.github.io/). This project is part of [VFPX](https://vfpx.github.io/).
---- ----
Last changed: _2023/03/20_ ![Picture](./pictures/vfpxpoweredby_alternative.gif) Last changed: _2023/03/30_ ![Picture](./pictures/vfpxpoweredby_alternative.gif)

View File

@@ -1,29 +1,33 @@
*################################################################################################################ *################################################################################################################
*FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS) *FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
*Version: v1.20.00 *Version: v1.20.01
***************************************************************************************************************** *****************************************************************************************************************
* Note, configuration files will follow an inheritance. * Note, configuration files will follow an inheritance.
* 1. Default values * 1. Default values
* 2., optional FOXBIN2PRG.CFG in folder of FOXBIN2PRG.EXE * 2., optional FOXBIN2PRG.CFG in folder of FOXBIN2PRG.EXE
* or, if defined, a config file given by a parameter calling FOXBIN2PRG
* if used, the AllowInheritance setting controls if other config files will be evaluated (default)
* 3., optional FOXBIN2PRG.CFG in root of working directory * 3., optional FOXBIN2PRG.CFG in root of working directory
* 4., optional FOXBIN2PRG.CFG in every folder up to the working directory * 4., optional FOXBIN2PRG.CFG in every folder up to the working directory
* 5., optional Special settings per single DBF's Syntax: <TableName>.dbf.cfg in tables folder) * 5., optional Special settings per single DBF's Syntax: <TableName>.dbf.cfg in tables folder)
* 6., Parameter calling FOXBIN2PRG.EXE.
* Some Parameter calling FOXBIN2PRG.EXE overturn this settings (except Defaults) * Some Parameter calling FOXBIN2PRG.EXE overturn this settings (except Defaults)
***************************************************************************************************************** *****************************************************************************************************************
*-- Settings for internal work, not processing *-- Settings for internal work, not processing
*Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espa<70>ol, DE=German, Not defined = AUTOMATIC [DEFAULT] *Language: (auto) && Language of shown messages and LOGs. EN=English, FR=French, ES=Espa<70>ol, DE=German, Not defined = AUTOMATIC [DEFAULT]
*ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing *ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2=Show only for multi-file processing
*DontShowErrors: 0 && Show message errors by default *DontShowErrors: 0 && Show message errors by default
*ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none *ExtraBackupLevels: 1 && By default 1 BAK is created. With this you can make more .N.BAK, or none
*Debug: 0 && Don't Activate individual <file>.Log by default *Debug: 0 && Don't Activate individual <file>.Log by default
*BackgroundImage: <cFile> && Backgroundimage for process form. Empty for empty Background. File not found uses default. *BackgroundImage: <cFile> && Backgroundimage for process form. Empty for empty Background. File not found uses default.
*HomeDir: 1 && Home Directory in PJX *HomeDir: 1 && Home directory in PJX
* && 0 don't save HomeDir in PJ2 * && 0 don't save HomeDir in PJ2
* && 1 save HomeDir in PJ2 * && 1 save HomeDir in PJ2
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*-- Settings for config file via parameter only
*AllowInheritance: 1 && 0=Not allow, 1=Allow scanning "regular" config files
*---------------------------------------------------------------------------------------------------------------- *----------------------------------------------------------------------------------------------------------------
*-- Conversion operation by type *-- Conversion operation by type
@@ -89,7 +93,7 @@
*NoTimestamps: 1 && Clear timestamps of several file types by default for minimize text-file differences *NoTimestamps: 1 && Clear timestamps of several file types by default for minimize text-file differences
*ClearUniqueID: 1 && 0=Keep UniqueID in text files, 1=Clear Unique ID. Useful for Diff and Merge *ClearUniqueID: 1 && 0=Keep UniqueID in text files, 1=Clear Unique ID. Useful for Diff and Merge
*OptimizeByFilestamp: 0 && 1=Optimize file regeneration depending on file timestamp. Dangerous while working with branches! *OptimizeByFilestamp: 0 && 1=Optimize file regeneration depending on file timestamp. Dangerous while working with branches!
*RemoveNullCharsFromCode: 1 && 1=Drop NULL chars from source code *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 *RemoveZOrderSetFromProps: 0 && 0=Do not remove ZOrderSet property from object, 1=Remove ZOrderSet property from object
*PRG_Compat_Level: 0 && 0=Legacy, 1=Use HELPSTRING as Class Procedure comment *PRG_Compat_Level: 0 && 0=Legacy, 1=Use HELPSTRING as Class Procedure comment
*---------------------------------------------------------------------------------------------------------------- *----------------------------------------------------------------------------------------------------------------

View File

@@ -1,6 +1,6 @@
*################################################################################################################ *################################################################################################################
*-- Individual DBF configuration file (syntax: filename.dbf.cfg) Defaults see FoxBin2prg.cfg *-- Individual DBF configuration file (syntax: filename.dbf.cfg) Defaults see FoxBin2prg.cfg
*Version: v1.20.00 *Version: v1.20.01
***************************************************************************************************************** *****************************************************************************************************************
*DBF_Conversion_Support: <0,1,2,4,8> && 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_Support: <0,1,2,4,8> && 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)

View File

@@ -26,7 +26,7 @@ _LegalTrademark = "MIT License"
_ProductName = "FOXBIN2PRG" _ProductName = "FOXBIN2PRG"
_MajorVer = "1" _MajorVer = "1"
_MinorVer = "20" _MinorVer = "20"
_Revision = "0" _Revision = "1"
_LanguageID = "1034" _LanguageID = "1034"
_AutoIncrement = "0" _AutoIncrement = "0"
*</DevInfo> *</DevInfo>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff