Jeremy Rand
30f850d036
This file didn't get included in the last commit for some reason.
2026-02-13 21:38:41 -05:00
Jeremy Rand
e3c6ce657a
Replace the add destination popover with a sheet.
...
Under catalyst on the mac, the popover was leading to crashes. After a few rounds with an LLM, it seems this maybe a known problem with popovers under catalyst triggered from toolbar buttons. The suggestion was to use a sheet so I made that change.
Also, when going into edit mode on the mac, the edit button disappeared entirely from the toolbar. On the iPhone and iPad, the edit button became a checkmark so that you could exit edit mode. On the mac, nothing was there but if I clicked where the button was, it did exit edit mode. Again, the LLM came to the rescue and said this is a known problem with catalyst and suggested using custom code to handle the edit button. That worked.
The LLM also suggested trying to build a native Mac swiftui app instead of using catalyst. Catalyst does seem to be buggy but it looks like some of the thirdparty code components I pulled in do not build as a native Mac swiftui app. So, putting up with the limitations of catalyst for now.
2026-02-13 21:37:20 -05:00
Jeremy Rand
bdf7a85895
Fixes for iOS 17. Updated the log events. Also, it seems the final update from the speech recognizer is now empty so ignore an empty result in the final result.
2023-09-25 19:54:23 -04:00
Jeremy Rand
237310dd0f
Update the readme for release.
2022-04-10 13:26:34 -04:00
Jeremy Rand
e5ef4f5422
Final commit before v1.0.
v1.0
2022-04-08 14:08:29 -04:00
Jeremy Rand
ada501ae13
Update build number.
2022-04-04 17:22:11 -04:00
Jeremy Rand
b9dc17aef4
Actively disconnect when the GSView goes away.
2022-03-27 23:43:16 -04:00
Jeremy Rand
cdd4a8ea82
Fix bug where the Edit and + buttons sometimes weren't visible on iOS 14. Along the way, I ran into more SwiftUI problems in iOS 14 so I had to put in a bit of hack for adding destinations by queuing them to the main queue 0.1 seconds later on add. Without that hack, the popup would not dismiss.
2022-03-25 22:18:30 -04:00
Jeremy Rand
7279d7ecb1
Fix the bug which did not allow the connection to go down when switching to another destination when the previous destination was in listen mode. Fix the problem with supporting all input types on my iMac. I have added code which converts from the audio format of the input to the preferred audio format of the speech recognizer.
2022-03-24 22:58:11 -04:00
Jeremy Rand
109213a577
Make sure nothing other than the UI holds a reference to the connection. This way, the connection should drop when the user switches to another destination. However, I am seeing a crash if the user switches to another destination while connected and listening.
2022-03-24 00:03:35 -04:00
Jeremy Rand
b732007d68
Change the write side into a series of short running operations rather than a single operation looping while listening.
2022-03-23 22:41:25 -04:00
Jeremy Rand
c61b9c0729
Update the help text to describe how to see the side bar on an iPad.
2022-03-22 22:50:31 -04:00
Jeremy Rand
a9b0af4fca
Add an initial help screen that is visible on iPad and macOS.
2022-03-16 20:37:18 -04:00
Jeremy Rand
d7c430f588
Major rework of the network code, splitting out the speech recognition aspects and creating separate threads for read and write. This improves handling of network connection closure by the other end and other network connectivity errors. Add some unit tests for the connection code.
2022-03-16 18:13:56 -04:00
Jeremy Rand
923d0bf967
A fairly big rework of the code to split the network handling code from the speech handling code. Also, introduce a thread for reading from the socket and a separate thread for writing to the socket. That way, disconnections made by the NDA are handled correctly.
2022-03-15 23:58:04 -04:00
Jeremy Rand
de1cab8207
Update the readme to reflect the latest status.
2022-03-10 23:12:58 -05:00
Jeremy Rand
11589ad0bb
Final changes before starting beta testing.
2022-03-08 23:05:23 -05:00
Jeremy Rand
b2c2cbd587
Add code to pace the text to the GS to reduce the amount of re-typing required.
2022-02-22 23:52:00 -05:00
Jeremy Rand
241190600e
Some minor tweaks to try to get speech recognition working from MacOS. It is still not working from my x86 iMac but I just tested this on our new M1 MacBook Air and it does work there. Not sure what the difference is and hope it is just a problem on my iMac.
2022-02-21 23:22:58 -05:00
Jeremy Rand
72a49275a9
Fix button appearance in dark mode. Add the heard text the UI below the buttons. Convert to MacOS Roman character set so words like "resume" appear with the correct accents on the GS.
2022-01-18 22:51:28 -05:00
Jeremy Rand
dc3db26243
Connect up the speech forwarder to the new UI.
2022-01-11 23:30:41 -05:00
Jeremy Rand
c5e6cc70a5
More work on the GSView.
2021-12-28 23:21:47 -05:00
Jeremy Rand
abab6bb844
Put uuids in the iCloud data about each destination and start building the view for a specific destination to control the connection, listening and debug.
2021-12-21 23:19:42 -05:00
Jeremy Rand
ab4ea0ca5d
Add icon images to the project.
2021-12-21 15:18:12 -05:00
Jeremy Rand
644170dec4
Add a comment about the problems with syncing with iCloud.
2021-11-03 23:32:16 -04:00
Jeremy Rand
0138a4de79
Watch iCloud for changes in the destination list.
2021-11-03 23:30:49 -04:00
Jeremy Rand
dffbd0ec1c
Add code to load and save the destinations to iCloud. Not yet subscribed to watch for iCloud changes though.
2021-11-03 23:20:29 -04:00
Jeremy Rand
0528a7db41
Move the destination data model stuff out of the UI.
2021-11-03 22:55:00 -04:00
Jeremy Rand
2c58886439
More updates to improve behaviour of the destinations list.
2021-11-02 23:39:57 -04:00
Jeremy Rand
c9936e82f5
Add code for a popover for adding new destinations.
2021-11-02 23:04:02 -04:00
Jeremy Rand
3b2d4beb55
Lots of UI changes towards allowing the user to add multiple destinations, sync them with iCloud and a better UI in general on all platforms. Not all hooked up yet though.
2021-10-26 23:19:22 -04:00
Jeremy Rand
81e0925f6f
Move application logic out of view code.
2021-10-19 00:55:58 -04:00
Jeremy Rand
fbdc3c4f99
Remove the application logic code from the view code.
2021-10-19 00:48:37 -04:00
Jeremy Rand
ada7984d32
Rename to ListenerGS
2021-09-15 22:42:53 -04:00
Jeremy Rand
81385a4b8e
Enable a MacOS target.
2021-09-15 22:36:32 -04:00
Jeremy Rand
e7445c21d3
Update the readme file.
2021-07-21 17:24:34 -04:00
Jeremy Rand
c4c1f1d58d
Update the build number.
2021-07-20 20:02:19 -04:00
Jeremy Rand
52855a1e01
Add a missing privacy message to the plist. Map new line to carriage return for the GS.
2021-07-20 19:59:33 -04:00
Jeremy Rand
083c938e0d
Some UI improvements but it is still really rough. Also, a bunch of debug visible in the UI which is nice.
2021-07-20 19:42:47 -04:00
Jeremy Rand
07d3bb88c7
Update listening state when the recognizer times out.
2021-07-20 19:14:08 -04:00
Jeremy Rand
b389139826
Fix the backspace character.
2021-07-20 19:04:38 -04:00
Jeremy Rand
2a7361afa8
Send the text heard on the TCP connection.
2021-07-18 16:13:07 -04:00
Jeremy Rand
8178ba4aaf
Open a TCP connection to the GS. Send a message indicating when listening starts and stops. Need to actually send the text next.
2021-07-18 15:39:56 -04:00
Jeremy Rand
1c691cdc05
Also mention the use of the Speech Framework from iOS in the readme.
2021-07-17 16:13:34 -04:00
Jeremy Rand
bb911cc125
Add info about the use of BinUtils in the readme.
2021-07-17 16:11:39 -04:00
Jeremy Rand
111312e2f6
Add BinUtils also to provide a way to do packing of the structures for the message. Again, running into problems with the packaging so resorting to directly copying the code. In this case, it is Swift Package Manager which isn't working for some reason. It looks like the package is just too old to be supported in the latest.
2021-07-17 16:10:33 -04:00
Jeremy Rand
f84cf7cd18
Add a link in the README to SwiftSocket.
2021-07-17 15:56:29 -04:00
Jeremy Rand
cb83bb85ae
Include the license of the SwiftSocket code.
2021-07-17 15:49:32 -04:00
Jeremy Rand
be95708466
Add SwiftSocket to the project. I fought with cocoapods for a while but opted to just directly include the code because I was tired of fighting.
2021-07-17 15:48:24 -04:00
Jeremy Rand
b7c020be62
Some very minor UI changes.
2021-07-16 23:20:52 -04:00