Quantcast
Channel: VFPX
Viewing all 3798 articles
Browse latest View live

Commented Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: ** Comment from web user: ph42 **

Hi,
first i'd like to thank you for your effort and for sharing this great work!

With the new version my entire menu can be saved as mn2 and regenerated.
All menus and submenus are there. So this issue is resolved.

But when i tested the new menu, after recreating it i found another problem.
My menu, the main-menu of the project, has procedures, in the menu designer of Result Type "Procedure" with 1 line of code:
```
do form myform name oMyForm
```
After generating the mn2 and recreating the mnx it has the Result type "Command".
I woudn't mind but when i use it in the running project and clicking on that menu foxpro crashes.


Commented Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: ** Comment from web user: fdbozzo **

Hi,

For using the menu from VFP, you first generate the MPR file using the menu designer,

1) Could you post the generated MPR file?

2) Have you any error message? or is it a C0000005 error?

Commented Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: ** Comment from web user: fdbozzo **

Hi,

Just in case of misunderstand, please confirm you are making this steps:

1) Convert MNX to MN2 (binary to text) to get the text version
2) Convert MN2 TO MNX (text to binary) to regenerate the binary
3) Open the menu with MODIFY MENU <your-menu.MNX>
4) From menu bar, you select Menu -> Generate to generate MPR
5) You execute the MPR file from command window or from your app, and when using it, throwse an error or crashes your app

It's strange that an error occurs, because the MPR is generated by Visual FoxPro menu generator, not FoxBin2Prg, and if the VFP menu generator can generate the MPR file, this *normally* means that it can read the MNX table, so the generated code is supposedly ok.

If you are following this steps, then I need the MPR generated file and the info about the error you get

Thanks.-

Commented Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: ** Comment from web user: ph42 **

Hi,

2) It is a C0000005 Error, so no Foxpro Error

1) In the example _test menu i edited the Data Menu Type to "Procedure"
then i added this one-liner: DO FORM "C:\TEMP\form1.scx" name oformi

__The mpr__


```
* *********************************************************
* *
* * 28.08.2014 _TEST.MPR 13:10:52
* *
* *********************************************************
* *
* * Author's Name
* *
* * Copyright (C) 2014 Company Name
* * Address
* * City, Zip
* *
* * Description:
* * This PROGRAM was automatically generated BY GENMENU.
* *
* *********************************************************


* *********************************************************
* *
* * Menu Definition
* *
* *********************************************************
*

SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD basedata OF _MSYSMENU PROMPT "basedata" COLOR SCHEME 3 ;
KEY ALT+B, ""
DEFINE PAD data OF _MSYSMENU PROMPT "Data" COLOR SCHEME 3 ;
KEY ALT+D, ""
ON PAD basedata OF _MSYSMENU ACTIVATE POPUP basedata
ON SELECTION PAD data OF _MSYSMENU ;
DO _45e0s92ky ;
IN LOCFILE("C:\TEMP\_TEST" ,"MPX;MPR|FXP;PRG" ,"WHERE is _TEST?")

DEFINE POPUP basedata MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF basedata PROMPT "\<Adresses"
DEFINE BAR 2 OF basedata PROMPT "\-"
DEFINE BAR 3 OF basedata PROMPT "Contracts"
ON BAR 1 OF basedata ACTIVATE POPUP adresses
ON BAR 3 OF basedata ACTIVATE POPUP contracts

DEFINE POPUP adresses MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF adresses PROMPT "\<Name"
ON SELECTION BAR 1 OF adresses wait window "test" nowait noclear

DEFINE POPUP contracts MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF contracts PROMPT "\<ContractSettings"
ON SELECTION BAR 1 OF contracts ;
DO _45e0s92kz ;
IN LOCFILE("C:\TEMP\_TEST" ,"MPX;MPR|FXP;PRG" ,"WHERE is _TEST?")


* *********************************************************
* *
* * _45E0S92KY ON SELECTION PAD
* *
* * Procedure Origin:
* *
* * From Menu: _TEST.MPR, Record: 13
* * Called By: ON SELECTION PAD
* * Prompt: Data
* * Snippet: 1
* *
* *********************************************************
*
PROCEDURE _45e0s92ky
DO FORM "C:\TEMP\form1.scx" name oformi


* *********************************************************
* *
* * _45E0S92KZ ON SELECTION BAR 1 OF POPUP contracts
* *
* * Procedure Origin:
* *
* * From Menu: _TEST.MPR, Record: 12
* * Called By: ON SELECTION BAR 1 OF POPUP contracts
* * Prompt: ContractSettings
* * Snippet: 2
* *
* *********************************************************
*
PROCEDURE _45e0s92kz
*
*

```

There is the Procedure: _45e0s92ky


__the mn2__

```
*--------------------------------------------------------------------------------------------------------------------------------------------------------
* (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="_test.mnx" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
*
*<MenuType>1</MenuType>
*<MenuLocation>REPLACE</MenuLocation>

*<MenuCode>
DEFINE MENU _MSYSMENU BAR
DEFINE PAD basedata OF _MSYSMENU PROMPT "basedata" COLOR SCHEME 3 ;
KEY ALT+B, ""

ON PAD basedata OF _MSYSMENU ACTIVATE POPUP basedata

*----------------------------------
DEFINE POPUP basedata MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF basedata PROMPT "\<Adresses"
ON BAR 1 OF basedata ACTIVATE POPUP Adresses

*----------------------------------
DEFINE POPUP Adresses MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF Adresses PROMPT "\<Name"
ON SELECTION BAR 1 OF Adresses wait window "test" nowait noclear

DEFINE BAR 2 OF basedata PROMPT "\-"
ON BAR 2 OF basedata ACTIVATE POPUP _45d0z82tk

*----------------------------------
DEFINE POPUP _45d0z82tk MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 3 OF basedata PROMPT "Contracts"
ON BAR 3 OF basedata ACTIVATE POPUP Contracts

*----------------------------------
DEFINE POPUP Contracts MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF Contracts PROMPT "\<ContractSettings"
ON SELECTION BAR 1 OF Contracts DO BAR_1_OF_Contracts_FB2P

DEFINE PAD data OF _MSYSMENU PROMPT "Data" COLOR SCHEME 3 ;
KEY ALT+D, ""

ON SELECTION PAD data OF _MSYSMENU DO FORM "C:\temp\form1.scx" name oformi

*</MenuCode>

*<Procedures>
PROCEDURE BAR_1_OF_Contracts_FB2P
*
*
ENDPROC && BAR_1_OF_Contracts_FB2P

*</Procedures>

```

There is no procedure for the data menu, just the command:

ON SELECTION PAD data OF _MSYSMENU DO FORM "C:\temp\form1.scx" name oformi

After regenerating the mnx from the mn2 and generating the mpr from that i get

