diff --git a/contrib/smjs/hooks.js b/contrib/smjs/hooks.js index a34c4785..2f28e683 100644 --- a/contrib/smjs/hooks.js +++ b/contrib/smjs/hooks.js @@ -42,14 +42,6 @@ function root_w00t(cached, vs) { }; elinks.preformat_html_hooks.push(root_w00t); -function fix_rss_content_type(cached, vs) { - if (cached.uri.match(/rss\.slashdot\.org|\.(rss|rdf)$/)) - cached.type = 'application/rss+xml'; - - return true; -}; -elinks.preformat_html_hooks.push(fix_rss_content_type); - function mangle_deb_bugnumbers(cached, vs) { if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/) && !cached.uri.match(/changelog\.Debian/)) diff --git a/src/setup.h b/src/setup.h index 8c508386..8b6e0c03 100644 --- a/src/setup.h +++ b/src/setup.h @@ -32,21 +32,21 @@ #define MEMORY_CACHE_GC_PERCENT 90 #define MAX_CACHED_OBJECT_PERCENT 25 -#define MAX_INPUT_HISTORY_ENTRIES 1024 +#define MAX_INPUT_HISTORY_ENTRIES 256 #define SCROLL_ITEMS 2 -#define DIALOG_LEFT_BORDER 0 -#define DIALOG_TOP_BORDER 0 -#define DIALOG_LEFT_INNER_BORDER 0 +#define DIALOG_LEFT_BORDER 3 +#define DIALOG_TOP_BORDER 1 +#define DIALOG_LEFT_INNER_BORDER 2 #define DIALOG_TOP_INNER_BORDER 0 -#define DIALOG_FRAME 0 +#define DIALOG_FRAME 2 #define DIALOG_MIN_WIDTH 42 #define DIALOG_LB (DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1) #define DIALOG_TB (DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1) -#define ESC_TIMEOUT ((milliseconds_T) 50) +#define ESC_TIMEOUT ((milliseconds_T) 200) #define DISPLAY_TIME_MIN ((milliseconds_T) 200) #define DISPLAY_TIME 20