Closed
Bug 1418512
Opened 7 years ago
Closed 7 years ago
Move xpfe autocomplete component to comm-central suite
Categories
(SeaMonkey :: Location Bar, enhancement)
SeaMonkey
Location Bar
Tracking
(seamonkey2.56 fixed)
RESOLVED
FIXED
seamonkey2.56
Tracking | Status | |
---|---|---|
seamonkey2.56 | --- | fixed |
People
(Reporter: frg, Assigned: frg)
References
(Blocks 1 open bug)
Details
(Whiteboard: SM2.53.17)
User Story
See also Bug 1288981 but I changed the procedure a little script copyfrommc.sh 1.) Create a temporary repo autocomplete 2.) Use hg convert with filemap autocomplete.map to fill the temporary repo with the contents of xpfe/components/autocomplete. Rename to suite/common/autocomplete in the repo. This took a looong time. 3.) switch to target comm-central repo for the push 4.) run repo_copy.sh and splice the temporary repo into the comm-central repo. Very fast so comm-central does not need to be closed for pushes. Can be repeated. Use autocomplete-tgt.map as a map but this can probably be omitted because no rename neccessary.
Attachments
(6 files, 3 obsolete files)
+++ This bug was initially created as a clone of Bug #1417119 +++
The autocomplete bindings and associated CSS in xpfe/components/autocomplete/ are used in mozilla-central, but they are used in comm-central suite and owned by suite. I suggest we move the code from m-c to c-c.
Thread: https://groups.google.com/d/msg/mozilla.dev.platform/EoJkW2qQIQQ/ao71CndwBwAJ
This is only used for the location bar in SeaMonkey. Everything else should use the toolkit autocomplete.
Comment 1•7 years ago
|
||
Well, Open web location use it and IIRC it's used in composer/mailnews too.
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee: nobody → frgrahl
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Ian the resulting temporary repo is about 10 MB in size. Do you think other paths should be exported too. Do you agree with the procedure or would you like to do it as in bug 1288981?
User Story: (updated)
Flags: needinfo?(iann_bugzilla)
Assignee | ||
Comment 7•7 years ago
|
||
Result of hg convert for testing only.
Assignee | ||
Comment 8•7 years ago
|
||
Actual patch to make this work in SeaMonkey. Should we move it from global to communicator?
Assignee | ||
Comment 9•7 years ago
|
||
Result of hg convert for testing only.
Attachment #8929833 -
Attachment is obsolete: true
Comment 10•7 years ago
|
||
If possible I would want to flatten the structure (i.e. remove the resources/content) so that everything is sitting in suite/common/autocomplete
(In reply to Frank-Rainer Grahl (:frg) from comment #8)
> Created attachment 8929834 [details] [diff] [review]
> 1418512-wip.patch
>
> Actual patch to make this work in SeaMonkey. Should we move it from global
> to communicator?
Where do our other common bindings live? Consistency if there is any.
Flags: needinfo?(iann_bugzilla)
Assignee | ||
Comment 11•7 years ago
|
||
Did a final rename in the patch. I think it is better if only the final 2 files are moved after the history is imported. Otherwise just let me know.
I think the locations are fine now. Some global bindings are in common/bindings but the specific ones are in the subdirs.
Stefan what do you think?
Attachment #8929834 -
Attachment is obsolete: true
Attachment #8930244 -
Flags: review?(iann_bugzilla)
Attachment #8930244 -
Flags: feedback?(stefanh)
Comment 12•7 years ago
|
||
Comment on attachment 8930244 [details] [diff] [review]
1418512-autocomplete-finish.patch
It's either common/autocomplete or common/bindings. But, as you say, this one is specific and it has it's own css file, so I think common/autocomplete makes sense.
But why don't you use the jar.mn file in common/?
Attachment #8930244 -
Flags: feedback?(stefanh) → feedback+
Comment 13•7 years ago
|
||
Comment on attachment 8930244 [details] [diff] [review]
1418512-autocomplete-finish.patch
Agreed, shouldn't need a separate jar.mn
r=me with that addressed
Attachment #8930244 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 14•7 years ago
|
||
patch with jar.mn and moz.build removed. r+ from IanN and f+ from stefanh retained.
Ok with me putting it and the autocomplete history in the tree?
Attachment #8930244 -
Attachment is obsolete: true
Flags: needinfo?(iann_bugzilla)
Attachment #8931033 -
Flags: review+
Attachment #8931033 -
Flags: feedback+
Flags: needinfo?(iann_bugzilla)
Summary: Move xpfe autocomplete component too comm-central suite → Move xpfe autocomplete component to comm-central suite
Comment 15•7 years ago
|
||
Go for it!
Comment 16•7 years ago
|
||
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b7db773f2a43
Move xpfe autocomplete to comm-central suite. r=IanN
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•7 years ago
|
status-seamonkey2.56:
--- → fixed
Target Milestone: --- → Seamonkey2.56
Assignee | ||
Comment 17•7 years ago
|
||
https://hg.mozilla.org/comm-central/pushloghtml?changeset=85eb5dd6d56ac9bef58264480fd924c8ef190b97
Pulsebot updated the bugs in the history. Thankfully only "147" changesets. If we do this again we need to turn off pulsebot before the push.
You need to log in
before you can comment on or make changes to this bug.
Description
•