reactos.git
18 years agoditto
Steven Edwards [Fri, 19 Aug 2005 21:21:58 +0000 (21:21 +0000)]
ditto

svn path=/trunk/; revision=17444

18 years agomingw compatibility fixes
Royce Mitchell III [Fri, 19 Aug 2005 21:21:05 +0000 (21:21 +0000)]
mingw compatibility fixes

svn path=/trunk/; revision=17443

18 years agomixed case sucks
Steven Edwards [Fri, 19 Aug 2005 21:21:04 +0000 (21:21 +0000)]
mixed case sucks

svn path=/trunk/; revision=17442

18 years agoAdd generation of 8bpp DIB code
Gé van Geldorp [Fri, 19 Aug 2005 20:56:01 +0000 (20:56 +0000)]
Add generation of 8bpp DIB code

svn path=/trunk/; revision=17441

18 years agoAdded support for MOVEFILE_DELAY_UNTIL_REBOOT, based on Wine code by Gerhard W. Grube...
Steven Edwards [Fri, 19 Aug 2005 19:05:59 +0000 (19:05 +0000)]
Added support for MOVEFILE_DELAY_UNTIL_REBOOT, based on Wine code by Gerhard W. Gruber and others. Still requires smss to check the key.

svn path=/trunk/; revision=17440

18 years agoXML chunks are required to contain a single node.
Emanuele Aliberti [Fri, 19 Aug 2005 15:28:41 +0000 (15:28 +0000)]
XML chunks are required to contain a single node.

svn path=/trunk/; revision=17438

18 years agoMoved keyboard mappers need to picked up from the right place.
Emanuele Aliberti [Fri, 19 Aug 2005 15:27:39 +0000 (15:27 +0000)]
Moved keyboard mappers need to picked up from the right place.

svn path=/trunk/; revision=17437

18 years agoGroup keyboard mappers in a common directory, like CPLs.
Emanuele Aliberti [Fri, 19 Aug 2005 15:26:02 +0000 (15:26 +0000)]
Group keyboard mappers in a common directory, like CPLs.

svn path=/trunk/; revision=17436

18 years agoImport VMware open source BusLogic driver
Gé van Geldorp [Thu, 18 Aug 2005 21:59:20 +0000 (21:59 +0000)]
Import VMware open source BusLogic driver
Hartmut made it work in ReactOS.

svn path=/trunk/; revision=17434

18 years agoFix boot
Alex Ionescu [Thu, 18 Aug 2005 21:25:04 +0000 (21:25 +0000)]
Fix boot

svn path=/trunk/; revision=17431

18 years agoimplement errorlevel in some cmd command and bug fix some errorlevel command. Hopply...
Magnus Olsen [Thu, 18 Aug 2005 20:52:52 +0000 (20:52 +0000)]
implement errorlevel in some cmd command and bug fix some errorlevel command. Hopply it is last commit about errorlevel. Please can some test see if all cmd command have right errorlevel set or not set. I have not test every command if they got right errorlevel setting. But They should have it now.

svn path=/trunk/; revision=17430

18 years agoAdd generation of 32bpp DIB code
Gé van Geldorp [Thu, 18 Aug 2005 19:26:37 +0000 (19:26 +0000)]
Add generation of 32bpp DIB code

svn path=/trunk/; revision=17429

18 years agomake dir change errorlevel to 0 on success.
Brandon Turner [Thu, 18 Aug 2005 15:21:57 +0000 (15:21 +0000)]
make dir change errorlevel to 0 on success.

svn path=/trunk/; revision=17428

18 years agoTest commit, adding myself to the cmd credits.
Brandon Turner [Thu, 18 Aug 2005 15:04:04 +0000 (15:04 +0000)]
Test commit, adding myself to the cmd credits.

svn path=/trunk/; revision=17427

18 years agoFixed the directory index for FATX in FATXAddEntry.
Hartmut Birr [Thu, 18 Aug 2005 11:51:27 +0000 (11:51 +0000)]
Fixed the directory index for FATX in FATXAddEntry.

svn path=/trunk/; revision=17426

18 years agoLoad the symbols from ntoskrn.exe from the boot cd, if it is possible.
Hartmut Birr [Wed, 17 Aug 2005 20:41:15 +0000 (20:41 +0000)]
Load the symbols from ntoskrn.exe from the boot cd, if it is possible.

svn path=/trunk/; revision=17425

18 years agoAdd back MessageData to PQUEUED_MESSAGE. It was accidentally removed
Alex Ionescu [Wed, 17 Aug 2005 18:56:57 +0000 (18:56 +0000)]
Add back MessageData to PQUEUED_MESSAGE. It was accidentally removed

svn path=/trunk/; revision=17424

18 years agoimplemented batch redirection by saving batch info in tagBATCHCONTEXT by Brandon...
Magnus Olsen [Wed, 17 Aug 2005 18:01:47 +0000 (18:01 +0000)]
implemented batch redirection by saving batch info in tagBATCHCONTEXT by Brandon Turner

svn path=/trunk/; revision=17423

18 years agoSamuel Bronson <naesten@gmail.com>:
Gé van Geldorp [Wed, 17 Aug 2005 07:23:05 +0000 (07:23 +0000)]
Samuel Bronson <naesten@gmail.com>:
Reduce the time it takes GDB to attach

svn path=/trunk/; revision=17422

