twilco / kosmonaut Goto Github PK
View Code? Open in Web Editor NEWA web browser engine for the space age :rocket:
License: Mozilla Public License 2.0
A web browser engine for the space age :rocket:
License: Mozilla Public License 2.0
In trying to build this in debian 11, I ran into a lot of missing prerequistes, which could perhaps be covered in your README.md...
Kosmonaut currently makes use of gl_generator to generate bindings to the OpenGL API. We've created a thin wrapper around glGetError called get_error_flags. It would be nice to change our generated GL bindings to call this function (or simply glGetError
) after every other GL function and panic immediately if anything besides GL_NO_ERROR
is returned.
There was an attempt to do this in gl_generator
here, but that was way back in 2015 and the linked fork is very far behind.
Followed the readme: Cloned the project and ran cargo build
using rust 1.47.0-nightly
on Ubuntu 20.04 which returns the following error:
error: failed to run custom build command for `expat-sys v2.1.6`
Caused by:
process didn't exit successfully: `/home/siilwyn/codeground/a-forks/kosmonaut/target/debug/build/expat-sys-bf2c8658b355277e/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/home/siilwyn/.cache/cargo/registry/src/github.com-1ecc6299db9ec823/expat-sys-2.1.6/expat" "-DBUILD_shared=OFF" "-DBUILD_tools=OFF" "-DBUILD_examples=OFF" "-DBUILD_tests=OFF" "-DCMAKE_INSTALL_PREFIX=/home/siilwyn/codeground/a-forks/kosmonaut/target/debug/build/expat-sys-c8008326b5972c6b/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
--- stderr
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?
Guess I first need to run apt install cmake
? If so it would be good to add this to the readme perhaps? An even better alternative would be to swap the dependency to a full Rust one so no native external dependency is needed, if possible.
Regarding comment #9 (comment)
I saw somewhere that one project is migrating to https://crates.io/crates/allsorts
There is also https://github.com/redox-os/rusttype
The page for the builds appear to bring up a 404 page
https://github.com/boa-dev/boa is a pure rust JavaScript engine, it implements a lot of the spec, itβs designed to be embedded into any rust project with ease.
It would be a great test for Boa to see a browser using it.
The web is a big place, and we would never be able to enumerate all possible inputs. Explore property-based testing via crates such as https://crates.io/crates/proptest.
I am running the executable and I see a window with colourful rectangles. Is there a way to browse the internet?
I think I represent a whole bunch of people who might have randomly seen this project, and thought to themselves it looks cool but just where is this project headed. I find "space-age" quite vague.
But anyways I think this project deserves some explanation for goals and motivations as to whether the author plans to make it a finished browser, a toy project, something just to learn, for research, or something just for personal use(seems to be like the later).
I believe it will help prospective contributors make more informed decisions, and as such might help the project not lose sight of it's goals.
Hey @twilco
I am trying to use kosmonaut with mutt to view html formatted email.
Unfortunately when I open html file the window that appears is blank.
I am using sway wm as my windown manager (wayland, tiling)
mail.zip
html email is attached
kosmonaut git:(master) target/release/kosmonaut --files ~/tmp/email.html
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin:0;padding:0;font-size:16px;font-family:Lato,Arial,Helvetica,sans-serif"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border-top:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-left:1px solid #c2c2c2;border-right:1px solid #c2c2c2"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-left:8.5%;padding-right:8.5%;padding-top:10px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-left:8.5%;padding-right:8.5%;padding-bottom:20px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%;padding-top:10px;padding-bottom:10px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;font-size:20px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border-collapse:collapse;padding:0px;vertical-align:bottom;padding-left:0px;padding-right:0px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "line-height:0;font-size:0"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border-radius:3px;border:solid 1px #dee0e3"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:bottom;text-align:left;font-size:20px;padding-left:8px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#20262e;font-stretch:normal;letter-spacing:normal;line-height:1.6;text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:1.6px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border:1px solid #d0d4d9"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "height:64px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:top;padding-top:20px;padding-bottom:10px;padding-left:20px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:middle;padding-top:10px;padding-bottom:5px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:18px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:16px;padding-bottom:32px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:16px;padding-bottom:32px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-bottom:10px;font-size:20px;line-height:1.3"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#0d0d0d;font-size:20px;font-weight:bold"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "line-height:0;font-size:0"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border:1px solid #c2c2c2"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;word-wrap:break-all"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:bottom"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "line-height:0;font-size:0"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border:1px solid #c2c2c2"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;word-wrap:break-all"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:bottom"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:top"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "line-height:0;font-size:0"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "border:1px solid #c2c2c2"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;word-wrap:break-all"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-align:center;vertical-align:bottom"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:18px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;font-weight:bold;text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#f5c131;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#f5c131;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#f5c131;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px;font-weight:bold;text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#f5c131;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#0caa41;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:12px;color:#777777;padding-bottom:10px;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:16px;height:16px;border-radius:3px;background-color:#f5c131;white-space:nowrap"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "margin-left:20px;white-space:nowrap;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:10px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none;color:#1861bf"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "padding-top:20px;padding-bottom:20px;font-size:15px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "text-decoration:none"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "width:300px;min-width:300px;background-color:white;border-left:1px solid black;border-top:1px solid black;border-bottom:1px solid black;border-right:1px solid black;border-radius:3px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-family:Lato,Arial,Helvetica,sans-serif;font-size:15px;font-weight:bold;color:black;padding-top:8px;padding-bottom:8px"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "background-color:#404040;padding-top:25px;padding-bottom:25px;padding-left:8.5%;padding-right:8.5%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "min-width:100%"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "font-family:Lato,Arial,Helvetica,sans-serif;font-size:10px;color:#ffffff;line-height:18px;margin:0;margin-top:0px;margin-bottom:0px;text-align:center"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "color:#ffffff"
[src/style/mod.rs:54] "found inline style but did not collect it: {:?}" = "found inline style but did not collect it: {:?}"
[src/style/mod.rs:54] style_str = "height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important"
-------------------------------------------------
Pixel format of the window's GL context: PixelFormat { hardware_accelerated: true, color_bits: 24, alpha_bits: 8, depth_bits: 24, stencil_bits: 8, stereoscopy: false, double_buffer: true, multisampling: None, srgb: false }
OpenGL API in use: OpenGl
OpenGL version 4.6 (Core Profile) Mesa 20.3.1
-------------------------------------------------
cargo build
...
...
...
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/main.rs:1:1
|
1 | #![feature(or_patterns)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
More info:
rustc -V
rustc 1.45.2 (d3fb005a3 2020-07-31)
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
uname -a
Linux oren 4.4.0-179-generic #209-Ubuntu SMP Fri Apr 24 17:48:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Hi, i have a problem everytime i run kosmonaut:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NoAvailablePixelFormat', components\gfx\src\headed.rs:40:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\kosmonaut.exe` (exit code: 101)
i don't know how to solve this problem
**My version of Rustc: 1.61.0-nightly
My Cargo version: 1.61.0-nightly**
Miri, an interpreter for Rust's mid-level intermediate representation (MIR), can detect certain types of undefined behavior in any Rust code it runs. We should use it when running the Kosmonaut test suite in CI. This should be as easy as:
rustup component add miri
cargo miri test
Unfortunately, Kosmonaut development and CI environments currently require nightly, and miri
seems to often be unavailable in nightly. If/when we switch to stable, we can make this change.
Guys you are doing Gods work.
Please add ways to support the project financially - I am willing to donate a little bit.
And with proper exposure this project can gain a lot more traction. There is a definite need for an alternative web browser.
Chrome mono-culture is simply harming and toxic, Firefox is going down the drain...
How do I compile a kosmonaut to run under Windows XP and Windows 7?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.