Timeline



Mar 5, 2002:

6:06 PM Changeset in webkit [699] by rjw
  • 6 edits in trunk/WebKit

Streamlined layout and drawing. We now do the minimum amount of drawing and
layout.

5:13 PM Changeset in webkit [698] by rjw
  • 2 edits in trunk/WebCore

Attempt to fix symbol errors.

4:46 PM Changeset in webkit [697] by sullivan
  • 4 edits in trunk/WebKit

Replaced mechanism for setting array of 7 font sizes from user's chosen
font size with a far simpler one that gets better results.

  • Preferences.subproj/TextPreferences.m: (-[TextPreferences defaultFontSize]): Renamed from mediumFontSize (-[TextPreferences setDefaultFontSize:]): Renamed from setMediumFontSize; now does everything by computation, no table involved. (-[TextPreferences updateFontSampleField:]), (-[TextPreferences changeFont:]): updated for name changes.
  • Defaults.plist: Tweak default sizes so they match what algorithm returns.
  • WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Tweak default font sizes so they match what algorithm used in Alexander returns.
4:33 PM Changeset in webkit [696] by rjw
  • 32 edits
    4 adds in trunk

Pass errors correctly to browser.
Removed old notification code.
Added support for IFError.
Lots of little cleanups.
Improved IFWebFrame state handling.

4:24 PM Changeset in webkit [695] by cblu
  • 2 edits in trunk/WebCore

Fixed previous break

4:19 PM Changeset in webkit [694] by cblu
  • 2 edits in trunk/WebCore

Intentional break to test jersey

12:30 PM Changeset in webkit [693] by rjw
  • 5 edits in trunk/WebCore

Fixed special case of retain count being -1.

11:52 AM Changeset in webkit [692] by cblu
  • 5 edits in trunk/WebCore
  • Now passing DOCBASE to the Java plug-in
  • Enabled the Java preference
  • Made 'alex' Alexander's signature

Modified Files:

WebBrowser/WebBrowser.pbproj/project.pbxproj
WebCore/src/kwq/KWQKHTMLPart.mm
WebCore/src/kwq/WCJavaAppletWidget.mm

10:40 AM Changeset in webkit [691] by sullivan
  • 4 edits in trunk/WebKit
  • WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Changed default font sizes to match scheme used in Alexander. There are some serious wackinesses with KDE engine font size handling; if and when we address those we might revisit these default sizes.

Made font size preference in Alexander work.

  • Defaults.plist: Added font size defaults that match those in WebKit (since Alexander Preferences window may use these before WebKit is initialized)
  • PreferenceKeys.h: Removed old single-size default; added key for size array.
  • Preferences.subproj/TextPreferences.m: (-[TextPreferences mediumFontSize]): New convenience method to get the size that's displayed in the Preferences UI. (-[TextPreferences setMediumFontSize:]): New method to convert the user's chosen size into a size array, and store that array in user defaults. (-[TextPreferences updateFontSampleField:]), (-[TextPreferences changeFont:]): Use new API.
10:40 AM Changeset in webkit [690] by rjw
  • 2 adds in trunk/WebCore

File needed to isolate web data source allocation from web core.

6:03 AM Changeset in webkit [689] by mjs
  • 6 edits in trunk/WebKit

WebFoundation/

First cut at HTTP Authentication support and API. This fixes Radar
2858993
(HTTP Authentication challenges are not handled). However, there
are still many loose ends indicated by all the FIXMEs in the code.

