Commit Graph

660 Commits

Author SHA1 Message Date
Matt Cooley f294d2e492 Remove PackageES LateTasks task (#1574) 2021-06-09 20:15:59 -07:00
Dave Grochocki 3cc3eaf4e0 Improving keyboard support in VariableValueSlider (#1559) 2021-06-03 03:23:45 -07:00
Dave Grochocki 318fe4b83f Merge branch 'master' into master 2021-06-02 08:11:37 -07:00
Matt Cooley 8d2b48740c Add internal CI pipeline (#1553)
* Add CI-internal pipeline

* No ARM64, to match release
2021-06-01 07:58:26 -07:00
Dave Grochocki 527cf45aba Add reference to #1545 in roadmap 2021-05-25 23:56:18 -07:00
Michał Janiszewski f30e9494ce Clang-format most of the sources (#1467) 2021-05-10 10:18:39 -07:00
Matt Cooley f7d0118064 Update localized strings 2021-05-05 (#1539) 2021-05-10 10:14:47 -07:00
Dave Grochocki 2c013fc619 Updating roadmap for 2021 (#1538)
Updating roadmap for 2021
2021-05-04 23:05:52 -07:00
Dave Grochocki 6ea226add9 Updating roadmap for 2021
Updating roadmap for 2021
2021-05-04 23:03:31 -07:00
achmurali ea61391a62 Disabled focus for 2nd button (#1523)
Co-authored-by: achmurali <achmurali@github.com>
2021-04-20 12:08:35 -07:00
Matt Cooley ce4f3d5943 Update localized strings 2021-04-07 (#1521) 2021-04-20 10:38:06 -07:00
Matt Cooley de712fe7ca Always run loc pipeline (#1517) 2021-03-24 21:16:39 -07:00
Pepe Rivera 5cf27f1fe1 Temporarily disable PGO NuGet package (#1510) (#1513)
Co-authored-by: Matt Cooley <macool@microsoft.com>
2021-03-09 09:48:08 -08:00
Matt Cooley 947f099455 Update localized strings 2021-03-08 (#1511) 2021-03-08 13:40:07 -08:00
Matt Cooley 12110936eb Temporarily disable PGO NuGet package (#1510) 2021-03-08 09:33:39 -08:00
Cory Volk 9c20e076d0 Update mainto2103release (#1504)
* Updating to 2012 version after creating the 2011 release branch fork

* Updating version to 2101 release in Main

* Updating to 2102 release post-2101 release branch fork

* Updating Main to release 2103 post-release branch fork for 2102
2021-03-04 16:47:25 +08:00
Pepe Rivera a544381e86 Update service connection name (#1505) 2021-03-03 14:12:14 -08:00
Matt Cooley 6a34a31ec6 Update internal loc pipeline account (#1488) 2021-02-05 11:40:27 -08:00
Matt Cooley fdf7242cf0 Update build year to 2021 (#1487) 2021-02-03 07:32:38 -08:00
KermanX 24b1aca640 Update ManualTests.md (#1485) 2021-02-02 11:42:45 -08:00
Cory Volk 436eb1718d Update2102release (#1484) 2021-02-02 11:40:57 -08:00
Matt Cooley ef00b91619 Update nuget.config file (#1486) 2021-02-02 11:05:26 -08:00
Wei (Waley) Zhang fd2367d483 Fixed a graphing calculator "permissions" bug caused by PR #1426 (#1471)
## Fixes a bug caused by https://github.com/microsoft/calculator/pull/1426#.


### Description of the changes:
- The PR #1426 can cause a crash when no users are returned via `User::FindAllAsync(UserType::LocalUser)` when subsequently trying to access the first user. The existing code also does not guarantee that the returned user is the currently active user.
- This fix retrieves the user that opened the app and passes this user into a function to check if this user has the proper permissions to access the graphing mode. This makes sense since the active user is indistinguishable (at least from the app's perspective) to the user who opened the app. This user's permissions are then propagated downwards to properly set up the navigation menu of the app.
- Implementation detail worth pointing out: `s_categoryManifest` is what is used to populate the navigation menu of the app, but this variable is static by design, so a separate function was written to override the appropriate `isEnabled` value in `s_categoryManifest`. This function is called by `onLaunched`.

### How changes were validated:
- Manual testing
2021-02-02 08:31:44 -08:00
Michał Janiszewski d4be50490f Add headers missing for compilation with GCC (#1468)
Things that required such update included:
* `wstringstream`
* `setprecision`
* `SCODE_CODE`, `E_BOUNDS`
* Various SAL macros
2021-02-01 08:40:49 -08:00
Matt Cooley 007eccd940 Move localization pipeline sync schedule to the YAML file (#1478) 2021-01-28 10:46:37 -08:00
Tian L 9d8e2ad18c Adds unit-test cases for NarratorAnnouncement after fixing issue #1386 (#1469)
* fix bug: No confirmation is announced by the narrator after activating 'Remove equation' button #1386

* Unit Test: Add NarratorAnnouncementUnitTests

Co-authored-by: tain <tankle_@hotmail.com>
2021-01-21 16:27:18 -08:00
Wei (Waley) Zhang 565e3e2714 Improve clarity of math expressions in history for Standard Calculator (feature #138) (#1453)
* Implemented feature & added unit tests

* Fixed more unit/ui tests

* Refactored tests

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp

* Update HistoryTests.cpp
2021-01-20 13:21:27 -08:00
Matt Cooley 885fa23a89 Turn off DFS file shares in internal build system (#1470) 2021-01-19 17:19:24 -08:00
Quentin Al-Timimi 0048dcb500 Update graph internal engine verseion (#1466) 2021-01-11 15:37:37 -08:00
N 66ad328d00 Fixup tests (#1429)
- Removed unneeded "ToString" calls
- Fixed typos
- Renamed "fEButtonState" to "FEButtonState"
2021-01-11 14:40:27 -08:00
Tian L 737cd15562 fix bug: No confirmation is announced by the narrator after activating 'Remove equation' button #1386 (#1465) 2021-01-11 13:48:27 -08:00
Hongxu Xu f910d64d88 Handle Space and Enter KeyDown event for About button (#1459) 2021-01-11 11:46:08 -08:00
Matt Cooley cdcb95656d Update localized strings 2021-01-04 (#1458) 2021-01-06 10:50:32 -08:00
Cory Volk b7ca0eb5a6 Updateto2101release (#1457)
Update version number to 10.2101.*.
2021-01-04 15:18:44 -08:00
Chaitanya Mehta 7d8803dd1a Fix copy-pasting result computed by the calculator gives "Invalid input" (#1444)
* Remove exponent value from operand length

* Copy paste test with boundary exponential numbers.
2020-12-17 10:15:24 -08:00
Rudy Huyn 3172f7fea2 Prevents the user interface from shifting upwards at launch (#633)
Co-authored-by: Matt Cooley <macool@microsoft.com>
Co-authored-by: Pepe Rivera <joseartrivera@gmail.com>
2020-12-16 14:46:37 -08:00
Chaitanya Mehta c4793785c3 Add link to GitHub repo on about flyout (#1449)
* Add link to GitHub repo on about flyout

* Update AboutFlyout page GitHub link margin.

* Update AboutPage GitHub link string.
2020-12-10 21:04:18 -08:00
Hongxu Xu 61d06b2d2f Use different formatter for different currency (#1432)
* Use different formatter for different currency

* Add functional tests for currency fraction digit format

* Revert "Add functional tests for currency fraction digit format"

This reverts commit bd8aab33847425f4dcfd0d76ce310c918729b2fd.

* Add TestCurrencyFormattingLogic in UnitConverterViewModelUnitTests

* Fix InitializeMultipleConverterTest

* Add comment for a line of code

* Add default case for switch in ConvertToLocalizedString

* Remove trailing decimal
Disable decimal input if maxFractionDigits is 0
Fix input may be blocked after switched active

* Fix: UpdateIsDecimalEnabled should do nothing for non-currency converter

* Remove unnecessary SetValue method

* Add a comment

* Add functional UI Tests for currency converter
Reset currency before tests
Fix: input is blocked after switching to currency with less fractional digits

* Set Priority=0 for currency format related tests

* Truncate digits in display value after switcing
To fix incorrect result after switching currency with less fractional digits
2020-12-02 11:04:22 -08:00
Matt Cooley 6359a14a9b Update localized strings 2020-12-01 (#1447) 2020-12-01 11:02:34 -08:00
Cory Volk b5dc971bf4 Updating to 2012 version after creating the 2011 release branch fork (#1442) 2020-11-24 13:28:49 -08:00
Crystal Edwards c3ed03ccfd Adding Test Method "KeyboardInput_HistoryHotkeys" (#1431)
Now that #744 has been fixed, I'm adding Test Method "KeyboardInput_HistoryHotkeys" to test the functionality of history hotkeys such as [Shift] + [Ctrl] + [D] to help prevent a regression or a break.
2020-11-12 11:48:40 -08:00
Hongxu Xu 296cf038b9 Lock m_renderMain in Grapher::TryInitializeGraph to avoid modifying m_graph during rendering (#1430) 2020-11-11 09:40:39 -08:00
Bura Chuhadar 483dacbeff Fixes issue #1409 (#1412)
* Fixes issue #1409

Copy pasting into Currency locks the editor.
Skipping the validation of full editor lock when backspace or clear button is clicked.

* Adding code review feedback.

* Adding code review feedback.
2020-11-10 09:56:39 -08:00
Stephanie Anderl 15ae66626a switch to use policy manager apis for detecting graphing policy (#1426)
* switch to use policy manager apis for detecting graphing policy

* Remove RegGetValueW from NavCategory.cpp since it is no longer used.
2020-11-05 15:08:39 -08:00
Cory Volk e6b30fa295 Now that the release/2010 branch has been created, it's time to bump the master branch version to 2011 (#1424) 2020-11-05 08:44:25 -08:00
Matt Cooley f9a31caa8f Switch agent pool for internal releases (#1421) 2020-11-04 12:06:38 -08:00
Matt Cooley 1ab43949fd Update localized strings 2020-11-03 (#1422) 2020-11-04 12:06:24 -08:00
Cory Volk cb4d120dbc Updating version to 2010 for release fork (#1423) 2020-11-04 12:06:01 -08:00
Matt Cooley 1af6b284cb Improvements to CI pipeline (#1415) 2020-10-28 14:41:13 -07:00
Seija 13d8b04d8d Changed output of GetCurrentRadix to match the variable type of m_radix (#1416)
Co-authored-by: PokeCodec <67983839+PokeCodec@users.noreply.github.com>
2020-10-28 14:40:57 -07:00