18 years agoAdd beginning of lpc docs
Alex Ionescu [Wed, 17 Aug 2005 07:07:43 +0000 (07:07 +0000)]
Add beginning of lpc docs

svn path=/trunk/; revision=17421

18 years agoMajor cleanup of NDK. I've decided that it would be much cleaner to accumulate all...
Alex Ionescu [Wed, 17 Aug 2005 07:06:59 +0000 (07:06 +0000)]
Major cleanup of NDK. I've decided that it would be much cleaner to accumulate all types, regardless of their um/km availabilty, into each header. Thus, umtypes.h now only contains the equivalent of ntdef.h and is automatically not-included if the DDK is. Similary, I've removed all the NTIFS hacks and added a single ifssupp.h file, which is automatically removed if the IFS is added. That file will be deleted then the Longhorn WDK is made public (it contains the IFS/DDK). Nothing has changed on the includer-side, the same rules still apply

svn path=/trunk/; revision=17420

18 years agoMinor changes.
Emanuele Aliberti [Wed, 17 Aug 2005 06:14:55 +0000 (06:14 +0000)]
Minor changes.

svn path=/trunk/; revision=17419

18 years agoDo not free a Critical Section we did not initialize. Fixes the silent UM exception...
Andrew Munger [Tue, 16 Aug 2005 23:37:17 +0000 (23:37 +0000)]
Do not free a Critical Section we did not initialize.  Fixes the silent UM exception I was seeing while trying to install VMWare tools. Patch by Filip.

svn path=/trunk/; revision=17418

18 years agoRemove all non-official LPC structures/defines/hardcoded hacks, and use actual correc...
Alex Ionescu [Tue, 16 Aug 2005 23:05:33 +0000 (23:05 +0000)]
Remove all non-official LPC structures/defines/hardcoded hacks, and use actual correct sizes and structures.

svn path=/trunk/; revision=17417

18 years agoAdd a stub for NTDLL!CsrGetProcessId.
Emanuele Aliberti [Tue, 16 Aug 2005 22:16:09 +0000 (22:16 +0000)]
Add a stub for NTDLL!CsrGetProcessId.

svn path=/trunk/; revision=17416

18 years ago- Fixed the offset calculation in MmWritePagePhysicalAddress and MmPageOutPhysicalAdd...
Hartmut Birr [Tue, 16 Aug 2005 20:36:03 +0000 (20:36 +0000)]
- Fixed the offset calculation in MmWritePagePhysicalAddress and MmPageOutPhysicalAddress.
- Add some code which will check for adding of multiple rmap entries.

svn path=/trunk/; revision=17415

18 years agoIf we delete a page table, we have also to clear the entry in the page directory...
Hartmut Birr [Tue, 16 Aug 2005 16:17:47 +0000 (16:17 +0000)]
If we delete a page table, we have also to clear the entry in the page directory area explicitly. This may fix parts of bug #710.

svn path=/trunk/; revision=17414

18 years agomodule_test proxy makefile support
Casper Hornstrup [Tue, 16 Aug 2005 15:47:38 +0000 (15:47 +0000)]
module_test proxy makefile support

svn path=/trunk/; revision=17413

18 years agoChange o to optional
Casper Hornstrup [Tue, 16 Aug 2005 14:39:17 +0000 (14:39 +0000)]
Change o to optional

svn path=/trunk/; revision=17412

18 years agoMake NTDLL not bind automatically to the Win32 server.
Emanuele Aliberti [Tue, 16 Aug 2005 14:24:00 +0000 (14:24 +0000)]
Make NTDLL not bind automatically to the Win32 server.
This will allow other personality subsystem not to depend on Win32.

svn path=/trunk/; revision=17411

18 years agoChanges to get msi based installers mostly working
Steven Edwards [Tue, 16 Aug 2005 05:17:06 +0000 (05:17 +0000)]
Changes to get msi based installers mostly working
ConvertStringSecurityDescriptorToSecurityDescriptor[W/A] - implement based on Winehq code
InitiateSystemShutdownExW - add stub from Wine
Convert registry source file to use Wine debugging Macros

svn path=/trunk/; revision=17410

18 years agoMake KeFlushQueueApc return a standard cyclic linked list to save a few CPU cycles.
Filip Navara [Tue, 16 Aug 2005 00:01:42 +0000 (00:01 +0000)]
Make KeFlushQueueApc return a standard cyclic linked list to save a few CPU cycles.

svn path=/trunk/; revision=17408

18 years ago- Remove the APC from the list and then set it as not inserted, instead of backwards.
Alex Ionescu [Mon, 15 Aug 2005 22:44:32 +0000 (22:44 +0000)]
- Remove the APC from the list and then set it as not inserted, instead of backwards.

svn path=/trunk/; revision=17407

18 years agopacklib.dll is DLL, not an EXE!
Emanuele Aliberti [Mon, 15 Aug 2005 21:06:07 +0000 (21:06 +0000)]
packlib.dll is DLL, not an EXE!

svn path=/trunk/; revision=17406

18 years agoEnlarge the Options buffer.
Emanuele Aliberti [Mon, 15 Aug 2005 19:53:00 +0000 (19:53 +0000)]
Enlarge the Options buffer.

svn path=/trunk/; revision=17405

18 years agoUpdate the cabman manual.
Emanuele Aliberti [Mon, 15 Aug 2005 19:50:35 +0000 (19:50 +0000)]
Update the cabman manual.

svn path=/trunk/; revision=17404

