Patch for KDevelop to allow using of Ht://Dig as search engine

Alexis Mikhailov alexis at abc.cap.ru
Mon Dec 27 07:32:31 GMT 1999


Sorry to bother you again, but I got no response from previous posting.
Probably the message got lost. I'm not subscribed to mailing list,
so please, CC any answer to me directly.

Can I propose this patch? 
List of changes:
ccreatedocdatabasedlg.cc, .h - added two radio buttons to choose preferred
     search engine, moved rest of controls some way down the window, 
     increased window height a little. Added check for search engine
     and run of htdig if htdig is selected.
ckdevelop.cpp - changed slotOptionsCreateSearchDatabase to look
     for htdig as well as glimpseindex and passing results of search to 
     constructor of CCreateDocDatabaseDlg. Added function 
     'encodeURL'. Changed slotHelpSearchText to look for htsearch 
     as well as glimpse, added invoking of htsearch.
ckdevinstall.cpp - added checking for htdig and modified error,
     message to mention htdig as well as glimpse.
coutputwidget.cpp - modified to work around problem when output
     of invoked utility starts with '\n'.

Added creating of htdig.conf in tool/ subridectory. Though I'm not
sure that config for external utility should be distributed along
with KDevelop, but it would be better to have personal config file
for htdig for using with KDevelop. Probably just some installation
instructions should include what directory htdig.conf should be put in.

Alexis

PS this patch was sponsored through CoSource.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-1.0.diff
Type: application/octet-stream
Size: 28748 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19991227/e960d8d4/attachment.obj>


More information about the KDevelop mailing list