⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



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

Note: See TracTimeline for information about the timeline view.