Tag the source code that was used to build and test Dict version 0.9.0.
OPTION MIME Support
@dict-0.9.0.xpi has been released. This is identical in functionality to the latest attachment on this thread, so if you already installed that one, there's no reason to install the "official" one.
Clarify instructions for executing the final test case.
Use native line endings to make it easier to edit with notepad on Windows.
Change some nomenclature in the test plan: defining a word -> looking up a word
Use native EOL to make it easier to edit in notepad.
Set the version to 0.9.0 for a formal release.
great now
This one limits the width of the window resizing to the screen's width. It's not perfect, as you may still have to move the window to see the content, but I don't intend to fix that. I've already put too much time into this.
Use 6 instead of 8 when looking up HTML content on dict.bibleonline.ru.
Limit the window size to the size of the screen.
Refactoring: move shared logic into createHtmlDefinition() to avoid code duplication
The width of the monitor screen should determine the width of the window. Sometimes the window is very wide and goes beyond the boundaries of the screen.
I disagree with your argument that it's incorrect for a client to reformat content which a server provides. For example, if the server were actually returning full HTML documents (complete with <html>, <head>, <body>, and <script> tags), I think the client would have an obligation to modify that HTML as it concatenates the definitions from several databases into a single document. The Dict extension does not do this, nor do I intend to make it do this, but I think it's incorrect that it doesn't....
Fix a few copy&paste errors where a MIME header was added where it shouldn't have been.
Use CSS instead of HTML and explicit line breaks to format the definitions.
Fix a bug where the newline from the end of the MIME header was included in the definition.
Very good. However, the result may be ideal if you remove the CODE tag or change its modifiers so that there is no effect on the line break. Now this tag manifests itself as if the characters ‘\ n’ are replaced with the tags <BR>. I consider that such behaviour is not correct since MIME header: Content-type: text/html; ... determines the type of information as a hypertext — a subtype html points to that text format wich already exists with all needed tags and extra tags are not needed. ... Micha...
Very good. However, the result may be ideal if you remove the CODE tag or change its modifiers so that there is no effect on the line break. Now this tag manifests itself as if the characters ‘\ n’ are replaced with the tags . I consider that such behaviour is not correct since MIME header: Content-type: text/html; ... determines the type of information as a hypertext — a subtype html points to that text format wich already exists with all needed tags and extra tags are not needed. ... Michael
Add a regression test for when one definition has unknown MIME content, but another has a supported MIME content.
Fix a UI weirdness where, if the DICT server responded with definitions which all included unknown MIME types, then an empty window would be shown. Now it shows a "no definitions found", which is better, even if it's still not perfect.
Fix two bugs in the implementation of OPTION MIME
Fix bug #12; Add support for OPTION MIME for Content-Type text/html
Thanks for the explanation. I see now that I had misread the RFC. For dictd, the MIME header is blank, not missing. That is conforming and it means to assume plain/text. I got something working, which I have attached as @dict.xpi. I haven't tested it much or even commited the code changes, but I got the HTML for 02580 to appear and I'm too tired to continue tonight. As I mentioned above, to install it, you'll have to into "about:config" and disable code signing on all extensions. By the way, if you...
I tried heb-rus_strong on dict.bibleonline.ru, but I wasn't able to discover words in that dictionary. Can you provide a word that is in the heb-rus_strong dictionary and which has MIME content that I can use for testing? You can just search for the occurrences of a Strong's number. Type in the number 5485, the number for the Greek word charis, "grace” (in the grk-rus_strong dictionary). If you want to locate a Hebrew word, simply add a 0 before the number, as in 02580, the number for the Hebrew...
I looked into this today, but wasn't able to figure out how to get a DICTD server to return the mime content. The protocol looks simple, the client should send OPTION MIME And the server replies with 250 ok - using MIME headers But, even so, subsequent responses to DEFINE commands are missing the content-type/content-encoding headers. I tried heb-rus_strong on dict.bibleonline.ru, but I wasn't able to discover words in that dictionary. Can you provide a word that is in the heb-rus_strong dictionary...
I was able to build dict-extension on Windows XP and load it into the now-unsupported Firefox that was on the machine. To load the extension, I had to go into "about:config" and disable code signing on all extensions. Presumablly, if you running an unsupported web browser on an unsupported operating system, you don't care much about security and so this wouldn't upset you. However, you're the only person who would ever be able to use this, and only until your Windows XP machine dies, so if I did...
All clear. I have Windows XP. Firefox is no longer updated (thank God!). Maybe for this reason I can still use your extension.
How are you still using this? Firefox has dropped support for any "legacy" extension and I wasn't able to figure out how to use the DICT protocol with their Firefox's modern API. I was able to get Dict to be compatible with Electrolysis, but then the Firefox developers said that wasn't enough. So I had to stop using my extension a year or so ago. Even if were able to get MIME content working, addons.mozilla.com wouldn't accept my change because they don't accept "legacy" extensions. And all exensions...
OPTION MIME Support
The end result of all of the discussion on the adblockplus site and the easyfilter...
For the sake of cross-referencing, the bug on AdBlock Plus is https://issues.adb...
I got a tip from the AdBlock Plus Forum on how to work around the issue. Go to AdBlock's...
Adblock Plus 2.8.2 closes Dict popup
I was able to reproduce this on FF 39 using AdBlock Plus 2.8.2 on SUSE Linux. I don't...
Cool. Thanks!
I have posted this to the AdBlock Plus forum https://adblockplus.org/forum/viewt...
I was able to reproduce this by installing AdBlock Plus 2.8.2. If I enable AdBlock...
Dict popup window not opening in firefox 50.0 and Adblock Plus 2.8.2
I can confirm the same behavior (blank Dict window opens, then closes). Using FF...
Hi Yeah, I'm using 0.8.5. I'll run thru the other addons to see what is causing the...
Thanks for opening a ticket on this, Cean. The other user on mozilla's add-on page...
Dict popup window not opening in firefox 50.0
Tag 0.8.5 for a release
Update the version to 0.8.5 for a formal release.
Fix recent regressions that prevented Dict from...
Fix the wording on the closest matches page to ...
Remove the unreferenced "pref" module, which be...
Add some defensive initialization to clean up a...
Fix a bug where windows opened with dict:// pro...
I have committed a fix and a regression test. The bug was that the word that was...
Generated dict:// links over-escape, break "vapid"
Fix bug #10; the generated dict:// links no lon...
I have committed fixes for two of the problems mentioned. The selection is now read...
Bug #8; Additionally register a dict:// protoco...
Cannot look up selected words in Bing search field
I have fixed this by getting the selection from gContextMenu instead of trying to...
Generated dict:// links over-escape, break "vapid"
Use the configuration manager to determine if a...
Remove the "onLoad" event handler after it is f...
Use DictExtension instead of DictExtensionXul i...
Remove the binary property on context.xul, sinc...
Creator a new prompter instead of using window....
Refactor the code so that more of the logic for...
Ignore XPI files that begin with '@' to follow ...
Use gContextMenu to read the selection to make ...
Use the "window watcher" interface instead of c...
Prefix the XPI files with "@" to match the Fire...
Increment the version to a "prerelease" status ...
Cannot look up selected words in Bing search field
Tag version 0.8.4 for a formal release.
Fix a warning found by addons.mozilla.org durin...
Tag the 0.8.3 release.
Increment the version to 0.8.3 for another rele...
"Closest Matches" dialog box is not keyboard accessible
I have commited a fix for this. It will be available in version 0.8.3.
Ticket #6 - Improve keyboard accessibility to t...
Fix an inconsistency in the text for "looking u...
Fix problems with the "restartless installation...
Implement support for restartless installation.
Fix a typo in a comment
Replace tab with space.
Dict is incompatible with Multiprocess Firefox (Electrolysis)
Ignore files which "gmake release" creates
Increment to a development version number and c...
Tag version 0.8.2
Increment the version to 0.8.2 to release a com...
Looking up defination results in "couldn't get socket service class" error
Apparently, in Firefox 39 or Firefox 40, this no longer works: var sockServiceClass...
Fix bug #7 by getting the socket transport clas...
Update the homepage to refer to SourceForge, in...
Change the property type to text so that "svn d...
Tag version 0.8.1
Looking up defination results in "couldn't get socket service class" error
Update to version 0.8.1 after adding support fo...
"Closest Matches" dialog box is not keyboard accessible
Add tests for server-specific databases and str...
Update the test plan to be HTML 5 compliant