New IFAuthenticationManager class and related classes:

  • AuthenticationManager.subproj/IFAuthenticationHandler.h:
  • AuthenticationManager.subproj/IFAuthenticationHandlerDispatcher.h:
  • AuthenticationManager.subproj/IFAuthenticationHandlerDispatcher.m: (dispatchToHandler), (dispatcherCopyDescription), (-[IFAuthenticationHandlerDispatcher _dispatchToHandler]), (-[IFAuthenticationHandlerDispatcher initWithAuthenticationHandler:]), (-[IFAuthenticationHandlerDispatcher dealloc]), (-[IFAuthenticationHandlerDispatcher authenticate:]), (-[IFAuthenticationHandlerDispatcher hasHandler:]):
  • AuthenticationManager.subproj/IFAuthenticationManager.h:
  • AuthenticationManager.subproj/IFAuthenticationManager.m: (-[IFAuthenticationManagerPrivate init]), (-[IFAuthenticationManagerPrivate dealloc]), (-[IFAuthenticationManager dealloc]), (-[IFAuthenticationManager init]), (+[IFAuthenticationManager sharedAuthenticationManager]), (-[IFAuthenticationManager addAuthenticationHandler:]), (-[IFAuthenticationManager removeAuthenticationHandler:]), (IFNSURLRemoveAnythingAfterPath), (IFNSURLCanonicalRoot), (IFNSURLGetParent), (-[IFAuthenticationManager realmForURL:]), (-[IFAuthenticationManager realmKeyWithRealm:withURL:]), (-[IFAuthenticationManager addCredentialsToInitialHTTPRequest:]), (-[IFAuthenticationManager checkForAuthenticationFailureInHTTPResponse:withURL:]), (-[IFAuthenticationManager invokeHandlersWithURL:realm:]), (-[IFAuthenticationManager addCredentialsToRetryHTTPRequest:afterFailureResponse:]):
  • AuthenticationManager.subproj/IFAuthenticationManagerPrivate.h:
  • AuthenticationManager.subproj/IFAuthenticationRequest.h:
  • AuthenticationManager.subproj/IFAuthenticationRequest.m: (-[IFAuthenticationRequest initWithURL:realm:username:passwordSentInClear:previousFailures:]), (+[IFAuthenticationRequest authenticationRequestWithURL:realm:username:passwordSentInClear:previousFailures: ]), (-[IFAuthenticationRequest dealloc]), (-[IFAuthenticationRequest url]), (-[IFAuthenticationRequest realm]), (-[IFAuthenticationRequest username]), (-[IFAuthenticationRequest willPasswordBeSentInClear]), (-[IFAuthenticationRequest previousFailures]):
  • AuthenticationManager.subproj/IFAuthenticationResult.h:
  • AuthenticationManager.subproj/IFAuthenticationResult.m: (-[IFAuthenticationResult initWithUsername:password:]), (+[IFAuthenticationResult authenticationResultWithUsername:password:]), (-[IFAuthenticationResult dealloc]), (-[IFAuthenticationResult username]), (-[IFAuthenticationResult password]):

Hook authentication into the loader:

  • CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler initWithURLLoad:]), (-[IFHTTPURLProtocolHandler dealloc]), (-[IFHTTPURLProtocolHandler retryAfterAuthenticationFailure:]), (-[IFHTTPURLProtocolHandler createHTTPRequest]), (-[IFHTTPURLProtocolHandler handleReadStreamEvent:event:]), (-[IFHTTPURLProtocolHandler performHTTPHeaderRead:]):

Added a few more useful extensions:

  • Misc.subproj/IFNSArrayExtensions.h:
  • Misc.subproj/IFNSArrayExtensions.m: (-[NSArray indexOfObjectSatisfyingPredicate:withObject:]):
  • Misc.subproj/IFNSStringExtensions.h:
  • Misc.subproj/IFNSStringExtensions.m: (-[NSString parseAsKeyValuePairHandleQuotes:]), (-[NSString hasSubstring:atIndex:]), (-[NSString encodeBase64]):
  • Misc.subproj/IFNSURLExtensions.h:
  • Misc.subproj/IFNSURLExtensions.m: (+[NSURL URLWithScheme:user:password:host:port:path:parameter:query:fragment:]):
  • WebFoundation.pbproj/project.pbxproj: Build updates.
  • CacheLoader.subproj/IFFileURLProtocolHandler.m: (-[IFFileURLProtocolHandler canCacheResourceData]): Added a random FIXME.

WebKit/

Removed references to IFAuthenticationHandler, since that protocol
now lives in WebFoundation and it's no longer quite appropriate to
include as part of a controller.

  • WebView.subproj/IFBaseWebController.mm:
  • WebView.subproj/IFWebController.h:

WebBrowser/

Added authentication support:

  • AppController.m: (-[AppController awakeFromNib]): Install the authentication handler.

Implementation of Alexander's authentication handler, which
currently prompts the user with a modal dialog. UI still needs
fine-tuning.

  • AuthenticationHandler.h:
  • AuthenticationHandler.m: (+[AuthenticationHandler install]), (-[AuthenticationHandler init]), (-[AuthenticationHandler dealloc]), (-[AuthenticationHandler authenticate:]), (-[AuthenticationHandler cancel:]), (-[AuthenticationHandler logIn:]), (-[AuthenticationHandler loadNib]), (-[AuthenticationHandler showAuthenticationPanel]):
  • AuthenticationPanel.nib: UI for the authentication panel.
  • BrowserDocument.m: Added newline at end of file.

Mar 4, 2002:

6:01 PM Changeset in webkit [688] by rjw
  • 39 edits
    2 adds in trunk

Changes to support 'provisional' data sources.
API changes to IFBaseWebController, removed redundant methods.

3:09 PM Changeset in webkit [687] by sullivan
  • 5 edits in trunk/WebKit

Changed default fonts.

  • WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Changed default fonts to ones that actually exist (this was listing "Times-Roman" where it meant either "Times" or "Times New Roman"). I'm about to check in working font preferences, so it won't matter too much if you don't like the defaults (although we should of course make sure that the defaults are sensible, which I think they are).

