Skip to content

Commit

Permalink
Merge branch 'main' into feature/bookmark
Browse files Browse the repository at this point in the history
# Conflicts:
#	playlet-lib/src/components/Logger/Logger.xml
  • Loading branch information
iBicha committed Sep 30, 2023
2 parents d3774ea + cb877f9 commit ab111c5
Show file tree
Hide file tree
Showing 58 changed files with 27 additions and 135 deletions.
2 changes: 0 additions & 2 deletions playlet-app/src/components/BootstrapScene/BootstrapScene.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="BootstrapScene" extends="Scene">
<interface>
<field id="exitChannel" type="bool" alwaysNotify="true" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="LoadingIndicator" extends="Group">
<children>
<Rectangle
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/AppController/AppController.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="AppController" extends="Group" includes="AutoBind">
<interface>
<field id="root" type="node" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/AppController/AppRoot.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="AppRoot" extends="Group" includes="Focus">
</component>
10 changes: 5 additions & 5 deletions playlet-lib/src/components/Dialog/LoginDialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<Font role="font" uri="font:SystemFontFile" size="24" />
</Label>
<Poster
id='QrCodePoster'
width='300'
height='300'
loadWidth='300'
loadHeight='300'
id="QrCodePoster"
width="300"
height="300"
loadWidth="300"
loadHeight="300"
translation="[50, 50]" />
<Label
id="urlLabel"
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/Dialog/SimpleDialog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="SimpleDialog" extends="StandardMessageDialog">
</component>
13 changes: 6 additions & 7 deletions playlet-lib/src/components/Logger/Logger.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
<component name='Logger' extends='Task'>
<component name="Logger" extends="Task">
<interface>
<field id='logLevel' type='int' value='2' />
<field id='logLine' type='string' alwaysNotify='true' />
<field id='folder' type='string' value='cachefs:/logs' />
<field id='filename' type='string' value='app_logs.txt' />
<field id='filenamePrevious' type='string' value='app_logs_previous.txt' />
<field id="logLevel" type="int" value="2" />
<field id="logLine" type="string" />
<field id="folder" type="string" value="cachefs:/logs" />
<field id="filename" type="string" value="app_logs.txt" />
<field id="filenamePrevious" type="string" value="app_logs_previous.txt" />
</interface>
</component>
1 change: 0 additions & 1 deletion playlet-lib/src/components/MainScene.transpiled.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component name="MainScene" extends="Group">
<interface>
<field id="bindings" type="assocarray" onChange="OnBindingSetRegisterAutoBind" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/MainScene.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="MainScene" extends="Group" includes="AutoBind">
<children>
<AppController id="AppController" root="bind:./AppRoot" stack="bind:./Stack">
Expand Down
1 change: 0 additions & 1 deletion playlet-lib/src/components/NavBar/IconButton.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<component name="IconButton" extends="Group" includes="Focus">
<children>
<Poster id="buttonBackground" uri="pkg:/images/white.9.png" visible="false" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/NavBar/NavBar.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="NavBar" extends="Group" includes="AutoBind">
<interface>
<field id="appController" type="node" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/NavBar/NavBarItem.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="NavBarItem" extends="ContentNode">
<interface>
<field id="screen" type="string" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="NavigationTestNode" extends="Node">
<interface>
<function name="SetNavigation" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/PlayQueue/PlayQueue.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="PlayQueue" extends="Node">
<interface>
<field id="queue" type="array" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="AppInfoScreen" extends="Group" includes="AutoBind">
<interface>
<field id="applicationInfo" type="node" bind="/ApplicationInfo" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="BookmarksScreen" extends="Group" includes="AutoBind">
<interface>
<field id="applicationInfo" type="node" bind="/ApplicationInfo" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/Screens/HomeScreen/HomeScreen.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="HomeScreen" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="navBar" type="node" bind="/NavBar" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="SearchFilters" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="searchScreen" type="node" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="SearchScreen" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="navBar" type="node" bind="/NavBar" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="BooleanControl" extends="LayoutGroup" includes="Focus">
<interface>
<field id="displayText" type="string" alias="Checkbox.title" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="Checkbox" extends="CheckList">
<interface>
<field id="title" type="string" alias="checkboxNode.title" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="ClearSearchHistoryControl" extends="LayoutGroup" includes="Focus">
<interface>
<field id="displayText" type="string" alias="Button.text" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousInstanceControl" extends="LayoutGroup" includes="AutoBind,Focus">
<interface>
<field id="displayText" type="string" alias="DisplayTextLabel.text" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousInstanceSettings" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="text" type="string" alias="textEditBox.text" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousInstanceTesting" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="instance" type="string" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousInstanceTestingItem" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousPublicInstances" extends="Group" includes="Focus">
<interface>
<field id="instance" type="string" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousPublicInstancesListItem" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>