```
* *********************************************************
* *
* * 28.08.2014 _TEST2.MPR 13:21:24
* *
* *********************************************************
* *
* * Author's Name
* *
* * Copyright (C) 2014 Company Name
* * Address
* * City, Zip
* *
* * Description:
* * This PROGRAM was automatically generated BY GENMENU.
* *
* *********************************************************


* *********************************************************
* *
* * Menu Definition
* *
* *********************************************************
*

SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD basedata OF _MSYSMENU PROMPT "basedata" COLOR SCHEME 3 ;
KEY ALT+B, ""
DEFINE PAD data OF _MSYSMENU PROMPT "Data" COLOR SCHEME 3 ;
KEY ALT+D, ""
ON PAD basedata OF _MSYSMENU ACTIVATE POPUP basedata
ON SELECTION PAD data OF _MSYSMENU DO FORM "C:\temp\form1.scx" name oformi

DEFINE POPUP basedata MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF basedata PROMPT "\<Adresses"
DEFINE BAR 2 OF basedata PROMPT "\-"
DEFINE BAR 3 OF basedata PROMPT "Contracts"
ON BAR 1 OF basedata ACTIVATE POPUP adresses
ON BAR 3 OF basedata ACTIVATE POPUP contracts

DEFINE POPUP adresses MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF adresses PROMPT "\<Name"
ON SELECTION BAR 1 OF adresses wait window "test" nowait noclear

DEFINE POPUP contracts MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF contracts PROMPT "\<ContractSettings"
ON SELECTION BAR 1 OF contracts ;
DO _45e0smlxs ;
IN LOCFILE("C:\temp\_TEST2" ,"MPX;MPR|FXP;PRG" ,"WHERE is _TEST2?")


* *********************************************************
* *
* * _45E0SMLXS ON SELECTION BAR 1 OF POPUP contracts
* *
* * Procedure Origin:
* *
* * From Menu: _TEST2.MPR, Record: 12
* * Called By: ON SELECTION BAR 1 OF POPUP contracts
* * Prompt: ContractSettings
* * Snippet: 1
* *
* *********************************************************
*
PROCEDURE _45e0smlxs
*
*

```

Commented Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: ** Comment from web user: fdbozzo **

Hi,

I've copied your last MPR, saved as _test2.MPR and created a new form "C:\temp\form1.scx" with a button, then run the menu (do _test2.mpr), and it works ok in my tests, calling the form as expected.

Let's try to find the problem, because I think that it's not related to FoxBin2Prg.

1) Does your original menu works ok? (previuos to convert with FoxBin2Prg, your original copy)

2) If you compare the original MPR with the newest MPR, what differences you see?

3) If you want to force FoxBin2Prg to make a Procedure and not a Command, just insert a second line with an asterisk. If FoxBin2Prg find more than one line, then converts it to a Procedure.

If you want, we can see this on Google Hangout (the Google chat). My user is fdbozzo.

Regards.-

Closed Unassigned: foxbin2prg does not convert menus with empty bars [35500]

$
0
0
Hi,
I have a big menu with lots of bars.
To structure them there are empty bars with "\-" as text. The Type is "BAR #" in the foxpro Menu Designer.
First i converted the mnx/mnt files with foxbin2prg.exe to get a .mn2 file. This works well, all the bars are included, see attached file.

If I revert the process: run foxbin2prg with _test.mn2 i get a valid menu, but all menus after the line
DEFINE BAR 2 OF basedata PROMPT "\-"
are skipped.
If i remove that line the menu is generated correctly.
It looks like a ON BAR is expected after DEFINE BAR.
Comments: Bug solved, and empty bar is working now.
Will be released with v1.19.33

Source code checked in, #106563

$
0
0
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)

Released: FoxBin2Prg v1.19.33 (Aug 29, 2014)

$
0
0
This program is intended to be used alone or with SCM tools (Source Code Managers, like VSS, CVS, SVN) andDVCS tools (like Git, Mercurial, Plastic, and others) or alone for Diff (seen differences) andMerge operations, that pretends to substitute SccText(X) and TwoFox and enhance their functionality, generating bidirectional TEXTprg-style versions that allow modifications and recreate the original binary file.

> Documentation in English
> Documentación en Español


Rel.Date Developer Ver# Observations
2014/08/29 FDBOZZO 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)


> Read the FoxBin2Prg Full Change History

Updated Release: FoxBin2Prg v1.19.33 (ago 29, 2014)

$
0
0
This program is intended to be used alone or with SCM tools (Source Code Managers, like VSS, CVS, SVN) and DVCS tools (like Git, Mercurial, Plastic, and others) or alone for Diff (seen differences) and Merge operations, that pretends to substitute SccText(X) and TwoFox and enhance their functionality, generating bidirectional TEXT prg-style versions that allow modifications and recreate the original binary file.

> Documentation in English
> Documentación en Español


Rel.Date Developer Ver# Observations
2014/08/29 FDBOZZO 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)


> Read the FoxBin2Prg Full Change History

Updated Wiki: FoxBin2Prg Full Change History

$
0
0

FoxBin2Prg Full Change History

Rel.Date Developer Ver# Details
2014/08/29 FDBOZZO 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 - If exists a property called "text" it is confused with a text/endtext structure (Peter Hipp)
2014/08/22 FDBOZZO 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 - 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 - 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 - 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 - 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 - 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 - 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
- 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 FDBOZZO 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Fix on PJX regeneration caused for something missing in the last change of "Autor" to "Author"
2014/01/08 FDBOZZO v1.19.1 - 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 - 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 - 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 - 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 FDBOZZO v1.17 - mnx bug fix: 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 - Added support for Menus (MNX)
2013/12/18 FDBOZZO v1.15 - Added support for DBF, DBC and CDX binaries
2013/12/15 FDBOZZO v1.14 - scx bug fix: autocenter property do nothing (Arturo Ramos)
- scx bug fix: Last COMMENT record is lost (Fidel Charny)
2013/12/08 FDBOZZO v1.13 - frx/lbx bug fix: "Error 1924, TOREG is not an object" on some reports (Fidel Charny)
2013/12/08 FDBOZZO v1.12 - Added support for Reports (FRX) and Labels (LBX)
2013/12/08 FDBOZZO v1.11 - scx/vcx bug fix: _memberdata value corrupted when the value is a long one (Edgar Kummers)
2013/12/07 FDBOZZO 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 FDBOZZO v1.9 - scx/vcx bug fix: last fix keep loosing some properties (Fidel Charny)
2013/12/06 FDBOZZO 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 FDBOZZO 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 FDBOZZO 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 FDBOZZO v1.5 - Bug fix: On some forms dataenvironment didn't regenerate appropiately (Luis Martínez)
2013/11/27 FDBOZZO 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 FDBOZZO v1.3 - Bug fixes, code cleaning, refactoring
2013/11/24 FDBOZZO v1.2 - Bug fixes, code cleaning, refactoring
2013/11/22 FDBOZZO v1.1 - Bug fixes
2013/11/22 FDBOZZO v1.0 - Initial creation of clases on prg and support of VCX/SCX/PJX files



New Post: New Thor install problems, 5/9/2014

$
0
0
Jim -

Thanks again for your help and suggestions. The problems I was having were 100% environmental and related primarily with two non-VFP tools I keep running on my workstations. They are listed below just in case anyone else has these installed.
  1. Stardock's Windowblinds
  2. TeraCopy
My "fix" was to completely disable Windowblinds and to update TeraCopy's preferences to not replace the stock Windows copy routine. I will do the same each time I look for updates via Thor.

Thanks again and great work!!! Can you imagine if we had Thor ten years ago how productive we'd all have been in Visual FoxPro?

_____/ Regards,
____/ al

Alex Luyando - J.C.N. Associates, L.L.C. - Visual FoxPro database application design, development and project management - www.jcn-associates.com

New Post: New Thor install problems, 5/9/2014

$
0
0
Alex --

I am certainly glad you were able to resolve this problem with getting Thor installed. And thanks for letting us know of how it was resolved.

BTW, some of us are still lucky enough to be working full time in VFP!

--
Jim Nelson

(805) 498-9195 (preferred)
(720) 837-3536 (cell)

New Post: New Thor install problems, 5/9/2014

