Closed
Bug 696159
Opened 13 years ago
Closed 13 years ago
Remove some deprecated code from Places
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla11
Tracking | Status | |
---|---|---|
firefox10 | --- | unaffected |
People
(Reporter: mak, Assigned: mak)
References
Details
(Keywords: addon-compat, dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
25.64 KB,
patch
|
asa
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
We can remove some deprecated or unused code.
Assignee | ||
Comment 1•13 years ago
|
||
I was hoping to remove more, we have far more useless stuff, but that would be too much time consuming atm, so for now let's just remove this stuff, deprecated from quite some releases.
I did not touch old GUID APIs since XMarks is still using them and we are not yet providing alternatives (unless they manually query the db or base the addon on notifications, sync does the latter). It's likely they need a rewrite, should be contacted.
I'll then try to file bugs for the various removals we could do and tag them with some whiteboard entry.
Attachment #568566 -
Flags: review?(dietrich)
Assignee | ||
Updated•13 years ago
|
Flags: in-testsuite-
Keywords: addon-compat
Updated•13 years ago
|
Attachment #568566 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 568566 [details] [diff] [review]
patch v1.0
asking SR for the deprecated method removal from the results interface.
Attachment #568566 -
Flags: superreview?(robert.bugzilla)
Comment 3•13 years ago
|
||
Comment on attachment 568566 [details] [diff] [review]
patch v1.0
I'm a tad buried right now and I'm hoping you could provide the reason for the change to removed-files.in so I don't have to figure it out. ;)
>diff --git a/browser/installer/removed-files.in b/browser/installer/removed-files.in
>--- a/browser/installer/removed-files.in
>+++ b/browser/installer/removed-files.in
>@@ -992,17 +992,16 @@ xpicleanup@BIN_SUFFIX@
> modules/services-sync/type_records/passwords.js
> modules/services-sync/type_records/prefs.js
> modules/services-sync/type_records/tabs.js
> modules/services-sync/util.js
> modules/stylePanel.jsm
> modules/tabview/AllTabs.jsm
> modules/tabview/groups.jsm
> modules/tabview/utils.jsm
>- modules/utils.js
> modules/WindowDraggingUtils.jsm
> #ifdef XP_WIN
> modules/WindowsJumpLists.jsm
> modules/WindowsPreviewPerTab.jsm
> #endif
> modules/XPCOMUtils.jsm
> modules/XPIProvider.jsm
> res/contenteditable.css
>@@ -1385,8 +1384,9 @@ extensions/inspector@mozilla.org/chrome/
> extensions/inspector@mozilla.org/defaults/preferences/inspector.js
> extensions/inspector@mozilla.org/platform/WINNT/chrome/icons/default/winInspectorMain.ico
> extensions/inspector@mozilla.org/components/inspector.xpt
> extensions/inspector@mozilla.org/components/@DLL_PREFIX@inspector@DLL_SUFFIX@
> extensions/inspector@mozilla.org/chrome/icons/default/winInspectorMain.ico
> components/nsPlacesTransactionsService.js
> components/browserplaces.xpt
> components/nsPlacesDBFlush.js
>+modules/utils.js
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Robert Strong [:rstrong] (do not email) from comment #3)
> Comment on attachment 568566 [details] [diff] [review] [diff] [details] [review]
> patch v1.0
>
> I'm a tad buried right now and I'm hoping you could provide the reason for
> the change to removed-files.in so I don't have to figure it out. ;)
utils.js is a compatibility mock we left in for compatibility reasons, it just forwards to PlacesUtils.jsm. So I would like to remove it after 6 releases. I moved it from the ifdef OMNIJAR to the global position, since it should be removed in both cases.
Comment 5•13 years ago
|
||
Comment on attachment 568566 [details] [diff] [review]
patch v1.0
Please add it after modules/JSON.jsm instead of at the end of removed-files.in
modules/JSON.jsm
+ modules/utils.js
Attachment #568566 -
Flags: superreview?(robert.bugzilla) → superreview+
Assignee | ||
Comment 6•13 years ago
|
||
addressed comment
Attachment #568566 -
Attachment is obsolete: true
Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Assignee | ||
Updated•13 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 9•13 years ago
|
||
Comment on attachment 568864 [details] [diff] [review]
patch v1.1
This caused regressions that make harder to use the bookmarks dialogs, I'm fixing those in bug 702081, but I'd want to backout this from Aurora since I don't want to backport the fixes to limit the risk.
So, asking approval for backout.
Attachment #568864 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #568864 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 10•13 years ago
|
||
backed out from Aurora
https://hg.mozilla.org/releases/mozilla-aurora/rev/7e62f3dbd056
status-firefox10:
--- → unaffected
Target Milestone: mozilla10 → mozilla11
Comment 12•13 years ago
|
||
Comment 13•13 years ago
|
||
And also updated https://developer.mozilla.org/en/nsINavHistoryResultObserver
Assignee | ||
Comment 14•13 years ago
|
||
(In reply to Eric Shepherd [:sheppy] from comment #11)
> Is this going to re-land?
not on mozilla 10 obviously, though it's fixed from 11 on.
You need to log in
before you can comment on or make changes to this bug.
Description
•