5 - Flags <td width="40%" valign="top"> <b>Chart Legend</b> <ul> <li><b>Name</b> - The name as defined in the BeOS header files.</li> <li><b>API Construct</b> - The construct used in classes and functions.</li> <li><b>C</b> - The command, from API of appserver or accelerant.</li> <li><b>S</b> - Status, from accelerant to API.</li> <li><b>P</b> - The app_server is target.</li> <li><b>A</b> - The accelerant is source or target.</li> </ul> </td>
A flag is basically a single tray.
7 - Conclusion Writing video drivers is nice to do a while. It is very instructive and (yet) good to do when the whole structure is addressed. Sometimes writing video drivers requires the necessary imagination from the programmer, because it is difficult to test some (combinations) of things or make them testable. Also, the retrieval and understanding of the specifications is sometimes a challenge. Even if there is some documentation from a chip or card manufacturer, you still need to be puzzled regularly.
6 - Writing The Video Driver When writing a video driver, a number of issues are important: -A plan is required to indicate the order in which the components can be constructed; -There must be possibilities for testing the driver; And -The driver must be constructed in such a way that its stability is ensured as well as possible. This chapter will deal with these issues. The information given here is an important tool in actually building a video driver.
Architecture To check whether your target architecture is support visit Port status.
Pre-requisite Software You need some tools in order to build Haiku. See Pre-requisite software and install the tools mentioned there.
Getting the Source Code To download Haiku's source anonymously, enter
git clone https://review.haiku-os.org/buildtools #needed for building git clone https://review.haiku-os.org/haiku #actual source If you'd like to learn more about downloading through git and git workflow, visit Getting the source code.
This year, 2 of our 3 interns in GSoC and Outreachy completed their projects
Rajagopalan Gandhagaran - Webkit2 port Preetpal Kaur (Outreachy) - Input preferences Bharati Ramana Joshi - Btrfs write support (repeated communication issues preventing the project from moving onwards)
For information about Haiku's participation in GSoC this year, please see this page.
Qualifying students can apply for a Haiku project (see the list of suggested projects below). For details about how to apply, please check out Students: How to Apply for a Haiku Idea.
The most successful Google Summer of Code projects are often those proposed by the students themselves. The following list represents some of our ideas and wishes for the project.
There are several common patterns or approaches that you will use when developing Haiku native applications. These are listed below:
These tutorials were created by DarkWyrm unless otherwise stated.
Using the Layout API [PDF] - by waddlesplash Using attributes in your application [PDF] Using attributes in Queries[PDF] Monitoring the File System with the StorageKit [PDF] Registering a new file type [PDF] Using fonts [PDF] Creating a new UI Control [PDF] Using application scripting [PDF] Adding scripting to your applications [PDF] Enabling Drag & Drop [PDF] Exposing re-usable parts of your application with Replicants [PDF] Tutorial Project: Create a text editor [PDF]
The are many tasks you should look in to before publishing your new or latest application.
Translating your application using catkeys files Create an icon for your application
When you spot a need for an application it is tempting to create a new one from scratch. The HaikuArchives contains many projects that were started as an idea, and then fell out of use.
To minimise code waste and maximise re-use, you should consider finding a project that aligns with your goals, and adding your own new feature enhancements to it, rather than default to create Yet Another Application.
The first thing you'll need to do before writing code in Haiku is to set up a development environment. How you do this will depend on whether you are developing for Haiku within Haiku itself, or from another operating system.
In future we hope to provide step by step guides for each platform. For now though, whichever of the below routes you take, see the summary: Building pre-requisities page for details.