History log of /reactos/base/applications/notepad/main.c (Results 1 – 25 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 0.4.16-dev, 0.4.15
# da26ec34 08-Sep-2024 Whindmar Saksit <whindsaks@proton.me>

[NOTEPAD] Don't handle main window accelerators in Find dialog (#7320)


# 814f3a15 02-Sep-2024 Whindmar Saksit <whindsaks@proton.me>

[NOTEPAD] Handle serialized maximized state (#5806)

Fixes a bug where if you close Notepad while it is maximized, the next time Notepad is started it will start with its window placed as if maximize

[NOTEPAD] Handle serialized maximized state (#5806)

Fixes a bug where if you close Notepad while it is maximized, the next time Notepad is started it will start with its window placed as if maximized but it is still in the SW_RESTORE state and the "real normal placement" is lost.

SetWindowPlacement also takes care of making sure the window is placed correctly on the monitor workarea.

show more ...


# 9a51c8e6 12-Oct-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[MSPAINT][NOTEPAD][REGEDIT] Don't use CRTDBG for these apps (#5788)

Don't include <crtdbg.h>.
Don't use _CrtSetDbgFlag.


# 0ef9cfb0 10-Sep-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use wait cursor (#5659)

- Add WaitCursor helper function to display the wait cursor while
heavy operation.
- Manage the wait cursor by using a lock count.
CORE-18837


# 289dec6c 06-Sep-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Do type cast to kill C4244 warnings (#5655)

- Do type cast to int from SendMessage return value.
- Fix usage of EM_GETSEL and EM_LINEINDEX messages.
CORE-18837


# 3f921d11 05-Sep-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use StringCchPrintf instead (#5654)

Use preferred string functions. CORE-18837


# d28e39e4 20-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use _countof macro from <stdlib.h> (#5170)

- Remove the definition of ARRAY_SIZE macro.
- Replace ARRAY_SIZE and ARRAYSIZE with _countof.
CORE-18837


# cc4480ff 20-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Move '#include <crtdbg.h>' and add _CRTDBG_MAP_ALLOC (#5176)

CORE-18837


# 136f2357 16-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use full path for non-existent file (#5152)

In HandleCommandLine function, use GetFullPathName API to get the full path of a non-existent file. CORE-18259, CORE-18837


# fb1d9d72 14-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use new-style file header (#5160)

CORE-18837


# 9abd9b66 13-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Use _CrtSetDbgFlag to check memory leak (#5151)

We can borrow the power of CRT debug. These changes are effective for debug version only:
- Insert #include <crtdbg.h> at main.c.
- Call _

[NOTEPAD] Use _CrtSetDbgFlag to check memory leak (#5151)

We can borrow the power of CRT debug. These changes are effective for debug version only:
- Insert #include <crtdbg.h> at main.c.
- Call _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) at the prologue of _tWinMain.
CORE-18837

show more ...


# d0ab35e9 11-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Refactor around _tWinMain (#5135)

- Add hInstance parameter to NOTEPAD_InitData.
- Move some code in _tWinMain into NOTEPAD_InitData.
- Move some code in _tWinMain into WM_CREATE handlin

[NOTEPAD] Refactor around _tWinMain (#5135)

- Add hInstance parameter to NOTEPAD_InitData.
- Move some code in _tWinMain into NOTEPAD_InitData.
- Move some code in _tWinMain into WM_CREATE handling.
- Move some code in WM_CLOSE handling into WM_DESTROY handling.
- Fix the exit code of _tWinMain.
CORE-18837

show more ...


# 9ac20a7f 08-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Reduce lines in and around comments (#5131)

Reduce lines. CORE-18837


# 8c7233e0 01-Mar-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Fix NOTEPAD_FindTextAt (#5103)

The whole-word search of Notepad had a bug around punctuation. For example, the text "Windows" didn't match in the text "MS-DOS,Windows,ReactOS". Use _istaln

[NOTEPAD] Fix NOTEPAD_FindTextAt (#5103)

The whole-word search of Notepad had a bug around punctuation. For example, the text "Windows" didn't match in the text "MS-DOS,Windows,ReactOS". Use _istalnum instead of _istspace. Fix the position to check. _istalnum matches an alphabet letter or numeric digit. CORE-18837

show more ...


# 55e3feba 28-Feb-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Shift+F3 for backward search (#5101)

- Add Shift+F3 accelerator as command CMD_SEARCH_PREV.
- Extend DIALOG_SearchNext function with bDown argument for the action of CMD_SEARCH_PREV.
- M

[NOTEPAD] Shift+F3 for backward search (#5101)

- Add Shift+F3 accelerator as command CMD_SEARCH_PREV.
- Extend DIALOG_SearchNext function with bDown argument for the action of CMD_SEARCH_PREV.
- Modify the message loop for effective F3 key on Find/Replace dialog.
CORE-17064

show more ...


# ead9366e 21-Feb-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Avoid half-initialized status of settings (#5078)

- Avoid buffer overrun in QueryString helper function.
- Improve NOTEPAD_LoadSettingsFromRegistry function.
CORE-18837


# f7f2ed20 20-Feb-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Make "UTF-8 without BOM" default (#5081)

- Define a constant ENCODING_DEFAULT that is equal to ENCODING_UTF8.
- Initialize Globals.encFile as ENCODING_DEFAULT.
- Reset encoding and line

[NOTEPAD] Make "UTF-8 without BOM" default (#5081)

- Define a constant ENCODING_DEFAULT that is equal to ENCODING_UTF8.
- Initialize Globals.encFile as ENCODING_DEFAULT.
- Reset encoding and line ending in DIALOG_FileNew.
- AnalyzeEncoding returns ENCODING_DEFAULT for non-zero ASCII text.
- Remove unnecessary DIALOG_StatusBarAlignParts calls.
CORE-18837

show more ...


# 621439d6 17-Feb-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Fix and simplify Status Bar handling (#5076)

- Rename DoCreateStatusBar as DoShowHideStatusBar.
- Simplify WM_SIZE handler.
- Enable/disable CMD_STATUSBAR menu item correctly.
- Make Do

[NOTEPAD] Fix and simplify Status Bar handling (#5076)

- Rename DoCreateStatusBar as DoShowHideStatusBar.
- Simplify WM_SIZE handler.
- Enable/disable CMD_STATUSBAR menu item correctly.
- Make DoShowHideStatusBar independent from DoCreateEditWindow.

show more ...


# a5aea8e5 15-Feb-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NOTEPAD] Simplify NOTEPAD_EnableSearchMenu (#5077)


# d73b6ced 05-Sep-2022 Thamatip Chitpong <tangaming123456@outlook.com>

[NOTEPAD] Improve UTF-8 encoding support and improve status bar (#4649)

- Add write support for UTF-8 without BOM.
- Add "UTF-8 with BOM" encoding to the "Save As" dialog.
- Show line endings and

[NOTEPAD] Improve UTF-8 encoding support and improve status bar (#4649)

- Add write support for UTF-8 without BOM.
- Add "UTF-8 with BOM" encoding to the "Save As" dialog.
- Show line endings and encoding on the status bar (like Notepad in Windows 10).
- Remove ignored WS_EX_STATICEDGE

- Add grip to the status window.
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>

show more ...


Revision tags: 0.4.14-release
# 9393fc32 13-Sep-2021 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.

Excluded: 3rd-party code (incl. wine) and most of the win32ss.


# b774ec5c 11-Feb-2021 Robert Naumann <gonzomdx@gmail.com>

[NOTEPAD] Implement File->New Window

*Windows starts a new own's instance too, when clicking on "New Window" (Tested by @HBelusca)


Revision tags: 0.4.15-dev, 0.4.14-RC, 0.4.13-release
# 358f9479 14-Feb-2020 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[SHELL32] Rewrite SHAddToRecentDocs (#2333)

Rewrite shell32!SHAddToRecentDocs and use it in some applications.
Wine's SHAddToRecentDocs was not Unicode supported and unusable. I will dare to rewrit

[SHELL32] Rewrite SHAddToRecentDocs (#2333)

Rewrite shell32!SHAddToRecentDocs and use it in some applications.
Wine's SHAddToRecentDocs was not Unicode supported and unusable. I will dare to rewrite.
CORE-3588

show more ...


Revision tags: 0.4.14-dev, 0.4.13-RC, 0.4.12-release, 0.4.12-RC, 0.4.13-dev, 0.4.11-release, 0.4.11-RC, 0.4.12-dev, 0.4.10-release, 0.4.11-dev, 0.4.10-RC, 0.4.9-release
# 60e9fcc8 12-Jun-2018 Erdem Ersoy <erdemersoy@erdemersoy.net>

[NOTEPAD] Improve the "About" dialog status. (#610)

- Remove the non-standard "About" dialog.
- Move the authors copyright info into the shell "About "dialog.


Revision tags: 0.4.10-dev, 0.4.9-RC
# 6c16f12d 24-Apr-2018 Bișoc George <fraizeraust99@gmail.com>

[CALC][CLIPBRD][SOLITAIRE][SPIDER][NOTEPAD][REGEDIT][TASKMGR] Disable help menu/button


12