diff options
Diffstat (limited to 'kde-base/kdewebdev')
-rw-r--r-- | kde-base/kdewebdev/ChangeLog | 13 | ||||
-rw-r--r-- | kde-base/kdewebdev/Manifest | 17 | ||||
-rw-r--r-- | kde-base/kdewebdev/files/digest-kdewebdev-3.3.2-r2 | 1 | ||||
-rw-r--r-- | kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r1 | 1 | ||||
-rw-r--r-- | kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r2 (renamed from kde-base/kdewebdev/files/digest-kdewebdev-3.4.0) | 0 | ||||
-rw-r--r-- | kde-base/kdewebdev/files/post-3.4-kdewebdev-2.diff (renamed from kde-base/kdewebdev/files/post-3.4-kdewebdev.diff) | 2 | ||||
-rw-r--r-- | kde-base/kdewebdev/files/quanta-3.4.0-vpl.patch | 214 | ||||
-rw-r--r-- | kde-base/kdewebdev/kdewebdev-3.3.2-r2.ebuild (renamed from kde-base/kdewebdev/kdewebdev-3.4.0.ebuild) | 14 | ||||
-rw-r--r-- | kde-base/kdewebdev/kdewebdev-3.4.0-r2.ebuild (renamed from kde-base/kdewebdev/kdewebdev-3.4.0-r1.ebuild) | 5 |
9 files changed, 248 insertions, 19 deletions
diff --git a/kde-base/kdewebdev/ChangeLog b/kde-base/kdewebdev/ChangeLog index a59249baff1c..6e42ee32668b 100644 --- a/kde-base/kdewebdev/ChangeLog +++ b/kde-base/kdewebdev/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for kde-base/kdewebdev # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/ChangeLog,v 1.48 2005/04/20 23:56:39 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/ChangeLog,v 1.49 2005/05/02 23:13:20 carlo Exp $ + +*kdewebdev-3.4.0-r2 (02 May 2005) +*kdewebdev-3.3.2-r2 (02 May 2005) + + 02 May 2005; Carsten Lohrke <carlo@gentoo.org> + +files/quanta-3.4.0-vpl.patch, -files/post-3.4-kdewebdev.diff, + +files/post-3.4-kdewebdev-2.diff, +kdewebdev-3.3.2-r2.ebuild, + -kdewebdev-3.4.0.ebuild, -kdewebdev-3.4.0-r1.ebuild, + +kdewebdev-3.4.0-r2.ebuild: + new Kommander patch, fixing a bug in the previous one; fix for Quanta vpl + editor 20 Apr 2005; Lars Weiler <pylon@gentoo.org> kdewebdev-3.3.2-r1.ebuild: Stable on ppc; bug #89092. diff --git a/kde-base/kdewebdev/Manifest b/kde-base/kdewebdev/Manifest index b2da93d07f5f..283a1d5b68d2 100644 --- a/kde-base/kdewebdev/Manifest +++ b/kde-base/kdewebdev/Manifest @@ -1,11 +1,12 @@ -MD5 e8d20516a5b3eb700b26bc1f54a35fe2 ChangeLog 5577 +MD5 79d65a590a3d39f78782720882289522 kdewebdev-3.3.2-r2.ebuild 409 +MD5 b6eea2c9df42f2942855739fea29718a kdewebdev-3.3.2-r1.ebuild 506 +MD5 c58427bd772bf12e47efaeb45501659f kdewebdev-3.4.0-r2.ebuild 476 +MD5 9e0cac2dd46d8b1056248500d1c1c478 ChangeLog 5995 MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 MD5 d8da4dc9bcb492f4f27562f6746840e7 kdewebdev-3.3.2.ebuild 429 -MD5 db668bfea09ef850d822ac165519ef71 kdewebdev-3.4.0.ebuild 451 -MD5 b6eea2c9df42f2942855739fea29718a kdewebdev-3.3.2-r1.ebuild 506 -MD5 04f4b76f94ab45b7c03cf16c8be6307a kdewebdev-3.4.0-r1.ebuild 536 -MD5 5c18da2078103b3b7c13439cc5980e13 files/digest-kdewebdev-3.3.2 69 -MD5 a6863fd743a5d77407c2de68efec9b90 files/digest-kdewebdev-3.4.0 69 MD5 5c18da2078103b3b7c13439cc5980e13 files/digest-kdewebdev-3.3.2-r1 69 -MD5 a6863fd743a5d77407c2de68efec9b90 files/digest-kdewebdev-3.4.0-r1 69 -MD5 a39adba926c0ea862356b01191d762a1 files/post-3.4-kdewebdev.diff 2698 +MD5 5c18da2078103b3b7c13439cc5980e13 files/digest-kdewebdev-3.3.2-r2 69 +MD5 a6863fd743a5d77407c2de68efec9b90 files/digest-kdewebdev-3.4.0-r2 69 +MD5 d0fe799b425a893d05d633cd6afb32a8 files/quanta-3.4.0-vpl.patch 8115 +MD5 64933746cbdc378bd6d40e0b56eac91f files/post-3.4-kdewebdev-2.diff 2703 +MD5 5c18da2078103b3b7c13439cc5980e13 files/digest-kdewebdev-3.3.2 69 diff --git a/kde-base/kdewebdev/files/digest-kdewebdev-3.3.2-r2 b/kde-base/kdewebdev/files/digest-kdewebdev-3.3.2-r2 new file mode 100644 index 000000000000..6e016ea743e8 --- /dev/null +++ b/kde-base/kdewebdev/files/digest-kdewebdev-3.3.2-r2 @@ -0,0 +1 @@ +MD5 582d0f3073d5829b4ab21b03411ba697 kdewebdev-3.3.2.tar.bz2 4797649 diff --git a/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r1 b/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r1 deleted file mode 100644 index 0af1ae241535..000000000000 --- a/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a131b9a14c5da402417b43ed8bc61df1 kdewebdev-3.4.0.tar.bz2 6243584 diff --git a/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0 b/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r2 index 0af1ae241535..0af1ae241535 100644 --- a/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0 +++ b/kde-base/kdewebdev/files/digest-kdewebdev-3.4.0-r2 diff --git a/kde-base/kdewebdev/files/post-3.4-kdewebdev.diff b/kde-base/kdewebdev/files/post-3.4-kdewebdev-2.diff index 937c99d97257..5bf3f475f94b 100644 --- a/kde-base/kdewebdev/files/post-3.4-kdewebdev.diff +++ b/kde-base/kdewebdev/files/post-3.4-kdewebdev-2.diff @@ -25,7 +25,7 @@ diff -u -3 -d -p -r1.49 instance.cpp + + bool inTemp = false; + for (QStringList::ConstIterator I = tmpDirs.begin(); I != tmpDirs.end(); ++I) -+ if (m_uiFileName.directory().startsWith(*I)) ++ if (m_uiFileName.directory(false).startsWith(*I)) + inTemp = true; + + if (inTemp) diff --git a/kde-base/kdewebdev/files/quanta-3.4.0-vpl.patch b/kde-base/kdewebdev/files/quanta-3.4.0-vpl.patch new file mode 100644 index 000000000000..4188ab7072bc --- /dev/null +++ b/kde-base/kdewebdev/files/quanta-3.4.0-vpl.patch @@ -0,0 +1,214 @@ +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parsers/qtag.cpp,v +retrieving revision 1.22 +retrieving revision 1.23 +diff -u -r1.22 -r1.23 +--- quanta/parsers/qtag.cpp 2005/01/29 13:31:13 1.22 ++++ quanta/parsers/qtag.cpp 2005/03/29 22:18:35 1.23 +@@ -210,7 +210,7 @@ + return (!childTags.isEmpty() && childTags.contains(tagName)); + } + +-bool QTag::isChild(Node *node, bool trueIfNoChildsDefined) ++bool QTag::isChild(Node *node, bool trueIfNoChildsDefined, bool treatEmptyNodesAsText) + { + QString nodeName; + +@@ -223,8 +223,15 @@ + else + return(!childTags.isEmpty() && (childTags.contains("#text") || childTags.contains("#TEXT"))); + } +- else if(node->tag->type == Tag::Empty) +- return true; ++ else if(node->tag->type == Tag::Empty && !treatEmptyNodesAsText) ++ return true; ++ else if(node->tag->type == Tag::Empty && treatEmptyNodesAsText) ++ { ++ if(trueIfNoChildsDefined) ++ return(childTags.isEmpty() || childTags.contains("#text") || childTags.contains("#TEXT")); ++ else ++ return(!childTags.isEmpty() && (childTags.contains("#text") || childTags.contains("#TEXT"))); ++ } + else if(node->tag->type == Tag::XmlTagEnd) + { + nodeName = node->tag->name; +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parsers/qtag.h,v +retrieving revision 1.65 +retrieving revision 1.66 +diff -u -r1.65 -r1.66 +--- quanta/parsers/qtag.h 2005/02/28 18:18:28 1.65 ++++ quanta/parsers/qtag.h 2005/03/29 22:18:35 1.66 +@@ -235,7 +235,7 @@ + there are no children defined and if trueIfNoChildsDefined is set to true. */ + bool isChild(const QString& tag, bool trueIfNoChildsDefined = true); + //prefer using this variant, it handle Text, Empty, XmlTagEnd nodes! +- bool isChild(Node *node, bool trueIfNoChildsDefined = true); ++ bool isChild(Node *node, bool trueIfNoChildsDefined = true, bool treatEmptyNodesAsText = false); + /*** Returns the list of parent of this tag. */ + QPtrList<QTag> parents(); + +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parts/kafka/htmlenhancer.cpp,v +retrieving revision 1.22 +retrieving revision 1.22.2.1 +diff -u -r1.22 -r1.22.2.1 +--- quanta/parts/kafka/htmlenhancer.cpp 2005/02/09 11:41:58 1.22 ++++ quanta/parts/kafka/htmlenhancer.cpp 2005/04/28 00:08:23 1.22.2.1 +@@ -125,9 +125,12 @@ + m_wkafkapart->connectDomNodeToQuantaNode(domNode2, node); + } + } ++ ++ QTag* qTag = QuantaCommon::tagFromDTD(m_wkafkapart->getCurrentDoc()->defaultDTD(), ++ parentDNode.nodeName().string()); + + //THEN replace, if asked, scripts by a little icon. +- if(node->tag->type == Tag::ScriptTag && m_showIconForScripts) ++ if(node->tag->type == Tag::ScriptTag && m_showIconForScripts && qTag->isChild("IMG", false)) + { + script = node->tag->name.left(node->tag->name.find("block", 0, false) - 1).lower(); + #ifdef LIGHT_DEBUG +@@ -164,7 +167,7 @@ + } + + //THEN if it is a comment, add a little icon ;o) +- if(node->tag->type == Tag::Comment && m_showIconForScripts) ++ if(node->tag->type == Tag::Comment && m_showIconForScripts && qTag->isChild("IMG", false)) + { + #ifdef LIGHT_DEBUG + kdDebug(25001)<< "HTMLTranslator::translateNode() - Comment" << endl; +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parts/kafka/kafkacommon.cpp,v +retrieving revision 1.74 +retrieving revision 1.74.2.1 +diff -u -r1.74 -r1.74.2.1 +--- quanta/parts/kafka/kafkacommon.cpp 2005/01/05 05:02:36 1.74 ++++ quanta/parts/kafka/kafkacommon.cpp 2005/04/28 00:08:23 1.74.2.1 +@@ -3328,19 +3328,10 @@ + try + { + parent.insertBefore(node, nextSibling); +-#ifdef HEAVY_DEBUG +- + } +- catch(DOM::DOMException e) ++ catch(DOM::DOMException const& e) + { + kdDebug(25001)<< "kafkaCommon::insertDomNode() - ERROR code :" << e.code << endl; +-#else +- +- } +- catch(DOM::DOMException) +- { +-#endif +- return false; + } + return true; + } +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parts/kafka/wkafkapart.cpp,v +retrieving revision 1.95 +retrieving revision 1.95.2.1 +diff -u -r1.95 -r1.95.2.1 +--- quanta/parts/kafka/wkafkapart.cpp 2005/02/22 12:46:18 1.95 ++++ quanta/parts/kafka/wkafkapart.cpp 2005/04/28 00:08:23 1.95.2.1 +@@ -709,29 +709,35 @@ + node->setLeafNode(ptDomNode); + mainEnhancer->enhanceNode(node, parentNode, nextNode); + +- if(nextNode.isNull()) +- { +- if(!kafkaCommon::insertDomNode(newNode, parentNode)) +- { +- disconnectDomNodeFromQuantaNode(newNode); +- if(node->rootNode()) +- delete node->rootNode(); +- node->setRootNode(0L); +- return false; +- } +- } +- else +- { +- if(!kafkaCommon::insertDomNode(newNode, parentNode, nextNode)) +- { +- disconnectDomNodeFromQuantaNode(newNode); +- if(node->rootNode()) +- delete node->rootNode(); +- node->setRootNode(0L); +- return false; +- } +- } +- } ++ QTag* qTag = QuantaCommon::tagFromDTD(getCurrentDoc()->defaultDTD(), ++ parentNode.nodeName().string()); ++ ++ if(qTag->isChild(node, false)) ++ { ++ if(nextNode.isNull()) ++ { ++ if(!kafkaCommon::insertDomNode(newNode, parentNode)) ++ { ++ disconnectDomNodeFromQuantaNode(newNode); ++ if(node->rootNode()) ++ delete node->rootNode(); ++ node->setRootNode(0L); ++ return false; ++ } ++ } ++ else ++ { ++ if(!kafkaCommon::insertDomNode(newNode, parentNode, nextNode)) ++ { ++ disconnectDomNodeFromQuantaNode(newNode); ++ if(node->rootNode()) ++ delete node->rootNode(); ++ node->setRootNode(0L); ++ return false; ++ } ++ } ++ } ++ } + else + { + ptDomNode = new DOM::Node(newNode); +Index: quanta/parts/kafka/wkafkapart.cpp +=================================================================== +RCS file: /home/kde/kdewebdev/quanta/parts/kafka/wkafkapart.cpp,v +retrieving revision 1.95.2.1 +diff -U3 -r1.95.2.1 wkafkapart.cpp +--- quanta/parts/kafka/wkafkapart.cpp 28 Apr 2005 00:08:23 -0000 1.95.2.1 ++++ quanta/parts/kafka/wkafkapart.cpp 2 May 2005 17:47:52 -0000 +@@ -499,16 +499,24 @@ + Node *n, *parent; + int i; + +-// This is a hack to not created DOM::Nodes from quanta empty nodes if outside body, because KHTML +-// moves a node in that condition into the body and then the trees become desynchronized. +- bool isInsideBody = false; +- if(!m_currentDoc->defaultDTD()->name.contains("HTML", false)) +- isInsideBody = true; +- else +- isInsideBody = kafkaCommon::hasParent(node, "body"); ++// Don't create DOM::Nodes from Quanta empty nodes outside the body or inside other not allowed element, or KHTML ++// will give us problems. ++ bool canInsertEmptyNode = false; ++ if(node->tag->type == Tag::Empty) ++ { ++ if(!m_currentDoc->defaultDTD()->name.contains("HTML", false)) ++ canInsertEmptyNode = true; ++ else ++ canInsertEmptyNode = kafkaCommon::hasParent(node, "body"); ++ ++ Node* parent_node = node->parent; ++ QTag* parent_node_description_tag = QuantaCommon::tagFromDTD(parent_node); ++ if(parent_node_description_tag && !parent_node_description_tag->isChild(node, false, true)) ++ canInsertEmptyNode = false; ++ } + + if(node->tag->type == Tag::XmlTag || +- ((node->tag->type == Tag::Text || (node->tag->type == Tag::Empty && isInsideBody)) && !node->insideSpecial)) ++ ((node->tag->type == Tag::Text || (node->tag->type == Tag::Empty && canInsertEmptyNode)) && !node->insideSpecial)) + { + str = node->tag->name.lower(); + diff --git a/kde-base/kdewebdev/kdewebdev-3.4.0.ebuild b/kde-base/kdewebdev/kdewebdev-3.3.2-r2.ebuild index 8bcd2ee1e79e..3b58bb55dbdd 100644 --- a/kde-base/kdewebdev/kdewebdev-3.4.0.ebuild +++ b/kde-base/kdewebdev/kdewebdev-3.3.2-r2.ebuild @@ -1,16 +1,18 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/kdewebdev-3.4.0.ebuild,v 1.2 2005/03/18 16:40:15 morfic Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/kdewebdev-3.3.2-r2.ebuild,v 1.1 2005/05/02 23:13:20 carlo Exp $ -inherit kde-dist +inherit kde-dist eutils DESCRIPTION="KDE web development - Quanta" -KEYWORDS="~x86 ~amd64 ~sparc ~ppc" -IUSE="doc tidy" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~mips" +IUSE="doc" DEPEND="~kde-base/kdebase-${PV} doc? ( app-doc/quanta-docs )" -RDEPEND="${DEPEND} - tidy? ( app-text/htmltidy )" +src_unpack(){ + kde_src_unpack + epatch ${FILESDIR}/post-3.4-kdewebdev-2.diff +}
\ No newline at end of file diff --git a/kde-base/kdewebdev/kdewebdev-3.4.0-r1.ebuild b/kde-base/kdewebdev/kdewebdev-3.4.0-r2.ebuild index 9e60a856f5aa..98d3911c4db7 100644 --- a/kde-base/kdewebdev/kdewebdev-3.4.0-r1.ebuild +++ b/kde-base/kdewebdev/kdewebdev-3.4.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/kdewebdev-3.4.0-r1.ebuild,v 1.1 2005/04/20 00:02:13 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdewebdev/kdewebdev-3.4.0-r2.ebuild,v 1.1 2005/05/02 23:13:20 carlo Exp $ inherit kde-dist eutils @@ -17,5 +17,6 @@ RDEPEND="${DEPEND} src_unpack(){ kde_src_unpack - epatch ${FILESDIR}/post-3.4-kdewebdev.diff + epatch ${FILESDIR}/post-3.4-kdewebdev-2.diff + epatch ${FILESDIR}/quanta-3.4.0-vpl.patch }
\ No newline at end of file |