Thursday, July 26, 2007

Mid-program Update

So, it seems my updates are getting less frequent as time goes on, but I'm sure that if you graphed it logarithmically, it'd still look somewhat linear at first glance ;)

Anyhow, The middle of the program has come and gone this week, I've gotten the midterm payment from Google and here's where I stand at the moment:

Most of the functions in my list are complete, with the exception of date/time stuff, which I'll work on next week. I finished off getwc/setwc and friends this week.

The subsequent week ( or next week, we'll see how things go ) I'll be shoving my libc_i18n.a in place of the one shipped with closed_bins and seeing what happens. Hopefully it won't blow up in my face, but that's what testing hardware is for.

Wednesday, July 4, 2007

Halfway there...

It's the 4th of July today, which means happy birthday America to everyone in the country to my immediate south.

It also means that mid-term evaluations for the Summer of Code begin in two days.

Here's my own personal evaluation of myself:

I've got well over 3/4 of the major function groups done ( "function groups" meaning collate, regex, get/set characters/lines, binary is(alpha | number | English | punctuation ), etc ) and compiling cleanly, with some minor testing (albeit not on edge cases) completing successfully. I have a printout of libc_i18n.a's elfdump(1) symbol table output that I've been crossing off with a Sharpie, and it's getting more and more black by the day.

I feel as though I can complete the coding in the next few weeks, spend the remainder of the program testing & doing the minor tweaking required, and then work on integrating the code to the main Solaris tree ( which, as I understand it, is not necessary for the Summer of Code, so I didn't budget time for it )

Friday, June 22, 2007

hmm....

I think I got strcoll & friends working this week...

It just loops through the string comparing each character and returning 1 or -1 if they're different as per the manpage, but I dunno, it seems like it should be more complex than that

Friday, June 15, 2007

weekly report

All the low-lying fruit is done, as it turns out I could steal most of the EUC stuff from FreeBSD too. Still no idea what the "dense" functions are for ( obviously something densely packed ) but I'll keep looking...

What I have left are things like collate, which I plan to work on this weekend and a week or two afterwards, then regexes (how would you properly pluralize that anyways? ) for a little bit, then getwc & putwc and friends, and then I should be more or less done, save for shoehorning it in to the current Solaris framework and making sure it all works properly.

Perhaps a bit optimistic with the "I've only got to do..." type language, but I'm fairly confident that the project should be completed mostly on time.

Saturday, June 2, 2007

Beginning of program update

So, the Summer of Code program has now officially begun ( didn't stop me from writing stuff before then, but there have you ).

I've written a couple more functions & I've been testing stuff as I go along, no real exciting breakthroughs or any such thing. Things seem to be working more or less as expected ( though changing locales just explodes in a fire of glory )

Cheers

Saturday, May 19, 2007

growing...

I've successfully migrated FreeBSD's internationalization code outside of their tree, and I went to do a symbol count today ( from elfdump(1)'s symbol table ).

I've got 269 defined symbols, libc_i18n.a has 287. Given, FreeBSD has a bunch of functions for fiddling with their "rune" data structure, so as a progress bar the number comparison is more or less useless, I just found it mildly interesting

Unfortunately it all depends on gcc at the moment, and I'd like to get it cleaned up to compile with SUNWspro, but a Studio cleanup is at the bottom of the queue for now.

Saturday, May 5, 2007

Weekly Status

So, I figure it's Saturday, and I should probably make an update as to my progress thus far.

I've got all of FreeBSD's libc/locale subsystem compiling outside of the fBSD tree with the exception of localeconv.c, nl_langinfo.c & setlocale.c which I will finish for tonight or tomorrow evening most likely.

That was all mostly just a bunch of boring monkey work, but it'll make work later a lot easier. I've also been pondering about the best way to link together these objects as something I can encapsulate within a larger library that'll export the symbols I actually need (my linker-foo is weak).

I also need to inform myself about a way to convert the locale on-disk format that Solaris uses in to something that these fBSD functions expect. Since I'm almost certainly not allowed to break things, I'm thinking it'll have to be a runtime conversion with some wrapper functions. Given, I haven't looked too far in to things, so I may be completely off-base with what I need to do here.