Older blog entries for RyanPavlik (starting at number 27)

17 Jan 2006

AbiWord, or Pity the Foo running 2.4.1
All of you folks running AbiWord 2.4.1 or earlier, now is a great time to upgrade. 2.4.2 includes completed OpenDocument export and a lot of fixes for memory leaks. All of you running OpenOffice.org - now is a great time to upgrade from Writer to AbiWord. Give AbiWord a shot! www.abisource.com

Joke
Normally, I like treating everyone equally, but really, this joke is rich. Greatest Blonde Joke Ever

Syndicated 2006-01-17 18:19:56 from code art life - Ryan Pavlik on ClearDefinition

6 Jan 2006

AbiWord , or Progress mixed with “Isn’t That Strange…”

So as 2.4.2 is prepared for release sometime soon, I found it necessary to reboot over into Windows and do my duty with the compiling. I don’t have a CVS-STABLE tree checked out, so I rely on only gentle changes occuring to stable (which is generally just fine), and in case of some major problem surfacing at a tagging point, we can just fix it and re-tag, since tag comes before release.

So this time, as I’m getting the binaries completed, the notorious “hang during documentation build” occurs, and the matching “cause random processes in Windows to run away with CPU” symptom surfaces. Through some careful priority management, I get the build to run again, and correctly. Alright. Log off, and log back on, time to install. The install works great, and aside from a strange plugin conflict (now resolved with a stop-gap measure), it all looks good.

Well, almost all. For some strange, strange reason, the background color of the drop down boxes on the toolbars (style, font, size, and zoom) is grey, rather than white as expected. It all works fine, but the boxes look almost disabled, even though they aren’t.

I have no idea what caused this, where it came in during development, or how to fix it. I don’t recall it occurring in 2.4.1, but neither do I recall any commits that would affect the Windows front end’s coloring of drop-down boxes. Go figure.

So there’s my mystery. Any ideas?

(Yes, I’ll file a bug next time I boot into Windows.)

PS. I <3 VMWare, and as soon as it’s financial feasible and sensible, I will get Workstation instead of installing Windows on top of an installation of Fedora Core in VMPlayer. Qemu has been officially been blown right out of the metaphorical water.

Syndicated 2006-01-06 01:38:12 from code art life - Ryan Pavlik on ClearDefinition

22 Dec 2005

AbiWord or, behaving maintainerly

I now have some deal of free time to work on AbiWord. I figure that before I start work on the Unicode things that will be done for 2.6, I should at least work on being able to build CVS HEAD, since some significant (at least win building-wise) changes have gone in. Most difficult is that we now use the “system wv” library, and depend on wv 1.2.0, which has to be compiled separately against some of its own dependencies. Starting with my detailed instructions to build 2.4, I am working on a set for CVS/2.5/2.6. The first thing I am doing is breaking down the dependencies and finding out exactly what is the minimum needed to complete any task (build wv binaries, build mathview binaries, build linkgrammar binaries, build abi, tools, or imp/exp), since for the previous version, that was all in one monolithic list of dependencies. That will also help me know when I can upgrade these in upstream versions without inducing breakage.

Right now, I am strugging to build wv, which is a strange thing. Everybody (well, uwog) has said that it’s fairly straightforward, but as I’m starting again from a clean install of MinGW/MSYS, with the aim of documenting everything, I need to know what incidental voodoo made it easy. The first trouble was that without the MSYS DTK (which was removed from the build environment instructions for 2.4 due to some mathview problem which may or may not have been caused by it), autotools won’t work, even though I install them manually and have a working install of ActiveState Perl. At the moment, I can ./autogen.sh and get partway through ./configure –prefix=/mingw, but it stops when it says it encounters an error with GLIB. I have installed GLIB 2.6.6 from TML, and this shouldn’t be a stopping point, but it is at the moment. If anyone has any clue why this is, pointers would be greatly appreciated. (Yes, I tried an older glib version, though apparently wv 1.2 needs a recent glib, so looks like we’ll be upgrading across the board for abi 2.5/6 to glib 2.6).

When I feel sufficiently motivated to reboot out of Ubuntu AMD64 back into Windows, I’ll poke some more at it. I could really use VMWare, now that I think of it. If anyone cares to give me a very expensive Christmas/Hanukkah/Kwanzaa/Winter Solstice gift, that would reduce the trouble of working on Windows :D

Till next time, enjoy using AbiWord! (Keep your eyes peeled for 2.4.2 - it will apparently rock one’s socks right off, or darn near.)

Syndicated 2005-12-22 23:09:32 from code art life - Ryan Pavlik on ClearDefinition

5 Nov 2005

AbiWord