$
0
0
LOL Don't rub it in, Jim! As much as I enjoy .NET development I miss the days of non-stop Visual FoxPro/Visual FoxExpress development! Something about that first love!!!

Enjoy!
Alex Luyando - J.C.N. Associates, L.L.C. - Visual FoxPro database application design, development and project management - www.jcn-associates.com

Updated Wiki: Home

$
0
0

Welcome to VFPX

A Visual FoxPro Community effort to create open source add-ons for Visual FoxPro 9.0.

38236

The code, classes, and libraries made available here are the result of a community-based effort to support and extend Visual FoxPro. Anyone can join-in, help and propose new VFPX projects for possible inclusion in the effort. VFPX members are fans of FoxPro and they give generously of their time, resources, and ideas to make VFPX possible. A debt of gratitude is owed to everyone that has participated or otherwise contributed to VFPX. Thank you.

note_pinned.pngLatest News {2014/08/29}

cd_new.png Recent Releases

  • 2014/08/29 FoxBin2Prg v1.19.33 - Replacement for SCCText(X) and TwoFox that is bi-directional (can merge)
  • 2014/08/01 FoxUnit v. 1.4 - Added filter to see only failed tests; Exposed the options; Reworked the 'New Class' dialog box
  • 2014/07/21 VFPDosPrint - Generate text-based reports that can take full advantage of dot-matrix printer capabilities.
  • 2014/07/04 FFC - Fixed bug handling higher DPI displays
  • 2014/07/04 XSource - Fixed bug handling higher DPI displays
  • 2014/06/12 VFP 9 SP2 Help File v1.07 - Community maintained VFP 9 SP2 Help file
  • 2014/02/21 ExcelXML (Beta 1.08) - Convert a Table or a Grid control into a Microsoft Excel XML Spreadsheet file bringing the visual grid designer.
  • 2013/12/27 Finder (1.1.04 Production) - Search tool to find names of files or classes in a project or folder.
  • 2013/12/25 Thor (1.41) - Tool for managing add-on tools in the IDE (assigning hot keys, popup menus, etc); integrated with PEM Editor 7 . See also Thor Discussion Group
  • 2013/12/21 FoxCharts v1.46 Beta - ActiveX-free charting leverages GDIPlusX
  • 2013/11/25 Sedna - Removed outdated license and readme file from SQL Server Upsizing Wizard
  • 2013/11/25 Fox Graphics Library - High-performance 3D graphics application framework

houses.png Project List

Below is a list of projects that have been accepted as part of the VFPX initiative. You'll note that the projects are grouped based on stability and level of development. The links provide access to the listed project's home page or, in the case that no project home page has yet been provided, the project's release page. The latest release of each project is available from the project's home page or from the VFPX Current Releases page.

StatusProjectVersionReleasedDescription
star_yellow.pngProduction Releases
Alternate SCCText2008/11/12 New and improved version of source code control to text program
Control Renamer Builder 01.10 2012/08/16 Builder designed to rename controls and reference to controls in the method codes
DeskTop Alerts 1.0.2 2012/09/15 Outlook style alerts are popup windows to message users
FFC2014/07/04 Microsoft Visual FoxPro 9.0 Foundation Classes
Finder 1.0.2 2013/09/11 Search tool to find names of files or classes in a project or folder.
FoxBarcode 1.12 2013/09/08 FoxBarcode provides a tool for generating images with different bar code symbologies.
FoxBarcodeQR 1.11 2013/08/24 FoxBarcodeQR is a supplement of FoxBarcode only for QR Code.
FoxCharts 01.20 2009/12/20 ActiveX-free charting leverages GDIPlusX
FoxTabs 1.1 2011/08/13 IDE enhancement assisting developers working with a project and numerous open files
FRXTabs 1.01 2012/02/05 Data-driven mechanism to extend the VFP Report Designer
GDIPlusX 01.202009/05/25 VFP 9.0 class libraries that wrap the 603 GDI+ Flat API functions of GDIPlus.dll
GoFish 4.3.014 2012/06/18 GoFish is an advanced code search tool for fast searching of Visual FoxPro source code.
IntellisenseX 1.07 2013/04/16 Extensions to native Intellisense for field names, properties, local variables, and constants. Thor Discussion Group
New Property/New Method Replacement 2.01 2008/12/30Note: While this project isn’t deprecated, its functionality is included in PEM Editor listed above.
OOP Menu Project2008/06/27 Object-Oriented menus
ParallelFox1.2 2011/01/12 Parallel Processing Library for Visual FoxPro
PEM Editor 77.202012/08/19 PEM Editor and a large suite of IDE Tools; integrated with Thor. Thor Discussion Group
ProjectHookX 1.00 2012/01/09 Extendible projecthook class
Sedna 2013/11/25 Microsoft Visual FoxPro 9.0 "Sedna" Add-Ons
ssClasses 2012/12/11 Library of useful classes
ThemedControls 3.5.8 2010/07/15 OutlookNavBar and other controls to provide the Outlook look and feel in your VFP app
Thor1.412013/12/25 Tool for managing add-on tools in the IDE (assigning hot keys, popup menus, etc); integrated with PEM Editor 7 . Thor Discussion Group
VFP 9.0 Localization in French 1.02 2010/03/29 Provides a French-localized IDE and tools
VFP 9.0 Localization in Russian2009/06/23 Provides a Russian-localized IDE and help
VFP 9 SP2 Help File 1.07 2014/06/12 Community maintained VFP 9 SP2 Help file (corrected and enhanced)
VFP2C32 2.0.0.13 2013/08/05 FLL over Windows API
VFPDosPrint2014/07/21 Generate text-based reports that can take full advantage of dot-matrix printer capabilities.
XSource 2014/07/04 Microsoft Visual FoxPro 9.0 SP2 XSource Projects
star_red.pngRelease Candidates
Automated Build2009/06/23 Automate your VFP application builds with extensions to CruiseControl.NET
ctl32_scontainer2009/06/23 Scrollable containers on VFP forms
ctl32_statusbar 03.00 2006/10/10 Replacement for VFP _screen Status Bar, or can be used on a form
Code Analyst 1.03 2013/01/11 Tool to help your recognize refactoring opportunities by spotting bad smells you select
DataExplorer 3 3.02 2012/09/09 Enhancements past the Sedna release.
FoxBin2Prg v1.19.33 2014/08/29 Replacement for SCCText(X) and TwoFox that is bi-directional
star_green.pngBeta Releases
FoxCharts Beta 1.45 2013/12/21 ActiveX-free charting leverages GDIPlusX.
ExcelXML 1.08 2014/02/21 Convert a Table or a Grid control into a Microsoft Excel XML Spreadsheet file.
FoxcodePlus 3.13.2 2013/05/26 Visual Studio like extensions to Visual FoxPro IntelliSense.
Code References 1.2 2010/10/09 An enhancement to the Code References search tool
FoxUnit 1.03.00 2014/07/30 Unit testing tool, documentation and samples
SubFox1.2.120 2011/03/01 Seamless integration for Subversion source code control
Tab Menu 01.00.052008/03/20 Ribbon control generated from VFP menus
star_blue.pngAlpha Releases
ClassBrowserX2006/06/27 Standard VFP ClassBrowser with enhancements to the Export Code feature
Dynamic Forms 1.5.0 2012-10-28 Dynamic Forms Dynamically create forms from markup syntax. (Alpha)
Fox Graphics Library 2013/11/25 High-performance 3D graphics application framework
FoxyXLS 2013/05/20 Generate pure XLS files with formatting without MSOFFICE installed.
JustBehave2006/06/26 Extend the behavior of any VFP baseclass or custom framework class without additional code
New Class Dialog Replacement2009/11/09 Replacement for VFP New Class dialog with more features
Organization Chart2011/06/16 Displays an organization tree view.
PopMenu Project2008/07/11 Owner-drawn object-oriented shortcut menus
TabbingNavigation2009/05/18 Makes navigating through FoxPro the same experience as SQL Management Studio or Visual Studio
VFP Grid ManyHeader 02.13 2008/06/20 Custom container to replace and extend VFP's header functionality
Win7TLib 0.80 2010/10/16 Integrate Windows 7 Taskbar Functionality into your VFP Applications
zProc, zVFP, and zCOM IntelliSense Scripts2010/07/06 Customized IntelliSense scripts listing user-defined, DLL, and native functions and COM objects
star_grey.pngPlanning Stage
fxReports Easily add special effects to reports
Table Designer X2008/08/18 Non-modal replacement for the VFP Table Designer
VFPWhereClauseBuilder2012/08/23 Provides a dynamic way to create a smooth and powerful search UI with smooth workflow
star_grey.pngAbandoned/Deprecated
VFP 9.0 Localization in Portuguese2008/03/26 Provides a Portuguese-localized IDE and help
VFP MSBuild Target Integrate VFP builds into an automated process

