Commit Graph

111 Commits

Author SHA1 Message Date
Ryan Schmidt
4a7b698ab4 LaunchAPPL: Fix two macOS Mini vMac launching bugs
On all macOS versions, Mini vMac would launch behind other applications
because it was being launched by running the executable within the
application bundle directly. The solution is to let the OS launch the
app normally by using the open utility. This eliminates the 30 lines of
code that laboriously determined the executable name.

On macOS 10.12 and later, Mini vMac could not find the ROM or disk
files. These files were being placed in the same directory as the Mini
vMac application, but a new macOS security measure called Gatekeeper
Path Randomization or App Translocation prevents that from working
anymore. See https://www.gryphel.com/c/minivmac/osx_note.html. The
solution is to place the ROM and disk files within the mnvm_dat
directory in the Contents directory in the application bundle.

The code that copies Mini vMac into the temporary directory had to be
moved earlier so that when the ROM file is symlinked and the disk image
is created the mnvm_dat directory into which they go will be there.

Since more than one method needed to know whether Mini vMac was an app
bundle, a Boolean instance var was added on macOS to indicate that.
2022-08-03 14:07:41 -05:00
Takamichi Horikawa
b6a68b59e9
Fix for Boost 1.79 2022-07-31 15:58:10 +09:00
Wolfgang Thaller
e980af9b91 build fixes for LaunchAPPL client 2021-12-08 21:49:45 +01:00
Tom Fairfield
ca57b0cb67 Fixes typo in LaunchAPPL client. 2021-04-12 12:19:21 -07:00
Wolfgang Thaller
23276c6cd8 cmake cleanup 2019-11-15 01:22:07 +01:00
Wolfgang Thaller
8516e91932 CMakeLists cleanup 2019-11-12 00:09:00 +01:00
Wolfgang Thaller
e602945033 LaunchAPPLServer: fix printer port 2019-10-03 00:26:35 +02:00
Wolfgang Thaller
0775243ab8 fix LaunchAPPLServer build 2019-09-22 22:58:45 +02:00
Wolfgang Thaller
d7b311cb34 LaunchAPPLServer: don't link to Navigation if Navigation.h not found 2019-09-15 21:23:50 +02:00
Wolfgang Thaller
59e1127b5c LaunchAPPLServer: check for "optional" headers (for MultiversalInterfaces) 2019-09-09 22:13:28 +02:00
Wolfgang Thaller
898ebff404 improve MultiversalInterfaces compatibility 2019-09-09 01:05:01 +02:00
Wolfgang Thaller
4e7e895782 slight cleanup in class ResourceFile 2019-08-25 17:48:02 +02:00
Wolfgang Thaller
e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller
9cb90cb3b0 some #include cleanup 2019-08-18 12:31:32 +02:00
Wolfgang Thaller
54201b2733 Don't fail LaunchAPPLServer 68K build if OpenTpt libs are unavailable 2019-08-17 23:49:17 +02:00
Wolfgang Thaller
5bf877c2f9 fix warning 2019-08-12 22:38:13 +02:00
Wolfgang Thaller
7d8b6140d6 work around bug in UniversalInterfaces 3.4.2 2019-08-12 21:17:30 +02:00
Wolfgang Thaller
3612935ed9 documentation updates 2019-06-23 16:50:09 +02:00
Wolfgang Thaller
b99f252a27 add missing include (see #80) 2019-03-13 22:42:54 +01:00
Wolfgang Thaller
8d277dfbfa make LaunchAPPL work when only the needed autoquit/autquit7 image is specified 2019-02-11 21:20:21 +01:00
Szymon Łopaciuk
89d4565f0d Autodetect System version for correct AutoQuit
Reads the System resource to find out the System Software
version for running correct AutoQuit.

Includes other minor changes.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-10 01:56:37 +00:00
Szymon Łopaciuk
a3919a0bb4 Add support for using AutQuit7
This allows the user to choose whether to use AutoQuit or AutQuit7
(which supports System 7). When the path to AutQuit7 is specified,
it will be configured according to the instructions at
https://www.gryphel.com/c/minivmac/extras/autquit7/ by putting an
alias to AutQuit7 in the "Startup Items" folder. That will cause
the application named "app" in the folder of AutQuit7 (top level,
no change) to start on boot, and will shut down the OS when quit.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-07 23:00:25 +00:00
Szymon Łopaciuk
fe00dde02b Fix error on ROM symlink creation if name non-standard
This fixes a bug that appeares when using LaunchAPPL
with Mini vMac and a ROM which name is not "vMac.ROM".

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-06 00:04:57 +00:00
Wolfgang Thaller
e8f346cc9f LaunchAPPLServer: some tweaks/fixes to standarf file dialogs 2019-01-27 11:35:17 +01:00
Wolfgang Thaller
ada9b67a75 LaunchAPPLServer: enable OpenTransport on 68K 2019-01-26 19:05:04 +01:00
Wolfgang Thaller
94c4bbabae StreamBasedLauncher: add missing #include 2019-01-26 14:43:43 +01:00
Wolfgang Thaller
4895adbaa7 LaunchAPPLServer: compatibility fix for older Universal Interfaces (fixes #77) 2019-01-25 20:56:29 +01:00
Wolfgang Thaller
6106b89c9a LaunchAPPLServer: minor bugfixes 2019-01-24 18:15:47 +01:00
Wolfgang Thaller
c915b2d011 LaunchAPPLServer: use navservices on 68K 2019-01-24 17:39:10 +01:00
Wolfgang Thaller
d16f1aae6b LaunchAPPL: shared file transport 2019-01-23 19:41:12 +01:00
Wolfgang Thaller
a993bd3f7f documentation update 2019-01-22 18:28:44 +01:00
Wolfgang Thaller
999897be07 Disk copy 4.2 image support for LaunchAPPL -e minivmac (fixes #76) 2019-01-19 11:47:10 +01:00
Wolfgang Thaller
1fc19efaeb LaunchAPPLServer: use separate OT endpoints for connection 2019-01-11 00:46:36 +01:00
Wolfgang Thaller
75f72af9ac LaunchAPPLServer: logging changes 2019-01-09 20:12:59 +01:00
Wolfgang Thaller
09110dbff4 LaunchAPPL: delay 0.1 seconds so that server has time to reopen the port 2019-01-09 00:33:04 +01:00
Wolfgang Thaller
360c364bf9 LaunchAPPLServer: optional embedded debug console 2019-01-09 00:31:32 +01:00
Wolfgang Thaller
71660defd6 LaunchAPPLServer: fix problem with empty forks 2019-01-09 00:18:44 +01:00
Wolfgang Thaller
3bb5ce4e74 LaunchAPPLServer: "Listening on TCP" message 2019-01-09 00:15:44 +01:00
Wolfgang Thaller
380fef0114 cleanup CMAKE_CXX_FLAGS and fix various warnings 2019-01-04 03:35:32 +01:00
Wolfgang Thaller
a726045d54 fix some warnings 2018-12-25 22:42:58 +01:00
Wolfgang Thaller
58d8be11e1 LaunchAPPLServer: adjust about box height based on text 2018-05-20 11:53:48 +02:00
Wolfgang Thaller
3928a55b91 LaunchAPPLServer: refactor a bit 2018-05-19 14:55:27 +02:00
Wolfgang Thaller
e39e0a09c5 LaunchAPPLServer: a touch of color 2018-05-17 00:38:55 +02:00
Wolfgang Thaller
7f1eb5692c LaunchAPPLServer: User interface improvements 2018-05-16 21:44:37 +02:00
Wolfgang Thaller
50fee1a789 LaunchAPPLServer: send response and shutdown connection before upgrading 2018-05-16 02:44:23 +02:00
Wolfgang Thaller
6e6a909c46 LaunchAPPLServer: detect presence of OpenTransport 2018-05-16 02:43:59 +02:00
Wolfgang Thaller
5ab830d8c3 LaunchAPPLServer: OpenTransport backend (TCP for Carbon) 2018-05-16 02:08:32 +02:00
Wolfgang Thaller
bf9cba16b8 LaunchAPPLServer: Carbon version (no backend yet) 2018-05-14 23:58:11 +02:00
Wolfgang Thaller
c14c072e9c LaunchAPPLServer: include MacTCP in GUI 2018-05-14 00:41:12 +02:00
Wolfgang Thaller
9dd308687b LaunchAPPL: TCP support 2018-05-14 00:41:12 +02:00