Closed
Bug 828116
Opened 12 years ago
Closed 12 years ago
move some toolkit modules to toolkit/modules
Categories
(Toolkit :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: Gavin, Assigned: ananuti)
Details
(Whiteboard: [mentor=gavin])
Attachments
(1 file, 6 obsolete files)
15.40 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
We have toolkit/modules now (bug 813833), so we should move PopupNotifications there.
Reporter | ||
Comment 1•12 years ago
|
||
There are a few of these, actually.
Summary: move PopupNotifications to toolkit/modules → move some toolkit modules to toolkit/modules
Reporter | ||
Comment 2•12 years ago
|
||
I think all of the jsms in toolkit/content could move to toolkit/modules, actually. Probably best to wait until after bug 784841 :)
Reporter | ||
Updated•12 years ago
|
Whiteboard: [mentor=gavin]
Comment 3•12 years ago
|
||
hi,
can you assign this bug to me ?
Reporter | ||
Comment 4•12 years ago
|
||
Sure thing! Let me know if you need any advice.
Assignee: nobody → harshit080
Comment 5•12 years ago
|
||
i had a look on toolkit/content there is PopupNotifications.jsm and some other jsm , so which files we suppose to move to toolkit/module, only PopupNotifications.jsm or all other jsm files ?, and as this is my first bug please guide me as you can.
Thanks
Reporter | ||
Comment 6•12 years ago
|
||
Yes, per comment 2 I think all of the JSM files in toolkit/content should move to toolkit/modules.
Comment 7•12 years ago
|
||
i have moved the all jsm files toolkit/modules from toolkit/content,what to do next in order to submit the bug ?
Status: NEW → ASSIGNED
Reporter | ||
Comment 8•12 years ago
|
||
You'll need to attach the patch here. See https://developer.mozilla.org/en-US/docs/Developer_Guide/How_to_Submit_a_Patch .
Comment 9•12 years ago
|
||
I'd like to add the modules currently living in toolkit/mozapps/shared to this along with the tests that go along with them please.
Comment 10•12 years ago
|
||
okay i have no problem,Gavin what to do ?Although i have created a patch of this bug.
Reporter | ||
Comment 11•12 years ago
|
||
I'm not sure which part you're unsure about. You'll need to add those changes to your patch, and then attach your patch to this bug and ask for review, as mentioned in comment 8.
Comment 12•12 years ago
|
||
Harsh, could you confirm that you're still working on this?
Flags: needinfo?(harshit080)
Updated•12 years ago
|
Assignee: harshit080 → nobody
Updated•12 years ago
|
Flags: needinfo?(harshit080)
![]() |
Assignee | |
Comment 13•12 years ago
|
||
Assignee: nobody → ananuti
Attachment #742670 -
Flags: review?(gavin.sharp)
![]() |
Assignee | |
Comment 14•12 years ago
|
||
Attachment #742671 -
Flags: feedback?(dtownsend+bugmail)
Reporter | ||
Comment 15•12 years ago
|
||
Thanks for the patch!
Any of the tests under toolkit/content/tests/ that are associated with these modules will need to move as well. Can you include those in the patch too?
![]() |
Assignee | |
Comment 16•12 years ago
|
||
Attachment #742670 -
Attachment is obsolete: true
Attachment #742670 -
Flags: review?(gavin.sharp)
Attachment #742880 -
Flags: feedback?(gavin.sharp)
![]() |
Assignee | |
Comment 17•12 years ago
|
||
Attachment #742671 -
Attachment is obsolete: true
Attachment #742671 -
Flags: feedback?(dtownsend+bugmail)
Attachment #742882 -
Flags: feedback?(dtownsend+bugmail)
Comment 18•12 years ago
|
||
Comment on attachment 742882 [details] [diff] [review]
part 2 take 2 - move modules in toolkit/mozapps/shared to toolkit/modules
Review of attachment 742882 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me!
Attachment #742882 -
Flags: feedback?(dtownsend+bugmail) → feedback+
Comment 19•12 years ago
|
||
Comment on attachment 742880 [details] [diff] [review]
part 1 take 2 - move all jsms in toolkit/content to toolkit/modules
Review of attachment 742880 [details] [diff] [review]:
-----------------------------------------------------------------
Looking good. Make the changes here and make sure that all the tests pass before asking for final review. You might as well combine both the patches into one review request. Me or gavin is fine as reviewer.
::: toolkit/content/Makefile.in
@@ -50,5 @@
> DEFINES += -DMOZ_TOOLKIT_SEARCH
> endif
>
> EXTRA_JS_MODULES = \
> debug.js \
Take debug.js along as well I think
::: toolkit/modules/Makefile.in
@@ +25,4 @@
> TelemetryTimestamps.jsm \
> Timer.jsm \
> + PrivateBrowsingUtils.jsm \
> + Sqlite.jsm \
Can you put these in alphabetical order
::: toolkit/modules/tests/xpcshell/xpcshell.ini
@@ +6,3 @@
> [test_newtab-migrate-v1.js]
> [test_Preferences.js]
> +[test_propertyListsUtils.js]
Looks like you haven't moved the toolkit/content/tests/unit/propertyLists files that the test_propertyListsUtils test relies on.
Attachment #742880 -
Flags: feedback?(gavin.sharp) → feedback+
![]() |
Assignee | |
Comment 20•12 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #19)
> ::: toolkit/content/Makefile.in
> @@ -50,5 @@
> > DEFINES += -DMOZ_TOOLKIT_SEARCH
> > endif
> >
> > EXTRA_JS_MODULES = \
> > debug.js \
>
> Take debug.js along as well I think
Done.
>
> ::: toolkit/modules/Makefile.in
> @@ +25,4 @@
> > TelemetryTimestamps.jsm \
> > Timer.jsm \
> > + PrivateBrowsingUtils.jsm \
> > + Sqlite.jsm \
>
> Can you put these in alphabetical order
Done.
>
> ::: toolkit/modules/tests/xpcshell/xpcshell.ini
> @@ +6,3 @@
> > [test_newtab-migrate-v1.js]
> > [test_Preferences.js]
> > +[test_propertyListsUtils.js]
>
> Looks like you haven't moved the toolkit/content/tests/unit/propertyLists
> files that the test_propertyListsUtils test relies on.
Done.
Attachment #742880 -
Attachment is obsolete: true
Attachment #742882 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 21•12 years ago
|
||
Try build are burning https://tbpl.mozilla.org/?tree=Try&rev=c07db255caa3
I don't quite understand the log. What should I do next?
Flags: needinfo?(gavin.sharp)
![]() |
Assignee | |
Comment 22•12 years ago
|
||
pushed only path 1 (move all jsms in toolkit/content to toolkit/modules) to try https://tbpl.mozilla.org/?tree=Try&rev=32110953e25e
![]() |
Assignee | |
Comment 23•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=f4bb5cb74c73
the patch breaks several things. please let me know what to do next.
Attachment #747244 -
Attachment is obsolete: true
Comment 24•12 years ago
|
||
(In reply to Ekanan Ketunuti from comment #21)
> Try build are burning https://tbpl.mozilla.org/?tree=Try&rev=c07db255caa3
>
> I don't quite understand the log. What should I do next?
The error here is: *** Must define relativesrcdir when defining XPCSHELL_TESTS.. Stop.
You need to add relativesrcdir to toolkit/modules/Makefile.in, look elsewhere in the source for examples.
(In reply to Ekanan Ketunuti from comment #23)
> Created attachment 747352 [details] [diff] [review]
> fold patch
>
> https://tbpl.mozilla.org/?tree=Try&rev=f4bb5cb74c73
>
> the patch breaks several things. please let me know what to do next.
The errors show lots of references to Services.search being undefined. If you look in Services.jsm you'll see that the search property is dependant on MOZ_TOOLKIT_SEARCH. Searching the source for that shows that it is added as a definition for the preprocessor here: http://mxr.mozilla.org/mozilla-central/source/toolkit/content/Makefile.in#49. So you need to move that block to toolkit/modules/Makefile.in.
Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(gavin.sharp)
![]() |
Assignee | |
Comment 25•12 years ago
|
||
this is now green on try :)
https://tbpl.mozilla.org/?tree=Try&rev=8c2d202685bb
Attachment #747352 -
Attachment is obsolete: true
Attachment #747885 -
Flags: review?(dtownsend+bugmail)
Comment 26•12 years ago
|
||
Comment on attachment 747885 [details] [diff] [review]
Move modules in toolkit/content and toolkit/mozapps/shared to toolkit/modules
Excellent work, thanks!
Attachment #747885 -
Flags: review?(dtownsend+bugmail) → review+
Comment 27•12 years ago
|
||
Target Milestone: --- → mozilla24
Comment 28•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•