-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restartlessness and e10s #489
Comments
This sound like a big project that would require to rewrite most of the code, if it going to be "rewritten" it should be design so that Electrolysis (e10s) can be implement in the future. Perhaps making it restartless and e10s at the same thing would be the better path. There is a Bugzilla ID here for e10s; https://bugzilla.mozilla.org/show_bug.cgi?id=1077185 |
Thanks a lot for the info. In fact I'm almost finished converting into restartless. Supporting e10s is important of course! I'll have a look at how to support it. Note that I've so far only worked on RP 1.0 beta which had been started (and discontinued) by Justin. On AMO it's v0.5. I hope RP 1.0 will become stable before e10s is enabled by default in ff. |
I've converted RP to restartless, see 40fca25 (it's a very big commit; many file renames and code styling changes couldn't be detected). The commit message is:
I created a separate branch for it so that you can test it. I'll implement mozmill tests and probably also support e10s (see above) before I put it on Please test this branch and tell me if it works for you. |
I've started splitting commit 40fca25. I've pushed a big number of refactoring commits to |
I've created the |
Do we report problem with this branch here or create new issue? Here some issue I notice. Using RP1.0beta8.1 // Firefox 33.1.1 (1) Conflicting when using Normal Window (NW) and Private Window (PW) (Ctrl+Shirt+P) (2) Restartless only if RP is not already installed. (3) PW's control NW RequestPolicy This problem can (sometime) be solve by enabling the following: opening the Preferences > Basic > Menu |
Thanks for your report @ldgbc, I think it's ok to post issues here. Thank you for testing. I'm also finding bugs from time to time – note that I'll rebase occasionally rebase |
I've made some commits, rebased again and pushed everything including the current dev state of e10s as well. Everything is now in the Btw, I've summarized the current dev state in the first post (for anyone visiting this issue for the first time). |
@ldgbc I changed my mind and will create separate issues for your bugreports. If you find more bugs, please also create a new issue for them, I will attach labels appropiately. For every new issue, please start the issue's topic with Issue considering the development branch [`dev-restartless-and-e10s`](https://github.com/RequestPolicyContinued/requestpolicy/tree/dev-restartless-and-e10s), see #489. Thank you! |
@ldgbc this is not a bug. Read:
Comment is from here. |
There are still several issues. I'm not documenting them online, but I'm working on fixing them. |
To show you I'm still there and working on the problems, I've pushed a bunch of commits to The main remaining issue is that RP does not cleanly shut down yet, i.e. when „disable“ is clicked on |
I think this is done, at least I don't get any errors when I enable/disable the addon.
Now it's time to fix the more obvious bugs that have been reported. |
My current plan is to merge the |
I've just pushed some more commits. Sorry for being silent recently, it's examination period. As finishing this issue is still the next step before releasing RPC to AMO, it would be great if you @ldgbc @nodiscc could do some testing if you can bring up the time. Other testers are also welcome; creating the XPI should be fairly easy. |
@myrdd could you release a |
@myrdd time for a new release? :) |
Not sure if there much testing to be done. I don't see any problem with it except for one that I'll report after this post. Question though, is the https://github.com/RequestPolicyContinued/requestpolicy/tree/dev-restartless-and-e10s consider dead now? I notice the merge to dev1.0 built and it more updated by commit counts. @nodiscc you could just make an XPI using any software that can create a ZIP files, that how I build RP at least. |
You are right @ldgbc, I've now removed the
That could work, but might not work anymore in future. I've introduced a preprocessor, which is used for example in the Logger, see here. |
The aim is to to
Development branch:
dev-restartless-and-e10s
As of 2014-12-02 the main work is already done, so the aim is to find and remove all remaining bugs.
IMHO it's great if you don't need to restart firefox when you install/disable/enable the addon. But the main reason I want to do is that overlay extensions are not supported by the Add-on Debugger, which is built-in since ff 31.I think it should be possible. A tutorial how to convert can be found here. As RP also implements an XPCOM component (nsIContentPolicy), we need to consider this.The text was updated successfully, but these errors were encountered: