You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d65f4de
Browse filesBrowse the repository at this point in the historyBrowse files
Fixup of #12943
Summary of the issue:
Changelog entries were missing for #12943
UpperCamelCase is the standard for class names, including enums, however FOLDERID was used as the casing for the enum, which mirrors the windows constants.
There is a similar issue for the enum members (which used UpperCamelCase instead of CAP_SNAKE_CASE).
If we want to change our practice to be consistent with what an Enum represents, we should update codingStandards.md
Also the enum type was not being fully leveraged by SHGetKnownFolderPath, requiring .value to be used unnecessarily when calling the function.
Description of how this pull request fixes the issue:
Updates the casing of the enum and it's members. Updates the change log, and fixes up some earlier entries.
Copy file name to clipboardExpand all lines: user_docs/en/changes.t2t
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,14 @@ What's New in NVDA
40
40
- ``constants.SVE*`` usages should be replaced with ``SpeechVoiceEvents.*``
41
41
-
42
42
- The ``soffice`` appModule has the following classes and functions removed ``JAB_OOTableCell``, ``JAB_OOTable``, ``gridCoordStringToNumbers``. (#12849)
- All constants starting with RPC from core and logHandler are moved into RPCConstants.RPC enum
45
-
- It is recommended that mouseHandler.doPrimaryClick and mouseHandler.doSecondaryClick functions should be used to click the mouse to perform a logical action such as activating (primary) or secondary (show context menu), rather than using executeMouseEvent and specifying the left or right mouse button specifically. This ensures code will honor the Windows user setting for swapping the primary mouse button. (#12642)
43
+
- ``core.CallCancelled`` is now ``exceptions.CallCancelled``. (#12940)
44
+
- All constants starting with RPC from ``core`` and ``logHandler`` are moved into ``RPCConstants.RPC`` enum. (#12940)
45
+
- It is recommended that ``mouseHandler.doPrimaryClick`` and ``mouseHandler.doSecondaryClick`` functions should be used to click the mouse to perform a logical action such as activating (primary) or secondary (show context menu),
46
+
rather than using executeMouseEvent and specifying the left or right mouse button specifically.
47
+
This ensures code will honor the Windows user setting for swapping the primary mouse button. (#12642)
48
+
- ``config.getSystemConfigPath`` has been removed - there is no replacement. (#12943)
49
+
- ``shlobj.SHGetFolderPath`` has been removed - please use ``shlobj.SHGetKnownFolderPath`` instead. (#12943)
50
+
- ``shlobj`` constants have been removed. A new enum has been created, ``shlobj.FolderId`` for usage with ``SHGetKnownFolderPath``. (#12943)
0 commit comments