Commit Graph

974 Commits

Author SHA1 Message Date
Wolfgang Thaller 2d38cceb19
Merge pull request #189 from ryandesign/minivmac-copy-attrs
MiniVMac.cc: Preserve attributes when copying
2022-10-25 23:27:07 +02:00
Wolfgang Thaller 932ceadf9c
Merge pull request #190 from ryandesign/LaunchAPPL-find-libhfs
LaunchAPPL: Find libhfs header/library
2022-10-25 23:26:29 +02:00
Ryan Schmidt f06c07d40d LaunchAPPL: Find libhfs header/library 2022-10-08 00:06:46 -05:00
Ryan Schmidt 14f5ad3728 MiniVMac.cc: Preserve attributes when copying
When copying files from the system disk image to the new disk image,
preserve all attributes (creation date, modification date, bundle bit,
locked bit, etc.), except clear the inited bit so that the Finder
chooses new icon positions, otherwise (under System 6 at least) the
icons pile up on top of each other. Preserving the bundle bit in
particular tells the Finder to look in the file for icon information
when building the desktop database, without which the files all show
generic icons in the Finder.
2022-10-06 17:11:32 -05:00
Wolfgang Thaller 3db76c9abe
Merge pull request #188 from ryandesign/libretro-typos
Fix typos in comments in libretro
2022-10-06 23:36:06 +02:00
Ryan Schmidt 97b257e8b4 Fix typos in comments in libretro 2022-10-05 19:53:00 -05:00
Wolfgang Thaller 280a1e4ac6
Merge pull request #186 from ryandesign/LaunchAPPL.cfg-typos
LaunchAPPL.cfg.example: Fix typos
2022-10-02 14:12:19 +02:00
Ryan Schmidt 18f189162e LaunchAPPL.cfg.example: Fix typos 2022-10-02 00:28:47 -05:00
Wolfgang Thaller 1f533b761c
Merge pull request #183 from ryandesign/minivmac-find-folder
MiniVMac.cc: Use localized Extensions and Startup Items folder names
2022-10-01 11:12:47 +02:00
Wolfgang Thaller c5c9e281f4
Merge pull request #182 from ryandesign/minivmac-finder-macsbug
MiniVMac.cc: Get Finder/MacsBug name from boot blocks
2022-10-01 11:12:06 +02:00
Wolfgang Thaller ccc8ad12bb
Merge pull request #181 from ryandesign/LaunchAPPL.cfg-minivmac-system7
LaunchAPPL.cfg.example: Update for System 7
2022-10-01 11:11:28 +02:00
Wolfgang Thaller 8798070524
Merge pull request #177 from ryandesign/minivmac-alias
MiniVMac.cc: Fix alias creation code
2022-10-01 11:11:09 +02:00
Wolfgang Thaller 45236e10c0
Merge pull request #180 from ryandesign/azure-macos11
Azure: Update to macOS 11
2022-09-22 22:02:00 +02:00
Wolfgang Thaller 0288f3d5a6
Merge pull request #178 from ryandesign/add_application-r-absolute
cmake: Allow rez files specified by absolute path
2022-09-22 22:01:30 +02:00
Wolfgang Thaller c0fcf42d04
Merge pull request #173 from ryandesign/cmake-powerpc
Make ppc/carbon cmake files refer to powerpc dir
2022-09-22 21:58:10 +02:00
Wolfgang Thaller 48d5bc0bb0
Merge pull request #169 from autc04/ppc601-by-default
switch PROCESSOR_DEFAULT to PROCESSOR_PPC601
2022-09-22 21:57:39 +02:00
Ryan Schmidt 72322d65d7 MiniVMac.cc: New method FindFolder
Remove hardcoded Extensions and Startup Items folder names and get the
correct localized names from the System file's 'fld#' resource.
2022-09-22 06:35:53 -05:00
Ryan Schmidt 425bb8b054 MiniVMac.cc: New method ReadSystemResources
Move the System file resource-reading code out of GetSystemVersion and
into a new ReadSystemResources method which stores the resources in a
new member variable so that it can be used by multiple methods.
2022-09-22 05:27:51 -05:00
Ryan Schmidt 171577c140 MiniVMac.cc: Get Finder/MacsBug name from boot blocks
Closes: #172
2022-09-22 03:33:04 -05:00
Ryan Schmidt 00cd6666a4 LaunchAPPL.cfg.example: Update for System 7 2022-09-22 01:47:30 -05:00
Ryan Schmidt 087989661c MiniVMac.cc: Fix alias creation code
* Convert all field values from host order to big-endian so they aren't
  byte-swapped when created on little-endian systems.
* Pack the struct so the compiler doesn't insert padding on 64-bit
  systems.
* Fix the volume and file creation timestamps by converting them from
  UNIX to Macintosh time base, using a function copied from hfsutils.
* Pad volume and file names with null bytes instead of random memory.
* Add the "end of variable-length data" marker so the OS doesn't crash
  when trying to resolve the alias.
