Commit graph

84162 commits

Author SHA1 Message Date
Justin Miller 5cf3dbabb0 [FREELOADER] Fix build with full UEFI support 2023-10-12 18:41:20 -07:00
Justin Miller cf2818762d Put one small component of the HAL together 2023-10-12 18:21:01 -07:00
Justin Miller 84ce7ff4fa [TEST_KERNEL][BOOT] make a test kernel for the sake of doing paging
right
2023-10-12 18:21:01 -07:00
Justin Miller f002961da0 [SDK] Add in __break instrsinc 2023-10-12 18:21:01 -07:00
Justin Miller 0d5ce3da79 this is also very wrong 2023-10-12 18:21:01 -07:00
Justin Miller e605673e2d this is wrong :) 2023-10-12 18:21:01 -07:00
Justin Miller b94aa825a4 [SDK] Begin early fixes to slist 2023-10-12 18:21:01 -07:00
Justin Miller 2bde5483f5 [SDK] Hack more stuff together so we can compile a test kernel 2023-10-12 18:21:00 -07:00
Laura Konopinska ebcd3da889 [SDK] ARM64 build fixes 2023-10-12 18:19:49 -07:00
Laura Konopinska e356d58096 [FREELDR] Support drives with 4k sector size 2023-10-12 18:19:49 -07:00
Laura Konopinska 3f25705ab7 [FREELDR] ARM64 fixes 2023-10-12 18:19:49 -07:00
Justin Miller 33454c61b4 [HACK] We can't compile baseaddresses below 4GB 2023-10-12 18:19:49 -07:00
Justin Miller 31f4dfe94f [DRWTSN32][SDK][MSVCRT] Provide some fixes for the base apps 2023-10-12 18:19:49 -07:00
Justin Miller 908d758386 [SDK] Implement NtCurrentTeb for ARM64 2023-10-12 18:19:49 -07:00
Justin Miller 8d696259e4 [.github] build notepad 2023-10-12 18:19:49 -07:00
Justin Miller 916eaf4703 [SDK] __globallocalestatus HACK 2023-10-12 18:19:49 -07:00
Justin Miller 096a0f3f2c [.github] I forgot to add uefildr to entries 2023-10-12 18:19:49 -07:00
Justin Miller 82612c276f [SDK] I guess sqrt is instrict on arm64 2023-10-12 18:19:48 -07:00
Justin Miller 9cad2bebeb Build uefildr in github actions 2023-10-12 18:19:48 -07:00
Justin Miller 27acaf6fee [SDK] Bitmap.c needed a really weird hack 2023-10-12 18:19:48 -07:00
Justin Miller c1a6b2b7ae [SDK] Add arm64 target to win64 spec2def entry 2023-10-12 18:19:48 -07:00
Justin Miller 389a762d2d [SDK][NTOSKRNL] Fix more errors 2023-10-12 18:19:48 -07:00
Justin Miller 97f01bcb19 [HACK] Add kxarm64 - this works but let's import the rest of the missing
crt
2023-10-12 18:19:48 -07:00
Justin Miller 565a2c4c1d [SDK] stub some of CRT for arm64 2023-10-12 18:19:48 -07:00
Adam Słaboń fbe6a0968e [CMLIB] Undefine PAGED_CODE also when compiling boot loader 2023-10-12 18:19:48 -07:00
Justin Miller dbf93e60e0 [BOOT] For freeloader compilation for arm64 - TODO clean this up later 2023-10-12 18:19:48 -07:00
Justin Miller e99335aff4 [BOOT] Add Mm defines for ARM64 2023-10-12 18:19:48 -07:00
Justin Miller fc0b4cda78 [SDK] KI_USER_SHARED_DATA for ARM64 2023-10-12 18:19:48 -07:00
Justin Miller 04ea1248da [SDK] Grab some missing 64bit addresses for arm64 2023-10-12 18:19:48 -07:00
Justin Miller 1b0b4ff729 [SDK][HAL] ARM64 diverges from a few inline functions compared to amd64 2023-10-12 18:19:48 -07:00
Justin Miller 79dc2bcb5b [SDK] Add ARM64 entry to ioacccess.h 2023-10-12 18:19:47 -07:00
Justin Miller e3f50091d7 [HACK] Disable github build actions for architecutres other then ARM(s) 2023-10-12 18:19:47 -07:00
Katayama Hirofumi MZ 1183e797b4
[MSPAINT] Reset scroll position in some situations (#5789)
In some situations, the scroll position should be reset.
- Add CCanvasWindow::resetScrollPos method.
- Reset the scroll position on loading a file.
- Reset the scroll position on mirroring/rotating
  the image.
CORE-19094
2023-10-12 22:59:17 +09: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 70d5c864bc [MSPAINT] Do type-cast (float) for xDpi and yDpi
CORE-19094
2023-10-12 19:43:29 +09:00
Katayama Hirofumi MZ 409df2355e [MSPAINT] Do type-cast (BYTE) for lfItalic and lfUnderline
CORE-19094
2023-10-12 19:38:41 +09:00
Katayama Hirofumi MZ 4306e261ee [MSPAINT] Do type-cast (BOOL) for TB_ISBUTTONCHECKED return
CORE-19094
2023-10-12 19:31:22 +09:00
Katayama Hirofumi MZ bc28675a44 [MSPAINT] s/WINBOOL/BOOL/
CORE-19094
2023-10-12 19:13:20 +09:00
Justin Miller ff3dadf89d
[FREELDR] Enable UEFI boot for x86 and amd64 (#5267)
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>

- Allow to boot NT kernel on UEFI systems with our 2 primary supported architectures
- Implement remaining code needed to pass execution to x86 and amd64 kernels

CORE-11954
2023-10-11 12:45:08 -07:00
Oleg Dubinskiy a6b281c228
[KS] KsRead/WriteFile: finish IRP initialization and properly setup I/O stack location for it (#5784)
- Initialize the rest of IRP data which is not initialized by IoBuildSynchronousFsdRequest.
- Setup an IO_STACK_LOCATION structure for the IRP before calling the driver's read/write routine.
- Do this for both KsReadFile and KsWriteFile functions in our Kernel Streaming driver (ks.sys).
This fixes several problems when calling these functions from outside, so now they are working correctly, as expected.
Discovered during my audio investigations.
CORE-19232
2023-10-10 13:30:00 -07:00
Alexey Strukov 8451230753
[DEVMGR] Allow to copy text from Details page of device properties (#5775)
In driver properties, in details tab, add a "Copy" popup menu for listview.
This will allow to copy driver's information to buffer.
2023-10-10 21:22:54 +02:00
Katayama Hirofumi MZ 62eeb158a5
[MSPAINT] Improve Zoom tool (#5781)
- Delete CCanvasWindow::drawZoomFrame.
- Invalidate the canvas on mouse move when
  the active tool is Zoom tool.
- Add ZoomTool::OnDrawOverlayOnCanvas to
  draw the zoom rectangle without flickering.
- Improve the zoom trackbar position.
- Display the zoom rate on changing the value
  of the zoom trackbar.
- Reverse the direction of the zoom trackbar.
- Don't draw the focus rectangle.
CORE-19215, CORE-19216
2023-10-10 10:59:29 +09:00
Katayama Hirofumi MZ 0c164f081a
[MSPAINT] Check out of image in updating status bar (#5779)
Check out of the image by using ::PtInRect and CCanvasWindow::GetImageRect.
If out, then don't show the status bar text.
CORE-19219
2023-10-09 08:39:31 +09:00
Katayama Hirofumi MZ 611d89eb8b
[MSPAINT] Add border width to tool box (#5780)
Make tool box pixel-perfect. Add two border widths to the tool box.
CORE-19217
2023-10-09 08:37:31 +09:00
Timo Kreuzer 63aef3e1fc [T2EMBED] Improve spec file
- Only export stdcall annotated functions on x86
- Turn annotated stubs / forwarders into normal exports
- Note: MSVC removes decorated exports / forwarders, as soon as the undecorated version is exported, even when _declspec(dllexport) is used, no idea how to fix that.
2023-10-09 02:34:30 +03:00
Katayama Hirofumi MZ 8d8f4d328c
[MSPAINT] Zoom tool shouldn't use undo buffer (#5778)
Remove PushImageForUndo call in Zoom tool. CORE-19214
2023-10-09 08:07:02 +09:00
Hermès Bélusca-Maïto 11b706429c
[WSHTCPIP] Remove unneeded headers + Fix bugs.
- Mismatch NTSTATUS/DWORD for win32 errors;
- Close handle returned from openTcpFile() with closeTcpFile().
2023-10-08 17:11:26 +02:00
Hermès Bélusca-Maïto 9021a14f4a
[NDK] Fix weird "ntstatus.s" statement (#5771)
Spotted by Serge Gautherie.
2023-10-08 17:11:25 +02:00
Joachim Henze 42c93e3cbb
[TASKMGR] *.rc: Fix accelerator collisions &Priority <-> &Properties (#5758)
We had collisions in many languages.
For most languages (which are derived from en-US) we should use
&Priority
P&roperties

We introduced the collisions during 0.4.15-dev'ing when
MENUITEM ID_PROCESS_PAGE_PROPERTIES
and
MENUITEM ID_PROCESS_PAGE_OPENFILELOCATION
were added.


We verified Win7-en and Win2k3-en to behave as proposed in this PR (R for properties, P for priority).
But *french* Windows (I believe Hermes picture was from WinVista-fr or Win7-fr or Win10-fr maybe) does it differently.

the existing de-DE also has been double-checked to exactly match MS with the accelerators in that menu.
2023-10-07 23:03:47 +00:00
Hermès Bélusca-Maïto ce08851758
[DESK] Use MultiByteToWideChar instead of the private pSetupMultiByteToUnicode function (#5765)
This avoids having desk.cpl depend on a private function that may change
or disappear, and increase the probability of being able to use that CPL
across different Windows versions.

(Note: this pSetupMultiByteToUnicode was one of those whose name changed
between Windows 2000 and XP+)
2023-10-07 22:17:58 +02:00