From c10b7632ebcedff280c4be1357977ae26eff4eaa Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 8 Feb 2023 14:29:36 +0100 Subject: 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 --- plugins/readability/readability.c | 2 +- plugins/stand_in/stand_in.c | 27 --------------------------- plugins/stand_in/stand_in.c.old | 27 +++++++++++++++++++++++++++ plugins/style/style.c | 2 +- 4 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 plugins/stand_in/stand_in.c create mode 100644 plugins/stand_in/stand_in.c.old (limited to 'plugins') diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c index d7d1ed9..0ae9d44 100644 --- a/plugins/readability/readability.c +++ b/plugins/readability/readability.c @@ -4,7 +4,7 @@ #define READABILITY_N 84251 + 1 void read_readability_js(char* string){ - FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/plugins/readability/readability.js", "r"); + FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/plugins/readability/readability.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); string=NULL; diff --git a/plugins/stand_in/stand_in.c b/plugins/stand_in/stand_in.c deleted file mode 100644 index dbcc7e8..0000000 --- a/plugins/stand_in/stand_in.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Why this file is needed: - * If the plugins are disabled, - * their conditionals will never resolve - * and their functionality never comes into play - * but the compiler still wants to know their type -*/ - -int libre_redirect(const char* uri, char* uri_filtered){ - return 0; -} -void str_init(char* str, int n){ - -}; - -int str_replace_start(const char* string, const char* target, - const char* replacement, char* output){ - return 1; -}; - -void read_readability_js(char* string){ - -} - -void read_style_js(char* string){ - -} - diff --git a/plugins/stand_in/stand_in.c.old b/plugins/stand_in/stand_in.c.old new file mode 100644 index 0000000..dbcc7e8 --- /dev/null +++ b/plugins/stand_in/stand_in.c.old @@ -0,0 +1,27 @@ +/* Why this file is needed: + * If the plugins are disabled, + * their conditionals will never resolve + * and their functionality never comes into play + * but the compiler still wants to know their type +*/ + +int libre_redirect(const char* uri, char* uri_filtered){ + return 0; +} +void str_init(char* str, int n){ + +}; + +int str_replace_start(const char* string, const char* target, + const char* replacement, char* output){ + return 1; +}; + +void read_readability_js(char* string){ + +} + +void read_style_js(char* string){ + +} + diff --git a/plugins/style/style.c b/plugins/style/style.c index dc2da8a..7e8ddf0 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -4,7 +4,7 @@ #define STYLE_N 794 + 1 void read_style_js(char* string){ - FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/plugins/style/style.js", "r"); + FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/plugins/style/style.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); string=NULL; -- cgit v1.2.3