Skip to content

Commit

Permalink
Merge branch 'release/0.27.0'
Browse files Browse the repository at this point in the history
* release/0.27.0:
  Set version to 0.27.0.
  Update embedded data.
  Avoid the data import button being disabled too frequently (#650)
  Autoconsent refactoring (#643)
  Refresh top level entities when updating a bookmark (#651)
  Pinned tabs (#639)
  Remove local history of the remaining window's tab collection after burning all data (#645)
  Revert "bump BSK to shane/autofill-username"
  bump BSK to shane/autofill-username
  Scroll to selected tab after inserting to ensure that it is visible (#642)
  • Loading branch information
samsymons committed Jul 25, 2022
2 parents fff7ff5 + 65082ce commit bd30af1
Show file tree
Hide file tree
Showing 78 changed files with 4,393 additions and 6,769 deletions.
140 changes: 108 additions & 32 deletions DuckDuckGo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints YES"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "-com.apple.CoreData.ConcurrencyDebug 1"
isEnabled = "YES">
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/App Delegate/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
stateRestorationManager.applicationDidFinishLaunching()

if WindowsManager.windows.isEmpty {
WindowsManager.openNewWindow()
WindowsManager.openNewWindow(lazyLoadTabs: true)
}

grammarFeaturesManager.manage()
Expand Down
15 changes: 15 additions & 0 deletions DuckDuckGo/Assets.xcassets/Images/InfoLight.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "InfoLight.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
301 changes: 0 additions & 301 deletions DuckDuckGo/Autoconsent/AutoconsentBackground.swift

This file was deleted.

27 changes: 27 additions & 0 deletions DuckDuckGo/Autoconsent/AutoconsentManagement.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// AutoconsentManagement.swift
//
// Copyright © 2022 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

final class AutoconsentManagement {
static let shared = AutoconsentManagement()
var sitesNotifiedCache = Set<String>()
var promptLastShown: Date?
func clearCache() {
dispatchPrecondition(condition: .onQueue(.main))
sitesNotifiedCache.removeAll()
}
}
Loading

0 comments on commit bd30af1

Please sign in to comment.