Skip to content

Commit

Permalink
Bump to 0.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bingzheung committed Jan 2, 2025
1 parent f4ae4b4 commit 224e0bd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion InputMethod/UserLexicon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct UserLexicon {
/// Delete one lexicon entry
static func removeItem(candidate: Candidate) {
let id: Int = (candidate.lexiconText + candidate.romanization).hash
let command: String = "DELETE FROM lexicon WHERE id = \(id) LIMIT 1;"
let command: String = "DELETE FROM lexicon WHERE id = \(id);"
var statement: OpaquePointer? = nil
defer { sqlite3_finalize(statement) }
guard sqlite3_prepare_v2(database, command, -1, &statement, nil) == SQLITE_OK else { return }
Expand Down
24 changes: 12 additions & 12 deletions Jyutping.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,7 @@
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEVELOPMENT_TEAM = "";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Keyboard/Info.plist;
Expand All @@ -2211,7 +2211,7 @@
"@executable_path/../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = im.cantonese.CantoneseIM.Keyboard;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -2229,7 +2229,7 @@
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEVELOPMENT_TEAM = "";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Keyboard/Info.plist;
Expand All @@ -2242,7 +2242,7 @@
"@executable_path/../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = im.cantonese.CantoneseIM.Keyboard;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -2266,7 +2266,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"InputMethod/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -2288,7 +2288,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = org.jyutping.inputmethod.Jyutping;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand All @@ -2310,7 +2310,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"InputMethod/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -2332,7 +2332,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = org.jyutping.inputmethod.Jyutping;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand Down Expand Up @@ -2549,7 +2549,7 @@
CODE_SIGN_ENTITLEMENTS = Jyutping/Jyutping.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Jyutping/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -2572,7 +2572,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = im.cantonese.CantoneseIM;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand All @@ -2594,7 +2594,7 @@
CODE_SIGN_ENTITLEMENTS = Jyutping/Jyutping.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 131;
CURRENT_PROJECT_VERSION = 132;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Jyutping/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -2617,7 +2617,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.52.0;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = im.cantonese.CantoneseIM;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand Down
2 changes: 1 addition & 1 deletion Keyboard/SharedModels/UserLexicon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct UserLexicon {
/// Delete one lexicon entry
static func removeItem(candidate: Candidate) {
let id: Int = (candidate.lexiconText + candidate.romanization).hash
let command: String = "DELETE FROM lexicon WHERE id = \(id) LIMIT 1;"
let command: String = "DELETE FROM lexicon WHERE id = \(id);"
var statement: OpaquePointer? = nil
defer { sqlite3_finalize(statement) }
guard sqlite3_prepare_v2(database, command, -1, &statement, nil) == SQLITE_OK else { return }
Expand Down
2 changes: 1 addition & 1 deletion packaging/JyutpingComponent.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<key>BundleIsRelocatable</key>
<false/>
<key>BundleIsVersionChecked</key>
<true/>
<false/>
<key>BundleOverwriteAction</key>
<string>upgrade</string>
<key>ChildBundles</key>
Expand Down
2 changes: 1 addition & 1 deletion packaging/pack.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

BUNDLE_IDENTIFIER='org.jyutping.inputmethod.Jyutping'
APP_VERSION='0.52.0'
APP_VERSION='0.53.0'
INSTALL_LOCATION='/Library/Input Methods'

pkgbuild \
Expand Down

0 comments on commit 224e0bd

Please sign in to comment.