Well, as of a few days ago, I’m the new Win32 maintainer… quite a rush. A lot of responsibilities, but I will take them gladly. I really believe that AbiWord is a great program and I will cherish being able to help provide Windows users with the great choice in word processing that AbiWord is.

The other day, I found out that one of my friends here actually used AbiWord before I told him about it - he had even just updated to 2.4. I think I may find a fair few people here that use AbiWord and can provide some great feedback.

And, Sum1 returned to keep everybody legit and accountable for the stability of AbiWord - this combined with a lot of code cleanup recently, look for a great 2.4.2 sometime in the future, and enjoy 2.4.1 right now until then!

Thanks for reading!

– Ryan Pavlik, new AbiWord Win32 Maintainer

Syndicated 2005-11-05 19:44:21 from code art life - Ryan Pavlik on ClearDefinition

4 Oct 2005

AbiWord 2.4 Released!

Get it now!

Months of hard work by everyone involved with AbiWord have resulted in this, our latest stable release. For those who are using AbiWord 2.2, updating brings you new features and stability. For those of you who tried AbiWord before but did not continue, now is a great time to try it again. For those of you who have never tried AbiWord, now is the perfect time to try out the state of the art in open source word processing.

From Ryan Pavlik, the AbiWord Windows developers (Sum1, Tomas, Marc, and more), and the entire development team, enjoy!

Syndicated 2005-10-04 01:10:46 from code art life - Ryan Pavlik on ClearDefinition

19 Sep 2005

AbiWord - 2.3.99 Released - Last Chance to Find Release Showstoppers!

Welcome, all readers, to what will likely be one of the last entries I make before the release of AbiWord 2.4! Tonight, we pushed out AbiWord 2.3.99, which is quite symbolically the last release before 2.4. This time, I did get both tools and import/export plugins built successfully, so those will be posted as soon as Marc wakes up and looks at his computer, and finds enough binaries to update the web site. Until then, here are the installers for Windows. (Please check the official location first though to enable us to better count downloads…) Please download the tools plugins to test Math and Grammar support as well, since these are among the major features of 2.4. Thank you!

And, since it appears that it is fashionable to suggest a release name, I will throw my suggestion into the ring. Going along with my splash screen for 2.4, I suggest that the release be named “Your Keyboard Is Trying To Tell You Something”, since all distinguished keyboards work best in AbiWord.

Short entry tonight, because I’m busy and I want to leave you with enough time to run the download count on 2.3.99 up! Later!

Syndicated 2005-09-19 03:07:16 from code art life - Ryan Pavlik on ClearDefinition

17 Sep 2005

AbiWord - We need your testing help now!
2.3.6 has been a huge release. On Windows, we’ve already had over 15000 downloads of the main installer, and it’s just a development release. However, we need your help testing the plugins, especially math and grammar! These two new plugins are in the Tools Plugins install file, which hasn’t gotten nearly that many downloads.

To add to the thrill of testing a development version, I’m making a special public offer. I am building Windows installers from CVS head and hosting them here. They are functionally identical to the 2.3.6 installers (at least, the ones newer by date…) except that I got import/export to build too. They say they are version 2.3.99 but they are not 2.3.99, simply CVS HEAD prior to that upcoming final beta release! Please download and test the latest ones available on that site, and give us feedback! I will be uploading new binaries almost every day until 2.4 is released - come help us out!

Thanks for reading and trying AbiWord!

Syndicated 2005-09-17 19:45:49 from code art life - Ryan Pavlik on ClearDefinition

12 Sep 2005

AbiWord - 2.3.6 Released!

While I was out of town this weekend, Uwog apparently got to the point where he was happy enough with everything to push out a 2.3.6 development release. I have since obliged with Windows installers of the core program and the tools plugins (which is where Math/equation editing and grammar checking are). True to my experiences, the boring things (the import/export plugins) that usually work just fine aren’t working, so the import/export plugin installer isn’t quite ready. You will be able to get these files from AbiSource.com in a while, until then, you can get them right from me in my builds location here. Please, please, please, if you use Windows, download, install, and test these files, especially the grammar checking plugin and our equation editor, both in the tools plugin installer. Your feedback is greatly appreciated. Please note: the standard disclaimer of development versions applies, especially since this is the first release build (even development) for Windows that has both math and grammar enabled. However, I feel pretty confident, so don’t let that turn you away from testing. Just don’t bank anything critically important on it. The nice thing with AbiWord, is that even if something goes terribly wrong, the file format is just based on XML, so you can open it in another version or even Notepad and get your data.

Thank you for your help!

