GSoC/GCI Archive
Google Code-in 2012 Haiku

AboutSystem - localize system_info.kernel_build_date and kernel_build_time (ticket #9230)

completed by: Przemysław Buczkowski

mentors: Eugene Katashov, Diver, Siarzhuk Zharski

The goal of this task is the implementing correct solution to fix issue described in Haiku Trac as ticket #9230. This is a coding task, for this task you will need to have a Haiku build environment setup, and be able to compile either Haiku or standalone StyledEdit project to fix the problem and check if your solution works. The basic knowledge of GIT SCM is also needed.

Requirements:

  • Install Haiku either on real hardware or in Virtual Machine (BTW, I can assist installing VirtualBox so it is obviously recommended by me);
  • Take familiar with the problem you should fix;
  • Get either the Haiku source tree, build it and find solution to fix the problem;
  • Fixed version shouls display the kernel build date and time in locale-defined representation;
  • Please take into account that system_info.kernel_build_time should be also represented in current locale-dependent way;
  • "There's already the locale agnostic parsedate() which could be used for the parsing." (c) bonefish;
  • After completing this task, please provide us with the git-formatted patch implementing your fix.

Resources:

Haiku Alpha A4.1 (required developer tools are included) http://www.haiku-os.org/get-haiku

Ticket "[StyledEdit] - text sizes in a selection when a different font family is chosen. " http://dev.haiku-os.org/ticket/9230

Getting and building Haiku sources: http://www.haiku-os.org/guides/building

Varios Haiku development resources: http://www.haiku-os.org/development

Grok cross-reference: using kernel_build_date: http://haiku.it.su.se:8180/source/xref/src/apps/aboutsystem/AboutSystem.cpp#667

Grok cross reference: filling kernel_build_date:http://haiku.it.su.se:8180/source/xref/src/system/kernel/system_info.cpp#435

Haiku Coding Guidelines: https://www.haiku-os.org/development/coding-guidelines


Good luck!