Calendar/Lightning still uses XUL overlays internally
Categories
(Calendar :: General, task)
Tracking
(Not tracked)
People
(Reporter: worcester12345, Assigned: pmorris)
References
Details
Attachments
(10 files, 2 obsolete files)
|
16.03 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
106.75 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
|
57.01 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
|
31.63 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
22.00 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
17.98 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
28.03 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
93.89 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
23.49 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
|
2.64 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
| Reporter | ||
Updated•6 years ago
|
| Reporter | ||
Comment 1•6 years ago
|
||
Is it time to start working on these?
| Assignee | ||
Comment 2•6 years ago
|
||
Work on removing overlay use by calendar should happen in two phases:
- Removing the overlays that calendar is using internally.
- Integrating calendar into Thunderbird so we no longer use overlays to add calendar to Thunderbird's UI.
I'm going to use this bug for the first phase, which can be an early step on the path to integrating calendar into Thunderbird. We can open a separate bug for the second phase if needed when the time comes. (That will be either bug 1508119 or a sub-bug.)
| Assignee | ||
Comment 3•6 years ago
|
||
1 of 2: de-overlay/inline the calendar-common-sets.xul file.
| Assignee | ||
Comment 4•6 years ago
|
||
2 of 2: Since there won't be a calendar-common-sets.xul file, rename the calendar-common-sets.js file to make more sense. (And also move a misplaced minimonth function that wasn't supposed to be in that file, while we're at it.)
| Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 6•6 years ago
|
||
Thanks for review. Setting the 'leave-open' flag, plan to use this bug for all these de-overlay patches.
| Assignee | ||
Comment 7•6 years ago
|
||
Review comments addressed. Tests passed locally. Try run:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d78ffee134bccb55ea0e269a96d12d72ab3318c5
| Assignee | ||
Comment 8•6 years ago
|
||
Try run looks OK. checkin-needed for part1 and part2.
| Assignee | ||
Comment 9•6 years ago
|
||
part3 - Inlines the today-pane.xul file.
Comment 10•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/454c16bf090d
Inline the calendar-common-sets.xul overlay file. r=darktrojan
https://hg.mozilla.org/comm-central/rev/e0e759a38367
Convert calendar-common-sets.js to calendar-command-controller.js. r=darktrojan
| Assignee | ||
Comment 11•6 years ago
•
|
||
Here is a categorization of all the overlay files in Calendar, to give an overview of the scope of this bug and to help with the various integration questions.
FILES TO INLINE (the work of this bug):
caldav-lightning-calendar-creation.xul (inlined in bug 1586371)
caldav-lightning-calendar-properties.xul (inlined in bug 1568660)
calendar-common-sets.xul
calendar-task-view.xul
calendar-unifinder.xul
calendar-views.xul
lightning-calendar-creation.xul (inlined in bug 1586371)
lightning-calendar-properties.xul (inlined in bug 1568660)
lightning-menus.xul
lightning-toolbar.xul
today-pane.xul
FILES THAT OVERLAY MORE THAN ONE CALENDAR FILE (also this bug):
lightning-item-toolbar.xul (two calendar files)
FILES THAT OVERLAY TB FILES:
lightning-item-panel.xul
lightning-migration.xul (Still needed? It's from September 2008.) (removed in bug 1594581)
messenger-overlay-accountCentral.xul
messenger-overlay-messageWindow.xul
messenger-overlay-sidebar.xul
imip-bar-overlay.xul (a TB file and a calendar file)
messenger-overlay-preferences.xul (a TB file and a suite file)
FILES THAT ARE SUITE RELATED (e.g. THAT OVERLAY SUITE FILES):
suite-overlay-preferences.xul
suite-overlay-addons.xul
suite-overlay-sidebar.xul (overlays messenger-overlay-sidebar.xul)
Comment 12•6 years ago
|
||
| Assignee | ||
Comment 13•6 years ago
|
||
Thanks for the review and for catching the indentation thing. My editor is not as smart as it thinks it is when re-indenting blocks of XML. Would that we had auto-formatters for that.
| Assignee | ||
Comment 14•6 years ago
|
||
checkin-needed for part3, assuming no issues in the try run.
Comment 15•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/58c9543097ad
Inline the today-pane.xul overlay file. r=darktrojan
| Assignee | ||
Comment 16•6 years ago
|
||
part4 - Inline calendar-task-view.xul
| Assignee | ||
Comment 17•6 years ago
|
||
part5 - Inline calendar-unifinder.xul
Try run for parts 4 and 5:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e04366d957d47d623a3084d1d06298caed452ac6
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 18•6 years ago
|
||
part4 and part5 ready for checking in.
Comment 19•6 years ago
|
||
Thanks. Leaving this for landing in ~6 hours. I need to spread out the patches I have.
Comment 20•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/9088ce19d9d4
Inline the calendar-task-view.xul overlay file. r=darktrojan
https://hg.mozilla.org/comm-central/rev/7edaf5c980d3
Inline the calendar-unifinder.xul overlay file. r=darktrojan
| Assignee | ||
Comment 21•6 years ago
|
||
part6 - calendar-views.xul
Updated•6 years ago
|
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/029af9f181ab
Inline the calendar-views.xul overlay file. r=darktrojan
| Assignee | ||
Comment 23•6 years ago
|
||
part7 - calendar-toolbar.xul - Even though messenger.xul has chrome://branding/locale/brand.dtd I got a XML parsing error if it wasn't added to the messenger-overlay-sidebar.xul file here. The &brandShortName; in this line was causing the error:
<!ENTITY lightning.toolbar.appmenuButton1.tooltip "Display the &brandShortName; Menu">
| Assignee | ||
Comment 24•6 years ago
|
||
part8 - lightning-menus.xul
Try run for parts 7 and 8:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b593cd02fdf6467c3d7f59e826af3b0eafc22362
Updated•6 years ago
|
Comment 25•6 years ago
|
||
Comment 27•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/aa5d53e8d88c
Inline the lightning-toolbar.xul overlay file. r=darktrojan
Updated•6 years ago
|
Comment 28•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/20c8f5c7d6e5
Inline the lightning-menus.xul overlay file. r=darktrojan
| Assignee | ||
Comment 29•6 years ago
|
||
Part 9 - This one is used in two places so convert it to being included by the pre-processor (rather than just inlining it). Try run:
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 30•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/f5895f13fccb
De-overlay the lightning-item-toolbar.xul file. r=darktrojan
| Assignee | ||
Comment 31•6 years ago
|
||
part 10 - There were a couple of overlay directives left over from the two XUL files that were deleted (inlined) in bug 1586371.
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Comment 32•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e4f02a3ecd47
Remove left-over overlay directives from bug 1586371. r=darktrojan
| Assignee | ||
Comment 33•6 years ago
|
||
All the overlays internal to calendar are now inlined or included by pre-processing, so it's time to close this bug.
I'll open a separate bug for dealing with the suite (seamonkey) related overlays:
- suite-overlay-preferences.xul
- suite-overlay-addons.xul
- suite-overlay-sidebar.xul (overlays messenger-overlay-sidebar.xul)
That leaves the files that overlay TB files that will be handled as part of the integration effort.
- lightning-item-panel.xul
- messenger-overlay-accountCentral.xul
- messenger-overlay-messageWindow.xul
- messenger-overlay-sidebar.xul
- imip-bar-overlay.xul (a TB file and a calendar file)
- messenger-overlay-preferences.xul (a TB file and a suite file)
Updated•6 years ago
|
Description
•