[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: [patch] Khtml/DOM visibility patch
From: Unai Garro <ugarro () telefonica ! net>
Date: 2004-11-28 18:40:30
Message-ID: 200411281940.30774.ugarro () telefonica ! net
[Download RAW message or body]
In the previous e-mail I forgot a patch to Khtml/kjs is also needed, so here
you have it
---------- Forwarded Message ----------
Subject: [patch] Khtml/DOM visibility patch
Date: Sunday 28 November 2004 19:21
From: Unai Garro <ugarro@telefonica.net>
To: kde-core-devel@kde.org
Cc: Dirk Mueller <mueller@kde.org>, Michael Pyne <pynm0001@comcast.net>
A patch for DOM to KDE_EXPORT needed symbols from DOM. Or at least those
needed in kdegraphics/ksvg. I'm sure I left some out, but at least with this
one ksvg builds (and runs) just fine
Regards,
Unai
PS: I just read Michael mentioned the problem about DOM exporting symbols. I
hope I didn't waste my time. At least no patch is in cvs ;))
-------------------------------------------------------
["kjsVisibilityPatch.patch" (text/x-diff)]
Index: ustring.h
===================================================================
RCS file: /home/kde/kdelibs/kjs/ustring.h,v
retrieving revision 1.64
diff -u -3 -p -u -r1.64 ustring.h
--- ustring.h 21 Nov 2004 22:51:59 -0000 1.64
+++ ustring.h 28 Nov 2004 18:38:55 -0000
@@ -439,36 +439,36 @@ namespace KJS {
Rep *rep;
};
- inline bool operator==(const UChar &c1, const UChar &c2) {
+ KJS_EXPORT inline bool operator==(const UChar &c1, const UChar &c2) {
return (c1.uc == c2.uc);
}
- inline bool operator!=(const UChar& c1, const UChar& c2) {
+ KJS_EXPORT inline bool operator!=(const UChar& c1, const UChar& c2) {
return !KJS::operator==(c1, c2);
}
- bool operator==(const UString& s1, const UString& s2);
+ KJS_EXPORT bool operator==(const UString& s1, const UString& s2);
inline bool operator!=(const UString& s1, const UString& s2) {
return !KJS::operator==(s1, s2);
}
- bool operator<(const UString& s1, const UString& s2);
- bool operator==(const UString& s1, const char *s2);
- inline bool operator!=(const UString& s1, const char *s2) {
+ KJS_EXPORT bool operator<(const UString& s1, const UString& s2);
+ KJS_EXPORT bool operator==(const UString& s1, const char *s2);
+ KJS_EXPORT inline bool operator!=(const UString& s1, const char *s2) {
return !KJS::operator==(s1, s2);
}
- inline bool operator==(const char *s1, const UString& s2) {
+ KJS_EXPORT inline bool operator==(const char *s1, const UString& s2) {
return operator==(s2, s1);
}
- inline bool operator!=(const char *s1, const UString& s2) {
+ KJS_EXPORT inline bool operator!=(const char *s1, const UString& s2) {
return !KJS::operator==(s1, s2);
}
- bool operator==(const CString& s1, const CString& s2);
- inline bool operator!=(const CString& s1, const CString& s2) {
+ KJS_EXPORT bool operator==(const CString& s1, const CString& s2);
+ KJS_EXPORT inline bool operator!=(const CString& s1, const CString& s2) {
return !KJS::operator==(s1, s2);
}
- inline UString operator+(const UString& s1, const UString& s2) {
+ KJS_EXPORT inline UString operator+(const UString& s1, const UString& s2) {
return UString(s1, s2);
}
- int compare(const UString &, const UString &);
+ KJS_EXPORT int compare(const UString &, const UString &);
} // namespace
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic