ChangeLog-0.3.6

From ReactOS Wiki
Jump to: navigation, search

This is the changelog for ReactOS™ version 0.3.6 (released 6 August, 2008), 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).

General

Generic 0.3.6 Changes

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

Gendib

RBuild

Rsym

  • Allow a stabs entry to be longer than 256 characters, so that ROS may be compiled with -feliminate-unused-debug-symbols which reduces the needed disk space a lot. (Jeffrey Morlan)

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)

CM

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 Bragin)
  • 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

KE

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, MmRawDeleteVirtualMapping (ReactOS Portable Systems Group)
  • Refactor ARM memory manager code in preparation for user mode support (ReactOS Portable Systems Group)
  • Fix and refactor MmDeleteVirtualMapping to sync with x86 version more (ReactOS Portable Systems Group)
  • Remove code designed to unmap page table entries when they are not required, reducing complexity and overhead (ReactOS Portable Systems Group)
  • Remove code that was actually trying to calculate and keep track of LowestAddress, a mostly static value that was precalculated (ReactOS Portable Systems Group)
  • Remove MiGetUserPageDirectoryCount from ARM MM (ReactOS Portable Systems Group)
  • Remove redundant value keeping track of an embedded data structure in the address space (ReactOS Portable Systems Group)
  • Remove MmInitializeKernelAddressSpace and use MmInitializeHandBuilt Process instead (ReactOS Portable Systems Group)
  • Change kernel address space from a static structure to a pointer into the idle process' system address space, fixing an issue where the kernel address space would become associated with no processes at all (ReactOS Portable Systems Group)
  • Remove redundant address now that address space ownership problem is fixed (ReactOS Portable Systems Group)
  • Change lock used in address space creation back to a guarded mutex for the time being (ReactOS Portable Systems Group)
  • Remove MADDRESS_SPACE as it is no longer needed (ReactOS Portable Systems Group)
  • When releasing a page directly to a pending allocation request, zero it first (Jeffrey Morlan, bug #3543)

OB

  • Fix a bug where handles would randomly fail to be inherited (Jeffrey Morlan)

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)
  • Fix some incorrect object dereferencing in PspSetPrimaryToken (Jeffrey Morlan)

SMSS

Hardware Abstraction Layer (HAL)

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)
  • Optimize RtlTimeFieldsToTime so it doesn't have to loop 400 times (Jeffrey Morlan)
  • Fix handle leak in RtlCreateUserThread (Jeffrey Morlan)
  • RtlpCreateCriticalSectionSem: use InterlockedCompareExchangePointer instead of InterlockedCompareExchange for a handle (Timo Kreuzer)

Kernel Mode Drivers

AFD

TCPIP

NDIS

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)

FASTFAT

  • Removed wrong FIXME: CcInitializeCacheMap doesn't raise exceptions. (Pierre Schweitzer, bug #3315)

KDCOM

NTFS

RAMDISK

SCSIPORT

  • Don't release the same spinlock twice on failure (Cameron Gutman) (bug #3520)

