Skip to content

Commit

Permalink
Merge branch 'master' into fortuna-ws-config
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Dec 10, 2024
2 parents 0aa3dbc + 9c8f10e commit e3738e7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/go/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ tasks:
vars:
TARGET_DIR: '{{.OUT_DIR}}/apple'
# MACOSX_DEPLOYMENT_TARGET must match the version the version set in the XCode project.
MACOSX_DEPLOYMENT_TARGET: 10.14
MACOSX_DEPLOYMENT_TARGET: 12.0
# TARGET_IOS_VERSION must be at least 13.1 for macCatalyst and match the version set in the XCode project.
TARGET_IOS_VERSION: 13.1
cmds:
Expand Down
2 changes: 1 addition & 1 deletion client/src/cordova/apple/OutlineAppleLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let package = Package(
// See https://github.com/CocoaLumberjack/CocoaLumberjack/releases/tag/3.8.0.
// These cannot be upgraded without also upgrading the entire project.
.iOS(.v13),
.macOS(.v10_15),
.macOS(.v12),
],
products: [
.library(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -478,7 +478,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"\"$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include\"",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = macosx;
Expand Down Expand Up @@ -537,7 +537,7 @@
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"\"$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include\"",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

import type {MdFilledTextField} from '@material/web/all.js';

import '@material/mwc-textfield';

import {LitElement, html, css} from 'lit';
import {customElement, property, state, query} from 'lit/decorators.js';
import '@material/web/all.js';
Expand Down Expand Up @@ -54,14 +56,18 @@ export class ServerRenameDialog extends LitElement {
return html`
<md-dialog .open=${this.open} @close=${this.handleClose} quick>
<header slot="headline">${this.localize('server-rename')}</header>
<md-filled-text-field
<!--
On older versions of iOS, md-textfield triggers itself indefinitely here,
so we must use mwc-textfield
-->
<mwc-textfield
slot="content"
maxlength="100"
maxLength="100"
value="${this.internalServerName}"
@input=${(e: Event) => {
this.internalServerName = (e.target as HTMLInputElement).value;
}}
></md-filled-text-field>
></mwc-textfield>
<fieldset slot="actions">
<md-text-button @click=${this.handleClose}
>${this.localize('cancel')}</md-text-button
Expand Down

0 comments on commit e3738e7

Please sign in to comment.