Closed
Bug 288313
Opened 19 years ago
Closed 19 years ago
Hook up connection/proxy prefs to Sunbird
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sipaq, Assigned: sipaq)
References
(Depends on 1 open bug)
Details
Attachments
(3 files, 8 obsolete files)
8.90 KB,
text/plain
|
sipaq
:
first-review+
mvl
:
second-review+
|
Details |
7.42 KB,
text/plain
|
sipaq
:
first-review+
mvl
:
second-review+
|
Details |
10.42 KB,
patch
|
sipaq
:
first-review+
mvl
:
second-review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•19 years ago
|
||
This is the patch, it needs four other files (preferences.properties, connection.xul, connection.js and xonnection.dtd) to be fully functional. I will attach these files shortly after this patch.
Attachment #179063 -
Flags: first-review?(mostafah)
Assignee | ||
Comment 2•19 years ago
|
||
This needs to go into mozilla/calendar/resources/content/pref
Assignee | ||
Comment 3•19 years ago
|
||
This needs to go into mozilla/calendar/resources/content/pref
Assignee | ||
Comment 4•19 years ago
|
||
This needs to go into mozilla/calendar/resources/locale/en-US/
Assignee | ||
Comment 5•19 years ago
|
||
This needs to go into mozilla/calendar/resources/locale/en-US/
Comment 6•19 years ago
|
||
r+ for all the files being added. The patch is a bit out of date because jar.mn has changed since but the change seems to be easy to fix. sipaq: If you won't mind updating the patch, please do so and I will r+ it right after.
Assignee | ||
Comment 7•19 years ago
|
||
Mostafah, thanks for the review. I will update the patch on Friday, when I'm at my developing machine.
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•19 years ago
|
||
Updated patch
Attachment #179063 -
Attachment is obsolete: true
Attachment #180076 -
Flags: first-review?(mostafah)
Comment 9•19 years ago
|
||
Comment on attachment 180076 [details] [diff] [review] Patch v2 r=mostafah I agree that this should go into the tree until the proxy settings move to toolkit so I r+ it. However this is going to benefit only sunbird and be just a burden to the extension or lightning. In case there is a voice among the developers that doesn't agree I would prefer to have a second review before checking in.mvl would you mind doing the second review please?
Attachment #180076 -
Flags: second-review?(mvl)
Attachment #180076 -
Flags: first-review?(mostafah)
Attachment #180076 -
Flags: first-review+
Comment 10•19 years ago
|
||
I wonder how much work it would be to not copy those files into calendar, but into toolkit.
Comment 11•19 years ago
|
||
Comment on attachment 179065 [details] connection.xul > <preferences> > <preference id="network.proxy.type" name="network.proxy.type" type="int" onchange="gConnectionsDialog.proxyTypeChanged();"/> Is it a good iea to mix old style prefwindows with newstyle? Should we update the sunbird prefwindow first? Also, how much work would it to just move the files into toolkit? If it is just asmuch work as copying into sunbird, why not do the right thing?
Assignee | ||
Comment 12•19 years ago
|
||
(In reply to comment #11) > Is it a good idea to mix old style prefwindows with newstyle? Should we update > the sunbird prefwindow first? You're right, it isn't a good idea. From my perspective it would be better if we could move to the newstyle prefwindows alltogether, but I'm not up to that task. What I can do though, is trying to hook up the old proxy-pref-window to Sunbird. So I'm gonna need a decision from you (mvl) and Mostafah. I have a long weekend ahead and can put some time into this, but I would prefer working on something that you actually want. > Also, how much work would it to just move the files into toolkit? If it is > just as much work as copying into sunbird, why not do the right thing? If we decide to use the newstyle prefwindows, I would suggest moving the proxy prefs to Toolkit. It is just as much work as copying into Sunbird.
Assignee | ||
Comment 13•19 years ago
|
||
New patch using the oldstyle prefwindow files connectionPrefs.xul and connectionsPrefs.js, which I will add separately. Carrying over review+ by Mostafah
Attachment #179065 -
Attachment is obsolete: true
Attachment #179066 -
Attachment is obsolete: true
Attachment #179067 -
Attachment is obsolete: true
Attachment #179068 -
Attachment is obsolete: true
Attachment #180076 -
Attachment is obsolete: true
Attachment #182698 -
Flags: second-review?(mvl)
Attachment #182698 -
Flags: first-review+
Assignee | ||
Updated•19 years ago
|
Attachment #180076 -
Flags: second-review?(mvl)
Assignee | ||
Updated•19 years ago
|
Attachment #179063 -
Flags: first-review?(mostafah)
Assignee | ||
Comment 14•19 years ago
|
||
This will have to go into mozilla/calendar/sunbird/base/content/pref/
Attachment #182699 -
Flags: second-review?(mvl)
Attachment #182699 -
Flags: first-review+
Assignee | ||
Comment 15•19 years ago
|
||
This will have to go into mozilla/calendar/sunbird/base/content/pref/
Attachment #182700 -
Flags: second-review?(mvl)
Attachment #182700 -
Flags: first-review+
Comment 16•19 years ago
|
||
Comment on attachment 182698 [details] [diff] [review] Patch v3 r=mvl, but instead of adding the locale files in the shared resources/jar.mn, they should be added in the sunbird jar.mn
Attachment #182698 -
Flags: second-review?(mvl) → second-review+
Comment 17•19 years ago
|
||
Comment on attachment 182698 [details] [diff] [review] Patch v3 actually, this is wrong. It will make the button for the connection prefs show up in every app, while it should only show up for sunbird. I think this can be solved by using a overlay that's only build by sunbird.
Attachment #182698 -
Flags: second-review+ → second-review-
Assignee | ||
Comment 18•19 years ago
|
||
(In reply to comment #16) > (From update of attachment 182698 [details] [diff] [review] [edit]) > r=mvl, but instead of adding the locale files in the shared resources/jar.mn, > they should be added in the sunbird jar.mn Excuse me, but how do I do that? As far as I know, I can only include files in or below the directory of the jar.mn file into the jar file. Should I move the locale files into calendar/sunbird/base/locale? IIRC in a IRC discussion with you, shaver and me we decided that it was ok to leave these files in resources/locale. The only thing possible from my point of view would be to #ifdef MOZ_SUNBIRD these entries in resources/jar.mn
Assignee | ||
Comment 19•19 years ago
|
||
(In reply to comment #17) > (From update of attachment 182698 [details] [diff] [review] [edit]) > actually, this is wrong. It will make the button for the connection prefs show > up in every app, while it should only show up for sunbird. > I think this can be solved by using a overlay that's only build by sunbird. Should we really use an overlay just for this? Wouldn't an #ifdef MOZ_SUNBIRD be enough?
Comment 20•19 years ago
|
||
(In reply to comment #18) > Should I move the locale files into calendar/sunbird/base/locale? Yeah, i think that would work. I don't see why not. (And i can't remember the discussion. What were the reasons to put them in the shared location?) (In reply to comment #19) > Should we really use an overlay just for this? Wouldn't an #ifdef MOZ_SUNBIRD be > enough? That would work, but i'm generally not to happy about ifdefs. But since this is supposed to be temporary (file a followup bug!), it's ok with me.
Assignee | ||
Comment 21•19 years ago
|
||
New patch with review comments fixed.
Attachment #182698 -
Attachment is obsolete: true
Attachment #182967 -
Flags: second-review?(mvl)
Attachment #182967 -
Flags: first-review+
Updated•19 years ago
|
Attachment #182699 -
Flags: second-review?(mvl) → second-review+
Updated•19 years ago
|
Attachment #182700 -
Flags: second-review?(mvl) → second-review+
Comment 22•19 years ago
|
||
Comment on attachment 182967 [details] [diff] [review] Patch v4 jar.mn: >+#ifdef MOZ_SUNBIRD >+endif You missed an # there. And in the other places where you used #ifdef.
Attachment #182967 -
Flags: second-review?(mvl) → second-review-
Assignee | ||
Comment 23•19 years ago
|
||
Attachment #182967 -
Attachment is obsolete: true
Attachment #183528 -
Flags: second-review?(mvl)
Attachment #183528 -
Flags: first-review+
Comment 24•19 years ago
|
||
Comment on attachment 183528 [details] [diff] [review] Patch v5 r=mvl, with the exception of thos dos line endings that sneaked in.
Attachment #183528 -
Flags: second-review?(mvl) → second-review+
Comment 25•19 years ago
|
||
patch and files checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 26•19 years ago
|
||
Getting a compile error on Win32/MinGW/cygwin error: file '/cygdrive/e/mozilla/source/mozilla/calendar/resources/locale/en-US/ connectionPrefs.dtd' doesn't exist at /cygdrive/e/mozilla/source/mozilla/config/ make-jars.pl line 428. make[4]: *** [libs] Error 2
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 27•19 years ago
|
||
mvl, somehow the patch you applied didn't create connectionPrefs.dtd and prefutilities.properties. Both files haven't been checked in, which obviously breaks the build.
Comment 28•19 years ago
|
||
added missing files.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 29•19 years ago
|
||
*** Bug 230698 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 30•19 years ago
|
||
*** Bug 281603 has been marked as a duplicate of this bug. ***
Comment 31•19 years ago
|
||
*** Bug 310224 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•19 years ago
|
QA Contact: gurganbl → sunbird
Assignee | ||
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
Version: Sunbird 0.2RC2 → Sunbird 0.2
You need to log in
before you can comment on or make changes to this bug.
Description
•