Closed Bug 281172 Opened 20 years ago Closed 19 years ago

DCC longs for its own preferences

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: bugzilla-mozilla-20000923)

References

(Blocks 1 open bug)

Details

(Whiteboard: [cz-need-patch][cz-0.9.68.2])

Attachments

(1 file, 4 obsolete files)

We've had DCC stuff for a while now, but we still don't actually have any
preferences for it! The most important one being DCC Chat, and the charset thereof.

Stuff coming up.
*** Bug 290076 has been marked as a duplicate of this bug. ***
Whiteboard: [0.9.68.2]
Blocks: 299458
Whiteboard: [0.9.68.2] → [cz-need-patch][cz-0.9.68.2]
Status: NEW → ASSIGNED
Patch again taken from cz 0.9.68.2. More fixes may follow.

Note that there is hardly any interface to change these preferences (bad).
I smell a deja-vu easy fix for cmdPref (I did a similar fix for my first ever
patch for CZ to get people to access plugin prefs). That's something for
another followup patch. I'm obsoleting the half-done patch on the tracker bug
because it's superseded by this one.

Again, work done by Silver.
Attachment #200216 - Flags: review?(samuel)
Attached patch Fix leftover stuff from SI units (obsolete) — Splinter Review
Oops. Mixing two patches = bad.

Fixing.
Attachment #200216 - Attachment is obsolete: true
Attachment #200219 - Flags: review?(samuel)
Attachment #200216 - Flags: review?(samuel)
A new thing! :-D

In 0.9.68.3 (and above) this pref doesn't actually work - it changes
CIRCDCCUser.prototype, while it should be changing CIRCDCCChat and
CIRCDCCFileTransfer. Fixed in this patch. Will be fixed in 0.9.68.6, probably
:-)

There's one more small fix to unbreak the preference window, or something
(there'd prolly be some (small) bugs without the empty constructor)
Attachment #200219 - Attachment is obsolete: true
Attachment #200253 - Flags: review?(samuel)
Attachment #200219 - Flags: review?(samuel)
Attachment #200253 - Flags: review?(samuel) → review+
Apologies for bugspam and repetitive review requests.

Samuel: only additions are the fact that it once again works against trunk, if
everything went ok (conference mode broke the previous patch), some additional
empty constructors, and static.js being sourced from the options window. (now
possible with all those extra empty constructors).

Tested this patch with current trunk, no js errors opening ChatZilla or the
pref panel, and still no errors after closing the pref panel. So everything
seems to work just fine :-)
Attachment #200294 - Flags: review?(samuel)
Attachment #200294 - Flags: review?(samuel) → review+
Blocks: chatzilla1.0
Attachment #200294 - Attachment description: Previous patch + more empty constructors and static.js sourced in config.xul → [checked in] Previous patch + more empty constructors and static.js sourced in config.xul
Attachment #200294 - Attachment is obsolete: true
Attachment #200253 - Attachment is obsolete: true
Checked in --> FIXED (hopefully).
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Blocks: 318859
Ugh. Patch breaks dcc-send. Bad me!

in handlers.js, CIRCDCCFileTransfer.prototype.onInit needs to lose
this.prefs = client.prefs

That's the very least that needs fixing, if it ain't more.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Patch to fix bustage. tH (Robert Marshall) tested commenting out this line, and sent me a file succesfully. I'm assuming for now that *this bug* is then fixed, at least for now.
Attachment #204875 - Flags: review?(silver)
Comment on attachment 204875 [details] [diff] [review]
Patch to fix bustage

r=silver
Attachment #204875 - Flags: review?(silver) → review+
Checked in --> FIXED.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: