Commit Graph

322 Commits

Author SHA1 Message Date
Kelvin Sherlock
3889b42c14 add secret listmedia/listslots options in the right-click menu
when option key pressed.
also adjust log window to use monospace font, show error/signal in red, and don't mention a successful exit.
tweaks to file handling/task complete so task complete logic is delayed until file handle is drained.
2021-06-18 21:57:46 -04:00
Kelvin Sherlock
34fcc3b3ed more useful scripts. 2021-06-17 23:44:15 -04:00
Kelvin Sherlock
c10f2153ff unused code to guess what sort of media a disk image is.
The general idea would be drag-n-drop a file (or double-click from the disk image window, etc)
and auto-place it in the right place.
2021-06-17 23:43:31 -04:00
Kelvin Sherlock
23afbd8952 move url update to main thread to prevent core animation mutation errors (???) 2021-06-17 13:25:39 -04:00
Kelvin Sherlock
5fbc00e375 print a descriptive error message when vmnet_helper fails. 2021-06-16 23:47:16 -04:00
Kelvin Sherlock
5dd04cd3b7 Apple III titan card (mame 2.33) 2021-06-16 23:46:47 -04:00
Kelvin Sherlock
27bfc1cd8b default to window mode since it's less surprising 2021-06-16 23:46:26 -04:00
Kelvin Sherlock
800087096d r15 updates 2021-06-16 00:39:10 -04:00
Kelvin Sherlock
669e9a16f4 update floppy lists 2021-06-15 23:57:47 -04:00
Kelvin Sherlock
7c766ba76e codesign mame w/ entitlements
also test code to soft-link mame under a new name.
2021-06-15 19:16:23 -04:00
Kelvin Sherlock
c307ab0403 hardened_runtime/entitlements 2021-06-15 17:09:40 -04:00
Kelvin Sherlock
7d1e1bf6bd update appcast URL. 2021-06-15 16:42:58 -04:00
Kelvin Sherlock
9da9f6bd63 add sparkle framework and check for updates menu item. 2021-06-14 23:11:25 -04:00
Kelvin Sherlock
4144a6ad03 switch media bookmark to use a keyed dictionary instead of an array.
An array is fragile in terms of future proofing if I want to re-arrange the layout.
2021-06-13 21:31:56 -04:00
Kelvin Sherlock
76ac6f777a add bitbanger to machine files 2021-06-13 18:25:26 -04:00
Kelvin Sherlock
6b43c42682 eliminate the bitbanger text field. 2021-06-13 17:21:05 -04:00
Kelvin Sherlock
67f2c60286 method to reset the machine view controller. 2021-06-13 17:17:47 -04:00
Kelvin Sherlock
cae68c7f5a for child options, update the name when updating the keypath so it matches the bookmark data. 2021-06-13 17:17:20 -04:00
Kelvin Sherlock
681c70d515 bookmark wasn't setting child options. 2021-06-13 16:45:01 -04:00
Kelvin Sherlock
7abb2f68a0 use string instead of url for bitbanger slots. 2021-06-13 16:29:16 -04:00
Kelvin Sherlock
4c003007f5 bitbanger support for media.
it still needs work to allow sockets and opt-out of disk image drag-and-drop.
2021-06-13 12:29:23 -04:00
Kelvin Sherlock
a5a6222c9f use bindings for media table views 2021-06-13 12:26:56 -04:00
Kelvin Sherlock
058da073ee move reset slots button to a menu, add options to reset slots, media, machine, or everything. 2021-06-12 22:59:19 -04:00
Kelvin Sherlock
5e0d31a772 hide launch/reset slot buttons when not available. 2021-06-12 16:34:07 -04:00
Kelvin Sherlock
e958ffe65a download buttons were inconsistent. 2021-06-12 16:18:14 -04:00
Kelvin Sherlock
2b0e6d4d9d macOS 11 UI fixes. macOS 11 is kind of ugly, tbh. 2021-06-12 16:06:56 -04:00
Kelvin Sherlock
33d6c651d0 reset more things when no default. 2021-06-12 16:03:55 -04:00
Kelvin Sherlock
0381037356 when loading a bookmark/defaults, don't mark default slot values as explicit. 2021-06-12 14:43:58 -04:00
Kelvin Sherlock
c4c2defc01 save/restore/autoload default support. 2021-06-12 14:02:11 -04:00
Kelvin Sherlock
46fe931103 default to no disk drive samples because it's starting to annoy me. 2021-06-12 14:01:42 -04:00
Kelvin Sherlock
141877f8cb adjust machine outline view positioning 2021-06-09 23:40:24 -04:00
Kelvin Sherlock
e9d348ec71 mameMachine -> machine
also add machine name to window title.
2021-06-09 22:47:00 -04:00
Kelvin Sherlock
37b085e45f hide tabview when machine is null. 2021-06-09 22:05:32 -04:00
Kelvin Sherlock
7af810d14f fix leading warning 2021-06-09 22:04:43 -04:00
Kelvin Sherlock
884f8b190a use arranged objects as source of truth for clickedItem. 2021-06-09 22:02:50 -04:00
Kelvin Sherlock
7b55c37128 machine view - clicking a parent-only row will toggle expansion
also add animation proxy to bookmark code
2021-06-09 22:01:43 -04:00
Kelvin Sherlock
c0534f0107 auto-resize views to match launch window view sizes. 2021-06-09 00:11:25 -04:00
Kelvin Sherlock
69f56830ca replace machine browser with outline view 2021-06-08 22:40:20 -04:00
Kelvin Sherlock
b8697d326c recent disk images - add back highlighting. 2021-06-07 23:27:25 -04:00
Kelvin Sherlock
ef2bbeb9c3 Squashed commit of the following:
commit c41312ac604526fbfa8eb9c70c26afb5711531ed
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jun 7 22:55:43 2021 -0400

    replace custom table delegate/datasource with array controller

    required a few tweaks to get the binding correct and equivalent to the hand-rolled version.

    The only advantage is the filtering capability (currently All/Missing)

    Also, refreshing didn't update the status and url if the local file had been deleted.

commit 3aedf237344fa9fbb8225cf3513a27da9647ea07
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jun 7 21:13:39 2021 -0400

    add toolbar and array controller to filter missing roms, etc.
2021-06-07 22:56:55 -04:00
Kelvin Sherlock
3d5a2951bb Squashed commit of the following:
commit 78c81626670fdf41fa6bdd71a4243a89a0746615
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jun 7 00:33:48 2021 -0400

    check if software set has a particular entry.

commit ef5ab6b6948dc3bbbe2947ea099fcacd08435e86
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 22:20:34 2021 -0400

    fix scroller background on recent disk images window.

commit dee56fa50e87299b396b48361bd0a780aaaaa768
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 21:26:23 2021 -0400

    update cheat sheet javascript to work with 10.11
    * => functions not supported
    * NodeList.prototype.forEach not supported.

commit b00cc05413f4ebd6d6d58f96e24303008608f3a6
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 17:10:41 2021 -0400

    default full machine name for bookmark entry.

commit a671cafdc98051b56b12cdd3ccd13c22f54f605a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 15:39:32 2021 -0400

    loading a bookmark wasn't updating the media.

commit 3000e0eb1b10bede3345aaab8478e9ec209f328c
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 15:38:53 2021 -0400

    bump copyright year.

commit 45222dacd4aa0047fae63a9112509de57139df63
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 13:38:23 2021 -0400

    add reset w/ value for setting the item explicitely.

commit cc7fde1253b71c4d8655eb4c010bbf4e61333a15
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 13:37:48 2021 -0400

    add checkboxes for bitbanger/share directory.

    The general idea is it's easier to toggle a checkbox than to type/retype a path.

commit 5674b2d7f6b0e2f0b973197bf3493ad61bf46428
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 19:11:43 2021 -0400

    commentary on searches with diacritics.

commit ec60634dcd9c573130dc34673b4d3fe597ea2b42
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 19:11:22 2021 -0400

    clean up auto-complete a little bit when setting a value directly.

commit 1a182bbdab237c89d355d8294b5a4a64b785783a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 13:08:29 2021 -0400

    fix text color when value is set.

    There are still some bugs relating to multiple copies of the value being stored.

commit 49c0bc15c73446259d8cc151cf52d6058644db76
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 12:09:44 2021 -0400

    reset all controls first.

commit 059797ad85b057e296cc707b4645f839bfccac13
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 10:52:06 2021 -0400

    more bookmark loading.

commit e5a612d9f8e7414dd15c66dbaa540b637765eeec
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 23:52:38 2021 -0400

    bookmark - restore the software

commit f9411a1e84df7bd46e352cc5ca995b585c2a0523
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 23:52:25 2021 -0400

    clean up software / name logic.

