diff --git a/FoxBin2PRGVersionFile.txt b/FoxBin2PRGVersionFile.txt index 91d3f94..a9275e1 100644 --- a/FoxBin2PRGVersionFile.txt +++ b/FoxBin2PRGVersionFile.txt @@ -3,7 +3,7 @@ Lparameters toUpdateInfo Local lcNote With toUpdateInfo .VersionNumber = 'v1.19.46' - .VersionDate = Date(2015,11,25) + .VersionDate = Date(2016,02,06) .SourceFileUrl = 'http://vfpxrepository.com/dl/thorupdate/Projects/FoxBin2Prg/FoxBin2Prg.Zip' .Link = 'http://vfpx.codeplex.com/wikipage?title=FoxBin2PRG' @@ -17,7 +17,7 @@ Demo video using FoxBin2Prg with PlasticSCM: http://youtu.be/sE4wQ50Itqg Change History ------------------------------------------------------------- -2015/11/25 v1.19.46 +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 @@ -32,6 +32,8 @@ Change History ------------------------------------------------------------- - 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) +- 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 diff --git a/VFP9RENU.dll b/VFP9RENU.dll new file mode 100644 index 0000000..5eac664 Binary files /dev/null and b/VFP9RENU.dll differ diff --git a/foxbin2prg.exe b/foxbin2prg.exe index ca9710d..856974a 100644 Binary files a/foxbin2prg.exe and b/foxbin2prg.exe differ diff --git a/foxbin2prg.pjt b/foxbin2prg.pjt index 5b6a107..1752025 100644 Binary files a/foxbin2prg.pjt and b/foxbin2prg.pjt differ diff --git a/foxbin2prg.pjx b/foxbin2prg.pjx index a225fcf..ed05983 100644 Binary files a/foxbin2prg.pjx and b/foxbin2prg.pjx differ diff --git a/foxbin2prg.prg b/foxbin2prg.prg index a2b2aba..7877070 100644 --- a/foxbin2prg.prg +++ b/foxbin2prg.prg @@ -181,6 +181,7 @@ * 04/11/2015 RALFXWAGNER v1.19.46 Bug Fix Pjx: Los archivos SPR y MPR no estan bien representados en la información del proyecto (Ralf Wagner) * 25/11/2015 FDBOZZO v1.19.46 Bug Fix Pj2: Se genera un error al regenerar un PJX desde un PJ2 donde algún archivo contiene paréntesis (EddieC) * 25/11/2015 FDBOZZO v1.19.46 Mejora dbf: Nuevo parámetro ExcludeDBFAutoincNextval para evitar diferencias por este dato (edyshor) +* 04/02/2016 FDBOZZO v1.19.46 Bug Fix: Cuando se procesa un archivo en el directorio raiz, se genera un error 2062 (Aurélien Dellieux) * * *--------------------------------------------------------------------------------------------------- @@ -280,6 +281,7 @@ * 04/11/2015 Ralf Wagner Reporte bug Pjx v1.19.45: Los archivos SPR y MPR no estan bien representados en la información del proyecto (Arreglado en v1.19.46 Preview-8) * 20/11/2015 EddieC Reporte bug Pjx v1.19.45: Se genera un error al regenerar un PJX desde un PJ2 donde algún archivo contiene paréntesis (Arreglado en v1.19.46 Preview-9) * 24/11/2015 edyshor Mejora dbf v1.19.45: Nuevo parámetro ExcludeDBFAutoincNextval para evitar diferencias por este dato (Agregado en v1.19.46 Preview-9) +* 01/02/2016 Aurélien Dellieux Reporte bug v1.19.45: Cuando se procesa un archivo en el directorio raiz, se genera un error 2062 (Arreglado en v1.19.46 Preview-10) * * *--------------------------------------------------------------------------------------------------- @@ -1879,11 +1881,16 @@ DEFINE CLASS c_foxbin2prg AS Session ENDIF ENDFOR - *-- Ahora evalúo las configuraciones de los PATH intermedios desde la raíz en adelante - *-- y mantengo la última configuración CFG Padre en toParentCFG para usarla como base. - FOR I = 1 TO lnDirs - .evaluateConfiguration( '', '', '', '', '', '', '', '', laDirs(I), C_FILETYPE_DIRECTORY, @toParentCFG) - ENDFOR + IF lnDirs = 1 AND laDirs(1) = lc_CFG_Path + *-- Cuando no hay PATH intermedios, salteo esta parte para que más abajo lo agregue. 04/02/2016. FDBOZZO + *-- Ejemplo: Puede pasar cuando se convierte un archivo en C:\ u otro disco RAIZ. + ELSE + *-- Ahora evalúo las configuraciones de los PATH intermedios desde la raíz en adelante + *-- y mantengo la última configuración CFG Padre en toParentCFG para usarla como base. + FOR I = 1 TO lnDirs + .evaluateConfiguration( '', '', '', '', '', '', '', '', laDirs(I), C_FILETYPE_DIRECTORY, @toParentCFG) + ENDFOR + ENDIF .l_CFG_CachedAccess = .F. .n_CFG_Actual = 0 @@ -14659,7 +14666,7 @@ DEFINE CLASS c_conversor_bin_a_prg AS c_conversor_base #ENDIF TRY - LOCAL lcExpanded, llFileExists, lnBytes, lcOutputFile ; + LOCAL lcExpanded, llFileExists, lnBytes, lcOutputFile, laDirFile(1,5) ; , loLang as CL_LANG OF 'FOXBIN2PRG.PRG' lcExpanded = IIF( '.' $ JUSTSTEM(tcOutputFile), 'X1', 'X0' ) @@ -14681,7 +14688,7 @@ DEFINE CLASS c_conversor_bin_a_prg AS c_conversor_base loLang = _SCREEN.o_FoxBin2Prg_Lang lcOutputFile = tcOutputFile - llFileExists = FILE(tcOutputFile) + llFileExists = ( ADIR(laDirFile, tcOutputFile) = 1 ) IF llFileExists AND FILETOSTR( tcOutputFile ) == tcCodigo THEN *.writeLog( 'El archivo de salida [' + .c_OutputFile + '] no se sobreescribe por ser igual al generado.' ) diff --git a/vfp9r.dll b/vfp9r.dll new file mode 100644 index 0000000..7985b54 Binary files /dev/null and b/vfp9r.dll differ