Made font preferences work (though not font size preferences; that is next).
Various font-related tweaking.

  • AppController.m: (+[AppController initialize]): Added NSLog in case where Defaults.plist couldn't be parsed as a dictionary; this can be caused by typos or cut-and-paste errors and is often difficult to notice.
  • BrowserDocument.m: (-[BrowserDocument changeFont:]),
  • LocationFieldEditor.m: (-[LocationFieldEditor changeFont:]): Pass changeFont: messages to the preferences window, so the font panel keeps working when you bring a browser window to the front.
  • Defaults.plist:
  • PreferenceKeys.h: Removed values for WebKit preferences, since the default values for those are stored in WebKit. Removed size-per-font defaults since at least for now there will be a single font size for all fonts. Added default for "medium font size", which will be used later to construct the array of font sizes WebKit wants.
  • Preferences.subproj/TextPreferences.m:

(-[TextPreferences updateFontSampleField:]): use same sizeKey for each
sample; use localizedNameForFamily instead of fontName for displayed text;
get font from chosen family name with standard weight so sample field won't
show typeface that WebKit won't use.

(-[TextPreferences updateFontSampleFields]):
New method, calls updateFontSampleField on each field.

(-[TextPreferences chooseFont:]): New method, bottleneck for the three
font-choosing methods;

(-[TextPreferences chooseSerifFont:]),
(-[TextPreferences chooseSansSerifFont:]),
(-[TextPreferences chooseMonospacedFont:]):
Call chooseFont: instead of duplicating code.

(-[TextPreferences changeFont:]): use same sizeKey for all fonts; update
all sample fields after change since size changes affect all fonts; store
familyName instead of fontName.

(-[TextPreferences takeStandardFontChoiceFrom:]): use same sizeKey for all fonts.

(-[TextPreferences initializeFromDefaults]): Call updateFontSampleFields.

(-[TextPreferences moduleWillBeRemoved]): Close the font panel when the
text preferences pane is no longer showing.

  • Preferences.subproj/WBPreferences.m: (-[WBPreferences windowWillClose:]): Call moduleWillBeRemoved on current module.
2:20 PM Changeset in webkit [686] by sullivan
  • 4 edits in trunk/WebKit
  • WebView.subproj/IFWebDataSource.mm: (+[IFWebDataSource initialize]): Reverted default fonts to what they were before I accidentally checked in some debugging changes.
1:22 PM Changeset in webkit [685] by cblu
  • 4 edits in trunk
  • Now, no stream is created when there is no URL passed to IFPluginView. This is done for the Java plug-in since it handles its own downloading/caching.
  • IFPluginView can now handle nil arguments. This is for full-page non-embedded plug-ins.
9:58 AM Changeset in webkit [684] by cblu
  • 10 edits in trunk/WebCore
  • Treating Java.plugin like a CFM plug-in until it exports the correct mach-o symbols
  • Enabled AppleScript in Alexander
  • Fixed a partial URL problem with WCJavaAppletWidget

Modified Files:

WebBrowser/WebBrowser.pbproj/project.pbxproj
WebCore/src/kdelibs/khtml/rendering/render_applet.cpp
WebCore/src/kwq/WCJavaAppletWidget.mm
WebCore/src/kwq/WCPlugin.h WebCore/src/kwq/WCPlugin.mm
WebCore/src/kwq/npapi.h

Mar 1, 2002:

4:29 PM Changeset in webkit [683] by cblu
  • 4 edits in trunk/WebCore

Improved the plug-in search scheme to make it easier to change the plug-in locations in the future. Added Alexander's PlugIns directory to the search locations

3:13 PM Changeset in webkit [682] by cblu
  • 3 edits in trunk/WebCore

Disabling Java for now

2:14 PM Changeset in webkit [681] by cblu
  • 21 edits
    4 adds in trunk

First implementation of WCJavaAppletWidget.
Removed unecessary items from plug-in initialization prototypes.
Added a method getPluginWithFilename to WCPluginDataase to find Java.plugin.

Modified Files:

WebBrowser/Debug/DebugBookmarks.plist
WebCore/src/kdelibs/khtml/rendering/render_applet.cpp
WebCore/src/kwq/KWQKHTMLPart.mm WebCore/src/kwq/Makefile.am
WebCore/src/kwq/WCPlugin.mm WebCore/src/kwq/WCPluginDatabase.h
WebCore/src/kwq/WCPluginDatabase.mm
WebCore/src/kwq/WCPluginWidget.h
WebCore/src/kwq/WCPluginWidget.mm
WebKit/Plugins.subproj/IFPluginView.h
WebKit/Plugins.subproj/IFPluginView.mm

Added Files:

WebCore/src/kwq/WCJavaAppletWidget.h
WebCore/src/kwq/WCJavaAppletWidget.mm

11:59 AM Changeset in webkit [680] by rjw
  • 9 edits in trunk/WebKit

Fixed a potentially large leak in frames. View associated w/
frame was not being released.

Added scaffolding for correct frame by frame load complete check.

Moved private IFWebBaseController method implementations to
IFWebBaseControllerPrivate.mm.

Note: See TracTimeline for information about the timeline view.