From 5d039d9848262a0c8319f9fdce65a76382c1174a Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sun, 5 Jul 2015 16:56:25 +0200
Subject: [PATCH] Optimized retro webbrowser configs.
The change https://github.com/contiki-os/contiki/commit/c7b8bac0065f1292ecd1701fc7e2bbb121556f5e optimized memory usage and thus allowed to adjust the retro webbrowser configs for improved web page compatibility.
---
platform/apple2enh/contiki-conf.h | 13 +++----------
platform/atarixl/contiki-conf.h | 12 +++---------
platform/c128/contiki-conf.h | 9 +++------
platform/c64/contiki-conf.h | 13 +++----------
4 files changed, 12 insertions(+), 35 deletions(-)
diff --git a/platform/apple2enh/contiki-conf.h b/platform/apple2enh/contiki-conf.h
index 4326efe2d..58316ca6d 100644
--- a/platform/apple2enh/contiki-conf.h
+++ b/platform/apple2enh/contiki-conf.h
@@ -55,15 +55,8 @@
#define IRC_CONF_WIDTH 80
#define IRC_CONF_HEIGHT 23
-#define WWW_CONF_WEBPAGE_WIDTH 80
-#define WWW_CONF_WEBPAGE_HEIGHT 19
-#define WWW_CONF_HISTORY_SIZE 4
-#define WWW_CONF_MAX_URLLEN 78
-#define WWW_CONF_MAX_NUMPAGEWIDGETS 20
-#define WWW_CONF_FORMS 1
-#define WWW_CONF_MAX_FORMACTIONLEN 20
-#define WWW_CONF_MAX_INPUTNAMELEN 20
-#define WWW_CONF_MAX_INPUTVALUELEN 20
-#define WWW_CONF_WGET_EXEC(url) exec("wget", url)
+#define WWW_CONF_WEBPAGE_HEIGHT 19
+#define WWW_CONF_HISTORY_SIZE 4
+#define WWW_CONF_WGET_EXEC(url) exec("wget", url)
#endif /* CONTIKI_CONF_H_ */
diff --git a/platform/atarixl/contiki-conf.h b/platform/atarixl/contiki-conf.h
index 047e473ed..967112637 100644
--- a/platform/atarixl/contiki-conf.h
+++ b/platform/atarixl/contiki-conf.h
@@ -60,14 +60,8 @@
#define IRC_CONF_WIDTH 40
#define IRC_CONF_HEIGHT 23
-#define WWW_CONF_WEBPAGE_WIDTH 40
-#define WWW_CONF_WEBPAGE_HEIGHT 19
-#define WWW_CONF_HISTORY_SIZE 4
-#define WWW_CONF_MAX_URLLEN 80
-#define WWW_CONF_MAX_NUMPAGEWIDGETS 20
-#define WWW_CONF_FORMS 1
-#define WWW_CONF_MAX_FORMACTIONLEN 20
-#define WWW_CONF_MAX_INPUTNAMELEN 20
-#define WWW_CONF_MAX_INPUTVALUELEN 20
+#define WWW_CONF_WEBPAGE_WIDTH 40
+#define WWW_CONF_WEBPAGE_HEIGHT 19
+#define WWW_CONF_HISTORY_SIZE 4
#endif /* CONTIKI_CONF_H_ */
diff --git a/platform/c128/contiki-conf.h b/platform/c128/contiki-conf.h
index 8aabcca03..2bad0a6e6 100644
--- a/platform/c128/contiki-conf.h
+++ b/platform/c128/contiki-conf.h
@@ -65,11 +65,8 @@
#define IRC_CONF_WIDTH 80
#define IRC_CONF_HEIGHT 24
-#define WWW_CONF_WEBPAGE_WIDTH 80
-#define WWW_CONF_WEBPAGE_HEIGHT 20
-#define WWW_CONF_HISTORY_SIZE 0
-#define WWW_CONF_MAX_URLLEN 78
-#define WWW_CONF_MAX_NUMPAGEWIDGETS 20
-#define WWW_CONF_FORMS 0
+#define WWW_CONF_HISTORY_SIZE 0
+#define WWW_CONF_FORMS 0
+#define WWW_CONF_PAGEATTRIB_SIZE 1500
#endif /* CONTIKI_CONF_H_ */
diff --git a/platform/c64/contiki-conf.h b/platform/c64/contiki-conf.h
index 0e5581aae..868d4dcd1 100644
--- a/platform/c64/contiki-conf.h
+++ b/platform/c64/contiki-conf.h
@@ -65,15 +65,8 @@
#define IRC_CONF_WIDTH 40
#define IRC_CONF_HEIGHT 24
-#define WWW_CONF_WEBPAGE_WIDTH 40
-#define WWW_CONF_WEBPAGE_HEIGHT 20
-#define WWW_CONF_HISTORY_SIZE 4
-#define WWW_CONF_MAX_URLLEN 80
-#define WWW_CONF_MAX_NUMPAGEWIDGETS 20
-#define WWW_CONF_FORMS 1
-#define WWW_CONF_MAX_FORMACTIONLEN 20
-#define WWW_CONF_MAX_INPUTNAMELEN 20
-#define WWW_CONF_MAX_INPUTVALUELEN 20
-#define WWW_CONF_WGET_EXEC(url) exec("wget", url)
+#define WWW_CONF_WEBPAGE_WIDTH 40
+#define WWW_CONF_HISTORY_SIZE 4
+#define WWW_CONF_WGET_EXEC(url) exec("wget", url)
#endif /* CONTIKI_CONF_H_ */