18 years agoSemantic enhancement suggested by Casper Hornstrup (o==>optional).
Emanuele Aliberti [Mon, 15 Aug 2005 19:46:47 +0000 (19:46 +0000)]
Semantic enhancement suggested by Casper Hornstrup (o==>optional).
Fix bug in the method CDFParser::PerformFileCopy (spotted by Sylvain Petreolle).

svn path=/trunk/; revision=17403

18 years agofix reference counting output to tell us caller's file and line #
Royce Mitchell III [Mon, 15 Aug 2005 18:43:56 +0000 (18:43 +0000)]
fix reference counting output to tell us caller's file and line #

svn path=/trunk/; revision=17402

18 years agoSubsystem definitions: convert OS/2 and POSIX to new CSR.
Emanuele Aliberti [Mon, 15 Aug 2005 17:31:33 +0000 (17:31 +0000)]
Subsystem definitions: convert OS/2 and POSIX to new CSR.

svn path=/trunk/; revision=17401

18 years agoAdd winemine.
Emanuele Aliberti [Mon, 15 Aug 2005 17:30:20 +0000 (17:30 +0000)]
Add winemine.

svn path=/trunk/; revision=17400

18 years agoAdd new CSR and new Win32 server as optional (subsys/csr, subsys/win).
Emanuele Aliberti [Mon, 15 Aug 2005 17:04:34 +0000 (17:04 +0000)]
Add new CSR and new Win32 server as optional (subsys/csr, subsys/win).
Add images from the optional modules (rosapps,os2,posix,rosky,vms).

svn path=/trunk/; revision=17399

18 years agoFixed a terminating NULL in IoRegisterDeviceInterface.
Hartmut Birr [Mon, 15 Aug 2005 16:47:15 +0000 (16:47 +0000)]
Fixed a terminating NULL in IoRegisterDeviceInterface.

svn path=/trunk/; revision=17397

