Checkout Tools
  • last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
[CMD]: Documentation improvement: we actually support two types of filename completions, windows-cmd like (the default one), and "bash-style" one (that is available through a compile switch). I prefer calling it "bash-style" over "unix-style" because this style of completion looks like the one from the GNU ReadLine library, that is used by Bash, which is not exclusive to unix per se...
  1. … 7 more files in changeset.
[KERNEL32]: Mark Get/SetEnvironmentVariableA/W as hotpatchable since it's needed for Clink 0.4.8 (<rant>btw, if GCC was able to set exported stdcall functions as hotpatchable at a global level, as MSVC does, those "DECLSPEC_HOTPATCH" hacks would not be necessary! </rant>)

- Localization of output based on a patch by Lee Schroeder, but where I haven't modified yet the output localization of errors.

- Dynamically underline the headers of the device status reports (by me).


    • -0
    • +47

- Rearrange ResizeTextConsole so that it correctly computes the Top & Bottom parts of the window size rectangle;

- Fix its return type;

- Display an error if we failed resizing the console;

- Clear the screen before resizing the console, as the real MODE.COM does.

- Fix a parsing error in SetConsoleStateOld and in SetConsoleCPState.

[MODE]: Code style changes + remove unused parameter for ResizeTextConsole.

- Call TermGetLargestConsoleWindowSize to obtain the largest console window size allowed on the system, and use it for GetConsoleScreenBufferInfo and for SetConsoleWindowInfo too, where it is used to check if the given user window size is not too large.

- Improve GuiGetLargestConsoleWindowSize for multi-monitor situations.

- Remove the redundant definition of GetScreenBufferSizeUnits in guiterm.c (it already exists in conwnd.c).

[CONSRV]: Code style changes only.

Replace error codes that don't even exist in MS headers (but they are referenced on MSDN?!)

Replace their usage in code


- Let the zero page thread decide itself whether it is active or not.

- Raise the low memory limit for our good old balancer

- Allow the balancer thread to wait for a page to be freed, with a lower limit than for "regular" page faults

- Let ARM3 notify RosMm when a page gets freed

CORE-12047 #comment Whole patch got in in r72988, 72989 and 72990

    • -0
    • +2
    • -2
    • +10
    • -21
    • +46

Miscellaneous fixes for legacy Mm section implementation

- Always allocate a private page for IMAGE_SCN_CNT_UNINITIALIZED_DATA

- Make sure a shared page is present before writing on a COW mapping and making a private copy.

- Fix a race condition : when paging out a file section, old Mm lists all of the process maps, removing them one after the other and lowering the page reference count in the process. Sometimes a page fault occur in the process, the mapping is added, but the page refcount is not bumped because it requires locking the corresponding segment. Manage page refcount under segment lock.


    • -106
    • +102

- Do not allocate zeroed pagefile entries for legacy Mm



- Acquire Paging IO Resource shared when performing paged writes

Greenlighted by Pierre and tests.

CORE-12184 #resolve


Make DECLARE_CONST_UNICODE_STRING() work with something else than MSVC

    • -0
    • +10
[KERNEL32_APITEST]: SetConsoleWindowInfo test:

- Improve the checks done for the tests;

- Add a new test (Test7) that tests the allowed console window sizes wrt. the csbi.dwMaximumWindowSize size.

[CONSRV]: Fixes for SetConsoleWindowInfo, where one notices that again the MSDN documentation on SetConsoleWindowInfo is partially wrong.

This makes all the kernel32_apitest:SetConsoleWindowInfo tests pass now.

Also, notify the console window about the size change.

[CONSRV]: Minor fixes:

- Use GetSystemWindowsDirectoryW instead of GetWindowsDirectoryW inside "TranslateConsoleName";

- Don't add scrollbars by default to the console window when it's being created;

- Fix the 2nd parameter of MapVirtualKeyW call;

- Two code style changes in text.c and tuiterm.c.

[KERNEL32_APITEST]: Imprrove the SetConsoleWindowInfo test (add a new test case, and now correctly restores the console size after all the tests are done).
[KERNEL32_APITEST]: Commit a test for SetConsoleWindowInfo.
[MODE]: Numerous fixes for the MODE utility:

- Parse the command line the same peculiar way as Windows' tool. This is certainly done such as to be backwards-compatible with MS-DOS' tool.

- Fix serial port string parsing, based on Wine's dll/win32/kernel32/wine/comm.c code. Note that the BuildCommDCB kernel32 API has the same syntax :)

- Implement support for MODE CON codepage, as well as screen size and typematic settings. Screen size code is based on NTVDM's one and will be subject to fixes later on.

MISSING stuff:

- LPT/COM port redirection.

- Localization :)

CORE-12176 #resolve

CORE-7998 CORE-8001

    • -286
    • +946

- fix a bug in WdmAudControlDeviceType

- clear handle value when opening device interface key fails

[MSAFD] Add some parameter checks on send/recv based on wine tests. CORE-12104
    • -8
    • +36
[ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama Hirofumi MZ. CORE-11746 #resolve
    • -1
    • +21
    • -26
    • +261

- Add a test for the NT directory structure's ACLs


    • -0
    • +1
    • -0
    • +196

- Ignore the KEY_WOW64_32KEY and KEY_WOW64_64KEY flags in NtOpenKey/NtCreateKey, as shown by tests.

CORE-9691 #resolve

    • -0
    • +6

- Show that NtOpenKey and NtCreateKey accept, but ignore, KEY_WOW64_32KEY and KEY_WOW64_64KEY


    • -0
    • +2
    • -0
    • +111

- implement building topology connections

    • -6
    • +282

- fix an odd quirk that resulted from Paint setting wallpaper and wallpaper style in the wrong order


Setting wallpapers now works, whenever the OS natively supports the respective file format for wallpapers.


- partly implement BuildUSBAudioFilterTopology

    • -6
    • +263
    • -1
    • +8

- partly implement UsbAudioPinDataIntersect

    • -0
    • +3
    • -0
    • +62

- specify processings flags in filter descriptor

- implement processing workers

- move code for initializing irp & urb into single function

- usbaudio now successfully captures audio in win2k3.

    • -0
    • +3
    • -121
    • +392