* Switching from Difference between dates to Add or subtract dates ignores the first date field
https://github.com/microsoft/calculator/issues/254
Date field needs to persist across Date Difference and Add/Subtract From Date Mode.
* Update DateCalculator.xaml.cpp
Addressing review comments (white space, small code refactor), also found a null pointer exception during testing, this fix addresses that as well.
* Issue 935 - Updates to Scientific/Graphing Keypad
Update Scientific and Graphing keyboard layouts to expose square root button at the top level
* Updated ScientificModeFunctionalTests/SmokeTest_Cube()
Updated broken test to work with changes.
* Wrap theme radio buttons in MUXC RadioButtons control to fix accessibility issue where the buttons are grouped with the theme title
* Associated theme labels with radio button groups
* Update EquationButton automation name and tooltips
* added tooltips to the stylepicker and fixed the issue where the color name did not update for dark mode colors
* Update src/Calculator/Resources/en-US/Resources.resw
Co-Authored-By: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* fixed the issue where the colors are only listed as black in the tooltip and automation name
* Add tooltips for high contrast colors
Co-authored-by: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* Fixed contrast between background and foreground colors in the equation button. Fixed the issue where the text in the equation text box is white when the background is white
* Adjust the foreground color algorithm
* moved the contrast method to utils so that it is resuable
* Moved brushes for the GetContrastColor method to the app.xaml resource dictionary
* Removed the change for the edit box colors, so it can be in a different PR
* Maximize window during setup, and added divide by zero error test
* Added Error_CubedNegativeNumber test and AOT buttons
* Made Added AoT Tests and test are faster
* Hotkey and Mouse Input BVT Test added, Memory Test started
* Started Aligning BVTs with manual tests. Added TC23466694, TC17416429, and TC17416884, and a test to switching mode test
* Basic Scientific Mode Functional Test Tests
* Added history panel test, and history flyout test for Standard calculator, and added the supporting framework
* Added some functional tests for Scientific mode.
* Basic Scientific Mode functional tests, added solution to set Angle Operator button correctly.
* Created functions to resize the app to display history panel, to display history button, display memory panel, and memory button. Then I applied them to reduce areas with rewritten code, and to help with over all test stability and speed.
* I added the trigonometry functional tests
* Pull from latetest master, and retargeted solution
* Added a GetCalculatorWindowPostion function, when resizing window to show history/memory label, set window position to (0,0), and the same when resizing KOT calculator. This will make tests more stable by keeping calculator on screen. It will also help with any testing that may require tracking the apps postion. To fix a test failure, changed function from ResizeToDiplayHistoryButton to ResizeToNotDisplayHistoryLabel.
* Sorted Using Statements, modified .gitignore to ignore **src/out, etc...
* Merged CalcMemoryFlyout into MemoryPanel, and deleted CalcMemoryFlyout. Merged CalcHistoryFlyout in HistoryPanel, and deleted CalcMemory. Created GlobalCalculatorUI.cs. Updated tests to work with these changes.
* hold on to changes
* Changed all KOT to Aot,
Removed equal button click in Test Cleanup/History method uses page source,
Removed extra line in Calculator.vcxproj.filters, Removed Try/Catch in the ClearHistory method
* Removed unused elses
Added CalculatorResults class
Added StandardAoTCalculatorPage
Removed manual test case info in the comments
* - In test framework, where it worked,
made some elements private
- Created EnsureCalculatorHasFocus() in GlobalCalculatorUI.cs
- Due to new classes, moved some methods to more correct classes
- Moved "page.MemoryPanel.ResizeWindowToDiplayMemoryLabel();" from
SetupCalculatorSession() to ClassInitialize()
* Sorted Using
* Updating fork from latest master
* Don't stand so
* Minor edits, fixing things from PR comments
* Merging scientific and standard mode tests, minor merge conflict fixes
* Method work
- Created ResizeAoTWindowToDiplayInvertButton()
- Applied to test method AoT_ErrorMessage()
- Added page.ScientificOperators.ResetFEButton(fEButtonState.Normal);
to TestIniT in ScientificModeFunctionalTests
- Fixed if statement in public void ResetFEButton(fEButtonState value)
* Added StandardOperatorsPanel and removed duplicated code
* Created tests for Programmer mode, fixed a typo that appeared in multiple locations
* Fixed clear entry not working in Scientific test
* This time I really fixed the problem with clear memory not being found every time
* Revert shared changes
* Rebased onto master and resolved conflicts
* Fixed the 15 second delay on every scientific mode test
* Greatly shortened bitflipkeypad test
Co-authored-by: Crystal Edwards (Insight Global Inc) <v-credwa@microsoft.com>
Co-authored-by: Crystal Edwards <45952655+v-credwa@users.noreply.github.com>
* Fixed DisableShortcuts to disable per the specfic view id and fixed the issue where honorshortcuts did not set the value properly
* Updated the condition to always set the honor shortcuts to false if disable shortcuts is true
* Update icon file
* function analysis and negate button icons updated
* Replace zoom reset button with graph view button
* Fixed issue where the window settings did not update after panning/zooming
* Updated icon styling and added logic for updating the graph view button state when user manipulates the graph and when all equations are removed
* updated LogGraphButton clicked to have an enum for the button value instead of a string
* Updated the logic for how to set the IsManualAdjustment, ensured graphsettings now update IsManualAdjustment when changed
* Turn off keyboard shortcuts when in graphing mode
* Added automation names to the graphnumpad, added any missing ones to the resources.resw file
* Remove HonorShortcuts call in the EquationInputArea, update Equal button automation name to use the existing one
* conditionally set the HonorShortcuts when the nav menu is closed
* added disable shortcuts to override HonorShortcuts when it is set
* Missing EquationInputArea and KGF Automation Names added
* Updated the KGF back button automation name and tooltip and added the automation name string for the KGF equation edit box
* Reverted the removal of x:names and updated Variable Step Textbox to Variable Step Value Textbox per PR feedback
* Updated the VariableListViewItem narrator announcement to include the name of the variable
* Fix#851: inconsistent operand order for log_y(x)
- fixed the bug in scioper.cpp
- changed the related test in CalculatorUnitTests
- also changed the text in GraphingNumpad
* Change the name of LogBaseX for consistency
basically every occurence is repalced by logbasey, except
for the localized string for narrator, which I left for
the localization team to fix.
* Fix the test
* Revert GraphingNumPad.cpp
* Fixup according to review
* Added dark them to graph control, started dark theme for the controls on the graph
* Dark theme for graphing mode updated to use event model, diagnostics added, cleaned up code that wasn't needed
* Updated prepare-release-internalonly.yaml internal package version
* Updated Theme Settings properties, removed version change, other small changes from PR feedback>
* Updated the localSettings check and updated the GraphTheme event to send bool instead of string
* Updated the equation line color to change with the graph theme
* Rebased onto master and issues created during the rebase
* Updates per code review feedback
* Update settings properties to just have IsMatchAppTheme property and updated the high contrast settings for the graph control
* Match version to current in master
* Updated per PR feedback
* Fix resetting the m_lastLineColorIndex to only happen when reassignColors is true
* Changed second if to else if in the OnPropertyChanged method
* fixed control button and equation line colors
* Add telemetry for keyboard button usage in graphing mode
* Added the diagnostics for EquationAdded and FunctionAnalysis
* Added remaining diagnostics events for graphing calculator
* Fix proj files to include the IsStoreBuild condition. Move the Delayer class to the Calculator/Utils folder
* Ensure the variable textbox has focus before logging diagnostics
* Move maxVariableCount check into the tracelogger class
* Created enums and updated the slider value changed method to remove the variable from the map after the log method is called
* Re-enable hidden lines when the expression is updated
* Fixed extra line in grapher.h and removed the conditional logging for variable count
* Updated logging per PR feedback
* Updated variable logging and fixed issues in the IsEquationLineDisabled binding the EditTextBox control.
* Update per PR feedback
* Added TraceLogging project to contain shared logging logic.
* Updated TraceLogging project and updated tracelogger classes to use the TraceLogging project methods
* Updated VariableLogging to log variable name. And updated per PR comments
* Updated Variables logging to log count changed instead of variable added and fixed issue with variableSliders not being initialized
* Remove outdated tracelogging call caused by rebase
* Updated Delayer class to DispatcherTimerDelayer and fixed some small formatting issues
* Fixed missing Dalyer class name updates
* Removed extra line in traceloger.h
* Updated Analyze Equation to set the current value of the variables before analysis
* Updated SetGraphArgs to take in a graph parameter and use it in AnalyzeEquation()
* Added testcasefilter to the UI tests yaml
* Set priorities on UI tests
* Add UI tests for PRs yaml file, conditionally add it to the CI build yaml
* Update priority on functional tests
* Use a conditional task input instead of an additional yaml file to determine if UI tests should be filtered to P0 only
* Add condition:succeeded() back into the run-ui-tests.yaml
* Add back line
Co-authored-by: Matt Cooley <matt@mattcooley.net>
* Add Graph Options to enable analysis with variables
* Remove debugging call to GetAllowKeyGraphFeaturesForFunctionsWithParameters()
* Updated the variable analysis logic to use the UpdateGraphOptions method
* First implementation of KeyboardAccelerators for OnTop
* Changed shortcut keys to match the specs
* Adjusted ToolTips for compact overlay buttons to show the KeyboardAccelerator