18 years agoCABMAN: add support for optional files (they are listed in the reactos.dff, but may...
Emanuele Aliberti [Mon, 15 Aug 2005 16:41:43 +0000 (16:41 +0000)]
CABMAN: add support for optional files (they are listed in the reactos.dff, but may not exist in the output-??? directory).

svn path=/trunk/; revision=17396

18 years agoChangelog:
Steven Edwards [Mon, 15 Aug 2005 02:24:48 +0000 (02:24 +0000)]
Changelog:
MSAFD: Add PCH support, PSDK fixes
MISC: Fix everything to build with PSDK changes
PSDK Fixes:
w32api/include/ssdl.h - reimplement based on Wine header which was more correct
w32api/include/ntsecapi.h - Remove duplicate structures and add typedef
w32api/include/winnt.h - add constant and missing structure
w32api/include/winioctl.h - add missing IOCTL code
w32api/include/winbase.h - add missing function declariation
w32api/include/aclui.h - remove duplicate structure

svn path=/trunk/; revision=17394

18 years agoCreate Usb bulk storage template.
James Tabor [Sun, 14 Aug 2005 22:27:15 +0000 (22:27 +0000)]
Create Usb bulk storage template.

svn path=/trunk/; revision=17390

18 years agoHave vmwinst add back the registry entries which were so brutally removed.
Gé van Geldorp [Sun, 14 Aug 2005 21:44:58 +0000 (21:44 +0000)]
Have vmwinst add back the registry entries which were so brutally removed.
This doesn't fix the problem completely though, blocked by the problem
described here:
http://reactos.com:8080/archives/public/ros-dev/2005-August/004558.html

svn path=/trunk/; revision=17389

18 years agoindex is 1-based at this point, index == line->nb_fields is the last
Gé van Geldorp [Sun, 14 Aug 2005 20:22:37 +0000 (20:22 +0000)]
index is 1-based at this point, index == line->nb_fields is the last
field and is valid

svn path=/trunk/; revision=17388

18 years agoImplemented USBD_ParseConfigurationDescriptorEx and USBD_ParseDescriptors for bulkusb...
James Tabor [Sun, 14 Aug 2005 13:18:50 +0000 (13:18 +0000)]
Implemented USBD_ParseConfigurationDescriptorEx and USBD_ParseDescriptors for bulkusb driver testing.

svn path=/trunk/; revision=17382

18 years agochange CMDLINE_LENGTH to 8192 to keep rbuild happy until dymatic alloc are in place
Magnus Olsen [Sun, 14 Aug 2005 09:14:53 +0000 (09:14 +0000)]
change CMDLINE_LENGTH to 8192 to keep rbuild happy until dymatic alloc are in place

svn path=/trunk/; revision=17380

18 years agoWINAPI -> STDCALL, plus fix/expound documentation
Royce Mitchell III [Sun, 14 Aug 2005 04:36:36 +0000 (04:36 +0000)]
WINAPI -> STDCALL, plus fix/expound documentation

svn path=/trunk/; revision=17379

18 years agoimplement DbgPrintEx, vDbgPrintEx, and vDbgPrintExWithPrefix
Royce Mitchell III [Sun, 14 Aug 2005 04:24:01 +0000 (04:24 +0000)]
implement DbgPrintEx, vDbgPrintEx, and vDbgPrintExWithPrefix

svn path=/trunk/; revision=17378

18 years agofix declaration of DbgQueryDebugFilterState()
Royce Mitchell III [Sun, 14 Aug 2005 04:22:07 +0000 (04:22 +0000)]
fix declaration of DbgQueryDebugFilterState()

svn path=/trunk/; revision=17377

18 years agoProject file maintainance
Martin Fuchs [Sat, 13 Aug 2005 17:29:38 +0000 (17:29 +0000)]
Project file maintainance

svn path=/trunk/; revision=17373

18 years agoprepare for ANSI builds
Martin Fuchs [Sat, 13 Aug 2005 17:24:50 +0000 (17:24 +0000)]
prepare for ANSI builds

svn path=/trunk/; revision=17372

18 years agoProject file maintainance
Martin Fuchs [Sat, 13 Aug 2005 16:04:29 +0000 (16:04 +0000)]
Project file maintainance

svn path=/trunk/; revision=17371

18 years agoWinefile Makefile for pure MinGW
Martin Fuchs [Sat, 13 Aug 2005 16:04:08 +0000 (16:04 +0000)]
Winefile Makefile for pure MinGW

svn path=/trunk/; revision=17370

18 years agoremove special handling of previous MinGW versions
Martin Fuchs [Sat, 13 Aug 2005 13:21:27 +0000 (13:21 +0000)]
remove special handling of previous MinGW versions

svn path=/trunk/; revision=17369

18 years agoImplement csrsrv!CsrSrvInitializeServerDll based on current code from CsrpInitWin32Cs...
Emanuele Aliberti [Sat, 13 Aug 2005 13:21:28 +0000 (13:21 +0000)]
Implement csrsrv!CsrSrvInitializeServerDll based on current code from CsrpInitWin32Csr (partial).
Note: it currently works only for servers with 1 ServerDll, because the entrypoint's name is a literal.

svn path=/trunk/; revision=17368

18 years agoBCB tracing implementation
Royce Mitchell III [Sat, 13 Aug 2005 13:16:16 +0000 (13:16 +0000)]
BCB tracing implementation

svn path=/trunk/; revision=17367

18 years agofunction declaration to enable/disable BCB tracing
Royce Mitchell III [Sat, 13 Aug 2005 13:13:05 +0000 (13:13 +0000)]
function declaration to enable/disable BCB tracing

svn path=/trunk/; revision=17366

18 years agovariable to enable per-BCB debugging
Royce Mitchell III [Sat, 13 Aug 2005 13:11:59 +0000 (13:11 +0000)]
variable to enable per-BCB debugging

svn path=/trunk/; revision=17365

18 years agoConform to the new CSR_PROCESS and CSR_THREAD.
Emanuele Aliberti [Sat, 13 Aug 2005 12:46:37 +0000 (12:46 +0000)]
Conform to the new CSR_PROCESS and CSR_THREAD.

svn path=/trunk/; revision=17364

18 years agoAlex Ionescu: CSR_PROCESS and CSR_THREAD layout from WinDBG.
Emanuele Aliberti [Sat, 13 Aug 2005 12:45:33 +0000 (12:45 +0000)]
Alex Ionescu: CSR_PROCESS and CSR_THREAD layout from WinDBG.

svn path=/trunk/; revision=17363

18 years agoBegin making the 'posix' module conform to rbuild.
Emanuele Aliberti [Sat, 13 Aug 2005 12:35:00 +0000 (12:35 +0000)]
Begin making the 'posix' module conform to rbuild.

svn path=/trunk/; revision=17362

18 years agoMinor changes.
Emanuele Aliberti [Sat, 13 Aug 2005 12:33:04 +0000 (12:33 +0000)]
Minor changes.

svn path=/trunk/; revision=17361

18 years agoMake 'rosapps' module build.
Emanuele Aliberti [Sat, 13 Aug 2005 12:25:16 +0000 (12:25 +0000)]
Make 'rosapps' module build.

svn path=/trunk/; revision=17360

18 years agosmall clean up. remove double define of COPY_FILE_FAIL_IF_EXISTS and COPY_FILE_RESTAR...
Magnus Olsen [Sat, 13 Aug 2005 12:09:34 +0000 (12:09 +0000)]
small clean up. remove double define of COPY_FILE_FAIL_IF_EXISTS and COPY_FILE_RESTARTABLE

svn path=/trunk/; revision=17359

18 years agoFixed _WINBASE_/_WINBASE_H
Hartmut Birr [Fri, 12 Aug 2005 23:35:14 +0000 (23:35 +0000)]
Fixed _WINBASE_/_WINBASE_H

svn path=/trunk/; revision=17358

18 years agoCorrect include tree, fixing multiple defines.
Aleksey Bragin [Fri, 12 Aug 2005 21:01:32 +0000 (21:01 +0000)]
Correct include tree, fixing multiple defines.

svn path=/trunk/; revision=17355

18 years agoCorrect version info.
Emanuele Aliberti [Fri, 12 Aug 2005 20:57:26 +0000 (20:57 +0000)]
Correct version info.

svn path=/trunk/; revision=17354

18 years agoOS/2: more changes to make it conform to rbuild.
Emanuele Aliberti [Fri, 12 Aug 2005 20:55:07 +0000 (20:55 +0000)]
OS/2: more changes to make it conform to rbuild.

svn path=/trunk/; revision=17353

18 years agoXbox hack added, so two exactly the same PCI devices (OHCI controllers) have differen...
Aleksey Bragin [Fri, 12 Aug 2005 20:29:01 +0000 (20:29 +0000)]
Xbox hack added, so two exactly the same PCI devices (OHCI controllers) have different locations. Without it USB drivers won't work at all.

svn path=/trunk/; revision=17352

18 years agoMajor additions to usb stack:
Aleksey Bragin [Fri, 12 Aug 2005 20:21:22 +0000 (20:21 +0000)]
Major additions to usb stack:
1) Improve hardware support in linux_wrapper
2) Add embedded drivers, register them in linux usb stack
3) Add working wrapper for keyboard and mouse devices - now if usbohci or uhci loads, it will be the first to create KeyboardClass0 and PointerClass0 devices, so PS/2 keyb/mouse won't work.
4) Added logic for registering miniport at port driver (like Windows' usb stack does)

Bad things:
1) "multithreading" is still done not the proper way, but ugly way
2) under xbox xpad doesn't work
3) it must be wasting lots of CPU power now, since hub thread doesn't block while waiting for events

