How to code new features: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:


== How to join ==
== How to join ==
Outside the core dev team, several people are involved in coding for scribus.
Outside the core dev team, several people are involved in coding for scribus.
You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.
You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.


Discussions sometime take place on IRC (#scribus chan on freenode).
===Ways to Connect===
Go irc://irc.freenode.net/#scribus
Discussions sometimes take place on IRC (#scribus chan on freenode).
* Go irc://irc.libera.chat/#scribus or check out [[Special:Webchat|web-based IRC client]]


The scribus-dev email discussion list is sometime used too, and could probably be used more intensely since it gathers all devs.
The scribus-dev email discussion list is sometimes used too, and could probably be used more intensely since it gathers all devs.
See http://lists.scribus.info/mailman/listinfo/scribus-dev
* See http://lists.scribus.info/mailman/listinfo/scribus-dev


===Propose Your Code===
The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors.
The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors.
Documentation can be found here http://wiki.scribus.net/canvas/Git
The procedure can be found on the [[Git|Git page]].
Reading access to the repo is public.
Reading access to the repo is public. '''You can get a writing access to the repo : have a ssh key ready and ask Malex.'''
You can get a writing access to the repo : have a ssh key ready and ask Malex.


Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there.
Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there.
Line 24: Line 24:


== Hints on how to code ==
== Hints on how to code ==
 
* You got to get the code and compile it. There are several howtos on this wiki  i.e. [[Building_SVN_versions_with_CMake]]
You got to get the code and compile it. There are several howtos on this wiki  (for example http://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake)
* Scribus 'plugins' (which are staticaly compiled) are a possible way to implement new features.
 
* QTCreator and QTDesigner are nice tools.
Scribus 'plugins' (which are staticaly compiled) are a possible way to implement new features.
* To begin with, you could look at the [http://bugs.scribus.net|bug tracker] and find easy to solve bugs.
 
* Document your code. Scribus code base is not documented a lot. Please do document your code.
QTCreator and QTDesigner are nice tool.
 
To begin with, you could look at the bug tracker and find easy to solve bugs.
 
Document your code. Scribus code base is not documented a lot. Please do document your code.

Latest revision as of 16:52, 24 February 2022


How to code new features and cure bugs !

How to join

Outside the core dev team, several people are involved in coding for scribus. You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.

Ways to Connect

Discussions sometimes take place on IRC (#scribus chan on freenode).

The scribus-dev email discussion list is sometimes used too, and could probably be used more intensely since it gathers all devs.

Propose Your Code

The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors. The procedure can be found on the Git page. Reading access to the repo is public. You can get a writing access to the repo : have a ssh key ready and ask Malex.

Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there. Document it and ask for testers to test your code when required. When some of your code is perfectly fine, create a diff and propose your patch on the bug tracker.

Hints on how to code

  • You got to get the code and compile it. There are several howtos on this wiki i.e. Building_SVN_versions_with_CMake
  • Scribus 'plugins' (which are staticaly compiled) are a possible way to implement new features.
  • QTCreator and QTDesigner are nice tools.
  • To begin with, you could look at the tracker and find easy to solve bugs.
  • Document your code. Scribus code base is not documented a lot. Please do document your code.