houses.png Other Open Source VFP Projects

This is a list of other open source VFP projects that aren't part of VFPX.
FoxyPreviewer Export your Visual FoxPro reports to Images, RTF, PDF, HTML or XLS super easy! Send them by email! Enhance the look of your previews, and allow your users to decide how their report previews will be.
VFP Client for ADO.Net A wrapper for the .NET System.Data.OleDb classes.
LINQ to VFP An IQToolkit Provider that adds the ability to use Visual FoxPro Data as a LINQ data source.
VFP Entity Framework Provider An Entity Framework Data Provider that adds the ability to use Visual FoxPro Data as an Entity Framework data source.
VFPOAuth Performs OAuth authentication based on the OAuth 1.0a protocol.
VFPTweetAPI A wrapper around the Twitter API with the purpose of accessing Twitter from Visual FoxPro.
ActiveVFP A framework for creating web applications with VFP.

scroll.png Licensing

The projects presented here were donated to VFPX by contributors, developed by VFPX members, or included as part of Microsoft's efforts to share the source of certain VFP product components with the VFP Community. All of the projects here are governed by the Shared Source License for VFPX unless otherwise stated or noted in a project's source code/documentation.

twit.pngVFPX Tweets

palette.pngVFPX Logos and Images

newproject.png Propose a New Project

The project proposal process is fairly simple and designed to reduce administrative overhead for all involved. All you have to do us fill out a two page VFPX Project Proposal which provides the VFPX Administrators information needed to determine if the project fits into VFPX. Once you fill out the proposal, send the document to: projects AT vfpx DOT org.

The administrators will review the proposal and let you know if it will be included or not included. The review process time varies depending on how busy the administrators are when you submit the proposal. After all, they all have day jobs too, just like you. You can review the Project Manager Acceptance Outline to understand what happens once a project is accepted and Tips For Project Managers to gain some helpful tips in working with CodePlex.

getinvolved.png Get Involved

VFPX is a volunteer effort in need of project managers, designers, developers, documentation specialists, testers, sales people, marketing, and visionaries. Determine how you can help and get involved. Plainly put, this is a significant part of the future of Visual FoxPro. You can decide if you are going to sit by and watch, or get involved. The more people who participate in this effort, the less each of us has to work to make it a success. Help Get The Word Out!

If you want to get involved on one or more of the many projects included in VFPX, contact the project manager and let them know you are interested in helping out. The project manager knows resources required and roles needed on the project. You work with the project manager to determine the role you will play. The project manager will work with the VFPX administrators to get your CodePlex login added as a developer.

faq.png Frequently Asked Questions

Tips For Project Managers
How Do I Setup Source Code Control and Contribute Here?

Updated Wiki: foxbin2prg_es

$
0
0

38209 FoxBin2Prg

38236
vfpxreleasesmall.pngÚltima Release de FoxBin2prg

Creador y Administrador del Proyecto: Fernando D. Bozzo - Blog con más información sobre FoxBin2Prg

Video de demostración

Ver demo en YouTube de FoxBin2Prg usado con PlasticSCM


¿Qué es FoxBin2Prg y cómo se usa?

Es un programa pensado para ser utilizado con herramientas SCM (Administradores de Control de Código Fuente, como VSS, CVS, SVN) y herramientas DVCS (como Git, Mercurial, Plastic, and others), o como programa independiente, para hacer operaciones de Diff (ver diferencias) y Merge (mezclar cambios), que pretende sustituir a SccText(X) y TwoFox y mejorar sus funcionalidades,, generando versiones de texto estilo-PRG que permiten recrear el binario original.

Ventajas:
  • Genera archivos estilo "PRG" (no compilables), para comparación visual
  • Permite hacer cambios en la versión TEXTO tan fácil como modificar PRG
  • Todo el código de programa está en un solo PRG, para simplificar su copia y mantenimiento
  • Con las versiones TEXTO puedes regenerar los binarios originales, así que es útil como backup
  • Las extensiones usadas son configurables si se crea el archivo FOXBIN2PRG.CFG
  • Los métodos y propiedades de la versión TEXTO son ordenados alfabéticamente para acilitar su comparación
  • Tiene compatibilidad con el SCCTEXT a nivel de parámetros, así puede ser usado como sustituto con SourceSafe
  • Productividad: Puedes crear un acceso directo en la carpeta "SendTo" de tu Perfil de Windows, así puedes "enviar" el archivo seleccionado (pjx,pj2,etc) a Foxbin2prg.exe y a los scripts vbs incluidos, y hacer conversiones al vuelo
  • Modifique los archivos TX2 estilo-prg con MODIFY COMMAND (sin compilar) para ver la sintaxis coloreada, o incluso usar el Document View para navegar los procedimientos
  • Recupere sus proyectos SourceSafe (.pjx) desde sus archivos .pjm


FoxBin2Prg puede ser usado de 2 formas:

versión EXE:
Tiene todo dentro, solo se necetita foxbin2prg.exe y foxbin2prg.cfg

Versión PRG:
Se necesitan varios archivos: foxbin2prg.prg, todos los archivos props*.txt, foxbin2prg.h y foxbin2prg.cfg

Nota:
Todos los archivos mencionados deben estar en la misma carpeta. No se puede usar solo el PRG sin el resto de los archivos mencionados.


Actualmente se soporta la conversión de archivos PJX,SCX,VCX,FRX,LBX,DBC,DBF y MNX, para los que genera versiones TEXTO con extensión PJ2,SC2,VC2,FR2,LB2,DC2,DB2 y MN2 que pueden ser reconfiguradas para compatibilizar con SourceSafe.


scctextx-vs-FoxBin2Prg_scx_ES.png


scctextx-vs-FoxBin2Prg_mnx_ES.png



Ejemplo de archivo de configuración FOXBIN2PRG.CFG si necesita cambiar extensiones
extension: SC2=SCA
extension: VC2=VCA
extension: PJ2=PJA
...


