Tracker: Patches

Patching Overview

Patches are an easy way to submit changes to the VCF project without having CVS access. To submit a patch you must be a registered User at SourceForge, which you can do here

Once you're registered you should be able to submit a patch. To create a patch read the directions that follow, and then follow the submission instructions to fill in the form fields. Remeber to upload your patch file so we can review and apply it.

Patching Instructions

There are command line tools that are very useful in comparing files and then applying a patch. This will (very briefly) explain how to do this) on Win32 systems, for folks using *nix systems just ignore the Cygwin references.

First get cygwin.

run patch and run diff just to verify you have them

now you can run diff on say, vcf/include/core/CommonFileOpen.h, with another version by running

$ diff -u vcf/include/core/CommonFileOpen.h \
vcf_20030816/include/core/CommonFileOpen.h
and you might see the following output:
$ diff -u vcf/include/core/CommonFileOpen.h \
vcf_20030816/include/core/CommonFileOpen.h
--- vcf/include/core/CommonFileOpen.h   2003-05-19
19:44:52.000000000 -0400
+++ vcf_20030816/include/core/CommonFileOpen.h 
2003-08-13 13:51:20.000000000 -0
400
@@ -92,6 +92,8 @@

    virtual bool execute();

+       virtual void setFileMustExist( const bool&
fileMustExist );     //MP-26
+
       Enumerator* getSelectedFiles();
protected:

Now you can pipe that to a file and create a patch. For example, try:

diff -u vcf/include/core/CommonFileOpen.h \
vcf_20030816/include/core/CommonFileOpen.h > cfo-patch

This can now be applied to your CommonFileOpen.h by using the patch program like so:

patch vcf/include/core/CommonFileOpen.h < cfo-patch
So, you can submit patch files you create using diff and then the VCF developers can review the patch files and decide whether or not to apply them.

Advanced
Page:
1 - 15 of 15 Results - Display 
Search Results
ID Summary Status Opened Assignee Submitter Resolution Priority
ID Summary Status Opened Assignee Submitter Resolution Priority
Assignee: Status: Category: Group: Submitter: Keyword: Artifact ID: Permalink
1520380 add operator != to Size Open 2006-07-11 nobody bluebird42 None 5
1518587 fix int64 issues with VCF_VARIANT64 defined Open 2006-07-07 nobody hazard_hd None 5
1517055 rename make(U)Long64 to make(U)Int64 Open 2006-07-04 nobody hazard_hd None 5
1514626 long64 renamed; >4GB support for streams Open 2006-06-29 nobody hazard_hd None 5
1503348 Replace ulong64 wrapper class with typedef Open 2006-06-09 nobody hazard_hd None 5
1351922 Patches to make FoundationKit compile in linux Deleted 2005-11-08 nobody mostuff None 5
1333946 New patches to compile ApplicationKit with mingw Closed 2005-10-21 nobody kitovyj None 5
1315995 makefile for mingw msys - compiles AK, FK, GK, Agg Closed 2005-10-07 nobody kitovyj None 5
1315991 patches necessary to compile AK, FK, GK using mingw Closed 2005-10-07 nobody kitovyj None 5
968366 ListBoxControl.h MouseDown functionality Closed 2004-06-07 dougtinkham dougtinkham None 5
968365 ListBoxControl MouseDown Functionality Closed 2004-06-07 dougtinkham dougtinkham None 5
961205 Linux Makefile Closed 2004-05-26 nobody thrysoee None 5
959078 Set of Makefiles for Linux Closed 2004-05-23 nobody thrysoee None 5
927557 vc7.1: vcfall.sln cleaned up a bit Deleted 2004-04-01 nobody jacmoe2 None 5
789959 test Deleted 2003-08-16 nobody ddiegoProject Admin None 5
Page:
1 - 15 of 15 Results - Display