Граф коммитов

309 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz a2294858bb
woops! 2018-04-11 19:50:40 +02:00
Matthew Leibowitz 8f2a1b8abd
No nested classes and no default access modifiers 2018-04-11 19:45:59 +02:00
Jonathan Dick f946220ffa
[DeviceTests] Timeout tcp listener (#172)
Previously if device tests failed to run or complete, the listener would wait indefinitely, timing out the build.  Now the listener will time out after the specified amount (60 seconds by default) so the build can fail faster.
2018-04-10 21:30:09 -04:00
Jonathan Dick 04cae2d1db
[DeviceTests] Uninstall appx in try/catch
This should check if the app is installed first before it tries to uninstall, and run in a try/catch block to ensure it doesn't fail the build.
2018-04-10 20:16:17 -04:00
Matthew Leibowitz 92a6780480
Merge pull request #171 from mattleibow/pretty-samples
Making the samples pretty again!
2018-04-11 01:40:02 +02:00
Matthew Leibowitz 56a24823f4
Merge branch 'master' into pretty-samples 2018-04-11 01:26:39 +02:00
Matthew Leibowitz bb458393ec
Removed redundant "private" and "internal" modifiers 2018-04-11 01:25:43 +02:00
Matthew Leibowitz 770f17e32a
The samples are almost too beautiful 2018-04-11 01:21:25 +02:00
Matthew Leibowitz bcb8d0c222
Making the samples pretty again!
- cleaning up the C#, the XAML and the UI
2018-04-11 00:50:30 +02:00
Jonathan Dick aa9af4abd7
[DeviceTests] missed one uninstall 2018-04-10 17:28:24 -04:00
Jonathan Dick af199636f9
[DeviceTests] UWP: Don't uninstall first 2018-04-10 17:23:37 -04:00
James Montemagno 45d2ed6063 GH-166 Fix UWP tests and Cleanup Battery API (#169)
* Only run sensor tests when they exist on UWP. Add new not present on UWP for batter

* Ensure no divide by 0 issues

* Fix up docs
2018-04-10 17:12:39 -04:00
Matthew Leibowitz 083d1f65a7
Merge pull request #170 from xamarin/marj-docs-monikers
changed mdoc frameworks to match OPS monikers
2018-04-10 22:08:07 +02:00
Joel Martinez e8b7d7efb6 changed mdoc frameworks to match OPS monikers 2018-04-10 15:55:07 -04:00
Den Delimarsky 6c57070c92
Update .openpublishing.publish.config.json 2018-04-10 12:31:25 -07:00
Matthew Leibowitz 9dc5fd30a5
Update README.md 2018-04-10 21:30:14 +02:00
Den Delimarsky 44ca6c0b0c update with existing .openpublishing.publish.config.json 2018-04-10 12:30:00 -07:00
dend 4a25bb9cd5 Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master 2018-04-10 19:29:36 +00:00
dend f6db9e3b59 Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master 2018-04-10 19:29:18 +00:00
Jonathan Dick f185ef419f GH-7: Geolocation API's (#132)
* First pass at Android Geolocation impl

* No need for nullables

* Added the geolocation sample

* Added the UWP geolocation implementation

* Getting some of the iOS in

* Use a global location manager so that the permissions popup lives for mor than a few seconds

* Check before asking on iOS

* Finished the iOS implementation and tweak a few things

* Remove the unsused using

* Don't use locking and static fields, use the TCS state

* Keep the manager alive for the duration of the method

* Use platform specific accuracy

* Moving files after merge

* Changing namespaces

* Removed the `ConfigureAwait(false)` instances

* Use extension methods

* tabs not spaces

* Added sopme docs

* More docs

* Added some tests (that can't run yet)

* Enabling the tests for CI after adding attributes

* Added the iOS permissions text to the tests

* iOS has opinions when it comes to locations

* Starting the location manager on the main thread, but return on the original thread

* We just need to call the constructor in the main thread

* Added all the permissions to the manifest for the samples and the tests

* Android has looper issues

* Location is now a declared permission

* Changes based on feedback.

* Cleanup iOS Permissions. Must have static location manager around.

* The stylish copper got us again
2018-04-10 12:25:48 -07:00
Matthew Leibowitz f2420c8099
Merge pull request #165 from xamarin/feature/motz-cleanup
GH-137 API Cleanup
2018-04-10 20:16:58 +02:00
James Montemagno d675411dcf
Merge branch 'master' into feature/motz-cleanup 2018-04-10 10:31:22 -07:00
Matthew Leibowitz 4882cca2c8 Remove the ConfigureAwait(false) until further review. #133 (#163) 2018-04-10 10:28:27 -07:00
James Montemagno 3cc105bb90 Cleanup of namespaces. 2018-04-10 09:59:20 -07:00
Matthew Leibowitz 2e3fce2bc2
Merge pull request #164 from mattleibow/mdoc-fix
Updating docs to work around mdoc bug
2018-04-10 17:53:36 +02:00
Matthew Leibowitz 313ca1c56a
Merge pull request #162 from fredeil/master
Update links after rebranding
2018-04-10 17:22:35 +02:00
Matthew Leibowitz 3517eca517
Updating docs to work around mdoc bug:
https://github.com/mono/api-doc-tools/issues/224
2018-04-10 17:21:22 +02:00
Matthew Leibowitz 1e8aa2f8d1 Using the new mdoc frameworks (#161)
* Using the new mdoc frameworks

* Made a few changes
2018-04-10 10:28:45 -04:00
Fredrik Eilertsen 49935fc546 Update links in CONTRIBUTING.md 2018-04-10 11:11:56 +02:00
Fredrik Eilertsen 6b3ed176cd Update links in markdown files 2018-04-10 11:05:46 +02:00
James Montemagno dd7a120068 Update private preferences for version tracking & secure (#158) 2018-04-10 00:10:24 +02:00
James Montemagno 19a6ebc7f9 Add tracking back into version tracking (#159) 2018-04-09 22:25:03 +02:00
Matthew Leibowitz fff698143a Added `VersionTracking.Tack()` for the apps that don't want to check. (#160)
* Added `VersionTracking.Tack()` for the apps that don't want to check.
 - also added a `PreserveAttribute` so to avoid using the platform ones

* All methods need return types...
2018-04-09 13:22:59 -07:00
James Montemagno aebf3b1756
GH-156 Create new queue if null queue (#157)
* If current queue is null because calling from an outside context create a new queue to put updates on. https://stackoverflow.com/questions/33642590/nsoperationqueue-currentqueue-not-working

* Get Queue updates
2018-04-09 11:17:24 -07:00
Matthew Leibowitz 7097afd248
Improving the tests (#154)
- adding a "needs human" trait
- removing TODOs
2018-04-09 12:20:48 +02:00
Vojtěch Mádr 05c5afcc6e Update README.md (#155) 2018-04-09 12:06:46 +02:00
Matthew Leibowitz 176e94800d
Added a new mdoc target to list all missing docs 2018-04-06 23:07:02 +02:00
Matthew Leibowitz 805f81bf37
rerun docs to fix the files 2018-04-06 23:02:33 +02:00
Jonathan Dick 15be9299ca
update badges 2018-04-06 14:07:19 -04:00
Jonathan Dick e0c151b8ca
Rename test result test names in xunit 2018-04-06 10:00:59 -04:00
Jonathan Dick ab170199ae
Fix app id tests 2018-04-06 09:56:45 -04:00
Jonathan Dick e576d4ff99
Fix activity name for test script 2018-04-06 09:36:05 -04:00
Jonathan Dick 1ea15b7684
Device test script fixes 2018-04-06 09:19:16 -04:00
Jonathan Dick 7ec8415711
Added missing pix from UWP Sample 2018-04-05 22:27:17 -04:00
Jonathan Dick 0124bfe0d8
Added back pix key for device tests 2018-04-05 21:29:38 -04:00
James Montemagno e76b8c2831 Cleanup old files! (#153) 2018-04-05 20:52:47 -04:00
James Montemagno c3b6c14d78 Rebranding to Xamarin.Essentials (#152) 2018-04-05 20:46:34 -04:00
Matthew Leibowitz 64f6130493 [Proposal] Add an API to Track App Versions (#124)
* Add an API to track app versions

* Using the new Preferences model

* Made a few changes and updated the sample

* Added docs
2018-04-05 10:17:24 -07:00
James Montemagno 267edd1c88 GH-52 Add Magnetometer/Gyro/Accelerometer code and samples (#140)
* Add Magnetometer code and samples

* Add Tests for Magnetomoter

* Add docs and adjust time intervals to match Android

* Update magnetometer to use events.

* Ensure monitor check is added.

* Cleanup magnetomter vased on feedback

* Tweak data update on ios

* Add accelerometer and gyroscope.

* Update tests

* Update docs with units.

* Cleanup tests

* Gyro calibrated only .

* Add all sensors test page. Ensure Android sensors work across stops

* Use sensor name instead of ID (was api 24+)

* Check for null on sensors

* Update IsMonitoring to match compass

* Make @redth feel better about IsMonitoring

* Cleanup try/catch for @redth
2018-04-04 16:30:23 -04:00
Jonathan Dick 8c69fa1df3
Email merged 2018-04-04 15:53:45 -04:00