Code Monkey home page Code Monkey logo

bad-mitten-browser's Introduction

Hi there 👋

How to use my dotfiles

I'm making use of an approach introduced to me by kalkayan and their dotfiles.

git clone --bare https://github.com/Lazerbeak12345/Lazerbeak12345 $HOME/.dotfiles

# then put this in your .bashrc

alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"

# refresh your bash instance, then use the dotfiles command to restore the .gitignore and any other files you'd like to try out.
# be sure to make backups!

There's a lot of reasons why this approach is awesome, and perhaps the biggest one is its simplicity.

bad-mitten-browser's People

Contributors

lazerbeak12345 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bad-mitten-browser's Issues

Support WebDriver API as much as needed to test CSS

The Standard for WebDriver is maintained by the W3C. Both of the below documents are work-in-progress.

I'll be writing the code to conform to the latest working draft.

This initial WebDriver support will be considered "good enough for now" once the API can be used to run the WPT.

In particular the following sections will at least need to be done, to support some of these tests.

  • §6. Protocol
  • §7. Capabilities
  • §8. Sessions
  • §10. Navigation
  • §11. Contexts
  • And parts of various other sections.

Many sections will require JavaScript support of some sort. From my current understanding, none of these sections will be needed to run the specific Web Platform tests I would like to run.

It should be noted that WPT provides tests for the webdriver protocol. Live demo here: https://wpt.live/webdriver/


Webdriver mode CLI flag

Add a command-line flag to run the browser in "webdriver mode" where, as per standard, a new window will be opened on a new session, as soon as the first address to open is known.

  • Overhaul main.rkt to have actual command-line parsing.

Add css font-weight

This includes:

  • normal
  • bold
  • lighter
  • bolder
  • numbers 100 - 900 (400 is normal 700 is bold)
  • and the global inherit initial and unset

Should IPFS be used as a 2nd level cashe?

What I'm imagining is this for the order of where things are checked:

  • Someplace in /tmp (as mentioned in this comment it might be /tmp/bm-browser)
  • Some sort of IPFS cashe using ipfs streaming magics
  • Actually contacting the webserver.

The last two steps can be checked paralell.

Unit testing ./bm-window.rkt

I'm not sure how to go about this. I might be wrong but it seems the only way to do this is by using mixins provided by framework. This is only a problem because typed/racket doesn't yet support macros even though racket does.

Add CSS font-style

This includes the following values:

  • normal
  • italic
  • oblique
  • initial
  • inherit

Ensure that GPL disclaimer is at top of every file

Here's the FSF's page on this

It boils down to this:

  • Get a copyright disclaimer from your employer or school.
  • Give each file the proper copyright notices. Make sure to clearly identify which versions of the license users can use.
  • Add a COPYING file with a copy of the GNU GPL or GNU AGPL.
  • Also add a COPYING.LESSER file with a copy of the GNU LGPL, if you use that.
  • Put a license notice in each file.
  • (Optionally) make the program display a startup notice.
  • (If using the AGPL) make the program offer copies of its source code.

The licence notice needs to look like this (copied from the source above):

    This file is part of Foobar.

    Foobar is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <https://www.gnu.org/licenses/>.

WPT

The browser need to be able to run tests from https://github.com/web-platform-tests/wpt

  • Run the WPT test suite when running raco test style tests.
    • Must be able to "skip" tests, using rackunit conventions (if any are present)
    • Must be able to use all racket test-tooling to interact with these tests, wherever possible.
  • #26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.