Cameron Gutman
6dbb938368
Speed up app icon load time by 2 seconds by only waiting if it failed
2015-07-12 00:43:20 -07:00
Diego Waxemberg
9c6b718be2
fixed issue with apps duplicating in app list
2015-07-11 18:47:05 -07:00
Cameron Gutman
13e894e9a3
Refactor app list to be non-static and sorted in alphabetical order
2015-07-11 01:28:52 -07:00
Cameron Gutman
38776a01e4
Only create an app if an app ID was found
2015-07-11 00:10:13 -07:00
Diego Waxemberg
37f25c1f97
fixed some bugs with saving app list to database
2015-07-10 22:19:25 -07:00
Diego Waxemberg
642085ca32
App lists are now persisted in the database
2015-07-10 21:22:57 -07:00
Cameron Gutman
b01d13976b
Improve speed and reliability of host detection
2015-07-10 12:18:09 -07:00
Cameron Gutman
e5f962dc3f
Perform stricter status checks during pairing to fix a crash when paired=3
2015-07-10 11:43:47 -07:00
Cameron Gutman
935fb6ffe3
Fix streaming over the external IP address when discovered via mDNS
2015-07-10 00:28:51 -07:00
Cameron Gutman
73364127d2
Fix pairing with GFE 2.4.5.57+
2015-07-08 23:03:23 -07:00
Cameron Gutman
84a986bc88
Switch from deprecated NSURLConnection to NSURLSession
2015-07-08 22:35:25 -07:00
Cameron Gutman
f13051aa31
Prepare for HTTP requests
2015-07-08 21:31:47 -07:00
Cameron Gutman
6bb559303b
Remove executeRequest from HttpManager. It has some show-stopping bugs, like leaking semaphore counts (since it never waited) and being generally thread-unsafe. Implementing it in a way that would be asynchronous and thread-safe is a non-trivial task, so I've opted to remove it and change callers to use executeRequestSynchronously.
2015-07-08 21:26:01 -07:00
Cameron Gutman
f57fa678f6
Escaping the URL strings is not required because no reserved characters are ever sent. Plus it's deprecated in iOS 9.
2015-06-23 21:58:32 -07:00
Diego Waxemberg
f90becb2f6
no longer try to parse responses when a network error occurs
2015-05-29 00:15:48 -07:00
Diego Waxemberg
2972d40d92
added limit to app asset request
2015-05-28 23:37:55 -07:00
Diego Waxemberg
8d3401f962
Changed name from Limelight to Moonlight due to C&D from Limelight
...
Networks, Inc.
2015-05-12 21:48:30 -04:00
Cameron Gutman
fab8d604d2
Check UUID length is non-zero before adding a new host
2015-04-06 00:27:36 -04:00
Cameron Gutman
7767ae497b
Revert "Added a hack to de-duplicate hosts and some more checks when adding a host to minimize the chances for dupes"
...
This reverts commit fd9ee45daccb3d119218ba3dfb0a6b7f59e4121c.
2015-04-06 00:22:51 -04:00
Diego Waxemberg
796ab2bf90
should now save hosts discovered through mdns
2015-04-05 21:18:22 -07:00
Diego Waxemberg
f43c74d59b
trim whitespace from server info responses
2015-04-05 20:30:13 -07:00
Diego Waxemberg
fd9ee45dac
Added a hack to de-duplicate hosts and some more checks when adding a host to minimize the chances for dupes
2015-04-05 20:08:21 -07:00
Diego Waxemberg
ea231e16b6
changed log level for connection errors
2015-02-24 00:03:02 -05:00
Diego Waxemberg
e3dd4e7238
Created logger with log levels
2015-02-10 21:26:55 -05:00
Diego Waxemberg
e7dc22bb15
Host discovery is much better now
2015-02-10 17:40:49 -05:00
Cameron Gutman
d4b5ec5764
Only retry 5 times to fetch box art
2015-02-10 16:13:06 -05:00
Diego Waxemberg
0a767767fb
Fixed crash if the applist did not contain certain info about the app
2015-02-10 15:48:29 -05:00
Diego Waxemberg
1313429f65
Fix static analysis warning
2015-02-01 21:09:21 -05:00
Diego Waxemberg
337e5e3d9d
fixed host online state and simplified some code
2015-02-01 18:33:36 -05:00
Diego Waxemberg
879f304a79
Refactored http communications to be more abstract and OOP
2015-02-01 04:26:47 -05:00
Diego Waxemberg
14f30349a3
improved app asset management and retrying to acquire
2015-01-31 20:10:14 -05:00
Diego Waxemberg
8e721a9c6a
Fixed pairing bug
2015-01-31 16:13:25 -05:00
Diego Waxemberg
e3e95c29f6
Created http response class and added error checking
2015-01-31 01:57:23 -05:00
Cameron Gutman
3e85f13e08
Fix crash on bad server response
2015-01-09 23:21:42 -05:00
Diego Waxemberg
9e054973c8
Fixed a concurrent modification error in caching app images
2015-01-09 15:17:19 -05:00
Cameron Gutman
abb0d5b8ba
Fix memory leak in failure path
2015-01-09 00:34:42 -05:00
Diego Waxemberg
60cba0399d
now parse server info into host object all at once
2015-01-08 23:58:04 -05:00
Diego Waxemberg
b7fcce08d6
potentially fixed an intermittent heap corruption
2015-01-08 23:44:31 -05:00
Diego Waxemberg
ec39c27498
now cache app images and reuse them when connecting to the same host
2015-01-08 22:18:26 -05:00
Diego Waxemberg
ccd8b3332e
now request app image on multiple threads
2015-01-08 21:36:29 -05:00
Diego Waxemberg
55e9d2daeb
removed some unnecessary logging
2015-01-08 18:04:02 -05:00
Diego Waxemberg
fe64d70577
fixed MDNS discovered hosts getting stuck in infinite loop
2015-01-08 17:03:51 -05:00
Diego Waxemberg
d4cd8d3bba
No longer duplicate hosts when the same host is discovered by MDNS
2015-01-05 18:28:10 -05:00
Diego Waxemberg
d134ff83d6
mDNS discovered hosts have the name set to the address until they are polled
2015-01-02 23:57:49 -05:00
Diego Waxemberg
f0b145c01a
Now stop discovery when pairing
2015-01-02 23:57:11 -05:00
Diego Waxemberg
5aeedb894a
Moved discovery to a worker thread per host
2015-01-02 23:56:28 -05:00
Diego Waxemberg
ee61dc9a59
implemented wake on lan
2015-01-02 19:15:47 -05:00
Diego Waxemberg
417f1e02bc
Added long press to remove/unpair host
2015-01-01 23:25:09 -05:00
Diego Waxemberg
3eee684961
set discovery interval to 2 seconds
2015-01-01 22:32:43 -05:00
Diego Waxemberg
e8c8f4f8e9
Created new host discovery system
...
- now store host uuid and mac address
- use uuid to check for duplicate hosts
- try local and external IPs
- pair status is shown
- server status is shown
- validate host when manually adding
2015-01-01 22:30:03 -05:00