VGA

  • Fix vgaddi by linking to libcntpr to resolve crt imports and include ioaccess.h to avoid hal imports (Timo Kreuzer, bug #2073)

NT System Library (NTDLL)

Static Libraries

CRT

TCP

MINGW

  • Get explorer working again, by making wmain explicitly call the C++ initialization function __main. gcc only adds the call automatically in a function called main. (Jeffrey Morlan)

Keyboard Layouts

  • Add Slovak QWERTY keyboard layout (kbdsk1.dll) by (Mário Kačmár, bug #3528)
  • Add Thai Kedmanee, Thai Pattachote, Thai Pattachote (non-shift lock) keyboard layouts (Alexey Komarov)
  • Add Irish, Latin American keyboard layouts (Dimitry Chapyshev)

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)

  • Miscellaneous console bugfixes (Jeffrey Morlan, bug #3267)
  • Some fixes for console alias functions (Jeffrey Morlan)
  • Fix console screen buffer reference-counting (Jeffrey Morlan, bug #3524)
  • If process has no console, return STATUS_INVALID_HANDLE; don't pretend to succeed. (Jeffrey Morlan)
  • Don't wait for a console control handler thread to terminate. (Jeffrey Morlan)
  • Make console handles start at 3, not 7 (Jeffrey Morlan)
  • Prevent objects from being deleted while in use (Jeffrey Morlan)
  • Implement handle access masks and optional inheritability (Jeffrey Morlan)
  • Implement DUPLICATE_CLOSE_SOURCE and DUPLICATE_SAME_ACCESS options (Jeffrey Morlan)
  • Fix various bugs in console scrollbars, and make them functional (Jeffrey Morlan)

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)
  • Rewrite path handle support and reorder path.c (James Tabor)
  • Sync and modify Wine's PATH_WidenPath and Path_DoArcPart (James Tabor)
  • Implement AngleArc (James Tabor)
  • Port GraphApp draw arc fill algorithm from App crossplatform programming package (James Tabor)
  • Fix ellipse drawing (James Tabor, bug #3337)
  • Fix set palette issue (James Tabor, bug #733)
  • Change drawing to CCW (James Tabor)
  • Have arc and ellipse drawing use new fill square algorithms (James Tabor)
  • Fix problem of selecting Start menu then mousing over and clicking another application (James Tabor, bug #972)
  • Implement GetLastActivePopup based on Wine (James Tabor)
  • Move WM_ACTIVATEAPP calls before WM_NC/ACTIVATE calls (James Tabor)
  • Fix DCE to pass more tests (James Tabor)
  • Add QUERY_WINDOW_FOCUS, QUERY_WINDOW_ACTIVE (James Tabor)
  • Remove NtUserGetSystemMetric, NtUserGetProp, NtUserGetWindowThreadProcessId, NtUserGetShellWindow (James Tabor)
  • Fix prototype for NtUserDragDetect and add escape key hit (James Tabor)
  • Fix RestoreDC (James Tabor)
  • Provide reference to previous message handle, preventing window object from becoming zero while posting send messages as it closes (James Tabor, bug #3490)
  • Port WaitForInputIdle from Wine and improve NtUserWaitForInputIdle (James Tabor)
  • Add checks to ensure thread is locked while waiting in co_MsqSendMessage (James Tabor)
  • Implement NtUserMessageCall (James Tabor, bug #2451)
  • Started implementing NtUserRegisterClassExWOW (James Tabor)
  • Separate default Window proc from messages (James Tabor)
  • Add WH_GETMESSAGE support (James Tabor)
  • Fix CurrentWnd for when it has a NULL value (James Tabor, 3527)
  • Rewrite hook implementation (James Tabor)
  • Use SEH in NtUserCallMsgFilter (James Tabor)
  • Add support for system commands related to hooks (James Tabor)
  • Enable message filter hooks and add call hook support for debug hook (James Tabor)
  • Fix show window call (James Tabor)
  • Start implementing BroadcastSystemMessage (James Tabor)
  • Add support for SMTO_NOTIMEOUTIFNOTHUNG (James Tabor)
  • Fix WH_CALLWNDPROC/RET for multithreaded support (James Tabor)
  • Fix NtUserCallMsgFilter to initiate hook call (James Tabor)
  • Support relative callback proc with module base (James Tabor)
  • Implement EngGetTickCount, NotifyWinEvent, SetWinEventHook, UnhookWinEvent (James Tabor)
  • Fix bounds checking in NtGdiDoPalette and have it use a temporary kernel mode buffer (Jeffrey Morlan)
  • Fix messed-up colors in taskbar icons in qemu 16bpp mode. BuildDIBPalette was previously assuming all 16bpp DIBs were 565. (Jeffrey Morlan)
  • Remove dependencies on the user-mode DLL ntdll. (Jeffrey Morlan)
  • Fix some incorrect error handling in NtGdiAlphaBlend, NtGdiBitBlt, NtGdiStretchBlt, NtGdiPolyPatBlt, NtGdi(Get|Set)BitmapDimension, and NtGdiGetDCforBitmap. (Jeffrey Morlan)
  • Fix leak of DIBSECTION structure. (Jeffrey Morlan)
  • Prevent overflow in IntGdiCreateBitmap, fix bug in calculating bytes per line. (Jeffrey Morlan)
  • Fix crash in NtUserSetClipboardData with CF_TEXT format (Jeffrey Morlan, bug #3536)
  • Fix NtUserBeginPaint update rectangle calculation so as not to be affected by anything in the non-client area (Jeffrey Morlan)
  • Fix bug involving deleting item from submenu. (Jeffrey Morlan, bug #3292)
  • Fix various code that attempts to dereference NULL pointers (Christoph von Wittich)
  • DC_AllocDc: Set DC's iGraphicsMode to GM_COMPATIBLE when creating a DC (Timo Kreuzer)
  • NtGdiRectangle: only exclude bottom/right pixels if dc is GM_COMPATIBLE (Timo Kreuzer)
  • IntRectangle: Use coordinate transformation, if transform is not scale, call IntGdiPolygon (Timo Kreuzer)
  • IntRectangle/IntGdiPolygon: use special locking order to avoid lockups, don't unlock objects that weren't locked (Timo Kreuzer)

Services

services

  • Implemented ScmDeleteMarkedServices. Services can be deleted now (Yury Sidorov)

Control panel applets

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)

Intl

  • Fixed country codes (each country appears once only) (Matthias Kupfer, bug #3488)

Mmsys

Sysdm

Telephon

  • Add an empty dialog resource and implement initializing the dialog (Johannes Anderwald, bug #3443)

Timedate

Usrmgr

  • Implement removal of a user from a user group (Eric Kohl)
  • Implement a simple dialog for adding a user to user groups (Eric Kohl)

Win32™ Applications

Cmd

  • Fix argument parsing for label command. (Jeffrey Morlan, bug #3530 part 2)
  • Fix mkdir so it won't create directories with the same name as DOS devices (Jeffrey Morlan)
  • Improvements to ConPrintfPaging (Jeffrey Morlan, bug #3530 part 1)

Explorer

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

Userinit

  • Make userinit.exe exit when it's done everything. No need to wait for explorer to exit first (Jeffrey Morlan)

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)
  • Fix under-allocation in LsaQueryInformationPolicy. (Jeffrey Morlan, bug #3428)

DNSAPI

GDI32

  • Fix a typo in the DC_ATTR structure (mxDevicetoWorld -> mxDeviceToWorld) (Stefan Ginsberg)

INETMIB1

MSAFD

MSGINA

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)
  • Don't trim spaces at the end of a value as it might be part of the value (Johannes Anderwald, bug #3437)
  • Remove a dependency on msvcrt, which would cause bug 3373 to reappear. (Jeffrey Morlan)
  • Fix IntWriteConsoleInput to copy the data to the capture buffer, not the other way around (Jeffrey Morlan)
  • Don't enter the ConsoleLock if it has already been deleted by DllMain (Dmitry Gorbachev)

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)

MSVCRT40

Odbccp32

OpenGL32

PSAPI

  • Make EnumDeviceDrivers and EnumProcessModules return the total size, even if the buffer is smaller. (Jeffrey Morlan, bug #3319)

SETUPAPI

  • Support of [Strings.LanguageID]-sections for INF-files added in setupapi (bug #3396) (Matthias Kupfer)
  • Fix creation of shortcuts when using [ProfileItems] directive (Marc Piulachs)
  • Add support for undocumented third parameter in Name entry (Marc Piulachs)

SHELLEX

SHELL32

USER32

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)
  • Do not return success in unimplemented export getaddrinfo (Christoph von Wittich)
Versions / Official Changelogs / Community Changelogs
0.0.x Series 0.0.8 | 0.0.9 | 0.0.10 | 0.0.11 | 0.0.12 | 0.0.13 | 0.0.14 | 0.0.15 | 0.0.16 | 0.0.17 | 0.0.18 | 0.0.19 | 0.0.20 | 0.0.21
0.1.x Series 0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5
0.2.x Series 0.2.0 | 0.2.1 | 0.2.2 | 0.2.3 | 0.2.4 | 0.2.5 | 0.2.6 | 0.2.7 | 0.2.8 | 0.2.9
0.3.x Series 0.3.0 | 0.3.1 | 0.3.2 | 0.3.3 | 0.3.4 | 0.3.5 | 0.3.6 | 0.3.7 | 0.3.8 | 0.3.9 | 0.3.10 | 0.3.11 | 0.3.12 | 0.3.13 | 0.3.14 | 0.3.15 | 0.3.16 | 0.3.17
0.4.x Series 0.4.0 | 0.4.1 | 0.4.2 | 0.4.3 | 0.4.4 | 0.4.5 | 0.4.6 | 0.4.7 | 0.4.8 | 0.4.9 | 0.4.10 | 0.4.11 | 0.4.12 | 0.4.13 | 0.4.14