Updated to 1.20.07: see ChangeLog.md
This commit is contained in:
48
.github/CONTRIBUTING.md
vendored
48
.github/CONTRIBUTING.md
vendored
@@ -3,7 +3,12 @@
|
||||
## Bug report?
|
||||
- Please check [issues](https://github.com/fdbozzo/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.
|
||||
- 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
|
||||
|
||||
```
|
||||
DO FOXBIN2PRG.PRG WITH '-C','path-to-source\FoxBin.cfg'
|
||||
```
|
||||
**Do not include your normal config**
|
||||
|
||||
### Did you write a patch that fixes a bug?
|
||||
- Open a new GitHub merge request with the patch.
|
||||
@@ -30,23 +35,23 @@ Please note, there are some tasks to set up a new version.
|
||||
Stuff is a bit scattered, so this is where to look up.
|
||||
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
|
||||
- If allready forked, pull the recent state, or get most recent version otherwise.
|
||||
0. On top of _FoxBin2Prg.prg_ there are two version numbers:
|
||||
`#DEFINE DN_FB2PRG_VERSION 1.19`
|
||||
`#DEFINE DC_FB2PRG_VERSION_REAL '1.19.60'`
|
||||
1. Please set the **minor** part of _DC_FB2PRG_VERSION_REAL_ to a new number.
|
||||
**Do not** alter the **1.19** part. This is written to the text files.
|
||||
- If already forked, pull the recent state, or get most recent version otherwise.
|
||||
2. On top of _FoxBin2Prg.prg_ there are two version numbers:
|
||||
`#DEFINE DN_FB2PRG_VERSION 1.20`
|
||||
`#DEFINE DC_FB2PRG_VERSION_REAL '1.20.00'`
|
||||
3. 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.
|
||||
Alteration might force that the files must be newly commited, what is not everybodies taste.
|
||||
3. Add a meaningful description of the change in the changes list on top of _FoxBin2Prg.prg_.
|
||||
4. Add a meaningful 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 bugs are listed above _* </TESTEO Y REPORTE DE BUGS (AGRADECIMIENTOS)>_
|
||||
4. Alter version in _README.md_
|
||||
4. Add a description to _docs\Change_Log.md_
|
||||
6. Please alter the footer of *.md files touched to recent date.
|
||||
4. If a change to the config files is made please add the description to the various properties (multi lang)
|
||||
5. Alter version in _README.md_
|
||||
6. Add a description to _docs\Change_Log.md_
|
||||
7. Please alter the footer of *.md files touched to recent date.
|
||||
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_tab_cfg:_ for settings per table
|
||||
4. Create a template _foxbin2prg.cfg.txt_ for general settings or _foxbin2prg.dbf.cfg.txt_ for the settings per table.
|
||||
9. 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.
|
||||
@@ -56,15 +61,14 @@ Stuff is a bit scattered, so this is where to look up.
|
||||
DO FoxBin2Prg.prg WITH "-c","foxbin2prg.cfg.txt"
|
||||
DO FoxBin2Prg.prg WITH "-t","foxbin2prg.dbc.txt"
|
||||
```
|
||||
5. If a change to the parameters is made, change _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_ properties.
|
||||
4. For changed functionality, add descriptive text on the appropriate _.md_ file in _docs_ folder.
|
||||
2. Alter the version number for the EXE to the version used above.
|
||||
0. Compile to EXE **in VFP9 SP2**
|
||||
8. Change Thor ([see below](#thor-conventions))
|
||||
8. commit
|
||||
9. push to your fork
|
||||
0. create a pull request
|
||||
1.
|
||||
10. If a change to the parameters is made, change _C_FOXBIN2PRG_SYNTAX_INFO_EXAMPLE_LOC_ properties.
|
||||
11. For changed functionality, add descriptive text on the appropriate _.md_ file in _docs_ folder.
|
||||
12. Alter the version number for the EXE to the version used above.
|
||||
13. Compile to EXE **in VFP9 SP2**
|
||||
14. Change Thor ([see below](#thor-conventions))
|
||||
15. Commit
|
||||
16. Push to your fork
|
||||
17. Create a pull request
|
||||
|
||||
## Thor conventions
|
||||
This project is part of [VFPX](https://vfpx.github.io/) and published via [Thor](https://github.com/VFPX/Thor).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
*################################################################################################################
|
||||
*-- Individual DBF configuration file (syntax: filename.dbf.cfg) Defaults see FoxBin2prg.cfg
|
||||
*Version: v1.20.05
|
||||
*Version: v1.20.07
|
||||
*****************************************************************************************************************
|
||||
|
||||
*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)
|
||||
|
||||
1
Fb2P_Diff/config.fpw
Normal file
1
Fb2P_Diff/config.fpw
Normal file
@@ -0,0 +1 @@
|
||||
CODEPAGE=1252
|
||||
19
Fb2P_Diff/fb2p_diff.dataenvironment.sc2
Normal file
19
Fb2P_Diff/fb2p_diff.dataenvironment.sc2
Normal file
@@ -0,0 +1,19 @@
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
* (ES) AUTOGENERADO - <20><>ATENCI<43>N!! - <20><>NO PENSADO PARA EJECUTAR!! USAR SOLAMENTE PARA INTEGRAR CAMBIOS Y ALMACENAR CON HERRAMIENTAS SCM!!
|
||||
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
*< FOXBIN2PRG: Version="1.20" SourceFile="fb2p_diff.scx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*
|
||||
DEFINE CLASS dataenvironment AS dataenvironment
|
||||
*< CLASSDATA: Baseclass="dataenvironment" Timestamp="" Scale="" Uniqueid="" ClassIcon="1" />
|
||||
|
||||
*<PropValue>
|
||||
DataSource = .NULL.
|
||||
Height = 0
|
||||
Left = 0
|
||||
Name = "Dataenvironment"
|
||||
Top = 0
|
||||
Width = 0
|
||||
*</PropValue>
|
||||
|
||||
ENDDEFINE
|
||||
BIN
Fb2P_Diff/fb2p_diff.dataenvironment.sct
Normal file
BIN
Fb2P_Diff/fb2p_diff.dataenvironment.sct
Normal file
Binary file not shown.
BIN
Fb2P_Diff/fb2p_diff.dataenvironment.scx
Normal file
BIN
Fb2P_Diff/fb2p_diff.dataenvironment.scx
Normal file
Binary file not shown.
@@ -2,21 +2,8 @@
|
||||
* (ES) AUTOGENERADO - ¡¡ATENCIÓN!! - ¡¡NO PENSADO PARA EJECUTAR!! USAR SOLAMENTE PARA INTEGRAR CAMBIOS Y ALMACENAR CON HERRAMIENTAS SCM!!
|
||||
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
*< FOXBIN2PRG: Version="1.19" SourceFile="fb2p_diff.scx" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*< FOXBIN2PRG: Version="1.20" SourceFile="fb2p_diff.scx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*
|
||||
*
|
||||
DEFINE CLASS dataenvironment AS dataenvironment
|
||||
*< CLASSDATA: Baseclass="dataenvironment" Timestamp="" Scale="" Uniqueid="" ClassIcon="1" />
|
||||
|
||||
DataSource = .NULL.
|
||||
Height = 0
|
||||
Left = 0
|
||||
Name = "Dataenvironment"
|
||||
Top = 0
|
||||
Width = 0
|
||||
|
||||
ENDDEFINE
|
||||
|
||||
DEFINE CLASS frmdiff AS form
|
||||
*< CLASSDATA: Baseclass="form" Timestamp="" Scale="" Uniqueid="" />
|
||||
|
||||
@@ -89,73 +76,75 @@ DEFINE CLASS frmdiff AS form
|
||||
*p: _memberdata && XML Metadata for customizable properties
|
||||
*</DefinedPropArrayMethod>
|
||||
|
||||
AllowOutput = .F.
|
||||
AlwaysOnTop = .T.
|
||||
AutoCenter = .T.
|
||||
BackColor = 255,255,255
|
||||
Caption = "Diff VFP 9 binary files (scx,vcx,mnx,pjx,frx,lbx,dbc,dbf)"
|
||||
colorgreen = (RGB(35,245,24))
|
||||
coloryellow = (RGB(239,245,165))
|
||||
c_cfg_data = && Contenido del archivo de configuración
|
||||
c_cfg_file = && Ruta del archivo de configuración
|
||||
c_curdir = && Ruta actual de la llamada
|
||||
c_fb2p_diff_fullpath = && Ruta de este form
|
||||
difftoolconfig = && Configuration for the Diff tool
|
||||
difftoolname = && Name of the Diff tool
|
||||
difftoolpath =
|
||||
DoCreate = .T.
|
||||
filename1 =
|
||||
filename1_dt = {}
|
||||
filename2 =
|
||||
filename2_dt = {}
|
||||
Height = 191
|
||||
Icon = fb2p_diff.ico
|
||||
lastfilename1 =
|
||||
lastfilename2 =
|
||||
l_editmode = .F.
|
||||
l_showcallonly = .F. && Show Diff Call Only, but don't Diff. (For testing)
|
||||
MaxButton = .F.
|
||||
Name = "frmDiff"
|
||||
n_editoption = 0
|
||||
n_selectedtoolindex = 0
|
||||
n_toolcount = 0
|
||||
ofb2p = .NULL.
|
||||
ShowTips = .T.
|
||||
ShowWindow = 2
|
||||
Width = 760
|
||||
_memberdata = <VFPData>
|
||||
<memberdata name="updateglobalenabled" display="updateGlobalEnabled"/>
|
||||
<memberdata name="filesdiff" display="filesDiff"/>
|
||||
<memberdata name="l_editmode" display="l_EditMode"/>
|
||||
<memberdata name="difftoolconfig" display="diffToolConfig"/>
|
||||
<memberdata name="newtool" display="newTool"/>
|
||||
<memberdata name="edittool" display="editTool"/>
|
||||
<memberdata name="n_editoption" display="n_EditOption"/>
|
||||
<memberdata name="deletetool" display="deleteTool"/>
|
||||
<memberdata name="savetool" display="saveTool"/>
|
||||
<memberdata name="resetalltools" display="resetAllTools"/>
|
||||
<memberdata name="n_toolcount" display="n_ToolCount"/>
|
||||
<memberdata name="n_selectedtoolindex" display="n_SelectedToolIndex"/>
|
||||
<memberdata name="difftoolchanged" display="diffToolChanged"/>
|
||||
<memberdata name="c_cfg_file" display="c_CFG_File"/>
|
||||
<memberdata name="c_cfg_data" display="c_CFG_Data"/>
|
||||
<memberdata name="load_cfg_data" display="load_CFG_Data"/>
|
||||
<memberdata name="save_cfg_data" display="save_CFG_Data"/>
|
||||
<memberdata name="ofb2p" display="oFB2P"/>
|
||||
<memberdata name="create_default_cfg" display="create_Default_CFG"/>
|
||||
<memberdata name="difftoolcombo_refresh" display="diffToolCombo_Refresh"/>
|
||||
<memberdata name="checkfilenames_dt" display="checkFilenames_dt"/>
|
||||
<memberdata name="lastfilename1" display="lastFilename1"/>
|
||||
<memberdata name="lastfilename2" display="lastFilename2"/>
|
||||
<memberdata name="colorgreen" display="colorGreen"/>
|
||||
<memberdata name="coloryellow" display="colorYellow"/>
|
||||
<memberdata name="difftoolname" display="diffToolName"/>
|
||||
<memberdata name="difftoolpath" display="diffToolPath"/>
|
||||
<memberdata name="a_tools" display="a_Tools"/>
|
||||
<memberdata name="l_showcallonly" display="l_ShowCallOnly"/>
|
||||
<memberdata name="c_curdir" display="c_CurDir"/>
|
||||
<memberdata name="c_fb2p_diff_fullpath" display="c_fb2p_diff_FullPath"/>
|
||||
</VFPData> && XML Metadata for customizable properties
|
||||
*<PropValue>
|
||||
AllowOutput = .F.
|
||||
AlwaysOnTop = .T.
|
||||
AutoCenter = .T.
|
||||
BackColor = 255,255,255
|
||||
Caption = "Diff VFP 9 binary files (scx,vcx,mnx,pjx,frx,lbx,dbc,dbf)"
|
||||
colorgreen = (RGB(35,245,24))
|
||||
coloryellow = (RGB(239,245,165))
|
||||
c_cfg_data =
|
||||
c_cfg_file =
|
||||
c_curdir =
|
||||
c_fb2p_diff_fullpath =
|
||||
difftoolconfig =
|
||||
difftoolname =
|
||||
difftoolpath =
|
||||
DoCreate = .T.
|
||||
filename1 =
|
||||
filename1_dt = {}
|
||||
filename2 =
|
||||
filename2_dt = {}
|
||||
Height = 191
|
||||
Icon = fb2p_diff.ico
|
||||
lastfilename1 =
|
||||
lastfilename2 =
|
||||
l_editmode = .F.
|
||||
l_showcallonly = .F.
|
||||
MaxButton = .F.
|
||||
Name = "frmDiff"
|
||||
n_editoption = 0
|
||||
n_selectedtoolindex = 0
|
||||
n_toolcount = 0
|
||||
ofb2p = .NULL.
|
||||
ShowTips = .T.
|
||||
ShowWindow = 2
|
||||
Width = 760
|
||||
_memberdata = <VFPData>
|
||||
<memberdata name="updateglobalenabled" display="updateGlobalEnabled"/>
|
||||
<memberdata name="filesdiff" display="filesDiff"/>
|
||||
<memberdata name="l_editmode" display="l_EditMode"/>
|
||||
<memberdata name="difftoolconfig" display="diffToolConfig"/>
|
||||
<memberdata name="newtool" display="newTool"/>
|
||||
<memberdata name="edittool" display="editTool"/>
|
||||
<memberdata name="n_editoption" display="n_EditOption"/>
|
||||
<memberdata name="deletetool" display="deleteTool"/>
|
||||
<memberdata name="savetool" display="saveTool"/>
|
||||
<memberdata name="resetalltools" display="resetAllTools"/>
|
||||
<memberdata name="n_toolcount" display="n_ToolCount"/>
|
||||
<memberdata name="n_selectedtoolindex" display="n_SelectedToolIndex"/>
|
||||
<memberdata name="difftoolchanged" display="diffToolChanged"/>
|
||||
<memberdata name="c_cfg_file" display="c_CFG_File"/>
|
||||
<memberdata name="c_cfg_data" display="c_CFG_Data"/>
|
||||
<memberdata name="load_cfg_data" display="load_CFG_Data"/>
|
||||
<memberdata name="save_cfg_data" display="save_CFG_Data"/>
|
||||
<memberdata name="ofb2p" display="oFB2P"/>
|
||||
<memberdata name="create_default_cfg" display="create_Default_CFG"/>
|
||||
<memberdata name="difftoolcombo_refresh" display="diffToolCombo_Refresh"/>
|
||||
<memberdata name="checkfilenames_dt" display="checkFilenames_dt"/>
|
||||
<memberdata name="lastfilename1" display="lastFilename1"/>
|
||||
<memberdata name="lastfilename2" display="lastFilename2"/>
|
||||
<memberdata name="colorgreen" display="colorGreen"/>
|
||||
<memberdata name="coloryellow" display="colorYellow"/>
|
||||
<memberdata name="difftoolname" display="diffToolName"/>
|
||||
<memberdata name="difftoolpath" display="diffToolPath"/>
|
||||
<memberdata name="a_tools" display="a_Tools"/>
|
||||
<memberdata name="l_showcallonly" display="l_ShowCallOnly"/>
|
||||
<memberdata name="c_curdir" display="c_CurDir"/>
|
||||
<memberdata name="c_fb2p_diff_fullpath" display="c_fb2p_diff_FullPath"/>
|
||||
</VFPData>
|
||||
*</PropValue>
|
||||
|
||||
ADD OBJECT 'chkAlwaysOnTop' AS checkbox WITH ;
|
||||
Alignment = 0, ;
|
||||
Binary file not shown.
BIN
Fb2P_Diff/fb2p_diff.frmdiff.scx
Normal file
BIN
Fb2P_Diff/fb2p_diff.frmdiff.scx
Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -2,7 +2,7 @@
|
||||
* (ES) AUTOGENERADO - ¡¡ATENCIÓN!! - ¡¡NO PENSADO PARA EJECUTAR!! USAR SOLAMENTE PARA INTEGRAR CAMBIOS Y ALMACENAR CON HERRAMIENTAS SCM!!
|
||||
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
*< FOXBIN2PRG: Version="1.19" SourceFile="fb2p_diff.pjx" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*< FOXBIN2PRG: Version="1.20" SourceFile="fb2p_diff.pjx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*
|
||||
LPARAMETERS tcDir
|
||||
|
||||
@@ -33,7 +33,7 @@ _AutoIncrement = "0"
|
||||
|
||||
|
||||
*<BuildProj>
|
||||
*<.HomeDir = 'g:\desa\foxbin2prg' />
|
||||
*<.HomeDir = 'e:\se\vfpx\foxbin2prg\fb2p_diff' />
|
||||
|
||||
FOR EACH loProject IN _VFP.Projects FOXOBJECT
|
||||
loProject.Close()
|
||||
@@ -50,10 +50,10 @@ MODIFY PROJECT 'fb2p_diff.pjx' NOWAIT NOSHOW NOPROJECTHOOK
|
||||
loProject = _VFP.Projects('fb2p_diff.pjx')
|
||||
|
||||
WITH loProject.FILES
|
||||
.ADD('config\config.fpw') && *< FileMetadata: Type="T" Cpid="1252" Timestamp="0" ID="0" ObjRev="0" User="" DevInfo="" />
|
||||
.ADD('fb2p_diff.ico') && *< FileMetadata: Type="x" Cpid="0" Timestamp="0" ID="0" ObjRev="0" User="" DevInfo="" />
|
||||
.ADD('fb2p_diff.scx') && *< FileMetadata: Type="K" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" DevInfo="" />
|
||||
.ADD('main_fb2p_diff.prg') && *< FileMetadata: Type="P" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" DevInfo="" />
|
||||
.ADD('config.fpw') && *< FileMetadata: Type="T" Cpid="1252" Timestamp="0" ID="0" ObjRev="0" User="" />
|
||||
.ADD('fb2p_diff.ico') && *< FileMetadata: Type="x" Cpid="0" Timestamp="0" ID="0" ObjRev="0" User="" />
|
||||
.ADD('fb2p_diff.scx') && *< FileMetadata: Type="K" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" />
|
||||
.ADD('main_fb2p_diff.prg') && *< FileMetadata: Type="P" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" />
|
||||
*</BuildProj>
|
||||
|
||||
.ITEM('__newproject.f2b').Remove()
|
||||
@@ -65,13 +65,14 @@ WITH loProject.FILES
|
||||
*</ExcludedFiles>
|
||||
|
||||
*<TextFiles>
|
||||
.ITEM(lcCurdir + 'config\config.fpw').Type = 'T'
|
||||
.ITEM(lcCurdir + 'config.fpw').Type = 'T'
|
||||
*</TextFiles>
|
||||
ENDWITH
|
||||
|
||||
WITH loProject
|
||||
*<ProjectProperties>
|
||||
.SetMain(lcCurdir + 'main_fb2p_diff.prg')
|
||||
|
||||
.Icon = lcCurdir + 'fb2p_diff.ico'
|
||||
.Debug = .T.
|
||||
.Encrypted = .F.
|
||||
BIN
Fb2P_Diff/fb2p_diff.pjt
Normal file
BIN
Fb2P_Diff/fb2p_diff.pjt
Normal file
Binary file not shown.
Binary file not shown.
11
Fb2P_Diff/fb2p_diff.sc2
Normal file
11
Fb2P_Diff/fb2p_diff.sc2
Normal file
@@ -0,0 +1,11 @@
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
* (ES) AUTOGENERADO - <20><>ATENCI<43>N!! - <20><>NO PENSADO PARA EJECUTAR!! USAR SOLAMENTE PARA INTEGRAR CAMBIOS Y ALMACENAR CON HERRAMIENTAS SCM!!
|
||||
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
|
||||
*--------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
*< FOXBIN2PRG: Version="1.20" SourceFile="fb2p_diff.scx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
|
||||
*
|
||||
*-- EXTERNAL_CLASS identify external member Class names / EXTERNAL_CLASS identifica los nombres de las Clases externas
|
||||
*< EXTERNAL_CLASS: Name="dataenvironment" Baseclass="dataenvironment" />
|
||||
*< EXTERNAL_CLASS: Name="frmdiff" Baseclass="form" />
|
||||
|
||||
*
|
||||
BIN
Fb2P_Diff/fb2p_diff.sct
Normal file
BIN
Fb2P_Diff/fb2p_diff.sct
Normal file
Binary file not shown.
BIN
Fb2P_Diff/fb2p_diff.scx
Normal file
BIN
Fb2P_Diff/fb2p_diff.scx
Normal file
Binary file not shown.
57
Fb2P_Diff/main_fb2p_diff.prg
Normal file
57
Fb2P_Diff/main_fb2p_diff.prg
Normal file
@@ -0,0 +1,57 @@
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
* M<>dulo.........: main_fb2p_diff.prg - PARA VISUAL FOXPRO 9.0
|
||||
* Autor..........: Fernando D. Bozzo (mailto:fdbozzo@gmail.com) - http://fdbozzo.blogspot.com
|
||||
* Project info...: https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg
|
||||
* Fecha creaci<63>n.: 27/07/2015
|
||||
*
|
||||
* LICENCE:
|
||||
* This work is licensed under the Creative Commons Attribution 4.0 International License.
|
||||
* To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
|
||||
*
|
||||
* LICENCIA:
|
||||
* Esta obra est<73> 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.
|
||||
*
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
* DESCRIPCI<43>N....: PERMITE COMPARAR 2 ARCHIVOS BINARIOS DE VISUAL FOXPRO 9 (SCX,VCX,MNX,FRX,LBX,DBF,DBC).
|
||||
*
|
||||
* USO/USE:
|
||||
* DO MAIN_FB2P_DIFF.PRG WITH "<path>\File1.vcx" "<path>\File.vcx"
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
* <TESTEO, REPORTE DE BUGS Y MEJORAS (AGRADECIMIENTOS)>
|
||||
* 04/09/2015 Mike Potjer Reporte de Bug: Cuando se llama al programa fb2p_diff.exe desde un directorio distinto al de FoxBin2Prg, da un error por no encontrar al conversor (Arreglado en v1.1)
|
||||
* </TESTEO Y REPORTE DE BUGS (AGRADECIMIENTOS)>
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
LPARAMETERS tcFilename1, tcFilename2
|
||||
|
||||
LOCAL lnResp, lcSys16, lcOldPath
|
||||
PRIVATE poFrm as Form
|
||||
lnResp = 0
|
||||
lcSys16 = SYS(16)
|
||||
lcOldPath = SET("Path")
|
||||
SET PATH TO (JUSTPATH(lcSys16)) ADDITIVE
|
||||
|
||||
DO FORM FB2P_DIFF.SCX NAME poFrm LINKED NOSHOW
|
||||
poFrm.filename1 = EVL(tcFilename1, '')
|
||||
poFrm.filename2 = EVL(tcFilename2, '')
|
||||
poFrm.initialize()
|
||||
poFrm.show()
|
||||
READ EVENTS
|
||||
|
||||
STORE NULL TO poFrm
|
||||
SET PATH TO (lcOldPath)
|
||||
RELEASE poFrm
|
||||
|
||||
IF _VFP.STARTMODE <> 4 OR NOT SYS(16) == SYS(16,0) && 4 = Visual FoxPro was started as a distributable .app or .exe file.
|
||||
RETURN lnResp && lnResp contiene un c<>digo de error, pero invocado desde SourceSafe puede contener el tipo de soporte de archivo (0,1,2).
|
||||
ENDIF
|
||||
|
||||
IF EMPTY(lnResp)
|
||||
QUIT
|
||||
ENDIF
|
||||
|
||||
*-- Muy <20>til para procesos batch que capturan el c<>digo de error
|
||||
DECLARE INTEGER OpenProcess IN Win32API INTEGER dwDesiredAccess, INTEGER bInheritHandle, INTEGER dwProcessID
|
||||
lnHandle = OpenProcess(1, 1, _VFP.PROCESSID)
|
||||
DECLARE INTEGER TerminateProcess IN Win32API INTEGER hProcess, INTEGER uExitCode
|
||||
=TerminateProcess(lnHandle,1)
|
||||
@@ -1,636 +0,0 @@
|
||||
Lparameters toUpdateInfo
|
||||
|
||||
Local lcNote
|
||||
With toUpdateInfo
|
||||
.VersionNumber = 'v1.19.76'
|
||||
.VersionDate = Date(2022,06,13)
|
||||
.SourceFileUrl = 'http://vfpxrepository.com/dl/thorupdate/Projects/FoxBin2Prg/FoxBin2Prg.Zip'
|
||||
|
||||
.Link = 'https://github.com/fdbozzo/foxbin2prg/wiki'
|
||||
.LinkPrompt = 'FoxBin2Prg Wiki Page'
|
||||
EndWith
|
||||
|
||||
Text to lcNote NoShow
|
||||
Developed by Fernando D. Bozzo - GitHub: https://github.com/fdbozzo/foxbin2prg
|
||||
|
||||
FoxBin2Prg is a 2-way conversor for Visual FoxPro 9 binary files intended to be used with SCM tools (Diff and Merge operations) or just for backup
|
||||
|
||||
Supported formats are: PJX, PJM, SCX, VCX, FRX, LBX, MNX, DBC, DBF, FKY, MEM
|
||||
|
||||
Demo video using FoxBin2Prg with PlasticSCM: http://youtu.be/sE4wQ50Itqg
|
||||
|
||||
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
||||
|
||||
2022-06-08 v1.19.76
|
||||
- Bug Fix: On operation per folder, change of folder must change configuration (JoergSchneider)
|
||||
|
||||
2022-06-08 v1.19.75
|
||||
- Bug Fix: Multiple text2bin and bin2text conversion on MNX causes space grow (JoergSchneider)
|
||||
- Enhancement: Typo in German (JoergSchneider)
|
||||
|
||||
2022-05-13 v1.19.74
|
||||
- Bug Fix: Fix menu bars with shortcuts keys like KEY F6, "F6"; are lost. (DanLauer)
|
||||
|
||||
2022-04-08 v1.19.73
|
||||
- Bug Fix: Problem converting trailing spaces on line end in memo (again) (bjornhoeksel)
|
||||
|
||||
2022-04-07 v1.19.72
|
||||
- Bug Fix: Problem on using "DBF_Conversion_Support" on table configuration file (LScheffler)
|
||||
- Bug Fix: Problem converting intentionally trailing spaces to VarChar/VarBinary (LScheffler)
|
||||
- Bug Fix: Problem converting trailing spaces on line end in memo (bjornhoeksel)
|
||||
- Enhancement: Documentation in config file enhanced
|
||||
- Enhancement: Added parameter "?" to show interactive help ("interactive" still works)
|
||||
|
||||
2022-03-30 v1.19.71
|
||||
- Bug Fix: Convert menu mn2 to mnx with skip for that contains a string with ; sign is missing part after that sign in mnx. (bjornhoeksel)
|
||||
|
||||
2022-03-16 v1.19.70
|
||||
- Bug Fix: Last bar in menu files are in some situations not converted correctly back in the mnx file. (bjornhoeksel)
|
||||
- Docu: Buglist internal of FoxBin2Prg reordered
|
||||
|
||||
2022-02-25 v1.19.69
|
||||
- Bug Fix: Missing class when building text file from corrupted VCX
|
||||
- Bug Fix: Recreating a class while an object with same name exists in VCX fails
|
||||
- Docu: Template configuration files FOXBIN2PRG.DBF.TXT and FOXBIN2PRG.DBF.CFG.TXT in English |
|
||||
- Docu: Notice in contribution file to creating files above in English |
|
||||
- Docu: Started reworking double documentation |
|
||||
|
||||
2022-01-18 v1.19.68
|
||||
- Docu: Minor links in readme.html
|
||||
- Bug Fix: Converting MN2 to MNX ignores the programmer-defined "Pad Name" found in "Prompt Options" screen
|
||||
|
||||
2021-12-07 v1.19.67
|
||||
- Bug Fix: Double classes in VCX (LScheffler)
|
||||
|
||||
2021-08-30 v1.19.66
|
||||
- Bug Fix: Incorrect version showing for v1.19.65 (siara-cc)
|
||||
|
||||
2021-05-20 v1.19.65
|
||||
- Bug Fix: Parameters -cCt not working from command line. (LScheffler)
|
||||
|
||||
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)
|
||||
|
||||
2021-03-23 v1.19.62
|
||||
- Enhancement: Debug logging, level of config file.
|
||||
- Bug Fix: *_Conversion_Support options not read from config file.
|
||||
- Bug Fix: Extension shift options not read from config file. (Sergej s-s-a)
|
||||
- Bug Fix: RedirectFilePerDBCToMain option was defined wrong in configuration example
|
||||
|
||||
2021-03-23 v1.19.61
|
||||
- Bug Fix: missnamed property (LScheffler)
|
||||
|
||||
2021-03-22 v1.19.60
|
||||
- Enhancement: FoxBin2Prg template and debug output: Completed and ordered, order synched, grouped and groups named at template. (LScheffler)
|
||||
- Enhancement: Option BackgroundImage was read, but not in template (LScheffler)
|
||||
- Enhancement: -cC options learned to create default FoxBin2Prg._cfg file (LScheffler)
|
||||
- Enhancement: -t Option learned to create default \<tablename\>._cfg file, if table is open. (LScheffler)
|
||||
- Enhancement: Handling of additional non structural index per DBF in Bin2Text and Text2Bin. See [Config per DBF](./FoxBin2Prg_Internals.md#configuration-per-table). (LScheffler)
|
||||
- Enhancement: Debug-Logging for Index (LScheffler)
|
||||
- Bug Fix: DBF_Conversion_Condition was read, but never used (LScheffler)
|
||||
- Bug Fix: DBF_Conversion_Order sets an index that later would be stored as structural index (LScheffler)
|
||||
- Bug Fix: config options with text value fail, if line comment is set (LScheffler)
|
||||
- Bug Fix: issue #53 Variable lnFileCount in get_filesfromdirectory (msueping)
|
||||
|
||||
2021-03-09 v1.19.59
|
||||
- Feature: Logging of settings as settings object passed to execute method (Option debug > 0) (LScheffler)
|
||||
- Feature: Added option to create config file template based on current values of a directory (LScheffler)
|
||||
- Bug Fix: RedirectClassType = 2, Path was set wrong in special config (LScheffler)
|
||||
- Bug Fix: RedirectClassType = 2, UseClassPerFile = 2 failed (LScheffler)
|
||||
- Doc: Improved, Better description of ClassPerFileCheck, tcOutputFolder. (LScheffler)
|
||||
|
||||
2021-03-04 v1.19.58
|
||||
- Feature: Added support for writing to a different folder than the source code using a new tcOutputFolder parameter (Doug Hennig)
|
||||
- Feature: Added a configuration option: HomeDir, which determines if HomeDir is saved in PJ2 files (the default is 1 for Yes) (Doug Hennig)
|
||||
|
||||
2021-03-05 v1.19.57.0
|
||||
- Bug Fix: RedirectClassType = 2 mixed up PATH (LScheffler)
|
||||
- Doc: improved (LScheffler)
|
||||
|
||||
2021-03-04 v1.19.56.0
|
||||
- Feature: New value 2 for option RedirectClassType = 2, just process the single class for input in form file[.baseclass].class.vc2 (LScheffler)
|
||||
- Bug Fix:<br>Inputfile in form classlib.class.vc2 AND RedirectClassType = 1 and Execute param tcRecompile = 1<br>generates classlib.class.vcx and tries to recompile classlib.vcx<br>fails silent if classlib.vcx exists (compiles wrong lib), with message if not. (LScheffler)
|
||||
|
||||
2021-03-03 v1.19.55.0
|
||||
- Doc: Documentation from CodePlex integrated (LScheffler)
|
||||
- Feature: added option to create config file template (LScheffler)
|
||||
- Doc: Info screen-doc improved (LScheffler)
|
||||
- Doc: German translation improved (LScheffler)
|
||||
|
||||
2021-03-03 v1.19.54.0
|
||||
- Bug Fix: DBF_Conversion_Condition, problem with macro expansion (LScheffler)
|
||||
- Feature: inserted option DBF_IncludeDeleted to allow including deleted records of DBF (LScheffler)
|
||||
- Feature: inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way (LScheffler)
|
||||
- Feature: inserted option ItemPerDBCCheck to split DBC processing from vcx / scx (LScheffler)
|
||||
- Feature: inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx (LScheffler)
|
||||
- Feature: inserted option UseFilesPerDBC to split DBC processing from vcx / scx (LScheffler)
|
||||
|
||||
2021-02-23 v1.19.53.0
|
||||
- Doc: For Info screen and config-template, usage of MEM and FRX added (LScheffler)
|
||||
- Bug Fix: conversion prg -> vcx, files per class could create one class multiple times (LScheffler)
|
||||
- Bug Fix: processing directory, flush log file after loop instead of file (LScheffler)
|
||||
|
||||
2021-02-14 v1.19.52.0
|
||||
- Bug Fix**: conversion prg -> dbf, fields with .NULL. value are incorectly recreated (LScheffler)
|
||||
- Doc: minor translations |
|
||||
- Bug Fix: conversion dbf -> prg, error if only test mode (toFoxBin2Prg.l_ProcessFiles is false) (LScheffler)
|
||||
************
|
||||
2019-02-24 v1.19.51.5
|
||||
- Enhancement: Make FoxBin2Prg more COM friendly when using ESC key (Tracy Pearson)
|
||||
|
||||
2018-07-13 v1.19.51.4
|
||||
- Bug Fix: The alphabetic ordering of ADD OBJECT's objects can cause that some objects be created in erroneous order, causing unexpected behavior (Jochen Kauz) [https://github.com/fdbozzo/foxbin2prg/issues/28]
|
||||
- NOTE: This Bug Fix implies that when tx2 files are regenerated, differences will occur almost certainly for the first time, so do not regenerate all tx2 files unnecesarily to keep differences at minimum.
|
||||
|
||||
2018-07-09 v1.19.51.3
|
||||
- Bug Fix: Error 1098, Cannot find ... [ENDT] that closes ... [TEXT] Issue#26 when there is a field named TEXT as first line-word (KIRIDES)
|
||||
|
||||
2018-06-20 v1.19.51.2
|
||||
- Bug Fix: When converting to text a DBF that belongs to a DBC with events disabled, conversion fails (Jairo Arg<72>elles / Juan C. Perdomo)
|
||||
|
||||
2018-05-12 v1.19.51.1
|
||||
- Bug Fix: If capitalization is used on a DBC view info, then related information is not exported correctly or entirely, so could be lost (SkySurfer1)
|
||||
|
||||
2018-03-24 v1.19.51
|
||||
- Add LOG info about config.fpw used and CodePage
|
||||
- Enhanced HELP dialog info when running FoxBin2Prg with double-click
|
||||
- Feature: Added automatic default language recognition for the supported ones (FR,DE,ES,EN)
|
||||
- Feature: FKY file structure support (MACRO exporting to text fk2)
|
||||
- Feature: MEM file structure support (MEMORY exporting to text me2)
|
||||
|
||||
2018-03-15 v1.19.50.3
|
||||
- Bug Fix: When adding some non-VFP text files like html,css,etc, in the text section of the project, FoxBin2Prg does not keep this selection when regenerating the PJX, leaving them in the files section (Darko Kezic)
|
||||
|
||||
2018-03-13 v1.19.50.2
|
||||
- Bug Fix: Regenerating pjm,"*" when CFG's extension:pj2=pjm does not regenerate all pjx included files (Darko Kezic)
|
||||
|
||||
2018-03-12 v1.19.50.1
|
||||
- Bug Fix: When using the CFG configuration "extension: pj2=pjm" treat the pjm as pj2 and not as SourceSafe-compatible pjm (Darko Kezic)
|
||||
|
||||
2018-03-06 v1.19.50
|
||||
- Added a new CFG "BodyDevInfo" switch to control the DevInfo body data of PJX. It is disabled by default because DevInfo normally have compiled data that can be regenerated and causes many differences on source control tools
|
||||
- New PRG_Compat_Level CFG value to make generated SC2/VC2 code more PRG compatible
|
||||
- Bug Fix: PJX homedir related fields do not always are sincronized
|
||||
- Workaround to export DBF metadata without the security part of the DBC blocking it, when DBCEvents are enabled.
|
||||
|
||||
2018-02-03 v1.19.49.8
|
||||
- Bug Fix: When converting a VCX corrupted with duplicated objects to text, "The specified key already exists" error is thrown (Kirides)
|
||||
|
||||
2018-01-11 v1.19.49.7
|
||||
- Bug Fix: When converting a DBF an error is thrown if there is a field called X or I (Francisco Prieto)
|
||||
|
||||
2018/01/04 v1.19.49.6
|
||||
- BugFix vcx/scx: FoxBin2Prg should ignore the records that VFP Designer ignores (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/15)
|
||||
- BugFix vcx/scx: FoxBin2Prg encodes MemberData property with CR/LF, which can cause "property '_memberdata' value is too long" error (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/16)
|
||||
|
||||
2017/12/20 v1.19.49.5
|
||||
- BugFix DBF: When FoxBin2PRG converts a DB2 file to a DBF file and imports the data (using DBF_Conversion_Support = 8), tabs at the start of lines in memo fields are lost (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/13)
|
||||
|
||||
2017/12/04 v1.19.49.4
|
||||
- Bug Fix VCX: When using ClassPerFile in API Mode and importing single classes, sometimes their names get unquoted, throwing errors / Reported by Lutz Scheffler (https://github.com/fdbozzo/foxbin2prg/issues/11)
|
||||
|
||||
2017/12/03 v1.19.49.3
|
||||
- Bug Fix: "Double" field types are explicitly defined with 0 decimals when no decimals are defined (Jerry Stager)
|
||||
|
||||
2017/12/03 v1.19.49.2
|
||||
- Bug Fix: ClassPerFile export didn't work correctly starting from v1.19.49 / Reported by Lutz Scheffler (https://github.com/fdbozzo/foxbin2prg/issues/9)
|
||||
|
||||
2017/06/25 v1.19.49.1
|
||||
- Bug Fix: DEVINFO field is only used when doing PJX conversions. On other files throw errors
|
||||
|
||||
2017/04/26 v1.19.49
|
||||
- Replace Scripting.FileSystemObject MoveFile with Win32API equivalent
|
||||
- Added support for using temporal CFG file for low-level API operations
|
||||
- Bug Fix: Single-class export with "classlib.vcx::classname" syntax did not export (Lutz Scheffler)
|
||||
- Added single-class import support ("library.vcx::classname::import")
|
||||
- Added new single-class export syntax ("library.vcx::classname::export")
|
||||
- Both single-class syntaxes doesn't require a CFG configuration
|
||||
- Bug Fix: Partially corrupted frx/lbx info generated when using "&&" string inside field expressions (Alejandro A Sosa)
|
||||
- sys(2023) secure temp: When sys(2023) points to "program files", then getenv("temp") is used
|
||||
- Add more options to config.fpw to minimize interference from existent configs
|
||||
- Feature: Save the contents of User field (Doug Hennig). Note: DevInfo is already supported
|
||||
|
||||
2016/07/11 v1.19.48
|
||||
- Bug Fix: Error message 'variable tcOutputFile not found' (german version) (Andy Kasper)
|
||||
- Bug Fix: Menu location 'Before' always changed to 'after' when convert (Andy Kasper)
|
||||
- Bug Fix: DBF conversion restrictions are not always respected when using particular CFGs for DBFs (Nathan Brown)
|
||||
- Bug Fix db2: When reading a miltiline-memo with old db2 data, an index out of range error occurs
|
||||
- Bug Fix db2: When using ExcludeDBFAutoincNextval: 1 setting in FoxBin2Prg.cfg and at the same time the data import with an AutoInc field, then error "Error 2088, Field <FIELD> is read-only" occurs (Nathan Brown)
|
||||
- Defect Fix db2: When fixing the multi-line memo bug, introduced a new defect on which a single-line memo is not decoded correctly (Nathan Brown)
|
||||
- Bug Fix pj2: When a binary is regenerated from a PJ2 file containing files with parenthesis and spaces, the error "Error 36, Command contains unrecognized phrase/keyword" occurs (Nathan Brown)
|
||||
- Bug Fix frx: ControlSource of OLE Objects containing quotes are not well regenerated from FR2 (Nathan Brown)
|
||||
|
||||
2016/06/08 v1.19.47
|
||||
- Bug Fix: When a filename "*" is specified with a type "*", an automatic regeneration of all binary files is made from text files (Alejandro Sosa)
|
||||
- BugFix: Added variable declaration (Doug Hennig)
|
||||
- BugFix: Fixed incorrectly named variable (Doug Hennig)
|
||||
- BugFix: Added missing assignment (Doug Hennig)
|
||||
- Enhancement: Put double quotes around path in case in contains single quote (Doug Hennig)
|
||||
- BugFix: Added "+16" to Debug flags to maintain internal defaults to not generate timestamps on xx2 files
|
||||
- Feature: Added support for appending data from DB2 to DBF with the new value DBF_Conversion_Support=8. All datatypes except General. (Walter Nicholls)
|
||||
|
||||
2016/02/06 v1.19.46
|
||||
- Bug Fix: set_UserValue() method causes error when trying to get information about another error and the VFP binary table can not be opened (ie, because corrupted memo)
|
||||
- Feature: Added internal support for querying directory cfg information, with a new optional parameter, for API methods that require it (ie: get_Ext2FromExt, hasSupport*)
|
||||
- Feature: Convert FUNCTION to PROCEDURE for maintaining compatibility with the way that VFP save methods on binaries
|
||||
- New fb2p_diff.exe: Allow a quick Diff of VFP9 binaries, for those that don't need converting to text manually
|
||||
- Bug Fix: When processing a directory or a project with all the files, sometimes an "Alias already in use" error may occur (Dave Crozier)
|
||||
- Bug Fix mnx: When menu options contains '&&' in their texts, menu binary is corrupted when regenerated (Walter Nichols)
|
||||
- Bug Fix fb2p_diff: When calling fb2p_diff.exe from a directory out of FoxBin2Prg dir, an error is thrown because FoxBin2Prg is not found (Mike Potjer)
|
||||
- Feature: In some environments and under some conditions WSscript.Shell object can cause problems, so now it's replaced with Win32 native functions (Aur<75>lien Dellieux)
|
||||
- Bug Fix frx/lbx: Ordering of report objects changes the ZOrder of near objects that can overlap, which can cause bad visualization and printing (Ryan Harris)
|
||||
- Bug Fix frx/lbx: When regenerating reports or labels with multiline texts center or right aligned, alignment is not completely right (Ryan Harris)
|
||||
- Bug Fix frx/lbx: When grouping objects in design mode, generating text and regenerating binary cause the lost of the grouping (does not affect data) (Lutz Scheffler)
|
||||
- Bug Fix Pjx: SPR and MPR files are not correctly identified in the PJX Project info (Ralf Wagner)
|
||||
- Bug Fix Pj2: An error is thrown when regenerating a PJX from a PJ2 when some file have parenthesis in it's name (EddieC)
|
||||
- Feature (dbf): New ExcludeDBFAutoincNextval parameter for minimizing DB2 differences (edyshor)
|
||||
- Bug Fix: When processing a file on root dir, a 2062 error occurs (Aur<75>lien Dellieux)
|
||||
- Feature: Added VFP 9 runtimes (vfp9r.dll, vfp9renu.dll) so FoxBin2Prg can be used with VFP when VPF IDE is not installed
|
||||
|
||||
|
||||
2015/06/21 v1.19.45
|
||||
- Bug Fix mnx: When a menu that uses single quotes or an expression in the option's MESSAGE is exported to text, when regenerating the menu from the text there are parts of the message that are cut off (Mike Potjer)
|
||||
- Bug Fix: When processing multiple PJ2 files, an error "variable llError not defined" can occur (Lutz Scheffler)
|
||||
- Bug Fix pjx/pj2: PJX/PJ2 projects that references files from other disk units throw errors for those files when processing with "*" or "*-" options (Matt Slay)
|
||||
- Bug Fix: When processing multiple-files, sometimes encountered errores are not reported
|
||||
- Feature (API-PJX): New loadModule() method that returns the internal FoxBin2Prg Project object when the full name of an existent project file is specified
|
||||
- Feature (API-PJX): New getFilesNotFound() method for the FoxBin2Prg's Project object, that returns the count of files referenced in the project that are not found on disk and an array with all the existence state of each file
|
||||
|
||||
|
||||
2015/05/31 v1.19.44
|
||||
- Bug Fix: In certain PCs FoxBin2Prg does not return error codes when called from an external program, so another terminating method is implemented (Ralf Wagner)
|
||||
- Allow exporting DBF data when using DBF_Conversion_Support:1 and optional individual CFG files
|
||||
- Bug Fix: A previous bug fix on cascading errors management caused reseting the error status, making that sometimes errors don't get reported
|
||||
|
||||
|
||||
2015/05/10 v1.19.43
|
||||
- Feature: Added new CFG setting "RemoveZOrderSetFromProps" for removing ZOrderSet property when you want to maintain the original class ZOrder always, avoid unnecesary differences and fix some visual on top/on bottom control problems (Ryan Harris)
|
||||
- Feature: Do not allow progressbar window become the default output window of ? command (Lutz Scheffler)
|
||||
- Bug Fix: Fixed VFP9 SP1 validation message
|
||||
- Bug Fix: FoxBin2Prg does not return error codes when called from an external program (Ralf Wagner)
|
||||
- Bug Fix: FoxBin2Prg sometimes generates an OLE error when executed as object more than once on a file with problems (Fidel Charny)
|
||||
- Bug Fix: When a form have AutoCenter=.T., there are times that when regenerating the binary and executing it does not shows centered (Esteban H)
|
||||
|
||||
|
||||
2015/04/16 v1.19.42
|
||||
- Feature: Added VFP 9 SP1 runtime validation
|
||||
- Bug Fix: Broken SourceSafe compatibility because an error is thrown when querying for file support (Tuvia Vinitsky)
|
||||
- Bug Fix scx/vcx: Process only one TEXT/ENDTEXT nesting level because TEXT/ENDTEXT can't be nested (Lutz Scheffler)
|
||||
- Feature: Make some error descriptions more informative and precise (Lutz Scheffler)
|
||||
- Feature (API): Allow specifying inputFile with relative path (Lutz Scheffler)
|
||||
- Bug Fix scx: Metadata of Dataenvironment not properly generated when Dataenvironment is renamed
|
||||
- Bug Fix: Added PJX/PJ2 generation when specifying "file.pjx", "*" (Lutz Scheffler)
|
||||
- Some enhancements in german translations (Lutz Scheffler)
|
||||
- Feature: Added multiprocessing of projects (*.pjx, *.pj2) when specifying "file.pjx", "*" (Lutz Scheffler)
|
||||
- Change FoxBin2Prg base class from custom to session (Lutz Scheffler)
|
||||
- Feature: Allow processing all project files without converting the PJX/2, with "*-" (Lutz Scheffler)
|
||||
- Bug Fix pjx/pj2: If end of line (CR+LF) is used on pjx's "Build" properties data, generated pj2 is malformed
|
||||
- Feature: Default foxbin2prg.cfg configuration file renamed to foxbin2prg.cfg.txt to no overwrite user cfg (Lutz Scheffler)
|
||||
- Added DOS errOut output support and implemented in writeErrorLog when logging errors
|
||||
- Feature: Added full support for *? file masks for multi-processing files of the same extension (Lutz Scheffler)
|
||||
- Feature (API): Added new parameter to allow alternative main CFG (Lutz Scheffler)
|
||||
- Feature (API): Added new get_Processed() method for obtaining information about processed files (Lutz Scheffler)
|
||||
- Feature: Added new file processing output to DOS stdOut (Lutz Scheffler)
|
||||
- Bug Fix: Fixed processing cancelation with Esc key
|
||||
- Feature: Sort table/view fields alphabetically to facilitate diffing and merging, while maintaining a list with the original field order for correct DBC regeneration (Ryan Harris)
|
||||
- Feature: Apply ClassPerFile to DBC connections, tables, views and SPs (Ryan Harris)
|
||||
- Bug Fix vw: Views now save/restore their Path and RecordCount properties
|
||||
- Feature: New default FoxBin2Prg App icon and background image, configurable with a new CFG "BackgroundImage" setting
|
||||
- Bug Fix mnx: Empty Pad name is not kept when regenerating a menu defined with and empty Pad name (Lutz Scheffler)
|
||||
- Feature (API): New property "l_ProcessFiles" that allow setting to .F. when using foxbin2prg as object to get Processing file info with get_Processed method without actual processing
|
||||
- Bug Fix frx/lbx: Trimmed some extra CR,LF,TAB from FR2/LB2 tag that where included in previous versions (Ryan Harris)
|
||||
- Bug Fix scx/vcx/dbc: Delete ERR files when processing with UseClassPerFile switch (Ryan Harris)
|
||||
- Feature: Implemented CFG inheritance between directories
|
||||
- Feature (API): New method get_DirSettings() that returns the CFG settings object for the indicated directory (Lutz Scheffler)
|
||||
- Feature: Allow generation of text for a single class of a librery when using ClassPerFile (Lutz Scheffler)
|
||||
- Feature (API): Renowned method names to English to facilitate international understanding (Mike Potjer)
|
||||
|
||||
2015/01/18 v1.19.41
|
||||
- Bug Fix db2: Erroneous detection of Invalid Table when size is less than 328 bytes. Lower limit was changed to 65 bytes.
|
||||
- Bug Fix vcx/scx: Erroneous detection of PROCEDURE/ENDPROC structures when used as parameters of LPARAMETERS and start in new line (Ryan Harris)
|
||||
|
||||
2015/01/11 v1.19.40
|
||||
- Enhancement frx/lbx: Clean ASCII 0 from expression field for Dataenvironment, Cursors and Relations
|
||||
- Bug fix frx/lbx: When using Dataenvironment with more than one cursor, remaining cursors are lost
|
||||
- Feature: Added new configuration "ShowProgressbar:2" to activate the progressbar only when a directory is selected and deactivate it for individual files (Jim Nelson)
|
||||
- Bug fix dbf: [Error 12, variable "tcOutputFile" is not found] when DBF_Conversion_Support=4 and output file is the same as existent one (Mike Potjer)
|
||||
- Feature scx/vcx/sc2/vc2: Added new code checking to find duplicated object names for the same class and container to notify those cases of file corruption
|
||||
- Fix for "Error 2183: Operation requires that SET MULTILOCKS is set to ON" in some DBF convertions
|
||||
|
||||
2015/01/01 v1.19.39
|
||||
- Bug fix vbs: vbs scripts does not show FoxBin2Prg process errors correctly
|
||||
- When using BIN2PRG or PRG2BIN keywords with FoxBin2Prg command line, allow processing one file (Mike Potjer)
|
||||
- Add keyword SHOWMSG and use INTERACTIVE keyword for an interactive dialog (Mike Potjer)
|
||||
- When processing a directory from commandline with foxbin2prg alone and the INTERACTIVE keyword, show a dialog to ask what to process (Mike Potjer)
|
||||
- Bug fix dc2: DisplayClass and DisplayClassLibrary values got the wrong value "Default" and not the corresponding own values (Christopher Kurth/Ryan Harris)
|
||||
- Deleted recompilation scripts for language, because it is an automatic selection now
|
||||
|
||||
2014/12/13 v1.19.38
|
||||
- Feature: Now is possible to use FoxBin2Prg for batch conversions directly from the File Explorer (see README.txt), without the need of vbs scripts, that sometimes can make trouble or are not permitted by IT department (Francisco Prieto)
|
||||
- Feature: Enhanced Multilanguage support by 3 ways: 1-Automatic [DEFAULT] (depending on VERSION(3)); 2-By parameter, using the new method ChangeLanguage(); 3-Using the new setting "Language" in foxbin2prg.cfg
|
||||
- Feature: Detection of duplicated methods on vc2/sc2 files to notify those cases of vcx/scx file corruption (<28>lvaro Castrill<6C>n)
|
||||
|
||||
2014/11/30 v1.19.37
|
||||
- Feature: Added Class per file support, configurable with UseClassPerFile:1 (Ryan Harris/Lutz Scheffler)
|
||||
- Feature: foxbin2prg.cfg configuration options can now have "&&" comments at the right of the values (edyshor)
|
||||
- Feature: Added support for the new "ClearDBFLastUpdate" setting in FoxBin2Prg.cfg, activated by default to minimize DB2 differences (edyshor)
|
||||
- Feature: Enhanced progressbar indication, with more detailed information
|
||||
- Feature: vcx/scx broken properties autofix because an erroneous manual user edition on the vcx/scx
|
||||
- Feature: vcx/scx autofix por Hidden and Protected duplicated properties (some type of corruption or bad manual user edit)
|
||||
- Feature: Added a validation for FRX to notify the user if it is not a VFP 9 REPORT
|
||||
- Feature: Batch convertions can now be interrupted with the Esc key
|
||||
- Bug Fix dbf: "Error 1903, String is too long to fit" when converting long DBF files with "DBF_Conversion_Support:4" to text (edyshor)
|
||||
- Bug Fix vcx/scx: Sometimes some properties get the description of a similarly named property
|
||||
- Bug Fix vcx/scx: Hidden and Protected properties are not ordered alphabetically
|
||||
- Various Code Optimizations for enhancing processing performance
|
||||
|
||||
2014/10/08 v1.19.36
|
||||
- Bug fix mnx: When generating mn2 text view, menu all pad IDs are generated as _000000000 (bug introduced in v1.19.36)
|
||||
- Enhancement: New "VFP9_FoxBin2Prg.vbs" script for "SendTo" menu, that replaces FoxBin2Prg.exe in this menu and adds a process status message
|
||||
|
||||
2014/09/26 v1.19.35
|
||||
- Enhancement: Always generate the same Timestamp and UniqueID for binaries, for minimizing differences when regenerating them (Marcio Gomez G.)
|
||||
|
||||
2014/09/19 v1.19.34
|
||||
- Bug Fix: If run from VFP Command Window and there is a file in use, an error is thrown because can't capitalize source file (Jim Nelson)
|
||||
|
||||
2014/08/29 v1.19.33
|
||||
- Bug Fix mnx: Menu doesn't generate well when there is a Bar of #BAR type without a name (Peter Hipp)
|
||||
- Bug Fix mnx: If a menu option have an associated Procedure with 1 line of code, the Procedure is converted to Command (Peter Hipp)
|
||||
|
||||
2014/08/26 v1.19.32
|
||||
- If exists a property called "text" it is confused with a text/endtext structure (Peter Hipp)
|
||||
|
||||
2014/08/22 v1.19.31
|
||||
- Trash cleanup code on binary methods, normally added by tools like ReFox and others
|
||||
- Added EXE version number when generating a debug LOG file
|
||||
- Enhanced recognition of #IF..#ENDIF instructions when there are spaces between # symbol and the command name
|
||||
- Added capitalization normalization for input files
|
||||
- Added new c_Language property for querying actual compiled language (EN,ES,DE,etc)
|
||||
|
||||
2014/08/07 v1.19.30
|
||||
- Bug Fix vcx/scx: Bad EndText block detection when the previous line ends with "," or ";" (Jim Nelson)
|
||||
- Bug Fix vcx/scx: Some methods are not alphabetically sorted in some inheritance situations (Ryan Harris)
|
||||
- Added FoxUnit test cases to bug fix confirmation of both
|
||||
|
||||
2014/08/01 v1.19.29
|
||||
- Bug Fix vcx/scx: Bad Text block detection when the previous line ends with "," (M_N_M)
|
||||
- Optimizations and refactoring
|
||||
|
||||
2014/07/26 v1.19.28
|
||||
- Feature: Added new options in foxbin2prg.cfg (DBF_Conversion_Included, DBF_Conversion_Excluded) and in filename.dbf.cfg (DBF_Conversion_Order, DBF_Conversion_Condition) for exporting DBFs data to text when DBF_Conversion_Support is 4 (Edyshor)
|
||||
|
||||
2014/07/18 v1.19.27
|
||||
- Feature: Added support for exporting DBF data for DIFF (It's intended just for DIFF small DBFs, as config ones, not for true Data export. Binary fields are not exported and there is not an Import Data feature) (Doug Hennig)
|
||||
|
||||
2014/07/06 v1.19.26
|
||||
- Feature: Drop asterisks between "ENDPROC" and "PROCEDURE", analyzed in that exact order, to regenerate binary without errors. (Daniel S<>nchez)
|
||||
- Feature: Add the l_DropNullCharsFromCode configuration option, enabled by default, to allow droping NULLs from source code. (Matt Slay)
|
||||
- Bug Fix cfg: ExtraBackupLevel does not work when using multi-configuration
|
||||
|
||||
2014/06/25 v1.19.25
|
||||
- When processing one or multiple files with vbs scripts, show a message indicating the status of the generation, and show the error log if any error occurs (Pedro Guti<74>rrez M.)
|
||||
- Code cleaning and normalization
|
||||
- ClearUniqueID is True by default for tx2 files
|
||||
- OptimizeByTimestamp is False by default, to avoid possible automatic modifications made by VFP when opening a form or a classlib
|
||||
- New AllowMultiConfig switch enabled by default, that allow a foxbin2prg.CFG file per directory, overriding main CFG (Mario Peschke)
|
||||
|
||||
2014/06/15 v1.19.24
|
||||
- Bug Fix scx/vcx: The absence of AGAIN keyword on some USE commands throws "tabla in use" error if used the PRG version from VFP command window (Matt Slay)
|
||||
- Bug Fix scx/vcx: A table field called "text" that begins the line can be confused with the TEXT/ENDTEXT structure and can wrong recognize the rest of the code (Mario Peschke)
|
||||
- Bug Fix scx/vcx: GetTimeStamp internal method throwse an error when day or month have just 1 digit (happen from v1.19.23)
|
||||
- New "run_aftercreate_db2" event that permits execution of an external program when using FoxBin2Prg as object (for example, to export table data)
|
||||
- New FoxUnit Unit Tests to verify new functionality and "text" bug fix
|
||||
- Added foxbin2prg_de.h file translation of most messages to German (Mario Peschke)
|
||||
|
||||
2014/06/07 v1.19.23
|
||||
- Timestamps and UniqueIds values are back on binaries, and they are just cleaned up on tx2 files if NoTimestamps and ClearUniqueID flags are set. This minimizes some differences on the binary side.
|
||||
- Added sccdata default value when regenerating PJX binary (which is automatically completed on the PJX when opened anyway)
|
||||
- Fixed timestamp evaluation for "OptimizeByFilestamp" optimization that evaluates just .??X files, and now .??T (memo) filestamps are evaluated too
|
||||
- Fixed missing BordeCcolor property on props_optiongroup.txt file
|
||||
- Fixed missing Stretch property on props_image.txt file (Kenny Vermassen)
|
||||
- Fixed missing Enabled property on props_image.txt file
|
||||
|
||||
2014/05/17 v1.19.22
|
||||
- Bug Fix vcx/scx: Picture property of a form class does not show the image. Does not happen with control pictures (Fidel Charny)
|
||||
- Bug Fix scx/vcx: Incorrect detection of PROCEDURE/ENDPROC/TEXT/ENDTEXT that can cause lost of some methods in some circunstantes (Andres Mendoza)
|
||||
- Bug Fix scx/vcx: Some options from the optiongroup control loose there width when subclassed from a class with autosize=.T. (Miguel Duran)
|
||||
- Added evaluation and generation of properties by classtype, when applicable
|
||||
- Added support of property evaluation from external file (props_*.txt)
|
||||
- Added enhanced Unit Tests of bitmap comparisons of screen captures before/after (the original is compared with the regenerated of the regenerated binary, for more accuracy)
|
||||
- A lot of garbage collect optimizations all over the code
|
||||
- Added Unit Testing of configuration by defaults, by file and by parameters
|
||||
- Added Unit Testing for checking the generation of classes, forms, reports and menus
|
||||
- Added new switch OptimizeByFilestamp (active by default) for making possible deactivation of this regeneration optimization by file timestamp, in case someone wants to force regeneration allways
|
||||
|
||||
2014/05/01 v1.19.21
|
||||
- Added support to convert to text or binary all files of a project from pjx or pj2 (Matt Slay)
|
||||
- Added optimization on the search of the capitalization program when processing projects
|
||||
- Added keyword AGAIN on table openings, for enhancing concurrence (Jim Nelson)
|
||||
- Added optimization based on file timestamps for regenerating only newer binaries and tx2 files (Matt Slay)
|
||||
- Added English translation in foxbin2prg_en.h for the LOG message of new timestamp optimization
|
||||
- <DefinedPropArrayMethod> section simplification: Methods and arrays doesn't require preceding * and ^ symbols anymore.
|
||||
|
||||
2014/04/17 v1.19.20
|
||||
- New: CDX filename in DB2 files have relative paths now. This help show less differences when regenerating DB2 files from different paths
|
||||
|
||||
2014/04/02 v1.19.19
|
||||
- New: DBF Hook that let intercalate a personalized process between DBF creation and index creation when processing a DB2 file (example program in "tests\demo_hook_dbf.prg" included)
|
||||
|
||||
2014/03/25 v1.19.18
|
||||
- Bug Fix vcx/scx: Image controls with stretched icons or images, get redimensioned to original size when regenerating binary (Arturo Ramos)
|
||||
- Bug Fix vcx/scx: Library level comments are not kept (Ryan Harris)
|
||||
|
||||
2014/03/16 v1.19.17
|
||||
- Bug Fix frx/lbx: Double-quoted expressiones make fx2/lb2 files corrupt (Ryan Harris)
|
||||
- Bug Fix frx/lbx: Multiline Comments are lost (Ryan Harris)
|
||||
- frx/lbx tag2 field enhance: when used for tooltips, real values are shown in regards of b64 normal encoding
|
||||
- Bug Fix mnx: Multiline Comments on Bars/Pads makes MN2 file corrupt (Ryan Harris)
|
||||
- Bug Fix mnx: Some procedures doesn't generate correctly (Ryan Harris)
|
||||
- English translation file foxbin2prg_en.h syntax corrected (Ryan Harris)
|
||||
- Bug Fix vcx/scx: Lowercase saved Dataenvironment property causes Reserved2 value to be not calculated
|
||||
- Bug Fix frx: <CR> character on print condition on field makes fr2 file corrupt
|
||||
- Bug Fix mnx: Using double-quotes on prompt option fields makes mn2 file invalid (Ryan Harris)
|
||||
|
||||
2014/03/10 v1.19.16
|
||||
- Bug Fix vcx/scx: properties loose there hidden/protected visibility when no default value assigned (Ryan Harris)
|
||||
- Bug Fix vcx/scx: character value with length >255 in addobject property regenerates with tag <fb2p_value> included (Ryan Harris)
|
||||
- Bug Fix vcx/scx: When regenerating binari file with empty procedure makes FoxPro crash when trying to modify it on IDE
|
||||
- Bug Fix scx/vcx: Binary can be corrupted if the class have a multiline comment (Tested on: Ffc\_frxcursor.vcx)
|
||||
- Bug Fix: If _memberdata contains CR inside there values, they can be lost when regenerating tx2 text files
|
||||
- Bug Fix: Property values with spaces at the right loose this spaces
|
||||
- Bug Fix: When 2 or more methods share the same name (ej: met and met2) tx2 text file gets corrupted (Ryan Harris)
|
||||
|
||||
2014/03/04 v1.19.15
|
||||
- Bug Fix: OLE information cleared when a legacy TX2 is processed
|
||||
- Bug Fix: Default value of NoTimestamp = 0 ==> Now is 1, as should be
|
||||
- Bug Fix: DBFs backlink info cleared when DBC is recreated (Ryan Harris)
|
||||
- Feature: Lowercase capitalization in tx2 filename headers to minimize differences
|
||||
|
||||
2014/03/01 v1.19.14
|
||||
- Load of configuration is optimized (foxbin2prg.cfg) to read cfg only once for a massive processing of multiple conversions
|
||||
- .vbs scripts have been modified to respect the conversion support configuration defined in foxbin2prg.cfg configuration file
|
||||
- 2 new functions where added to enhance and encapsulate the external use of the evaluation of the conversion support (requires previous call to EvaluarConfiguracion()). Used on .vbs scripts
|
||||
- ExtraBackupLevels Regression: when no defined value, no backup is made
|
||||
- New default value ClearUniqueID = 1 in foxbin2prg.cfg for minimizing differences in the SCM
|
||||
|
||||
2014/02/26 v1.19.13
|
||||
- Bug Fix: If NoTimestamp setting of foxbin2prg.cfg is changed, opposite value is evaluated (Ryan Harris)
|
||||
- Encapsulated foxbin2prg.cfg file for enhancing FoxUnit automated testing
|
||||
- Internal change of property l_UseTimestamps by l_NoTimestamps
|
||||
- With ExtraBackupLevels setting you can now deactivate backups if setting to 0 (Ryan Harris proposal)
|
||||
- foxbin2prg.log file checking dropped, to activate the log file use foxbin2prg.cfg setting Debug=1
|
||||
- In TX2 header files show the file without path, because genereting it from different places makes unnecesary differences in Diff (Ryan Harris proposal)
|
||||
- Created a lot of FoxUnit automated tests to check all settings of foxbin2prg.cfg configuration file
|
||||
|
||||
2014/02/23 v1.19.12
|
||||
- Generation of VC2/SC2 with new header metadata <OBJECTDATA> for centralizing uniqueid, timestamp and ZOrder and big reduce of differences in a diff/merge (enhancement proposed by Ryan Harris)
|
||||
- BINARY regeneration from the new metadata <OBJECTDATA> header (remains compatible with old VC2/SC2)
|
||||
- FoxUnit test cases fixed for the new functionality
|
||||
- Cleaning, Refactorization and optimization of Code
|
||||
- Presentation enhancement of VC2/SC2 file headers
|
||||
|
||||
2014/02/13 v1.19.11
|
||||
- WITH/ENDWITH optimizations with a conversion performance gain up to 16% more fast
|
||||
- Bug Fix: Just one level of #IF was contemplated, throwing an error if more levels are nested
|
||||
- Bug Fix: When regenerating the PJX, default home directory not always was correct
|
||||
- New FoxUnit automated test added to check bug fix of nested #IF
|
||||
|
||||
2014/02/09 v1.19.10
|
||||
- Added parametrization to enable configuration support for each kind of binary (0=None, 1=Only TX2, 2=TX2 and Binary)
|
||||
- Fixed default NoTimestamps setting
|
||||
- EXPERIMENTAL: Added new configuration parameter "ClearUniqueID" in foxbin2prg.cfg for Clearing UniqueID in binaries and text versions. Works well and apparently FoxProdoesn't make use of it, but more testing is required
|
||||
- Adjusted some FoxUnit test cases
|
||||
|
||||
2014/02/08 v1.19.9
|
||||
- New configuration items in foxbin2prg.cfg
|
||||
- Localization Bug: When recompiling with localization file foxbin2prg_en.h renamed to foxbin2prg.h, syntax error occurs
|
||||
- Debug information of .LOG files enhanced
|
||||
- New parametrization for the number of backups, now just one .BAK by default (earlier was 10)
|
||||
- Enabled configuration file foxbin2prg.cfg by default
|
||||
- Change in default behavior: Now Timestamps are disabled by default. You can change this on foxbin2prg.cfg
|
||||
|
||||
2014/02/03 v1.19.8
|
||||
- Bug fix: ActivePage error when executing a regenerated binary with a PageFrame / New FoxUnit test to test solution
|
||||
- Added cNoTimestamps='1' to batch conversion vbs scripts
|
||||
|
||||
2014/02/02 v1.19.7
|
||||
- Added Ole encapsulation in just 1 place
|
||||
- Adjusted Blocksize of generated binaries
|
||||
- New cNoTimestamps parameter. If '1' is given, then no timestamps are generated (useful for diff/merge)
|
||||
|
||||
2014/01/31 v1.19.6
|
||||
- Added SourceSafe support (SCCAPI) for Diff and Merge
|
||||
- SCX bug fix: Dataenvironment sometimes doesn't regenerates correctly
|
||||
- Functionality change: Automatic recompilation enabled by default again because some methods doesn't show on form edit. Can be deactivated passing '0' to cRecompile param
|
||||
|
||||
2014/01/26 v1.19.5
|
||||
- Added Multilanguage support and Localization file for English. To use it rename the new file foxbin2prg_en.h to foxbin2prg.h and recompile
|
||||
|
||||
2014/01/24 v1.19.4
|
||||
- New "Recompile" parameter for recompiling from PJX directory (if provided)
|
||||
- Functionality change: Now FoxBin2Prg does not recompile bins for default, because it do on bin dir and that can throw compilation errors. Use new parameter if needed or recompile by your own
|
||||
- DBC: Added support for multiline "comment" property
|
||||
- VBS Batch scripts: Added progress bar
|
||||
|
||||
2014/01/18 v1.19.3
|
||||
- Change on TXT timestamps to preserve empty values that can save a lot of differences when diff/merging. Previously empty timestamps get converted to datetime
|
||||
- Optimization on TXT generation of ZOrders
|
||||
|
||||
2014/01/13 v1.19.2
|
||||
- Fix on PJX regeneration caused for something missing in the last change of "Autor" to "Author"
|
||||
|
||||
2014/01/08 v1.19.1
|
||||
- Small change on TX2 headers to drop the "Generated" timestamp that causes unnecesary differences / Updated the EXE version with the correct one
|
||||
|
||||
2014/01/08 v1.19
|
||||
- Added new debug flag on .vbs scripts to show a "End process" message for batch processing
|
||||
- Bug Fix scx/vcx: Improper order of Reserved3 props cause event access to not fire
|
||||
- Bug Fix dbf: Improper index generated when the type is Candidate
|
||||
- Added support for converting SourceSafe PJM to FoxBin PJ2
|
||||
- Added validation for Menus when converting from older versions, so user can convert it to VFP 9 format first
|
||||
- Change in MN2 property: "Autor" was changed to "Author". You can add the missing letter to MN2 or regenerate
|
||||
|
||||
2014/01/07 v1.18.1
|
||||
- Added a vbs script (Normalize_FileNames.vbs) for FileNames normalizing in batch mode, and updated FileName_Caps.exe and the call on FoxBin2prg
|
||||
|
||||
2014/01/06 v1.18
|
||||
- mnx bug fix: Generation of DO Procedure or Command when no Procedure or Command available to call when empty option is created (Fidel Charny)
|
||||
- Added support for DBFs earlier than VFP 9 for generating DB2 text, but DBF regeneration is in VFP 9 version!
|
||||
- dbf bug fix: DBFs linked to a DBC that use long field names throw error when regenerating DBFs
|
||||
- dbf bug fix: Some view info is lost when generating text from DBC
|
||||
|
||||
2014/01/03 v1.17
|
||||
- mnx bug fix: Location value is lost and some menus doesn't render properly (Fidel Charny)
|
||||
- Added 2 VB scripts (Convert_VFP9_BIN_2_PRG.vbs and Convert_VFP9_PRG_2_BIN.vbs) for batch converting of dirs and files if a shortcut is placed on "SendTo" user folder
|
||||
- Added new Unit Testing cases for menus
|
||||
|
||||
2014/01/02 v1.16
|
||||
- Added support for Menus (MNX)
|
||||
|
||||
2013/12/18 v1.15
|
||||
- Added support for DBF, DBC and CDX binaries
|
||||
|
||||
2013/12/15 v1.14
|
||||
- scx bug fix: autocenter property do nothing (Arturo Ramos)
|
||||
- scx bug fix: Last COMMENT record is lost (Fidel Charny)
|
||||
|
||||
2013/12/08 v1.13
|
||||
- frx/lbx bug fix: "Error 1924, TOREG is not an object" on some reports (Fidel Charny)
|
||||
|
||||
2013/12/08 v1.12
|
||||
- Added support for Reports (FRX) and Labels (LBX)
|
||||
|
||||
2013/12/08 v1.11
|
||||
- scx/vcx bug fix: _memberdata value corrupted when the value is a long one (Edgar Kummers)
|
||||
|
||||
2013/12/07 v1.10
|
||||
- scx/vcx bug fix: when there are methods with the same name, there code is assigned to erroneous objects (Fidel Charny)
|
||||
|
||||
2013/12/07 v1.9
|
||||
- scx/vcx bug fix: last fix keep loosing some properties (Fidel Charny)
|
||||
|
||||
2013/12/06 v1.8
|
||||
- scx/vcx bug fix: last fix keep loosing some properties (Fidel Charny)
|
||||
- sort function encapsulated and reused on BIN and TXT generation for safety
|
||||
|
||||
2013/12/03 v1.7
|
||||
- vcx/scx bug fix: some properties get lost and picture clause is not displayed if "Name" is not the last property on memo (Fidel Charny)
|
||||
- Added verification of readOnly files and report this to Log file in debug mode
|
||||
|
||||
2013/12/02 v1.6
|
||||
- Complete refactoring of BIN and TXT generation
|
||||
- Changes of various algorithms
|
||||
- scx/vcx bug fix: Array properties didn't save (Fidel Charny)
|
||||
- Unit testing cases with FoxUnit
|
||||
|
||||
2013/11/27 v1.5
|
||||
- Bug fix: On some forms dataenvironment didn't regenerate appropiately (Luis Mart<72>nez)
|
||||
|
||||
2013/11/27 v1.4
|
||||
- Added mask support
|
||||
- Added support for extension configuration on file foxbin2prg.cfg, so one can use "vca" instead of "vc2", etc
|
||||
- Added support for a new parameter for Log generation
|
||||
|
||||
2013/11/24 v1.3
|
||||
- Bug fixes, code cleaning, refactoring
|
||||
|
||||
2013/11/24 v1.2
|
||||
- Bug fixes, code cleaning, refactoring
|
||||
|
||||
2013/11/22 v1.1
|
||||
- Bug fixes
|
||||
|
||||
2013/11/22 v1.0
|
||||
- Initial creation of clases on prg and support of VCX/SCX/PJX files
|
||||
|
||||
EndText
|
||||
|
||||
AddProperty(toUpdateInfo, 'Notes', lcNote)
|
||||
|
||||
Execscript (_Screen.cThorDispatcher, 'Result=', toUpdateInfo)
|
||||
Return toUpdateInfo
|
||||
59
README.md
59
README.md
@@ -1,38 +1,7 @@
|
||||
# FoxBin2Prg v1.20.05
|
||||
# FoxBin2Prg v1.20.07
|
||||
**Binary/Text Converting program for Microsoft Visual FoxPro**
|
||||
|
||||
## Lutz Scheffler
|
||||

|
||||
|
||||
This is the perpetuation of [Fernando D. Bozzo](https://github.com/fdbozzo) foxbin2prg.
|
||||
It's the main tool with some bugs fixes and some new functions.
|
||||
Since I now maintain this project, my [fork](https://github.com/lscheffler/foxbin2prg) is no longer in sync.
|
||||
|
||||
The spanish documentation is not longer maintained - it would fade.
|
||||
For fast access a quick run is [introduced](#use-foxbin2prg), more [complex](./docs/FoxBin2Prg_Run.md#usage-1), and a large [documentation](./docs/FoxBin2Prg.md) exists too.
|
||||
If you do not access FoxBin2Prg via [Thor](https://github.com/VFPX/Thor) remind yourself to compile the exe first.
|
||||
|
||||
---
|
||||
---
|
||||
If you like to value my work, support the Geeks at
|
||||
[](https://virtualfoxfest.com/) or [](https://www.swfox.net).
|
||||
I also do not reject invitations to a beer, next time in Gilbert.
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
|
||||
If you like to see Fernandos blog, or value his work:
|
||||
- Blog: http://fdbozzo.blogspot.com.es/
|
||||
- [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=fdbozzo%40gmail%2ecom&lc=ES&item_name=FoxBin2Prg&item_number=FoxBin2Prg&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
|
||||
|
||||
Thank you for your support!
|
||||
|
||||
----
|
||||
## Contribution
|
||||
See [contribution](./.github/CONTRIBUTING.md)
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
## What is FOXBIN2PRG?
|
||||
@@ -83,6 +52,9 @@ extension: DC2=DCA
|
||||
DO FOXBIN2PRG.PRG WITH "<path>\archivo.scx" ==> Generates the TEXT version sc2 extension
|
||||
DO FOXBIN2PRG.PRG WITH "<path>\archivo.sc2" ==> Regenerates the binary version with scx extension
|
||||
|
||||
DO FOXBIN2PRG.PRG WITH "<path>","Prg2Bin" ==> Generates the TEXT of the path, that is directory or file
|
||||
DO FOXBIN2PRG.PRG WITH "<path>","Bin2Prg" ==> Regenerates the binary version of the path, that is directory or file
|
||||
|
||||
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
|
||||
```
|
||||
@@ -125,10 +97,9 @@ I will try to fix bugs if my obligations let me do it.
|
||||
This work is licensed under the Creative Commons Attribution 4.0 International License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
|
||||
|
||||
---
|
||||
---
|
||||
## Changes
|
||||
See [Changes](./docs/Change_Log.md)
|
||||
See [Changes](./docs/ChangeLog.md)
|
||||
|
||||
### Changes to Settings
|
||||
To get the new settings in config file, use the new create-a-template function:
|
||||
@@ -148,4 +119,22 @@ See [issue #93](https://github.com/fdbozzo/foxbin2prg/issues/93).
|
||||
## Usage
|
||||
For usage see [documentation](./docs/FoxBin2Prg.md)
|
||||
|
||||
Last changed: _2023/09/04_ 
|
||||
----
|
||||
|
||||
## Helping with FoxBin2PRG
|
||||
See [contribution](./.github/CONTRIBUTING.md)
|
||||
|
||||
---
|
||||
|
||||
## Note
|
||||
The spanish documentation is not longer maintained - it would fade.
|
||||
For fast access a quick run is [introduced](#use-foxbin2prg), more [complex](./docs/FoxBin2Prg_Run.md#usage-1), and a large [documentation](./docs/FoxBin2Prg.md) exists too.
|
||||
If you do not access FoxBin2Prg via [Thor](https://github.com/VFPX/Thor) remind yourself to compile the exe first.
|
||||
|
||||
If you like to see Fernando's blog, or value his work:
|
||||
- Blog: http://fdbozzo.blogspot.com.es/
|
||||
- [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=fdbozzo%40gmail%2ecom&lc=ES&item_name=FoxBin2Prg&item_number=FoxBin2Prg&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
|
||||
|
||||
----
|
||||
|
||||
Last changed: _2023/09/23_ 
|
||||
Binary file not shown.
@@ -11,7 +11,7 @@ local;
|
||||
lcappName = "FoxBin2Prg"
|
||||
*Set following two numbers on version
|
||||
ldDate = date(2023,09,04)
|
||||
lcmajorVersion = "1.20.05"
|
||||
lcmajorVersion = "1.20.07"
|
||||
|
||||
*lnJulian = val(sys(11, m.ldDate)) - val(sys(11, {^2000-01-01}))
|
||||
*lcJulian = padl(transform(lnJulian), 4, '0')
|
||||
@@ -39,6 +39,9 @@ Demo video using FoxBin2Prg with PlasticSCM: http://youtu.be/sE4wQ50Itqg
|
||||
|
||||
+++++++++++++++++++++++ Change History +++++++++++++++++++++++
|
||||
|
||||
2023-09-23 v1.20.07
|
||||
- Updated to @lscheffler's fork
|
||||
|
||||
2023-09-05 v1.20.05
|
||||
- Updated to @lscheffler's fork
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
appName = FoxBin2Prg
|
||||
appID = FoxBin2Prg
|
||||
majorVersion = 1.19.78
|
||||
majorVersion = 1.20.07
|
||||
excludeFiles = *.bak,*.bat,*.fxp,*.tbk,*.tmp,*.dat,*.log,*.cvp,README.md,.gitignore,*.zip*,*.7z*,*- copia.*,*.private.*,test_*.*,xx*.*,*.lnk,vfp_init.*,tmp*.*,*.err, *.conflict.*, *.private., .gitignore, *.pui. *.prj*
|
||||
excludeFolders = *.plastic*,*ThorUpdater*,*Documentacion*,*foxunit*,*foxunit_*,*pruebas varias*,*versiones*,*datos_test*
|
||||
|
||||
@@ -24,6 +24,8 @@ _**Note:** you can click on the version number for downloading this version from
|
||||
|
||||
| Rel.Date | Developer | Version | Details |
|
||||
| - | - | - | - |
|
||||
| 2023/09/06 | LScheffler | [v1.20.07](https://github.com/lscheffler/foxbin2prg/releases/tag/v1.20.07) | **Enhancement**: Option to block processing of directories. If file ".FoxBin2Prg_Ignore" is existing, this directories and all subdirectries will be ignored. (Mainly set up to ignore local GoFish settings) (LScheffler)
|
||||
| 2023/09/06 | LScheffler | [v1.20.06](https://github.com/lscheffler/foxbin2prg/releases/tag/v1.20.06) | **Bug Fix**: Problems recreating tables (LScheffler) |
|
||||
| 2023/09/03 | LScheffler | [v1.20.05](https://github.com/lscheffler/foxbin2prg/releases/tag/v1.20.05) | **Bug Fix**: Problems recreating menu files (introduced with codepage) (LScheffler) |
|
||||
| | | | Enhancement: Inserted options to allow splitting of SCX handling from VCX.1 |
|
||||
| 2023/09/01 | LScheffler | [v1.20.04](https://github.com/lscheffler/foxbin2prg/releases/tag/v1.20.04) | Enhancement: New option "tcDebug" for get_DirSettings method. |
|
||||
|
||||
@@ -81,7 +81,7 @@ FoxBin2Prg can be used in tree ways:
|
||||
- expandable
|
||||
|
||||
## Keep reading
|
||||
- [FoxBin2Prg Full Change History](./FoxBin2Prg_Changes.md)
|
||||
- [FoxBin2Prg Full Change History](./ChangeLog.md)
|
||||
- [FoxBin2Prg Internals and Configuration](./FoxBin2Prg_Internals.md)
|
||||
- [FoxBin2Prg and use with SCM tools](./FoxBin2Prg_SCM.md)
|
||||
- [FoxBin2Prg and use with git](./FoxBin2Prg_git.md)
|
||||
@@ -91,4 +91,4 @@ FoxBin2Prg can be used in tree ways:
|
||||
This project is part of [VFPX](https://vfpx.github.io/).
|
||||
|
||||
----
|
||||
Last changed: _2023/03/20_ 
|
||||
Last changed: _2023/09/23_ 
|
||||
@@ -1,428 +0,0 @@
|
||||
# FoxBin2Prg Change log
|
||||
Documentation of FoxBin2Prg - A Binary to Text converter for MS Visual Foxpro 9
|
||||
|
||||
## Purpose of this document
|
||||
List of Changes, Bugfixes and modifications.
|
||||
|
||||
For settings, API and other realted stuff see [Internals](./FoxBin2Prg_Internals.md).
|
||||
|
||||
The original document was created by [Fernando D. Bozzo](https://github.com/fdbozzo) whom I like to thank for the great project.
|
||||
Pictures are taken from the original project.
|
||||
As far as possible these are the original documents. Changes are added where functionality is changed.
|
||||
|
||||
----
|
||||
## Table of contents
|
||||
- [Remark](#remark)
|
||||
- [Full Change History](#full-change-history)
|
||||
|
||||
For recent verisons see
|
||||
 [FoxBin2PRG](https://github.com/fdbozzo/foxbin2prg)
|
||||
|
||||
## Full Change History
|
||||
This page is not only to get the history of the changes, but to keep a permanent list of people that have contributed to enhance FoxBin2Prg and that I feel as part of the ADN of this tool.
|
||||
|
||||
It's my way of thanking them for their contribution.
|
||||
|
||||
_**Note:** you can click on the version number for downloading this version from GitHub, or you can get all the code history directly from the GitHub repository, which is more easy to search._
|
||||
|
||||
| Rel.Date | Developer | Version | Details |
|
||||
| - | - | - | - |
|
||||
| 2023/08/04 | LScheffler | [v1.19.79](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.79) | **Bug Fix**: Bin2Text: Forms with ole controls conversion error (also: any vcx) #95 (KestasL) |
|
||||
| 2023/03/20 | LScheffler | [v1.19.78](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.78) | **Enhancement**: Text2Bin on PJX errors out for projects with an attach icon that has a drive letter on its path. #93 (ericbarte) |
|
||||
| | | | **Enhancement**: Documentation enhanced |
|
||||
| 2023/03/16 | LScheffler | [v1.19.77](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.77) | **Bug Fix**: Bin2Txt Operation on VCX loses leading spaces in Property Values #90 (JoergSchneider) |
|
||||
| | | | **Bug Fix**: Txt2Bin Operation on VCX looses double ampersand in Property Values #91 (LScheffler) |
|
||||
| 2022/11/09 | LScheffler | Docu | **Enhancement**: Documentation for git on handling line endings |
|
||||
| 2022/06/13 | LScheffler | [v1.19.76](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.76) | **Bug Fix**: On operation per folder, change of folder must change configuration (JoergSchneider) |
|
||||
| 2022/06/08 | LScheffler | [v1.19.75](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.75) | **Bug Fix**: Multiple text2bin and bin2text conversion on MNX causes space grow (JoergSchneider) |
|
||||
| | | | **Enhancement**: Typo in German (JoergSchneider) |
|
||||
| 2022/05/13 | bjornhoeksel | [v1.19.74](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.74) | **Bug Fix**: Fix menu bars with shortcuts keys like KEY F6, "F6"; are lost. (DanLauer) |
|
||||
| 2022/04/08 | LScheffler | [v1.19.73](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.73) | **Bug Fix**: Problem converting trailing spaces on line end in memo (again) (bjornhoeksel) |
|
||||
| 2022/04/07 | LScheffler | [v1.19.72](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.72) | **Bug Fix**: Problem converting trailing spaces on line end in memo (bjornhoeksel) |
|
||||
| | | | **Bug Fix**: Problem converting intentionally trailing spaces to VarChar/VarBinary (LScheffler) |
|
||||
| | | | **Bug Fix**: Bug Fix: Problem on using "DBF_Conversion_Support" on table configuration file (LScheffler) |
|
||||
| | | | **Enhancement**: Documentation in config file enhanced |
|
||||
| | | | **Enhancement**: Added parameter "?" to show interactive help ("interactive" still works) |
|
||||
| 2022/03/30 | bjornhoeksel | [v1.19.71](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.71) | **Bug Fix**: Convert menu mn2 to mnx with skip for that contains a string with ; sign is missing part after that sign in mnx. (bjornhoeksel) |
|
||||
| 2022/03/16 | LScheffler | [v1.19.70](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.70) | **Bug Fix**: Last bar in menu files are in some situations not converted correctly back in the mnx file. (bjornhoeksel) |
|
||||
| | | | **Enhancement**: Buglist internal of FoxBin2Prg reordered |
|
||||
| | | | **Enhancement**: Enhancement to documentation |
|
||||
| 2022/02/25 | LScheffler | [v1.19.69](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.69) | **Bug Fix**: Missing class when building text file from corrupted VCX (bjornhoeksel) |
|
||||
| 2022/02/23 | LScheffler | [v1.19.69](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.69) | **Bug Fix**: Recreating a class while an object with same name exists in VCX fails (bjornhoeksel) |
|
||||
| | | | **Enhancement**: Template configuration files FOXBIN2PRG.DBF.TXT and FOXBIN2PRG.DBF.CFG.TXT in English |
|
||||
| | | | **Enhancement**: Examples and template for config files enhanced |
|
||||
| | | | **Enhancement**: Notice in contribution file to creating files above in English |
|
||||
| | | | **Enhancement**: Started reworking double documentation |
|
||||
| 2022/01/18 | LScheffler | [v1.19.68](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.68) | **Bug Fix**: Converting MN2 to MNX ignores the programmer-defined "Pad Name" found in "Prompt Options" screen (Jimrnelson) |
|
||||
| | | | **Enhancement**: Minor links in readme.html |
|
||||
| 2021/08/20 | LScheffler | [v1.19.67](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.67) | **Bug Fix**: Double classes in VCX (LScheffler) |
|
||||
| | | | **Enhancement**: Templates and documentation for config files reworked |
|
||||
| 2021/08/20 | LScheffler | [v1.19.66](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.66) | **Bug Fix**: Incorrect version showing for v1.19.65 (siara-cc) |
|
||||
| | | | **Enhancement**: Incorrect links on documentation (siara-cc) |
|
||||
| 2021/05/20 | LScheffler | [v1.19.65](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.65) | **Bug Fix**: Parameters -cCt not working from command line. (LScheffler) |
|
||||
| 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/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**: Extension shift options not read from config file. (Sergej s-s-a) |
|
||||
| | | | **Bug Fix**: RedirectFilePerDBCToMain option was defined wrong in configuration example |
|
||||
| 2021/03/23 | LScheffler | [v1.19.61](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.61) | **Bug Fix**: Missnamed property. |
|
||||
| 2021/03/22 | LScheffler | [v1.19.60](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.60) | **Enhancement**: FoxBin2Prg template and debug output: Completed and ordered, order synched, grouped and groups named at template. |
|
||||
| | | | **Enhancement**: Option BackgroundImage was read, but not in template |
|
||||
| | | | **Enhancement**: -cC options learned to create default FoxBin2Prg._cfg file |
|
||||
| | | | **Enhancement**: -t Option learned to create default \<tablename\>._cfg file, if table is open. |
|
||||
| | | | **Enhancement**: Handling of additional non structural index per DBF in Bin2Text and Text2Bin. See [Config per DBF](./FoxBin2Prg_Internals.md#configuration-per-table). |
|
||||
| | | | **Enhancement**: 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 |
|
||||
| | | | **Bug Fix**: issue #53 Variable lnFileCount in get_filesfromdirectory (msueping) |
|
||||
| 2021/03/09 | LScheffler | v1.19.59 | **Feature**: Logging of settings as settings object passed to execute method (Option debug > 0) |
|
||||
| | | | **Feature**: Added option to create config file template based on current values of a directory |
|
||||
| | | | **Bug Fix**: RedirectClassType = 2, Path was set wrong in special config |
|
||||
| | | | **Bug Fix**: RedirectClassType = 2, UseClassPerFile = 2 failed |
|
||||
| | | | **Doc**: Improved, Better description of ClassPerFileCheck, tcOutputFolder. |
|
||||
| 2021/03/04 | Doug Hennig | [v1.19.58](https://github.com/fdbozzo/foxbin2prg/releases/tag/v1.19.58) | **Feature**: Added support for writing to a different folder than the source code using a new tcOutputFolder parameter |
|
||||
| | | | **Feature**: Added a configuration option: HomeDir, which determines if HomeDir is saved in PJ2 files (the default is 1 for Yes) |
|
||||
| 2021/03/05 | LScheffler | v1.19.57 | **Bug Fix**: RedirectClassType = 2 mixed up PATH |
|
||||
| | | | **Doc**: Improved |
|
||||
| 2021/03/04 | LScheffler | v1.19.56 | **Feature**: New value 2 for option RedirectClassType = 2, just process the single class for input in form file[.baseclass].class.vc2 |
|
||||
| | | | **Bug Fix**:<br>Inputfile in form classlib.class.vc2 AND RedirectClassType = 1 and Execute param tcRecompile = 1<br>generates classlib.class.vcx and tries to recompile classlib.vcx<br>fails silent if classlib.vcx exists (compiles wrong lib), with message if not. |
|
||||
| 2021/03/03 | LScheffler | v1.19.55 | **Doc**: Documentation from CodePlex integrated |
|
||||
| | | | **Feature**: added option to create config file template |
|
||||
| | | | **Doc**: Info screen-doc improved |
|
||||
| | | | **Doc**: German translation improved |
|
||||
| 2021/03/03 | LScheffler | v1.19.54 | **Bug Fix**: DBF_Conversion_Condition, problem with macro expansion |
|
||||
| 2021/02/20 | LScheffler | | **Feature**: inserted option DBF_IncludeDeleted to allow including deleted records of DBF |
|
||||
| 2021/02/19 | LScheffler | | **Feature**: inserted option DBF_BinChar_Base64 to allow processing of NoCPTrans fields in non base64 way |
|
||||
| 2021/02/15 | LScheffler | | **Feature**: inserted option ItemPerDBCCheck to split DBC processing from vcx / scx |
|
||||
| | | | **Feature**: inserted option RedirectFilePerDBCToMain to split DBC processing from vcx / scx |
|
||||
| 2021/02/14 | LScheffler | | **Feature**: inserted option UseFilesPerDBC to split DBC processing from vcx / scx |
|
||||
| 2021/02/23 | LScheffler | v1.19.53 | **Doc**: For Info screen and config-template, usage of MEM and FRX added |
|
||||
| | | | **Bug Fix**: conversion prg -> vcx, files per class could create one class multiple times |
|
||||
| 2021/02/15 | | | **Bug Fix**: processing directory, flush log file after loop instead of file |
|
||||
| 2021/02/14 | LScheffler | v1.19.52 | **Bug Fix**: conversion prg -> dbf, fields with .NULL. value are incorectly recreated |
|
||||
| | | | **Doc**: minor translations |
|
||||
| | | | **Bug Fix**: conversion dbf -> prg, error if only test mode (toFoxBin2Prg.l_ProcessFiles is false) |
|
||||
| 2020/04/01 | FDBOZZO | [v1.19.51.6](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.6) | Add some fixes to existent ut_tests |
|
||||
| | | | **Bug Fix**: At least one of the class-per-file files do not have CR_LF at the end, then when assembling the class or form some structures (ENDIF/ENDCASE/ENDDEF/etc) can be joined with the next, making them erroneous (Ryan Harris) |
|
||||
| | | | **Bug Fix**: Incompatible with VFPA (#36) (Eric Selje) |
|
||||
| | | | **Bug Fix**: DBF conversion fails if some field name is a reserved keyword like UNIQUE (DAJU78) |
|
||||
| | | | **Bug Fix**: VCX/SCX properties named "note" are not properly converted (Tracy Pearson) |
|
||||
| | DH | | **Bug Fix**: Manejo de AutoIncrement incompatible con Project Explorer (Dan Lauer) [Fixed by Doug Hennig] |
|
||||
| 2019/02/24 | FDBOZZO | [v1.19.51.5](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.5) | **Feature**: Issue#32 Make FoxBin2Prg more COM friendly when using ESC key (Tracy Pearson) |
|
||||
| 2018/07/31 | FDBOZZO | [v1.19.51.4](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.4) | **Bug Fix**: Issue#26 The alphabetic ordering of ADD OBJECT's objects can cause that some objects be created in erroneous order, causing unexpected behavior (Jochen Kauz) |
|
||||
| 2018/07/09 | FDBOZZO | [v1.19.51.3](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.3) | **Bug Fix**: Error 1098, Cannot find ... [ENDT] that closes ... [TEXT] Issue#26 when there is a field named TEXT as first line-word (KIRIDES) |
|
||||
| 2018/06/20 | FDBOZZO | [v1.19.51.2](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.2) | **Bug Fix**: When converting to text a DBF that belongs to a DBC with events disabled, conversion fails (Jairo Argüelles / Juan C. Perdomo) |
|
||||
| 2018/05/12 | FDBOZZO | [v1.19.51.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51.1) | **Bug Fix**: If capitalization is used on a DBC view info, then related information is not exported correctly or entirely, so could be lost (SkySurfer1) |
|
||||
| 2018/03/26 | FDBOZZO | [v1.19.51](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.51) | Add LOG info about config.fpw used and CodePage |
|
||||
| | | | Enhanced HELP dialog info when running FoxBin2Prg with double-click |
|
||||
| | | | **Feature**: FKY file structure support (MACRO file exporting only to text fk2) |
|
||||
| | | | **Feature**: MEM file structure support (MEMORY file exporting only to text me2) |
|
||||
| | | | **Feature**: Added automatic default language recognition for the supported ones (FR,DE,ES,EN) |
|
||||
| 2018/03/15 | FDBOZZO | [v1.19.50.3](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.50.3) | **Bug Fix**: When adding some non-VFP text files like html,css,etc, in the text section of the project, FoxBin2Prg does not keep this selection when regenerating the PJX, leaving them in the files section (Darko Kezic) |
|
||||
| 2018/03/13 | FDBOZZO | [v1.19.50.2](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.50.2) | **Bug Fix**: Regenerating pjm,"*" when CFG's extension:pj2=pjm does not regenerate all pjx included files (Darko Kezic) |
|
||||
| 2018/03/12 | FDBOZZO | [v1.19.50.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.50.1) | **Bug Fix**: When using the CFG configuration "extension: pj2=pjm" treat the pjm as pj2 and not as SourceSafe-compatible pjm (Darko Kezic) |
|
||||
| 2018/03/06 | FDBOZZO | [v1.19.50](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.50) | Added a new CFG "BodyDevInfo" switch to control the DevInfo body data of PJX. It is disabled by default because DevInfo normally have compiled data that can be regenerated and causes many differences on source control tools |
|
||||
| | | | New PRG_Compat_Level CFG value to make generated SC2/VC2 code more PRG compatible |
|
||||
| | | | **Bug Fix**: PJX homedir related fields do not always are sincronized |
|
||||
| | | | Workaround to export DBF metadata without the security part of the DBC blocking it, when DBCEvents are enabled. |
|
||||
| 2018/02/03 | FDBOZZO | [v1.19.49.8](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.8) | **Bug Fix**: When converting a VCX corrupted with duplicated objects to text, "The specified key already exists" error is thrown (Kirides) |
|
||||
| 2018/01/11 | FDBOZZO | [v1.19.49.7](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.7) | **Bug Fix**: When converting a DBF an error is thrown if there is a field called X or I (Francisco Prieto) |
|
||||
| 2018/01/04 | FDBOZZO | [v1.19.49.6](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.6) | **BugFix vcx/scx**: FoxBin2Prg should ignore the records that VFP Designer ignores (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/15) |
|
||||
| | | | **BugFix vcx/scx**: FoxBin2Prg encodes MemberData property with CR/LF, which can cause "property '_memberdata' value is too long" error (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/16) |
|
||||
| 2017/12/20 | FDBOZZO | [v1.19.49.5](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.5) | **BugFix DBF**: When FoxBin2PRG converts a DB2 file to a DBF file and imports the data (using DBF_Conversion_Support = 8), tabs at the start of lines in memo fields are lost (Doug Hennig / https://github.com/fdbozzo/foxbin2prg/issues/13) |
|
||||
| 2017/12/04 | FDBOZZO | [v1.19.49.4](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.4) | **Bug Fix VCX**: When using ClassPerFile in API Mode and importing single classes, sometimes their names get unquoted, throwing errors / Reported by Lutz Scheffler (https://github.com/fdbozzo/foxbin2prg/issues/11) |
|
||||
| 2017/12/03 | FDBOZZO | [v1.19.49.3](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.3) | **Bug Fix**: "Double" field types are explicitly defined with 0 decimals when no decimals are defined (Jerry Stager) |
|
||||
| 2017/12/03 | FDBOZZO | [v1.19.49.2](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.2) | **Bug Fix**: ClassPerFile export didn't work correctly starting from v1.19.49 / Reported by Lutz Scheffler (https://github.com/fdbozzo/foxbin2prg/issues/9) |
|
||||
| 2017/06/25 | FDBOZZO | [v1.19.49.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49.1) | **Bug Fix**: DEVINFO field is only used when doing PJX conversions. On other files throw errors |
|
||||
| 2017/04/26 | FDBOZZO | [v1.19.49](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.49) | Replace Scripting.FileSystemObject MoveFile with Win32API equivalent |
|
||||
| | | | Added support for using temporal CFG file for low-level API operations |
|
||||
| | | | **Bug Fix**: Single-class export with "classlib.vcx::classname" syntax did not export (Lutz Scheffler) |
|
||||
| | | | Added single-class import support ("library.vcx::classname::import") |
|
||||
| | | | Added new single-class export syntax ("library.vcx::classname::export") |
|
||||
| | | | Both single-class syntaxes doesn't require a CFG configuration |
|
||||
| | | | **Bug Fix**: Partially corrupted frx/lbx info generated when using "&&" string inside field expressions (Alejandro A Sosa) |
|
||||
| | | | sys(2023) secure temp: When sys(2023) points to "program files", then getenv("temp") is used |
|
||||
| | | | Add more options to config.fpw to minimize interference from existent configs |
|
||||
| | | | **Feature**: Save the contents of User field (Doug Hennig). Note: DevInfo is already supported |
|
||||
| 2016/07/24 | FDBOZZO | [v1.19.48](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.48) | **Bug Fix**: ControlSource of OLE Objects containing quotes are not well regenerated from FR2 (Nathan Brown) |
|
||||
| | FDBOZZO | Preview-5 | **Bug Fix**: When a binary is regenerated from a PJ2 file containing files with parenthesis and spaces, the error "Error 36, Command contains unrecognized phrase/keyword" occurs (Nathan Brown) |
|
||||
| | FDBOZZO | Preview-4 | **Defect Fix**: When fixing the multi-line memo bug, introduced a new defect on which a single-line memo is not decoded correctly (Nathan Brown) |
|
||||
| | FDBOZZO | Preview-3 | **Bug Fix**: Bug Fix db2: When reading a miltuline-memo with old db2 data, an index out of range error occurs |
|
||||
| | FDBOZZO || **Bug Fix** db2: When using ExcludeDBFAutoincNextval: 1 setting in FoxBin2Prg.cfg and at the same time the data import with an AutoInc field, then error "Error 2088, Field <FIELD> is read-only" occurs (Nathan Brown) |
|
||||
|| FDBOZZO | Preview-2 | **Bug Fix**: DBF conversion restrictions are not always respected when using particular CFGs for DBFs (Nathan Brown) |
|
||||
|| AndyGK63 | Preview-1 | **Bug Fix**: Error message 'variable tcOutputFile not found' (german version) (Andy Kasper) |
|
||||
|| AndyGK63 || **Bug Fix**: Menu location 'Before' always changed to 'after' when convert (Andy Kasper) |
|
||||
| 2016/06/09 | FDBOZZO | [v1.19.47](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.47) | **Bug Fix**: Added multi-line support for memo data when importing/exporting |
|
||||
|| FDBOZZO || **Feature**: Added support for appending data from DB2 to DBF with the new value DBFConversionSupport=8. All datatypes except General. (Walter Nicholls) |
|
||||
|| DougHennig || **Bug Fix**: Added variable declaration in vbs scripy (Doug Hennig) |
|
||||
|| DougHennig || **Bug Fix**: Fixed incorrectly named variable in vbs script (Doug Hennig) |
|
||||
|| DougHennig || **Bug Fix**: Added missing assignment in vbs script (Doug Hennig) |
|
||||
|| DougHennig || **Enhancement**: Put double quotes around path in case in contains single quote in vbs scripts (Doug Hennig) |
|
||||
|| FDBOZZO || **Bug Fix**: Added "+16" to Debug flags to maintain internal defaults to not generate timestamps on xx2 files in vbs scripts |
|
||||
|| FDBOZZO || **Bug Fix**: When a filename "\*" is specified with a type "\*", an automatic regeneration of all binary files is made from text files (Alejandro Sosa) |
|
||||
| 2016/02/07 | FDBOZZO | [v1.19.46](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.46) | **Bug Fix**: set\_UserValue() method causes error when trying to get information about another error and the VFP binary table can not be opened (ie, because corrupted memo) |
|
||||
|||| **Feature**: Added internal support for querying directory cfg information, with a new optional parameter, for API methods that require it (ie: get\_Ext2FromExt, hasSupport\*) |
|
||||
|||| **Feature**: Convert FUNCTION to PROCEDURE for maintaining compatibility with the way that VFP save methods on binaries |
|
||||
|||| **New fb2p\_diff.exe**: Allow a quick Diff of VFP9 binaries, for those that don't need converting to text manually |
|
||||
|||| **Bug Fix**: When processing a directory or a project with all the files, sometimes an "Alias already in use" error may occur (Dave Crozier) |
|
||||
|||| **Bug Fix mnx**: When menu options contains '&&' in their texts, menu binary is corrupted when regenerated (Walter Nichols) |
|
||||
|||| **Bug Fix fb2p\_diff.exe**: When calling fb2p\_diff.exe from a directory out of FoxBin2Prg dir, an error is thrown because FoxBin2Prg is not found (Mike Potjer) |
|
||||
|||| **Feature**: In some environments and under some conditions WSscript.Shell object can cause problems, so now it's replaced with Win32 native functions (Aurélien Dellieux) |
|
||||
|||| **Bug Fix frx/lbx**: Ordering of report objects changes the ZOrder of near objects that can overlap, which can cause bad visualization and printing (Ryan Harris) |
|
||||
|||| **Bug Fix frx/lbx**: When regenerating reports or labels with multiline texts center or right aligned, alignment is not completely right (Ryan Harris) |
|
||||
|||| **Bug Fix frx/lbx**: When grouping objects in design mode, generating text and regenerating binary cause the lost of the grouping (does not affect data) (Lutz Scheffler) |
|
||||
|| RALFXWAGNER || **Bug Fix Pjx**: SPR and MPR files are not correctly identified in the PJX Project info (Ralf Wagner) |
|
||||
|||| **Bug Fix Pj2**: An error is thrown when regenerating a PJX from a PJ2 when some file have parenthesis in it's name (EddieC) |
|
||||
|||| **Feature (dbf)**: New ExcludeDBFAutoincNextval parameter for minimizing DB2 differences (edyshor) |
|
||||
|||| **Bug Fix**: When processing a file on root dir, a 2062 error occurs (Aurélien Dellieux) |
|
||||
| 2015/06/21 | FDBOZZO | [v1.19.45](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.45) | **Bug Fix mnx**: When a menu that uses single quotes or an expression in the option's MESSAGE is exported to text, when regenerating the menu from the text there are parts of the message that are cut off (Mike Potjer) |
|
||||
|||| **Bug Fix**: When processing multiple PJ2 files, an error "variable llError not defined" can occur (Lutz Scheffler) |
|
||||
|||| **Bug Fix pjx/pj2**: PJX/PJ2 projects that references files from other disk units throw errors for those files when processing with "\*" or "\*-" options (Matt Slay) |
|
||||
|||| **Bug Fix**: When processing multiple-files, sometimes encountered errores are not reported |
|
||||
|||| **Feature (API-PJX)**: New loadModule() method that returns the internal FoxBin2Prg Project object when the full name of an existent project file is specified |
|
||||
|||| **Feature (API-PJX)**: New getFilesNotFound() method for the FoxBin2Prg's Project object, that returns the count of files referenced in the project that are not found on disk and an array with all the existence state of each file |
|
||||
| 2015/05/31 | FDBOZZO | [v1.19.44](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.44) | **Bug Fix**: In certain PCs FoxBin2Prg does not return error codes when called from an external program, so another terminating method is implemented (Ralf Wagner) |
|
||||
|||| **Feature**: Allow exporting DBF data when using DBF\_Conversion\_Support:1 and optional individual CFG files |
|
||||
|||| **Bug Fix**: A previous bug fix on cascading errors management caused reseting the error status, making that sometimes errors don't get reported |
|
||||
| 2015/05/10 | FDBOZZO | [v1.19.43](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.43) | **Feature**: Added new CFG setting "RemoveZOrderSetFromProps" for removing ZOrderSet property when you want to maintain the original class ZOrder always, avoid unnecesary differences and fix some visual on top/on bottom control problems (Ryan Harris) |
|
||||
|||| **Feature**: Do not allow progressbar window become the default output window of ? command (Lutz Scheffler) |
|
||||
|||| **Bug Fix**: Fixed VFP9 SP1 validation message |
|
||||
|||| **Bug Fix**: FoxBin2Prg PRG2BIN does not return error codes (Ralf Wagner) |
|
||||
|||| **Bug Fix**: FoxBin2Prg sometimes generates an OLE error when executed for second time on a file with problems (Fidel Charny) |
|
||||
|||| Some enhancements in security of DLL declarations and On Escape management |
|
||||
|||| **Defect Fix**: Accesing DataSessionID property throws an error because of the change of internal classes between custom and session |
|
||||
|||| **Bug Fix**: When a form have AutoCenter=.T., there are times that when regenerating the binary and executing it does not shows centered (Esteban Herrero) |
|
||||
| 2015/04/16 | FDBOZZO | [v1.19.42](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.42) | **Feature**: Added VFP 9 SP1 runtime validation |
|
||||
|||| **Bug Fix**: Broken SourceSafe compatibility because an error is thrown when querying for file support (Tuvia Vinitsky) |
|
||||
|||| **Bug Fix scx/vcx**: Process only one TEXT/ENDTEXT nesting level because TEXT/ENDTEXT can't be nested (Lutz Scheffler) |
|
||||
|||| **Feature**: Make some error descriptions more informative and precise (Lutz Scheffler) |
|
||||
|||| **Feature (API)**: Allow specifying inputFile with relative path (Lutz Scheffler) |
|
||||
|||| **Bug Fix scx**: Metadata of Dataenvironment not properly generated when Dataenvironment is renamed |
|
||||
|||| **Bug Fix**: Added PJX/PJ2 generation when specifying "file.pjx", "\*" (Lutz Scheffler) |
|
||||
|||| Some enhancements in german translations (Lutz Scheffler) |
|
||||
|||| **Feature**: Added multiprocessing of projects (\*.pjx, \*.pj2) when specifying "file.pjx", "\*" (Lutz Scheffler) |
|
||||
|||| Change FoxBin2Prg base class from custom to session (Lutz Scheffler) |
|
||||
|||| **Feature**: Allow processing all project files without converting the PJX/2, with "\*-" (Lutz Scheffler) |
|
||||
|||| **Bug Fix pjx/pj2**: If end of line (CR+LF) is used on pjx's "Build" properties data, generated pj2 is malformed |
|
||||
|||| **Feature**: Default foxbin2prg.cfg configuration file renamed to foxbin2prg.cfg.txt to no overwrite user cfg (Lutz Scheffler) |
|
||||
|||| **Feature**: Added DOS errOut output support and implemented in writeErrorLog when logging errors |
|
||||
|||| **Feature**: Added full support for \*? file masks for multi-processing files of the same extension |
|
||||
|||| **Feature (API)**: Added new parameter to allow alternative main CFG (Lutz Scheffler) |
|
||||
|||| **Feature (API)**: Added new get\_Processed() method for obtaining information about processed files (Lutz Scheffler) |
|
||||
|||| **Feature**: Added new file processing output to DOS stdOut (Lutz Scheffler) |
|
||||
|||| **Bug Fix**: Fixed processing cancelation with Esc key |
|
||||
|||| **Feature**: Sort table/view fields alphabetically to facilitate diffing and merging, while maintaining a list with the original field order for correct DBC regeneration (Ryan Harris) |
|
||||
|||| **Feature**: Apply ClassPerFile to DBC connections, tables, views and SPs (Ryan Harris) |
|
||||
|||| **Bug Fix mnx**: Empty Pad name is not kept when regenerating a menu defined with and empty Pad name (Lutz Scheffler) |
|
||||
|||| **Feature (API)**: New property "lProcessFiles" that allow setting to .F. when using foxbin2prg as object to get Processing file info with getProcessed method without actual processing |
|
||||
|||| **Bug Fix frx/lbx**: Trimmed some extra CR,LF,TAB from FR2/LB2 tag that where included in previous versions (Ryan Harris) |
|
||||
|||| **Bug Fix scx/vcx/dbc**: Delete ERR files when processing with UseClassPerFile switch (Ryan Harris) |
|
||||
|||| **Feature**: Implemented CFG inheritance between directories |
|
||||
|||| **Feature (API)**: New method get\_DirSettings() that returns the CFG settings object for the indicated directory (Lutz Scheffler) |
|
||||
|||| **Feature**: Allow generation of text for a single class of a librery when using ClassPerFile (Lutz Scheffler) |
|
||||
|||| **Feature (API)**: Renowned method names to English to facilitate international understanding (Mike Potjer) |
|
||||
| 2015/01/18 | FDBOZZO | [v1.19.41](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.41) | **Bug Fix db2**: Erroneous detection of Invalid Table when size is less than 328 bytes. Lower limit was changed to 65 bytes. |
|
||||
|||| **Bug Fix vcx/scx**: Erroneous detection of PROCEDURE/ENDPROC structures when used as parameters of LPARAMETERS and start in new line (Ryan Harris) |
|
||||
| 2015/01/11 | FDBOZZO | [v1.19.40](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.40) | **Enhancement frx/lbx**: Clean ASCII 0 from expression field for Dataenvironment, Cursors and Relations |
|
||||
|||| **Bug fix frx/lbx**: When using Dataenvironment with more than one cursor, remaining cursors are lost |
|
||||
|||| **Feature**: Added new configuration "ShowProgressbar:2" to activate the progressbar only when a directory is selected and deactivate it for individual files (Jim Nelson) |
|
||||
|||| **Bug fix dbf**: Error 12, variable "tcOutputFile" is not found when DBFConversionSupport=4 and output file is the same as existent one (Mike Potjer) |
|
||||
|||| **Feature scx/vcx/sc2/vc2**: Added new code checking to find duplicated object names for the same class and container to notify those cases of file corruption |
|
||||
|||| **Bug Fix**: "Error 2183: Operation requires that SET MULTILOCKS is set to ON" in some DBF convertions |
|
||||
| 2015/01/01 | FDBOZZO | [v1.19.39](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.39) | **Bug fix vbs**: vbs scripts does not show FoxBin2Prg process errors correctly |
|
||||
|||| When using BIN2PRG or PRG2BIN keywords with FoxBin2Prg command line, allow processing one file (Mike Potjer) |
|
||||
|||| Add keyword SHOWMSG and use INTERACTIVE keyword for an interactive dialog (Mike Potjer) |
|
||||
|||| When processing a directory from commandline with foxbin2prg alone and the INTERACTIVE keyword, show a dialog to ask what to process (Mike Potjer) |
|
||||
|||| **Bug fix dc2**: DisplayClass and DisplayClassLibrary values got the wrong value "Default" and not the corresponding own values (Christopher Kurth/Ryan Harris) |
|
||||
|||| Deleted recompilation scripts for language, because it is an automatic selection now |
|
||||
| 2014/12/13 | FDBOZZO | [v1.19.38](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.38) | **Feature**: Now is possible to use FoxBin2Prg for batch conversions directly from the File Explorer (see README.txt), without the need of vbs scripts, that sometimes can make trouble or are not permitted by IT department (Francisco Prieto) |
|
||||
|||| **Feature**: Enhanced Multilanguage support by 3 ways: 1-Automatic DEFAULT (depending on VERSION(3)); 2-By parameter, using the new method ChangeLanguage(); 3-Using the new setting "Language" in foxbin2prg.cfg |
|
||||
|||| **Feature**: Detection of duplicated methods on vc2/sc2 files to notify those cases of vcx/scx file corruption (Álvaro Castrillón) |
|
||||
| 2014/11/30 | FDBOZZO | [v1.19.37](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.37) | **Feature**: Added Class per file support, configurable with UseClassPerFile:1 (Ryan Harris/Lutz Scheffler/Álvaro Castrillón) |
|
||||
|||| **Feature**: foxbin2prg.cfg configuration options can now have "&&" comments at the right of the values (edyshor) |
|
||||
|||| **Feature**: Added support for the new "ClearDBFLastUpdate" setting in FoxBin2Prg.cfg, activated by default to minimize DB2 differences (edyshor) |
|
||||
|||| **Feature**: Enhanced progressbar indication, with more detailed information |
|
||||
|||| **Feature**: vcx/scx broken properties autofix because an erroneous manual user edition on the vcx/scx |
|
||||
|||| **Feature**: vcx/scx autofix por Hidden and Protected duplicated properties (some type of corruption or bad manual user edit) |
|
||||
|||| **Feature**: Added a validation for FRX to notify the user if it is not a VFP 9 REPORT |
|
||||
|||| **Feature**: Batch convertions can now be interrupted with the Esc key |
|
||||
|||| **Bug Fix dbf**: "Error 1903, String is too long to fit" when converting long DBF files with "DBFConversionSupport:4" to text (edyshor) |
|
||||
|||| **Bug Fix vcx/scx**: Sometimes some properties get the description of a similarly named property |
|
||||
|||| **Bug Fix vcx/scx**: Hidden and Protected properties are not ordered alphabetically |
|
||||
|||| Various Code Optimizations for enhancing processing performance |
|
||||
| 2014/10/08 | FDBOZZO | [v1.19.36](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.36) | **Bug fix mnx**: When generating mn2 text view, menu all pad IDs are generated as \_000000000 (bug introduced in v1.19.35) |
|
||||
|||| **Enhancement**: New "VFP9\_FoxBin2Prg.vbs" script for "SendTo" menu, that replaces FoxBin2Prg.exe in this menu and adds a process status message |
|
||||
| 2014/10/05 | FDBOZZO | [v1.19.35](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.35) | **Enhancement**: Always generate the same Timestamp and UniqueID for binaries, for minimizing differences when regenerating them (Marcio Gomez G.) |
|
||||
| 2014/09/19 | FDBOZZO | [v1.19.34](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.34) | **Bug Fix**: If run from VFP Command Window and there is a file in use, an error is thrown because can't capitalize source file (Jim Nelson) |
|
||||
| 2014/08/29 | FDBOZZO | [v1.19.33](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.33) | **Bug Fix mnx**: Menu doesn't generate well when there is a Bar of #BAR type without a name (Peter Hipp) |
|
||||
|||| **Bug Fix mnx**: If a menu option have an associated Procedure with 1 line of code, the Procedure is converted to Command (Peter Hipp) |
|
||||
| 2014/08/26 | FDBOZZO | [v1.19.32](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.32) | If exists a property called "text" it is confused with a text/endtext structure (Peter Hipp) |
|
||||
| 2014/08/22 | FDBOZZO | [v1.19.31](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.31) | Trash cleanup code on binary methods, normally added by tools like ReFox and others |
|
||||
|||| Added EXE version number when generating a debug LOG file |
|
||||
|||| Enhanced recognition of #IF..#ENDIF instructions when there are spaces between # symbol and the command name |
|
||||
|||| Added capitalization normalization for input files |
|
||||
|||| Added new c\_Language property for querying actual compiled language (EN,ES,DE,etc) |
|
||||
| 2014/08/10 | FDBOZZO | [v1.19.30](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.30) | **Bug Fix vcx/scx**: Bad EndText (from Text/EndText block) detection when the previous line ends with "," or ";" (Jim Nelson) |
|
||||
|||| Bug Fix vcx/scx: Some methods are not alphabetically sorted in some inheritance situations (Ryan Harris) |
|
||||
|||| Added FoxUnit test cases to bug fix confirmation of both |
|
||||
| 2014/08/01 | FDBOZZO | [v1.19.29](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.29) | **Bug Fix vcx/scx**: Bad Text (from Text/EndText block) detection when there is a line that begins with a "text" field and previous line end with "," in regards of ";" (M\_N\_M) |
|
||||
|||| Optimizations and refactoring |
|
||||
| 2014/07/26 | FDBOZZO | [v1.19.28](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.28) | **Feature**: Added new options in foxbin2prg.cfg (DBF_Conversion_Included, DBF_Conversion_Excluded) and in filename.dbf.cfg (DBF\_Conversion\_Order, DBF\_Conversion\_Condition) for exporting DBFs data to text when DBF_Conversion_Support is 4 (Edyshor) |
|
||||
| 2014/07/18 | DH/FDBOZZO | [v1.19.27](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.27) | **Feature**: Added support for exporting DBF data for DIFF when using DBF\_Conversion\_Support: 4 in foxbin2prg.cfg (It's intended just for DIFF small DBFs, as config ones, not for true Data export. Binary fields are not exported and there is not an Import Data feature) (Doug Hennig) |
|
||||
| 2014/07/06 | FDBOZZO | [v1.19.26](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.26) | **Feature**: Take out asterisks between "ENDPROC" and "PROCEDURE", analyzed in that exact order, to regenerate binary without errors. (Daniel Sánchez) |
|
||||
|||| **Feature**: Add the l\_DropNullCharsFromCode configuration option, enabled by default, to allow taking out NULLs from source code. (Matt Slay) |
|
||||
|||| **Bug Fix cfg**: ExtraBackupLevel does not work when using multi-configuration |
|
||||
| 2014/06/25 | FDBOZZO | [v1.19.25](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.25) | When processing one or multiple files with vbs scripts, show a message indicating the status of the generation, and show the error log if any error occurs (Pedro Gutiérrez M.) |
|
||||
|||| Code cleaning and normalization |
|
||||
|||| ClearUniqueID is True by default for tx2 files |
|
||||
|||| OptimizeByFilestamp is False by default, to avoid possible automatic modifications made by VFP when opening a form or a classlib |
|
||||
|||| New AllowMultiConfig switch enabled by default, that allow a foxbin2prg.CFG file per directory, overriding main CFG (Mario Peschke) |
|
||||
| 2014/06/15 | FDBOZZO | [v1.19.24](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.24) | **Bug Fix scx/vcx**: The absence of AGAIN keyword on some USE commands throws "tabla in use" error if used the PRG version from VFP command window (Matt Slay) |
|
||||
|||| **Bug Fix scx/vcx**: A table field called "text" that begins the line can be confused with the TEXT/ENDTEXT structure and can wrong recognize the rest of the code (Mario Peschke) |
|
||||
|||| **Bug Fix scx/vcx**: GetTimeStamp internal method throwse an error when day or month have just 1 digit (happen from v1.19.23) |
|
||||
|||| New "run\_aftercreate\_db2" event that permits execution of an external program when using FoxBin2Prg as object (for example, to export table data) |
|
||||
|||| New FoxUnit Unit Tests to verify new functionality and "text" bug fix |
|
||||
|||| Added foxbin2prg\_de.h file translation of most messages to German (Mario Peschke) |
|
||||
| 2014/06/07 | FDBOZZO | [v1.19.23](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.23) | Timestamps and UniqueIds values are back on binaries, and they are just cleaned up on tx2 files if NoTimestamps and ClearUniqueID flags are set. This minimizes some differences on the binary side |
|
||||
|||| Added sccdata default value when regenerating PJX binary (which is automatically completed on the PJX when opened anyway) |
|
||||
|||| Fixed timestamp evaluation for "OptimizeByFilestamp" optimization that evaluates just .??X files, and now .??T (memo) filestamps are evaluated too |
|
||||
|||| Fixed missing BorderColor property on props\_optiongroup.txt file |
|
||||
|||| Fixed missing Stretch property on props\_image.txt file (Kenny Vermassen) |
|
||||
|||| Fixed missing Enabled property on props\_image.txt file |
|
||||
| 2014/05/17 | FDBOZZO | [v1.19.22](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.22) | **Bug Fix vcx/scx**: Picture property of a form class does not show the image. Does not happen with control pictures (Fidel Charny) |
|
||||
|||| **Bug Fix scx/vcx**: Incorrect detection of PROCEDURE/ENDPROC/TEXT/ENDTEXT that can cause lost of some methods in some circunstantes (Andres Mendoza) |
|
||||
|||| **Bug Fix scx/vcx**: Some options from the optiongroup control loose there width when subclassed from a class with autosize=.T. (Miguel Duran) |
|
||||
|||| Added evaluation and generation of properties by classtype, when applicable |
|
||||
|||| Added support of property evaluation from external file (props\_\*.txt) |
|
||||
|||| Added enhanced Unit Tests of bitmap comparisons of screen captures before/after (the original is compared with the regenerated of the regenerated binary, for more accuracy) |
|
||||
|||| A lot of garbage collect optimizations all over the code |
|
||||
|||| Added Unit Testing of configuration by defaults, by file and by parameters |
|
||||
|||| Added Unit Testing for checking the generation of classes, forms, reports and menus |
|
||||
|||| Added new switch OptimizeByFilestamp (active by default) for making possible deactivation of this regeneration optimization by file timestamp, in case someone wants to force regeneration allways |
|
||||
| 2014/05/01 | FDBOZZO | [v1.19.21](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.21) | Added support to convert to text or binary all files of a project from pjx or pj2 (Matt Slay) |
|
||||
|||| Added optimization on the search of the capitalization program when processing projects |
|
||||
|||| Added keyword AGAIN on table openings, for enhancing concurrence (Jim Nelson) |
|
||||
|||| Added optimization based on file timestamps for regenerating only newer binaries and tx2 files (Matt Slay) |
|
||||
|||| Added English translation in foxbin2prg\_en.h for the LOG message of new timestamp optimization |
|
||||
|||| <DefinedPropArrayMethod> section simplification: Methods and arrays doesn't require preceding \* and ^ symbols anymore. |
|
||||
| 2014/04/17 | FDBOZZO | [v1.19.20](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.20) | **New**: CDX filename in DB2 files have relative paths now. This help show less differences when regenerating DB2 files from different paths |
|
||||
| 2014/04/02 | FDBOZZO | [v1.19.19](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.19) | **New**: DBF Hook run\_AfterCreateTable that let intercalate a personalized process between DBF creation and index creation when processing a DB2 file (example program in tests\demo\_hook\_dbf.prg included) (Fidel Charny) |
|
||||
| 2014/03/25 | FDBOZZO | [v1.19.18](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.18) | **Bug Fix vcx/scx**: Image controls with stretched icons or images, get redimensioned to original size when regenerating binary (Arturo Ramos) |
|
||||
|||| Bug Fix vcx/scx: Library level comments are not kept (Ryan Harris) |
|
||||
| 2014/03/16 | FDBOZZO | [v1.19.17](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.17) | **Bug Fix frx/lbx**: Double-quoted expressiones make fx2/lb2 files corrupt (Ryan Harris) |
|
||||
|||| **Bug Fix frx/lbx**: Multiline Comments are lost (Ryan Harris) |
|
||||
|||| **frx/lbx tag2 field enhance**: when used for tooltips, real values are shown in regards of b64 normal encoding |
|
||||
|||| **Bug Fix mnx**: Multiline Comments on Bars/Pads makes MN2 file corrupt (Ryan Harris) |
|
||||
|||| **Bug Fix mnx**: Some procedures doesn't generate correctly (Ryan Harris) |
|
||||
|||| English translation file foxbin2prg\_en.h syntax corrected (Ryan Harris) |
|
||||
|||| **Bug Fix vcx/scx**: Lowercase saved Dataenvironment property causes Reserved2 value to be not calculated |
|
||||
|||| **Bug Fix frx**: <CR> character on print condition on field makes fr2 file corrupt |
|
||||
|||| **Bug Fix mnx**: Using double-quotes on prompt option fields makes mn2 file invalid (Ryan Harris) |
|
||||
| 2014/03/10 | FDBOZZO | [v1.19.16](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.16) | **Bug Fix vcx/scx**: properties loose there hidden/protected visibility when no default value assigned (Ryan Harris) |
|
||||
|||| **Bug Fix vcx/scx**: character value with length >255 in addobject property regenerates with tag <fb2p\_value> included (Ryan Harris) |
|
||||
|||| **Bug Fix vcx/scx**: When regenerating binari file with empty procedure makes FoxPro crash when trying to modify it on IDE |
|
||||
|||| **Bug Fix scx/vcx**: Binary can be corrupted if the class have a multiline comment (Tested on: Ffc\\_frxcursor.vcx) |
|
||||
|||| **Bug Fix**: If \_memberdata contains CR inside there values, they can be lost when regenerating tx2 text files |
|
||||
|||| **Bug Fix**: Property values with spaces at the right loose this spaces |
|
||||
|||| **Bug Fix**: When 2 or more methods share the same name (ej: met and met2) tx2 text file gets corrupted (Ryan Harris) |
|
||||
| 2014/03/04 | FDBOZZO | [v1.19.15](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.15) | **Bug Fix**: OLE information cleared when a legacy TX2 is processed |
|
||||
|||| Bug Fix: Default value of NoTimestamp = 0 ==> Now is 1, as should be |
|
||||
|||| Bug Fix: DBFs backlink info cleared when DBC is recreated (Ryan Harris) |
|
||||
|||| Feature: Lowercase capitalization in tx2 filename headers to minimize differences |
|
||||
| 2014/03/01 | FDBOZZO | [v1.19.14](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.14) | Load of configuration is optimized (foxbin2prg.cfg) to read cfg only once for a massive processing of multiple conversions |
|
||||
|||| .vbs scripts have been modified to respect the conversion support configuration defined in foxbin2prg.cfg configuration file |
|
||||
|||| 2 new functions where added to enhance and encapsulate the external use of the evaluation of the conversion support (requires previous call to EvaluarConfiguracion()). Used on .vbs scripts |
|
||||
|||| ExtraBackupLevels Regression: when no defined value, no backup is made |
|
||||
|||| New default value ClearUniqueID = 1 in foxbin2prg.cfg for minimizing differences in the SCM |
|
||||
| 2014/02/26 | FDBOZZO | [v1.19.13](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.13) | **Bug Fix**: If NoTimestamp setting of foxbin2prg.cfg is changed, opposite value is evaluated (Ryan Harris) |
|
||||
|||| Encapsulated foxbin2prg.cfg file for enhancing FoxUnit automated testing |
|
||||
|||| Internal change of property l\_UseTimestamps by l\_NoTimestamps |
|
||||
|||| With ExtraBackupLevels setting you can now deactivate backups if setting to 0 (Ryan Harris proposal) |
|
||||
|||| foxbin2prg.log file checking dropped, to activate the log file use foxbin2prg.cfg setting Debug=1 |
|
||||
|||| In TX2 header files show the file without path, because genereting it from different places makes unnecesary differences in Diff (Ryan Harris proposal) |
|
||||
|||| Created a lot of FoxUnit automated tests to check all settings of foxbin2prg.cfg configuration file |
|
||||
| 2014/02/23 | FDBOZZO | [v1.19.12](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.12) | Generation of VC2/SC2 with new header metadata <OBJECTDATA> for centralizing uniqueid, timestamp and ZOrder and big reduce of differences in a diff/merge (enhancement proposed by Ryan Harris) |
|
||||
|||| BINARY regeneration from the new metadata <OBJECTDATA> header (remains compatible with old VC2/SC2) |
|
||||
|||| FoxUnit test cases fixed for the new functionality |
|
||||
|||| Cleaning, Refactorization and optimization of Code |
|
||||
|||| Presentation enhancement of VC2/SC2 file headers |
|
||||
| 2014/02/13 | FDBOZZO | [v1.19.11](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.11) | WITH/ENDWITH optimizations with a conversion performance gain up to 16% more fast |
|
||||
|||| Bug Fix: Just one level of #IF was contemplated, throwing an error if more levels are nested |
|
||||
|||| Bug Fix: When regenerating the PJX, default home directory not always was correct |
|
||||
|||| New FoxUnit automated test added to check bug fix of nested #IF |
|
||||
| 2014/02/09 | FDBOZZO | [v1.19.10](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.10) | Added parametrization to enable configuration support for each kind of binary (0=None, 1=Only TX2, 2=TX2 and Binary) |
|
||||
|||| Fixed default NoTimestamps setting |
|
||||
|||| Adjusted some FoxUnit test cases |
|
||||
|||| EXPERIMENTAL: Added new configuration parameter "ClearUniqueID" in foxbin2prg.cfg for Clearing UniqueID in binaries and text versions. Works well and apparently FoxProdoesn't make use of it, but more testing is required |
|
||||
| 2014/02/08 | FDBOZZO | [v1.19.9](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.9) | New configuration items in foxbin2prg.cfg |
|
||||
|||| Localization Bug: When recompiling with localization file foxbin2prg\_en.h renamed to foxbin2prg.h, syntax error occurs |
|
||||
|||| Debug information of .LOG files enhanced |
|
||||
|||| New parametrization for the number of backups, now just one .BAK by default (earlier was 10) |
|
||||
|||| Enabled configuration file foxbin2prg.cfg by default |
|
||||
|||| Change in default behavior: Now Timestamps are disabled by default. You can change this on foxbin2prg.cfg |
|
||||
| 2014/02/03 | FDBOZZO | [v1.19.8](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.8-pública) | **Bug fix**: ActivePage error when executing a regenerated binary with a PageFrame / New FoxUnit test to test solution |
|
||||
|||| Added cNoTimestamps='1' to batch conversion vbs scripts |
|
||||
| 2014/02/02 | FDBOZZO | [v1.19.7](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.7-pública) | Added Ole encapsulation in just 1 place |
|
||||
|||| Adjusted Blocksize of generated binaries |
|
||||
|||| New cNoTimestamps parameter. If '1' is given, then no timestamps are generated (useful for diff/merge) |
|
||||
| 2014/01/31 | FDBOZZO | [v1.19.6](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.6-pública) | Added SourceSafe support (SCCAPI) for Diff and Merge |
|
||||
|||| SCX bug fix: Dataenvironment sometimes doesn't regenerates correctly |
|
||||
|||| Functionality change: Automatic recompilation enabled by default again because some methods doesn't show on form edit. Can be deactivated passing '0' to cRecompile param |
|
||||
| 2014/01/26 | FDBOZZO | [v1.19.5](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.5-pública) | Added Multilanguage support and Localization file for English. To use it rename the new file foxbin2prg\_en.h to foxbin2prg.h and recompile |
|
||||
| 2014/01/24 | FDBOZZO | [v1.19.4](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.4-pública) | New "Recompile" parameter for recompiling from PJX directory (if provided) |
|
||||
|||| **Functionality change**: Now FoxBin2Prg does not recompile bins for default, because it do on bin dir and that can throw compilation errors. Use new parameter if needed or recompile by your own |
|
||||
|||| DBC: Added support for multiline "comment" property |
|
||||
|||| VBS Batch scripts: Added progress bar |
|
||||
| 2014/01/18 | FDBOZZO | [v1.19.3](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.3-pública) | Change on TXT timestamps to preserve empty values that can save a lot of differences when diff/merging. Previously empty timestamps get converted to datetime |
|
||||
|||| Optimization on TXT generation of ZOrders |
|
||||
| 2014/01/13 | FDBOZZO | [v1.19.2](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.2-pública) | Fix on PJX regeneration caused for something missing in the last change of "Autor" to "Author" |
|
||||
| 2014/01/08 | FDBOZZO | [v1.19.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.19.1-pública) | Small change on TX2 headers to drop the "Generated" timestamp that causes innecesary differences / Updated the EXE version with the correct one |
|
||||
| 2014/01/08 | FDBOZZO | [v1.19](https://github.com/fdbozzo/foxbin2prg/tree/v1.19-pública) | Added new debug flag on .vbs scripts to show a "End process" message for batch processing |
|
||||
|||| **Bug Fix**: scx/vcx Improper order of Reserved3 props cause event access to not fire |
|
||||
|||| **Bug Fix**: dbf Improper index generated when the type is Candidate |
|
||||
|||| Added support for converting SourceSafe PJM to FoxBin PJ2 |
|
||||
|||| Added validation for Menus when converting from older versions, so user can convert it to VFP 9 format first |
|
||||
|||| Change in MN2 property: "Autor" was changed to "Author". You can add the missing letter to MN2 or regenerate |
|
||||
| 2014/01/07 | FDBOZZO | [v1.18.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.18.1) | Added a vbs script (NormalizeFileNames.vbs) for FileNames normalizing in batch mode, and updated FileNameCaps.exe and the call on FoxBin2Prg |
|
||||
| 2014/01/06 | FDBOZZO | [v1.18](https://github.com/fdbozzo/foxbin2prg/tree/v1.18-pública) | **bug fix**: mnx Generation of DO Procedure or Command when no Procedure or Command available to call when empty option is created (Fidel Charny) |
|
||||
|||| Added support for DBFs earlier than VFP 9 for generating DB2 text, but DBF regeneration is in VFP 9 version! |
|
||||
|||| dbf bug fix: DBFs linked to a DBC that use long field names throw error when regenerating DBFs |
|
||||
|||| dbf bug fix: Some view info is lost when generating text from DBC |
|
||||
| 2014/01/03 | FDBOZZO | [v1.17](https://github.com/fdbozzo/foxbin2prg/tree/v1.17-pública) | **bug fix**: mnx Location value is lost and some menus doesn't render properly (Fidel Charny) |
|
||||
|||| Added 2 VB scripts (ConvertVFP9BIN2PRG.vbs and ConvertVFP9PRG2BIN.vbs) for batch converting of dirs and files if a shortcut is placed on "SendTo" user folder |
|
||||
|||| Added new Unit Testing cases for menus |
|
||||
| 2014/01/02 | FDBOZZO | [v1.16](https://github.com/fdbozzo/foxbin2prg/tree/v1.16-pública) | Added support for Menus (MNX) |
|
||||
| 2013/12/18 | FDBOZZO | [v1.15](https://github.com/fdbozzo/foxbin2prg/tree/v1.15-pública) | Added support for DBF, DBC and CDX binaries |
|
||||
| 2013/12/15 | FDBOZZO | [v1.14](https://github.com/fdbozzo/foxbin2prg/tree/v1.14-pública) | **bug fix**: scx autocenter property do nothing (Arturo Ramos) |
|
||||
|||| scx bug fix: Last COMMENT record is lost (Fidel Charny) |
|
||||
| 2013/12/08 | FDBOZZO | [v1.13](https://github.com/fdbozzo/foxbin2prg/tree/v1.13---pública) | **bug fix**: frx/lbx "Error 1924, TOREG is not an object" on some reports (Fidel Charny) |
|
||||
| 2013/12/08 | FDBOZZO | [v1.12](https://github.com/fdbozzo/foxbin2prg/tree/v1.12---pública) | Added support for Reports (FRX) and Labels (LBX) |
|
||||
| 2013/12/08 | FDBOZZO | [v1.11](https://github.com/fdbozzo/foxbin2prg/tree/v1.11---pública) | **bug fix**: vcx/scx \_memberdata value corrupted when the value is a long one (Edgar Kummers) |
|
||||
| 2013/12/07 | FDBOZZO | [v1.10](https://github.com/fdbozzo/foxbin2prg/tree/v1.10---pública) | **bug fix**: vcx/scx when there are methods with the same name, there code is assigned to erroneous objects (Fidel Charny) |
|
||||
| 2013/12/07 | FDBOZZO | [v1.9](https://github.com/fdbozzo/foxbin2prg/tree/v1.9---pública) | **bug fix**: vcx/scx last fix keep loosing some properties (Fidel Charny) |
|
||||
| 2013/12/06 | FDBOZZO | [v1.8](https://github.com/fdbozzo/foxbin2prg/tree/v1.8---pública) | **bug fix**: vcx/scx last fix keep loosing some properties (Fidel Charny) |
|
||||
|||| sort function encapsulated and reused on BIN and TXT generation for safety |
|
||||
| 2013/12/03 | FDBOZZO | [v1.7](https://github.com/fdbozzo/foxbin2prg/tree/v1.7---pública) | **bug fix**: vcx/scx some properties get lost and picture clause is not displayed if "Name" is not the last property on memo (Fidel Charny) |
|
||||
|||| Added verification of readOnly files and report this to Log file in debug mode |
|
||||
| 2013/12/02 | FDBOZZO | [v1.6](https://github.com/fdbozzo/foxbin2prg/tree/v1.6---pública) | Complete refactoring of BIN and TXT generation |
|
||||
|||| Changes of various algorithms |
|
||||
|||| scx/vcx bug fix: Array properties didn't save (Fidel Charny) |
|
||||
|||| Unit testing cases with FoxUnit |
|
||||
| 2013/11/27 | FDBOZZO | [v1.5](https://github.com/fdbozzo/foxbin2prg/tree/v1.5---pública) | **Bug fix**: On some forms dataenvironment didn't regenerate appropiately (Luis Martínez) |
|
||||
| 2013/11/27 | FDBOZZO | [v1.4](https://github.com/fdbozzo/foxbin2prg/tree/v1.4---pública) | Added mask support |
|
||||
|||| Added support for extension configuration on file foxbin2prg.cfg, so one can use "vca" instead of "vc2", etc |
|
||||
|||| Added support for a new parameter for Log generation |
|
||||
| 2013/11/24 | FDBOZZO | [v1.3](https://github.com/fdbozzo/foxbin2prg/tree/v1.3---pública) | Bug fixes, code cleaning, refactoring |
|
||||
| 2013/11/24 | FDBOZZO | [v1.2](https://github.com/fdbozzo/foxbin2prg/tree/v1.2---pública) | Bug fixes, code cleaning, refactoring |
|
||||
| 2013/11/22 | FDBOZZO | [v1.1](https://github.com/fdbozzo/foxbin2prg/tree/v1.1---pública) | Bug fixes |
|
||||
| 2013/11/22 | FDBOZZO | [v1.0](https://github.com/fdbozzo/foxbin2prg/tree/v1.0---pública) | Initial creation of clases on prg and support of VCX/SCX/PJX files |
|
||||
|
||||
----
|
||||

|
||||
This project is part of [VFPX](https://vfpx.github.io/).
|
||||
|
||||
----
|
||||
Last changed: _2023/08/04_ 
|
||||
@@ -14,6 +14,7 @@ As far as possible these are the original documents. Changes are added where fun
|
||||
- [Limitations](#limitations)
|
||||
- [Configuration file](#configuration-file)
|
||||
- [Configuration file per table](#configuration-file-per-table)
|
||||
- [Excluding directories](#excluding-directories)
|
||||
- [FoxBin2Prg Internals](#foxbin2prg-internals)
|
||||
- [ZOrder](#zorder)
|
||||
- [RemoveZOrderSetFromProps setting](#removezordersetfromprops-setting)
|
||||
@@ -90,7 +91,6 @@ but the result must be compilable and keep the structure.
|
||||
All limitations that occur to a binary format must be kept on the text representation -
|
||||
the definition of a HEADER class to a VCX will fail.
|
||||
|
||||
|
||||
## Configuration file
|
||||
It is possible to create a template or a config with all options and comments via
|
||||
```
|
||||
@@ -217,6 +217,12 @@ These are the Table.dbf.cfg configuration file settings and their meaning:
|
||||
Setting **per file** could only be used via this configuration file.
|
||||
For defaults, see [Configuration file](#configuration-file).
|
||||
|
||||
## Excluding directories
|
||||
It is possible to exclude directory structures from processing. Placing a file **.FoxBin2Prg_Ignore** into a directory will stop FoxBin2Prg from processing any file in this directory and it's subdirectories. The file must just exist and could otherwise be empty.
|
||||
The difference to setting all *XXX_Conversion_Support to 0* is, that it could not be turned on again down the directory structure.
|
||||
|
||||
This was set up to ignore the local GoFish_ settings and history folder, the file will be automatically created by GoFish starting with version 6.2.004.
|
||||
|
||||
## FoxBin2Prg Internals
|
||||
### ZOrder
|
||||
In _Text_ files and starting from v1.19.12, the ZOrder,
|
||||
@@ -771,4 +777,4 @@ For options on integrating FoxBin2Prg with SCM tools, look at this topic:
|
||||
See [FoxBin2Prg and use with git](./FoxBin2Prg_git.md)
|
||||
|
||||
----
|
||||
Last changed: _2023/09/03_
|
||||
Last changed: _2023/09/06_
|
||||
@@ -62,7 +62,7 @@ Some settings will overwrite configuration. Using an object as cCFG_File will ov
|
||||
| cTextName | Text filename. | Only for SCCAPI (SCCTEXT.PRG) compatibility mode. File to use. |
|
||||
| lGenText | .T., .F. | Only for SCCAPI (SCCTEXT.PRG) compatibility mode. .T.=Generates Text, .F.=Generates Binary. <br/> **Note:** _cType_ have predominance over _lGenText_ |
|
||||
| cDontShowErrors | _0_, 1 | '1' for NOT showing errors in MESSAGEBOX |
|
||||
| cDebug | _0_, 1, 2 | '0 'no debug, '1' for generating process LOGs, stop on errors, '2' like '1' and special log. |
|
||||
| cDebug | _0_, 1, 2 | '0 'no debug, '1' for generating process LOGs, stop on errors, '2' like '1' and special log.<br/>This has precedence over any value in the config files. Only the first valid value will be used. |
|
||||
| cDontShowProgress | 0, _1_, 2 | '0' show progress, '1' for **not** showing the process window, '2' Show only for multi-file processing |
|
||||
| oModule | | Internal use for Unit Testing |
|
||||
| oEx | | Exception object, return for errorhandling |
|
||||
@@ -105,4 +105,4 @@ Return value is 0=OK, 1=Error.
|
||||
This project is part of [VFPX](https://vfpx.github.io/).
|
||||
|
||||
----
|
||||
Last changed: _2023/03/20_ 
|
||||
Last changed: _2023/09/23_ 
|
||||
@@ -87,13 +87,13 @@ just select and process each one independently, in parallel if you like, but in
|
||||
| cTextName | Text filename. | Only for SCCAPI (SCCTEXT.PRG) compatibility mode. File to use. |
|
||||
| lGenText | .T., .F. | Only for SCCAPI (SCCTEXT.PRG) compatibility mode.<br/>.T.=Generates _Text_, .F.=Generates _Binary_.<br/>**Note:** _cType_ have predominance over _lGenText_ |
|
||||
| cDontShowErrors | _0_, 1 | '1' for NOT showing errors in MESSAGEBOX |
|
||||
| cDebug | _0_, 1, 2 | '0 'no debug, '1' for generating process LOGs, stop on errors, '2' like '1' and special log. |
|
||||
| cDebug | _0_, 1, 2 | '0 'no debug, '1' for generating process LOGs, stop on errors, '2' like '1' and special log.<br/>This has precedence over any value in the config files. |
|
||||
| cDontShowProgress | 0, _1_, 2 | '0' show progress, '1' for **not** showing the process window, '2' Show only for multi-file processing |
|
||||
| cOriginalFileName | text | used in those cases in which inputFile is a temporary filename and you want to generate the correct filename on the header of the _Text_ version |
|
||||
| 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 |
|
||||
| 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. |
|
||||
|
||||
#### 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.
|
||||
|
||||
### Usage 2
|
||||
`FoxBin2Prg.EXE [cCt [cOutputFile]]`
|
||||
`DO FoxBin2Prg.EXE WITH ["-cCt" [,cOutputFile]]`
|
||||
`FoxBin2Prg.EXE c|C|t [OutFileName [ cCFG_File[ cDebug]]]`
|
||||
`DO FoxBin2Prg.EXE WITH -c|-C|-t [, OutFileName [, cCFG_File[, cDebug]]]`
|
||||
|
||||
| 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 |
|
||||
| | 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 ) |
|
||||
| | 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<br/>This has precedence over any value in the config files. |
|
||||
|
||||
### 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
|
||||
From command line the call with paramters like -c, -C -t is not possible. Those parameters will be removed by VFP itself.
|
||||
@@ -166,10 +177,5 @@ FoxBin2Prg - Binary2Text.lnk <path>\foxbin2prg.exe "BIN2PRG-SHOWMSG"
|
||||
FoxBin2Prg - Text2Binary.lnk <path>\foxbin2prg.exe "PRG2BIN-SHOWMSG"
|
||||
FoxBin2Prg.lnk <path>\foxbin2prg.exe "INTERACTIVE-SHOWMSG"
|
||||
```
|
||||
|
||||
----
|
||||

|
||||
This project is part of [VFPX](https://vfpx.github.io/).
|
||||
|
||||
----
|
||||
Last changed: _2023/03/20_ 
|
||||
Last changed: _2023/09/01_
|
||||
@@ -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)
|
||||
*Version: v1.19.69
|
||||
*Version: v1.20.01
|
||||
*****************************************************************************************************************
|
||||
|
||||
* Note, configuration files will follow an inheritance.
|
||||
* 1. Default values
|
||||
* 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
|
||||
* 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)
|
||||
* 6., Parameter calling FOXBIN2PRG.EXE.
|
||||
* 5., optional Special settings per single DBF's Syntax: <TableName>.dbf.cfg in tables folder)
|
||||
|
||||
* Some Parameter calling FOXBIN2PRG.EXE overturn this settings (except Defaults)
|
||||
*****************************************************************************************************************
|
||||
|
||||
*-- 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]
|
||||
*ShowProgressbar: 1 && 0=Don't show, 1=Allways show, 2= Show only for multi-file processing
|
||||
*ShowProgressbar: 1 && 0=Don't show, 1=Always show, 2=Show only for multi-file processing
|
||||
*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
|
||||
*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.
|
||||
*HomeDir: 1 && Home Directory in PJX
|
||||
*HomeDir: 1 && Home directory in PJX
|
||||
* && 0 don't 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
|
||||
@@ -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)
|
||||
*----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
*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)
|
||||
*-- CLASS and FORM options (tx2 is to read as vc2 or sc2, VCX might be SCX)
|
||||
*- 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
|
||||
*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!
|
||||
*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
|
||||
*PRG_Compat_Level: 0 && 0=Legacy, 1=Use HELPSTRING as Class Procedure comment
|
||||
*----------------------------------------------------------------------------------------------------------------
|
||||
@@ -419,4 +431,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/).
|
||||
|
||||
----
|
||||
Last changed: _2023/03/20_ 
|
||||
Last changed: _2023/03/30_ 
|
||||
BIN
fb2p_diff.pjt
BIN
fb2p_diff.pjt
Binary file not shown.
BIN
fb2p_diff.scx
BIN
fb2p_diff.scx
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
*################################################################################################################
|
||||
*FOXBIN2PRG.CFG configuration options: (If no values given, these are the DEFAULTS)
|
||||
*Version: v1.20.05
|
||||
*Version: v1.20.07
|
||||
*****************************************************************************************************************
|
||||
|
||||
* Note, configuration files will follow an inheritance.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
*################################################################################################################
|
||||
*-- Individual DBF configuration file (syntax: filename.dbf.cfg) Defaults see FoxBin2prg.cfg
|
||||
*Version: v1.20.05
|
||||
*Version: v1.20.07
|
||||
*****************************************************************************************************************
|
||||
|
||||
*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.
BIN
foxbin2prg.pjt
BIN
foxbin2prg.pjt
Binary file not shown.
BIN
foxbin2prg.pjx
BIN
foxbin2prg.pjx
Binary file not shown.
186
foxbin2prg.prg
186
foxbin2prg.prg
@@ -1,5 +1,5 @@
|
||||
#DEFINE DN_FB2PRG_VERSION 1.20
|
||||
#DEFINE DC_FB2PRG_VERSION_REAL '1.20.05'
|
||||
#DEFINE DC_FB2PRG_VERSION_REAL '1.20.07'
|
||||
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
* Module.........: FOXBIN2PRG.PRG - FOR VISUAL FOXPRO 9.0
|
||||
@@ -319,6 +319,8 @@
|
||||
* 01/09/2023 LScheffler v1.20.04 Enhancement: For debug option set via parameter only first valid call is used
|
||||
* 03/09/2023 LScheffler v1.20.05 Bug Fix: Problems recreating menu files (introduced with codepage) (LScheffler)
|
||||
* 03/09/2023 LScheffler v1.20.05 Enhancement: Inserted options to allow splitting of SCX handling from VCX
|
||||
* 06/09/2023 LScheffler v1.20.06 Bug Fix: Problems recreating tables (LScheffler)
|
||||
* 06/09/2023 LScheffler v1.20.07 Enhancement: Option to block processing of directories. If file ".FoxBin2Prg_Ignore" is existing, this directories and all subdirectries will be ignored. (Mainly set up to ignore local GoFish settings) (LScheffler)
|
||||
* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>
|
||||
*
|
||||
*---------------------------------------------------------------------------------------------------
|
||||
@@ -1203,6 +1205,7 @@ Define Class c_foxbin2prg As Session
|
||||
*!* LScheffler 31.08.2023 more sophisticated control of inheritance for para file
|
||||
c_SingleConfig_Folder = ''
|
||||
o_CFG = .NULL.
|
||||
l_AllowFolder = .T.
|
||||
|
||||
Procedure Init
|
||||
Lparameters tcCFG_File, tcCancelWithEscKey
|
||||
@@ -2061,6 +2064,13 @@ Define Class c_foxbin2prg As Session
|
||||
Endproc
|
||||
*** DH 2021-03-04: end of new code
|
||||
|
||||
Procedure l_AllowFolder_ACCESS
|
||||
If This.n_CFG_Actual = 0 Or Isnull( This.o_Configuration( This.n_CFG_Actual ) )
|
||||
Return This.l_AllowFolder
|
||||
Else
|
||||
Return Nvl( This.o_Configuration( This.n_CFG_Actual ).l_AllowFolder, This.l_AllowFolder )
|
||||
Endif
|
||||
Endproc
|
||||
|
||||
Procedure changeFileAttribute
|
||||
* Using Win32 Functions in Visual FoxPro
|
||||
@@ -2439,13 +2449,14 @@ Define Class c_foxbin2prg As Session
|
||||
Local toParentCFG As CL_CFG Of 'FOXBIN2PRG.PRG'
|
||||
#Endif
|
||||
|
||||
Local lcConfigFile, llExiste_CFG_EnDisco, laConfig(1), I, lcConfData, lcExt, lcValue, lc_CFG_Path, lcConfigLine, laDirInfo(1,5) ;
|
||||
Local lcConfigFile, lcLockFile, llExiste_CFG_EnDisco, llLockFileExists, llFirstRead, laConfig(1), I, lcConfData, lcExt, lcValue, lc_CFG_Path, lcConfigLine, laDirInfo(1,5) ;
|
||||
, lnDirs, laDirs(1), llMasterEval, lcProp ;
|
||||
, lo_CFG As CL_CFG Of 'FOXBIN2PRG.PRG' ;
|
||||
, loCFG_Manual As CL_CFG Of 'FOXBIN2PRG.PRG' ;
|
||||
, lo_Configuration As Collection ;
|
||||
, loLang As CL_LANG Of 'FOXBIN2PRG.PRG' ;
|
||||
, loEx As Exception, llSetSingleConfig, lc_Foxbin2prg_ConfigFile, lc_InputPath
|
||||
|
||||
Try
|
||||
With This As c_foxbin2prg Of 'FOXBIN2PRG.PRG'
|
||||
|
||||
@@ -2588,13 +2599,13 @@ Define Class c_foxbin2prg As Session
|
||||
* INDICÓ DIRECTORIO
|
||||
If Isnull(loCFG_Manual)
|
||||
*lcConfigFile = FULLPATH( 'foxbin2prg.cfg', ADDBS(tc_InputFile) )
|
||||
lcConfigFile = Fullpath( Justfname(lcConfigFile), Addbs(tc_InputFile) )
|
||||
lcConfigFile = Fullpath( Justfname(lcConfigFile), Addbs(tc_InputFile) )
|
||||
Endif
|
||||
Else
|
||||
* INDICÓ ARCHIVO
|
||||
If Isnull(loCFG_Manual)
|
||||
*lcConfigFile = FULLPATH( 'foxbin2prg.cfg', tc_InputFile )
|
||||
lcConfigFile = Fullpath( Justfname(lcConfigFile), tc_InputFile )
|
||||
lcConfigFile = Fullpath( Justfname(lcConfigFile), tc_InputFile )
|
||||
Endif
|
||||
Endif
|
||||
Endif
|
||||
@@ -2604,6 +2615,7 @@ Define Class c_foxbin2prg As Session
|
||||
.n_CFG_Actual = 0
|
||||
.l_CFG_CachedAccess = .F.
|
||||
lc_CFG_Path = Upper( Justpath( lcConfigFile ) )
|
||||
lcLockFile = FORCEPATH(".FoxBin2Prg_Ignore",lc_CFG_Path)
|
||||
lo_CFG = This
|
||||
|
||||
*-- Búsqueda del CFG del PATH indicado en la caché
|
||||
@@ -2678,6 +2690,7 @@ Define Class c_foxbin2prg As Session
|
||||
Case .n_CFG_Actual = 0
|
||||
*-- Si no se encontró un CFG cacheado, se busca si existe un archivo CFG en disco
|
||||
llExiste_CFG_EnDisco = ( Adir( laDirInfo, lcConfigFile ) = 1 )
|
||||
llLockFileExists = ( Adir( laDirInfo, lcLockFile ) = 1 )
|
||||
|
||||
If Not llExiste_CFG_EnDisco
|
||||
.l_CFG_CachedAccess = .T. && Es cacheado porque sin archivo CFG usa config.interna
|
||||
@@ -2709,7 +2722,8 @@ Define Class c_foxbin2prg As Session
|
||||
toParentCFG = lo_CFG
|
||||
* .writeLog( C_TAB + '- ' + loLang.C_INHERITING_FROM_LOC + ': ' + lo_CFG.c_Foxbin2prg_ConfigFile )
|
||||
.writeLog( C_TAB + '- ' + loLang.C_INHERITING_FROM_LOC + ': ' + lo_Configuration.GetKey(lo_Configuration.Count-1) )
|
||||
Endif
|
||||
ENDIF
|
||||
llFirstRead = .T.
|
||||
Endif
|
||||
|
||||
Else
|
||||
@@ -2717,8 +2731,14 @@ Define Class c_foxbin2prg As Session
|
||||
.n_CFG_Actual = lo_Configuration.Count
|
||||
Endif
|
||||
|
||||
*check for lockfile
|
||||
If .l_Main_CFG_Loaded And llFirstRead AND llLockFileExists THEN
|
||||
lo_CFG.l_AllowFolder = .F.
|
||||
.writeLog( C_TAB + Justfname(lcLockFile) + loLang.C_LOCKINGFOLDER_LOC )
|
||||
ENDIF &&.l_Main_CFG_Loaded And llFirstRead AND llLockFileExists
|
||||
|
||||
*-- NOTA: SOLO LOS QUE NO VENGAN DE PARÁMETROS EXTERNOS DEBEN ASIGNARSE A lo_CFG AQUÍ.
|
||||
If llExiste_CFG_EnDisco And Not .l_CFG_CachedAccess Then
|
||||
If llExiste_CFG_EnDisco And Not .l_CFG_CachedAccess AND lo_CFG.l_AllowFolder Then
|
||||
.writeLog()
|
||||
.writeLog( '> ' + loLang.C_READING_CFG_VALUES_FROM_DISK_LOC + ':' )
|
||||
.writeLog( C_TAB + loLang.C_CONFIGFILE_LOC + ' ' + lcConfigFile )
|
||||
@@ -3222,66 +3242,67 @@ Define Class c_foxbin2prg As Session
|
||||
Endif
|
||||
* SF
|
||||
|
||||
.writeLog( '> ' + loLang.C_USING_THIS_SETTINGS_LOC + ':' )
|
||||
If lo_CFG.l_AllowFolder THEN
|
||||
.writeLog( '> ' + loLang.C_USING_THIS_SETTINGS_LOC + ':' )
|
||||
*internal info, just what is read to this moment
|
||||
.writeLog( C_TAB + 'CFG_Actual: ' + Transform(.n_CFG_Actual) + Icase(.n_CFG_Actual=1, ' [MASTER]', ' [SECONDARY]') )
|
||||
.writeLog( C_TAB + 'CFG_CachedAccess: ' + Transform(.l_CFG_CachedAccess) )
|
||||
.writeLog( C_TAB + 'tc_InputFile: ' + Transform(Evl(tc_InputFile,'') ) )
|
||||
.writeLog( C_TAB + 'Foxbin2prg_ConfigFile: ' + Transform(Evl(lo_CFG.c_Foxbin2prg_ConfigFile, '(Internal defaults)') ) )
|
||||
.writeLog( C_TAB + 'CFG_Actual: ' + Transform(.n_CFG_Actual) + Icase(.n_CFG_Actual=1, ' [MASTER]', ' [SECONDARY]') )
|
||||
.writeLog( C_TAB + 'CFG_CachedAccess: ' + Transform(.l_CFG_CachedAccess) )
|
||||
.writeLog( C_TAB + 'tc_InputFile: ' + Transform(Evl(tc_InputFile,'') ) )
|
||||
.writeLog( C_TAB + 'Foxbin2prg_ConfigFile: ' + Transform(Evl(lo_CFG.c_Foxbin2prg_ConfigFile, '(Internal defaults)') ) )
|
||||
|
||||
*settings for internal work, not processing
|
||||
.writeLog( C_TAB + 'Language: ' + Transform(.c_Language) + ' (' + .c_Language_In + ')' )
|
||||
.writeLog( C_TAB + 'ShowProgressbar: ' + Transform(.n_ShowProgressbar) )
|
||||
.writeLog( C_TAB + 'ShowErrors: ' + Transform(.l_ShowErrors) )
|
||||
.writeLog( C_TAB + 'ExtraBackupLevels: ' + Transform(.n_ExtraBackupLevels) )
|
||||
Do Case
|
||||
Case Empty ( .c_BackgroundImage )
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + '(Empty)' )
|
||||
.writeLog( C_TAB + 'Language: ' + Transform(.c_Language) + ' (' + .c_Language_In + ')' )
|
||||
.writeLog( C_TAB + 'ShowProgressbar: ' + Transform(.n_ShowProgressbar) )
|
||||
.writeLog( C_TAB + 'ShowErrors: ' + Transform(.l_ShowErrors) )
|
||||
.writeLog( C_TAB + 'ExtraBackupLevels: ' + Transform(.n_ExtraBackupLevels) )
|
||||
Do Case
|
||||
Case Empty ( .c_BackgroundImage )
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + '(Empty)' )
|
||||
|
||||
Case Lower( Justfname ( .c_BackgroundImage ) ) == 'foxbin2prg.jpg'
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + Transform(.c_BackgroundImage) + '(Internal default)' )
|
||||
Case Lower( Justfname ( .c_BackgroundImage ) ) == 'foxbin2prg.jpg'
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + Transform(.c_BackgroundImage) + '(Internal default)' )
|
||||
|
||||
Otherwise
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + Transform(.c_BackgroundImage) )
|
||||
Otherwise
|
||||
.writeLog( C_TAB + 'BackgroundImage: ' + Transform(.c_BackgroundImage) )
|
||||
|
||||
Endcase
|
||||
.writeLog( C_TAB + 'Debug: ' + Transform(.n_Debug) )
|
||||
Endcase
|
||||
.writeLog( C_TAB + 'Debug: ' + Transform(.n_Debug) )
|
||||
|
||||
* LScheffler, 2021/030/06: added DH HomeDir option
|
||||
.writeLog( C_TAB + 'HomeDir: ' + Transform(.n_HomeDir) )
|
||||
.writeLog( C_TAB + 'HomeDir: ' + Transform(.n_HomeDir) )
|
||||
|
||||
*Conversion operation by type
|
||||
.writeLog( C_TAB + 'PJX_Conversion_Support ' + Transform(.n_PJX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'VCX_Conversion_Support ' + Transform(.n_VCX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'SCX_Conversion_Support ' + Transform(.n_SCX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'FRX_Conversion_Support ' + Transform(.n_FRX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'LBX_Conversion_Support ' + Transform(.n_LBX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'MNX_Conversion_Support ' + Transform(.n_MNX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Support ' + Transform(.n_DBF_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'DBC_Conversion_Support ' + Transform(.n_DBC_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'FKY_Conversion_Support ' + Transform(.n_FKY_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'MEM_Conversion_Support ' + Transform(.n_MEM_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'PJX_Conversion_Support ' + Transform(.n_PJX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'VCX_Conversion_Support ' + Transform(.n_VCX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'SCX_Conversion_Support ' + Transform(.n_SCX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'FRX_Conversion_Support ' + Transform(.n_FRX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'LBX_Conversion_Support ' + Transform(.n_LBX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'MNX_Conversion_Support ' + Transform(.n_MNX_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Support ' + Transform(.n_DBF_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'DBC_Conversion_Support ' + Transform(.n_DBC_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'FKY_Conversion_Support ' + Transform(.n_FKY_Conversion_Support) )
|
||||
.writeLog( C_TAB + 'MEM_Conversion_Support ' + Transform(.n_MEM_Conversion_Support) )
|
||||
|
||||
*!* Changed by: LScheffler 19.03.2023
|
||||
* additional options controlling
|
||||
* files in non subpath of the PJX
|
||||
*setting for PJX files
|
||||
.writeLog( C_TAB + 'CheckFileInPath: ' + Transform(.n_CheckFileInPath) )
|
||||
.writeLog( C_TAB + 'CheckFileInPath: ' + Transform(.n_CheckFileInPath) )
|
||||
*!* /Changed by: LScheffler 19.03.2023
|
||||
|
||||
*setting for container files (not pjx)
|
||||
*Classes ( vcx )
|
||||
.writeLog( C_TAB + 'UseClassPerFile: ' + Transform(.n_UseClassPerFile) )
|
||||
.writeLog( C_TAB + 'ClassPerFileCheck: ' + Transform(.l_ClassPerFileCheck) )
|
||||
.writeLog( C_TAB + 'RedirectClassPerFileToMain: ' + Transform(.l_RedirectClassPerFileToMain) )
|
||||
.writeLog( C_TAB + 'RedirectClassType: ' + Transform(.n_RedirectClassType) )
|
||||
.writeLog( C_TAB + 'UseClassPerFile: ' + Transform(.n_UseClassPerFile) )
|
||||
.writeLog( C_TAB + 'ClassPerFileCheck: ' + Transform(.l_ClassPerFileCheck) )
|
||||
.writeLog( C_TAB + 'RedirectClassPerFileToMain: ' + Transform(.l_RedirectClassPerFileToMain) )
|
||||
.writeLog( C_TAB + 'RedirectClassType: ' + Transform(.n_RedirectClassType) )
|
||||
|
||||
*Forms ( scx)
|
||||
.writeLog( C_TAB + 'UseFormSettings: ' + Transform(.l_UseFormSettings) )
|
||||
.writeLog( C_TAB + 'UseFormPerFile: ' + Transform(.n_UseFormPerFile) )
|
||||
.writeLog( C_TAB + 'FormPerFileCheck: ' + Transform(.l_FormPerFileCheck) )
|
||||
.writeLog( C_TAB + 'RedirectFormPerFileToMain: ' + Transform(.l_RedirectFormPerFileToMain) )
|
||||
.writeLog( C_TAB + 'RedirectFormType: ' + Transform(.n_RedirectFormType) )
|
||||
.writeLog( C_TAB + 'UseFormSettings: ' + Transform(.l_UseFormSettings) )
|
||||
.writeLog( C_TAB + 'UseFormPerFile: ' + Transform(.n_UseFormPerFile) )
|
||||
.writeLog( C_TAB + 'FormPerFileCheck: ' + Transform(.l_FormPerFileCheck) )
|
||||
.writeLog( C_TAB + 'RedirectFormPerFileToMain: ' + Transform(.l_RedirectFormPerFileToMain) )
|
||||
.writeLog( C_TAB + 'RedirectFormType: ' + Transform(.n_RedirectFormType) )
|
||||
|
||||
*Databases
|
||||
*!* Changed by: LScheffler 21.02.2021
|
||||
@@ -3289,46 +3310,47 @@ Define Class c_foxbin2prg As Session
|
||||
* additional options controlling
|
||||
* - split of DBC separated from VCX/SCX
|
||||
* - new operations of DBF
|
||||
.writeLog( C_TAB + 'OldFilesPerDBC: ' + Transform(.l_OldFilesPerDBC) )
|
||||
.writeLog( C_TAB + 'UseFilesPerDBC: ' + Transform(.n_UseFilesPerDBC) )
|
||||
.writeLog( C_TAB + 'RedirectFilePerDBCToMain: ' + Transform(.l_RedirectFilePerDBCToMain) )
|
||||
.writeLog( C_TAB + 'ItemPerDBCCheck: ' + Transform(.l_ItemPerDBCCheck) )
|
||||
.writeLog( C_TAB + 'DBF_BinChar_Base64: ' + Transform(.l_DBF_BinChar_Base64) )
|
||||
.writeLog( C_TAB + 'DBF_IncludeDeleted: ' + Transform(.l_DBF_IncludeDeleted) )
|
||||
.writeLog( C_TAB + 'OldFilesPerDBC: ' + Transform(.l_OldFilesPerDBC) )
|
||||
.writeLog( C_TAB + 'UseFilesPerDBC: ' + Transform(.n_UseFilesPerDBC) )
|
||||
.writeLog( C_TAB + 'RedirectFilePerDBCToMain: ' + Transform(.l_RedirectFilePerDBCToMain) )
|
||||
.writeLog( C_TAB + 'ItemPerDBCCheck: ' + Transform(.l_ItemPerDBCCheck) )
|
||||
.writeLog( C_TAB + 'DBF_BinChar_Base64: ' + Transform(.l_DBF_BinChar_Base64) )
|
||||
.writeLog( C_TAB + 'DBF_IncludeDeleted: ' + Transform(.l_DBF_IncludeDeleted) )
|
||||
*!* /Changed by: LScheffler 21.02.2021
|
||||
|
||||
*general files
|
||||
.writeLog( C_TAB + 'NoTimestamps: ' + Transform(.l_NoTimestamps) )
|
||||
.writeLog( C_TAB + 'ClearUniqueID: ' + Transform(.l_ClearUniqueID) )
|
||||
.writeLog( C_TAB + 'OptimizeByFilestamp: ' + Transform(.n_OptimizeByFilestamp) )
|
||||
.writeLog( C_TAB + 'RemoveNullCharsFromCode: ' + Transform(.l_RemoveNullCharsFromCode) )
|
||||
.writeLog( C_TAB + 'RemoveZOrderSetFromProps: ' + Transform(.l_RemoveZOrderSetFromProps) )
|
||||
.writeLog( C_TAB + 'PRG_Compat_Level: ' + Transform(.n_PRG_Compat_Level) )
|
||||
.writeLog( C_TAB + 'NoTimestamps: ' + Transform(.l_NoTimestamps) )
|
||||
.writeLog( C_TAB + 'ClearUniqueID: ' + Transform(.l_ClearUniqueID) )
|
||||
.writeLog( C_TAB + 'OptimizeByFilestamp: ' + Transform(.n_OptimizeByFilestamp) )
|
||||
.writeLog( C_TAB + 'RemoveNullCharsFromCode: ' + Transform(.l_RemoveNullCharsFromCode) )
|
||||
.writeLog( C_TAB + 'RemoveZOrderSetFromProps: ' + Transform(.l_RemoveZOrderSetFromProps) )
|
||||
.writeLog( C_TAB + 'PRG_Compat_Level: ' + Transform(.n_PRG_Compat_Level) )
|
||||
|
||||
*Parameter only:
|
||||
.writeLog( C_TAB + 'Recompile: ' + Transform(.l_Recompile) + ' (' + tcRecompile + ')' )
|
||||
.writeLog( C_TAB + 'Recompile: ' + Transform(.l_Recompile) + ' (' + tcRecompile + ')' )
|
||||
|
||||
*pjx special
|
||||
.writeLog( C_TAB + 'BodyDevInfo: ' + Transform(.n_BodyDevInfo) )
|
||||
.writeLog( C_TAB + 'BodyDevInfo: ' + Transform(.n_BodyDevInfo) )
|
||||
|
||||
*dbf special
|
||||
.writeLog( C_TAB + 'ClearDBFLastUpdate: ' + Transform(.l_ClearDBFLastUpdate) )
|
||||
.writeLog( C_TAB + 'ExcludeDBFAutoincNextval: ' + Transform(.n_ExcludeDBFAutoincNextval) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Included ' + Transform(.c_DBF_Conversion_Included) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Excluded ' + Transform(.c_DBF_Conversion_Excluded) )
|
||||
.writeLog( C_TAB + 'DBF_BinChar_Base64: ' + Transform(.l_DBF_BinChar_Base64) )
|
||||
.writeLog( C_TAB + 'DBF_IncludeDeleted: ' + Transform(.l_DBF_IncludeDeleted) )
|
||||
.writeLog( C_TAB + 'ClearDBFLastUpdate: ' + Transform(.l_ClearDBFLastUpdate) )
|
||||
.writeLog( C_TAB + 'ExcludeDBFAutoincNextval: ' + Transform(.n_ExcludeDBFAutoincNextval) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Included ' + Transform(.c_DBF_Conversion_Included) )
|
||||
.writeLog( C_TAB + 'DBF_Conversion_Excluded ' + Transform(.c_DBF_Conversion_Excluded) )
|
||||
.writeLog( C_TAB + 'DBF_BinChar_Base64: ' + Transform(.l_DBF_BinChar_Base64) )
|
||||
.writeLog( C_TAB + 'DBF_IncludeDeleted: ' + Transform(.l_DBF_IncludeDeleted) )
|
||||
|
||||
*Text file extensions
|
||||
.writeLog( C_TAB + 'extension: VC2 ' + Transform(.c_VC2) )
|
||||
.writeLog( C_TAB + 'extension: SC2 ' + Transform(.c_SC2) )
|
||||
.writeLog( C_TAB + 'extension: FR2 ' + Transform(.c_FR2) )
|
||||
.writeLog( C_TAB + 'extension: LB2 ' + Transform(.c_LB2) )
|
||||
.writeLog( C_TAB + 'extension: MN2 ' + Transform(.c_MN2) )
|
||||
.writeLog( C_TAB + 'extension: DB2 ' + Transform(.c_DB2) )
|
||||
.writeLog( C_TAB + 'extension: DC2 ' + Transform(.c_DC2) )
|
||||
.writeLog( C_TAB + 'extension: FK2 ' + Transform(.c_FK2) )
|
||||
.writeLog( C_TAB + 'extension: ME2 ' + Transform(.c_ME2) )
|
||||
.writeLog( C_TAB + 'extension: VC2 ' + Transform(.c_VC2) )
|
||||
.writeLog( C_TAB + 'extension: SC2 ' + Transform(.c_SC2) )
|
||||
.writeLog( C_TAB + 'extension: FR2 ' + Transform(.c_FR2) )
|
||||
.writeLog( C_TAB + 'extension: LB2 ' + Transform(.c_LB2) )
|
||||
.writeLog( C_TAB + 'extension: MN2 ' + Transform(.c_MN2) )
|
||||
.writeLog( C_TAB + 'extension: DB2 ' + Transform(.c_DB2) )
|
||||
.writeLog( C_TAB + 'extension: DC2 ' + Transform(.c_DC2) )
|
||||
.writeLog( C_TAB + 'extension: FK2 ' + Transform(.c_FK2) )
|
||||
.writeLog( C_TAB + 'extension: ME2 ' + Transform(.c_ME2) )
|
||||
ENDIF &&lo_CFG.l_AllowFolder
|
||||
|
||||
.writeLog( )
|
||||
|
||||
@@ -3662,7 +3684,7 @@ Define Class c_foxbin2prg As Session
|
||||
.evaluateConfiguration( '', '', '', '', '', '', '', '', lcDir, 'D' )
|
||||
Endif
|
||||
|
||||
llhasSupport = Icase( lcExt == 'PJX', .n_PJX_Conversion_Support > 0 ;
|
||||
llhasSupport = .l_AllowFolder AND Icase( lcExt == 'PJX', .n_PJX_Conversion_Support > 0 ;
|
||||
, lcExt == 'VCX', .n_VCX_Conversion_Support > 0 ;
|
||||
, lcExt == 'SCX', .n_SCX_Conversion_Support > 0 ;
|
||||
, lcExt == 'FRX', .n_FRX_Conversion_Support > 0 ;
|
||||
@@ -3725,7 +3747,7 @@ Define Class c_foxbin2prg As Session
|
||||
.evaluateConfiguration( '', '', '', '', '', '', '', '', lcDir, 'D' )
|
||||
Endif
|
||||
|
||||
llhasSupport = Icase( lcExt == .c_PJ2, .n_PJX_Conversion_Support = 2 ;
|
||||
llhasSupport = .l_AllowFolder AND Icase( lcExt == .c_PJ2, .n_PJX_Conversion_Support = 2 ;
|
||||
, lcExt == .c_VC2, .n_VCX_Conversion_Support = 2 ;
|
||||
, lcExt == .c_SC2, .n_SCX_Conversion_Support = 2 ;
|
||||
, lcExt == .c_FR2, .n_FRX_Conversion_Support = 2 ;
|
||||
@@ -3912,7 +3934,6 @@ Define Class c_foxbin2prg As Session
|
||||
* EXIT
|
||||
*ENDIF
|
||||
|
||||
|
||||
*-- Reconocimiento de la clase indicada
|
||||
*-- Ej: [c:\desa\test\library.vcx::classname]
|
||||
If '::' $ tc_InputFile Then
|
||||
@@ -14555,7 +14576,7 @@ Define Class c_conversor_prg_a_dbf As c_conversor_prg_a_bin
|
||||
lcFieldDef = lcFieldDef + lcLongDec
|
||||
|
||||
*-- .Null.
|
||||
lcFieldDef = lcFieldDef + Iif( loField._Null = '.T.', ' .Null.', ' NOT .Null.' )
|
||||
lcFieldDef = lcFieldDef + Iif( loField._Null = '.T.', ' Null', ' NOT Null' )
|
||||
|
||||
*-- NoCPTran
|
||||
If loField._NoCPTran = '.T.'
|
||||
@@ -31279,6 +31300,7 @@ Define Class CL_CFG As Custom
|
||||
n_PRG_Compat_Level = .Null.
|
||||
*** DH 2021-03-04: added n_HomeDir property
|
||||
n_HomeDir = .Null.
|
||||
l_AllowFolder = .T.
|
||||
|
||||
Procedure CopyFrom
|
||||
*-- Copia las propiedades del CFG indicado
|
||||
@@ -31357,6 +31379,7 @@ Define Class CL_CFG As Custom
|
||||
.n_PRG_Compat_Level = toParentCFG.n_PRG_Compat_Level
|
||||
*** DH 2021-03-04: handle n_HomeDir
|
||||
.n_HomeDir = toParentCFG.n_HomeDir
|
||||
.l_AllowFolder = toParentCFG.l_AllowFolder
|
||||
Endwith
|
||||
Endproc
|
||||
|
||||
@@ -31473,6 +31496,7 @@ Define Class CL_LANG As Custom
|
||||
C_WARNING_LOC = ""
|
||||
C_WARN_TABLE_ALIAS_ON_INDEX_EXPRESSION_LOC = ""
|
||||
C_WITH_ERRORS_LOC = ""
|
||||
C_LOCKINGFOLDER_LOC = ""
|
||||
|
||||
C_INDEX2TXT_PROCESSING_LOC = ""
|
||||
C_INDEX2TXT_EXTRAFILES_LOC = ""
|
||||
@@ -31842,6 +31866,8 @@ Define Class CL_LANG As Custom
|
||||
.C_WARNING_LOC = "AVERTISSEMENT!"
|
||||
.C_WARN_TABLE_ALIAS_ON_INDEX_EXPRESSION_LOC = "AVERTISSEMENT!" + CR_LF+ "ASSUREZ VOUS NE UTILISEZ PAS UN ALIAS DE TABLE SUR LES EXPRESSIONS INDEX CLÉS!! (exemple: index on <<UPPER(JUSTSTEM(THIS.c_InputFile))>>.campo tag keyname)"
|
||||
.C_WITH_ERRORS_LOC = "avec des erreurs"
|
||||
|
||||
.C_LOCKINGFOLDER_LOC = " found, proccessing directory and subdirectories inhibited."
|
||||
.C_INDEX2TXT_PROCESSING_LOC = " Processing index"
|
||||
.C_INDEX2TXT_EXTRAFILES_LOC = " Additional index files"
|
||||
.C_INDEX2TXT_NOFILE_LOC = " Not a File "
|
||||
@@ -32189,6 +32215,8 @@ Define Class CL_LANG As Custom
|
||||
.C_WARNING_LOC = "¡ATENCIÓN!"
|
||||
.C_WARN_TABLE_ALIAS_ON_INDEX_EXPRESSION_LOC = "¡ATENCIÓN!" + CR_LF+ "ASEGÚRESE DE QUE NO ESTÁ USANDO UN ALIAS DE TABLA EN LAS EXPRESIONES DE LOS ÍNDICES!! (ej: index on <<UPPER(JUSTSTEM(THIS.c_InputFile))>>.campo tag nombreclave)"
|
||||
.C_WITH_ERRORS_LOC = "con errores"
|
||||
.C_LOCKINGFOLDER_LOC = " found, proccessing directory and subdirectories inhibited."
|
||||
|
||||
.C_INDEX2TXT_PROCESSING_LOC = " Processing index"
|
||||
.C_INDEX2TXT_EXTRAFILES_LOC = " Additional index files"
|
||||
.C_INDEX2TXT_NOFILE_LOC = " Not a File "
|
||||
@@ -32563,6 +32591,7 @@ Define Class CL_LANG As Custom
|
||||
.C_WARNING_LOC = "WARNUNG!"
|
||||
.C_WARN_TABLE_ALIAS_ON_INDEX_EXPRESSION_LOC = "WARNUNG!" + CR_LF+ "STELLEN SIE SICHER, DAS KEIN TABELLENALIAS IM INDEXAUSDRUCK BENUTZT WIRD!! (z.B.: index on <<UPPER(JUSTSTEM(THIS.c_InputFile))>>.campo tag keyname)"
|
||||
.C_WITH_ERRORS_LOC = "mit Fehlern"
|
||||
.C_LOCKINGFOLDER_LOC = " gefunden, das Verzeichnis und Unterverzeichnisse werden ignoriert."
|
||||
|
||||
.C_INDEX2TXT_PROCESSING_LOC = " Ermittle Index"
|
||||
.C_INDEX2TXT_EXTRAFILES_LOC = " Zusätzliche Index Dateien"
|
||||
@@ -32912,6 +32941,7 @@ Define Class CL_LANG As Custom
|
||||
.C_WARNING_LOC = "WARNING!"
|
||||
.C_WARN_TABLE_ALIAS_ON_INDEX_EXPRESSION_LOC = "WARNING!" + CR_LF+ "MAKE SURE YOU ARE NOT USING A TABLE ALIAS ON INDEX KEY EXPRESSIONS!! (ex: index on <<UPPER(JUSTSTEM(THIS.c_InputFile))>>.campo tag keyname)"
|
||||
.C_WITH_ERRORS_LOC = "with errors"
|
||||
.C_LOCKINGFOLDER_LOC = " found, proccessing directory and subdirectories inhibited."
|
||||
|
||||
.C_INDEX2TXT_PROCESSING_LOC = " Processing index"
|
||||
.C_INDEX2TXT_EXTRAFILES_LOC = " Additional index files"
|
||||
|
||||
10041
foxbin2prg_keywords.db2
Normal file
10041
foxbin2prg_keywords.db2
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
||||
*-- Para Fidel
|
||||
#DEFINE HISTORIAL_I '* <HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>'
|
||||
#DEFINE HISTORIAL_F '* </HISTORIAL DE CAMBIOS Y NOTAS IMPORTANTES>'
|
||||
|
||||
LOCAL lcHistorial, laLinea(1), laHistorial(1,4)
|
||||
lcHistorial = STREXTRACT( FILETOSTR('FOXBIN2PRG.PRG'), HISTORIAL_I, HISTORIAL_F )
|
||||
SET MEMOWIDTH TO 220 && Solo para prueba. Quitar en la funci<63>n
|
||||
CLEAR && Solo para prueba. Quitar en la funci<63>n
|
||||
*-- Formato a leer:
|
||||
*-- [* 04/11/2013 FDBOZZO v1.0 Creaci<63>n inicial de las clases y soporte de los archivos VCX/SCX/PJX]
|
||||
FOR I = 1 TO ALINES(laLinea, lcHistorial, 1+4+8)
|
||||
DIMENSION laHistorial(I,4)
|
||||
laHistorial(I,1) = GETWORDNUM( laLinea(I), 2 )
|
||||
laHistorial(I,2) = GETWORDNUM( laLinea(I), 3 )
|
||||
laHistorial(I,3) = GETWORDNUM( laLinea(I), 4 )
|
||||
laHistorial(I,4) = SUBSTR( laLinea(I), AT(laHistorial(I,3), laLinea(I)) + LEN(laHistorial(I,3)) + 1 )
|
||||
*-- Este '?' es solo de prueba
|
||||
? '['+laHistorial(I,1)+']', '['+laHistorial(I,2)+']', '['+laHistorial(I,3)+']', '['+laHistorial(I,4)+']'
|
||||
ENDFOR
|
||||
|
||||
*-- En este punto ten<65>s el array laHistorial con 1 columna para cada dato.
|
||||
@@ -1,12 +0,0 @@
|
||||
LOCAL I, lcStrIn, lcStrOut, laStr(1), lcLeftDelim, lcRightDelim, lcStr, lnLines, lnPosDlr
|
||||
ON KEY LABEL CTRL+R DO preparar_specialprops_desde_lista.prg
|
||||
lcStrOut = ''
|
||||
lcStrIn = _CLIPTEXT
|
||||
lnLines = ALINES(laStr, lcStrIn)
|
||||
lnPosDlr = AT('.',laStr(1))
|
||||
|
||||
FOR I = 1 TO lnLines
|
||||
lcStrOut = lcStrOut + CHR(13) + ".SortSpecialProps_Form_Add( '" + laStr(I) + "', @I )"
|
||||
ENDFOR
|
||||
|
||||
_CLIPTEXT = SUBSTR( lcStrOut, 2 )
|
||||
Reference in New Issue
Block a user