User Info

Developers Info

Mail List

Credits Logo

Tom's Gravity Pages
Site Index

 Gravity Open Source


The latest Gravity 2.7 Open Source Build is 2067
Download and read the release notes at SourceForge


Gravity source code is available open source under the BSD license. Developers need MSVC++ to compile the code. The Gravity open source releases will be numbered Version 2.7.

A SourceForge (SF) project and CVS repository are set up.

  • A Yahoo mail list and group are set up. The list is intended for primarily for programmers or those with an interest in the code.

The code and compiled binaries can be downloaded from the SourceForge project site. If you are a user and want to try the compiled executable you should read the important information and notes for ends users. You will have to make one small registry change unless you do a clean install.

You can also download (checkout) the code by anonymous CVS login. Read the CVS docs on the SourceForge site for CVS help. The CVS root is something like - Module gravity


  • The Toolbar can not be customized by the end user, except for a small subset of the previous commands. The customizable toolbar was licensed and had to go.

  • No spell checker. No Gallery code. No backup program code. No help source files.
    Update: Build 2067 adds a preliminary spell checker (MySpell)
    (Gallery and Backup should work if you have them, however, the code is not available. Gallery and GravityBackup can be downloaded separately from one of the download sites. The help file works, but is only complete to Version 2.5)

  • PCREs. Gravity now uses Perl Compatible Regular Expressions. The original package was licensed and had to go. Please read the following issues regarding REs.

    - If Gravity 2.3, 2.5 or 2.6, is already installed on your system, the following registry change MUST be made to recognize binary parts (and for the "Complete_Binaries" Filter to work)


    Change DecodeRE-Parts to ([0-9]+)/([0-9]+)


    - Rules/filters/scoring that use REs must be changed (if necessary)

  • Basic X-Face support is provided.

  • NEW - A Decode to .. function that over rides the configured directories.

  • NEW - There is a new "Complete_Binaries" checkbox on the "Add/Edit" filter dialog box. Filters should still work if the filter name begins with "Complete_Binaries" for backward compatibility.

  • You can drag the filters - rules - outbox bars.


Regular expressions are changed to Perl Compatible Regular Expressions (PCREs). You may have to change filters, rules or scoring that use regular expressions. You MUST perform the registry change mentioned in the Important Changes so that Gravity recognizes binary parts and for the complete binaries filters to work.

You can revert back to builds 2056 through 2060, the database has not changed. However, if you performed the registry change for complete binaries, you should change it back to the default setting [0-9]+$b/[0-9]+$c



Developers must have MSVC++ to compile the code. It is distributed as a complete zipped MSVC++ workspace or by CVS. I compiled it with Service Pack 2 with no major problems. If you downloaded a zip file, unzip the zip file to a directory, preserving the directory structure. Open workspace news.dsw and build (set configuration to Win32 release). If you use CVS you know what to do. If not - good luck! SourceForge has tons of documents and links for using CVS.


The yahoo list is intended as a resource for developers working with the code. You can choose to subscribe only to the mail list or become a member and access the list and group area. The group URL is:


  • Option 1: Full group access and mail list. You must be a yahoo member or become one.

  • Option 2: Subscribe to e-mail list only. (You can post and receive, but not access the other group features)

    Send a blank e-mail to

    Yahoo will send you a validation e-mail (sometimes it takes a little while).

Important e-mail addresses

Post message:
Subscribe: (blank email)


Credit and many thanks go to Al Choy for modifying and releasing the source code. Thanks to the gang at MicroPlanet; Albert Choy, Tony Edwards, and Marwan Shaban. The X-Face code is from Matthijs Laan and James Ashton. The PCRE library is by Philip Hazel.

Open Source Contributors

  • Albert Choy
  • John Skeet
  • Peter Wall

The code is released under the BSD license.

Tom Bates