[haiku] Re: Fwd: GSOC 2014 aspirant: Introduction

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Thu, 27 Feb 2014 14:20:38 +0100

Hi,

On 25.02.2014 11:54, Anurag Goel wrote:
My name is Anurag Goel and I am a 3rd year undergraduate CSE student at
IIIT Hyderabad.

I wish to work with Haiku for the Gsoc 2014.

Great to hear, welcome! :-D

There are couple of project i would like to work on, one of them is
Modular edit view (BIG).

I have recently worked on a new implementation of a text view for HaikuDepot, the software repository interface for Haiku.

What I did is very, very basic as far as text stuff goes, but I have some experience on the subject and maybe an opinion on how some things should be done right. The main advantage of my work for HaikuDepot is that there is a clean model <-> view separation, unlike how it works in BTextView.

A "modular text view" can mean all sorts of things. Is it for code editing, is it for WYSIWYG page layout? The GSoC could take different directions.

And in Haiku, text rendering can be improved in many ways. For example, there is no support for complex text layouts (called "shaping", google "Harfbuzz" to learn more).

Please tell me how should i proceed further.Any kind of
help/guidance/suggestion would be very appreciable.

It would be nice if you could explore what exists in Haiku. Look at StyledEdit, look at Pe, look at BTextView (the basis for those two, see src/kits/interface/TextView.cpp and companion classes), look into HaikuDepot (src/apps/haikudepot/textview). It would be cool if you could form an opinion on this stuff and reduce the scope of the task to something that interests you and what you want to persue.

If you want my opinion, I think a source code editor is a very big task. I wouldn't be interested in it, unless it improves the status quo (Pe, Paladin), which means a full IDE which integrates with the compiler as library (LLVM), with the Haiku Debugger, and with at least jam as a build system (a rewrite of our build tool "jam" as library was in the works).

Instead, what I would find interesting is a replacement for StyledEdit which is (as a GSoC goal) usable for small, page-based text documents and could later be extended to something more powerful (i.e. the model design is not too limited).

Please let me know what you think. :-)

Best regards,
-Stephan



Other related posts: