Skip to content
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

Make webactivity compatible with webkit1 #54

Closed
wants to merge 1 commit into from

Conversation

godiard
Copy link
Contributor

@godiard godiard commented Nov 27, 2013

If a env variable SUGAR_USE_WEBKIT1 exists,
uses a local webserver, borrowed from wikipedia activity.
Other compatibility changes are needed, like variables and methods
names.
When use webkit1 the web inspector is not enabled, because do not work.

Signed-off-by: Manuel Quiñones manuq@laptop.org
Signed-off-by: Gonzalo Odiard gonzalo@laptop.org

If a env variable SUGAR_USE_WEBKIT1 exists,
uses a local webserver, borrowed from wikipedia activity.
Other compatibility changes are needed, like variables and methods
names.
When use webkit1 the web inspector is not enabled, because do not work.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
@dnarvaez
Copy link
Contributor

A thread on the ml was opened about this, let's see if we can build a consensus there before getting into the implementwtion

@dnarvaez dnarvaez closed this Dec 10, 2013
@dnarvaez dnarvaez reopened this Dec 10, 2013
@dnarvaez
Copy link
Contributor

From the discussion on the mailing list, this is going to be a short time hack and we are not going to require webkit2 patches to not break webkit2.

Thus I think it would be better to keep the two implementations completely separated, even if it means to duplicate code, i.e. put all of this in a webkit1.py module and sugar-activity-web to import webactivity.WebActivity or webkit1.WebActivity depending on the env variable.

@dnarvaez dnarvaez closed this Dec 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants