Contribution

Contribution is very welcome.

To get the latest sources use git:

git clone git://github.com/d-widget-toolkit/dwt.git
git submodule init
git submodule add

To port snippets or examples use the prepared sources: dwt-linux-jsrc-3.3.zip, it contains the SWT, examples and snippets. General replacements are made and file extensions changed to .d.

Before you start

Formatting: Please check your editor to not use tabs. Please use 4 spaces for indention.
File Format: Please make sure you always work with unix file format, even on windows. Mercurial does no line ending convertion. Editors changing this accidentally cause Mercurial to see the whole file changed. This make further merges/diffs difficult and increases the repository.
VIM settings:

set expandtab
set shiftwidth=4
set tabstop=4
set softtabstop=4
autocmd BufRead,BufNewFile *.d set encoding=utf-8
autocmd BufRead,BufNewFile *.d set fileformat=unix

Contribute

The preferred way of contributing to this project is by forking the repository and sending pull request. More info on this is available at github: http://help.github.com/