Whindmar Saksit
d9afe73de4
[NOTEPAD] Display error code if no error string is available ( #7319 )
2024-09-08 13:47:32 +02:00
Whindmar Saksit
da26ec3465
[NOTEPAD] Don't handle main window accelerators in Find dialog ( #7320 )
2024-09-08 13:45:51 +02:00
Whindmar Saksit
814f3a15f9
[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.
2024-09-02 23:13:28 +02:00
Gabriele Lo Re
fbcbbd8768
[TRANSLATION] Improve Italian (it-IT) translation part 2 ( #7248 )
2024-08-21 01:29:34 +02:00
Whindmar Saksit
e546525eac
[NOTEPAD] Don't leave junk behind when opening smaller file ( #7227 )
2024-08-10 17:08:00 +02:00
Joachim Henze
543a38bd9f
[NOTEPAD] *.rc: Tweak AUTORADIOBUTTONS ( #7103 )
...
- When AUTORADIOBUTTON is used, then BS_AUTORADIOBUTTON is not needed.
- Add WS_GROUP | WS_TABSTOP to the first of the 2 ARBs.
2024-07-08 03:25:11 +02:00
Whindmar Saksit
3123589edd
[NOTEPAD] F3 should not display error message when the find string is empty ( #7013 )
2024-06-12 13:01:42 +02:00
Jose Carlos Jesus
51f3cf0509
[NOTEPAD] pt-PT: Fix accel collisions. Improve menu cmd translation ( #6978 )
...
* [NOTEPAD] Fix accel collisions. Improve menu cmd translation (pt-PT)
* [NOTEPAD] Update portuguese (pt-PT) translation
2024-06-02 20:02:33 +02:00
Katayama Hirofumi MZ
e0ba2f3372
[NOTEPAD] Kill warning by typecast (int) in DIALOG_StatusBarUpdateCaretPos
...
JIRA issue: N/A
2024-05-16 12:35:01 +09:00
Katayama Hirofumi MZ
a64cccd711
[NOTEPAD] Use FILE_SHARE_READ and OPEN_ALWAYS for writing ( #6880 )
...
Fix access denial on writing file "C:\freeldr.ini".
JIRA issue: CORE-19575
- Add FILE_SHARE_READ flag and delete
FILE_SHARE_WRITE flag in CreateFileW call.
- Use OPEN_ALWAYS instead of
CREATE_ALWAYS, and then explicitly use
SetEndOfFile function.
2024-05-15 01:22:17 +09:00
Maj Soklič
2d79b751a4
[NOTEPAD] Fix english STRING_PRINTFAILED translation ( #6722 )
2024-04-09 11:46:52 +02:00
Maj Soklič
f92972efca
[NOTEPAD] Update Slovenian (sl-SI) translation ( #6599 )
...
Reviewed-by: Rok Mandeljc <rok.mandeljc@gmail.com>
Reviewed-by: Jaka Kranjc <smgl@lynxlynx.info>
2024-03-25 20:02:15 +03:00
Andrei Miloiu
ef4a2497d7
[NOTEPAD] Update Romanian (ro-RO) translation ( #6528 )
2024-03-23 21:16:07 +01:00
Andrei Miloiu
15beb9d754
[NOTEPAD] Update Romanian (ro-RO) translation ( #6372 )
2024-01-21 22:22:46 +01:00
Andrei Miloiu
5f25a55d64
[NOTEPAD] Update Romanian (ro-RO) translation ( #5981 )
2023-11-15 10:51:38 +01:00
Andrei Miloiu
2b910fc1b3
[NOTEPAD] Update Romanian (ro-RO) translation ( #5915 )
2023-11-08 10:34:25 +00:00
Katayama Hirofumi MZ
efb9128c24
[NOTEPAD] Use <winuser.rh> instead of <winuser.h> in rsrc.rc
...
CORE-18837
2023-11-05 17:11:06 +09:00
Joachim Henze
32b883ef2f
[NOTEPAD] de-DE.rc: Fix CMD_HELP_ABOUT_NOTEPAD, all rc: strip bloat-spaces before \n and ?
2023-11-03 02:19:34 +01:00
Katayama Hirofumi MZ
9a51c8e6c6
[MSPAINT][NOTEPAD][REGEDIT] Don't use CRTDBG for these apps ( #5788 )
...
Don't include <crtdbg.h>.
Don't use _CrtSetDbgFlag.
2023-10-12 22:53:02 +09:00
Katayama Hirofumi MZ
0ef9cfb04e
[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
2023-09-10 22:27:16 +09:00
Stanislav Motylkov
995d255962
[REACTOS] Fix various '% s' typos with a space
...
- [NOTEPAD][REGEDIT][SHELL32] were affected.
- Also while being here, fix headers.
2023-09-07 00:34:02 +03:00
Katayama Hirofumi MZ
289dec6c39
[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
2023-09-06 19:26:23 +09:00
Katayama Hirofumi MZ
3f921d1119
[NOTEPAD] Use StringCchPrintf instead ( #5654 )
...
Use preferred string functions. CORE-18837
2023-09-05 22:36:18 +09:00
Tibor Lajos Füzi
3068422d51
[TRANSLATION] Update hungarian translation for mspaint, notepad, taskmgr, explorer, appwiz, browseui, msgina, shell32 ( #5645 )
2023-09-03 17:46:38 +02:00
Andrei Miloiu
d144f3d3bb
[NOTEPAD] Update Romanian (ro-RO) translation ( #5419 )
2023-07-11 18:40:23 +03:00
Milan Raymakers
4782c314d4
[TRANSLATION] Improve Dutch (nl-NL) translation ( #4765 )
...
- [NOTEPAD] Improve Dutch (nl-NL) translation
- [TASKMGR] Improve Dutch (nl-NL) translation
- [WELCOME] Improve Dutch (nl-NL) translation
- [EXPLORER] Improve Dutch (nl-NL) translation
Reviewed-by: Mark Jansen <mark.jansen@reactos.org>
2023-06-10 18:32:03 +03:00
Katayama Hirofumi MZ
c9ed65e0cc
[NOTEPAD] Delete my name from resource copyright text ( #5261 )
...
The copyright text was too long. CORE-18837
2023-04-28 21:48:45 +09:00
valmorflores
2687c1b415
[NOTEPAD][OSK] Improve/Add Portuguese (Brazilian pt-BR and Portugal pt-PT) translations ( #5124 )
...
Co-authored-by: Julen Urizar Compains <julenuri@hotmail.com>
2023-03-31 01:37:45 +02:00
Artyom Ovsyannikov
1fe3ab7823
[NOTEPAD] Russian (ru-RU) translation update ( #5181 )
...
Google Translate helped me to translate some lines.
2023-03-23 14:33:18 +09:00
Katayama Hirofumi MZ
d28e39e409
[NOTEPAD] Use _countof macro from <stdlib.h> ( #5170 )
...
- Remove the definition of ARRAY_SIZE macro.
- Replace ARRAY_SIZE and ARRAYSIZE with _countof.
CORE-18837
2023-03-21 08:59:40 +09:00
Serge Gautherie
3615e7c122
[NOTEPAD] LoadIcon() needs no DestroyIcon() ( #5142 )
...
CORE-18369
2023-03-21 06:19:30 +09:00
Katayama Hirofumi MZ
cc4480ffea
[NOTEPAD] Move '#include <crtdbg.h>' and add _CRTDBG_MAP_ALLOC ( #5176 )
...
CORE-18837
2023-03-20 22:55:12 +09:00
Katayama Hirofumi MZ
136f23578f
[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
2023-03-16 10:18:54 +09:00
Katayama Hirofumi MZ
f5840df9e9
[NOTEPAD] Delete license.c (no use) ( #5159 )
...
File license.c is not used. Reduce source code. CORE-18837
2023-03-15 07:28:15 +09:00
Katayama Hirofumi MZ
fb1d9d722d
[NOTEPAD] Use new-style file header ( #5160 )
...
CORE-18837
2023-03-15 07:27:29 +09:00
Katayama Hirofumi MZ
598dd51d70
[NOTEPAD] CMakeLists.txt: Enable _DEBUG on debugging
...
CORE-18837
2023-03-14 12:17:40 +09:00
Katayama Hirofumi MZ
0a1d467a11
[NOTEPAD] Add 'katahiromz' to STRING_NOTEPAD_AUTHORS
...
CORE-18837
2023-03-14 11:24:12 +09:00
Katayama Hirofumi MZ
c888a13c0b
[NOTEPAD] Save searchString and replaceString settings
...
CORE-18837
2023-03-14 11:03:20 +09:00
Katayama Hirofumi MZ
9abd9b667a
[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
2023-03-14 07:08:56 +09:00
Katayama Hirofumi MZ
d0ab35e9da
[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
2023-03-12 08:26:33 +09:00
Katayama Hirofumi MZ
3b0791547f
[NOTEPAD] Move the printing code to the newly added printing.c
...
CORE-18837
2023-03-12 07:51:53 +09:00
Katayama Hirofumi MZ
072503c1fc
[NOTEPAD] Add 'Now-printing' dialog ( #5127 )
...
Allow the user to cancel the print job.
- Add DIALOG_PRINTING dialog.
- Make the print job another thread.
- Let the thread communicate with the dialog box by PRINTING_MESSAGE.
- Add some resource strings.
CORE-18837
2023-03-11 22:23:14 +09:00
Katayama Hirofumi MZ
87e905ecd8
[NOTEPAD] Use Globals.hMainWnd in ShowLastError ( #5132 )
...
Improving UI/UX by making Globals.hMainWnd the owner of the message box. CORE-18837
2023-03-10 07:25:06 +09:00
Katayama Hirofumi MZ
139809b747
[NOTEPAD] Use DestroyIcon instead of DeleteObject to destroy icon ( #5130 )
...
CORE-18837
2023-03-09 08:24:19 +09:00
Katayama Hirofumi MZ
bc89074cd5
[NOTEPAD] Remove some needless type casts ( #5134 )
...
CORE-18837
2023-03-09 08:23:08 +09:00
Katayama Hirofumi MZ
f91b92c3f9
[NOTEPAD] Delete main.h ( #5133 )
...
Reduce files to improve readability. Move the codes in main.h into notepad.h. Make the size of Globals.szFilter 512.
CORE-18837
2023-03-09 03:41:11 +09:00
Katayama Hirofumi MZ
9ac20a7fe2
[NOTEPAD] Reduce lines in and around comments ( #5131 )
...
Reduce lines. CORE-18837
2023-03-09 03:11:57 +09:00
Katayama Hirofumi MZ
064ac123d1
[NOTEPAD] Improve printing (header/footer/tabs/performance) ( #5111 )
...
- Fix GetPrintingRect function.
- Add DrawHeaderOrFooter, DoPrintBody, DoPrintPage, DoCreatePrintFonts, and DoPrintDocument helper functions.
- Implement page header/footer and tabs printing in DIALOG_FilePrint function.
- Improve printing performance.
- Modify the header/footer resource strings.
- Delete the needless resource strings.
CORE-18837
2023-03-07 14:42:27 +09:00
Katayama Hirofumi MZ
f8c7bd6898
[NOTEPAD] Don't reset Find/Replace if lpstrFindWhat is set ( #5104 )
...
We don't want to reset the status of the checkboxes even if the Find/Replace dialog was closed. If lpstrFindWhat is set, do not reset the Find/Replace settings at DIALOG_SearchDialog. CORE-18837
2023-03-01 20:17:27 +09:00
Katayama Hirofumi MZ
8c7233e015
[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
2023-03-01 19:57:10 +09:00