Ideas Page: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 5: Line 5:
== Google Summer of Code'24 Contributor Requirements ==
== Google Summer of Code'24 Contributor Requirements ==
Prospective contributors are required to register [https://board.kolibrios.org on our developers forum] and submit a small bugfix / improvement [[Get_source_code|to our SVN or GIT]] in order for their application to be considered. Examples of such tasks can be obtained by asking on the developers forum or on our IRC channel (#kolibrios @ irc.libera.chat). This requirement is only to show us that you are able to work with [[Get_source_code|our SVN or GIT]] and interact with our developers if you are selected.<br>
Prospective contributors are required to register [https://board.kolibrios.org on our developers forum] and submit a small bugfix / improvement [[Get_source_code|to our SVN or GIT]] in order for their application to be considered. Examples of such tasks can be obtained by asking on the developers forum or on our IRC channel (#kolibrios @ irc.libera.chat). This requirement is only to show us that you are able to work with [[Get_source_code|our SVN or GIT]] and interact with our developers if you are selected.<br>
'''This task has to be completed before contributor application deadline (4 April 18:00 UTC).'''
'''This task has to be completed before contributor application deadline (2 April 18:00 UTC).'''
<p>
<p>
In addition, contributors need to answer the following questions when applying:
In addition, contributors need to answer the following questions when applying:
Line 12: Line 12:
# Nickname you plan to use on our forums, SVN/GIT repository or IRC chat.
# Nickname you plan to use on our forums, SVN/GIT repository or IRC chat.
# Age.
# Age.
# Country + city of residence.
# Country + city of residence (Russia and Belarus residence are not allowed according to GSoC terms)
# Human languages you speak (write all languages and knowledge level - basic/intermediate/expert/mother tongue).
# Human languages you speak (write all languages and knowledge level - basic/intermediate/expert/mother tongue).
# Name of college or university you are accepted into or enrolled in + link to their website (if applicable).
# Name of college or university you are accepted into or enrolled in + link to their website (if applicable).
Line 19: Line 19:
# Have you been involved with any open-source project in the past? If yes, which one, and what have you done for that project?
# Have you been involved with any open-source project in the past? If yes, which one, and what have you done for that project?
# Code samples - please provide links to code that you have written. It can be your high school project, contribution to open-source organization, your college/university task or anything like that.
# Code samples - please provide links to code that you have written. It can be your high school project, contribution to open-source organization, your college/university task or anything like that.
# The task you are willing to work on from our list of Summer of Code 2023 ideas (or suggest your own idea, if you don't like any of the proposed ideas).
# The task you are willing to work on from our list of Summer of Code 2024 ideas (or suggest your own idea, if you don't like any of the proposed ideas).
# What other time commitments, such as school work, another job, planned vacation, etc., will you have between May 29 and August 28?
# What other time commitments, such as school work, another job, planned vacation, etc., will you have between May 27 and August 26?
</p>
</p>


Line 80: Line 80:
| KPG
| KPG
|-
|-
| [[#File_system|File system]]
| [[#File_system improvement|File system improvement]]
| Kernel/Application
| Kernel/Application
| FASM (Assembler)
| FASM (Assembler)
Line 92: Line 92:
| [[#Finish Mbed TLS port|Finish Mbed TLS port]]
| [[#Finish Mbed TLS port|Finish Mbed TLS port]]
| Library
| Library
| C/FASM
| C, FASM (Assembler)
| Punk_Joker
| Punk_Joker
|-
|-
Line 133: Line 133:
| Library
| Library
| C
| C
| -
| dunkaist
|-
|-
| [[#Add HTML forms to WebView|Add HTML forms to WebView]]
| [[#Add HTML forms to WebView|Add HTML forms to WebView]]
| Application
| Application
| C--
| C--
| -
| Leency
|-
|-
| [[#J2ME Emulator|J2ME Emulator]]
| [[#J2ME Emulator|J2ME Emulator]]
| Application
| Application
| C, Java
| C, Java
| -
| dunkaist
|-
|-
| [[#Rust library development for KolibriOS|Rust library development for KolibriOS]]
| [[#Rust library development for KolibriOS|Rust library development for KolibriOS]]
| Library
| Library
| Rust, FASM (Assembler)
| Rust, FASM (Assembler)
| -
| dunkaist
|-
|-
|}
|}


=== OpenBios in Loader ===
=== OpenBios in Loader ===
OpenBIOS is a free, portable implementation of [https://archive.org/details/ieee_std_1275_1994_standard_for_boot_initialization_configur IEEE 1275-1994 (Open Firmware)]. [http://www.openbios.org/ Find detailed information about OpenBIOS]
<p>'''General Description'''</p>
OpenBIOS can replace your system firmware (BIOS) partly or completely. It can also be used as a bootloader to create an Open Firmware compatible
OpenBIOS is a free, portable implementation of [https://archive.org/details/ieee_std_1275_1994_standard_for_boot_initialization_configur IEEE 1275-1994 (Open Firmware)]. [http://www.openbios.org/ Find detailed information about OpenBIOS] OpenBIOS can replace your system firmware (BIOS) partly or completely. It can also be used as a bootloader to create an Open Firmware compatible interface between legacy firmware and an operating system. This is achieved by a modular concept that consists of a portable Forth kernel and three interfaces for user interaction, device initialization and client (operating system) control in command line like shell in Linux.  
interface between legacy firmware and an operating system.
<p>'''What it gives us'''</p>
This is achieved by a modular concept that consists of a portable Forth kernel and three interfaces for user interaction, device initialization
OpenBios implentation Fcode [https://www.openbios.org/Forth/FCode] has small bytecode, is hardware independent and efficient. And an evaluator (bytecode virtual machine) is almost trivial to implement or/and with possible an uses JIT technology. So it is great way to implement a unified and functional bootloader for KolibriOS.
and client (operating system) control in command line like shell in Linux.
<p>'''Other information'''</p>
OpenBios implentation Fcode [https://www.openbios.org/Forth/FCode] - Bytecode is small, hardware independent and efficient. And an evaluator (bytecode virtual machine) is almost trivial to implement or/and with possible an uses JIT technology.
* Goals:
* Primary goal: Add OpenBios ("Forth") support to the system bootloader.
** Primary: Add OpenBios ("Forth") support to the system bootloader.
* Additional goal: Create simple interactive more device drivers  
** Additional: Create simple interactive more device drivers.
* Language: Forth, FASM (Assembler), C
* Language: '''Forth, Assembler/FASM, C'''.
* Links: [https://github.com/openbios Openbios Firmware in Github]
* Difficulty: '''Hard''', you need to be familiar with how BOIS systems and OS loaders work in general.
* Time/Size: '''175 hours'''.
* Links:
** [https://github.com/openbios OpenBios Firmware on GitHub]


=== File system improvement ===
=== File system improvement ===
Line 174: Line 177:
** Additional: Improve write support for NTFS file system.
** Additional: Improve write support for NTFS file system.
* Language: '''Assembler/FASM'''.
* Language: '''Assembler/FASM'''.
* Difficulty: '''Medium/Hard''', you need to be familiar with how file systems work in general, and writing drivers.
* Difficulty: '''Intermediate''', you need to be familiar with how file systems work in general, and writing drivers.
* Time/Size: '''100-200 hours''', depending on amount of targeted goals.
* Time/Size: '''175 hours'''.
* Links:  
* Links:  
** [https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout Ext4 Disk Layout]
** [https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout Ext4 Disk Layout]
Line 181: Line 184:
** [https://wiki.kolibrios.org/wiki/Development#Driver_development Driver development for KolibriOS]
** [https://wiki.kolibrios.org/wiki/Development#Driver_development Driver development for KolibriOS]


=== Widget toolkit ===
=== Widget toolkit expansion ===
* Primary goal: Extend Box_lib (a set of separate widgets) to create a full-featured widget toolkit, design architecture and implement focus handling, callbacks and other core ideas.
<p>'''General Description'''</p>
* Additional goal: Integrate created box_lib widgets to the C-framework, extend framework with font handling, layout manager
At the moment KolibriOS has its own library (box_lib) for implementing various GUI widgets (input fields, checkboxes, scrolls, etc.). However, its functionality is far from complete, and its extension would be very useful for further application development.
* Language: FASM (Assembler), C (framework)  
<p>'''What it gives us'''</p>
* Links: [http://en.wikipedia.org/wiki/Widget_toolkit basic idea], [http://en.wikipedia.org/wiki/List_of_widget_toolkits list of toolkits]
Extended functionality of the library would help developers in the future to create applications with more complex interface, spending less effort on it, as well as to unify interface components in existing applications.
<p>'''Other information'''</p>
* Goals:
** Primary: Extend box_lib (a set of separate widgets) to create a full-featured widget toolkit, design it's architecture and implement focus handling, callbacks and other core ideas.
** Additional: Integrate created box_lib widgets to the C-framework, extend framework with font handling, layout manager
* Language: '''Assembler/FASM, C''' (Framework).
* Difficulty: '''Intermediate''', you need to be familiar with library development and FASM Assembler.
* Time/Size: '''175 hours'''.
* Links:  
** [http://en.wikipedia.org/wiki/Widget_toolkit Baic idea]
** [http://en.wikipedia.org/wiki/List_of_widget_toolkits List of toolkits]
** [http://websvn.kolibrios.org/listing.php?repname=Kolibri+OS&path=%2Fprograms%2Fdevelop%2Flibraries%2Fbox_lib%2F&rev=9640&peg=9640 box_lib source code on KolibriOS WebSVN]
** [https://github.com/KolibriOS/kolibrios/tree/main/programs/develop/libraries/box_lib box_lib source code on KolibriOS GitHub]


=== Finish Mbed TLS port ===
=== Finish Mbed TLS port ===
* Primary goal: Finish MbedTLS port (headers for FASM, get ceritificates working) ([https://board.kolibrios.org/viewtopic.php?p=76983#p76983 TODOs])
<p>'''General Description'''</p>
* Additional goal: Update HTTP library (written in FASM) to support HTTPS by using mbedtls.obj
Mbed TLS is an implementation of the TLS and SSL protocols and associated cryptographic algorithms and support code that aims to be "easy to understand, use, integrate and extend".
* Language: C/FASM
<p>'''What it gives us'''</p>
* Links: [https://board.kolibrios.org/viewtopic.php?p=76983 MbedTLS port thread]
The implementation of MbedTLS support will significantly expand the capabilities of the KolibriOS networking stack and allow it to be used in more networking scenarios, for example, HTTPS support.
<p>'''Other information'''</p>
* Goals:
** Primary: Finish MbedTLS port (headers for FASM, get ceritificates working) ([https://board.kolibrios.org/viewtopic.php?p=76983#p76983 TODOs]).
** Additional: Update HTTP library (written in FASM) to support HTTPS by using mbedtls.obj.
* Language: '''C, Assembler/FASM'''.
* Difficulty: '''Intermediate''', you need to be familiar with library porting.
* Time/Size: '''175 hours'''.
* Links:  
** [https://board.kolibrios.org/viewtopic.php?p=76983 Mbed TLS port thread on KolibriOS forum]
** [https://github.com/Mbed-TLS/mbedtls Mbed TLS source code on GitHub]


=== Port FLTK ===
=== FLTK Port ===
* Primary goal: Make a working port of FLTK (widget library) and add it to the automatic build-system.
<p>'''General Description'''</p>
* Additional goal: port Scintilla (minimum working version)
FLTK, or Fast Light Toolkit, is a cross-platform GUI toolkit. It is designed to provide modern GUI functionality without overkill and supports 3D graphics via OpenGL and native GLUT emulation.
* Language: C++
<p>'''What it gives us'''</p>
* Links: [https://www.fltk.org/ Official site]
FLTK provides a wide and convenient enough choice of plugins to implement a complex GUI, and is also cross-platform, and therefore its support in KolibriOS will make it easier to write applications. Also, compared to other UI libraries, FLTK uses a lighter design and is limited to GUI functionality.
 
<p>'''Other information'''</p>
Language: C--, Assembler/FASM
* Goals:
** Primary: Make a working port of FLTK widget library and add it to the automatic build system.
** Additional: Port Scintilla source code editing component (minimum working version).
* Language: '''C++, C--, Assembler/FASM'''
* Difficulty: '''Intermediate''', you need to be familiar with library porting.
* Time/Size: '''175 hours'''.
* Links:  
** [https://www.fltk.org/ FLTK official site]
** [https://www.scintilla.org/ScintillaDoc.html Scitnilla official documentation]


=== FASMG port ===
=== FASMG port ===
Line 211: Line 244:
** Additional: Implement macros for compatibility with FASM.
** Additional: Implement macros for compatibility with FASM.
* Language: '''Assembler/FASM/FASMG'''
* Language: '''Assembler/FASM/FASMG'''
* Difficulty: '''Medium/Hard''', you need to be familiar with FASM Assembly language.
* Difficulty: '''Intermediate''', you need to be familiar with FASM Assembly language.
* Time/Size: '''100-200 hours''', depending on amount of targeted goals.
* Time/Size: '''175 hours'''.
* Links:  
* Links:  
** [https://flatassembler.net/docs.php?article=fasmg FASMG overview],  
** [https://flatassembler.net/docs.php?article=fasmg FASMG overview],  
Line 227: Line 260:
** Additional: Update existing applications to use the new library.
** Additional: Update existing applications to use the new library.
* Language: '''Assembler/FASM'''
* Language: '''Assembler/FASM'''
* Difficulty: '''Medium''', you need to be familiar with writing libraries and FASM Assembler language.
* Difficulty: '''Intermediate''', you need to be familiar with writing libraries and FASM Assembler language.
* Time/Size: '''100-200 hours''', depending on amount of targeted goals.
* Time/Size: '''175 hours'''.
* Links:  
* Links:  
** [https://unicode.org/standard/standard.html Official Unicode documentation]
** [https://unicode.org/standard/standard.html Official Unicode documentation]
Line 243: Line 276:
** Additional: Also write drivers for any another VirtIO devices.
** Additional: Also write drivers for any another VirtIO devices.
* Language: '''Assembler/FASM'''
* Language: '''Assembler/FASM'''
* Difficulty: '''Medium''', you need to be familiar with writing drivers and FASM Assembly language.
* Difficulty: '''Intermediate''', you need to be familiar with writing drivers and FASM Assembly language.
* Time/Size: '''100-200 hours''', depending on amount of targeted goals.
* Time/Size: '''175 hours'''.
* Links:  
* Links:  
** [https://wiki.libvirt.org/page/Virtio Virt-IO wiki]
** [https://wiki.libvirt.org/page/Virtio Virt-IO wiki]
Line 250: Line 283:


=== Loop device driver ===
=== Loop device driver ===
* Primary goal: Write loop device driver and example application to manage loop devices.
<p>'''General Description'''</p>
* Additional goal: Prepare a set of disk images to be used in filesystem unit tests.
Loop device, vnd (vnode disk), or lofi (loop file interface) is a pseudo-device that makes a computer file accessible as a block device. After mounting a file that holds a file system, the files in that system can be accessed through the usual file system interface of the operating system, without any need for special functionality, such as reading and writing to ISO images, in applications.
* Language: Assembler/FASM
<p>'''What it gives us'''</p>
* Links: [https://en.wikipedia.org/wiki/Loop_device loop device overview]
Loop device drivers allow for mounting a file that holds a file system, making the files within that file system accessible. It also provides a block device on top of a file (or another block device, optionally with remapping). Lastly, if the file contains an encrypted file system, the loop device can be the decrypted version of the original encrypted file and can therefore be mounted as if it were a normal file system.
<p>'''Other information'''</p>
* Goals:
** Primary: Write loop device driver and example application to manage loop devices.
** Additional: Prepare a set of disk images to be used in filesystem unit tests.
* Language: '''Assembler/FASM'''.
* Difficulty: '''Intermediate''', you need to be familiar with writing drivers and FASM Assembly language.
* Time/Size: '''175 hours'''.
* Links:
** [https://en.wikipedia.org/wiki/Loop_device Loop device overview]
** [https://wiki.kolibrios.org/wiki/Development#Driver_development Driver development for KolibriOS]


=== NVMe driver ===
=== NVMe driver ===
Line 265: Line 308:
** Additional: Add support of namespaces.
** Additional: Add support of namespaces.
* Languages: '''Assembly/FASM'''.
* Languages: '''Assembly/FASM'''.
* Difficulty: '''Medium''', you need to be familiar with writing drivers and FASM Assembly language.
* Difficulty: '''Hard''', you need to be familiar with writing drivers and FASM Assembly language.
* Time/Size: '''100-150 hours'''.
* Time/Size: '''350 hours'''.
* Links:  
* Links:  
** [https://nvmexpress.org/developers/nvme-specification/ NVMe Base Specification]
** [https://nvmexpress.org/developers/nvme-specification/ NVMe Base Specification]
Line 275: Line 318:
RSS and Atom are web feeds that allow users and applications to access updates of websites in a standardized, computer-readable format. For the average user, it can be used primarily as a news/update feed, where the user can subscribe to channels of interest and receive news or other updates from different sources in one place. They are based on XML and can easily be processed using AsmXml library. User application for reading RSS/Atom feeds would be a good addition to usability of KolibriOS, as it will allow users to read news feeds from different sources without need to manually open news websites.
RSS and Atom are web feeds that allow users and applications to access updates of websites in a standardized, computer-readable format. For the average user, it can be used primarily as a news/update feed, where the user can subscribe to channels of interest and receive news or other updates from different sources in one place. They are based on XML and can easily be processed using AsmXml library. User application for reading RSS/Atom feeds would be a good addition to usability of KolibriOS, as it will allow users to read news feeds from different sources without need to manually open news websites.
<p>'''What it gives us'''</p>
<p>'''What it gives us'''</p>
RCC/Atom feed can be a great addition to the KolibriOS functionality, as it allows users to conveniently receive updates from different sources, including even on very weak devices, where opening the source of interest in the browser is impossible or problematic.
RSS/Atom feed can be a great addition to the KolibriOS functionality, as it allows users to conveniently receive updates from different sources, including even on very weak devices, where opening the source of interest in the browser is impossible or problematic.
<p>'''Other information'''</p>
<p>'''Other information'''</p>
* Goals:  
* Goals:  
Line 281: Line 324:
** Additional: Also add Atom standart support to the app.
** Additional: Also add Atom standart support to the app.
* Language: Any, but '''Assembly/FASM''' is preffarable.
* Language: Any, but '''Assembly/FASM''' is preffarable.
* Difficulty: '''Medium''', you need to be familiar with XML processing and http requests, as well as general app development for KolibriOS.
* Difficulty: '''Easy''', you need to be familiar with XML processing and HTTP requests, as well as general app development for KolibriOS.
* Time/Size: '''100 hours'''.
* Time/Size: '''90 hours'''.
* Links:  
* Links:  
** [https://en.wikipedia.org/wiki/RSS RSS on Wikipedia],
** [https://en.wikipedia.org/wiki/RSS RSS on Wikipedia]
** [https://en.wikipedia.org/wiki/Atom_(web_standard) Atom on Wikipedia],
** [https://en.wikipedia.org/wiki/Atom_(web_standard) Atom on Wikipedia]
** [https://github.com/AboutRSS/ALL-about-RSS Big amont of information and implementation examples],
** [https://github.com/AboutRSS/ALL-about-RSS Big amont of information and implementation examples]
** [https://www.rssboard.org/rss-specification RSS specification],
** [https://www.rssboard.org/rss-specification RSS specification]
** [https://www.ietf.org/rfc/rfc4287.txt Atom specification],
** [https://www.ietf.org/rfc/rfc4287.txt Atom specification]
** [http://tibleiz.net/asm-xml/ AsmXml library]
** [http://tibleiz.net/asm-xml/ AsmXml library]


Line 302: Line 345:
** Extra: Also port SDL 1.2 comatiblity layer to run old apps on new version of library.
** Extra: Also port SDL 1.2 comatiblity layer to run old apps on new version of library.
* Languages: '''C'''.
* Languages: '''C'''.
* Difficulty: '''Medium/Hard''', you need to be familiar with general library porting and library development for KolibriOS.
* Difficulty: '''Intermediate''', you need to be familiar with general library porting and library development for KolibriOS.
* Time/Size: '''150-200 hours''', depending on amount of targeted goals.
* Time/Size: '''175 hours'''.
* Links:  
* Links:  
** [https://www.libsdl.org/ SDL Library official website]
** [https://www.libsdl.org/ SDL Library official website]
Line 319: Line 362:
** Additional: Add input types that was introduced in HTML5.
** Additional: Add input types that was introduced in HTML5.
* Language: '''C--'''.
* Language: '''C--'''.
* Difficulty: '''Medium/Hard''', you need to be familiar with HTML parsing and web requests.
* Difficulty: '''Easy''', you need to be familiar with HTML parsing and web requests.
* Time/Size: '''150 hours''', depending on amount of targeted goals.
* Time/Size: '''90 hours'''.
* Links:  
* Links:  
** [https://html.spec.whatwg.org/multipage/forms.html HTML forms specification]
** [https://html.spec.whatwg.org/multipage/forms.html HTML forms specification]
Line 336: Line 379:
** Additional: Make it run most of popular J2ME games.
** Additional: Make it run most of popular J2ME games.
* Languages: '''C''', '''Java'''.
* Languages: '''C''', '''Java'''.
* Difficulty: '''Medium/Hard''', you need to be familiar with emulators porting and Java Runtime Enviroment.
* Difficulty: '''Hard''', you need to be familiar with emulators porting and Java Runtime Enviroment.
* Time/Size: '''150-200 hours''', depending on amount of targeted goals.
* Time/Size: '''350 hours'''.
* Links:  
* Links:  
** [https://www.oracle.com/java/technologies/javameoverview.html J2ME official website]
** [https://www.oracle.com/java/technologies/javameoverview.html J2ME official website]
Line 353: Line 396:
** Primary: Implement other system functions support. Make wrappers for DLL's.
** Primary: Implement other system functions support. Make wrappers for DLL's.
* Languages: '''Rust''', '''Assembly/FASM (optional)'''.
* Languages: '''Rust''', '''Assembly/FASM (optional)'''.
* Difficulty: '''Medium/Hard''', you need to be familiar with Rust development.
* Difficulty: '''Intermediate''', you need to be familiar with Rust development.
* Time/Size: '''150-250 hours''', depending on amount of targeted goals.
* Time/Size: '''350 hours'''.
* Links:
* Links:
** [http://wiki.kolibrios.org/wiki/Ru/api/kernel KolibriOS kernel API (ru)]
** [http://wiki.kolibrios.org/wiki/Ru/api/kernel KolibriOS kernel API (ru)] or [https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/kernel/trunk/docs/sysfuncs.txt sysfuncs.txt]
** [http://wiki.kolibrios.org/wiki/Library/ru KolibriOS libraries (ru)]
** [http://wiki.kolibrios.org/wiki/Library/ru KolibriOS libraries (ru)]
* Working repository:  
* Working repository:  
** [https://github.com/VerySweetBread/kos.rs GitHub]
** [https://git.kolibrios.org/Rust/Core Git]




Line 379: Line 422:


== I'm a potential GSoC contributor. What is this test task?! ==
== I'm a potential GSoC contributor. What is this test task?! ==
Regarding the test mentioned above, it is for assessing your current skill set and their relevance regarding the project that you want to eventually work on. In most cases, your potential mentor will assign you a task via IRC / Forum but another developer can do this as well . Meanwhile, In case you are waiting for a test task, you can go through our [http://bugs.kolibrios.org bug tracker] and find a small task to work on yourself, or learn about KolibriOS by going through example code.
Regarding the test mentioned above, it is for assessing your current skill set and their relevance regarding the project that you want to eventually work on. In most cases, your potential mentor will assign you a task via IRC / Forum but another developer can do this as well. Meanwhile, In case you are waiting for a test task, you can go through our [http://bugs.kolibrios.org bug tracker] and find a small task to work on yourself, or learn about KolibriOS by going through example code.


== I want to play with the code but my college blocks SVN ==
== I want to play with the code but my college blocks SVN ==
If you are have trouble accessing, please do mention it on the forums.
If you are have trouble accessing, please do mention it on the forums.
You can temporarily use this backup git repository: http://repo.or.cz/w/kolibrios.git
You can temporarily use this backup git repository:  
* http://repo.or.cz/w/kolibrios.git
Or our official GitHub mirror:
* https://github.com/KolibriOS/kolibrios


== All the ideas seem interesting, But.. ==
== All the ideas seem interesting, But... ==
Feel free to suggest your own idea! This is encouraged largely both in GSoC and KolibriOS. The mentors will be glad to such an idea and assess it's feasibility / usability for Kolibri.
Feel free to suggest your own idea! This is encouraged largely both in GSoC and KolibriOS. The mentors will be glad to such an idea and assess it's feasibility/usability for KolibriOS.


== Great Guide! But I still don't understand X ==
== Great Guide! But I still don't understand X ==
Please read Documentation / Development pages on this Wiki. If you have any doubts, feel free to connect with other KolibriOS users and developers through Forum Chat or #kolibrios on LiberaChat.
Please read Documentation / Development pages on this Wiki. If you have any doubts, feel free to connect with other KolibriOS users and developers through Forum Chat or #kolibrios on LiberaChat.<br>
Please ask developers / mentors on Forum Chat or IRC . Please be patient on IRC and Forum as developers are on different time zones and it might take a few hours to get back to you. You can also start a Forum thread if it is about something you feel is a general issue.
Please ask developers / mentors on Forum Chat or IRC. Please be patient on IRC and Forum as developers are on different time zones and it might take a few hours to get back to you. You can also start a Forum thread if it is about something you feel is a general issue.


Most importantly...Have Fun!
And most importantly... Have Fun!

Latest revision as of 13:29, 30 March 2024

Introduction

This is our ideas page for new developers who want to participate in the Google Summer of Code event by contributing to KolibriOS. It also contains a description of the process and requirements to participate.
A general information about Google Summer of Code can be found here: Google Summer of Code

Google Summer of Code'24 Contributor Requirements

Prospective contributors are required to register on our developers forum and submit a small bugfix / improvement to our SVN or GIT in order for their application to be considered. Examples of such tasks can be obtained by asking on the developers forum or on our IRC channel (#kolibrios @ irc.libera.chat). This requirement is only to show us that you are able to work with our SVN or GIT and interact with our developers if you are selected.
This task has to be completed before contributor application deadline (2 April 18:00 UTC).

In addition, contributors need to answer the following questions when applying:

  1. Full Name (First + Last Name).
  2. E-mail address.
  3. Nickname you plan to use on our forums, SVN/GIT repository or IRC chat.
  4. Age.
  5. Country + city of residence (Russia and Belarus residence are not allowed according to GSoC terms)
  6. Human languages you speak (write all languages and knowledge level - basic/intermediate/expert/mother tongue).
  7. Name of college or university you are accepted into or enrolled in + link to their website (if applicable).
  8. Name of program (or faculty, or department) in that college/university you are accepted into or enrolled in (if applicable).
  9. Your current timezone in UTC/GMT terms (for example, Paris is UTC/GMT +1 hours right now).
  10. Have you been involved with any open-source project in the past? If yes, which one, and what have you done for that project?
  11. Code samples - please provide links to code that you have written. It can be your high school project, contribution to open-source organization, your college/university task or anything like that.
  12. The task you are willing to work on from our list of Summer of Code 2024 ideas (or suggest your own idea, if you don't like any of the proposed ideas).
  13. What other time commitments, such as school work, another job, planned vacation, etc., will you have between May 27 and August 26?

Organization

You can find the organizers at our forum: https://board.kolibrios.org

Name Nickname Role
Ivan Baravy dunkaist Administrator, Mentor
Jeffrey Amelynck hidnplayr Mentor, Backup Administrator
Dmitriy Smirnov Pathoswithin Mentor
Serhii Sakhno Punk_Joker Mentor
Kiril Lipatov Leency C-- Mentor
Konstantin Pakhtusov KPG Mentor (Forth)

Ideas

Sortable list of ideas for easy navigation

Idea Name Area Programming Language Mentors
OpenBios in Loader Kernel/Application Forth, FASM (Assembler), C KPG
File system improvement Kernel/Application FASM (Assembler) Pathoswithin
Widget toolkit System wide FASM (Assembler), C dunkaist
Finish Mbed TLS port Library C, FASM (Assembler) Punk_Joker
Port FLTK Library C++ Punk_Joker
FASMG port Application FASM/FASMG (Assembler) dunkaist
Unicode library Library/Application FASM (Assembler) dunkaist
Virt-IO driver Kernel FASM (Assembler) dunkaist
Loop device driver Kernel FASM (Assembler) dunkaist
NVMe driver Kernel FASM (Assembler) Punk_Joker
RSS/Atom news reader Application FASM (Assembler) dunkaist
SDL2 Port Library C dunkaist
Add HTML forms to WebView Application C-- Leency
J2ME Emulator Application C, Java dunkaist
Rust library development for KolibriOS Library Rust, FASM (Assembler) dunkaist

OpenBios in Loader

General Description

OpenBIOS is a free, portable implementation of IEEE 1275-1994 (Open Firmware). Find detailed information about OpenBIOS OpenBIOS can replace your system firmware (BIOS) partly or completely. It can also be used as a bootloader to create an Open Firmware compatible interface between legacy firmware and an operating system. This is achieved by a modular concept that consists of a portable Forth kernel and three interfaces for user interaction, device initialization and client (operating system) control in command line like shell in Linux.

What it gives us

OpenBios implentation Fcode [1] has small bytecode, is hardware independent and efficient. And an evaluator (bytecode virtual machine) is almost trivial to implement or/and with possible an uses JIT technology. So it is great way to implement a unified and functional bootloader for KolibriOS.

Other information

  • Goals:
    • Primary: Add OpenBios ("Forth") support to the system bootloader.
    • Additional: Create simple interactive more device drivers.
  • Language: Forth, Assembler/FASM, C.
  • Difficulty: Hard, you need to be familiar with how BOIS systems and OS loaders work in general.
  • Time/Size: 175 hours.
  • Links:

File system improvement

General Description

KolibriOS has already implemented support for many file systems, both write and read, but at the same time support for some systems leaves a lot to be desired and opens up a vast scope for work.

What it gives us

Support for more file systems, particularly write support, will greatly expand the functionality of KolibriOS, especially when working with files on third-party drives.

Other information

  • Goals:
    • Primary: Add write support for ext4 file system (ext4 reading and ext2 writing are already supported).
    • Additional: Improve write support for NTFS file system.
  • Language: Assembler/FASM.
  • Difficulty: Intermediate, you need to be familiar with how file systems work in general, and writing drivers.
  • Time/Size: 175 hours.
  • Links:

Widget toolkit expansion

General Description

At the moment KolibriOS has its own library (box_lib) for implementing various GUI widgets (input fields, checkboxes, scrolls, etc.). However, its functionality is far from complete, and its extension would be very useful for further application development.

What it gives us

Extended functionality of the library would help developers in the future to create applications with more complex interface, spending less effort on it, as well as to unify interface components in existing applications.

Other information

  • Goals:
    • Primary: Extend box_lib (a set of separate widgets) to create a full-featured widget toolkit, design it's architecture and implement focus handling, callbacks and other core ideas.
    • Additional: Integrate created box_lib widgets to the C-framework, extend framework with font handling, layout manager
  • Language: Assembler/FASM, C (Framework).
  • Difficulty: Intermediate, you need to be familiar with library development and FASM Assembler.
  • Time/Size: 175 hours.
  • Links:

Finish Mbed TLS port

General Description

Mbed TLS is an implementation of the TLS and SSL protocols and associated cryptographic algorithms and support code that aims to be "easy to understand, use, integrate and extend".

What it gives us

The implementation of MbedTLS support will significantly expand the capabilities of the KolibriOS networking stack and allow it to be used in more networking scenarios, for example, HTTPS support.

Other information

  • Goals:
    • Primary: Finish MbedTLS port (headers for FASM, get ceritificates working) (TODOs).
    • Additional: Update HTTP library (written in FASM) to support HTTPS by using mbedtls.obj.
  • Language: C, Assembler/FASM.
  • Difficulty: Intermediate, you need to be familiar with library porting.
  • Time/Size: 175 hours.
  • Links:

FLTK Port

General Description

FLTK, or Fast Light Toolkit, is a cross-platform GUI toolkit. It is designed to provide modern GUI functionality without overkill and supports 3D graphics via OpenGL and native GLUT emulation.

What it gives us

FLTK provides a wide and convenient enough choice of plugins to implement a complex GUI, and is also cross-platform, and therefore its support in KolibriOS will make it easier to write applications. Also, compared to other UI libraries, FLTK uses a lighter design and is limited to GUI functionality.

Other information

  • Goals:
    • Primary: Make a working port of FLTK widget library and add it to the automatic build system.
    • Additional: Port Scintilla source code editing component (minimum working version).
  • Language: C++, C--, Assembler/FASM
  • Difficulty: Intermediate, you need to be familiar with library porting.
  • Time/Size: 175 hours.
  • Links:

FASMG port

General Description

In 2018 Tomasz Gryshtar (creator of FASM) introduced FASMG, a new assembler engine with more advanced features for simplified writing of complex code. It is quite a powerful and useful tool, and so it would be nice to support its new syntax in KolibriOS.

What it gives us

The kernel, drivers and many programs in KolibriOS are written exactly in FASM Assembler, and porting FASMG would make life easier for developers who work on improving the OS functionality.

Other information

  • Goals:
    • Primary: Write FASMG application like FASM one. Port standard KolibriOS macros to FASMG syntax.
    • Additional: Implement macros for compatibility with FASM.
  • Language: Assembler/FASM/FASMG
  • Difficulty: Intermediate, you need to be familiar with FASM Assembly language.
  • Time/Size: 175 hours.
  • Links:

Unicode library

General Description

Unicode is a character encoding standard that includes characters from almost all written languages of the world. The standard is currently prevalent on the Internet and is also frequently used in modern operating systems. The main advantage of Unicode is that it supports a huge number of characters, which allows it to be used for encoding and storing almost any textual information.

What it gives us

Unicode is a large and complex standard, nevertheless, modern OS should provide libraries with Unicode related routines like NFC, NFD, sorting, comparing, etc. Support for this standard in KolibriOS would greatly increase its compatibility with various data sources, and make new application scenarios available.

Other information

  • Goals:
    • Primary: Write a tiny Unicode library with core Unicode algorithms and example application.
    • Additional: Update existing applications to use the new library.
  • Language: Assembler/FASM
  • Difficulty: Intermediate, you need to be familiar with writing libraries and FASM Assembler language.
  • Time/Size: 175 hours.
  • Links:

VirtIO driver

General Description

VirtIO is a virtualization standard for network and disk device drivers where just the guest's device driver "knows" it is running in a virtual environment, and cooperates with the hypervisor. This enables guests to get high performance network and disk operations, and gives most of the performance benefits of paravirtualization.

What it gives us

Because there is no easy way to automatically install KolibriOS on a hard disk, it is often used specifically in a virtualized environment, and therefore improving support and device performance in this situation would be extremely beneficial to it.

Other information

  • Goals:
    • Primary: Write kernel driver for any VirtIO device, for example - Ethernet card.
    • Additional: Also write drivers for any another VirtIO devices.
  • Language: Assembler/FASM
  • Difficulty: Intermediate, you need to be familiar with writing drivers and FASM Assembly language.
  • Time/Size: 175 hours.
  • Links:

Loop device driver

General Description

Loop device, vnd (vnode disk), or lofi (loop file interface) is a pseudo-device that makes a computer file accessible as a block device. After mounting a file that holds a file system, the files in that system can be accessed through the usual file system interface of the operating system, without any need for special functionality, such as reading and writing to ISO images, in applications.

What it gives us

Loop device drivers allow for mounting a file that holds a file system, making the files within that file system accessible. It also provides a block device on top of a file (or another block device, optionally with remapping). Lastly, if the file contains an encrypted file system, the loop device can be the decrypted version of the original encrypted file and can therefore be mounted as if it were a normal file system.

Other information

  • Goals:
    • Primary: Write loop device driver and example application to manage loop devices.
    • Additional: Prepare a set of disk images to be used in filesystem unit tests.
  • Language: Assembler/FASM.
  • Difficulty: Intermediate, you need to be familiar with writing drivers and FASM Assembly language.
  • Time/Size: 175 hours.
  • Links:

NVMe driver

General Description

NVM Express (NVMe) is a specification of protocols for accessing solid-state drives (SSDs) connected by the PCI Express bus. The first specification appeared in 2014 and since then this standard has been widely used, in particular, for SSDs in desktop and mobile devices.

What it gives us

In recent years, the use of NVMe drives has become increasingly popular in personal computers, and the implementation of their support is very important in terms of compatibility and the ability to work with data in KolibriOS.

Other information

  • Goals:
    • Primary: Write basic NVMe device driver to support NVMe SSD.
    • Additional: Add support of namespaces.
  • Languages: Assembly/FASM.
  • Difficulty: Hard, you need to be familiar with writing drivers and FASM Assembly language.
  • Time/Size: 350 hours.
  • Links:

RSS/Atom news reader

General Description

RSS and Atom are web feeds that allow users and applications to access updates of websites in a standardized, computer-readable format. For the average user, it can be used primarily as a news/update feed, where the user can subscribe to channels of interest and receive news or other updates from different sources in one place. They are based on XML and can easily be processed using AsmXml library. User application for reading RSS/Atom feeds would be a good addition to usability of KolibriOS, as it will allow users to read news feeds from different sources without need to manually open news websites.

What it gives us

RSS/Atom feed can be a great addition to the KolibriOS functionality, as it allows users to conveniently receive updates from different sources, including even on very weak devices, where opening the source of interest in the browser is impossible or problematic.

Other information

SDL2 Port

General Description

SDL is a free cross-platform multimedia library that implements an interface to graphics, sound and input devices. This library is actively used when writing cross-platform graphical applications (mostly games). The previous version of the library, SDL 1.2, is already ported for KolibriOS, but there is no SDL 2 port, which is the most up-to-date and supported version.

What it gives us

Having support for SDL 2 in KolibriOS will not only allow developers to develop new applications using the updated functionality of the library, but also to port a huge number of existing open source programs (mostly emulators and games) from other platforms, because SDL 2 is often used to implement frontend/graphics in such applications.

Other information

Add HTML forms support to WebView

General Description

Despite supporting many basic HTML features, the WebView browser does not currently support HTML forms (<form>, <input>, etc.). This makes its use extremely limited and prevents it from utilizing the functionality of many popular sites. Therefore, it would be great to implement this functionality in WebView.

What it gives us

Because of the lack of form support, WebView can't even use search engines directly (currently only indirect use of Google in the address bar is possible). This alone would be a great addition to its capabilities and would make its use much more convenient and intuitive. In addition, forms could also be used on sites like online libraries or forums, thus giving KolibriOS users a more complete access to the Internet.

Other information

J2ME Emulator

General Description

J2ME (Java Platform, Micro Edition) is a version of the Java platform for devices with limited resources, such as cell phones, pocket computers, etc. It was especially popular in the 00s, when most mobile phones ran on it. Accordingly, a large number of software for this platform was created at that time, and it would be quite nice to have its support in KolibriOS.

What it gives us

There are already quite a lot of emulators for various retro platforms, which makes it possible to use it, including for retro gaming. Therefore, support for another popular platform will certainly not hurt, especially since in addition to a lot of great games for J2ME also released other programs that can be useful.

Other information

Rust library development for KolibriOS

General Description

At the moment, the Rust library for KolibriOS is in the early stages of development - it doesn't support all system functions, and it doesn't know how to work with system libraries. You can do a great thing, and help in the design and development of this library!

What it gives us

Rust is a modern programming language that has been actively gaining popularity in recent years, and the number of its users is growing. In addition, it is positioned as fast and compact, which fits perfectly with the KolibriOS ideology. Therefore, it would be very good to have its support as another tool for potential developers.

Other information

Rough Guide for Prospective Contributors

  • As the kernel is written in FASM, ability to write and understand i386-assembly code is very useful.
  • C is also a plus as some applications/libraries and components are written in C. Also, C is useful to interface with assembly at times.
  • Familiarity with the GNU landscape like Autotools, GCC etc are also a plus to have (especially for porting software)
  • The desire to take challenging problems and solve them is also required as several parts of the code base require thought for design and implementation. (The mentors can help you with that :) )
  • Hanging out on LiberaChat's #kolibriOS and our forum where developers mostly hang out.
  • Languages used for communication are English and Russian (although most developers are bilingual, and you can always ask someone for help)
  • Get in touch with other developers via IRC / Forums and enjoy your stay!

I'm a potential GSoC contributor. I'm scared of all the assembly and docs here! Where should I start?! :'(

Start here : http://wiki.kolibrios.org/wiki/HowTo This will help you set up KolibriOS. Easiest will be to use either Qemu or VirtualBox as most developers use it and thus will be able to help you with eventual problems. Feel free however to try something else and let us know how it goes!

I'm a potential GSoC contributor. What is this test task?!

Regarding the test mentioned above, it is for assessing your current skill set and their relevance regarding the project that you want to eventually work on. In most cases, your potential mentor will assign you a task via IRC / Forum but another developer can do this as well. Meanwhile, In case you are waiting for a test task, you can go through our bug tracker and find a small task to work on yourself, or learn about KolibriOS by going through example code.

I want to play with the code but my college blocks SVN

If you are have trouble accessing, please do mention it on the forums. You can temporarily use this backup git repository:

Or our official GitHub mirror:

All the ideas seem interesting, But...

Feel free to suggest your own idea! This is encouraged largely both in GSoC and KolibriOS. The mentors will be glad to such an idea and assess it's feasibility/usability for KolibriOS.

Great Guide! But I still don't understand X

Please read Documentation / Development pages on this Wiki. If you have any doubts, feel free to connect with other KolibriOS users and developers through Forum Chat or #kolibrios on LiberaChat.
Please ask developers / mentors on Forum Chat or IRC. Please be patient on IRC and Forum as developers are on different time zones and it might take a few hours to get back to you. You can also start a Forum thread if it is about something you feel is a general issue.

And most importantly... Have Fun!