Mark Jansen
a06f10d0c0
[BROWSEUI] Fix CAutoComplete use after free
...
CORE-18395
2022-10-27 23:45:18 +02:00
Mark Jansen
cd2d284142
[EXPLORER][BROWSEUI][SHELL32][NETSHELL] Fix wrong usage of CComPtr
2022-10-02 00:38:23 +02:00
Hermès Bélusca-Maïto
5f8a10f32b
[BROWSEUI] CAutoComplete::OnAutoCompStart(): Wait on the thread only when there is a handle.
...
Avoids spamming
(ntoskrnl\ob\obwait.c:441) Failed to reference the handle with status 0xc0000008
CAutoComplete::FinishCompletion(): Remove two useless 'if (m_pThread || !m_hThread)'
tests: No need to check these after each code instruction...
2021-09-19 00:17:05 +02:00
Hermès Bélusca-Maïto
6072ee9766
[BROWSEUI] Minor formatting.
2021-09-19 00:17:03 +02:00
Katayama Hirofumi MZ
e2d8837986
[BROWSEUI] Multithreaded auto-completion ( #3794 )
...
- Make auto-completion multi-threaded.
CORE-9281
2021-07-11 13:00:00 +09:00
Katayama Hirofumi MZ
773ad7aebc
[BROWSEUI] auto-completion: Support large number items ( #3592 )
...
If the items are too many, enable filtering in item enumeration. CORE-9281
2021-04-08 15:02:05 +09:00
Katayama Hirofumi MZ
2fd058dce6
[BROWSEUI] Reduce IAutoComplete failures ( #3590 )
...
- Delete OnEditUpdate method.
- Improve the expand condition.
CORE-9281
2021-04-07 13:38:22 +09:00
Katayama Hirofumi MZ
a5950308fd
[BROWSEUI] Follow-up of #3582
...
Also fixes VK_HOME and VK_END. CORE-9281
2021-04-05 07:43:40 +09:00
Katayama Hirofumi MZ
91e591b3d5
[BROWSEUI] Enable AutoAppend of auto-completion ( #3552 )
...
Fix and improve Auto-Append of auto-completion. CORE-9281
- Implement CAutoComplete::DoAutoAppend method.
2021-03-30 06:50:32 +09:00
Katayama Hirofumi MZ
d5c72a2e09
[BROWSEUI] Support ACO_USETAB and SHACF_USETAB on auto-completion ( #3549 )
...
Support Tab key on auto-completion. CORE-9281
2021-03-25 07:42:24 +09:00
Katayama Hirofumi MZ
53005587f4
[BROWSEUI] Fix return value on sanity check of auto-completion ( #3544 )
...
Reduce failures on sanity check of auto-completion. CORE-9281
- Return E_FAIL rather than E_INVALIDARG in sanity check of CAutoComplete::Init (IAutoComplete::Init).
2021-03-20 14:04:02 +09:00
Katayama Hirofumi MZ
f49c164428
[BROWSEUI] Fix auto-completion on VK_DELETE ( #3543 )
...
Reduce failures against Delete key on auto-completion. CORE-9281
2021-03-20 13:18:47 +09:00
Katayama Hirofumi MZ
bcba930622
[BROWSEUI] Fix CAutoComplete::OnMeasureItem assertion
...
CORE-17505
2021-03-11 16:56:01 +09:00
Katayama Hirofumi MZ
71e4450761
[BROWSEUI] Follow-up of #3507
...
Case insensitiveness fix. CORE-9281
2021-03-10 19:45:03 +09:00
Katayama Hirofumi MZ
c19d9df259
[BROWSEUI] Implement auto-completion ( #3507 )
...
Implement IAutoComplete to realize input auto completion. CORE-9281, CORE-1419
- The main features of this PR are Auto-Suggest and Auto-Append.
- Auto-Suggest shows a list near the textbox (an EDIT control) when the user has typed partial pathname into the textbox.
- Auto-Append appends complement text into the textbox to complete the pathname with selected status.
- The list of AutoSuggest is a top-level window whose window class is "Auto-Suggest Dropdown". We call it "the drop-down window".
- The drop-down window contains three controls: a listview, a scrollbar and a sizebox.
- The drop-down window watches the input into the textbox. If the textbox changed, then the window updates the list.
- The sizebox control enables the user to resize the drop-down window.
2021-03-10 16:22:57 +09:00
Katayama Hirofumi MZ
f04890c2af
[BROWSEUI] Fix and small improvement ( #3486 )
...
Fix a mistake in CAutoComplete PR #3472 (6bfb76b
) and improve.
- Fix confusion between m_hwndEdit and hwndEdit.
- Delete extra this-> codes.
CORE-9281
2021-02-25 20:36:20 +09:00
Katayama Hirofumi MZ
6bfb76b68a
[BROWSEUI] Refactoring CAutoComplete Part 1 ( #3472 )
...
- Expand tabs to spaces in CAutoComplete.h.
- Add m_ prefix to every member variable.
CORE-9281
2021-02-23 06:07:09 +09:00
Katayama Hirofumi MZ
e1a01de7f7
[BROWSEUI] Fix Edit_BackWord function ( #3247 )
...
Fix and improve Edit_BackWord function (for Ctrl+Back key combination on auto-completion in edit boxes) by using GetStringTypeW. CORE-1419
2020-09-28 22:05:14 +09:00
Katayama Hirofumi MZ
467feb9996
[BROWSEUI] Follow-up part 3 of #3242 ( 6b6f971
)
...
Also recognize slash, dot, colon, and semicolon.
CORE-1419
2020-09-28 10:58:22 +09:00
Katayama Hirofumi MZ
737278276f
[BROWSEUI] Follow-up part 2 of #3242 ( 6b6f971
)
...
Don't recognize backslash of the last character.
CORE-1419
2020-09-28 10:41:21 +09:00
Katayama Hirofumi MZ
9812bce271
[BROWSEUI] Follow-up of #3242 ( 6b6f971
)
...
Recognize backslashes in Ctrl+Back.
CORE-1419
2020-09-28 10:14:36 +09:00
Katayama Hirofumi MZ
6b6f971939
[BROWSEUI][SHELL32] Enable Ctrl+Backspace in AutoComplete edit boxes ( #3242 )
...
The key combination Ctrl+Back is well working in auto-completion edit boxes. CORE-1419
2020-09-28 09:27:01 +09:00
Mark Jansen
5b3e84f2ef
[BROWSEUI] Fix infinite recursion in autocomplete control
...
import wine commits 9c2217 and 644358, slightly tweaked to fit our code
2020-01-28 19:25:11 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00