mn2/mnx, problem with BAR # / PAD name
fixed https://github.com/fdbozzo/foxbin2prg/issues/61 fixed https://github.com/fdbozzo/foxbin2prg/issues/62
This commit is contained in:
1
.github/ISSUE_TEMPLATE/bug_report.md
vendored
1
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -11,6 +11,7 @@ assignees: ''
|
|||||||
|
|
||||||
- VFP version:
|
- VFP version:
|
||||||
- FoxBin2PRG version:
|
- FoxBin2PRG version:
|
||||||
|
- Last FoxBin2PRG version w/o bug (if available):
|
||||||
|
|
||||||
## 📝 Provide detailed reproduction steps (if any)
|
## 📝 Provide detailed reproduction steps (if any)
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Lparameters toUpdateInfo
|
|||||||
|
|
||||||
Local lcNote
|
Local lcNote
|
||||||
With toUpdateInfo
|
With toUpdateInfo
|
||||||
.VersionNumber = 'v1.19.57.0'
|
.VersionNumber = 'v1.19.64.0'
|
||||||
.VersionDate = Date(2021,03,25)
|
.VersionDate = Date(2021,03,25)
|
||||||
.SourceFileUrl = 'http://vfpxrepository.com/dl/thorupdate/Projects/FoxBin2Prg/FoxBin2Prg.Zip'
|
.SourceFileUrl = 'http://vfpxrepository.com/dl/thorupdate/Projects/FoxBin2Prg/FoxBin2Prg.Zip'
|
||||||
|
|
||||||
@@ -21,7 +21,11 @@ Demo video using FoxBin2Prg with PlasticSCM: http://youtu.be/sE4wQ50Itqg
|
|||||||
|
|
||||||
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
||||||
|
|
||||||
2021-08-12 v1.19.63
|
2021-04-22 v1.19.64
|
||||||
|
- Bug Fix: Converting MN2 to MNX ignores the programmer-defined bar # found in "Prompt Options" screen. (Jimrnelson)
|
||||||
|
- Bug Fix: Converting MN2 to MNX ignores the programmer-defined Pad Name found in "Prompt Options" screen. (LScheffler)
|
||||||
|
|
||||||
|
2021-04-12 v1.19.63
|
||||||
- Bug Fix: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH)
|
- Bug Fix: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH)
|
||||||
|
|
||||||
2021-03-23 v1.19.62
|
2021-03-23 v1.19.62
|
||||||
|
|||||||
56
README.md
56
README.md
@@ -125,30 +125,7 @@ To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0
|
|||||||
## Changes
|
## Changes
|
||||||
See [Changes](./docs/FoxBin2prg_Changes.md)
|
See [Changes](./docs/FoxBin2prg_Changes.md)
|
||||||
|
|
||||||
## Changes in 1.19.60
|
### Changes to Settings
|
||||||
* -cC options learned to create default FoxBin2Prg._cfg file
|
|
||||||
* -t Option learned to create default \<TableName\>._cfg file, if table is open.
|
|
||||||
* Handling of additional non structural index per DBF in Bin2Text and Text2Bin
|
|
||||||
* Debug-Logging for Index
|
|
||||||
* Bug Fix: DBF_Conversion_Condition was read, but never used
|
|
||||||
* Bug Fix: DBF_Conversion_Order sets an index that later would be stored as structural index
|
|
||||||
* Bug Fix: config options with text value fail, if line comment is set
|
|
||||||
|
|
||||||
## Changes in 1.19.59
|
|
||||||
* Added support for writing to a different folder than the source code using a new tcOutputFolder parameter
|
|
||||||
* Added a configuration item: HomeDir, which determines if HomeDir is saved in PJ2 files (the default is 1 for Yes)
|
|
||||||
* Logging of settings as settings object passed to execute method (Option debug > 0)
|
|
||||||
* Bug Fixes: RedirectClassType = 2
|
|
||||||
* Improved, Better description of ClassPerFileCheck and tcOutputFolder.
|
|
||||||
* Added option to create config file template based on current values of a directory
|
|
||||||
To create config file (working settings) with all values set for a folder.
|
|
||||||
Intended for storing the settings with the project.
|
|
||||||
|
|
||||||
```
|
|
||||||
DO FOXBIN2PRG.PRG WITH "-C","template.cfg" ==> Generates a file like FoxBin2Prg.cfg config file with recent settings
|
|
||||||
```
|
|
||||||
|
|
||||||
## Changes to Settings
|
|
||||||
To get the new settings in config file, use the new create-a-template function:
|
To get the new settings in config file, use the new create-a-template function:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -157,37 +134,8 @@ DO FOXBIN2PRG.PRG WITH "-C","template.cfg" ==> Generates a template for Fox
|
|||||||
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 "-t","template.dbf.cfg" ==> Generates a template for table.dbf.cfg per table config file with newest settings
|
||||||
```
|
```
|
||||||
|
|
||||||
### Split of container files
|
|
||||||
VCX, SCX and DBC are container that hold different items. There is was a single option to split them.
|
|
||||||
The split of DBC the same way like VCX/SCX might not be the best choice under all circumstances.
|
|
||||||
New option _OldFilesPerDBC_ is set 1, _UseFilesPerDBC_, _RedirectFilePerDBCToMain_ and _ItemPerDBCCheck_ might be used to set the handling of the DBC.
|
|
||||||
Note that those options will be ignored, if _OldFilesPerDBC_ is 0 (default).
|
|
||||||
**Check that changes will be reflected on running projects.**
|
|
||||||
See [Internals](./docs/FoxBin2prg_Internals.md#configuration-file).
|
|
||||||
|
|
||||||
### Tanscoding of table fields with NoCPTrans
|
|
||||||
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. Handle with extra care otherwise.**
|
|
||||||
|
|
||||||
### Inclusion of deleted records
|
|
||||||
Sometimes information left in deleted (table) records is still valuable information.
|
|
||||||
The new option _DBF_IncludeDeleted_ allows to keep those records throug conversion.
|
|
||||||
The data added by _DBF_IncludeDeleted: 1_ will be ignored by old versions generating _Binary_ files.
|
|
||||||
|
|
||||||
#### Recomendation
|
|
||||||
It's a good idea to have the _FoxBin2Prg.cfg_ per projekt and and source control,
|
|
||||||
old commits / versions would have the old config.
|
|
||||||
So the settings would fit the data and FoxBin2Prg could generate according to it.
|
|
||||||
|
|
||||||
---
|
|
||||||
---
|
|
||||||
# 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
|
|
||||||
|
|
||||||
For usage see [documentation](./docs/FoxBin2prg.md)
|
For usage see [documentation](./docs/FoxBin2prg.md)
|
||||||
|
|
||||||
----
|
----
|
||||||
|
## Usage
|
||||||
Last changed: _2021/03/09_ 
|
Last changed: _2021/03/09_ 
|
||||||
Binary file not shown.
@@ -10,8 +10,8 @@ local;
|
|||||||
|
|
||||||
lcappName = "FoxBin2Prg"
|
lcappName = "FoxBin2Prg"
|
||||||
*Set following two numbers on version
|
*Set following two numbers on version
|
||||||
ldDate = date(2021,04,12)
|
ldDate = date(2021,04,22)
|
||||||
lcmajorVersion = "1.19.63"
|
lcmajorVersion = "1.19.64"
|
||||||
|
|
||||||
*lnJulian = val(sys(11, m.ldDate)) - val(sys(11, {^2000-01-01}))
|
*lnJulian = val(sys(11, m.ldDate)) - val(sys(11, {^2000-01-01}))
|
||||||
*lcJulian = padl(transform(lnJulian), 4, '0')
|
*lcJulian = padl(transform(lnJulian), 4, '0')
|
||||||
@@ -39,7 +39,11 @@ Demo video using FoxBin2Prg with PlasticSCM: http://youtu.be/sE4wQ50Itqg
|
|||||||
|
|
||||||
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
||||||
|
|
||||||
2021-08-12 v1.19.63
|
2021-04-22 v1.19.64
|
||||||
|
- Bug Fix: Converting MN2 to MNX ignores the programmer-defined bar # found in "Prompt Options" screen. (Jimrnelson)
|
||||||
|
- Bug Fix: Converting MN2 to MNX ignores the programmer-defined Pad Name found in "Prompt Options" screen. (LScheffler)
|
||||||
|
|
||||||
|
2021-04-12 v1.19.63
|
||||||
- Bug Fix: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH)
|
- Bug Fix: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH)
|
||||||
|
|
||||||
2021-03-23 v1.19.62
|
2021-03-23 v1.19.62
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ _**Note:** you can click on the version number for downloading this version from
|
|||||||
|
|
||||||
| Rel.Date | Developer | Version | Details |
|
| Rel.Date | Developer | Version | Details |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
|
| 2021/04/22 | LScheffler | [v1.19.64](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.64) | **Bug Fix**: onverting MN2 to MNX ignores the programmer-defined bar # found in "Prompt Options" screen. (Jimrnelson) |
|
||||||
|
| | | | **Bug Fix**: Converting MN2 to MNX ignores the programmer-defined Pad Name found in "Prompt Options" screen. (LScheffler) |
|
||||||
| 2021/04/12 | LScheffler | [v1.19.63](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.63) | **Bug Fix**: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH) |
|
| 2021/04/12 | LScheffler | [v1.19.63](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.63) | **Bug Fix**: Tables without indexes cause an error that the __Table ## is not marked as belonging to the ## database.__ (jstagerGH) |
|
||||||
| 2021/03/30 | LScheffler | [v1.19.62](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.62) | **Enhancement**: Debug logging, level of config file. |
|
| 2021/03/30 | LScheffler | [v1.19.62](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.62) | **Enhancement**: Debug logging, level of config file. |
|
||||||
| | | | **Bug Fix**: *_Conversion_Support options not read from config file. |
|
| | | | **Bug Fix**: *_Conversion_Support options not read from config file. |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
*################################################################################################################
|
*################################################################################################################
|
||||||
*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.63
|
*Version: v1.19.64
|
||||||
*****************************************************************************************************************
|
*****************************************************************************************************************
|
||||||
|
|
||||||
*-- Settings for internal work, not processing
|
*-- Settings for internal work, not processing
|
||||||
|
|||||||
@@ -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.19.63
|
*Version: v1.19.64
|
||||||
*****************************************************************************************************************
|
*****************************************************************************************************************
|
||||||
|
|
||||||
*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)
|
||||||
|
|||||||
BIN
foxbin2prg.exe
BIN
foxbin2prg.exe
Binary file not shown.
@@ -26,7 +26,7 @@ _LegalTrademark = "MIT License"
|
|||||||
_ProductName = "FOXBIN2PRG"
|
_ProductName = "FOXBIN2PRG"
|
||||||
_MajorVer = "1"
|
_MajorVer = "1"
|
||||||
_MinorVer = "19"
|
_MinorVer = "19"
|
||||||
_Revision = "63"
|
_Revision = "64"
|
||||||
_LanguageID = "1034"
|
_LanguageID = "1034"
|
||||||
_AutoIncrement = "0"
|
_AutoIncrement = "0"
|
||||||
*</DevInfo>
|
*</DevInfo>
|
||||||
|
|||||||
BIN
foxbin2prg.pjt
BIN
foxbin2prg.pjt
Binary file not shown.
BIN
foxbin2prg.pjx
BIN
foxbin2prg.pjx
Binary file not shown.
@@ -271,10 +271,14 @@
|
|||||||
* 30/03/2021 LScheffler v1.19.62 Enhancement: Debug logging, level of config file.
|
* 30/03/2021 LScheffler v1.19.62 Enhancement: Debug logging, level of config file.
|
||||||
* 12/04/2021 LScheffler v1.19.63 Bug Fix: Tables without indexes cause an error that the "Table ## is not marked as belonging to the ## database" (jstagerGH)
|
* 12/04/2021 LScheffler v1.19.63 Bug Fix: Tables without indexes cause an error that the "Table ## is not marked as belonging to the ## database" (jstagerGH)
|
||||||
* 12/04/2021 LScheffler v1.19.63 Docu: Readme reworked (mattslay)
|
* 12/04/2021 LScheffler v1.19.63 Docu: Readme reworked (mattslay)
|
||||||
|
* 22/04/2021 LScheffler v1.19.64 Bug Fix: Converting MN2 to MNX ignores the programmer-defined bar # found in "Prompt Options" screen (Jimrnelson)
|
||||||
|
* 22/04/2021 LScheffler v1.19.64 Bug Fix: Converting MN2 to MNX ignores the programmer-defined Pad Name found in "Prompt Options" screen (LScheffler)
|
||||||
* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>
|
* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>
|
||||||
*
|
*
|
||||||
*---------------------------------------------------------------------------------------------------
|
*---------------------------------------------------------------------------------------------------
|
||||||
* <TESTEO, REPORTE DE BUGS Y MEJORAS (AGRADECIMIENTOS)>
|
* <TESTEO, REPORTE DE BUGS Y MEJORAS (AGRADECIMIENTOS)>
|
||||||
|
* 22/04/2021 LScheffler BUG REPORT v1.19.63 Converting MN2 to MNX ignores the programmer-defined Pad Name found in "Prompt Options" screen
|
||||||
|
* 21/04/2021 Jimrnelson BUG REPORT v1.19.63 Converting MN2 to MNX ignores the programmer-defined bar # found in "Prompt Options" screen
|
||||||
* 08/04/2021 jstagerGH BUG REPORT v1.19.62 Tables without indexes cause an error that the "Table ## is not marked as belonging to the ## database"
|
* 08/04/2021 jstagerGH BUG REPORT v1.19.62 Tables without indexes cause an error that the "Table ## is not marked as belonging to the ## database"
|
||||||
* 30/03/2021 Sergej s-s-a BUG REPORT v1.19.61 Ignoring extention in foxbin2prg.cfg
|
* 30/03/2021 Sergej s-s-a BUG REPORT v1.19.61 Ignoring extention in foxbin2prg.cfg
|
||||||
* 16/03/2021 msueping BUG REPORT v1.19.57 Variable lnFileCount in get_filesfromdirectory
|
* 16/03/2021 msueping BUG REPORT v1.19.57 Variable lnFileCount in get_filesfromdirectory
|
||||||
@@ -934,7 +938,7 @@ Define Class c_foxbin2prg As Session
|
|||||||
Protected n_CFG_Actual, l_Main_CFG_Loaded, o_Configuration, l_CFG_CachedAccess
|
Protected n_CFG_Actual, l_Main_CFG_Loaded, o_Configuration, l_CFG_CachedAccess
|
||||||
*--
|
*--
|
||||||
n_FB2PRG_Version = 1.19
|
n_FB2PRG_Version = 1.19
|
||||||
c_FB2PRG_Version_Real = '1.19.63'
|
c_FB2PRG_Version_Real = '1.19.64'
|
||||||
*--
|
*--
|
||||||
c_Language = '' && EN, FR, ES, DE
|
c_Language = '' && EN, FR, ES, DE
|
||||||
c_Language_In = '(auto)'
|
c_Language_In = '(auto)'
|
||||||
|
|||||||
Reference in New Issue
Block a user