[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
sullivan
sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:54:56 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 202840e2c2ddf4889d20e5f36fbcd274b9e408ea
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Feb 1 02:02:50 2002 +0000
* History.subproj/WKURIList.m: (newURIListNode):
retain entries before adding them to list. The node-freeing
routine was releasing, but the node-adding routine wasn't
retaining. Bad asymmetry, made up for by WebViewTest not
autoreleasing. I fixed that too.
* Tests/khtmlview/_KWQOwner.m: (-[_KWQOwner newUriDone:]):
autorelease new WKURIEntry before handing it to
WKBackForwardList.
Implemented simple back/forward, using the existing back/forward code that
WebViewTest was using (after fixing an object lifetime bug there). Also
cleaned up viewSource stuff a little.
* BrowserDocument.h:
Added declarations for canGoBack, canGoForward, goBack, goForward; changed
webController to _webController; added _backForwardList.
* BrowserDocument.m:
(-[BrowserDocument currentURL]),
(-[BrowserDocument setCurrentURL:]),
(-[BrowserDocument setMainWebView:]),
(-[BrowserDocument setUpSearchChannels]),
(-[BrowserDocument searchChannels]):
Just updated for instance variable name changes and/or moved around.
(-[BrowserDocument init]): Make a back/forward list
(-[BrowserDocument dealloc]): Nuke a back/forward list
(-[BrowserDocument goToURLBypassingBackForwardList:]): New method, contains
the code that used to be goToURL
(-[BrowserDocument goToURL:]): Now calls goToURLBypassingBackForwardList and
then adds an entry to the back/forward list.
(-[BrowserDocument canGoBack]),
(-[BrowserDocument canGoForward]),
(-[BrowserDocument goBack]),
(-[BrowserDocument goForward]): New methods, implement back/forward list by
calling methods on WKBackForwardList
(-[BrowserDocument openNewTextEditDocumentWithString:]): New helper method, contains
former guts of viewSource and viewReconstructedSource.
(-[BrowserDocument viewSource:]),
(-[BrowserDocument viewReconstructedSource:]): Call openNewTextEditDocumentWithString.
* BrowserWindow.h: Added declaration for viewReconstructedSource
* BrowserWindow.m:
(-[BrowserWindow goBack:]),
(-[BrowserWindow goForward:]): Call BrowserDocument methods.
(-[BrowserWindow isShowingSearchResults:]): Fixed bug where it would return YES
if there was no URL at all displayed.
(-[BrowserWindow validateToolbarItem:]): Call [[self document] canGoBack] instead
of [self canGoBack], same for forward.
(-[BrowserWindow validateMenuItem:]): add test for viewReconstructedSource. Make
both viewSource and viewReconstructedSource enabled only if currentURL is not nil.
(-[BrowserWindow viewReconstructedSource:]): removed casts made unnecessary by adding
the declaration to the header file.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4de00e8..fdeb159 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,13 @@
2002-01-31 John Sullivan <sullivan at apple.com>
+ * History.subproj/WKURIList.m: (newURIListNode):
+ retain entries before adding them to list. The node-freeing
+ routine was releasing, but the node-adding routine wasn't
+ retaining. Bad asymmetry, made up for by WebViewTest not
+ autoreleasing. I fixed that too.
+
+2002-01-31 John Sullivan <sullivan at apple.com>
+
* WebKit.pbproj: Removed -O0, so it will now get all the same
warnings as pbxbuild gets.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 4de00e8..fdeb159 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,13 @@
2002-01-31 John Sullivan <sullivan at apple.com>
+ * History.subproj/WKURIList.m: (newURIListNode):
+ retain entries before adding them to list. The node-freeing
+ routine was releasing, but the node-adding routine wasn't
+ retaining. Bad asymmetry, made up for by WebViewTest not
+ autoreleasing. I fixed that too.
+
+2002-01-31 John Sullivan <sullivan at apple.com>
+
* WebKit.pbproj: Removed -O0, so it will now get all the same
warnings as pbxbuild gets.
diff --git a/WebKit/History.subproj/IFURIList.m b/WebKit/History.subproj/IFURIList.m
index e7e66cd..0c69804 100644
--- a/WebKit/History.subproj/IFURIList.m
+++ b/WebKit/History.subproj/IFURIList.m
@@ -16,6 +16,8 @@ struct WKURIListNode
static WKURIListNode *newURIListNode(WKURIEntry *entry)
{
WKURIListNode *node;
+
+ [entry retain];
node = malloc(sizeof(WKURIListNode));
node->hash = [entry hash];
diff --git a/WebKit/History.subproj/WKURIList.m b/WebKit/History.subproj/WKURIList.m
index e7e66cd..0c69804 100644
--- a/WebKit/History.subproj/WKURIList.m
+++ b/WebKit/History.subproj/WKURIList.m
@@ -16,6 +16,8 @@ struct WKURIListNode
static WKURIListNode *newURIListNode(WKURIEntry *entry)
{
WKURIListNode *node;
+
+ [entry retain];
node = malloc(sizeof(WKURIListNode));
node->hash = [entry hash];
diff --git a/WebKit/History.subproj/WebHistoryList.m b/WebKit/History.subproj/WebHistoryList.m
index e7e66cd..0c69804 100644
--- a/WebKit/History.subproj/WebHistoryList.m
+++ b/WebKit/History.subproj/WebHistoryList.m
@@ -16,6 +16,8 @@ struct WKURIListNode
static WKURIListNode *newURIListNode(WKURIEntry *entry)
{
WKURIListNode *node;
+
+ [entry retain];
node = malloc(sizeof(WKURIListNode));
node->hash = [entry hash];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list