Full Text Indexing: Search UI

Blog post by general_maximus on Fri, 2009-07-31 15:34

So far, I have been working on the indexing part of Beacon, which is nearly complete. In the coming weeks, I will be running beacond (now index_server) as a service in the background so that I can find and squash whatever bugs remain in the code. For now, index_server is blazing fast, but that might be because the indexes I test against are just a few megabytes in size. From what I hear, though, CLucene can easily handle indexes which are several gigabytes in size without blinking an eye, so speed might not be an issue as the indexes grow.

Locale Kit : ICU integration on the way

Blog post by PulkoMandy on Sat, 2009-07-25 14:46

Locale Kit Interfacing with ICULocale Kit Interfacing with ICU

This week two important things happened for my GSoC project: I got commit access to Haiku and I finished working on the catalog part. This mean I can now work more efficiently without having to send my patches trough the GSoC mailing list (you may have noticed I still need my code to be reviewed, however :/).

The catalogs allow strings in an application to be translated. At a first glance you may think this is the only needed thing in a Locale Kit and my work is finished, but it is not the case. The first missing part is the preflet allowing you to select your favorite language. The locale kit will now always try French, if not found default to German, then finally to English. I think this is not the setup most of you want to use.

Extended Partitions with DriveSetup

Blog post by bebop on Thu, 2009-07-23 09:41

DriveSetup with extended partitions I few days ago a patch went into the tree that cleaned up most of the remaining issues with creating primary partitions. So I started working on getting extended partition support in DriveSetup. This has been an interesting task as the extended partition support is not nearly as complete as primary partition support. To make a long story short, I have been able to create an extended partition and logical partitions within.

Haiku Coming to OSCON 2009 in San Jose

Blog post by koki on Mon, 2009-07-20 18:31

OSCON 2009 logo

As some of you may have noticed under the Upcoming Haiku Events box on the front page, Haiku is making its debut at the upcoming O'Reilly Open Source Conference this week. Also known as OSCON 2009, this conference will be held at the San Jose McEnery Convention Center (Google map) from July 20th through the 24th. Haiku will be exhibiting along many other Open Source orgs on July 22 and 23; our booth number is 14; to locate us in the exhibit hall, check out the floor plan (138KB PDF).

During the two days of the OSCON exhibits, Scott McCreary, Urias McCullough, and myself plan to demo the latest nightly builds of Haiku, introduce newcomers to our project and operating system, and ask answer (duh!) any questions that visitors may have about Haiku. For demo purposes, we have prepared a cube-style desktop PC that will be hooked to a projector (similar setup from the SCaLE 2009 conference), an Acer Aspire One netbook and a possible an additional laptop computer. We will also have Haiku flyers at hand.

ZeroConf Support Progress

Blog post by majie on Mon, 2009-07-20 16:33

Hi guys. Sorry for no update in the previous weeks. I’v made some progress. mDNSResponder, which provides the underlying ZeroConf functionalities, has been ported to Haiku. It runs on Haiku correctly. In order to make it run, minor updates in our network stack were also applied. I’m currently working on the service browser. It is almost finished. I’m also trying to write some wrapper classes so developers who need ZeroConf features can easily use them.

Haiku WebKit Port Patches Are Now Being Committed Into the WebKit Repository!

Blog post by leavengood on Fri, 2009-07-17 06:11

After much effort from my GSoC student Maxime Simon and plenty of gentle coaxing from WebKit reviewers, I’m proud to announce that the various patches to add support for Haiku as a platform in WebKit are now being committed!

Maxime took my code from the original Haiku port I made in 2007 and updated it for the latest WebKit, which changes a lot daily, so you can imagine the state of the port after a few years! Still it was good to see that my previous effort was not to be wasted and it did not take Maxime long to start posting bugs and patches at the WebKit Bugzilla site.

Testing CSS Styles from Haiku User Guide

Blog post by koki on Thu, 2009-07-16 22:54

This is a sample of the CSS styles taken from the extraordinary work done by Humdinger on the Haiku User Guide. I am showcasing these here because I would like to use them throughout haiku-os.org as well. If it turns out that there is no unsurmountable opposition to adopting these classes, I will eventually document them so that they can be used by those submitting news, blogs posts and documents to haiku-os.org.

Boxes

This is just a very unthreatening little note. Don't be upset.
This may have serious consequences. Don't mess this up.
By golly, you better be sure what you're doing! Danger, Will Robinson!

Locale kit: quick developer guide

Blog post by PulkoMandy on Thu, 2009-07-16 16:36

This week I was at the RMLL in Nantes, and I was busy showing Haiku to other people and explaining them why it was so much better than linux. I had little time for GSoC coding. Still, I made some cleanup and fixed some small bugs. The catalog part of the locale kit is now working fine and can be used to internationalize applications. Here is a small guide for those who want to get an application speaking in their own language.

Sourcecode changes

You have to alter your source code to get it working. We've tried to make this need as little changes as possible. First, you have to #include two files : Catalog.h and Locale.h. They are system headers from the locale kit. Now you have to tell the locale kit to initialize a catalog for you. A catalog is a class that you will use to map strings to their translated equivalents. The locale kit will automatically find the right data files for you, depending on the system-wide language preferences, you application mime signature, and some other magic (see the part of this post about the build system changes). So, you only have to add two lines of code:
BCatalog cat;
be_locale->GetAppCatalog(&cat);

WiFi stack - coarse design overview

Blog post by coling on Mon, 2009-07-13 19:13

The next step towards the finishline (described by the WiFi-bounty on haikuware, Technical Information tab), will be the design of a native Haiku WiFi-stack.The picture below shows a coarse view of how the stack will fit into the networking system. WiFi stack - coarse design overview As you can see there are two distinguished areas, one is colored green the other blue. Green shows already existing infrastructure, blue shows the infrastructure I'm going to provide.

WiFi stack prototype works

Blog post by coling on Sun, 2009-07-12 08:44

Screenshot of working WiFi prototypeScreenshot of working WiFi prototype Today I fiddled out the last hurdle on getting my WiFi-card up and running. It only connects to unprotected open wireless LANs, because there is no configuring mechanism implemented yet. Though it is far away from completeness.

On the screenshot, you see Firefox surfing www.haiku-os.org and downloading a 100 MiB file from my ftp server in parallel. The terminal is showing the result of the ifconfig command for my WiFi-card.

I managed to port the FreeBSD WiFi-stack, utilizing Haiku's FreeBSD compatibility layer. Thus I could use the WiFi-card driver for my atheros chipset from FreeBSD without any major changes to its codebase (I had to move some interrupt handler code into driver-specific glue code).

The driver-binary has a size of 500 KiB, due to compiling the WiFi-stack into a static library and statically linking it and the FreeBSD compat layer with the driver. Update: The sources are up in the haiku-wifi repository on www.osdrawer.net (read "For the bravery" down the line for more info on how to get it).