Subject: Re: tasty Win32 work
From: Paul Rohr (paul@abisource.com)
Date: Fri Jan 26 2001 - 15:08:28 CST
At 03:56 AM 1/26/01 +0100, Mike Nordell wrote:
>> Essentially Jeff never quite completed the "Slurp" feature:
>
>What was the "slurp" supposed to do? Have you got an URL?
We're not a well-behaved desktop application until the following feature
Just Works:
You can start editing documents in AbiWord by double-clicking them
from outside AbiWord (desktop, file manager, window manager, etc.)
Obviously, this requires some OS-specific integration work (in this case DDE
and registry grunge). For more on why Jeff used the word "Slurp", see his
comment at the top of his implementation.
abi/src/af/xap/win/xap_Win32Slurp.cpp
Jeff did most of the required heavy lifting for Win32, but left a lot of
TODOs behind which got lumped into a single Buzilla item (376). In most
cases, you can find the matching TODO comment inside the relevant if clause
in that file.
AFAIK, no similar work has been done yet for our other platforms.
>I'd actually add another "feature". A build macro that removes any registry
>mucking. I have it locally, but I don't think the casual user want it. But,
>I *do* know a lot of experienced developers (and users) that would feel
>great if no registry screwabout happened when they jut started a new app
>(i.e. AW). That's why a few of my friends use my AW build rather than any
>official build.
IIRC, you have to do some mucking about in the registry to get file
associations to Just Work. We'd hardly be diving into that mess if we
didn't have to.
>> While you're at it, you might also fix:
>>
>> http://www.abisource.com/bugzilla/show_bug.cgi?id=478
>
>I fail to get this one in this context. Would you care to elaborate?
>If it is about 256 chars I get it and would probably easily fix it, but
>somehow I don't think that's the problem.
I was skimming Bugzilla quickly, and it might not be related at all.
It's highly likely that full solution to 376 will involve refactoring some
of the document-opening semantics over in the edit methods so that it can
also be used by the DDE code. Insofar as 478 talked about multiple windows
getting opened, I suspected there might be a relationship.
If not, sorry.
Paul
This archive was generated by hypermail 2b25 : Fri Jan 26 2001 - 15:01:25 CST