Usando la versión "EXE": (útil para ser llamado por programas de 3ros)
FOXBIN2PRG.EXE "<path>\file.scx"	==> Genera la versión TEXTO con extensión sc2
FOXBIN2PRG.EXE "<path>\file.sc2"	==> Regenera el binario con extensión scx
FOXBIN2PRG.EXE "<path>\proy.pjx" "*"	==> Genera la versión TEXTO de todos los archivos del PJX
FOXBIN2PRG.EXE "<path>\proy.pj2" "*"	==> Regenera el binario de todos los archivos del PJ2


Usando la versión "PRG":
DO FOXBIN2PRG.PRG WITH "<path>\file.scx"	==> Genera la versión TEXT con extensión sc2
DO FOXBIN2PRG.PRG WITH "<path>\file.sc2"	==> Regenera el binario con extensión scx
DO FOXBIN2PRG.PRG WITH "<path>\proy.pjx", "*"	==> Genera la versión TEXTO de todos los archivos del PJX
DO FOXBIN2PRG.PRG WITH "<path>\proy.pj2", "*"	==> Regenera el binario de todos los archivos del PJ2



Usando la versión "Objeto":
LOCAL loCnv AS c_foxbin2prg OF "FOXBIN2PRG.PRG"
loCnv = NEWOBJECT("c_foxbin2prg", "FOXBIN2PRG.PRG")
loCnv.Ejecutar( <params> )


Donde <params> son: (!=Requerido | ?=Opcional) (@=por referencia | v=por valor), (IN/OUT)
c_InputFile (v! IN ) Ruta completa del archivo a convertir
cType (v? IN ) Para compatibilidad con el SCCTEXT.PRG, indica el tipo de archivo (d=DBC, D=DBF, K=Form, B=Label, M=Menu, R=Report, V=Class)
cTextName (v? IN ) Para compatibilidad con el SCCTEXT.PRG, es el nombre del archivo de Texto a generar
lGenText (v? IN ) Para compatibilidad con el SCCTEXT.PRG, .T.=Generar Texto, .F.=Generar Binario
cDontShowErrors (v? IN )'1' para NO mostrar errores con MESSAGEBOX
cDebug (v? IN )'1' para depurar en el punto del error (solo modo desarrollo)
cDontShowProgress (v? IN )'1' para NO mostrar la barra de progreso
cOriginalFileName (v? IN ) Para los casos en los que inputFile es un nombre temporal y se necesita el nombre correcto original (por ejemplo: dentro de los archivos PJ2 y de las cabeceras TEXTO)
cRecompile (v? IN ) Si se indica un Path, recompilará el binario desde el mismo. Si se invoca desde SCCAPI, será Verdadero por defecto y si no será Falso por defecto
cNoTimestamps (v? IN )'1' para limpiar los Timestamps en texto y binarios. Util para minimizar las diferencias en operaciones de Diff y Merge ("1" is el valor por defecto desde la versión v1.19.9)

  • Nota: Por favor, lea los archivos README.txt y FoxBin2Prg.cfg para más información técnica


FoxBin2Prg.cfg - Si no se proporcionan valores, estos son los predeterminados
extension: xx2 Las extensiones por defecto de FoxBin2Prg terminan en '2'
DontShowProgress: 0 Mostrar barra de progreso por defecto en procesamiento multi-archivo
DontShowErrors: 0 Mostrar mensajes de error por defecto
NoTimestamps: 1 Vaciar Timestamps por defecto para minimizar diferencias
Debug: 0 No Activar <archivo>.Log por defecto
ExtraBackupLevels: 1 Por defecto 1 BAK es creado. Con esto puede crear más .N.BAK, o ninguno
ClearUniqueID: 1 0=Mantener UniqueID, 1=Borrar Unique ID. Util para Diff y Merge
OptimizeByFilestamp: 0 Optimizar la regeneración de archivos dependiendo del timestamp de archivo (no conviene si se usa de forma bidireccional)
AllowMultiConfig: 1 1=Permitir configuración CFG por directorio. Si no se encuentra CFG, se usa el principal. 0=Solo usar CFG Principal
DropNullCharsFromCode: 1 1=Quitar NULLs del código fuente / 0=Dejar los NULLs en el código
XXX_Conversion_Support: N 0=Sin soporte, 1=Generar solo TXT (Diff), 2=Generar TXT y BIN (Merge), 4=Generar TXT con DATOS para DIFF (DBF solamente)
PJX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
VCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
SCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
FRX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
LBX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
MNX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBC_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBF_Conversion_Support: 1 El valor por defecto es 1 - Solo el soporte tx2 activado. El soporte para regenerar la estructura de los DBFs está desactivada por defecto para no sobreescribir los datos accidentalmente. Cuando se activa el soporte bidireccional (2), tenga presente que los Datos no son restaurados, solo las estructuras y los índices!. Usar con cuidado.


Artículos sobre FoxBin2Prg

> FoxBin2Prg, el sucesor mejorado del SccText
> FoxBin2Prg: Guía rápida de uso y configuración
> FoxBin2Prg: Detalle de vistas, datos de uso, configuraciones y más

Artículos sobre uso de FoxBin2Prg con herramienats SCM

> Control de versiones: ¿Para qué sirve? ¿Por qué es necesario)
> Control de código fuente: Terminología común que hay que conocer
> Cómo configurar las Herramientas de VFP 9 en Plastic
> Instalación de PlasticSCM paso a paso
> PlasticSCM: Cómo crear una rama para comenzar a trabajar
> PlasticSCM: Hice un checkin erróneo de un archivo nuevo, ¿cómo lo arreglo?
> FoxPro 9: Creando un componente y añadiéndolo al control de código PlasticSCM
> FoxPro 9: Modificando un componente que ya está bajo control de código
> FoxPro 9 y PlasticSCM: Cómo deshacer un changeset sin borrarlo
> PlasticSCM: Agregando un proyecto FoxPro 9 al control de código fuente
> PlasticSCM: Cómo trabajar en FoxPro 9 con ramas por tarea
> PlasticSCM: ¿Qué es el Diff?
> PlasticSCM: ¿Qué es el Merge?
> PlasticSCM: ¡Houston, tenemos problemas!
> PlasticSCM: El merge sustractivo como reemplazo del borrado
> PlasticSCM: ¿Qué es el Shelve?
> PlasticSCM: ¿Para qué sirve el anotate?
> PlasticSCM: Opciones de conectividad, transporte del código fuente y backup
> PlasticSCM: Sincronización con GitHub
> PlasticSCM: ¿Qué es nivelar una rama?
> PlasticSCM: Opciones de búsqueda y visualización de ramas y changesets


vfpxreleasesmall.pngÚltima Release de FoxBin2prg

38236

Updated Wiki: foxbin2prg_es

$
0
0

38209 FoxBin2Prg

38236
vfpxreleasesmall.pngÚltima Release de FoxBin2prg

Creador y Administrador del Proyecto: Fernando D. Bozzo - Blog con más información sobre FoxBin2Prg

Video de demostración

Ver demo en YouTube de FoxBin2Prg usado con PlasticSCM


¿Qué es FoxBin2Prg y cómo se usa?

Es un programa pensado para ser utilizado con herramientas SCM (Administradores de Control de Código Fuente, como VSS, CVS, SVN) y herramientas DVCS (como Git, Mercurial, Plastic, and others), o como programa independiente, para hacer operaciones de Diff (ver diferencias) y Merge (mezclar cambios), que pretende sustituir a SccText(X) y TwoFox y mejorar sus funcionalidades, generando versiones de texto estilo-PRG que permiten recrear el binario original.