* Set the alias flag so the OS treats the file as an alias.
2022-09-22 00:38:06 -05:00
Ryan Schmidt e03a4d2344 Azure: Update to macOS 11
The macOS 10.15 environment is scheduled for removal by December and is
subject to periodic scheduled brownouts until then.
2022-09-22 00:23:58 -05:00
Ryan Schmidt 3616f855a9 cmake: Allow specifying rez files by absolute path
This allows generated rez files to be listed in add_application by their
full path in the build directory, e.g. ${CMAKE_CURRENT_BINARY_DIR}/foo.r

Closes #176
2022-09-22 00:16:22 -05:00
Wolfgang Thaller 8fdb2f3a84
Merge pull request #175 from ryandesign/minivmac
MiniVMac.cc: Copy some extensions if present
2022-09-20 23:40:26 +02:00
Ryan Schmidt 17cbe507a2 MiniVMac.cc: Copy some extensions if present
See: https://github.com/autc04/Retro68/issues/171
2022-09-20 04:54:15 -05:00
Ryan Schmidt a4ce95e1a8 Make ppc/carbon cmake files refer to powerpc dir 2022-09-20 00:04:00 -05:00
Wolfgang Thaller 3d744ea86e switch PROCESSOR_DEFAULT to PROCESSOR_PPC601 2022-08-28 19:31:47 +02:00
Wolfgang Thaller 104f61d5bf
Merge pull request #166 from Kristine1975/patch-1
Link to www.nixos.org is Github-relative
2022-08-28 18:59:26 +02:00
Kristine1975 710c90bcc1
Link to www.nixos.org is Github-relative
This link to www.nixos.org incorrectly leads to https://github.com/autc04/Retro68/blob/master/www.nixos.org: 8109463758/README.md?plain=1#L155

The reason is the missing `https://` schema, so when Github renders the markdown, it treats the link as Github-relative. This PR fixes that.
2022-08-17 09:56:29 +02:00
Wolfgang Thaller 8109463758
Merge pull request #164 from ryandesign/patch-1
interfaces-and-libraries.sh: Fix typo in comment
2022-08-04 12:25:35 +02:00
Wolfgang Thaller 328a53676e
Merge pull request #165 from ryandesign/patch-3
cmake: Change double slash to single slash
2022-08-04 12:15:03 +02:00
Wolfgang Thaller b99cec8763
Merge pull request #160 from ryandesign/patch-2
LaunchAPPL: Fix two macOS Mini vMac launching bugs
2022-08-04 12:12:58 +02:00
Ryan Schmidt 53244b19c9 cmake: Change double slash to single slash 2022-08-03 14:27:30 -05:00
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
Ryan Schmidt a8910354d2
interfaces-and-libraries.sh: Fix typo in comment 2022-08-03 13:20:03 -05:00
Wolfgang Thaller 75631f17ae
Merge pull request #161 from ryandesign/patch-1
Raytracer: Fix typo in comment
2022-08-02 17:47:57 +02:00
Wolfgang Thaller 32c718987d cachix: suppress failures 2022-08-01 18:06:16 +02:00
Wolfgang Thaller b1dde42211 Revert "Another attempt at skipping cachix upload without tokens"
This reverts commit 9e977cfd6e.
2022-08-01 16:58:49 +02:00
Wolfgang Thaller 9e977cfd6e Another attempt at skipping cachix upload without tokens 2022-08-01 10:29:52 +02:00
Wolfgang Thaller b80961e6c1 simplify 2022-07-31 23:24:53 +02:00
Wolfgang Thaller d8186c3af4 try a different method of testing whether the cachix token is available 2022-07-31 23:24:17 +02:00
Wolfgang Thaller 36a7828356
Merge pull request #162 from autc04/cachix-fix
don't try to upload PR builds to cachix
2022-07-31 23:08:29 +02:00
Wolfgang Thaller d4d6fc69a9 don't try to upload PR builds to cachix 2022-07-31 22:54:06 +02:00
Wolfgang Thaller cbeb763ab5
Merge pull request #159 from myon98/boost179-fix
Fix for Boost 1.79
2022-07-31 19:38:12 +02:00
Ryan Schmidt 60fe5bdec9
Raytracer: Fix typo in comment 2022-07-31 12:24:34 -05:00
Takamichi Horikawa b6a68b59e9
Fix for Boost 1.79 2022-07-31 15:58:10 +09:00
Wolfgang Thaller 8704ff3756
Merge pull request #157 from wezm/patch-1
Update attribute for powerpc nix builds in README
2022-07-21 16:11:46 +02:00
Wesley Moore e9ad55daf7
Update attribute for powerpc nix builds in README 2022-07-21 22:00:00 +10:00
Wolfgang Thaller 64e5ee1db7
Merge pull request #156 from PQCraft/master
Arch dependency command
2022-07-18 19:11:12 +02:00
PQCraft ad7fb2b2d0
Arch dependency command
Added a command to install the prerequisites on Arch Linux to README.md
2022-07-13 03:17:40 -04:00