Commit Graph

222 Commits (69753c23457424aa249c6d07a344bef260cfd18e)

Author SHA1 Message Date
Daniel Barlow 69753c2345 add some matrix functions 2022-07-03 23:08:33 +01:00
Daniel Barlow 07fd321f94 extract texture-from-file into module 2022-07-03 23:08:33 +01:00
Daniel Barlow 67e03c6736 extract function 2022-07-03 11:09:02 +01:00
Daniel Barlow 60d4466857 terminate repl & cleanup when eof 2022-07-02 23:17:00 +01:00
Daniel Barlow 6ed0e63a8f we don't need a Makefile any more 2022-07-01 22:39:59 +01:00
Daniel Barlow 798dd9ed5c fennel repl on a unix socket 2022-07-01 22:28:41 +01:00
Daniel Barlow 03b32ffa7e make event_loop_add_fd available to Lua on kiwmi singleton
CAUTION - the implementation is unfinished, as it doesn't
clean up when the fd is closed
2022-07-01 22:17:41 +01:00
Daniel Barlow 49229c75f3 add per-view transformation matrices
Note that this breaks output layout. Would prefer to deal with that
stuff ("monitor 1 is left of monitor 2") in Lua for more flexibility
2022-05-21 20:30:54 +01:00
Daniel Barlow 3628e93d18 kiwmi debug build 2022-05-18 10:33:37 +01:00
Daniel Barlow b346323d0b detect mouse clicks in bottom bar (hacky) 2022-05-08 22:48:44 +01:00
Daniel Barlow 7ea1e9a0e7 add some very professional icons 2022-05-08 22:38:44 +01:00
Daniel Barlow 7c061624c7 output render callback accepts { : output : renderer } 2022-05-05 23:38:39 +01:00
Daniel Barlow b804bb1c1f add "render" callback on output 2022-05-05 23:23:49 +01:00
Daniel Barlow f626324825 new lua bindings for textures
- output:renderer
- renderer:texture_from_pixels
- renderer:draw_texture

We need to be able to access the renderer outside of the post_render
hook (hence output:renderer) because we can't call
wlr_texture_from_pixels while rendering

texture_from_pixels accepts a string as the data argument not a
userdata, because that matches what we getk from GdkPixbuf.Pixbuf
new_from_file when using gobject-introspection.
2022-04-28 20:27:09 +01:00
Daniel Barlow 12d0e93a3e
Merge pull request #1 from telent/add-license-1
Create LICENSE
2022-04-27 13:33:33 +01:00
Daniel Barlow 303f50a734
Create LICENSE 2022-04-27 13:33:17 +01:00
Daniel Barlow 74dea6bc57 more to do 2022-04-27 13:27:06 +01:00
Daniel Barlow 07ccbe1131 add Just Browsing 2022-04-27 13:26:54 +01:00
Daniel Barlow 119f9f2427 just: enable tls 2022-04-27 10:14:10 +01:00
Daniel Barlow 0fc08474e7 add an icon 2022-04-27 10:14:10 +01:00
Daniel Barlow 417e443ed3 create and document build.nix 2022-04-27 10:14:10 +01:00
Daniel Barlow 4ee558f906 Merge pull request #4 from telent/simplify-and-add-shortness
Simplify and add shortness
2022-04-27 10:14:10 +01:00
Daniel Barlow 084c6440cd update TODO 2022-04-27 10:14:10 +01:00
Daniel Barlow aa2c23a48e rudimentary support for downloads 2022-04-27 10:14:10 +01:00
Daniel Barlow da435b0667 restore adblock (rather messy) 2022-04-27 10:14:10 +01:00
Daniel Barlow b7956d70bb hook up the "new tab" button 2022-04-27 10:14:10 +01:00
Daniel Barlow ad69c88486 update TODO 2022-04-27 10:14:10 +01:00
Daniel Barlow 75811b6d6c remove debug output 2022-04-27 10:14:10 +01:00
Daniel Barlow 400124570d add completions to text entry 2022-04-27 10:14:10 +01:00
Daniel Barlow a16d1a46e3 handle ESC in text entry to revert changes to current url 2022-04-27 10:14:10 +01:00
Daniel Barlow a928c40cd0 open a blank webview if no URLs on command line 2022-04-27 10:14:09 +01:00
Daniel Barlow d831ccbb67 add DWIMminess to url bar text entry
- prepend https:// to things that might be partial URLs
- perform searches for things that are not URLs (e.g. contain spaces)
- use different search engines for things that start with @foo

e.g. @ebay, @ddg, @lua
2022-04-27 10:14:09 +01:00
Daniel Barlow 5871afe197 hide stop/refresh when loading is/isn't in progress 2022-04-27 10:14:09 +01:00
Daniel Barlow ccdf63eea1 add loading progress bar, hook to signals 2022-04-27 10:14:09 +01:00
Daniel Barlow 263704ba37 todo 2022-04-27 10:14:09 +01:00
Daniel Barlow 2e6d7fa3d2 set window title 2022-04-27 10:14:09 +01:00
Daniel Barlow 07708b47fd move webview thumbnail code from viewplex to webview 2022-04-27 10:14:09 +01:00
Daniel Barlow 8567c4d81c make names more consistent 2022-04-27 10:14:09 +01:00
Daniel Barlow f5503c3838 implement pane chooser 2022-04-27 10:14:09 +01:00
Daniel Barlow 1ba470a631 viewplex: only relay events from focused page 2022-04-27 10:14:09 +01:00
Daniel Barlow 24052ac10d viewplex: index views by Notebook page number 2022-04-27 10:14:09 +01:00
Daniel Barlow f225793fb0 extract Listeners, Viewplex, Webview to separate modules 2022-04-27 10:14:09 +01:00
Daniel Barlow a8345a1734 make viewplex track the events it should relay for 2022-04-27 10:14:09 +01:00
Daniel Barlow 140cac0dfe Viewplex listens for :uri webview events and relays them 2022-04-27 10:14:09 +01:00
Daniel Barlow fc7de29d80 create Listeners module/class/thing 2022-04-27 10:14:09 +01:00
Daniel Barlow 268ce1fe79 am stuck, this approach is not working 2022-04-27 10:14:08 +01:00
Daniel Barlow 468ed240b4 add Viewplex, basis for supporting multiple webviews 2022-04-27 10:14:08 +01:00
Daniel Barlow 712a657846 allow observers on app-state leaf nodes 2022-04-27 10:14:08 +01:00
Daniel Barlow 8679518ca3 extract notify-listeners and listen to functions 2022-04-27 10:14:08 +01:00
Daniel Barlow 8b564f09a7 reindent 2022-04-27 10:14:08 +01:00