Articles

Medusa objects and architecture

msearch-gui quickly became a jumble of functions when I decided to make it available to users. 50% of the code was controlling the results tree/treeview. I neatly encapsulated that in an gobject named MedusaTreemvc. After I've created some more widgets, I'll move the MedusaTreemvc to a new components part …


Christmas unbalance

I'm all for winter solstice celebrations and joy to the world. After a few days of the sappy music I, was terribly depressed. I put on some Interpol, Placebo, and Bork to pull me back to the center. It felt good, and it broke Scotland's stranglehold on my mp3 player …


Medusa file_type fixed

I found a major gaffe in the file_type clause. The fix was simple (after making glade2 again because xd-unstable put GTK only glade in its place). Searching for music file_type is very fast, and it clearly shows the clumsiness of GNOME's mime-type handling--lots of text files in the results. I …


Hacking Medusa with Eclipse

My home and work environments are a mess with GNOME 2.5 unstable. I need to use Eclipse for my work life, but it bombs when it tries to use the GTK 2.3 ToolBar. At home I used jhbuild to build G 2.4. The firewalls are closed at …


Hacking at Medusa nuisances

Some old errors showed on my system as I put Medusa through some duration testing this past week. Those naughty progress files were being left behind when the indexer failed. Cleaning those up automatically will require some subtle changes to the masterDB since C cannot catch an exception, and there …


GNOME needs a primer for newbies

Murray, I think you are partially right about Anjuta promoting Glade code. Without a comprehensive primer about the GNOME development process that provides best practices and a checklist, we will continue to see such mistakes. I lurked on the gnome lists for years, and learned a lot about good and …


Contemplating simple search that simply works

While looking into some type punning errors with gcc 3.3, I found an opportunity to do a union between content, file name and keyword searching. I can create a pseudo clause that will perform three searches and merge the results. I see that I can do a clumsy weight …


Fast Medusa, faster. Kill, kill, kill

I found and fixed the bottleneck that caused the search results to take forever to display. I guess the icon creation code is fast enough for the slow find routine used by gnome-search-tool. It is painfully slow, taking 30 seconds to display a 1,000 file match, even though the …


Medusa HEAD is unstable yet very usable.

I branched the stable medusa-6-0 to do some unstable GUI and indexer development in HEAD. I committed a rudimentary GUI app for file queries. The menus and toolbar are dummies (and the 'Fewer location options' is broken again). Many of the results pane functions came from gnome-search-tool to provide some …


Seeing is believing in Medusa

After three days of mad coding (and a deft liberation of functions from gsearch-tool), I have a working GUI interface for Medusa. It feels good. I have some more callbacks to hookup and a src tree to clean before I commit. I'll add the desktop search folders and info dialogs …