svn path=/trunk/; revision=17351

18 years agoremoved debug message about submitting urb
Aleksey Bragin [Fri, 12 Aug 2005 20:11:56 +0000 (20:11 +0000)]
removed debug message about submitting urb

svn path=/trunk/; revision=17350

18 years agoUSB keyboard and mouse "embedded" drivers from cromwell and linux 2.5.0 usb stack...
Aleksey Bragin [Fri, 12 Aug 2005 19:54:40 +0000 (19:54 +0000)]
USB keyboard and mouse "embedded" drivers from cromwell and linux 2.5.0 usb stack adapted to our stack.

svn path=/trunk/; revision=17349

18 years agoOS/2: begin converting the subtree to rbuild.
Emanuele Aliberti [Fri, 12 Aug 2005 19:22:42 +0000 (19:22 +0000)]
OS/2: begin converting the subtree to rbuild.

svn path=/trunk/; revision=17348

18 years agoCorrect the version info.
Emanuele Aliberti [Fri, 12 Aug 2005 19:15:01 +0000 (19:15 +0000)]
Correct the version info.

svn path=/trunk/; revision=17347

18 years agoUpdate status
Gé van Geldorp [Fri, 12 Aug 2005 19:08:45 +0000 (19:08 +0000)]
Update status

svn path=/trunk/; revision=17345

18 years agoImplement SetupDiCallClassInstaller (still doesn't support custom class installers...
Hervé Poussineau [Fri, 12 Aug 2005 19:03:35 +0000 (19:03 +0000)]
Implement SetupDiCallClassInstaller (still doesn't support custom class installers/co-installers)
Implement SetupDiGetDeviceInstallParamsA by calling SetupDiGetDeviceInstallParamsW. Add stub for SetupDiGetDeviceInstallParamsW
Basic implementation of SetupDiSelectBestCompatDrv (selects first driver of the list)
Add stubs for SetupDiInstallDriverFiles, SetupDiRegisterCoDeviceInstallers, SetupDiInstallDeviceInterfaces, SetupDiInstallDevice

svn path=/trunk/; revision=17344

18 years agoAlways set a valid class Guid in CreateDeviceInfoElement
Hervé Poussineau [Fri, 12 Aug 2005 19:00:04 +0000 (19:00 +0000)]
Always set a valid class Guid in CreateDeviceInfoElement
Fix interfaces enumeration by not copying cbSize field (it should already be correct)

svn path=/trunk/; revision=17343

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 18:22:47 +0000 (18:22 +0000)]
Sync to Wine-20050725:
Thomas Weidenmueller <wine-patches@reactsoft.com>
- IsThemeDialogTextureEnabled should have one parameter to match the
  prototype in the official headers.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
Stefan Huehner <stefan@huehner.org>
- Make some function static.
- Fix -Wmissing-declarations warnings.
Frank Richter <frank.richter@gmail.com>
- Enable/disable "flat menus" based on the setting from the active
  theme.
- Have the theme INI file parsed upon theme activation and not just when
  the first theme data is requested; that way, the themed system colors
  are set correctly from the start, and not just after some theme data
  was requested.
- GetThemeBackgroundContentRect() does not use the content margins
  alone, it also falls back to the border size or sizing margins, and if
  it can't find any possible margins at all, it returns the original
  rectangle.
- Make dialog theme texture setting non-global (ie a per-window
  setting).
- Better viewport origin in DrawThemeParentBackground().
- OpenThemeData() now always sets the window theme to the handle
  returned (even if that is NULL) - previously, it could happen that
  when no theme was active or the theme data could not be opened that
  the window theme remained became then-dangling (and hence subsequent
  calls to GetWindowTheme() would return that bogus theme).
- Correct border rectangle drawing.
- Don't crash if NULL is passed as the class list to OpenThemeData().
- UXTHEME_LoadImage(): Set default image count to 1 to avoid division by
  zero in case image count property is not given. Properly support 0
  state IDs.
- Every window needs to receive WM_THEMECHANGED (esp. controls), so also
  send it to child windows.
- Changed the default transparent color in case none was explicitly
  specified from the upper left pixel color to magenta. Empirically
  gives better results.
- Write WCHAR strings to registry with correct size.
- Opening some theme class data now also increases the reference count
  of the theme file, so as long as theme class data is still opened
  somewhere, the theme file won't get freed. Otherwise, it could happen
  that invalid class data was used, which could lead to problems.

svn path=/trunk/; revision=17342

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 18:17:37 +0000 (18:17 +0000)]
Sync to Wine-20050725:
Felix Nawothnig <felix.nawothnig@t-online.de>
- Fix misuse of UrlCombineW.
Mike McCormack <mike@codeweavers.com>
- Fix -Wpointer-sign warnings.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- URLMonikerImpl_BindToStorage: Don't use a HeapAllocated pointer for
  other purposes.
