Moves source code into subdirectory.
|
@ -8,7 +8,7 @@ A high-quality visual cross-platform gemini browser.
|
|||
- `text/gemini`
|
||||
- `text/html` (reduced feature set)
|
||||
- `text/markdown`
|
||||
- `text/*`
|
||||
- `text/*`
|
||||
- `image/*`
|
||||
- [Outline generation](https://mq32.de/public/a50ef327f4150d870393b1989c5b41db495b56f7.png) ([Video](https://mq32.de/public/kristall-02.mp4))
|
||||
- Favourite Sites
|
||||
|
@ -67,5 +67,6 @@ Notes for OpenBSD:
|
|||
- [ ] Add favicon support
|
||||
- [ ] Add auto-generated "favicons"
|
||||
- [ ] Check if the site follows this guideline: `#<ICON> Title` where `<ICON>` is a unicode emoji
|
||||
- [ ] Opt-In: Regularly check for `domain/favicon.txt`
|
||||
- [ ] Opt-In: Regularly check for `domain/favicon.ico`
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ BrowserTab::BrowserTab(MainWindow * mainWindow) :
|
|||
this->updateUI();
|
||||
|
||||
this->ui->graphics_browser->setVisible(false);
|
||||
this->ui->text_browser->setVisible(false);
|
||||
this->ui->text_browser->setVisible(true);
|
||||
|
||||
this->ui->graphics_browser->setScene(&graphics_scene);
|
||||
}
|
||||
|
@ -50,6 +50,7 @@ BrowserTab::~BrowserTab()
|
|||
|
||||
void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode)
|
||||
{
|
||||
// TODO: Implement about:// scheme!
|
||||
if(url.scheme() != "gemini") {
|
||||
QMessageBox::warning(this, "Kristall", "Unsupported uri scheme: " + url.scheme());
|
||||
return;
|
||||
|
@ -68,7 +69,6 @@ void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode)
|
|||
|
||||
gemini_client.startRequest(url);
|
||||
|
||||
|
||||
switch(mode)
|
||||
{
|
||||
case DontPush:
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |