ChangeLog-0.3.6
This is the changelog for ReactOS™ version 0.3.6 (not released yet), an open-source operating system designed to be binary executable- and device driver-compatible with Microsoft™ Windows NT™ and subsequent Microsoft operating systems such as Windows 2000™ and Windows XP™. ReactOS is written by the ReactOS development team, and the last previous version of ReactOS was version 0.3.5 (released 30 June, 2008).
Contents
- 1 General
- 2 Host Tools
- 3 Core
- 4 USETUP
- 5 Win32™ Personality
General
Generic 0.3.6 Changes
- Move ARM register definitions to the NDK (ReactOS Portable Systems Group)
- Bugchecks now work on ARM (ReactOS Portable Systems Group)
- Red Screen of Death now functioning (ReactOS Portable Systems Group)
- Create separate boot data files for each architecture because of differing Registry configurations (ReactOS Portable Systems Group)
- Clean up KTRAP_FRAME and KEXCEPTION_FRAME definitions (ReactOS Portable Systems Group)
- Fix PFAST_IO_UNLOCK_ALL_BY_KEY definition (ReactOS Portable Systems Group)
- Add IO_REPARSE, IO_REMOUNT, IOCTL_CDROM_DISK_TYPE, FlagOn, BooleanFlagOn, ClearFlag, FILE_READ_ONLY_VOLUME, FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS, FSRTL_FLAG_ADVANCED_HEADER, FSRTL_FLAG2_PURGE_WHEN_MAPPED, FSRTL_FLAG2_IS_PAGING_FILE, FSRTL_FCB_HEADER_V0, FSRTL_FCB_HEADER_V1 definitions (ReactOS Portable Systems Group)
- Add FILE_ID_FULL_DIR_INFORMATION, FILE_ID_BOTH_DIR_INFORMATION structures (ReactOS Portable Systems Group)
- Add FSRTL_COMPARISION_RESULT enumeration (ReactOS Portable Systems Group)
- Add FsRtlSetupAdvancedHeader macro (ReactOS Portable Systems Group)
- Add FsRtlIsFatDbcsLegal, FsRtlTeardownPerStreamContexts prototype (ReactOS Portable Systems Group)
(All of the FS related items might be moved down to FSRTL, any thoughts, Colin, Fireball? Z98)
Translations
- Updated Slovak and Czech translations for calc, solitaire, winmine, shell32 and desk.cpl by Mário Kačmár (bug #3519)
- Added/updated Spanish and basque translations for notepad, explorer, explorere-new, winlogon, access.cpl, deskadp, deskmon, slayer, shell32 and shimgvw. (Javier Remacha, bug #3376)
- Added/updated Ukrainian translation for kbswitch and shell32 by Artem Reznikov (bug #3405).
- Added German translation of strings in INF-files (media/inf) (bug #3396) (Matthias Kupfer)
- Added/updated Slovak translation for shell32, newdev, eventvwr, devmgr, regedit/clb, regedit, intl.cpl, mmsys.cpl, media/inf/*.inf, calc, solitare, winemine, setup/reactos and desk.cpl by Mário Kačmár (bug #3414, #3518, #3519, #3610)
- Update Czech translation for several win32/cpl files and calc by Radek Liska (bug #3413)
- Update Italian translation for usetup, regedit and sehll32 by Paolo Devoti (bug #3435)
- Update Polish translation of usrmgr by Maciej Bialas (bug #3480)
- Update Slovak, Ukranian and Polish translations for packmgr by Mário Kačmár (bug #3601)
- Added Norwegian translation of magnify and downloader by Lars Martin Hambro (bug #3504)
- Updated French translation for Shell32.dll (Pierre Schweitzer)
Host Tools
Buildno
- Fix warnings when compiled with gcc 4.2 or later (Daniel Verkamp)
CabMan
RBuild
- Correct LD to not assume the base address is an entrypoint (ReactOS Portable Systems Group)
Sysreg
Core
Bootloader (FreeLoader)
- Reduce Freeldr memory requirements: FreeLoader first reads entire ntoskrnl.exe (about 3M) into memory, then copies it to other address. Now, freeldr reads it straight to the place, not allocating extra memory for buffer (Dmitry Gorbachev, bug #3447)
- Modify i386 and PowerPC ports in several places to use the heap to allocate temporary data (Stefan Ginsberg)
- Add ramdisk support for non-clean architectures (ReactOS Portable Systems Group)
- Add driver database code (ReactOS Portable Systems Group)
Kernel and Executive (NTOSKRNL)
- Fix exports for ARM (ReactOS Portable Systems Group)
- Add memcmp to exports (ReactOS Portable Systems Group)
Cache
CM
- Add ramdisk class (ReactOS Portable Systems Group)
EX
- Include a "System Idle Process" as the first item in QSI SystemProcessInformation (Aleksey Bragin)
- Pass thread's CreateTime in QSI SystemProcessInformation (Aleksey Bragin)
- Better implementation of QSI SystemInterruptInformation (Aleksey Bragin)
- Remove a hack in the executive handle implementation which worked around a memory corruption bug (Stefan Ginsberg, bug #3512)
- Correct a debug print to make sure it is Execute in Place boot (ReactOS Portable Systems Group)
FSRTL
IO
- Save pointer to driver's section in DriverSection during driver loading (Aleksey Bragin, bug #3221)
- Fix unloading function to check if a driver to be unloaded really has DriverSection set, and if not, fail (Aleksey Bragin, bug #3221)
- Fix Irp flags assignment in case of an IoAllocateIrp call with ChargeQuota set to TRUE (Aleksey Brgin)
- Fixed double freeing of IRP in NtSetInformationFile (Michael Martin)
- Dereference the device object instead of an I/O work item (ReactOS Portable Systems Group)
- Have PnP handle BusRelations instead of ignoring them (ReactOS Portable Systems Group)
KD
- Fix an allocation of paged pool during phase 0 (Stefan Ginsberg)
KE
- Fix a problem with normal and special APCs being inserted in the wrong order, spotted by Jury Sidorov. Now Borland Turbo Debugger should be able to debug applications, also it can fix hangs in other applications (Aleksey Bragin, Yury Sidorov, bug #3426)
- Implement KiSaveProcessorControlState, KiApcInterrupt, KiPrefetchAbortHandler, KiDispatchException (ReactOS Portable Systems Group)
- Rewrite low level trap/exception/system call code for ARM (ReactOS Portable Systems Group)
- Rewrite system call interface using a BSD model (ReactOS Portable Systems Group)
- Move timebase code into its own file (ReactOS Portable Systems Group)
- Fire off DPC when quantum has ended (ReactOS Portable Systems Group)
- Check if trap originated from kernel mode or user mode (ReactOS Portable Systems Group)
- Use KdpSerialPrint instead of arm_kprintf (ReactOS Portable Systems Group)
- Implement prefetch abort handler (ReactOS Portable Systems Group)
- Implement KeArmInstructionFaultStatusRegisterGet, KeTrapFrameToContext, KeContextToTrapFrame, KeSaveStateForHibernate, KeQueryActiveProcessors, KeSetDmaIoCoherency, KeFlushEntireTb, KeGetRecommendedSharedDataAlignment, KeDisableInterrupts, KeInvalidateAllCaches, KeIcacheFlushCount (ReactOS Portable Systems Group)
- Call TRAP_PROLOG with 0 (ReactOS Portable Systems Group)
- Decrement PC count by 4 to reach previous instruction, increment by 4 to skip actual instruction during a DebugService trap (ReactOS Portable Systems Group)
- Enable timer expiration (ReactOS Portable Systems Group)
- Reorganize function stubs according to port targets (ReactOS Portable Systems Group)
- Implement NtSetLdrEntries, NtVdmControl (ReactOS Portable Systems Group)
- Enable interrupts after probing and capturing parameters during a system call (ReactOS Portable Systems Group)
- Enable WFI during idle loop (ReactOS Portable Systems Group)
- Request APC interrupt if thread context switched to has APCs pending and enabled (ReactOS Portable Systems Group)
- Perform DPC watchdog debugging code if a DPC lasts longer than a second (ReactOS Portable Systems Group)
- Optimize and simplify trap handling and system calls by using a common exit (ReactOS Portable Systems Group)
- PDT of CSRSS has no entry for TCB of the thread, fix this problem (Dmitry Gorbachev, bug #3591)
- Get rid of a confusing goto in apc.c, a remnant of some code refactoring (Stefan Ginsberg)
MM
- Prevent boolean flags from being optimized away by compiler (due to PSEH usage) by making them volatile (Yury Sidorov, bug #3408)
- VirtualAlloc() fixes (Yury Sidorov, bug #3467):
- Invalid parameter error is returned if requested memory area is located above USER_SHARED_DATA address (0x7FFE0000) (WinXP compatible).
- Access violation error is returned if existing memory area found on requested address and this area have uninitialized region list.
- MiGetLastKernelAddress was totally broken on x86 and always returned the highest available physical page, thus the PFN database always end up at the address 0x80000000 and higher (just before the kernel). And when PFN database's size was bigger than usual (e.g. 1Gb of RAM and more), the PFN database zeroed out the kernel. This logic was introduced by 32640 commit. Fix it. (Aleksey Bragin)
- Implement MmDeleteVirtualMapping, MmGetPageProtect (ReactOS Portable Systems Group)
OB
PO
PS
- Don't leak critical region when going through failure return branch (Dmitry Gorbachev)
- Prevent BSOD if ObReferenceObjectByHandle failed in NtGetContextThread and NtSetContextThread (Yury Sidorov)
Hardware Abstraction Layer (HAL)
- Implement HalQuery/SetDisplayParameters, HalQuery/ReleaseDisplayOwnership, HalDisplayString for ARM (ReactOS Portable Systems Group)
Run Time Library (RTL)
- Prevent crashes when heapPtr is NULL, also fix broken heap magic output (Aleksey Bragin, Roel Messiant)
- Implement RtlCaptureContext (ReactOS Portable Systems Group)
- Write a DebugService routine for ARM (ReactOS Portable Systems Group)
- Implement DebugService2 (ReactOS Portable Systems Group)
- Fix export of NlsOemLeadByteInfo (ReactOS Portable Systems Group)
- Add backwards compatibility support for non-AVL tree routines (ReactOS Portable Systems Group)
- Add RtlInsertElementGenericTableAvl, RtlDeleteElementGenericTableAvl, RtlLookupElementGenericTableAvl, RtlEnumerateGenericTableWithoutSplayingAvl, RtlFreeOemString, RtlOemStringToCountedUnicodeString, RtlUnicodeStringToCountedOemString, RtlOemToUnicodeN prototypes (ReactOS Portable Systems Group)
- Fix generic table prototypes (ReactOS Portable Systems Group)
- Always call ZwRaiseException in user mode and RtlDispatchException in kernel mode. If RtlDispatchException failed call ZwRaiseException in kernel mode. Otherwise unhandled RtlRaiseException() call in kernel mode simply ignored (do nothing)! (Yury Sidorov)
- Call RtlRaiseStatus in RtlRaiseException, if something went wrong (Yury Sidorov)
- Speed-up user mode exception handling by calling RtlDispatchException() first if there is no active user mode debugger. This avoids switches to kernel mode if exception can be handled by SEH (Yury Sidorov)
- Implement RtlSetUserValueHeap, RtlSetUserFlagsHeap, RtlGetUserInfoHeap functions. It is quick implementation and it works. It fixes "Out of memory" error in all InnoSetup based installations. A lot of software can be at least installed in ReactOS now. Also it fixes Delphi applications which use TMemoryStream class. (Yury Sidorov)
Kernel Mode Drivers
AFD
- Move IRP completion out of spinlock (Cameron Gutman)
- Fix problems with handling cancelled IRPs (Cameron Gutman)
- Fix a few memory leaks (Cameron Gutman)
- Fix lock releasing issues (Cameron Gutman)
- Don't pass a bad IRP on failure (Cameron Gutman)
- Also cancel the connect IRP (Cameron Gutman)
- Add DeviceObject checks (Cameron Gutman)
- Unlock MDL pages before completing (Cameron Gutman)
TCPIP
- Fix problems in the IRP cancellation routine (Cameron Gutman)
- Fix a problem in which we wait on an event that isn't set (Cameron Gutman)
- Don't mark the IRP as pending while setting its cancel routine (Cameron Gutman)
- Remove a hack from DispTdiSendDatagram (Cameron Gutman)
NDIS
- Reenable commented out spinlocks in MiniIndicateData (Cameron Gutman)
- Don't raise IRQL before calling MiniDoRequest (Cameron Gutman)
BLUE
BOOTVID
- Fix a problem in VgaIsPresent: Content of the Address Register goes to the Data Register, and vice versa. It also writes content of the Map Select Register (which is number 4) into the Bit Mask Register (number 8) (Dmitry Gorbachev, bug #2125)
- Implement VidResetDisplay for ARM (ReactOS Portable Systems Group)
EXT2
FASTFAT
- Removed wrong FIXME: CcInitializeCacheMap doesn't raise exceptions. (Pierre Schweitzer, bug #3315)
I8042PRT
KDCOM
- Separate KDCOM into i386 and ARM (ReactOS Portable Systems Group)
- Implement KdPortPutByteEx, KdPortInitializeEx for ARM (ReactOS Portable Systems Group)
NTFS
- Free memory after use (Pierre Schweitzer)
- Some code cleanup (Pierre Schweitzer)
- Fixed a bug that made ROS freezing (Pierre Schweitzer)
RAMDISK
- Add RAMDISK_BOOT_INITIALIZATION_FAILED bugcheck (ReactOS Portable Systems Group)
- Define NT RAM DISK device interface (ReactOS Portable Systems Group)
- Add boot support for ramdisk (ReactOS Portable Systems Group)
- Implement RamdiskAddDevice, RamdiskOpenClose, RamdiskPnp, RamdiskCreateRamdisk, RamdiskDeviceControl, RamdiskCreateDiskDrive, RamdiskQueryDeviceRelations, RamdiskWorkerThread, RamdiskReadWrite, RamdiskReadWriteReal (ReactOS Portable Systems Group)
- Add device state data (ReactOS Portable Systems Group)
- Add support for IRP_MN_SURPRISE_REMOVAL (ReactOS Portable Systems Group)
- Handle IRP_MN_QUERY_ID, IRP_MN_QUERY_DEVICE_TEXT/BUS_INFORMATION/CAPABILITES, IRP competion for bus and (ReactOS Portable Systems Group)
- Implement IRP_MN_QUERY_RESOURCES/RESOURCE_REQUIREMENTS for bus and drive (ReactOS Portable Systems Group)
- Separate ramdisk device extensions into bus and drive device extensions (ReactOS Portable Systems Group)
- Rename device types to bus and drive, not FDO and PDO (ReactOS Portable Systems Group)
- Implement work queue to handle requests asynchronously (ReactOS Portable Systems Group)
- Fill out device relation count instead of leaving it uninitialized at 2 billion (ReactOS Portable Systems Group)
- Create Ram disk drive device object and name based off of GUID, DOS device symbolic name, and DOS drive letter (ReactOS Portable Systems Group)
- Fix parameters sent to IoCreateDevice (ReactOS Portable Systems Group)
- Write out all IOCTLs the ramdisk emulation core needs to handle (ReactOS Portable Systems Group)
- Use "enable Microsoft Compiler extension" GCC flag (ReactOS Portable Systems Group)
- Implement IOCTL_CDROM_GET_LAST_SESSION, IOCTL_CDROM_READ_TOC (ReactOS Portable Systems Group)
SCSIPORT
- Don't release the same spinlock twice on failure (Cameron Gutman) (bug #3520)
SERIAL
SERENUM
VIDEOPRT
NT System Library (NTDLL)
- Initialize TLS expansion bitmap properly, it fixes accessing uninitialized memory when all regular TEB slots for TLS data are occupied (Aleksey Bragin)
- Add an initial breakpoint for usermode process startup, this makes usermode debuggers working (Yury Sidorov, Aleksey Bragin)
Static Libraries
CRT
- Use "size_t" instead of "unsigned int" where appropriate in crt string functions (Samuel Serapión)
- Fix double linking of snprintf, _snprintf should be used in CRT (Aleksey Bragin)
- Implement %p for scanf (Peter Oberndorfer)
- Implement ___setlc_active_func/___unguarded_readlc_active_add_func (Jon Griffiths)
- Move atoi64 outside of MSVCRT def (ReactOS Portable Systems Group)
TCP
- Release spinlock on failure path before returning (Cameron Gutman)
NTFSLIB
SCRNSAVE
Keyboard Layouts
- Add Slovak QWERTY keyboard layout (kbdsk1.dll) by Mário Kačmár (bug #3528)
USETUP
- Remove all translations for the "Paged Memory", "Nonpaged Memory" and "Free Memory" progress bars.
This is debug stuff, which should have never been translated. As the translated strings are also sometimes longer than the english ones, they led to unnecessary problems like overlapping text. (Colin Finck)
Win32™ Personality
User mode subsystem server (CSRSS)
Kernel-mode subsystem server (Win32K)
- Fix a typo in the DC_ATTR structure (mxDevicetoWorld -> mxDeviceToWorld) (Stefan Ginsberg)
- Check if pool allocation succeeded right after allocation, not at the end of the function, when the pointer has been used quite a few times already (Aleksey Bragin)
- Remove XFORM members from DCLEVEL and use MATRIX instead (Stefan Ginsberg)
- Fixed RestoreDC and lots of visual glitches as result. Especially in Delphi applications (Yury Sidorov, bug #3491)
Services
services
- Implemented ScmDeleteMarkedServices. Services can be deleted now (Yury Sidorov)
tcpsvcs
umpnpmgr
Control panel applets
Appwiz-New
Console
- if there is no process name passed in, try to obtain the console title. If that does not work either, use default of cmd.exe as a title. Johannes Anderwald (bug 3397)
Desk
Input
Intl
- Fixed country codes (each country appears once only) (Matthias Kupfer, bug #3488)
Ncpa
Usrmgr
Sysdm
- enable/disable edit field when checkbox is (de)-selected Johannes Anderwald(bug 3390)
- initialize range control Johannes Anderwald(bug 3390)
- use ES_NUMBER style for edit text Johannes Anderwald (bug 3390)
- update swedish translation Andreas Bjerkeholt
Timedate
- Fixed flickering clock (Matthias Kupfer)
- Extended range of years in month view (Matthias Kupfer)
Win32™ Applications
3dtext
Autochk
Blankscr
Charmap
Cmd
Control
Downloader
Dwnl
Explorer
Explorer_new
Fontview
Magnify
Matrix
Mazescr
Msconfig
- check the checkboxes of the services which have the running state Johannes Anderwald (bug 1986)
- add AUTOCHECKBOX style to all 3 checkboxes on general page for all languages Johannes Anderwald (bug 1986)
- enable/disable checkboxes when normal/diagnostic startup is selected Johannes Anderwald (bug 1986)
Notepad
- Simplified code for WriteText which avoids infinite loops and fixes EOLN conversion. (Hervé Poussineau, bug #3551)
- Removed some non-understandable unicode code in WriteText (Pierre Schweitzer)
- Added a check to prevent crash when trying to create an empty file (Pierre Schweitzer)
- Fixed formatting for WriteText (Pierre Schweitzer)
Regedt32
Taskmgr
Vgafontedit
Win32™ Libraries
ADVAPI32
- Check for correct access, DELETE, when deleting services (Michael Martin)
- Dependencies param in CreateService is a double terminated string array (Michael Martin)
- Fixed dependency string length to pass correct size to rpcserver (Michael Martin)
COMCTL32
D3D9
DNSAPI
- Fix heap corruptions and memory leaks (Art Yerkes, Colin Finck, Samuel Serapión)
DirectX
GDI32
- Fix a typo in the DC_ATTR structure (mxDevicetoWorld -> mxDeviceToWorld) (Stefan Ginsberg)
GDIPLUS
INETMIB1
MSAFD
- Properly handle STATUS_TIMEOUT (Cameron Gutman)
- Don't crash if STATUS_END_OF_FILE and NULL ReturnedBytes are passed (Cameron Gutman)
- Handle STATUS_INVALID_CONNECTION (Cameron Gutman)
KERNEL32
- Port Wine's WideCharToMultiByte implementation for conversion to a codepage to ReactOS.
It adds support for DefaultChar, UsedDefaultChar and the flag WC_NO_BEST_FIT_CHARS. (Colin Finck) - Added comments to the CPTABLEINFO structure based on documentation from http://www.ping.uio.no/~ovehk/nls/ (Colin Finck)
- Add a new check for 'MultiByteCount < 0' to WideCharToMultiByte (verified under WinXP SP2) (Colin Finck)
- Fixed WriteProcessMemory. With this fix applied, user mode debuggers are able to work much better - be able to write in memory, set breakpoints, etc. (Yury Sidorov, Aleksey Bragin, bug #3415)
MSVCRT
- Fix ordinals of msvcrt according to Windows Server 2003 SP1's msvcrt.dll (Colin Finck)
- Implement new versions of wctomb and wcstombs, which consider the language set by setlocale() and work according to all behaviours I could find when testing under WinXP SP2 (Colin Finck)
OpenGL32
- Modified to make use of precompiled headers (Stefan Ginsberg)
SECUR32
SETUPAPI
- Support of [Strings.LanguageID]-sections for INF-files added in setupapi (bug #3396) (Matthias Kupfer)
SHELL32
- remove duplicate properties entry in recycle bin context menu shell extension Johannes Anderwald
- make string "empty recycle bin" translatable Johannes Anderwald
- use "FriendlyTypeName" key for file types when available which allows translated file types Johannes Anderwald
- display default icon in file property dialog Johannes Anderwald
- only display filename in the title for the file property dialog Johannes Anderwald
- don't load OpenWith shell extension on desktop, mydocuments, controlpanel, recyclebin, drive, control panel and folder items Johannes Anderwald
- allow translation of static shell verbs such as open/edit/find/play/preview/print/runas used in context menu items Johannes Anderwald
- implement _ILIsNetHood Johannes Anderwald
- don't show OpenWith dialog on network neighbourhoud shell folder Johannes Anderwald
- use translatable "open" verb for shelllink's context menu Johannes Anderwald
- enumerate context menu handlers also in the progid key Johannes Anderwald
- shortcut items now show again the "open" item Johannes Anderwald
- implement IShellPropSheetExt for shellink Johannes Anderwald
- implement IShellPropSheetExt handling for file property dialogs for standard file classes and for 3rd party extensions Johannes Anderwald
- fix folder options dialog title Johannes Anderwald
- implement changing drive volume name Johannes Anderwald
- display default volume label "local disk" if there is no title Johannes Anderwald
- implement folder property dialog Johannes Anderwald
- register network neighbourhood as a desktop namespace extension Johannes Anderwald
- don't display network propery dialog since it is not yet implemented Johannes Anderwald
UEXT2
UNTFS
USER32
WININET
WS2_32
- Implemented freeaddrinfo() and getaddrinfo() (Yury Sidorov)
- Implement bare boned getprotobyname() and getprotobynumber() (Yury Sidorov)
- Make winsock functions return proper error codes instead of success (will help to identify any probs with network apps) (Yury Sidorov)