aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-16 15:36:03 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-16 16:40:45 +0530
commita004334349c724dc5d3b5695dc575c9f1a3744ec (patch)
tree85475d7383fccf8b7cb7330a987f020818e83af7
parent041f8933be28d0fcff1196792f30c5ca3176c155 (diff)
downloadnull-browser-a004334349c724dc5d3b5695dc575c9f1a3744ec.tar.gz
null-browser-a004334349c724dc5d3b5695dc575c9f1a3744ec.zip
Update browser name
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile2
-rw-r--r--README.md4
-rw-r--r--TODO.org14
-rw-r--r--flake.nix2
-rw-r--r--include/InputMediator.hpp1
-rw-r--r--src/main.cpp2
-rw-r--r--src/widgets/MainWindow.cpp2
8 files changed, 18 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6154e5f..66a1bdf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
-set(PROJECT "web-browser")
+set(PROJECT "null-browser")
project(${PROJECT}
VERSION 0.0.0
diff --git a/Makefile b/Makefile
index 67bc9db..e593d69 100644
--- a/Makefile
+++ b/Makefile
@@ -17,4 +17,4 @@ clean:
rm -f compile_commands.json
run: build
- ./build/web-browser
+ ./build/null-browser
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..eb55d42
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+# Null browser [WIP]
+
+A web browser with the simplest subset of features
+
diff --git a/TODO.org b/TODO.org
index b956c88..d7196c9 100644
--- a/TODO.org
+++ b/TODO.org
@@ -6,20 +6,23 @@
- [X] Command completion
- [X] Command/URL input executor
- [X] Refactor MainWindow
-- [ ] Buffer list/search
-- [ ] Keybindings
-- [ ] Modal keys
+- [X] Buffer list/search
+- [ ] Multi-window
+- [ ] Keybindings (lua api)
- [ ] Tab history navigation
-- [ ] Press tab/shift-tab for next/prev in completion
-- [ ] Enter in completion should run cmd
+- [ ] Press tab for fill highlighted item in completion
+- [ ] Assign ID to each tab (reference in lua api)
** Next
+- [ ] Modal keys
- [ ] History persistance
- [ ] History completion
- [ ] Open url parsing (add protocol if missing, remove quotes, etc)
- [ ] Destructor for completer instance
+- [ ] Bookmarking
** Later
+- [ ] Search aliasing (lua api)
- [ ] downloading
- [ ] Search text in page
- [ ] Notifications
@@ -32,5 +35,4 @@
- [ ] Pipe page contents to external program
** Maybe
-- [ ] lua api for managing ui
- [ ] Custom file picker
diff --git a/flake.nix b/flake.nix
index d22ef72..3d3f774 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,7 +18,7 @@
];
in {
packages.default = pkgs.stdenv.mkDerivation {
- pname = "web-browser";
+ pname = "null-browser";
version = "0.0.0";
src = ./.;
diff --git a/include/InputMediator.hpp b/include/InputMediator.hpp
index 0ae70ce..6025536 100644
--- a/include/InputMediator.hpp
+++ b/include/InputMediator.hpp
@@ -8,6 +8,7 @@
#include "widgets/InputLine.hpp"
#include "widgets/WebViewStack.hpp"
+// TODO: Rethink evaluation
class EvaluationType {
public:
EvaluationType() {}
diff --git a/src/main.cpp b/src/main.cpp
index c6c9a29..a83408c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -7,7 +7,7 @@ int main(int argc, char *argv[]) {
QApplication app(argc, argv);
MainWindow mainWindow;
- mainWindow.setWindowTitle("web-browser");
+ mainWindow.setWindowTitle("null-browser");
mainWindow.show();
return app.exec();
diff --git a/src/widgets/MainWindow.cpp b/src/widgets/MainWindow.cpp
index 289e629..d2b1578 100644
--- a/src/widgets/MainWindow.cpp
+++ b/src/widgets/MainWindow.cpp
@@ -22,7 +22,7 @@ MainWindow::MainWindow() {
// Web engine
auto webViewStack = new WebViewStack((const Configuration *)&configuration,
- new QWebEngineProfile("web-browser"));
+ new QWebEngineProfile("null-browser"));
layout->addWidget(webViewStack);
// Command input