gazhay / accountcolors

Fork of the Account Colors add-on for Thunderbird
Mozilla Public License 2.0
6 stars 5 forks source link

Thunderbird 115 Supernova support #4

Closed Vigilans closed 9 months ago

Vigilans commented 9 months ago

Changes can be summarized through the commit messages:

3213574 Upgrade WindowListener api to version 1.62 (version 1.58 required for supernova)
84f0acb Remove `promptService` field 
  * "@mozilla.org/embedcomp/prompt-service;1" is renamed to "@mozilla.org/prompter;1" in supernova 
  * `promptService` is never used in source code
806c1e0 Add max retry to accountColors3Pane.onLoad checkReady function
0c0ed75 Move thunderbirdVersion info to `accountcolors.utilities.js` 
  * Old logic fixed thunderbird version to 68, making it unusable. `getThunderbirdVersion` is taken from `WindowListener` api implementation
fe1a245 Fix composewindow from address frontground coloring
847469d Fix composewindow `msgheaderstoolbar-box` element coloring
6ca1c09 Default font/bkgd color should be taken from thunderbird  current theme 
  * Default color setting in preference is disabled, so elements will follow their context value. 
  * `Retain default light/dark background if White selected` option is hidden, as it does not provide sensible behavior after this commit.
c8005d6 Fix insertion of `Account Colors Options` menubar item and url used in `cmdOptions` callback
f3b709e Fix support up to thunderbird version 115 for messagewindow
c6fd6b6 Fix options page width and height UI logic 
  * Lines and borders in x axis will not overflow now 
  * Flexbox in y axis will grow and shrink with dialog height now
91f2d28 Fix dark mode support for options page
bb42c16 Fix composewindow css styles
cbbf4c7 Move messagewindow rendering logic out to directly inject to about:message page
25e953f Refactor 3panewindow code and rename it to messengerwindow
92f20e1 Implement about:3pane handling for thunderbird 115 new mail frontend
e858eda Allow more retries during fully load test in WindowListener API 
  * Since initial `about:3pane` loading may take more than 20*50ms = 1 second time
e855484 Disable `Reinstate default hover and select styles` on thunderbird version 115 
  * As it is always enabled and strictly stick to system default
c29507e Migrate legacy 3panewindow coloring code to about3pane.js 
  * The actually used `accountColorsAbout3Pane` object is determined by thunderbird version
57cf450 Observe colored elements in aboutmessage and reply colors when style change 
  * So to be compatible with compact headers addon

Closes https://github.com/gazhay/accountcolors/issues/3