aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-06 23:14:21 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-06 23:14:21 +0200
commit3aed883402dc8da829fc304434c5efd0570cbb97 (patch)
tree48c46ab087a950d80f78819ceb609e93d246b040
parent44e85dce678e7e36f436a6d0a25c212c9a2d3657 (diff)
downloadkristall-3aed883402dc8da829fc304434c5efd0570cbb97.tar.gz
Moves source code into subdirectory.
-rw-r--r--README.md3
-rw-r--r--src/browsertab.cpp (renamed from browsertab.cpp)4
-rw-r--r--src/browsertab.hpp (renamed from browsertab.hpp)0
-rw-r--r--src/browsertab.ui (renamed from browsertab.ui)0
-rw-r--r--src/documentoutlinemodel.cpp (renamed from documentoutlinemodel.cpp)0
-rw-r--r--src/documentoutlinemodel.hpp (renamed from documentoutlinemodel.hpp)0
-rw-r--r--src/favouritecollection.cpp (renamed from favouritecollection.cpp)0
-rw-r--r--src/favouritecollection.hpp (renamed from favouritecollection.hpp)0
-rw-r--r--src/geminiclient.cpp (renamed from geminiclient.cpp)0
-rw-r--r--src/geminiclient.hpp (renamed from geminiclient.hpp)0
-rw-r--r--src/geminirenderer.cpp (renamed from geminirenderer.cpp)0
-rw-r--r--src/geminirenderer.hpp (renamed from geminirenderer.hpp)0
-rw-r--r--src/icons.qrc (renamed from icons.qrc)0
-rw-r--r--src/icons/arrow-left.svg (renamed from icons/arrow-left.svg)0
-rw-r--r--src/icons/arrow-right.svg (renamed from icons/arrow-right.svg)0
-rw-r--r--src/icons/close.svg (renamed from icons/close.svg)0
-rw-r--r--src/icons/format-font.svg (renamed from icons/format-font.svg)0
-rw-r--r--src/icons/heart-outline.svg (renamed from icons/heart-outline.svg)0
-rw-r--r--src/icons/heart.svg (renamed from icons/heart.svg)0
-rw-r--r--src/icons/kristall.svg (renamed from icons/kristall.svg)0
-rw-r--r--src/icons/menu.svg (renamed from icons/menu.svg)0
-rw-r--r--src/icons/palette.svg (renamed from icons/palette.svg)0
-rw-r--r--src/icons/refresh.svg (renamed from icons/refresh.svg)0
-rw-r--r--src/icons/settings.svg (renamed from icons/settings.svg)0
-rw-r--r--src/kristall.pro (renamed from kristall.pro)0
-rw-r--r--src/kristall_en_US.ts (renamed from kristall_en_US.ts)0
-rw-r--r--src/main.cpp (renamed from main.cpp)0
-rw-r--r--src/mainwindow.cpp (renamed from mainwindow.cpp)0
-rw-r--r--src/mainwindow.hpp (renamed from mainwindow.hpp)0
-rw-r--r--src/mainwindow.ui (renamed from mainwindow.ui)0
-rw-r--r--src/settingsdialog.cpp (renamed from settingsdialog.cpp)0
-rw-r--r--src/settingsdialog.hpp (renamed from settingsdialog.hpp)0
-rw-r--r--src/settingsdialog.ui (renamed from settingsdialog.ui)0
-rw-r--r--src/tabbrowsinghistory.cpp (renamed from tabbrowsinghistory.cpp)0
-rw-r--r--src/tabbrowsinghistory.hpp (renamed from tabbrowsinghistory.hpp)0
35 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 19e4ceb..cc0e7e6 100644
--- a/README.md
+++ b/README.md
@@ -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`
diff --git a/browsertab.cpp b/src/browsertab.cpp
index f7e5f78..6a4bf69 100644
--- a/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -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:
diff --git a/browsertab.hpp b/src/browsertab.hpp
index 7f0ac35..7f0ac35 100644
--- a/browsertab.hpp
+++ b/src/browsertab.hpp
diff --git a/browsertab.ui b/src/browsertab.ui
index 265560e..265560e 100644
--- a/browsertab.ui
+++ b/src/browsertab.ui
diff --git a/documentoutlinemodel.cpp b/src/documentoutlinemodel.cpp
index 5978f33..5978f33 100644
--- a/documentoutlinemodel.cpp
+++ b/src/documentoutlinemodel.cpp
diff --git a/documentoutlinemodel.hpp b/src/documentoutlinemodel.hpp
index 0476892..0476892 100644
--- a/documentoutlinemodel.hpp
+++ b/src/documentoutlinemodel.hpp
diff --git a/favouritecollection.cpp b/src/favouritecollection.cpp
index 161eacf..161eacf 100644
--- a/favouritecollection.cpp
+++ b/src/favouritecollection.cpp
diff --git a/favouritecollection.hpp b/src/favouritecollection.hpp
index 73afa1f..73afa1f 100644
--- a/favouritecollection.hpp
+++ b/src/favouritecollection.hpp
diff --git a/geminiclient.cpp b/src/geminiclient.cpp
index 44fa864..44fa864 100644
--- a/geminiclient.cpp
+++ b/src/geminiclient.cpp
diff --git a/geminiclient.hpp b/src/geminiclient.hpp
index 590eb5b..590eb5b 100644
--- a/geminiclient.hpp
+++ b/src/geminiclient.hpp
diff --git a/geminirenderer.cpp b/src/geminirenderer.cpp
index 811a946..811a946 100644
--- a/geminirenderer.cpp
+++ b/src/geminirenderer.cpp
diff --git a/geminirenderer.hpp b/src/geminirenderer.hpp
index 2ec1651..2ec1651 100644
--- a/geminirenderer.hpp
+++ b/src/geminirenderer.hpp
diff --git a/icons.qrc b/src/icons.qrc
index a0daae0..a0daae0 100644
--- a/icons.qrc
+++ b/src/icons.qrc
diff --git a/icons/arrow-left.svg b/src/icons/arrow-left.svg
index 72f5e6d..72f5e6d 100644
--- a/icons/arrow-left.svg
+++ b/src/icons/arrow-left.svg
diff --git a/icons/arrow-right.svg b/src/icons/arrow-right.svg
index 22dc526..22dc526 100644
--- a/icons/arrow-right.svg
+++ b/src/icons/arrow-right.svg
diff --git a/icons/close.svg b/src/icons/close.svg
index 18691d7..18691d7 100644
--- a/icons/close.svg
+++ b/src/icons/close.svg
diff --git a/icons/format-font.svg b/src/icons/format-font.svg
index c88cb71..c88cb71 100644
--- a/icons/format-font.svg
+++ b/src/icons/format-font.svg
diff --git a/icons/heart-outline.svg b/src/icons/heart-outline.svg
index 26b2df3..26b2df3 100644
--- a/icons/heart-outline.svg
+++ b/src/icons/heart-outline.svg
diff --git a/icons/heart.svg b/src/icons/heart.svg
index 2cad9fc..2cad9fc 100644
--- a/icons/heart.svg
+++ b/src/icons/heart.svg
diff --git a/icons/kristall.svg b/src/icons/kristall.svg
index 60be0f6..60be0f6 100644
--- a/icons/kristall.svg
+++ b/src/icons/kristall.svg
diff --git a/icons/menu.svg b/src/icons/menu.svg
index 64844e7..64844e7 100644
--- a/icons/menu.svg
+++ b/src/icons/menu.svg
diff --git a/icons/palette.svg b/src/icons/palette.svg
index ebf6936..ebf6936 100644
--- a/icons/palette.svg
+++ b/src/icons/palette.svg
diff --git a/icons/refresh.svg b/src/icons/refresh.svg
index ebe3f16..ebe3f16 100644
--- a/icons/refresh.svg
+++ b/src/icons/refresh.svg
diff --git a/icons/settings.svg b/src/icons/settings.svg
index 731a5a7..731a5a7 100644
--- a/icons/settings.svg
+++ b/src/icons/settings.svg
diff --git a/kristall.pro b/src/kristall.pro
index 6aa5f60..6aa5f60 100644
--- a/kristall.pro
+++ b/src/kristall.pro
diff --git a/kristall_en_US.ts b/src/kristall_en_US.ts
index ef2593b..ef2593b 100644
--- a/kristall_en_US.ts
+++ b/src/kristall_en_US.ts
diff --git a/main.cpp b/src/main.cpp
index 31cc7da..31cc7da 100644
--- a/main.cpp
+++ b/src/main.cpp
diff --git a/mainwindow.cpp b/src/mainwindow.cpp
index 19dd922..19dd922 100644
--- a/mainwindow.cpp
+++ b/src/mainwindow.cpp
diff --git a/mainwindow.hpp b/src/mainwindow.hpp
index 41b6e2c..41b6e2c 100644
--- a/mainwindow.hpp
+++ b/src/mainwindow.hpp
diff --git a/mainwindow.ui b/src/mainwindow.ui
index 08ba787..08ba787 100644
--- a/mainwindow.ui
+++ b/src/mainwindow.ui
diff --git a/settingsdialog.cpp b/src/settingsdialog.cpp
index 2078e7c..2078e7c 100644
--- a/settingsdialog.cpp
+++ b/src/settingsdialog.cpp
diff --git a/settingsdialog.hpp b/src/settingsdialog.hpp
index 5f56961..5f56961 100644
--- a/settingsdialog.hpp
+++ b/src/settingsdialog.hpp
diff --git a/settingsdialog.ui b/src/settingsdialog.ui
index aee3959..aee3959 100644
--- a/settingsdialog.ui
+++ b/src/settingsdialog.ui
diff --git a/tabbrowsinghistory.cpp b/src/tabbrowsinghistory.cpp
index 435bca7..435bca7 100644
--- a/tabbrowsinghistory.cpp
+++ b/src/tabbrowsinghistory.cpp
diff --git a/tabbrowsinghistory.hpp b/src/tabbrowsinghistory.hpp
index 4305218..4305218 100644
--- a/tabbrowsinghistory.hpp
+++ b/src/tabbrowsinghistory.hpp