Closed
Bug 639959
Opened 14 years ago
Closed 13 years ago
Update NetworkManager 0.9 connection states
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: dcbw, Assigned: u408661)
References
Details
Attachments
(1 file, 6 obsolete files)
2.68 KB,
patch
|
u408661
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12) Gecko/20100101 Firefox/4.0b12
Build Identifier:
NM 0.9 adds a few new connection states. Update the code for these states while preserving backwards compatibility with previous versions of NetworkManager.
Reproducible: Always
Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 517836 [details] [diff] [review]
Patch to update for NM 0.9 connection states. Not compile tested...
Patch compiles (and works) fine, as long as the patch for bug 627672 is also applied. (It compiles with or without the other patch, but it's kind of worthless without it.)
Attachment #517836 -
Flags: review?(bzbarsky)
![]() |
||
Comment 3•14 years ago
|
||
Comment on attachment 517836 [details] [diff] [review]
Patch to update for NM 0.9 connection states. Not compile tested...
Please document that NM_STATE_CONNECTED_OLD is what old dbus versions send? Possibly even with a number attached to "old" when describing them (like "before version NNN").
Also, remove the extraneous parens in the assignment to mLinkUp.
r=me with those changes. I'm really sorry for the lag here....
Attachment #517836 -
Flags: review?(bzbarsky) → review+
Fixed with bz's changes, dunno how to carry through r+, but it fits.
Attachment #517836 -
Attachment is obsolete: true
Fixing up HG metadata for proper attribution. Carry forward r+
Attachment #528873 -
Attachment is obsolete: true
Attachment #530327 -
Flags: review+
Comment 6•13 years ago
|
||
Fit to the latest m-c. Carry forward r+
Attachment #530327 -
Attachment is obsolete: true
Attachment #563374 -
Flags: review+
Comment 7•13 years ago
|
||
Fix only the coding style to the latest one.
No string changed.
Comment 8•13 years ago
|
||
Comment on attachment 563374 [details] [diff] [review]
Updated patch for NM 0.9 (with correct hg metadata) (fit to the latest m-c)
Can we get this patch checked-in? It's needed for Bug 627672.
Attachment #563374 -
Flags: checkin?
Updated•13 years ago
|
Keywords: checkin-needed
Martin - is there some code change in this that is actually needed for bug 627672? If there isn't, the dependency seems to be in the opposite direction, as this patch is non-functional without the changes in 627672 (as I found when I tested it long ago).
Comment 11•13 years ago
|
||
(In reply to Nick Hurley from comment #9)
> Martin - is there some code change in this that is actually needed for bug
> 627672? If there isn't, the dependency seems to be in the opposite
> direction, as this patch is non-functional without the changes in 627672 (as
> I found when I tested it long ago).
The patch works as expected (I've just tested it on latest trunk, with a patch from 627672). The patch works w/o 627672 - it fixes the DBUS/NM interface for NM >= 0.9, no matter how it's used later.
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to Martin Stránský from comment #11)
> The patch works as expected (I've just tested it on latest trunk, with a
> patch from 627672). The patch works w/o 627672 - it fixes the DBUS/NM
> interface for NM >= 0.9, no matter how it's used later.
Right, I believe it compiles with or without the patch from 627672, but does the detection of link state (what this patch actually fixes) work without that patch? Last time I tested, it didn't, which is why I marked this as depending on 627672. If things have changed (or the other patch breaks gecko without this one), then let's go ahead and get this landed, otherwise it doesn't seem to make sense to me to land this when it does nothing useful without the other patch.
Reporter | ||
Comment 13•13 years ago
|
||
(In reply to Nick Hurley from comment #12)
> (In reply to Martin Stránský from comment #11)
> > The patch works as expected (I've just tested it on latest trunk, with a
> > patch from 627672). The patch works w/o 627672 - it fixes the DBUS/NM
> > interface for NM >= 0.9, no matter how it's used later.
>
> Right, I believe it compiles with or without the patch from 627672, but does
> the detection of link state (what this patch actually fixes) work without
> that patch? Last time I tested, it didn't, which is why I marked this as
> depending on 627672. If things have changed (or the other patch breaks gecko
> without this one), then let's go ahead and get this landed, otherwise it
> doesn't seem to make sense to me to land this when it does nothing useful
> without the other patch.
I do not believe this patch depends on the one in 627672. Obviously if bug 627672's patch is required to get D-Bus working in the first place, then this patch wont' have any effect when applied. But there's nothing in this patch that would *regress* the current situation, and then when bug 627672 got fixed things would magically work.
Assignee | ||
Comment 14•13 years ago
|
||
(In reply to Dan Williams from comment #13)
> I do not believe this patch depends on the one in 627672. Obviously if bug
> 627672's patch is required to get D-Bus working in the first place, then
> this patch wont' have any effect when applied. But there's nothing in this
> patch that would *regress* the current situation, and then when bug 627672
> got fixed things would magically work.
We're in agreement on everything except the dependency :) My view is that, since this patch is a no-op without bug 627672, we shouldn't land this until 627672 does, as the functionality is unverifiable without that other patch. I'm cc'ing Jason to get a necko peer's opinion on this matter. If he says land it, then let's land it and just tell QA to wait to verify until 627672 also lands.
Updated•13 years ago
|
Attachment #563374 -
Attachment is obsolete: true
Attachment #563374 -
Flags: checkin?
Updated•13 years ago
|
Summary: [PATCH] update for NetworkManager 0.9 connection states → Update NetworkManager 0.9 connection states
Comment 15•13 years ago
|
||
Fix for bug 627672 has been checked in...can we proceed with this one?
Assignee | ||
Comment 16•13 years ago
|
||
Cleaning up the patch now (no longer applies to m-c), will push to try after that.
Comment 17•13 years ago
|
||
Fit to the latest m-c.
Carry over r=hurley
Attachment #563375 -
Attachment is obsolete: true
Attachment #568093 -
Flags: review+
Comment 18•13 years ago
|
||
(In reply to Takanori MATSUURA from comment #17)
> Carry over r=hurley
r=bzbarsky
Assignee | ||
Comment 19•13 years ago
|
||
Attachment #568093 -
Attachment is obsolete: true
Attachment #568096 -
Flags: review+
Assignee | ||
Comment 20•13 years ago
|
||
Try is closed, will have to wait for that to clear up before pushing there (and then, presumably, to inbound)
Assignee | ||
Comment 21•13 years ago
|
||
Comment 23•13 years ago
|
||
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla10
Version: unspecified → Trunk
Updated•13 years ago
|
Keywords: checkin-needed
Comment 24•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•