<component name="InvidiousPublicInstancesListItemContent" extends="ContentNode">
<interface>
<field id="name" type="string" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="RadioControl" extends="LayoutGroup" includes="Focus">
<interface>
<field id="displayText" type="string" alias="DisplayTextLabel.text" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="SettingCategory" extends="Button">
<interface>
<field id="padding" type="integer" value="10" onChange="Resize" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="SettingsScreen" extends="Group" includes="AutoBind,Focus">
<interface>
<field id="navBar" type="node" bind="/NavBar" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="StringControl" extends="LayoutGroup" includes="Focus">
<interface>
<field id="displayText" type="string" alias="DisplayTextLabel.text" />
Expand Down
34 changes: 16 additions & 18 deletions playlet-lib/src/components/Screens/WebAppScreen/WebAppScreen.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="WebAppScreen" extends="Group" includes="AutoBind">
<interface>
<field id="webServer" type="node" bind="/WebServer" />
Expand All @@ -9,36 +7,36 @@
<children>
<Group id="noInternet" visible="false">
<Label
height='720'
width='1280'
font='font:MediumBoldSystemFont'
height="720"
width="1280"
font="font:MediumBoldSystemFont"
horizAlign="center"
vertAlign="center"
text="Could not get IP address: are we connected to the internet?"
/>
</Group>
<Group id="yesInternet" visible="false">
<Label
height='60'
width='1280'
font='font:MediumBoldSystemFont'
height="60"
width="1280"
font="font:MediumBoldSystemFont"
horizAlign="center"
translation="[0,92]"
text="Scan the QR code with your phone camera, or open the URL in a web browser:"
/>
<Poster
id='QrCodePoster'
height='400'
width='400'
loadHeight='400'
loadWidth='400'
translation='[440, 160]' />
id="QrCodePoster"
height="400"
width="400"
loadHeight="400"
loadWidth="400"
translation="[440, 160]" />

<Label
id='UrlLabel'
height='50'
width='1280'
font='font:MediumBoldSystemFont'
id="UrlLabel"
height="50"
width="1280"
font="font:MediumBoldSystemFont"
horizAlign="center"
translation="[0,600]"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="ApplicationInfo" extends="Node">
<interface>
<field id="lib_version_latest" type="string" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/Services/Bookmarks/Bookmarks.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="Bookmarks" extends="Node">
<interface>
<field id="__version" type="integer" value="1" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/Services/Invidious/Invidious.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="Invidious" extends="Node">
<interface>
<field id="applicationInfo" type="node" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="Preferences" extends="Node">
<interface>
<field id="__version" type="integer" value="1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="SponsorBlockNotification" extends="Group">
<interface>
<field id="segment" type="assocarray" onChange="OnSegmentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="ActionRowCell" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="ChannelRowCell" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="LoadingRowCell" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="PlaylistRowCell" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/VideoFeed/VideoRowCell/RowCell.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="RowCell" extends="Group">
<interface>
<field id="type" type="string" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="VideoRowCell" extends="Group">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/VideoFeed/VideoRowList.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="VideoRowList" extends="RowList" includes="AutoBind">
<interface>
<field id="appController" type="node" bind="/AppController" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/VideoPlayer/VideoContainer.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="VideoContainer" extends="Group">
<interface>
<field id="fullscreen" type="boolean" value="true" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/VideoPlayer/VideoPlayer.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="VideoPlayer" extends="Video" includes="AutoBind">
<interface>
<field id="appController" type="node" bind="/AppController" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="PlayletWebServer" extends="WebServer" includes="AutoBind">
<interface>
<field id="preferences" type="node" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/Web/WebServer/WebServer.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="WebServer" extends="Task">
<interface>
<field id="maxConnections" type="integer" value="10" />
Expand Down
2 changes: 0 additions & 2 deletions playlet-lib/src/components/parts/AutoBind/AutoBind.part.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>

<component name="AutoBind" extends="Group">
<interface>
<field id="bindings" type="assocarray" onChange="OnBindingSetRegisterAutoBind" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component name="AutoBindNode1" extends="Group">
<interface>
<field id="reference1" type="node" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component name="AutoBindNode1Container" extends="Group">
<interface>
<field id="bindings" type="assocarray" onChange="OnBindingSetRegisterAutoBind" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component name="AutoBindNode2" extends="Group">
<interface>
<field id="parent" type="node" />
Expand Down
Loading

0 comments on commit ab111c5

Please sign in to comment.