pure hunspell dictionary addons are now restartless, and handled as such if they specify their type to be 64 by the addons manager. Many of the dictionaries on https://addons.mozilla.org/en-US/firefox/language-tools/ are apparently not updated to that. Can we get an inventory of which add-ons are affected? I found at least the German dictionary to be, and comments on my blog https://blog.mozilla.org/axel/2012/09/27/language-packs-are-restartless-now/comment-page-1/ indicate it's more. I wonder if we should repack them for the authors, as it's a trivial change. We could also update the maxVersion while we're at it.
The German dictionaries have originally been started off with the tool there was a long time ago to create dictionary XPIs, and I guess many have used that back then, so whatever that did for install.rdf is probably widespread. I'll create an update for the German dictionaries with that type added, but this might take a few days or a week or so.
I tried to CC fjoerfoks (for the Dutch and Frysian language/spelling packs, but failed.
Thanks for filing this bug Axel. Just out of curiosity I installed all dictionaries from A to C in 18.0a1 (2012-09-27) and non were restartless.
I wanted to wait to reach out to dictionary authors and get the addons updated until the restartless dictionaries actually work without problems. Therefore I would not be surprised if my Danish dictionary was the only restartless dictionary we have. Please wait with this until the issues are fixed.
Updated versions of the German dictionaries with this fix are on AMO now, review pending.
Since Firefox 18 is on the release channel, I think we should try to move forward with this now. I didn't find any existing docs, so I have created this new page describing the dictionary add-on format: https://developer.mozilla.org/en-US/docs/Creating_a_spell_check_dictionary_add-on We can use that page if we choose to ask the add-on authors to update their add-on instead of automatically changing them.
What stops Mozilla for automatically changing them? I imagine that dictionaries are typically rarely updated. Having the mechanism already in place to make the user experience much better, it would be great if users got this advantage rather sooner than later.
AMO claimed there was something "wrong" with my latest update to the Canadian English dictionary. I updated it to the new dictionary type, but I was concerned that AMO's checker offered me no explanation or suggestions on how to make it "right". I came across this thread recently when trying to research the ramifications of my blind acceptance of its advice. Jesper, your proposed tutorial page suggests restartless compatibility should target Firefox 18a1 and Thunderbird 18a1. Well, that version of Thunderbird isn't live yet - I don't want to target it and prevent users from accessing my word list updates (rare though they may be). Is there a lower version number we can reliably target for Thunderbird?
(In reply to Paul Schmiedge from comment #8) AMO should still accept the old dictionary format. If there are any issues with it, file a bug on AMO. I was not aware that Thunderbird 18 was not released yet. In that case I guess you should not use the restartless format yet. If you set minVersion to 17, users of that version will not be able to update your add-on. (bug 782118) If you set minVersion to 10, users of 10 to 16 may receive warnings when they try to update Firefox/Thunderbird. (bug 782115)
My dictionaries (German in 3 variations) are probably among the most-used, if not the most-used dictionary add-ons from AMO. I have set them to em:type 64 in the newest versions, and did set the compat to 10.0a1 and higher, and I haven't heard about any complaints related to that. You should be able to do that as well.
Hi, time to revisit this one now that Fx & Thunderbird 31 is out?
Just uploaded a new version of the Italian dictionary. With 2 ESR releases in the middle I think it's now safe to have a restartless dictionary (I didn't consider correct setting the minimum compatibility to 10).
Andreas, do you know where we are on this?
All langpacks on https://addons.mozilla.org/en-US/firefox/language-tools/ have been fixed. However there might be more on AMO which still have this issue. The only way to find out is to download all of them and check each manually.
> All langpacks ... Of course I meant dictionaries.