Source

Opera Dragonfly Manual Karl / appendixc.markdown

Appendix C: Development

License

Opera Dragonfly and the Scope specification is released under the <a href="http://dev.opera.com/licenses/apache/">Apache 2.0</a> open source license.

Code repository

The code repository for Opera Dragonfly and associated tools can be found on <a href="https://bitbucket.org/">Bitbucket</a>;. Repositories include:

Checking out the code

Opera Dragonfly uses the Mercurial version control system. Once <a href="http://mercurial.selenic.com/">Mercurial</a>; is setup, it is possible to clone the Opera Dragonfly repository to a local machine. This can be done from the command line using:

<kbd>hg clone https://bitbucket.org/scope/dragonfly-stp-1/</kbd>;

Coding guidelines

Opera Dragonfly follows the Python <a href="http://www.python.org/dev/peps/pep-0008/">PEP 8</a> style guide. Any patch submitted to Opera Dragonfly must follow these guidelines to be accepted. See the <a href="https://bitbucket.org/scope/dragonfly-stp-1/wiki/styleguide">Opera Dragonfly coding conventions</a> for further information.

Development tutorial

To get started with Opera Dragonfly and Scope development, follow the <a href="https://dragonfly.opera.com/app/scope-interface/tutorial-console-logger.html">basic error message logger tutorial</a>.

Browsing bugs

It is possible to browse Opera Dragonfly bugs on the <a href="https://bitbucket.org/scope/dragonfly-stp-1/issues">Bitbucket issue tracker</a>.

Reporting bugs

Bugs in Opera Dragonfly can be reported on the <a href="https://bitbucket.org/scope/dragonfly-stp-1/issues/new">Bitbucket issue tracker</a>.

Porting Opera Dragonfly to another browser or user agent

Opera Dragonfly relies on the Scope module found in Opera Presto. This module would have to be ported to the rendering engine in question to enable Opera Dragonfly to communicate with it. The <a href="http://scope.bitbucket.org/scope/index.html">specification for Scope</a> can be found in the Bitbucket repository.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.