Ventajas:
  • Genera archivos estilo "PRG" (no compilables), para comparación visual
  • Permite hacer cambios en la versión TEXTO tan fácil como modificar PRG
  • Todo el código de programa está en un solo PRG, para simplificar su copia y mantenimiento
  • Con las versiones TEXTO puedes regenerar los binarios originales, así que es útil como backup
  • Las extensiones usadas son configurables si se crea el archivo FOXBIN2PRG.CFG
  • Los métodos y propiedades de la versión TEXTO son ordenados alfabéticamente para acilitar su comparación
  • Tiene compatibilidad con el SCCTEXT a nivel de parámetros, así puede ser usado como sustituto con SourceSafe
  • Productividad: Puedes crear un acceso directo en la carpeta "SendTo" de tu Perfil de Windows, así puedes "enviar" el archivo seleccionado (pjx,pj2,etc) a Foxbin2prg.exe y a los scripts vbs incluidos, y hacer conversiones al vuelo
  • Modifique los archivos TX2 estilo-prg con MODIFY COMMAND (sin compilar) para ver la sintaxis coloreada, o incluso usar el Document View para navegar los procedimientos
  • Recupere sus proyectos SourceSafe (.pjx) desde sus archivos .pjm


FoxBin2Prg puede ser usado de 2 formas:

versión EXE:
Tiene todo dentro, solo se necetita foxbin2prg.exe y foxbin2prg.cfg

Versión PRG:
Se necesitan varios archivos: foxbin2prg.prg, todos los archivos props*.txt, foxbin2prg.h y foxbin2prg.cfg

Nota:
Todos los archivos mencionados deben estar en la misma carpeta. No se puede usar solo el PRG sin el resto de los archivos mencionados.


Actualmente se soporta la conversión de archivos PJX,SCX,VCX,FRX,LBX,DBC,DBF y MNX, para los que genera versiones TEXTO con extensión PJ2,SC2,VC2,FR2,LB2,DC2,DB2 y MN2 que pueden ser reconfiguradas para compatibilizar con SourceSafe.


scctextx-vs-FoxBin2Prg_scx_ES.png


scctextx-vs-FoxBin2Prg_mnx_ES.png



Ejemplo de archivo de configuración FOXBIN2PRG.CFG si necesita cambiar extensiones
extension: SC2=SCA
extension: VC2=VCA
extension: PJ2=PJA
...


Usando la versión "EXE": (útil para ser llamado por programas de 3ros)
FOXBIN2PRG.EXE "<path>\file.scx"	==> Genera la versión TEXTO con extensión sc2
FOXBIN2PRG.EXE "<path>\file.sc2"	==> Regenera el binario con extensión scx
FOXBIN2PRG.EXE "<path>\proy.pjx" "*"	==> Genera la versión TEXTO de todos los archivos del PJX
FOXBIN2PRG.EXE "<path>\proy.pj2" "*"	==> Regenera el binario de todos los archivos del PJ2


Usando la versión "PRG":
DO FOXBIN2PRG.PRG WITH "<path>\file.scx"	==> Genera la versión TEXT con extensión sc2
DO FOXBIN2PRG.PRG WITH "<path>\file.sc2"	==> Regenera el binario con extensión scx
DO FOXBIN2PRG.PRG WITH "<path>\proy.pjx", "*"	==> Genera la versión TEXTO de todos los archivos del PJX
DO FOXBIN2PRG.PRG WITH "<path>\proy.pj2", "*"	==> Regenera el binario de todos los archivos del PJ2



Usando la versión "Objeto":
LOCAL loCnv AS c_foxbin2prg OF "FOXBIN2PRG.PRG"
loCnv = NEWOBJECT("c_foxbin2prg", "FOXBIN2PRG.PRG")
loCnv.Ejecutar( <params> )


Donde <params> son: (!=Requerido | ?=Opcional) (@=por referencia | v=por valor), (IN/OUT)
c_InputFile (v! IN ) Ruta completa del archivo a convertir
cType (v? IN ) Para compatibilidad con el SCCTEXT.PRG, indica el tipo de archivo (d=DBC, D=DBF, K=Form, B=Label, M=Menu, R=Report, V=Class)
cTextName (v? IN ) Para compatibilidad con el SCCTEXT.PRG, es el nombre del archivo de Texto a generar
lGenText (v? IN ) Para compatibilidad con el SCCTEXT.PRG, .T.=Generar Texto, .F.=Generar Binario
cDontShowErrors (v? IN )'1' para NO mostrar errores con MESSAGEBOX
cDebug (v? IN )'1' para depurar en el punto del error (solo modo desarrollo)
cDontShowProgress (v? IN )'1' para NO mostrar la barra de progreso
cOriginalFileName (v? IN ) Para los casos en los que inputFile es un nombre temporal y se necesita el nombre correcto original (por ejemplo: dentro de los archivos PJ2 y de las cabeceras TEXTO)
cRecompile (v? IN ) Si se indica un Path, recompilará el binario desde el mismo. Si se invoca desde SCCAPI, será Verdadero por defecto y si no será Falso por defecto
cNoTimestamps (v? IN )'1' para limpiar los Timestamps en texto y binarios. Util para minimizar las diferencias en operaciones de Diff y Merge ("1" is el valor por defecto desde la versión v1.19.9)

  • Nota: Por favor, lea los archivos README.txt y FoxBin2Prg.cfg para más información técnica


FoxBin2Prg.cfg - Si no se proporcionan valores, estos son los predeterminados
extension: xx2 Las extensiones por defecto de FoxBin2Prg terminan en '2'
DontShowProgress: 0 Mostrar barra de progreso por defecto en procesamiento multi-archivo
DontShowErrors: 0 Mostrar mensajes de error por defecto
NoTimestamps: 1 Vaciar Timestamps por defecto para minimizar diferencias
Debug: 0 No Activar <archivo>.Log por defecto
ExtraBackupLevels: 1 Por defecto 1 BAK es creado. Con esto puede crear más .N.BAK, o ninguno
ClearUniqueID: 1 0=Mantener UniqueID, 1=Borrar Unique ID. Util para Diff y Merge
OptimizeByFilestamp: 0 Optimizar la regeneración de archivos dependiendo del timestamp de archivo (no conviene si se usa de forma bidireccional)
AllowMultiConfig: 1 1=Permitir configuración CFG por directorio. Si no se encuentra CFG, se usa el principal. 0=Solo usar CFG Principal
DropNullCharsFromCode: 1 1=Quitar NULLs del código fuente / 0=Dejar los NULLs en el código
XXX_Conversion_Support: N 0=Sin soporte, 1=Generar solo TXT (Diff), 2=Generar TXT y BIN (Merge), 4=Generar TXT con DATOS para DIFF (DBF solamente)
PJX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
VCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
SCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
FRX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
LBX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
MNX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBC_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBF_Conversion_Support: 1 El valor por defecto es 1 - Solo el soporte tx2 activado. El soporte para regenerar la estructura de los DBFs está desactivada por defecto para no sobreescribir los datos accidentalmente. Cuando se activa el soporte bidireccional (2), tenga presente que los Datos no son restaurados, solo las estructuras y los índices!. Usar con cuidado.


Artículos sobre FoxBin2Prg

> FoxBin2Prg, el sucesor mejorado del SccText
> FoxBin2Prg: Guía rápida de uso y configuración
> FoxBin2Prg: Detalle de vistas, datos de uso, configuraciones y más

Artículos sobre uso de FoxBin2Prg con herramienats SCM

