-
darin authored
* Tests/WebFoundation-Misc/ifnsurlextensions-test.m: Added code to check the new URL extras methods against the old original versions, which are pasted in here for now. * Tests/WebFoundation-Misc/ifnsurlextensions-test.chk: Updated result to match the changes to _web_URLByRemovingLastPathComponent, and to reflect the new "compare with old original versions" testing. WebFoundation: * Misc.subproj/WebNSURLExtras.m: (-[NSURL _web_URLByRemovingLastPathComponent]): Changed behavior when the path is "/" to return the same URL with a path of "", to match the behavior of the old WebNSURLGetParent. I had hoped this would fix bug 3019790, but it did not. WebCore: - fixed 3019353 -- Japanese (Autodetect) encoding not properly supported * kwq/make-charset-table.pl: Add a "japanese-autodetect" entry to the table explicitly, with a hardcoded encoding value. This should be good enough. * kwq/KWQKHTMLSettings.mm: (KHTMLSettings::mediumFixedFontSize): * kwq/WebCoreEncodings.h: * kwq/WebCoreSettings.h: * kwq/WebCoreSettings.m: Change "fixed font size" to "default fixed font size". Placeholders for the "drawing observer" method that I'll be using to implement the "dump page as diffable text" feature. * kwq/WebCoreTestController.h: Added. * kwq/WebCoreTestController.m: Added. * WebCore.exp: Mention new class. * WebCore.pbproj/project.pbxproj: Mention new files. WebKit: Placeholders for the "drawing observer" method that I'll be using to implement the "dump page as diffable text" feature. * Misc.subproj/WebTestController.h: Added. * Misc.subproj/WebTestController.m: Added. * WebKit.pbproj/project.pbxproj: Mention new files. * WebKit.exp: Mention new class. * WebView.subproj/WebPreferences.h: * WebView.subproj/WebPreferences.m: Changed "fixed font size" to "default fixed font size". WebBrowser: Some fixes to the text encoding menus. * Preferences.subproj/TextPreferences.m: (-[TextPreferences takeDefaultCharacterSetFrom:]): Update the text encoding menu when the character set is changed, because the section that includes that character set shows up at the top. (-[TextPreferences awakeFromNib]): Pass the TextPreferences object as the target for the menu items, because it's not going to be in the responder chain. * AppController.h: Added updateTextEncodingMenu. * AppController.m: (-[AppController applicationDidFinishLaunching:]): Call updateTextEncodingMenu. (-[AppController updateTextEncodingMenu]): Put the code to set up the text encoding menu in here, so it can be called when the default encoding changes. * TextEncodingMenu.h: Added target and preferred encoding parameters. * TextEncodingMenu.m: (-[NSMenu addItemToMenuForEncoding:withTarget:action:]): Add target setting. (-[NSMenu addStandardTextEncodingMenuItemsWithTarget:action:preferredEncoding:]): Remove old items before adding new so this can be reused on a menu. Fixed a bug in the original Mail code that causes an extra separator to be left at the bottom when the chosen group is the last one in the list. * LocationChangeHandler.m: Add an import that is needed now that I removed some unneeded imports from AppController.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c6125447