Closed
Bug 1354845
Opened 7 years ago
Closed 7 years ago
Accessibility Installer rollup ports for c-c apps
Categories
(MailNews Core :: Build Config, enhancement)
Tracking
(seamonkey2.53 fixed)
RESOLVED
FIXED
Thunderbird 56.0
Tracking | Status | |
---|---|---|
seamonkey2.53 | --- | fixed |
People
(Reporter: frg, Assigned: frg)
Details
User Story
Bug 1275731 - Add IA2Marshal.dll to package and installer Bug 1288841 - Add a typelib containing info for IServiceProvider and IEnumVARIAN Bug 1354208 - Add AccessibleHandler.dll to installer See also: Bug 338878 - Only one install of AccessibleMarshal.dll can be registered at a time which can lead to it being unregistered Bug 1303060 - Implement COM handler to reduce RPC round-trips
Attachments
(4 files, 12 obsolete files)
7.83 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
7.79 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
8.52 KB,
patch
|
frg
:
review+
|
Details | Diff | Splinter Review |
6.29 KB,
patch
|
frg
:
review+
|
Details | Diff | Splinter Review |
At least SeaMonkey and Thunderbird need to port a few recent installer fixes for the a11y Accessibility component. Instantbird is also missing them.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8856145 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
User Story: (updated)
Comment 4•7 years ago
|
||
Patch looked like mine. Only missing is the AccessibleHandler.dll in package-manifest.in.
Attachment #8856146 -
Attachment is obsolete: true
Assignee | ||
Comment 5•7 years ago
|
||
>> Patch looked like mine. Only missing is the AccessibleHandler.dll in package-manifest.in.
Yes was sloppy.
Yours still has these in:
+@RESPATH@/components/UserAgentOverrides.js
+@RESPATH@/components/UserAgentOverrides.manifest
Comment 6•7 years ago
|
||
Attachment #8856151 -
Attachment is obsolete: true
Assignee | ||
Comment 7•7 years ago
|
||
Who should check this one?
Comment 8•7 years ago
|
||
Aaron, please could you check the patches if we can do this or if not, how we could do it?
Flags: needinfo?(aklotz)
Comment 9•7 years ago
|
||
Patch updated with bugs 1355968 and 1357194. Bug 1355968 - Ensure AccessibleHandler.dll is registered in PostUpdate Bug 1357194 - Use MOZ_UPDATE_CHANNEL to distinguish between local/nightly and beta/release builds for AccessibleHandler CLSIDs
Attachment #8856152 -
Attachment is obsolete: true
Comment 10•7 years ago
|
||
Updated to tip. Matt, it seems Aaron has no time to look at this patch. Please could you look, if the patch is correct and should work for TB?
Attachment #8859727 -
Attachment is obsolete: true
Attachment #8882855 -
Flags: feedback?(mhowell)
Comment 11•7 years ago
|
||
Comment on attachment 8882855 [details] [diff] [review] 1354845-Accessibility-mail.patch Review of attachment 8882855 [details] [diff] [review]: ----------------------------------------------------------------- I can't confidently speak to the "should work for TB" part, because I'm unfortunately almost entirely unfamiliar with TB, but I don't know of anything different from FF that you'd run up against. I am confident that the patch is correctly doing the same things that the referenced FF patches do. You've also correctly left out bug 1358276, since it was reverted in bug 1372357, after bug 1354077 part 2 made it unnecessary. ::: mail/installer/windows/nsis/installer.nsi @@ +327,5 @@ > + ${LogUninstall} "DLLReg: \AccessibleHandler.dll" > + ${LogMsg} "Registered: $INSTDIR\AccessibleHandler.dll" > + ${EndIf} > + > + ClearErrors nit: This second ClearErrors isn't needed.
Attachment #8882855 -
Flags: feedback?(mhowell) → feedback+
Comment 12•7 years ago
|
||
Thank you Matt for the feedback (In reply to Matt Howell [:mhowell] from comment #11) > Comment on attachment 8882855 [details] [diff] [review] > 1354845-Accessibility-mail.patch > > Review of attachment 8882855 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: mail/installer/windows/nsis/installer.nsi > @@ +327,5 @@ > > + ${LogUninstall} "DLLReg: \AccessibleHandler.dll" > > + ${LogMsg} "Registered: $INSTDIR\AccessibleHandler.dll" > > + ${EndIf} > > + > > + ClearErrors > > nit: This second ClearErrors isn't needed. Fixed. Jörg, with Matt's feedback it should be easier for you to review this patch. I also made a try run and tested the installer. https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=c099115b33ab107bff8f9dafadb361bd523ab1c8
Attachment #8882855 -
Attachment is obsolete: true
Attachment #8882920 -
Flags: review?(jorgk)
Comment 13•7 years ago
|
||
Comment on attachment 8856168 [details] [diff] [review] 1354845-Accessibility-IM.patch Review of attachment 8856168 [details] [diff] [review]: ----------------------------------------------------------------- ::: im/installer/windows/nsis/installer.nsi @@ +232,5 @@ > + ${LogUninstall} "DLLReg: \AccessibleHandler.dll" > + ${LogMsg} "Registered: $INSTDIR\AccessibleHandler.dll" > + ${EndIf} > + > + ClearErrors We took this second 'ClearErrors' out on suggestion of Matt in comment #11. Same goes for the suite patch.
Comment 14•7 years ago
|
||
Comment on attachment 8882920 [details] [diff] [review] 1354845-Accessibility-mail.patch [landed comment #16] I'm the total installer expert (NOT!). Anyway, this looks straight forward.
Flags: needinfo?(aklotz)
Attachment #8882920 -
Flags: review?(jorgk) → review+
Comment 15•7 years ago
|
||
I set c-n for the mail patch. But leave this bug open for the other patches.
Keywords: checkin-needed
Whiteboard: leave open
Updated•7 years ago
|
Keywords: leave-open
Whiteboard: leave open
Comment 16•7 years ago
|
||
Comment on attachment 8882920 [details] [diff] [review] 1354845-Accessibility-mail.patch [landed comment #16] https://hg.mozilla.org/comm-central/rev/873ddce7e8e6f9b9272789154752207cb6556652
Attachment #8882920 -
Attachment description: 1354845-Accessibility-mail.patch → 1354845-Accessibility-mail.patch [landed comment #16]
Updated•7 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 17•7 years ago
|
||
Final patch for suite. enable-official-branding needs to be set for release builds to match Fx and TB. It is only used in the installer for this right now.
Attachment #8856149 -
Attachment is obsolete: true
Attachment #8885872 -
Flags: review?(iann_bugzilla)
Attachment #8885872 -
Flags: feedback?(ewong)
Assignee | ||
Comment 18•7 years ago
|
||
Instantbird was missing a piece in shared.nsh. Jorg do you want to review it? Untested but I believe it should work. This should all make a mess if 2 products with the same class id are installed but the mess shouldn't be worse as before this bug :)
Attachment #8856168 -
Attachment is obsolete: true
Attachment #8885877 -
Flags: review?(jorgk)
Assignee | ||
Comment 19•7 years ago
|
||
Overlooked the clearerrors comment.
Attachment #8885877 -
Attachment is obsolete: true
Attachment #8885877 -
Flags: review?(jorgk)
Attachment #8885880 -
Flags: review?(jorgk)
Assignee | ||
Comment 20•7 years ago
|
||
same here: two ClearErrors removed.
Attachment #8885872 -
Attachment is obsolete: true
Attachment #8885872 -
Flags: review?(iann_bugzilla)
Attachment #8885872 -
Flags: feedback?(ewong)
Attachment #8885883 -
Flags: review?(iann_bugzilla)
Attachment #8885883 -
Flags: feedback?(ewong)
Comment 21•7 years ago
|
||
Comment on attachment 8885883 [details] [diff] [review] 1354845-Accessibility-suite.patch Review of attachment 8885883 [details] [diff] [review]: ----------------------------------------------------------------- aside for the minor nits, it lgtm. ::: suite/config/mozconfigs/win32/release-l10n @@ +4,5 @@ > ac_add_options --with-l10n-base=../../l10n > ac_add_options --enable-application=suite > ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} > +ac_add_options --enable-official-branding > + you can remove that extra line in 8. ::: suite/installer/windows/nsis/shared.nsh @@ +768,5 @@ > StrCpy $0 "SOFTWARE\Classes" > ; Remove support for launching gopher urls from the shell during install or > ; update if the DefaultIcon is from seamonkey.exe. > ${RegCleanAppHandler} "gopher" > while you're at it, can you remove this extra whitespace? ::: suite/installer/windows/nsis/uninstaller.nsi @@ +355,5 @@ > + ReadRegStr $R1 HKCR "CLSID\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}\InProcServer32" "" > + ${If} "$INSTDIR\AccessibleMarshal.dll" == "$R1" > + ${UnregisterDLL} "$INSTDIR\AccessibleMarshal.dll" > + ${EndIf} > + extra space nit.
Attachment #8885883 -
Flags: feedback?(ewong) → feedback+
Comment 22•7 years ago
|
||
Comment on attachment 8885883 [details] [diff] [review] 1354845-Accessibility-suite.patch r=me
Attachment #8885883 -
Flags: review?(iann_bugzilla) → review+
Comment 23•7 years ago
|
||
Comparing the changes for TB and IM, I'm a bit confused. TB: +!if "@MOZ_UPDATE_CHANNEL@" == "default" +#ifdef DEBUG +!define AccessibleHandlerCLSID "{398FFD8D-5382-48F7-9E3B-19012762D39A}" +#else +!define AccessibleHandlerCLSID "{CE573FAF-7815-4FC2-A031-B092268ACE9E}" +#endif +!else if "@MOZ_UPDATE_CHANNEL@" == "nightly" +!define AccessibleHandlerCLSID "{4629216B-8753-41BF-9527-5BFF51401671}" +!else if "@MOZ_UPDATE_CHANNEL@" == "beta" +!define AccessibleHandlerCLSID "{21E9F98D-A6C9-4CB5-B288-AE2FD2A96C58}" +!else if "@MOZ_UPDATE_CHANNEL@" == "release" +!define AccessibleHandlerCLSID "{1BAA303D-B4B9-45E5-9CCB-E3FCA3E274B6}" +!else +!define AccessibleHandlerCLSID "{4A195748-DCA2-45FB-9295-0A139E76A9E7}" +!endif + IM and SM: +#ifndef MOZ_OFFICIAL_BRANDING +#ifdef DEBUG +!define AccessibleHandlerCLSID "{398FFD8D-5382-48F7-9E3B-19012762D39A}" +#else +!define AccessibleHandlerCLSID "{CE573FAF-7815-4FC2-A031-B092268ACE9E}" +#endif +#elifdef NIGHTLY_BUILD +!define AccessibleHandlerCLSID "{4629216B-8753-41BF-9527-5BFF51401671}" +#elifdef RELEASE_OR_BETA +!define AccessibleHandlerCLSID "{1BAA303D-B4B9-45E5-9CCB-E3FCA3E274B6}" +#else +!define AccessibleHandlerCLSID "{4A195748-DCA2-45FB-9295-0A139E76A9E7}" +#endif + So what's the difference between |!if "@MOZ_UPDATE_CHANNEL@" == "default"| and |#ifndef MOZ_OFFICIAL_BRANDING| and why don't IM and SM put beta and release into a single CLSID?
Assignee | ||
Comment 24•7 years ago
|
||
Let me check. Has been awhile that I did the original patches.
Assignee | ||
Comment 25•7 years ago
|
||
> So what's the difference between |!if "@MOZ_UPDATE_CHANNEL@" == "default"| and |#ifndef > MOZ_OFFICIAL_BRANDING| and why don't IM and SM put beta and release into a single CLSID? Sorry for the late reply. I based the changes on bug 1354208. Since then this has been changed in bug 1357194. I need to redo the patches. Thanks for chatching it.
Assignee | ||
Comment 26•7 years ago
|
||
Same block as TB/SM/Fx now
Attachment #8885880 -
Attachment is obsolete: true
Attachment #8885880 -
Flags: review?(jorgk)
Attachment #8892158 -
Flags: review?(jorgk)
Assignee | ||
Comment 27•7 years ago
|
||
r+ from IanN retained. Config changes removed as per bug 1381211 comment 2. Block with the ifdefs aligned with Fx and TB as per Jorgs comment.
Attachment #8885883 -
Attachment is obsolete: true
Attachment #8892159 -
Flags: review+
Assignee | ||
Comment 28•7 years ago
|
||
trailing blanks removed in suite installer as additional nitfix.
Attachment #8892160 -
Flags: review+
Comment 29•7 years ago
|
||
Pushed by frgrahl@gmx.net: https://hg.mozilla.org/comm-central/rev/da7456b68187 Add IA2Marshal and AccessibleHandler to SeaMonkey. r=IanN https://hg.mozilla.org/comm-central/rev/33bf974fa8f8 Remove trailing blanks from SeaMonkey installer file. rs=whitespace-only
Assignee | ||
Comment 30•7 years ago
|
||
Done for SeaMonkey (hopefully). Only IM left.
status-seamonkey2.53:
--- → fixed
Updated•7 years ago
|
Attachment #8892158 -
Flags: review?(jorgk) → review+
Updated•7 years ago
|
Keywords: leave-open
Comment 31•7 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/a5dcb54170ce Add IA2Marshal and AccessibleHandler to Instantbird. r=jorgk DONTBUILD
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Assignee: nobody → frgrahl
Target Milestone: --- → Thunderbird 56.0
You need to log in
before you can comment on or make changes to this bug.
Description
•