summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/patches/patch-ay
diff options
context:
space:
mode:
authoragc <agc>2004-08-13 13:05:04 +0000
committeragc <agc>2004-08-13 13:05:04 +0000
commit8b8af6b6d348f3cd662869a38af7f0fd4e06e5cd (patch)
tree6246eb6f4551b5f113aa194bc1a6b415b5335c20 /x11/kdelibs3/patches/patch-ay
parent4e4d0453a4f2b04df7a46da279a99dab4a895938 (diff)
downloadpkgsrc-8b8af6b6d348f3cd662869a38af7f0fd4e06e5cd.tar.gz
Pullup ticket 102 to the pkgsrc-2004Q2 branch, requested by Mark Davies
Security fix for kdelibs3 Module Name: pkgsrc Committed By: markd Date: Wed Aug 11 13:51:14 UTC 2004 Modified Files: pkgsrc/x11/kdelibs3: Makefile distinfo pkgsrc/x11/kdelibs3/patches: patch-an Added Files: pkgsrc/x11/kdelibs3/patches: patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax patch-ay Log Message: Fix some issues related to html frames, cookie handling and temporary filenames. From KDE cvs. Bump PKGREVISION.
Diffstat (limited to 'x11/kdelibs3/patches/patch-ay')
-rw-r--r--x11/kdelibs3/patches/patch-ay47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11/kdelibs3/patches/patch-ay b/x11/kdelibs3/patches/patch-ay
new file mode 100644
index 00000000000..9fd9d5a781c
--- /dev/null
+++ b/x11/kdelibs3/patches/patch-ay
@@ -0,0 +1,47 @@
+$NetBSD: patch-ay,v 1.3.4.1 2004/08/13 13:05:05 agc Exp $
+
+Index: kparts/browserextension.h
+===================================================================
+RCS file: /home/kde/kdelibs/kparts/browserextension.h,v
+retrieving revision 1.110
+diff -u -p -r1.110 browserextension.h
+--- kparts/browserextension.h 26 Sep 2003 07:13:13 -0000 1.110
++++ kparts/browserextension.h 3 Aug 2004 14:36:48 -0000
+@@ -671,10 +671,16 @@ public:
+ *
+ * Note that this method does not query the child objects recursively.
+ */
+-
+ virtual const QPtrList<KParts::ReadOnlyPart> frames() const;
+
+ /**
++ * @internal
++ * Returns the part that contains @p frame and that may be accessed
++ * by @p callingPart
++ */
++ BrowserHostExtension *findFrameParent(KParts::ReadOnlyPart *callingPart, const QString &frame);
++
++ /**
+ * Opens the given url in a hosted child frame. The frame name is specified in the
+ * frameName variable in the urlArgs argument structure (see KParts::URLArgs ) .
+ */
+@@ -687,6 +693,19 @@ public:
+ static BrowserHostExtension *childObject( QObject *obj );
+
+ protected:
++ /** This 'enum' along with the structure below is NOT part of the public API.
++ * It's going to disappear in KDE 4.0 and is likely to change inbetween.
++ *
++ * @internal
++ */
++ enum { VIRTUAL_FIND_FRAME_PARENT = 0x10 };
++ struct FindFrameParentParams
++ {
++ BrowserHostExtension *parent;
++ KParts::ReadOnlyPart *callingPart;
++ QString frame;
++ };
++
+ virtual void virtual_hook( int id, void* data );
+ private:
+ class BrowserHostExtensionPrivate;