Domain Names, or, Uwog, where are you?
You may have noticed that above, I said you could get the installers from the standard location “in a while”. This is because, due to an unusual and unfortunate combination of circumstances, I can neither get to IRC or email Uwog. The IRC problem should be fixed within a day (just need to get my DynDNS fixed), but the email problem is a bit more of Uwog’s problem - it looks like he got his domain name stolen! uwog.net is now a netherlandish Audi fansite instead of his personal website which it was just a few days ago. Whois doesn’t show anything is wrong, but my email bounced and the web is wrong. Hopefully, he will read this and if he wasn’t already aware of the problem, he will be. I may remove this if he fixes the problem - this is just the best method I have to contact him at the moment.

Remember, when testing my new build of AbiWord on Windows, file bugs at our Bugzilla!

Syndicated 2005-09-12 20:38:07 from code art life - Ryan Pavlik on ClearDefinition

8 Sep 2005

AbiWord - it’s so close…
So a little .pc file tweaking fixed OpenDocument and WordPerfect, I realized I already have a good install of link-grammar which already has a configure, and I could bug someone to roll a tarball with configure if I really needed it to bootstrap again. Psion plugin still conflicts on load, but I expected that and the workaround is in bugzilla bug 9420 - don’t install/load the bz2abw plugin.

Which leaves me with the menu problem. Initial testing results of other people with my installers made me think I was going insane, but it turns out they were installing just the math plugin, while I installed all the plugins. Now the bug can be reproduced. Turns out it’s a conflict between the Paint Plugin and the Math Plugin, as they both add to the same menu and that somehow breaks our menuing code. This is a bit above my head, but I’ll look at it and make some motions as if I knew what I was doing in that code, and one day I very well may.

Please, take a peek if you know about Abi or about Windows ui programming - we need more eyes to make this shallow.

Syndicated 2005-09-08 18:09:56 from code art life - Ryan Pavlik on ClearDefinition

AbiWord, or, I've given you a couple of days
By now, everyone seeing this post though P.A.C or Advogato or some mystery aggregator should have upgraded/installed AbiWord 2.4.2. It's pretty slick, isn't it? ;)

Programming Languages, or, Python meets C++ STL
I was chosen to work on a research project at my college involving shape approximation and other things. It's a mathematical as well as a computational problem, and as one of the two students on the project, I'm the "computer science guy". However, this is probably more background than strictly necessary. Yes, this is the main point of my post, I just felt obligated to plug AbiWord above :D

It's probably no secret that I'm a fan of the Python programming language. Some slick list tricks, the incredible efficiency with which I can whip out short programs, classes, and even slightly trickier stuff means that when I'm not programming for class (then the required language is C++), I will at least seriously consider using Python. I did so for this project, because at the early stage that I started pushing code, I decided it was best to figure out the proper algorithm than get it completely maximized speed-wise. Fair enough - I cranked out a mostly-working program (just mainly one bug in the algorithm which I knew the solution to). However, because others have to deal with this code, I was asked to convert it to C++. Not an unreasonable request by any means, but it did mean that I'd have to enhance my knowledge of C++ to get away with what I was doing in Python.

I immediately decided against using a homemade list template from class, as I knew of the existence of STL and decided whoever wrote that code certainly was a better programmer than I. Cracking open the book and Google, I went ahead and looked at the STL container classes. Since I was using the features of Python's lists extensively, I decided to go ahead and use the STL list template.

One particular feature I liked (usually ;) ) in Python was the fact that "for" was actually more of a "for each" which iterated over a list. Since I had to do some "item-by-item" (and segment (two items) by segment) processing, I used this extensively. Unfortunately, the section in the book that I read about the iterators was not rather clear. Initially I found myself using a boolean flag (to say if we've gone though the loop once) and a do-while loop to ensure that I processed each item. I had missed the sentence the first time through that said that list::End() returned an iterator past the end of the list (rather than the last item in the list).

Since I had to do segment processing (on a list of points in a polygon), I also realized that (hopefully) the easiest way to do so is to ++ a second iterator started at ::Begin() and incremented once before the loop. To circularize this iterator, I test at the top of the loop to see if it2==mylist.End(), and if so, reset it to .Begin(). In theory this ought to work, but because my code is still about half Python, I haven't actually compiled and tested it yet. If someone knows of a decent way to implement a circular linked list with STL (more elegantly) aside from writing a circular list myself, an email at the account listed in Advogato would be greatly appreciated. :) However, assuming that this trick actually works, I'm not terribly dissatisfied.

I went into this Python to C++ conversion project with a bit of trepidation, but it's pleasantly surprising me. STL lists are actually fairly understandable, despite mutterings I had heard to the contrary. We'll see if I still am singing the same tune after I try to insert points into a segment without losing all semblence of sanity (and more importantly position in the loop). Might have to do what I did in one version of my Python program - return a new Polygon instead of modifying the current one.

Wish me luck! Until next time, may Abi the Ant be with you!

18 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!