- URLMonikerImpl_BindToStorage: Escape special characters.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Register protocols.
- Better module locking.
- Fix handling of pmkContext in CreateURLMoniker.

svn path=/trunk/; revision=17341

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 18:09:06 +0000 (18:09 +0000)]
Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17340

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 18:06:58 +0000 (18:06 +0000)]
Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- Interlocked LONG* gcc warning fixes.

svn path=/trunk/; revision=17339

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 18:04:51 +0000 (18:04 +0000)]
Sync to Wine-20050725:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initial support for the IPersistFolder3 interface.
- Use CP_UNIXCP instead of CP_ACP when converting paths (Pointed out by
  Troy Rollo).
- Add file type column in detailed shell view.
- Make the order of shell view columns 'prefix-compatible' with
  shfldr_fs.
- Don't remove filename extensions for path pidls in GetDisplayNameOf.
- Do filename postprocessing in GetDisplayNameOf (Hide filename
  extensions if appropriate).
- Don't cache child pidls in UnixFolder, but create them on the fly.
- Don't use unix filesystem specific attributes in UnixFolder's pidls.
- Partially implemented UnixFolder's ISFHelper::CopyItems method.
- Return correct HRESULT code in UnixFolder's IEnumIDList::Next.
- Corresponding test.
- Release shell folders only if they were successfully acquired.
- Implemented UnixFolder's ISFHelper::DeleteItems interface.
- Fail in SHGetDataFromIDList when called on special folder.
- Return correct attributes in ParseDisplayName.
- Register unixfs at desktop level in DllRegisterServer.
- Fix two more corner cases in UNIXFS_get_unix_path and UNIXFS_path_to_pidl.
- If the unixfs is rooted at the Desktop folder, forward
  ParseDisplayName calls to it instead of to MyComputer.
- Only initialize shell folders via the IPersistFolder3 interface in
  SHELL32_CoCreateInitSF if the pidl which specifies the child is of
  type 'Folder'. Otherwise fall back to IPersistFolder.
- Append filename extension if necessary in IShellFolder::SetNameOf.
- Release parent shell folder in GetAttributesOf.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Implement ShellDDEInit.
Michael Lin <mlin@corvu.com.au>
Michael Jung <mjung@iss.tu-darmstadt.de>
- Implemented UnixFolder's ISFHelper::AddFolder.
- ISFHelper interface support for UnixFolder (currently only stubs).
- Implemented UnixFolder's IShellFolder::SetNameOf.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Remove multiple declarations of the same function, keeping the public
  one as reference.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- -Wpointer-sign fixes.
Troy Rollo <wine@troy.rollo.name>
- Return attributes for the correct file in the unixfs ParseDisplayName.
- When using PATHMODE_UNIX, all files are in the file system.
Marcelo Duarte <marcelotduarte@gmail.com>
- Update shell32 resources for Portuguese.
Detlef Riekenberg <wine.dev@web.de>
- Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
  stub.
- Show the FIXME in Printer_LoadIconsW only when needed.
- Printer_LoadIconsW: implemented minimal version.

svn path=/trunk/; revision=17338

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:50:33 +0000 (17:50 +0000)]
Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Fix the NdrVaryingArrayUnmarshall prototype (reported by
  winapi_check).
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Add stubs for most of the NDR marshaling functions.
- IRpcStubBuffer_Disconnect can be called more than once.
Mike McCormack <mike@codeweavers.com>
- Interlocked LONG* gcc warning fixes.
Stefan Huehner <stefan@huehner.org>
- Fix -Wmissing-declarations warnings.
- Fix some missing-declarations warnings.

svn path=/trunk/; revision=17337

18 years agoXML chunks are required to contain a single node.
Emanuele Aliberti [Fri, 12 Aug 2005 17:43:23 +0000 (17:43 +0000)]
XML chunks are required to contain a single node.

svn path=/trunk/; revision=17336

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:41:40 +0000 (17:41 +0000)]
Sync to Wine-20050725:
Phil Krylov <phil@newstar.rinet.ru>
- Added some useful TRACEs.
- Allow NULL parameter for WM_SETTEXT in RichEdit.
- Implemented EM_LINELENGTH RichEdit message.
- Fixed EM_LINEINDEX handler and added EM_LINEFROMCHAR handler.
- Implemented EM_EXLINEFROMCHAR, EM_LINEINDEX, EM_FINDTEXT,
  EM_FINDTEXTW, EM_FINDTEXTEX, and EM_FINDTEXTEXW messages.
- Fixed a comment about EM_STREAMIN.
- Implemented EM_GETLINECOUNT RichEdit message.
- Fixed EM_GETCHARFORMAT for selection containing a single character.
- Fixed an off-by-one error in EM_GETLINECOUNT handler.
- Fixed an off-by-one error in EM_STREAMOUT handler for non-Unicode
  plain text output.
- Fixed another couple of EM_STREAMOUT bugs.
- Removed junk from UTF-8 RTF output.
- Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is
  being used. This emulation (introduced in M$ RichEdit 3.0) counts
  paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
- Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers.
- Added some missing but useful items to the TODO list.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Check structure size and fix return values in EM_GETCHARFORMAT.
Aric Stewart <aric@codeweavers.com>
- Implementation for EM_GETTEXTEX.
Daniel Remenak <dtremenak@gmail.com>
- Basic handling of EM_SETTEXTEX.
Stefan Huehner <stefan@huehner.org>
- Make functions static to fix -Wmissing-declarations warnings.
- Change some char* to const char* to fix warnigns.
- Make some function static.
- Fix -Wmissing-declarations warnings.

svn path=/trunk/; revision=17335

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:34:06 +0000 (17:34 +0000)]
Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17334

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:30:09 +0000 (17:30 +0000)]
Sync to Wine-20050725:
Huw Davies <huw@codeweavers.com> for Mandriva
- Cope with the index in a import table entry being a typeinfo index
  rather than a guid offset.
Robert Shearman <rob@codeweavers.com>
- Document active object and variant functions.
- Rename OLEAUT32_Dll* Functions to Dll*.
- IRpcStubBuffer_Disconnect can be called multiple times.
- Release TypeLib when freeing stub buffer.
- Fix confusion between number of characters and number of bytes in
  unmarshaling BSTRs. Convert it all to characters for consistency with
  the BSTR_User* routines.
- Marshal and unmarshal TKIND_ENUM and TKIND_ALIAS.
- Fix VT_BYREF|VT_UNKNOWN return values by comparing the correct value
  with VT_UNKNOWN and VT_DISPATCH.
- Better tracing.
- Return DISP_E_EXCEPTION from ITypeInfo_Invoke on an error in the
  called function.
- Remove RegisterTypeLib hack.
- Support VT_BYREF|VT_I4 in _copy_arg.
- Activate ITypeLib, ITypeInfo and IEnumVARIANT Marshalers.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Fix GIF palette allocation, by relying on ColorCount instead of
  SColorResolution.
- Ensure that underflowing negative float is represented as a positive
  0, just as native oleaut32.
Alexandre Julliard <julliard@winehq.org>
- Get rid of cursoricon.h.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- Interlocked LONG* gcc warning fixes.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wmissing-declarations warnings.
Robert Shearman <rob@codeweavers.com> for Mandriva
- Add a generic TYPEDESC VT to VARIANT VT mapper so we can use the
  standard Variant* routines. Use this new function to properly copy &
  de-reference the return value.
- Conversions between variants types of the same size should ignore
  overflows.
- Tests for this behaviour.

svn path=/trunk/; revision=17333

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:19:46 +0000 (17:19 +0000)]
Sync to Wine-20050725:
Robert Shearman <rob@codeweavers.com>
- Marshal return value from IRemUnknown_RemQueryInterface.
- We should be starting with 1 reference.
- IRpcStubBuffer_Disconnect can be called more than once.
- Silence now noisy error messages caused by changes in the way we call
  ipid_to_stubmanager. Move the error message to the one place it is
  needed.
- By-pass the RPC runtime if possible when calling an STA by posting a
  message directly to the apartment window for it to process. Fixes a
  deadlock in InstallShield caused by having to create a thread when
  freeing an object that comes from an STA apartment. Added tests that
  fail without this fix.
- Hack around broken state management so InstallShield works.
- Delete the stub manager outside of the apartment critical section
  because the deletion may require the object to re-enter the
  apartment.
- Always query for the correct stub interface, otherwise we will be
  pointing to the completely wrong object when a proxy does a
  queryinterface.
- Remove assumption that the stub buffer will handle the lifetime of
  the object.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Initialize RegisteredClass properly in CoRegisterClassObject to
  prevent crash in CoRevokeClassObject when accessing (uninitialized)
  pMarshalledData.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 -Wpointer-sign warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Added some documentation.
Stefan Huehner <stefan@huehner.org>
- Fix some missing-declarations warnings.
Marcus Meissner <meissner@suse.de>
- 16bit interfaces are cdecl, so drop the WINAPI.
- 16bit COM interfaces are cdecl, not WINAPI.
- OleInitializeWOW gets 2 arguments.
- Added OleSetMenuDescriptor16 stub.
Marcus Meissner <marcus@jet.franken.de>
- Implemented IsValidInterface16, CoMemAlloc.
  Added debug to HGLOBALLockBytes16_QueryInterface.

svn path=/trunk/; revision=17332

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 17:07:28 +0000 (17:07 +0000)]
Sync to Wine-20050725:
Robert Shearman <rob@codeweavers.com>
- In MsiLocateComponent pcchBuf can be NULL so don't try to dereference
  it.
Alexandre Julliard <julliard@winehq.org>
- Use the official names for the Unicode string constants.
Aric Stewart <aric@codeweavers.com>
- Implement MsiGetLanguage.
- Relocate the msi file to prevent cd locking, corrected to properly not
  try to relocated #nnnn handles as files.
- Use the SourceList functions to get the source path in
  ConfigureProductExW.
- Handle installs off multiple volumes and properly pull the prompt
  string from the error table.
- If MsiGetProperty(A/W) is called with a NULL for the value buffer but
  a value in the size for the value buffer, then Msi fills in the size
  of the value into the pointer for size.  This is tested and confirmed
  with native MSI.
- Bail out if the reg key is empty. This prevents us from writing
  garbage to the property table.
- Properly resize the buffer based on ERROR_MORE_DATA.
  Also remember to free the allocated buffer.
- Further testing shows that when CustomActionData needs to be blank it
  is an empty string not ' '.
- Correct an error where I was not properly advancing a pointer.
- Add source.c to start handling the various MsiSourceList apis used in
  v3 of MSI, and now internally.
