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

546 Коммитов

Автор SHA1 Сообщение Дата
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
Matthew Leibowitz 4a110c7810 GH-27: Master based email (#105)
* email API initial commit
UWP OK

* Email Sample and Device Tests

* API according to comments

* Android Composing finished

* Update the Email API

* Update the tests - removed the emil tests as this will leave the current app

* Update the tests - removed the emil tests as this will leave the current app

* Add base for email attachments

* Removing attachments as this is not as simple as one might expect...

* Removing usless email tests

* Return fast

* Update Email.uwp.cs

* Added the empty email docs

* Warnings instead of messages for missing docs as this is serious

* This should be private

* Updated existing docs to match their APIs

* Added the email docs

* Updated the samples description

* Fix test email address
2018-04-04 15:53:07 -04:00
James Montemagno 877d135cef
Fix tests for UWP on compass, flashlight, clipboard, and permissions! (#151) 2018-04-04 12:48:54 -07:00
Jonathan Dick c0fb7bfafe
Run Device Tests for UWP (#149)
* Fix capabilities check on UWP

Namespaces!

* Obtain test listener host/port differently

For some reason UWP is stripping away the second query string parameter from the activation uri.  Switching to just use the Host from the uri instead (so `localhost_10578` for example) and parsing that instead.

* Fix android var usage

* Update unit test headless runner

* Pass IP/Port to UWP Device Test runner differently

For some reason UWP shaves off > 1 querystring parameter on the invoked url, so passing it as the host/path instead.

* Switch to xunit
2018-04-03 21:17:58 -04:00
James Montemagno ec20afc4de
GH-136 Make linker safe! (#147)
* Make linker safe!

* Make device tests use linker
2018-04-03 09:30:53 -07:00
James Montemagno b1870aa03c
GH-143 Change compass to event based. (#144)
* Change compass to event based.

* Additional cleanup

* Fixup compass on uwp to stop.

* Put in dispose functionality
2018-04-02 11:25:12 -07:00
James Montemagno cc02a16690
Adjust Package References for only Android 7.1 and support 25.4 to match xamarin.forms. (#146) 2018-04-02 09:48:44 -07:00
Jonathan Dick 3024d8ba2b DeviceTests: Added Traits to headless runner (#128)
* Added helper for devicetype trait to exclude

This gets the Virtual/Physical DeviceType trait we will want to exclude (so it’s the opposite of the currently executing device type).

* Bump headless runner nuget

* Add filters to headless runner execution

* Refactor traits to have common list
2018-03-28 17:39:27 -07:00
James Montemagno 08097949b7 GH-48 Add initial compass API (#116)
* Add initial compass API with samples

* Update Compass to new API and add CompassData return types.

* Add xunit tests

* Add compass tests and documentation

* Made adjustments based on feedback to cleanup code.

* Fix samples! Rename everywhere seemed to have failed :(

* Fix build

* Fix build again.

* Tweaked the sample VM a bit
2018-03-28 19:15:53 -04:00
Jonathan Dick e45c8687f6 Made Preferences API consistent with others (#99)
* Made Preferences API consistent with others

* Fixed Clear call in Preferences test

Also Renamed const to be less confusing

* Preferences docs fixups

* Added another test for nulls

* Remove bad whitespace

* Handle nulls better in preferences

* Fix up double parsing

* Removed unused var
2018-03-28 14:02:33 -07:00
Matthew Leibowitz 009c2edd90 GH-122: Added Vibrate API (#118)
* Added Vibrate API

* Updated the readme

* Added permission checking and improved the sample.

* Refactor UWP a bit

* Added Vibration docs (and fixed some old docs)

* Simplify permissions with new internal API

* Added Vibration tests
2018-03-28 13:23:35 -07:00
Jonathan Dick bdf0db1b25
Fix up docs (#127) 2018-03-28 15:57:08 -04:00
Jonathan Dick 6db1d04aff
Update features list 2018-03-28 15:27:11 -04:00
Jonathan Dick 2cf5a3e55c
Ignore cake tools/ 2018-03-28 15:26:28 -04:00