Closed
Bug 873230
Opened 12 years ago
Closed 12 years ago
Put duplicate xml files for preferences in xml/ and xml-v11/
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: liuche, Assigned: liuche)
Details
Attachments
(1 file, 2 obsolete files)
7.72 KB,
patch
|
Details | Diff | Splinter Review |
This is a quick band-aid until bug 872754 can get fixed. Separating files by name will make things at least slightly cleaner and more obvious what needs to be changed.
Assignee | ||
Comment 1•12 years ago
|
||
This patch splits the xml files into xml/ and xml-v11/ and removes the stupid naming of *_nonfragment!
This does not incorporate the changes in bug 872504, so it will need one more pass once that is landed.
This still leaves 3 xml files, but at least it's slightly clearer that there are duplicates between fragment/non-fragment layouts. And one of the duplicates should go away soon (Bug 872754).
Attachment #750671 -
Flags: feedback?(wjohnston)
Assignee | ||
Updated•12 years ago
|
OS: Mac OS X → Android
Hardware: x86 → ARM
Assignee | ||
Comment 2•12 years ago
|
||
Sorry, the decrease from triplicate to duplicate of xml files refers to bug 872329 (not 872754). Basically, this combines the tablet UI with the v11+ phone UI (instead of having two separate Fragment layouts to maintain).
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → liuche
Comment 3•12 years ago
|
||
Comment on attachment 750671 [details] [diff] [review]
Patch: Move files into xml/ and xml-v11/
Review of attachment 750671 [details] [diff] [review]:
-----------------------------------------------------------------
This seems like a good reorganization to me, and I like having two preferences_main.
Attachment #750671 -
Flags: feedback?(wjohnston) → feedback+
Assignee | ||
Comment 4•12 years ago
|
||
Updated to include the titlebar fix in the newly added files, and running a try build for testing.
Attachment #750671 -
Attachment is obsolete: true
Attachment #751253 -
Flags: review?(wjohnston)
Assignee | ||
Updated•12 years ago
|
Attachment #751253 -
Flags: review?(wjohnston) → review?(margaret.leibovic)
Comment 5•12 years ago
|
||
Comment on attachment 751253 [details] [diff] [review]
Patch: Move files into xml/ and xml-v11/ v2
I think wesj is a better reviewer for this.
Two nits to make reviewing easier: You should use 8-line context for diffs, and if these files are just being moved, you should use hg rename for that (I believe that makes a better looking diff, which may preserve history as well).
Attachment #751253 -
Flags: review?(margaret.leibovic) → review?(wjohnston)
Comment 6•12 years ago
|
||
Comment on attachment 751253 [details] [diff] [review]
Patch: Move files into xml/ and xml-v11/ v2
Review of attachment 751253 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/resources/xml-v11/preference_headers.xml
@@ +1,2 @@
> +<?xml version="1.0" encoding="utf-8"?>
> +<!-- This Source Code Form is subject to the terms of the Mozilla Public
Margaret mentioned that maybe you'd be better to hg move these. Of course they've only existed for a few weeks, so there's not much hg blame to preserve, but still... ?
::: mobile/android/base/resources/xml/preferences_main.xml.in
@@ +1,2 @@
> +#filter substitution
> +<?xml version="1.0" encoding="utf-8"?>
I'd rather name this preferences.xml.in.
Attachment #751253 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Patch using hg rename, and renamed preferences_main.xml* to preferences.xml*.
Will land once passes tests on try.
Attachment #751253 -
Attachment is obsolete: true
Assignee | ||
Comment 8•12 years ago
|
||
Target Milestone: --- → Firefox 24
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•