Closed
Bug 141367
Opened 22 years ago
Closed 22 years ago
remove files containing unused find code from PPEmbed
Categories
(Core Graveyard :: Embedding: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: akkzilla, Assigned: ccarlen)
References
Details
Attachments
(1 file)
23.02 KB,
patch
|
akkzilla
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
I was working on bug 126312 (remove old find code) when I hit a snag: it seems the embedding/powerplant code uses the old text services find code explicitly, rather than going through the frozen interface nsIWebBrowserFind. Is this part of the embedded app still active? Is there any reason it needs to do the logic itself rather than just calling nsIWebBrowserFind? I'm not sure what all the code in CFindComponent::SetupDocForSearch is doing -- it's different from anything the other find implementations do.
Assignee | ||
Comment 1•22 years ago
|
||
CFindComponent.h/.cpp isn't used. It's not compiled and should just be CVS removed. Didn't notice it was still there.
Status: NEW → ASSIGNED
Component: Embedding: Docshell → Embedding: Mac
OS: Windows 2000 → MacOS X
Assignee | ||
Comment 2•22 years ago
|
||
BTW, one thing which that code did, which is still not implemented in what's behind nsIWebBrowserFind, is "match entire word" searching. It used the LWBreaker from the doc to check the endpoints of a found pattern for being on word boundaries. I think that was why I kept the file around: to add that capability to the new code. However, the new find code is so different from the TSM code, the old code in CFindComponent is not relevant anymore. Do I need a patch of the to-be removed files for r= or just yank them?
Assignee | ||
Comment 3•22 years ago
|
||
Changing summary since it does use the new find code.
Summary: powerplant embedded find needs to use new find → remove files containing unused find code from PPEmbed
Assignee | ||
Comment 4•22 years ago
|
||
Here's one pretty amusing line that will be removed: - * Based on nsFindComponent.cpp by Pierre Phaneuf <pp@ludusdesign.com> Ahem, that was when I first started with mozilla.
Assignee | ||
Comment 5•22 years ago
|
||
If an r=/sr= is needed to remove files, can akkana and kin do that? If not, just let me know and I'll do it.
Reporter | ||
Comment 6•22 years ago
|
||
Comment on attachment 82494 [details] [diff] [review] diff for removed files r=akkana, and thanks.
Attachment #82494 -
Flags: review+
Comment on attachment 82494 [details] [diff] [review] diff for removed files sr=kin@netscape.com
Attachment #82494 -
Flags: superreview+
Assignee | ||
Comment 8•22 years ago
|
||
They're gone. Thanks for quick r=/sr=.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•