> Control de versiones: ¿Para qué sirve? ¿Por qué es necesario)
> Control de código fuente: Terminología común que hay que conocer
> Cómo configurar las Herramientas de VFP 9 en Plastic
> Instalación de PlasticSCM paso a paso
> PlasticSCM: Cómo crear una rama para comenzar a trabajar
> PlasticSCM: Hice un checkin erróneo de un archivo nuevo, ¿cómo lo arreglo?
> FoxPro 9: Creando un componente y añadiéndolo al control de código PlasticSCM
> FoxPro 9: Modificando un componente que ya está bajo control de código
> FoxPro 9 y PlasticSCM: Cómo deshacer un changeset sin borrarlo
> PlasticSCM: Agregando un proyecto FoxPro 9 al control de código fuente
> PlasticSCM: Cómo trabajar en FoxPro 9 con ramas por tarea
> PlasticSCM: ¿Qué es el Diff?
> PlasticSCM: ¿Qué es el Merge?
> PlasticSCM: ¡Houston, tenemos problemas!
> PlasticSCM: El merge sustractivo como reemplazo del borrado
> PlasticSCM: ¿Qué es el Shelve?
> PlasticSCM: ¿Para qué sirve el anotate?
> PlasticSCM: Opciones de conectividad, transporte del código fuente y backup
> PlasticSCM: Sincronización con GitHub
> PlasticSCM: ¿Qué es nivelar una rama?
> PlasticSCM: Opciones de búsqueda y visualización de ramas y changesets


vfpxreleasesmall.pngÚltima Release de FoxBin2prg

38236

Updated Wiki: foxbin2prg_es

$
0
0

38209 FoxBin2Prg

38236
vfpxreleasesmall.pngÚltima Release de FoxBin2prg

Creador y Administrador del Proyecto: Fernando D. Bozzo - Blog con más información sobre FoxBin2Prg

Video de demostración

Ver demo en YouTube de FoxBin2Prg usado con PlasticSCM


¿Qué es FoxBin2Prg y cómo se usa?

Es un programa pensado para ser utilizado con herramientas SCM (Administradores de Control de Código Fuente, como VSS, CVS, SVN) y herramientas DVCS (como Git, Mercurial, Plastic, and others), o como programa independiente, para hacer operaciones de Diff (ver diferencias) y Merge (mezclar cambios), que pretende sustituir a SccText(X) y TwoFox y mejorar sus funcionalidades, generando versiones de texto estilo-PRG que permiten recrear el binario original.

Ventajas:
  • Genera archivos estilo "PRG" (no compilables), para comparación visual
  • Permite hacer cambios en la versión TEXTO tan fácil como modificar PRG
  • Todo el código de programa está en un solo PRG, para simplificar su copia y mantenimiento
  • Con las versiones TEXTO puedes regenerar los binarios originales, así que es útil como backup
  • Las extensiones usadas son configurables si se crea el archivo FOXBIN2PRG.CFG
  • Los métodos y propiedades de la versión TEXTO son ordenados alfabéticamente para acilitar su comparación
  • Tiene compatibilidad con el SCCTEXT a nivel de parámetros, así puede ser usado como sustituto con SourceSafe
  • Productividad: Puedes crear un acceso directo en la carpeta "SendTo" de tu Perfil de Windows, así puedes "enviar" el archivo seleccionado (pjx,pj2,etc) a Foxbin2prg.exe y a los scripts vbs incluidos, y hacer conversiones al vuelo
  • Modifique los archivos TX2 estilo-prg con MODIFY COMMAND (sin compilar) para ver la sintaxis coloreada, o incluso usar el Document View para navegar los procedimientos
  • Recupere sus proyectos SourceSafe (.pjx) desde sus archivos .pjm


FoxBin2Prg puede ser usado de 2 formas:

versión EXE:
Tiene todo dentro, solo se necetita foxbin2prg.exe y foxbin2prg.cfg

Versión PRG:
Se necesitan varios archivos: foxbin2prg.prg, todos los archivos props*.txt, foxbin2prg.h y foxbin2prg.cfg

Nota:
Todos los archivos mencionados deben estar en la misma carpeta. No se puede usar solo el PRG sin el resto de los archivos mencionados.


Actualmente se soporta la conversión de archivos PJX,SCX,VCX,FRX,LBX,DBC,DBF y MNX, para los que genera versiones TEXTO con extensión PJ2,SC2,VC2,FR2,LB2,DC2,DB2 y MN2 que pueden ser reconfiguradas para compatibilizar con SourceSafe.


scctextx-vs-FoxBin2Prg_scx_ES.png


scctextx-vs-FoxBin2Prg_mnx_ES.png



Ejemplo de archivo de configuración FOXBIN2PRG.CFG si necesita cambiar extensiones
extension: SC2=SCA
extension: VC2=VCA
extension: PJ2=PJA
...


Usando la versión "EXE": (útil para ser llamado por programas de 3ros)
FOXBIN2PRG.EXE "<path>\file.scx"	==> Genera la versión TEXTO con extensión sc2
FOXBIN2PRG.EXE "<path>\file.sc2"	==> Regenera el binario con extensión scx
FOXBIN2PRG.EXE "<path>\proy.pjx" "*"	==> Genera la versión TEXTO de todos los archivos del PJX
FOXBIN2PRG.EXE "<path>\proy.pj2" "*"	==> Regenera el binario de todos los archivos del PJ2


Usando la versión "PRG":
DO FOXBIN2PRG.PRG WITH "<path>\file.scx"	==> Genera la versión TEXT con extensión sc2
DO FOXBIN2PRG.PRG WITH "<path>\file.sc2"	==> Regenera el binario con extensión scx
DO FOXBIN2PRG.PRG WITH "<path>\proy.pjx", "*"	==> Genera la versión TEXTO de todos los archivos del PJX
DO FOXBIN2PRG.PRG WITH "<path>\proy.pj2", "*"	==> Regenera el binario de todos los archivos del PJ2



Usando la versión "Objeto":
LOCAL loCnv AS c_foxbin2prg OF "FOXBIN2PRG.PRG"
loCnv = NEWOBJECT("c_foxbin2prg", "FOXBIN2PRG.PRG")
loCnv.Ejecutar( <params> )


Donde <params> son: (!=Requerido | ?=Opcional) (@=por referencia | v=por valor), (IN/OUT)
c_InputFile (v! IN ) Ruta completa del archivo a convertir
cType (v? IN ) Para compatibilidad con el SCCTEXT.PRG, indica el tipo de archivo (d=DBC, D=DBF, K=Form, B=Label, M=Menu, R=Report, V=Class)
cTextName (v? IN ) Para compatibilidad con el SCCTEXT.PRG, es el nombre del archivo de Texto a generar
lGenText (v? IN ) Para compatibilidad con el SCCTEXT.PRG, .T.=Generar Texto, .F.=Generar Binario
cDontShowErrors (v? IN )'1' para NO mostrar errores con MESSAGEBOX
cDebug (v? IN )'1' para depurar en el punto del error (solo modo desarrollo)
cDontShowProgress (v? IN )'1' para NO mostrar la barra de progreso
cOriginalFileName (v? IN ) Para los casos en los que inputFile es un nombre temporal y se necesita el nombre correcto original (por ejemplo: dentro de los archivos PJ2 y de las cabeceras TEXTO)
cRecompile (v? IN ) Si se indica un Path, recompilará el binario desde el mismo. Si se invoca desde SCCAPI, será Verdadero por defecto y si no será Falso por defecto
cNoTimestamps (v? IN )'1' para limpiar los Timestamps en texto y binarios. Util para minimizar las diferencias en operaciones de Diff y Merge ("1" is el valor por defecto desde la versión v1.19.9)

  • Nota: Por favor, lea los archivos README.txt y FoxBin2Prg.cfg para más información técnica


