Commit graph

499 commits

Author SHA1 Message Date
Marc Durdin
0d27ac91f7 maint(mac): use mac_ prefix for functions in mac.inc.sh
* Also renames resources/environment.sh to resources/build/mac/xcode-environment.inc.sh.
* Adds a few more exclusions to linux/scripts/dist.sh

Fixes: #14478
Test-bot: skip
Build-bot: build
2025-08-20 05:40:32 +02:00
Marc Durdin
f03be501a6 maint(common): reorganize mac/ios build script includes
Move mac-specific build scripts and functions into our established
patterns for scripts under resources/build:

* new mac/mac.inc.sh for mac-specific functions, from mac-utils.inc.sh,
  utils.inc.sh, builder-basic.inc.sh
* move other mac-specific scripts into mac/

Relates-to: #14065
Build-bot: build
Test-bot: skip
2025-08-05 12:57:32 +10:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Joshua Horton
7eb88bed00 fix(ios): prevent re-display of keyboard when re-entering app to its menus
Fixes: #13629
Fixes: #11953
Fixes: #6387

This change makes sure that upon app re-entry, the keyboard only displays when the main view will be the active view.  If the app had been in a menu or in the picker, the keyboard will no longer show up on top of it.  Additionally, if the app is re-entered to directly install a KMP from a file, the keyboard will not overlay the package installer.

The core of the problem is that upon app re-entry, the WebView reloads the keyboard, which in turns triggers the `keyboardLoaded` internal notification.  That notification did not check if the main view was the currently-visible view or not, and would always display the keyboard.
2025-04-01 10:10:38 +07:00
Shawn Schantz
86a8ba7133
Merge pull request #13422 from keymanapp/fix/ios/8662-suppress-get-started
fix(ios): suppress Get Started dialog when closing help page
2025-03-10 09:14:32 +07:00
Shawn Schantz
94ff78ad5e added Vietnamese localization to iOS project file 2025-03-05 19:17:08 +07:00
Shawn Schantz
7f00334f96 fix(mac): do not present Get Started dialog when dismissing help page
Fixes: #8662
2025-03-05 13:59:00 +07:00
Darcy Wong
1a1056ca50 chore(common): Add crowdin strings for Vietnamese 2025-02-22 07:37:36 +07:00
Shawn Schantz
aa84902487
Merge pull request #13201 from keymanapp/chore/ios/increase-min-ios-version
chore(ios): increase minimum ios version to 15
2025-02-14 10:34:24 +07:00
Shawn Schantz
3e8ea13604 chore(ios): remove code conditional upon iOS 13 to iOS 15
now that iOS 15 is the minimum version,  #available
conditions to handle earlier versions of iOS are unnnecessary
2025-02-13 11:57:50 +07:00
Shawn Schantz
f80393d0ac chore(ios): increase version number to 15.6
includes firstvoices and sample projects this time
2025-02-13 11:01:49 +07:00
Shawn Schantz
37a5248810 chore(ios): increase minimum ios version to 13 2025-02-12 13:33:59 +07:00
Joshua Horton
e9066b3d52 change(ios): relocates the "enter foreground" kbd-reload trigger
Addresses part of #12216
2025-02-05 15:42:23 +07:00
sgschantz
fb1d86874e chore(mac): builds and runs locally with xcode 16 2025-01-30 12:21:15 +07:00
Darcy Wong
83f46c8e5e chore(common): Update localization for Greek Polytonic 2024-08-07 05:59:35 +07:00
Joshua Horton
9f5719011f chore(ios): link 'el' localization data to iOS engine + app 2024-06-25 08:20:49 +07:00
Darcy Wong
d70928ca27 fix(ios): Use el instead of el-polyton locale 2024-06-24 07:48:44 -05:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
sgschantz
fbd4367f2b chore(ios): create script to upload sentry debug symbol file
Wrap call to script with xcode-wrap.sh to retain env
2024-04-30 08:04:43 +07:00
sgschantz
ec64a98562 chore(ios): modify version scripts
Wrap scripts for FirstVoices so that environment variables are retained
2024-04-29 15:52:00 +07:00
sgschantz
00e850c557 add script to update version string in settings 2024-04-23 13:24:40 +07:00
sgschantz
28806614a5 tagged and untagged versions of set-bundle-versions script 2024-04-23 12:32:28 +07:00
jahorton
39c0cf6c64 fix(ios): sample build script --debug detection 2024-03-06 10:07:43 +07:00
Shawn Schantz
0d6facb443
Merge branch 'master' into chore/ios/8737-remove-xcglogger 2024-01-29 12:30:57 +07:00
sgschantz
323f60b5f2 respond to review comments, change subsystem names 2024-01-23 14:26:24 +07:00
sgschantz
a61fb78860 remove XCGLogger from sample projects, correct subsystem names 2024-01-19 22:51:20 +07:00
sgschantz
2604058212 remove ObjcExceptionBridging.xcframework from project 2024-01-19 13:30:24 +07:00
sgschantz
d7a2451a0f remove XCGlogger 2024-01-19 11:29:25 +07:00
sgschantz
542dc83b44 remove XCGLogger dependency from Keyman Engine 2024-01-19 10:47:54 +07:00
sgschantz
6134dcb1fb remove XCGLogger from Keyman, replacing with calls directly to os_log API 2024-01-17 16:06:41 +07:00
sgschantz
9bfb4f0be5 use safe area to position Keyman menu correctly 2024-01-09 15:24:29 +07:00
sgschantz
d5f857c701 remove marmelroy Zip and add weichsel ZIPFoundation 2023-11-15 16:27:41 +07:00
Darcy Wong
427459ce29 chore(common): Add crowdin strings for Mon 2023-09-12 13:05:44 +07:00
jahorton
0341a4a3d1 chore(ios): minor build-script cleanup 2023-07-06 12:15:04 +07:00
Joshua A. Horton
b65a80f6f9 fix(ios): lots more fixes per PR review 2023-07-03 09:01:23 +07:00
Joshua A. Horton
4f044cdda5 fix(ios): missed path component for app .ipa build 2023-06-27 12:15:58 +07:00
Joshua A. Horton
09ca1492fc change(ios): relative to absolute build folder pathing 2023-06-27 11:54:20 +07:00
Joshua A. Horton
79ccc575ed fix(ios): pathing to xcworkspace from nested folder scripts 2023-06-27 11:33:09 +07:00
Joshua A. Horton
cfde9df407 fix(ios): another nit 2023-06-27 11:16:55 +07:00
Joshua A. Horton
489c55d988 fix(ios): forgot to adjust include paths for build-utils.sh 2023-06-27 10:50:14 +07:00
Joshua A. Horton
90a08f1d55 change(ios): mass rework of ios-related scripts 2023-06-27 10:33:37 +07:00
Darcy Wong
ff10aaea34 chore(common): Add crowdin strings for Spanish (es) 2023-06-19 11:42:26 -05:00
Darcy Wong
50c0321a87 chore(common): Update Kannada strings 2023-02-07 21:39:23 +07:00
Darcy Wong
965cadc982 chore: Merge branch 'beta' into chore/beta-a17s5-1 2023-02-01 08:49:28 +07:00
Marc Durdin
cdc661f2d6
Merge branch 'beta' into cherrypick/common/crowdin-cs 2023-01-31 18:02:32 +11:00
Marc Durdin
31fbeec217
Merge branch 'beta' into chore/common/crowdin-sv 2023-01-31 17:59:52 +11:00
Marc Durdin
7fd0c8a39e
Merge branch 'beta' into chore/common/crowdin-uk 2023-01-31 17:56:39 +11:00