- Please check 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.
- Open a new GitHub merge request with the patch.
- Ensure the PR description clearly describes the problem and solution.
- Include the relevant version number if applicable.
Start reading our code and you'll get the hang of it. We optimize for readability:
- Beautification is done like:
- Keywords: Upper case
- Symbols: First occurence
- Indentation: Space, 1
- Indent anything then Comments
- We NEVER put spaces after list items and method parameters (
[1,2,3]
, not[1, 2, 3]
), around operators (x=1
, notx = 1
). - This is open source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible.
- Please kindly add comments where and what you change. Prefered in PDM change style, this will be processed into documentation. Please look up the examples in the code.
Please note, there are some tasks to set up a new version. Stuff is a bit scattered, so this is where to look up.
- Please create a fork at github
- Fork the project: see this guide for setting up and using a fork.
- If allready forked, pull the recent state, or get most recent version otherwise.
- On top of SF_RegExp.h there is a #DEFINE with version numbers, change according:
#DEFINE dcRegExpVerNo "0.0.0"
- Add a description of changes to ./Doku/Source/Changes.html (this is for PDM docu)
- For changed functionality, add descriptive text to ./Doku/Source/Preface.html file. (this is for PDM docu)
- Change version number on top of ./Doku/Source/Preface.html file.
- Highlight the change on README.md in projects root
- Add a description of changes to docs/changelog.md (this is for github docu)
- Change date in the footer of documentation files touched.
- If available run PDM Project Documenting Machine by Martina Jindrová using the AB-plugins. The pdm setting is stored in the ./Doku folder.
- If you haven't already done so, install VFPX Deployment: choose Check for Updates from the Thor menu, turn on the checkbox for VFPX Deployment, and click Install.
- Start VFP 9 (not VFP Advanced) and CD into the project or make the pjx the active one.
- Run the VFPX Deployment tool to create the installation files: choose VFPX Project Deployment from the Thor Tools, Application menu. Alternately, execute
EXECSCRIPT(_screen.cThorDispatcher, 'Thor_Tool_DeployVFPXProject')
. - Commit the changes.
- Push to your fork.
- Create a pull request; ensure the description clearly describes the problem and solution or the enhancement.
Thanks
Last changed: 2023-05-17