- Update files.c to use the MsiSourceList apis to make sure our
  SourceList keys in the registry are included and correct.
- Use the strings defined in msi.h.
- Use SOURCEDIR instead of PackagePath. Because the PackagePath may be
  local, while SOURCEDIR is more proper and will be a full directory.
- InstallShield does a number of actions using DoAction before the
  Install starts so the PackageCode needs to be loaded on OpenPackage
  instead of the beginning of the install process.
- When working toward install on demand support we need to reset all the
  constant values so that multiple install process do not get confused
  by leftover values from the previous install.
- Fill and use the ProductCode part of the MSIPACKAGE structure.
- Add the string constants located in msi.h and make use of them in
  files.c and source.c.
- Keep track of what sequence we are in and register unique
  actions. This allows us to make sure actions and custom actions
  flagged to run only once, actually run only once.
- Also clean up some of the numeric constants in custom.c using the
  defined values from msidefs.h.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
- Display icons in buttons that have them.
- Use LoadImage to load bitmaps and icons.
- Set the initial focus on the control specified by Control_First in the
  Dialog table.
- Move to the next mask edit field when the current one becomes full.
- Make the tab order in msi dialogs right.
- Don't crash when cancelling out of a modeless dialog.
- Stop the install when cancelling from a modeless dialog.

svn path=/trunk/; revision=17331

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 16:59:41 +0000 (16:59 +0000)]
Sync to Wine-20050725:
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes (Reg* functions).

svn path=/trunk/; revision=17330

18 years agocheck for failure of vfatAttachFCBToFileObject() during file creation
Royce Mitchell III [Fri, 12 Aug 2005 16:49:04 +0000 (16:49 +0000)]
check for failure of vfatAttachFCBToFileObject() during file creation

svn path=/trunk/; revision=17328

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 16:47:29 +0000 (16:47 +0000)]
Sync to Wine-20050725:
Huw Davies <huw@codeweavers.com>
- Add English neutral version of IDS_COLOR_GRAY.
Eugeny Gorelov <tft@etersoft.ru>
- Implement most functionality of PageSetupDlg function.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Don't expand MyComputer in the file dialogs without user interaction,
  if unixfs is rooted at desktop.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resource files.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Remove multiple declarations of the same function, keeping the public
  one as reference.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
- Fix declarations.

svn path=/trunk/; revision=17327

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 16:31:56 +0000 (16:31 +0000)]
Sync to Wine-20050725:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Move DPA and DSA functions out of comctl32undoc.c as they are
  documented by now.
- Fix some DPA functions so they pass the new tests.
- Don't invalidate the whole propsheet when the page is switched.
Dimi Paun <dimi@lattica.com>
- Silence uninitialized warnings.
Robert Shearman <rob@codeweavers.com>
- Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
  structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
- Height is now calculated based on the number of rows, not on the
  bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
- TBSTATE_INDETERMINATE only takes effect if the button is enabled,
  otherwise it should just appear like any other disabled button.
- Native autosizes on inserting/adding buttons, so we should too.
- The IsValidImageList test is not needed because if it isn't a valid
  image list we will have set the bitmap width and height to 1 and it
  does the wrong thing when no buttons are present.
- The calculated button height should include the text height when no
  buttons are present.
- Handle CopyImage and other functions failing by not adding the icon
  and notifying the caller.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
- Support PSM_IDTOINDEX.
Aric Stewart <aric@codeweavers.com>
- When adding an image copy the full previous buffer.
- Implement replacing an icon with one from a resource.
Kevin Koltzau <kevin@plop.org>
- Forward some header notifications to parent of listview.
Frank Richter <frank.richter@gmail.com>
- Enabled "tab" dialog texture for property sheet pages.
- Add theming support for header controls.
- Use theming for the ListView non-client area.
- Let property sheets update the cached system colors upon receiving
  WM_SYSCOLORCHANGE.
- Add theming for the up/down control.

svn path=/trunk/; revision=17326

18 years agoMake the 'rosky' optional module compile.
Emanuele Aliberti [Fri, 12 Aug 2005 13:46:36 +0000 (13:46 +0000)]
Make the 'rosky' optional module compile.

svn path=/trunk/; revision=17325

18 years agoAdd 'rosky' module.
Emanuele Aliberti [Fri, 12 Aug 2005 12:31:33 +0000 (12:31 +0000)]
Add 'rosky' module.

svn path=/trunk/; revision=17324

18 years agoCSR Reloaded... well, split.
Emanuele Aliberti [Fri, 12 Aug 2005 12:22:02 +0000 (12:22 +0000)]
CSR Reloaded... well, split.
- almost do-nothing base source code for new CSR server DLLs host
- base source code for the core CSR server DLL 'csrsrv.dll' (server 0)
- base source code for the base WIN server DLL 'basesrv.dll' (server 1)
- base source code for the console+user WIN server DLL 'winsrv.dll' (servers 3 and 2)

NOTES
- At present, nothing works, but compilation is OK, sorry.
- The program is temporarily named 'csr.exe' to coexist with current monolithic 'csrss.exe'.
- Code, hints, suggestions, and migration plans welcome! (post 0.3)

svn path=/trunk/; revision=17323

18 years agoSet the process exit status.
Hartmut Birr [Fri, 12 Aug 2005 12:10:33 +0000 (12:10 +0000)]
Set the process exit status.

svn path=/trunk/; revision=17322