commit f628d99e4a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 00:21:08 2021 -0400

    load bookmark...

commit 0b248e6aad
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 00:20:42 2021 -0400

    stringValue can't be nil.

commit 94aac38af4
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:04:37 2021 -0400

    add bookmark menu

commit 6215a0df12
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:03:29 2021 -0400

    slot view needs to know the machine.

commit d348c15dc5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:02:58 2021 -0400

    transformer to enable/disable control based on string length.

commit e14336a009
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:02:14 2021 -0400

    shut up compiler warning.

commit 4baf545245
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:01:15 2021 -0400

    bookmark manager

commit 0f3e6c8307
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 23:54:29 2021 -0400

    more (untested) bookmark code

commit 8fdb149eb3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 16:13:43 2021 -0400

    start of bookmarking support. Untested.

commit 787eac87f6
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 16:12:45 2021 -0400

    shut up warnings about content clipping.
    maybe it's a 10.11 thing.  The size was chosen by interface builder.
2021-06-07 00:34:26 -04:00
Kelvin Sherlock
789d61d9f1 when launching, clear the first responder so any text fields with focus will commit. 2021-05-31 11:24:33 -04:00
Kelvin Sherlock
5ffc85f9fc 10.13+ launch wasn't. 2021-05-31 10:39:24 -04:00
Kelvin Sherlock
7b67522156 fix bitbanger / shared directory placeholders. 2021-05-30 22:22:13 -04:00
Kelvin Sherlock
f14b291e60 fix auto-complete menu (remove show title setting) 2021-05-30 20:41:36 -04:00
Kelvin Sherlock
576931cd71 add interface for -share_directory (booti) and -bitbanger (null modem) 2021-05-30 18:46:46 -04:00
Kelvin Sherlock
9ed83bf316 NewSlotView -> SlotView 2021-05-30 18:19:51 -04:00
Kelvin Sherlock
751083ea26 remove old slot view controller code/nib 2021-05-30 18:14:55 -04:00
Kelvin Sherlock
1b7faf3ac4 Updates to work with 10.11 (El Capitan) and newer.
There are still a couple minor UI degradations

eg: mame cheat sheet, recent disk images window, auto complete window.

Squashed commit of the following:

commit fb115024f805da38b747fd1905573fabb7bff24e
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 18:00:13 2021 -0400

    ?

commit 8405f4df95ae8f5bc5dc33598dc0b3f8972b32cd
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:59:43 2021 -0400

    tintColor not present before 10.14

commit 86a6102cee4f30cac2972259ef55fda3c32b8f9a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:59:19 2021 -0400

    [menu setItemArray:] apparently has problems before 10.14

commit 65227a00743fbf143c623af8a76698d57bdc4573
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:58:15 2021 -0400

    NSCache doesn't like null objects.

commit 8a4c3a4662647d5ee0b609bde9f3aaa5c0d99776
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 16:00:05 2021 -0400

    organize copy bundle resources.

    multiple-sized png images are converted to a single tiff (with multiple sizes).
    This is fine BUT EL capitan grabs the first image so if the @3x image is first, it will be used.

commit 44b94cdfd47117864b6529214b1c91a0c2e41327
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 15:57:37 2021 -0400

    add NewSlotViewController.m to Ample Lite.

commit 2fa1b7418783e48ca625ab3490e43cbff9e5619a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:57:19 2021 -0400

    Ample Lite was missing reference to New Slot View nib.

commit 65f268e77a65f8c57019702d8f0c2b66577c5ee7
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:56:04 2021 -0400

    based on testing, 10.11 still has public.file-url, which is kUTTypeFileURL.  10.13 added NSURLPBoardType as a synonym.

commit cde123b16eb336b7695b444931b9e9bb9802d772
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:54:02 2021 -0400

    set everything to 10.11

commit e7a670efd3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 23:33:31 2021 -0400

    script to download SDL2.Framework

commit 9f38f2972a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 22:15:32 2021 -0400

    WKWebView apparently has a bug prior to 10.12 so it can't be created via a nib.

commit e18aea7249
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 22:14:38 2021 -0400

    version checks for features not present in 10.11

commit 07dcf30f52
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri May 28 21:30:53 2021 -0400

    lower target to 10.11
2021-05-30 18:00:34 -04:00
Kelvin Sherlock
bfbac2cc20 adjust media view nib to match the reduced size. 2021-05-28 21:29:54 -04:00