Development: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
m (capitalizing -> non capitalizing)
>NedBot
m (Robot: Cosmetic changes)
Line 4: Line 4:
__TOC__
__TOC__
{{-}}
{{-}}
==Topics==
== Topics ==
{{see also|Category:Development}}
{{see also|Category:Development}}
{{development links}}
{{development links}}


==Source code==
== Source code ==
*See: https://github.com/xbmc/xbmc
* See: https://github.com/xbmc/xbmc


==Development Tools==
== Development Tools ==
* [http://www.stack.nl/~dimitri/doxygen/ Doxygen] - Source code documentation generator tool.
* [http://www.stack.nl/~dimitri/doxygen/ Doxygen] - Source code documentation generator tool.


==Other tools and resources==
== Other tools and resources ==
Though any other tools or resources are not required they can possibly help in development.
Though any other tools or resources are not required they can possibly help in development.
* [[Eclipse CDT Setup For XBMC Development]]
* [[Eclipse CDT Setup For XBMC Development]]
Line 21: Line 21:
* [http://www.daimi.au.dk/~sandmann/sysprof/ Sysprof] (for Linux) - a free System-wide Linux Profiler for tracking CPU usage. Sysprof is a sampling CPU profiler for Linux that uses a kernel module to profile the entire system, not just a single application. Sysprof handles shared libraries, and applications do not need to be recompiled. In fact they don't even have to be restarted. Just insert the kernel module and start sysprof.
* [http://www.daimi.au.dk/~sandmann/sysprof/ Sysprof] (for Linux) - a free System-wide Linux Profiler for tracking CPU usage. Sysprof is a sampling CPU profiler for Linux that uses a kernel module to profile the entire system, not just a single application. Sysprof handles shared libraries, and applications do not need to be recompiled. In fact they don't even have to be restarted. Just insert the kernel module and start sysprof.


===XBMC Artwork===
=== XBMC Artwork ===
The official logo package and source files can be downloaded at sourceforge directly from the link below.
The official logo package and source files can be downloaded at sourceforge directly from the link below.


* [http://sourceforge.net/projects/xbmc/files/Development%20Files/Artwork/XBMC_official_logo_package_v1.0.zip/download XBMC official logo package v1.0]
* [http://sourceforge.net/projects/xbmc/files/Development%20Files/Artwork/XBMC_official_logo_package_v1.0.zip/download XBMC official logo package v1.0]


==General guidelines==
== General guidelines ==
* Code documentation (DocBook, rst, or [http://www.doxygen.org doxygen] for the code documentation steps, preferably the latter, [http://www.doxygen.org doxygen])
* Code documentation (DocBook, rst, or [http://www.doxygen.org doxygen] for the code documentation steps, preferably the latter, [http://www.doxygen.org doxygen])
* Self-containment - XBMC should be as little dependent as possible on operating-system and third-party services/deamons/libraries
* Self-containment - XBMC should be as little dependent as possible on operating-system and third-party services/deamons/libraries
Line 42: Line 42:
{{#lst:XBMC manifesto|User-friendliness}}
{{#lst:XBMC manifesto|User-friendliness}}


==Contact methods==
== Contact methods ==
* IRC: [irc://irc.freenode.net/xbmc-dev #xbmc-dev on freenode] official [http://freenode.net IRC network channel] focused on XBMC development
* IRC: [irc://irc.freenode.net/xbmc-dev #xbmc-dev on freenode] official [http://freenode.net IRC network channel] focused on XBMC development
* [http://forum.xbmc.org/forumdisplay.php?fid=93 XBMC Development Community Forum]
* [http://forum.xbmc.org/forumdisplay.php?fid=93 XBMC Development Community Forum]

Revision as of 16:07, 27 April 2013

Template:DevsHeader

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


Template:XBMC development nav


Topics

Kodi development
Specific topics
Skinning
Add-ons

Source code

Development Tools

  • Doxygen - Source code documentation generator tool.

Other tools and resources

Though any other tools or resources are not required they can possibly help in development.

  • Eclipse CDT Setup For XBMC Development
  • Doxygen - Source code documentation generator tool.
  • Valgrind (for Linux) - a free Linux programming tool for memory debugging, memory leak detection, and profiling.
  • Sysprof (for Linux) - a free System-wide Linux Profiler for tracking CPU usage. Sysprof is a sampling CPU profiler for Linux that uses a kernel module to profile the entire system, not just a single application. Sysprof handles shared libraries, and applications do not need to be recompiled. In fact they don't even have to be restarted. Just insert the kernel module and start sysprof.

XBMC Artwork

The official logo package and source files can be downloaded at sourceforge directly from the link below.

General guidelines

  • Code documentation (DocBook, rst, or doxygen for the code documentation steps, preferably the latter, doxygen)
  • Self-containment - XBMC should be as little dependent as possible on operating-system and third-party services/deamons/libraries
    • XBMC should for example contain all file-system and network-client (like samba) support built-into the XBMC package
  • Modular design - independent modules made up by localized/isolated code libraries without dependencies
    • XBMC should still compile and run if a non-essential module/library is disabled or removed
  • Aim for the GUI/interface to run smoothly on a low spec computer (single core with less than 1Ghz)
    • 3D graphic controller (GPU) will always be required hardware for XBMC so try to utilize the GPU as much as possible
  • Avoid hard-disk trashing (excess read/write/erase cycles), so no hard-drive paging, (utilize RAM memory instead).
    • End-users will be running XBMC and the operating-system on solid-State memory as a Live CD (LiveDistro) of a USB-key
  • Fast load and boot times for end-user perception (other things can still run/start in the background without the user knowledge)
    • 15-seconds or less from when the end user press the power-button on the computer till he/she can browse the GUI

User-friendliness is next to godliness

XBMC manifesto

Contact methods