FoxBin2Prg.cfg - Si no se proporcionan valores, estos son los predeterminados
extension: xx2 Las extensiones por defecto de FoxBin2Prg terminan en '2'
DontShowProgress: 0 Mostrar barra de progreso por defecto en procesamiento multi-archivo
DontShowErrors: 0 Mostrar mensajes de error por defecto
NoTimestamps: 1 Vaciar Timestamps por defecto para minimizar diferencias
Debug: 0 No Activar <archivo>.Log por defecto
ExtraBackupLevels: 1 Por defecto 1 BAK es creado. Con esto puede crear más .N.BAK, o ninguno
ClearUniqueID: 1 0=Mantener UniqueID, 1=Borrar Unique ID. Util para Diff y Merge
OptimizeByFilestamp: 0 Optimizar la regeneración de archivos dependiendo del timestamp de archivo (no conviene si se usa de forma bidireccional)
AllowMultiConfig: 1 1=Permitir configuración CFG por directorio. Si no se encuentra CFG, se usa el principal. 0=Solo usar CFG Principal
DropNullCharsFromCode: 1 1=Quitar NULLs del código fuente / 0=Dejar los NULLs en el código
XXX_Conversion_Support: N 0=Sin soporte, 1=Generar solo TXT (Diff), 2=Generar TXT y BIN (Merge), 4=Generar TXT con DATOS para DIFF (DBF solamente)
PJX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
VCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
SCX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
FRX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
LBX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
MNX_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBC_Conversion_Support: 2 El valor por defecto es 2 - Soporte bidireccional activado (tx2 y bin)
DBF_Conversion_Support: 1 El valor por defecto es 1 - Solo el soporte tx2 activado. El soporte para regenerar la estructura de los DBFs está desactivada por defecto para no sobreescribir los datos accidentalmente. Cuando se activa el soporte bidireccional (2), tenga presente que los Datos no son restaurados, solo las estructuras y los índices!. Usar con cuidado.


Artículos sobre FoxBin2Prg

> FoxBin2Prg, el sucesor mejorado del SccText
> FoxBin2Prg: Guía rápida de uso y configuración
> FoxBin2Prg: Detalle de vistas, datos de uso, configuraciones y más

Artículos sobre uso de FoxBin2Prg con herramienats SCM

> Control de versiones: ¿Para qué sirve? ¿Por qué es necesario)
> Control de código fuente: Terminología común que hay que conocer
> Cómo configurar las Herramientas de VFP 9 en Plastic
> Instalación de PlasticSCM paso a paso
> PlasticSCM: Cómo crear una rama para comenzar a trabajar
> PlasticSCM: Hice un checkin erróneo de un archivo nuevo, ¿cómo lo arreglo?
> FoxPro 9: Creando un componente y añadiéndolo al control de código PlasticSCM
> FoxPro 9: Modificando un componente que ya está bajo control de código
> FoxPro 9 y PlasticSCM: Cómo deshacer un changeset sin borrarlo
> PlasticSCM: Agregando un proyecto FoxPro 9 al control de código fuente
> PlasticSCM: Cómo trabajar en FoxPro 9 con ramas por tarea
> PlasticSCM: ¿Qué es el Diff?
> PlasticSCM: ¿Qué es el Merge?
> PlasticSCM: ¡Houston, tenemos problemas!
> PlasticSCM: El merge sustractivo como reemplazo del borrado
> PlasticSCM: ¿Qué es el Shelve?
> PlasticSCM: ¿Para qué sirve el anotate?
> PlasticSCM: Opciones de conectividad, transporte del código fuente y backup
> PlasticSCM: Sincronización con GitHub
> PlasticSCM: ¿Qué es nivelar una rama?
> PlasticSCM: Opciones de búsqueda y visualización de ramas y changesets


vfpxreleasesmall.pngÚltima Release de FoxBin2prg

38236

Updated Wiki: PlasticSCM - Desintegrate a task from the release

$
0
0

 

 

PlasticSCM - Disintegrate a task from the release

So you have been working on different tasks, each one in its own branch, you are going to release again, but there is something wrong with the task_001 from the previous code integration, you want to drop this task because of a new requirement, so it is not needed anymore :_( , and what a difficult task it is! What are you going to do now? How can you drop all these modifications? Which were those modifications?

Subtractive merge to the rescue

There is an SCM operation called “subtractive merge” that works exactly opposed to the normal merge, because it calculates what to drop and if not sure make you decide, but showing all the needed information to do it.

Let’s disintegrate! :)

First, we select what to disintegrate, in this case Plastic needs an open-close interval selection (as in math, “open” is the point selected but not included, and “close” is the point selected and included)

PlasticSCM_en_work_39_SubtractiveMerge_of_task_001.png


Now Plastic have detected this files:

PlasticSCM_en_work_40_SubtractiveMerge_of_task_001__merge_view.png


We “Process all merges”:

PlasticSCM_en_work_41_SubtractiveMerge_of_task_001__merge_view_after_process.png


This can’t be true! All automatic in this case? No manual intervention?
Let’s see what Branch Explorer shows about this operation:

PlasticSCM_en_work_42_SubtractiveMerge_of_task_001__BranchExplorer_view.png


Now, we need to verify this on the Pending Changes view:

PlasticSCM_en_work_43_SubtractiveMerge_of_task_001__PendingChanges_view.png


Ok, the files are those, but we need visual confirmation of the changes in the code, we press the shortcut CTRL+D on the sc2 file, or use the right-click menu:

PlasticSCM_en_work_44_SubtractiveMerge_of_task_001__PendingChanges_view_options.png


PlasticSCM_en_work_45_SubtractiveMerge_of_task_001__PendingChanges_view_code.png


Ok, so far, so good, it have a good looking, but we need to regenerate the binary from the disintegrated sc2 file, and see for ourselves the result in VFP just to be sure:

PlasticSCM_en_work_46_SubtractiveMerge_of_task_001__PendingChanges_regenerate_binary.png

PlasticSCM_en_work_47_SubtractiveMerge_of_task_001__PendingChanges_see_binary_in_VFP.png


Well, yes, this is the original form before the modifications, so we can check it in now and go to Branch Explorer:

PlasticSCM_en_work_48_SubtractiveMerge_of_task_001__BranchExplorer.png


Finally, we have disintegrated one task in only one subtractive-merge operation.

Of course, this was an easy case just to show how it works, and in real life with lots of changes you surely must resolve manual conflicts, but they will be shown just as a normal merge with all the information you need to do the task.

 

 

Index of contents:

Using FoxBin2Prg with PlasticSCM
PlasticSCM - Download and configuration
PlasticSCM – Adding an existing VFP project
PlasticSCM – Working with branch per task
PlasticSCM – Working with branches with a second developer on same task
PlasticSCM - Desintegrate a task from the release
PlasticSCM - Synchronizing with a Git Repository
PlasticSCM – What’s next

New Comment on "PlasticSCM - Synchronizing with a Git Repository"

$
0
0
Please, write a little more about "does not work reliably".

New Comment on "PlasticSCM – Adding an existing VFP project"

$
0
0
In the first paragraph, you wrote "...right-click the root folder of the project and chose “Send To” > “Normalize_Filenames...”, but there isn't such option on my "Send To" menu. Can you help me? Thanks.
Viewing all 3798 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>