Skip to content

Commit

Permalink
vaev: Update from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Sep 2, 2024
1 parent f6a2e9f commit e9dd76f
Show file tree
Hide file tree
Showing 87 changed files with 3,542 additions and 4,090 deletions.
4 changes: 2 additions & 2 deletions src/apps/hideo-browser/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum struct SidePanel {

struct State {
Mime::Url url;
Res<Strong<Vaev::Dom::Document>> dom;
Res<Strong<Vaev::Markup::Document>> dom;
SidePanel sidePanel = SidePanel::CLOSE;

bool canGoBack() const {
Expand Down Expand Up @@ -187,7 +187,7 @@ Ui::Child appContent(State const &s) {
);
}

Ui::Child app(Mime::Url url, Res<Strong<Vaev::Dom::Document>> dom) {
Ui::Child app(Mime::Url url, Res<Strong<Vaev::Markup::Document>> dom) {
return Ui::reducer<Model>(
{
url,
Expand Down
4 changes: 2 additions & 2 deletions src/apps/hideo-browser/app.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include <karm-ui/node.h>
#include <vaev-dom/document.h>
#include <vaev-markup/dom.h>

namespace Hideo::Browser {

Ui::Child app(Mime::Url url, Res<Strong<Vaev::Dom::Document>> dom);
Ui::Child app(Mime::Url url, Res<Strong<Vaev::Markup::Document>> dom);

} // namespace Hideo::Browser
2 changes: 0 additions & 2 deletions src/apps/hideo-browser/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"description": "Browse the web",
"requires": [
"hideo-base",
"vaev-html",
"vaev-xml",
"vaev-view"
]
}
3 changes: 1 addition & 2 deletions src/srvs/grund-bus/bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ struct Bus {
}

Res<> run() {
for (auto &service : _services) {
for (auto &service : _services)
try$(service->activate(_context));
}

logDebug("running system event loop");
while (true) {
Expand Down
Loading

0 comments on commit e9dd76f

Please sign in to comment.