Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #2926 - Refactor KeyEvent and KeyEventEventArgs to simplify #2927

Merged
merged 205 commits into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
8520435
Adds basic MainLoop unit tests
tig Oct 18, 2023
80fd49e
Remove WinChange action from Curses
tig Oct 18, 2023
55a5d25
Remove WinChange action from Curses
tig Oct 18, 2023
6ff0b6d
Remove ProcessInput action from Windows MainLoop
tig Oct 18, 2023
9eab13b
Simplified MainLoop/ConsoleDriver by making MainLoop internal and mov…
tig Oct 19, 2023
2d2345b
Modernized Terminal resize events
tig Oct 19, 2023
fcea946
Modernized Terminal resize events
tig Oct 19, 2023
9a87303
Removed un used property
tig Oct 19, 2023
54f200a
for _isWindowsTerminal devenv->wininit; not sure what changed
tig Oct 19, 2023
e6db63e
Modernized mouse/keyboard events (Action->EventHandler)
tig Oct 19, 2023
1016777
Updated OnMouseEvent API docs
tig Oct 19, 2023
916f335
Using WT_SESSION to detect WT
tig Oct 20, 2023
f7ad241
removes hacky GetParentProcess
tig Oct 20, 2023
934ce0e
Updates to fix #2634 (clear last line)
tig Oct 20, 2023
6c13cc7
removes hacky GetParentProcess2
tig Oct 20, 2023
6242306
Addressed mac resize issue
tig Oct 20, 2023
aa4e568
Addressed mac resize issue
tig Oct 20, 2023
237c407
Removes ConsoleDriver.PrepareToRun, has Init return MainLoop
tig Oct 20, 2023
d52a147
Removes unneeded Attribute methods
tig Oct 20, 2023
dcb972d
Removed GetProcesssName
tig Oct 20, 2023
f3ee290
Removed GetProcesssName
tig Oct 20, 2023
88a0065
Refactored KeyEvent and KeyEventEventArgs into a single class
tig Oct 20, 2023
36903cb
Revert "Refactored KeyEvent and KeyEventEventArgs into a single class"
tig Oct 20, 2023
95af5b5
Fixed key repeat issue; reverted stupidity on 1049/1047 confusion
tig Oct 21, 2023
891b9dc
Updated CSI API Docs
tig Oct 21, 2023
2b9bbf6
merge
tig Oct 21, 2023
760c522
merge
tig Oct 21, 2023
5e5509f
Rearranged Event.cs to Keyboard.cs and Mouse.cs
tig Oct 21, 2023
d1f22a0
Renamed KeyEventEventArgs KeyEventArgs
tig Oct 21, 2023
6f551fc
merged v2_develop
tig Oct 21, 2023
d4c9c12
temp renamed KeyEvent OldKeyEvent
tig Oct 22, 2023
e86bfaf
Merged KeyEvent into KeyEventArgs
tig Oct 22, 2023
5ee91a4
Renamed Application.ProcessKey members
tig Oct 22, 2023
7d3029d
Renamed Application.ProcessKey members
tig Oct 22, 2023
86bf730
Renamed Application.ProcessKey members
tig Oct 22, 2023
015b2ff
Added Responder.KeyPressed
tig Oct 22, 2023
88235dd
Removed unused references
tig Oct 22, 2023
0fc8ad4
Fixed arg naming
tig Oct 22, 2023
cc423e8
InvokeKeybindings->InvokeKeyBindings
tig Oct 22, 2023
ac3e3e9
InvokeKeybindings->InvokeKeyBindings
tig Oct 22, 2023
10c2db4
Fixed unit tests fail
tig Oct 22, 2023
189830c
More progress on refactoring key input; still broken and probably wrong
tig Oct 23, 2023
cb0cb23
Merge branch 'v2_develop' into v2_key_simplify
tig Oct 25, 2023
1f6f4d8
merge v2_develop
tig Nov 10, 2023
b283558
Fixed some unit tests
tig Nov 28, 2023
820ef83
Moved OnKeyPressed out of Responder and made ProcessKeyPrssed non-vir…
tig Nov 28, 2023
10af83f
Updated API docs
tig Nov 28, 2023
53f91cc
Moved key handling from Responder to View
tig Nov 28, 2023
6c0d605
Updated API docs
tig Nov 28, 2023
ba11f56
Updated HotKey API docs
tig Nov 28, 2023
23eb7cb
Updated shortcut API docs
tig Nov 28, 2023
9766dd3
Fixed responder unit tests
tig Nov 28, 2023
f37765c
Removed Shortcut from View as it is not used
tig Nov 28, 2023
50b52de
Removed unneeded OnHotKey override from Button
tig Nov 28, 2023
a164989
Fixed BackTab logic
tig Nov 28, 2023
4ff09a6
Button now uses Key Bindings exclusively
tig Nov 28, 2023
e02ccf0
Button now uses Key Bindings exclusively
tig Nov 28, 2023
8fac048
Updated keyboard.md docs
tig Nov 28, 2023
ca02c85
Fixed unit tests to account for Toplevel handling default button
tig Nov 28, 2023
bb8b9ef
Added View.InvokeCommand API
tig Nov 28, 2023
38379f2
Modernized RadioGroup
tig Nov 28, 2023
032de9a
Removed ColdKey
tig Nov 28, 2023
53bc01b
Modernized (partially) StatusBar
tig Nov 28, 2023
baa1f1b
Worked around FileDialog issue with Ctrl-F
tig Nov 28, 2023
ac7063e
Fixed driver unit test; view must be focused to reciev key pressed
tig Nov 29, 2023
04e2436
Application code cleanup
tig Nov 29, 2023
ecdcc4b
Start on updaing menu
tig Nov 29, 2023
196124f
Menu now mostly works
tig Nov 29, 2023
ad05e68
Menu Select refinement
tig Nov 29, 2023
8112b3a
Fixed known menu bugs!
tig Nov 30, 2023
538066f
Enabled HotKey to cause focus- experimental
tig Nov 30, 2023
a044013
Fixes #3022 & adds unit test to prove it
tig Dec 1, 2023
c948d03
Actually Fixes #3022 & adds unit test to prove it
tig Dec 1, 2023
b78ff2a
Working through hotkey issues
tig Dec 1, 2023
f9cdca4
Misc fixes
tig Dec 1, 2023
2292d37
removed hot/cold key stuff from Keys scenario
tig Dec 1, 2023
b51d8bd
Fixed scenarios
tig Dec 1, 2023
3a8d7a7
Simplified shortcut string handling
tig Dec 1, 2023
9632a3b
Modernized Checkbox
tig Dec 1, 2023
78779ad
Modernized TileView
tig Dec 1, 2023
f82bdba
Updated API docs
tig Dec 1, 2023
c9465a0
Updated API docs
tig Dec 1, 2023
59dcec1
attempting to publish v2 docs
tig Dec 1, 2023
b833dce
Revert "attempting to publish v2 docs"
tig Dec 3, 2023
962f2a4
merged v2_develop
tig Dec 3, 2023
54b1d6a
Playing with api docs
tig Dec 3, 2023
06e2e56
Removed Key.BackTab
tig Dec 3, 2023
6d1cfff
Removed Caps/Scroll/Numlock
tig Dec 4, 2023
7619e81
Partial removal of keymodifiers - unit tests pass
tig Dec 4, 2023
b51c3fd
Partial removal of keymodifiers - broke netdriver somewhere
tig Dec 4, 2023
bee9eed
WindowsDriver & added KeyEventArgsTests
tig Dec 4, 2023
740d342
Fixing menu shortcut/hotkeys - broke Menu.cs into separate files
tig Dec 4, 2023
ae18409
Fixed MenuBar!
tig Dec 4, 2023
7fb2a0e
Finished modernizing Menu/MenuBar
tig Dec 5, 2023
3623269
Removed Key.a-z. Broke lots of stuff
tig Dec 5, 2023
2b743e1
checkout@v4
tig Dec 5, 2023
f1f7e73
progress on key mapping and formatting
tig Dec 6, 2023
f2ef158
VK tests are still failing
tig Dec 6, 2023
ae98da2
Fixed some unit tests
tig Dec 6, 2023
95a9c91
Added Hotkey and Keybinding unit tests
tig Dec 6, 2023
a080714
fixed unit test
tig Dec 6, 2023
3fe8c16
All unit tests pass again...
tig Dec 7, 2023
af2b2dd
Fixed broken unit tests
tig Dec 7, 2023
3c24868
KeyEventArgs.KeyValue -> AsRune
tig Dec 7, 2023
7440845
Fixed bugs. Still some broken
tig Dec 7, 2023
3157389
Added KeyEventArgs.IsAlpha. Added KeyEventArgs.cast ops. Fixed bugs. …
tig Dec 7, 2023
0909c72
Fixed WindowsDriver
tig Dec 7, 2023
d84f735
Oops.
tig Dec 7, 2023
4d5363d
Refactoring based on bdisp's help. Not complete!
tig Dec 10, 2023
776b381
removed calling into subviews from OnKeyBindings
tig Dec 10, 2023
c0ae9a2
removed calling into subviews from OnKeyBindings
tig Dec 10, 2023
cb59be3
Improved View KeyEvent unit tests
tig Dec 10, 2023
d071fab
More hotkey unit tests
tig Dec 11, 2023
67da4f2
BIg change - Got rid of KeyPress w/in Application/Drivers
tig Dec 11, 2023
c6f3148
Unit tests now pass again
tig Dec 11, 2023
ba1024f
Refreshed API docs
tig Dec 11, 2023
aaf78cf
Better HotKey logic. More progress. Getting close.
tig Dec 11, 2023
ca5d4b8
Fixed handling of shifted chars like ö
tig Dec 11, 2023
3aa4000
Minor code cleanup
tig Dec 11, 2023
ab77d99
Minor code cleanup2
tig Dec 11, 2023
e870a04
Why is build Action failing?
tig Dec 11, 2023
523dd43
Why is build Action failing??
tig Dec 11, 2023
e13372d
upgraded to .net8 to try to fix weird CI/CD build errors
tig Dec 11, 2023
bad45e7
upgraded to .net8 to try to fix weird CI/CD build errors2
tig Dec 11, 2023
e760ef9
Disabling TextViewTests to diagnose build errors
tig Dec 11, 2023
fd4d9ab
reenable TextViewTests to diagnose build errors
tig Dec 11, 2023
7e0156f
Arrrrrrg
tig Dec 11, 2023
e2f0b94
Merge branch 'v2_develop' into v2_key_simplify
tig Dec 11, 2023
11b51d4
Merged v2_develop
tig Dec 11, 2023
fbda133
Fixed uppercase accented keys in WindowsDriver
tig Dec 11, 2023
e0a548f
Fixed key binding api docs
tig Dec 12, 2023
3654afd
Experimental impl of CommandScope.SubViews for MenuBar
tig Dec 12, 2023
f34007f
Removed dead code from application.cs
tig Dec 12, 2023
4ae71a5
Removed dead code from application.cs
tig Dec 12, 2023
d9a8db2
Removed dead code from ConsoleDriver.cs
tig Dec 12, 2023
51ad2bf
Cleaned up some key binding stuff
tig Dec 12, 2023
e55ff9d
Disabled Alt to activate menu for now
tig Dec 12, 2023
6938fde
Updated label commands
tig Dec 12, 2023
df94314
Fixed menu bugs. Upgraded menu unit tests
tig Dec 12, 2023
92c6149
Fixed unit tests
tig Dec 12, 2023
c62ab30
Working on NetDriver
tig Dec 12, 2023
60e2a1c
fixed netdriver
tig Dec 12, 2023
bbe66aa
Fixed issues called out by @bdisp CR
tig Dec 12, 2023
7d9c75e
fixed CursesDriver
tig Dec 12, 2023
a3a4055
added todo to netdriver
tig Dec 12, 2023
e0d6521
Cherry picked treeview test fix 1b415e5
tig Dec 13, 2023
3d69eb9
Fix NetDriver.
BDisp Dec 13, 2023
d976411
CommandScope->KeyBindingScope
tig Dec 13, 2023
aa1d6a2
Address some tznind feedback
tig Dec 13, 2023
a501541
Refactored KeyBindings big time!
tig Dec 13, 2023
0062029
Merge pull request #18 from BDisp/@tig_v2_key_simplify-fix
tig Dec 13, 2023
dbfab25
Added key consts to KeyEventArgs and renamed Key to ConsoleDriverKey
tig Dec 13, 2023
536a3c8
Fixed some API docs
tig Dec 13, 2023
a5a474f
Moved ConsoleDriverKey to ConsoleDriver.cs
tig Dec 13, 2023
51ac7e7
Renamed Key->ConsoleDriverKey
tig Dec 13, 2023
d3afd23
Renamed Key->ConsoleDriverKey
tig Dec 13, 2023
6766280
Renamed Key->ConsoleDriverKey
tig Dec 13, 2023
05c8aee
renamed file I forgot to rename before
tig Dec 13, 2023
092eebf
Updated name and API docs of KeyEventArgs.isAlpha
tig Dec 13, 2023
83b1311
Fixed issues with OnKeyUp not doing the right thing.
tig Dec 14, 2023
fc6e04a
Fixed MainLoop.Running never being used
tig Dec 14, 2023
3c377db
Fixed MainLoop.Running never being used - unit tests
tig Dec 14, 2023
a89d2e8
Claned up BUGBUG comments
tig Dec 14, 2023
ea9b470
Disabled a unit test to see why ci/cd tests are failing
tig Dec 14, 2023
e16010b
Removed defunct commented code
tig Dec 14, 2023
6d43319
Removed more defunct commented code
tig Dec 14, 2023
2891731
Re-eanbled unit test; jsut removing one test case...
tig Dec 14, 2023
ff93475
Disabled more...
tig Dec 14, 2023
34fb743
Renambed Global->Applicaton and updated scope API docs
tig Dec 14, 2023
74dabde
Disabled more unit tests...
tig Dec 14, 2023
f204685
Removed dead code
tig Dec 14, 2023
1466179
Disabled more unit tests...2
tig Dec 14, 2023
61d580a
Disabled more unit tests...3
tig Dec 14, 2023
dc8621e
Renambed Global->Applicaton and updated scope API docs 2
tig Dec 14, 2023
495bc8f
Added more KeyBinding scope tests
tig Dec 14, 2023
4ffb339
Added more KeyBinding scope tests2
tig Dec 14, 2023
8657d2a
ConsoleDriverKey too long. Key too ambiguous. Settled on KeyCode. (Pa…
tig Dec 14, 2023
081d665
KeyEventArgs improvements. cast to Rune must be explicit as it's lossy
tig Dec 14, 2023
7a13a7c
Fixed warnings
tig Dec 14, 2023
2e74203
Renamed KeyEventArgs to Key... progress on fixing broken stuff that r…
tig Dec 14, 2023
1bf28e3
Fix ConsoleKeyMapping bugs.
BDisp Dec 16, 2023
de22450
Fix NetDriver issue from converting a lower case to a upper case.
BDisp Dec 16, 2023
03c8793
Started migration to Key from KeyCode - e.g. made HotKeys all consist…
tig Dec 16, 2023
1d25e77
Fixed build warnings
tig Dec 16, 2023
1c4ac3e
Added key defns to Key
tig Dec 16, 2023
4c243d1
KeyBindings now uses Key vs. KeyCode
tig Dec 16, 2023
0cad88f
Verified by tweaking UICatalog
tig Dec 16, 2023
17822aa
Fixed treeview test ... again
tig Dec 16, 2023
583b2ab
Renamed ProcessKeyDown/Up to NewKeyDown/Up and OnKeyPressed to OnProc…
tig Dec 16, 2023
9beb0b6
Added test AllViews_KeyDown_All_EventsFire unit tests and fixed a few…
tig Dec 16, 2023
c223ba8
fixed stupid KeyUp event bug
tig Dec 16, 2023
19d7f21
If key not handled, return false for datefield
tig Dec 16, 2023
f28c297
dotnet test --no-restore --verbosity diag
tig Dec 16, 2023
08f5721
dotnet test --blame
tig Dec 16, 2023
e7f385c
run tests on windows
tig Dec 16, 2023
12ce149
Resolving merge conflicts.
BDisp Dec 16, 2023
4df9758
Fix TestVKPacket unit test and move it to ConsoleKeyMappingTests.cs f…
BDisp Dec 16, 2023
6c2c810
Remove unnecessary commented code.
BDisp Dec 16, 2023
a362dfc
Tweaked unit tests and removed Key.BareKey
tig Dec 16, 2023
8f0fdc0
Merge branch 'v2_key_simplify' into @tig_v2_key_simplify-console-key-…
BDisp Dec 16, 2023
b5d47a5
Fixed little details and updated api docs
tig Dec 16, 2023
8eebbbc
updated api docs
tig Dec 16, 2023
c0ff52c
Merge pull request #20 from BDisp/@tig_v2_key_simplify-console-key-ma…
tig Dec 16, 2023
1493957
AddKeyBindingsForHotKey: KeyCode->Key
tig Dec 16, 2023
e01bb81
Cleaned up more old KeyCode usages. Added TODOs
tig Dec 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 148 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,154 @@ csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_preserve_single_line_blocks = true
dotnet_style_require_accessibility_modifiers = never
csharp_style_var_when_type_is_apparent = true
csharp_prefer_braces = false
csharp_style_var_when_type_is_apparent = true:none
csharp_prefer_braces = true:none
csharp_space_before_open_square_brackets = true
csharp_space_between_method_call_name_and_opening_parenthesis = true
csharp_space_between_method_declaration_name_and_open_parenthesis = true

# Microsoft .NET properties
csharp_style_var_elsewhere = true:none

# ReSharper properties
resharper_align_linq_query = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_extends_list = true
resharper_align_multiline_parameter = true
resharper_blank_lines_around_region = 1
resharper_braces_redundant = true
resharper_csharp_stick_comment = false
resharper_force_attribute_style = separate
resharper_indent_type_constraints = true
resharper_local_function_body = expression_body
resharper_remove_blank_lines_near_braces_in_declarations = true
resharper_use_roslyn_logic_for_evident_types = true
csharp_space_around_binary_operators = before_and_after
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_style_namespace_declarations = file_scoped:none
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_expression_bodied_methods = true:none
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
csharp_style_throw_expression = true:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_prefer_index_operator = true:suggestion
csharp_style_prefer_range_operator = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
csharp_indent_case_contents_when_block = true
csharp_prefer_static_local_function = true:suggestion
csharp_style_prefer_readonly_struct = true:suggestion
csharp_style_prefer_readonly_struct_member = true:suggestion
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
csharp_style_conditional_delegate_call = true:suggestion
csharp_style_prefer_switch_expression = true:suggestion
csharp_style_prefer_pattern_matching = true:silent
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_prefer_not_pattern = true:suggestion
csharp_style_prefer_extended_property_pattern = true:suggestion
csharp_style_var_for_built_in_types = false:silent

[*.{cs,vb}]
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 8
indent_size = 8
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_prefer_collection_expression = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
[*.{cs,vb}]
#### Naming styles ####

# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case

# Symbol specifications

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =

# Naming styles

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_readonly_field = true:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
dotnet_style_predefined_type_for_member_access = true:silent
dotnet_style_require_accessibility_modifiers = never:silent
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
dotnet_code_quality_unused_parameters = all:suggestion
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_style_qualification_for_field = false:silent
dotnet_style_qualification_for_property = false:silent
dotnet_style_qualification_for_method = false:silent
dotnet_style_qualification_for_event = false:silent
2 changes: 1 addition & 1 deletion .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: DocFX Build
working-directory: docfx
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
build_and_test:

runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
dotnet-version: 8.0
dotnet-quality: 'ga'

- name: Install dependencies
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Test
run: |
sed -i 's/"stopOnFail": false/"stopOnFail": true/g' UnitTests/xunit.runner.json
dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings
dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings --blame
mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/

# Note: this step is currently not writing to the gist for some reason
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch-depth is needed for GitVersion

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
dotnet-version: 8.0
dotnet-quality: 'ga'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ The [Microsoft .NET Framework Design Guidelines](https://docs.microsoft.com/en-u
- Sub-classes of the class implementing `EventToRaise` can override `OnEventToRaise` as needed.
4. Where possible, a subclass of `EventArgs` should be provided and the old and new state should be included. By doing this, event handler methods do not have to query the sender for state.

See also: https://www.codeproject.com/docs/20550/C-Event-Implementation-Fundamentals-Best-Practices
See also: https://www.codeproject.com../docs/20550/C-Event-Implementation-Fundamentals-Best-Practices

### Defining new `View` classes

Expand Down
2 changes: 1 addition & 1 deletion Example/Example.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- In the source tree the version will always be 1.0 for all projects. -->
<!-- Do not modify these. -->
Expand Down
2 changes: 1 addition & 1 deletion ReactiveExample/LoginViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace ReactiveExample {
// We mark the view model with the [DataContract] attributes and this
// allows you to save the view model class to the disk, and then to read
// the view model from the disk, making your app state persistent.
// See also: https://www.reactiveui.net/docs/handbook/data-persistence/
// See also: https://www.reactiveui.net../docs/handbook/data-persistence/
//
[DataContract]
public class LoginViewModel : ReactiveObject {
Expand Down
2 changes: 1 addition & 1 deletion ReactiveExample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ From now on, you can use `.ObserveOn(RxApp.MainThreadScheduler)` to return to th

### Data Bindings

If you wish to implement `OneWay` data binding, then use the `WhenAnyValue` [ReactiveUI extension method](https://www.reactiveui.net/docs/handbook/when-any/) that listens to `INotifyPropertyChanged` events of the specified property, and converts that events into `IObservable<TProperty>`:
If you wish to implement `OneWay` data binding, then use the `WhenAnyValue` [ReactiveUI extension method](https://www.reactiveui.net../docs/handbook/when-any/) that listens to `INotifyPropertyChanged` events of the specified property, and converts that events into `IObservable<TProperty>`:

```cs
// 'usernameInput' is 'TextField'
Expand Down
6 changes: 3 additions & 3 deletions ReactiveExample/ReactiveExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- In the source tree the version will always be 2.0 for all projects. -->
<!-- Do not modify these. -->
Expand All @@ -11,8 +11,8 @@
<InformationalVersion>2.0</InformationalVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ReactiveUI.Fody" Version="19.5.1" />
<PackageReference Include="ReactiveUI" Version="19.5.1" />
<PackageReference Include="ReactiveUI.Fody" Version="19.5.31" />
<PackageReference Include="ReactiveUI" Version="19.5.31" />
<PackageReference Include="ReactiveMarbles.ObservableEvents.SourceGenerator" Version="1.3.1" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
Expand Down
Loading
Loading