Commit Graph

64 Commits

Author SHA1 Message Date
8907cbb063 formatting pass 2024-03-12 14:16:29 -03:00
0f940a7460 webkit upgrade: remove deprecated opts and change variable names.
References for the removed opts:

https://webkitgtk.org/reference/webkit2gtk/stable/property.WebContext.local-storage-directory.html?q=
https://webkitgtk.org/reference/webkit2gtk/stable/property.WebsiteDataManager.disk-cache-directory.html
https://webkitgtk.org/reference/webkit2gtk/stable/property.WebsiteDataManager.indexeddb-directory.html
https://webkitgtk.org/reference/webkit2gtk/stable/property.WebsiteDataManager.service-worker-registrations-directory.html
https://webkitgtk.org/reference/webkit2gtk/stable/property.WebsiteDataManager.itp-directory.html
https://webkitgtk.org/reference/webkit2gtk/stable/property.WebsiteDataManager.hsts-cache-directory.html
2024-03-12 14:13:47 -03:00
641b4055c2 remove inert function call
See:
<https://webkitgtk.org/reference/webkit2gtk/stable/method.WebContext.set_process_model.html>
2024-03-12 13:55:44 -03:00
97032cd83c webkitgtk update: replace run_javascript function 2024-03-12 13:53:45 -03:00
0f5baf1129 formatting pass. 2024-02-11 18:25:46 +01:00
e5e194f1eb remove unneeded function call, reorder. 2024-02-11 18:23:04 +01:00
b5801975d4 fix custom css bug 2024-02-11 18:10:55 +01:00
e1fc467795 remove repeated code. 2024-02-11 18:06:41 +01:00
59b174e4bb small reorg 2024-02-11 18:01:51 +01:00
ca9d1004ed continue reorg 2024-02-11 17:26:20 +01:00
312f99c6f2 rename notebook_append to notebook_create_new_tab
Also add note on README about static files
2024-02-11 17:15:24 +01:00
f6a65b066e rename "keys" to shortcuts, put bar functions together 2024-02-11 17:14:01 +01:00
5e42ab4b00 move plugins code to config.h 2024-02-11 16:58:35 +01:00
cdf35fa832 make signal code more self evident. 2024-02-11 16:57:06 +01:00
d4847b1525 start making initializations less messy. 2024-02-11 16:29:36 +01:00
605b5ade22 simplify bar struct slightly. 2024-02-11 16:22:14 +01:00
4ad9d35ee8 put all bar stuff into the same struct. 2024-02-11 16:15:18 +01:00
70e8cb880e simplify plugins code a bit. 2024-02-11 15:56:53 +01:00
afe93518a9 update bar_entry_mode declaration to one liner 2024-02-11 15:47:38 +01:00
90fef3b468 refactor bar variable names 2024-02-11 14:08:19 +01:00
d8522eb827 remove stdbool from rose.c, as already in config.h 2024-02-11 13:59:44 +01:00
9113aac957 some code simplification
- don't have main and "setup" as two separate functions
- declare all global variables at the same time
2024-02-11 13:52:38 +01:00
c33fc76b02 add cycling through tabs 2024-01-06 16:30:09 +01:00
da8a0d7624 add pointer to capturing mouse events. 2023-12-29 18:51:07 +01:00
75848c63a2 formatting + remake pass 2023-12-29 18:38:54 +01:00
c344180055 reorder argument order 2023-12-29 18:38:29 +01:00
6ed0181a0c fix F11 screen toggling 2023-12-29 18:37:50 +01:00
4d94d2d2e6 rename WEBKIT_SETTINGS var to not conflict with webkitgtk 2023-10-06 15:55:37 +01:00
32a23e9a17 formatting pass 2023-10-06 15:45:47 +01:00
799e4c4ab7 fix code path error detected by clang-tidy. 2023-08-19 19:45:25 +02:00
67b46c6420 Add clang-tidy linting, callable with make lint. 2023-08-19 19:37:30 +02:00
d17fb92bb6 small tweaks 2023-06-26 11:26:53 +01:00
16d43ac601 fix libreredirect, use true user agent. 2023-06-25 23:22:15 +01:00
98f6d5630f alerts v2, formatting 2023-06-17 00:29:27 -06:00
1cf68bb1fe custom alert first pass, with GPT-4 help 2023-06-17 00:19:29 -06:00
8d2811c5f9 add max number of tabs 2023-06-10 20:11:19 -06:00
a8be16b1ee debug shortcuts plugin 2023-05-13 23:50:14 -04:00
c46e2ba398 incorporate shortcuts plugin into rose.c and makefile 2023-05-13 23:26:39 -04:00
33b30cfe05 fixes: fix bugs found when running in a virtual machine 2023-03-28 13:25:32 -06:00
dbc334e870 chore: more cleanup 2023-03-28 12:01:08 -06:00
20d0becba9 chore: more upkeep. In particular, document wyebadblock better 2023-03-28 11:32:47 -06:00
bbcf1dabd2 Revert "tweak: move things around"
This reverts commit ca59138a2a.
2023-03-28 11:19:11 -06:00
ca59138a2a tweak: move things around 2023-03-28 11:18:54 -06:00
ec97a8f3f3 style: start enforcing coding style
Previous .clang-format wasn't processed

$ clang-format -style=webkit -dump-config > .clang-format
$ clang-format -i rose.c
2023-03-28 10:14:13 -06:00
53cc700748 tweak: add custom user agent. 2023-02-15 20:34:17 +01:00
25dedb09e1 tweaks: around bloomberg webpage 2023-02-15 03:24:47 +01:00
c10b7632eb feat: add possibility of launching many tabs at once.
also, personalize this:
- enable extensions
- change to my css
- change relative paths.

fix various bugs:
- set the zoom level in notebook_append, not in notebook_init
- have a handly debug option for valgrind
2023-02-08 14:29:36 +01:00
2db650d7cc tweak: enable all plugins. 2023-02-07 14:43:00 +01:00
b50d30851b fix: fix some warts
- stuff to deal with plugin code wasn't actually compiling
  - created a "stand_in" plugin to provide headers and function
definitions
  - when these are not used
  - it is likely there are better approaches here
- hidebar, newtab -> hide_bar, new_tab
2023-02-07 14:17:10 +01:00
b48c504871 feat: use flags rather than uncommenting code
- Significantly simpler
- Easier for me to keep up with upstream
- Alternatives:
  - Comments as before
  - git patches, as in the suckless community: eventually leads to
confusion about conflicting patches.
  - some other option
2023-02-05 03:57:29 +01:00