Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f8ffdf6215072151355419da90a66dbd6384110
      
https://github.com/WebKit/WebKit/commit/4f8ffdf6215072151355419da90a66dbd6384110
  Author: Richard Robinson <[email protected]>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    R Tools/MiniBrowser/AppDelegate.swift
    M Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj
    R Tools/MiniBrowser/SwiftUI/BrowserViewModel.swift
    R Tools/MiniBrowser/SwiftUI/ContentView.swift
    R Tools/MiniBrowser/SwiftUI/MiniBrowserView.swift
    M Tools/MiniBrowser/mac/AppDelegate.h
    M Tools/MiniBrowser/mac/AppDelegate.m
    M Tools/MiniBrowser/mac/MainMenu.xib
    A Tools/SwiftBrowser/Configurations/Base.xcconfig
    A Tools/SwiftBrowser/Configurations/DebugRelease.xcconfig
    A Tools/SwiftBrowser/Configurations/SwiftBrowser.xcconfig
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AccentColor.colorset/Contents.json
    A Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/Artwork - 
Light.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x 
1.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x 
1.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512.png
    A 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]
    A Tools/SwiftBrowser/Resources/Assets.xcassets/Contents.json
    A Tools/SwiftBrowser/Resources/SwiftBrowser.entitlements
    A Tools/SwiftBrowser/Resources/iOS/Info.plist
    A Tools/SwiftBrowser/Resources/mac/Info.plist
    A Tools/SwiftBrowser/Source/AppStorageKeys.swift
    A Tools/SwiftBrowser/Source/BrowserView.swift
    A Tools/SwiftBrowser/Source/BrowserViewModel.swift
    A Tools/SwiftBrowser/Source/ContentView.swift
    A Tools/SwiftBrowser/Source/SettingsView.swift
    A Tools/SwiftBrowser/Source/SwiftBrowser.swift
    A Tools/SwiftBrowser/SwiftBrowser.xcodeproj/project.pbxproj
    A 
Tools/SwiftBrowser/SwiftBrowser.xcodeproj/xcshareddata/xcschemes/SwiftBrowser.xcscheme

  Log Message:
  -----------
  [SwiftUI] Introduce SwiftBrowser
https://bugs.webkit.org/show_bug.cgi?id=284239
rdar://135306861

Reviewed by Aditya Keerthi.

Introduce a project similar to MiniBrowser using the modern SwiftUI 
implementation.

Current feature list:

* Load file and website URLs
* View the title of the current page
* Navigation progress bar
* Ability to stop loading or reload, either via the main UI or a Menu Bar 
command
* Back/forward buttons, and the ability to view the back/forward list when long 
pressing on the buttons
* Keyboard shortcut support for reload, back, and forward
* Multiple window and tab support
* Universal app
* Export as PDF option
* Ability to import file URLs
* A Settings view, which currently supports setting the home page

* Tools/SwiftBrowser/Configurations/Base.xcconfig: Added.
* Tools/SwiftBrowser/Configurations/DebugRelease.xcconfig: Added.
* Tools/SwiftBrowser/Configurations/SwiftBrowser.xcconfig: Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AccentColor.colorset/Contents.json:
 Added.
* Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/Artwork - 
Light.png: Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: 
Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128.png:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x 
1.png: Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16.png: 
Added.
* Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x 
1.png: Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512.png:
 Added.
* 
Tools/SwiftBrowser/Resources/Assets.xcassets/AppIcon.appiconset/[email protected]:
 Added.
* Tools/SwiftBrowser/Resources/Assets.xcassets/Contents.json: Added.
* Tools/SwiftBrowser/Resources/SwiftBrowser.entitlements: Added.
* Tools/SwiftBrowser/Resources/iOS/Info.plist: Added.
* Tools/SwiftBrowser/Resources/mac/Info.plist: Added.

Configurations and resources.

* Tools/SwiftBrowser/Source/BrowserView.swift: Renamed from 
Tools/MiniBrowser/SwiftUI/MiniBrowserView.swift.
* Tools/SwiftBrowser/Source/BrowserViewModel.swift: Renamed from 
Tools/MiniBrowser/SwiftUI/BrowserViewModel.swift.
(PDF.transferRepresentation):
(BrowserViewModel.exportedPDF):
(BrowserViewModel.openURL(_:)):
(BrowserViewModel.didReceiveNavigationEvent(_:)):
(BrowserViewModel.navigateToSubmittedURL):
(BrowserViewModel.exportAsPDF):
(BrowserViewModel.didExportPDF(_:any:)):
* Tools/SwiftBrowser/Source/ContentView.swift: Added.
(body):
(ContentView.body):
* Tools/SwiftBrowser/Source/SwiftBrowser.swift: Added.
(SwiftBrowserApp.body):

The actual implementation.

* Tools/SwiftBrowser/SwiftBrowser.xcodeproj/project.pbxproj: Added.
* 
Tools/SwiftBrowser/SwiftBrowser.xcodeproj/xcshareddata/xcschemes/SwiftUIMiniBrowser.xcscheme:
 Added.

Canonical link: https://commits.webkit.org/287572@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to