-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
172 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package-lock.json -diff | ||
data/icons/re.sonny.Webground-symbolic.svg -diff | ||
data/icons/re.sonny.Webground.Devel.svg -diff | ||
data/icons/re.sonny.Webground.svg -diff | ||
data/icons/re.sonny.Playhouse-symbolic.svg -diff | ||
data/icons/re.sonny.Playhouse.Devel.svg -diff | ||
data/icons/re.sonny.Playhouse.svg -diff | ||
|
||
# po/re.sonny.Webground.pot -diff | ||
# po/re.sonny.Playhouse.pot -diff | ||
# po/*.po -diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ install | |
.eslintcache | ||
*~ | ||
*.compiled | ||
Webground.flatpak | ||
Playhouse.flatpak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
xgettext -f po/POTFILES -o po/re.sonny.Webground.pot --no-wrap -cTRANSLATORS --from-code=UTF-8 | ||
sed -i "s/same license as the PACKAGE package./same license as the re.sonny.Webground package./" po/re.sonny.Webground.pot | ||
sed -i "s/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: re.sonny.Webground/" po/re.sonny.Webground.pot | ||
git add po/re.sonny.Webground.pot | ||
xgettext -f po/POTFILES -o po/re.sonny.Playhouse.pot --no-wrap -cTRANSLATORS --from-code=UTF-8 | ||
sed -i "s/same license as the PACKAGE package./same license as the re.sonny.Playhouse package./" po/re.sonny.Playhouse.pot | ||
sed -i "s/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: re.sonny.Playhouse/" po/re.sonny.Playhouse.pot | ||
git add po/re.sonny.Playhouse.pot | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Webground | ||
# Playhouse | ||
|
||
A Playground for HTML/CSS/JavaScript | ||
|
||
|
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
data/re.sonny.Webground.desktop → data/re.sonny.Playhouse.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
data/re.sonny.Webground.gschema.xml → data/re.sonny.Playhouse.gschema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
data/re.sonny.Webground.metainfo.xml → data/re.sonny.Playhouse.metainfo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<component type="desktop"> | ||
<id>re.sonny.Webground</id> | ||
<launchable type="desktop-id">re.sonny.Webground.desktop</launchable> | ||
<name translatable="no">Webground</name> | ||
<id>re.sonny.Playhouse</id> | ||
<launchable type="desktop-id">re.sonny.Playhouse.desktop</launchable> | ||
<name translatable="no">Playhouse</name> | ||
<developer_name translatable="no">Sonny Piers</developer_name> | ||
<update_contact>[email protected]</update_contact> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-3.0</project_license> | ||
<summary>A Playground for HTML/CSS/JavaScript</summary> | ||
<translation type="gettext">re.sonny.Webground</translation> | ||
<translation type="gettext">re.sonny.Playhouse</translation> | ||
<description> | ||
<p>Something clever</p> | ||
</description> | ||
<url type="homepage">https://webground.sonny.re</url> | ||
<url type="bugtracker">https://webground.sonny.re/feedback</url> | ||
<url type="donation">https://webground.sonny.re/donate</url> | ||
<url type="translate">https://webground.sonny.re/translate</url> | ||
<url type="homepage">https://playhouse.sonny.re</url> | ||
<url type="bugtracker">https://playhouse.sonny.re/feedback</url> | ||
<url type="donation">https://playhouse.sonny.re/donate</url> | ||
<url type="translate">https://playhouse.sonny.re/translate</url> | ||
<content_rating type="oars-1.1" /> | ||
<releases> | ||
</releases> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[D-BUS Service] | ||
Name=re.sonny.Playhouse | ||
Exec=@bindir@/re.sonny.Playhouse --gapplication-service |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the re.sonny.Playhouse package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: re.sonny.Playhouse\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2022-01-14 13:46+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=CHARSET\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#. TRANSLATORS: Don't translate | ||
#: data/re.sonny.Playhouse.desktop:4 | ||
msgid "Playhouse" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Playhouse.desktop:5 | ||
msgid "A playground for Web code" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: Don't translate | ||
#: data/re.sonny.Playhouse.desktop:12 | ||
msgid "JS Bin;CodePen;JSFiddle;" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Playhouse.metainfo.xml:10 src/about.js:9 | ||
msgid "A Playground for HTML/CSS/JavaScript" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Playhouse.metainfo.xml:13 | ||
msgid "Something clever" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
#: src/about.js:19 | ||
msgid "translator-credits" | ||
msgstr "" | ||
|
||
#: src/ShortcutsWindow.ui:15 src/window.ui:161 | ||
msgid "Keyboard Shortcuts" | ||
msgstr "" | ||
|
||
#: src/ShortcutsWindow.ui:21 | ||
msgid "Quit" | ||
msgstr "" | ||
|
||
#: src/window.ui:165 | ||
msgid "About Playhouse" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
export default function WebView({ web_view }) { | ||
const settings = web_view.get_settings(); | ||
settings.set_enable_developer_extras(true); | ||
|
||
const user_content_manager = web_view.get_user_content_manager() | ||
|
||
user_content_manager.connect('script-message-received::foobar', () => { | ||
console.log('foo') | ||
}) | ||
|
||
|
||
user_content_manager.register_script_message_handler ("foobar"); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,13 @@ export default function About({ application, datadir, version }) { | |
copyright: "Copyright 2021 Sonny Piers", | ||
license_type: Gtk.License.GPL_3_0_ONLY, | ||
version, | ||
website: "https://webground.sonny.re", | ||
website: "https://playhouse.sonny.re", | ||
transient_for: application.get_active_window(), | ||
// Prevents input on Webground when clicking on a link | ||
// Prevents input on Playhouse when clicking on a link | ||
// modal: true, | ||
logo_icon_name: "re.sonny.Webground", | ||
logo_icon_name: "re.sonny.Playhouse", | ||
// TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
translator_credits: _("translator-credits") | ||
translator_credits: _("translator-credits"), | ||
}); | ||
// dialog.add_credit_section("Contributors", [ | ||
// // Add yourself as | ||
|
@@ -30,4 +30,3 @@ export default function About({ application, datadir, version }) { | |
|
||
return { dialog }; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.