aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--dillorc2
-rw-r--r--dw/ui.cc4
-rw-r--r--src/form.cc5
-rw-r--r--src/prefsparser.cc7
5 files changed, 7 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index df7f9a25..38e3b87e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@ dillo-3.0 [September ??, 2011]
Patches: corvid
+- Add support for CSS adjacent sibling selectors.
- Collapse parent's and first child's top margin.
+ - Fix redraw loops and reenable limit_text_width dillorc option.
Patch: Johannes Hofmann
+- Default binding for left-tab changed to Shift-Ctrl-Tab.
Patch: Jeremy Henty
diff --git a/dillorc b/dillorc
index 42bb7414..4b880116 100644
--- a/dillorc
+++ b/dillorc
@@ -80,8 +80,6 @@
# Set this to YES if you want to limit the word wrap width to the viewport
# width (may be useful for iPAQ)
-# *** NOT HOOKED UP YET ***
-#
#limit_text_width=NO
diff --git a/dw/ui.cc b/dw/ui.cc
index 5d5d2bf6..35d63f6c 100644
--- a/dw/ui.cc
+++ b/dw/ui.cc
@@ -266,9 +266,9 @@ void ComplexButtonResource::LayoutReceiver::canvasSizeChanged (int width,
int descent)
{
/**
- * \todo The argument to queueResize is not always true. (But this works.)
+ * \todo Verify that this is correct.
*/
- resource->queueResize (true);
+ resource->queueResize (resource->childWidget->extremesChanged ());
}
ComplexButtonResource::ComplexButtonResource ()
diff --git a/src/form.cc b/src/form.cc
index 9b86fcb7..f70bea8c 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -851,7 +851,10 @@ void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize)
Embed *embed;
char *name, *value;
- page = new Textblock (prefs.limit_text_width);
+ /* We used to have Textblock (prefs.limit_text_width) here,
+ * but it caused 100% CPU usage.
+ */
+ page = new Textblock (false);
page->setStyle (html->styleEngine->backgroundStyle ());
ResourceFactory *factory = HT2LT(html)->getResourceFactory();
diff --git a/src/prefsparser.cc b/src/prefsparser.cc
index 3f8e4a97..4ebb39df 100644
--- a/src/prefsparser.cc
+++ b/src/prefsparser.cc
@@ -218,11 +218,4 @@ void PrefsParser::parse(FILE *fp)
// restore the old numeric locale
setlocale(LC_NUMERIC, oldLocale);
dFree(oldLocale);
-
-
- if (prefs.limit_text_width) {
- /* BUG: causes 100% CPU usage with <button> or <input type="image"> */
- MSG_WARN("Disabling limit_text_width preference (currently broken).\n");
- prefs.limit_text_width = FALSE;
- }
}