Closed Bug 724632 (sdk-kill-traits) Opened 12 years ago Closed 9 years ago

[tracking] Remove use of traits

Categories

(Add-on SDK Graveyard :: General, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: irakli, Assigned: evold)

References

Details

Attachments

(12 files)

355 bytes, text/html
Details
355 bytes, text/html
evold
: review+
Details
355 bytes, text/html
evold
: review+
Details
355 bytes, text/html
Details
355 bytes, text/html
Details
355 bytes, text/html
evold
: review+
Details
355 bytes, text/html
Details
358 bytes, text/html
jsantell
: review+
Details
46 bytes, text/x-github-pull-request
evold
: review+
Details | Review
46 bytes, text/x-github-pull-request
evold
: review+
Details | Review
46 bytes, text/x-github-pull-request
evold
: review+
Details | Review
46 bytes, text/x-github-pull-request
evold
: review+
Details | Review
Historically there have been many attempts to provide a powerful way for object composition with a decent support for capabilities encapsulation. We should migrate all of this code to Base.extend and namespaces to low the maintenance cost and learning curve.
Sounds like a meta bug!

I have started some weeks ago to convert Widget API.
I can revive this work if it can help, or not. As you prefer.
(It was mainly an educational work, in order to play with base and ns)
Most of missing pieces was about migrating worker/symbiont APIs.
So if you already rewrote them, I may be able to adapt Widget more easily.

My only concern would be for my patch in bug 718666.
Do you think I should try to land it before this work?
(In reply to Alexandre Poirot (:ochameau) from comment #1)
> Sounds like a meta bug!
> 
> I have started some weeks ago to convert Widget API.
> I can revive this work if it can help, or not. As you prefer.
> (It was mainly an educational work, in order to play with base and ns)
> Most of missing pieces was about migrating worker/symbiont APIs.
> So if you already rewrote them, I may be able to adapt Widget more easily.
> 

I have some work in progress branches with that, but had some issues that need to be addressed.

> My only concern would be for my patch in bug 718666.
> Do you think I should try to land it before this work?

Regardless I created this and other similar bugs, to prioritize them and request some working cycles, so they are not landing anytime soon.
Priority: -- → P2
Assignee: nobody → rFobic
Summary: Migrate from old / new traits to Base.extend → Migrate from old / new traits
Attachment #687336 - Flags: review?(evold)
Attachment #687336 - Flags: review?(evold) → review?(zer0)
Attachment #687832 - Flags: review?(zer0)
Attachment #687853 - Flags: review?(peter)
Comment on attachment 687853 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/668

Oops wrong, zer0 :)
Attachment #687853 - Flags: review?(peter) → review?(zer0)
Attachment #687880 - Flags: review?(zer0)
Attachment #688076 - Flags: review?(zer0)
Irakli, just to have a confirm: those pull request are stand alone, right? I can review them separately and they're not dependent by each other (at least, if I start from the lowest pull's number)?
(In reply to Matteo Ferretti [:matteo] [:zer0] from comment #9)
> Irakli, just to have a confirm: those pull request are stand alone, right? I
> can review them separately and they're not dependent by each other (at
> least, if I start from the lowest pull's number)?

There are dependencies but, I tried to note them in the pull requests themself.
Attachment #689454 - Flags: review?(zer0)
Attachment #689491 - Flags: review?(peter)
Attachment #689491 - Flags: review?(peter) → review?(zer0)
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/234a1426c25fa3bc3d8d5ccd0ed43b94cf5b1151
Merge pull request #668 from Gozala/cleanup/hidden-frame

fix Bug 724632 - Rewrite hidden-frame in more conventional style r=@erikvold
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #687853 - Flags: review?(zer0) → review+
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/5faedeb3ad37e1beb24b8227a8de66bb99a59588
Merge pull request #671 from Gozala/jep/disposable

Bug 724632 - Implementation of JEP-Disposable. r=@erikvold
Attachment #687832 - Flags: review?(zer0) → review+
Attachment #689454 - Flags: review?(zer0) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/b03a90ecadefd2ab49e2998383a7369f27cf2b83
Merge pull request #677 from Gozala/cleanup/class-fields@724632

Bug 724632 - Make data properties overridable on the instances. r=@erikvold
Irakli, you said to me to pause those reviews because the pull 692 (reducers); I'm waiting for your result of the meeting with Joe as you wrote in the github's comment. But let me know if we want to land these changes anyway or not.
Flags: needinfo?(rFobic)
Attachment #687336 - Flags: review?(zer0)
Attachment #687880 - Flags: review?(zer0)
Attachment #688076 - Flags: review?(zer0)
Attachment #689491 - Flags: review?(zer0)
Irakli, Mossop asked to me to remove the review's flag until you "unfroze" this reviews and I can work on it. Feel free add me again if/when the code will be ready to be reviewed!
Yeap that makes sense.
Flags: needinfo?(rFobic)
Alias: sdk-kill-traits
OS: Mac OS X → All
Hardware: x86 → All
Summary: Migrate from old / new traits → Remove use of traits
Depends on: 798069
Depends on: 798060
Attachment #757502 - Flags: review?(jsantell)
Attachment #757502 - Flags: review?(jsantell) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/a321d01adb75f637e8902b43b0c8db2961880fc1
Merge pull request #1016 from Gozala/bug/content-events@724632

Bug 724632 - Implement content/chrome events. r=@jsantell
Summary: Remove use of traits → [tracking] Remove use of traits
Attachment #8526323 - Flags: review?(evold) → review+
Attachment #8525936 - Flags: review?(evold) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/76fcb01dec51dc170aaf85aba79d9126dd8f05a3
Merge pull request #1724 from Gozala/detraitify-observers

Bug 724632 - Remove traits from observers. r=@erikvold
Attachment #8526977 - Flags: review?(evold) → review+
Attachment #8526979 - Flags: review?(evold) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/481192bf13b7eac1596a378d8b407dc9265ec18a
Merge pull request #1733 from Gozala/detraitify-bond

Bug 724632 - Implement helper module to never have to bind methods again. r=@erikvold
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/b252a7be47cc9460f0218ad96170619e2b011278
Merge pull request #1725 from Gozala/detraitify-content-loader

Bug 724632 - Detraitify sdk/content/loader r=erikvold
(In reply to [github robot] from comment #30)
> Commit pushed to master at https://github.com/mozilla/addon-sdk
> 
> https://github.com/mozilla/addon-sdk/commit/
> b252a7be47cc9460f0218ad96170619e2b011278
> Merge pull request #1725 from Gozala/detraitify-content-loader
> 
> Bug 724632 - Detraitify sdk/content/loader r=erikvold

Reverting this one, it caused a failure https://api.travis-ci.org/jobs/44399978/log.txt?deansi=true

Reverted this commit in https://github.com/mozilla/addon-sdk/commit/ceba54b1745e0ddf87bbc08ff3dc3c48c1698225
Comment on attachment 8526323 [details] [review]
Detratify sdk/content/loader

Irakli, you'll have to take a look at this one when you get a chance.
Flags: needinfo?(rFobic)
Depends on: 1158534
No longer depends on: 798060, 798069
I've done the last patch to complete this bug in bug 1158534
Assignee: rFobic → evold
Flags: needinfo?(rFobic)
Status: REOPENED → RESOLVED
Closed: 12 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: