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
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
Emanuele Aliberti [Sat, 13 Aug 2005 12:33:04 +0000 (12:33 +0000)]
Minor changes.
svn path=/trunk/; revision=17361
Emanuele Aliberti [Sat, 13 Aug 2005 12:25:16 +0000 (12:25 +0000)]
Make 'rosapps' module build.
svn path=/trunk/; revision=17360
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
Hartmut Birr [Fri, 12 Aug 2005 23:35:14 +0000 (23:35 +0000)]
Fixed _WINBASE_/_WINBASE_H
svn path=/trunk/; revision=17358
Aleksey Bragin [Fri, 12 Aug 2005 21:01:32 +0000 (21:01 +0000)]
Correct include tree, fixing multiple defines.
svn path=/trunk/; revision=17355
Emanuele Aliberti [Fri, 12 Aug 2005 20:57:26 +0000 (20:57 +0000)]
Correct version info.
svn path=/trunk/; revision=17354
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
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
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
Aleksey Bragin [Fri, 12 Aug 2005 20:11:56 +0000 (20:11 +0000)]
removed debug message about submitting urb
svn path=/trunk/; revision=17350
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
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
Emanuele Aliberti [Fri, 12 Aug 2005 19:15:01 +0000 (19:15 +0000)]
Correct the version info.
svn path=/trunk/; revision=17347
Gé van Geldorp [Fri, 12 Aug 2005 19:08:45 +0000 (19:08 +0000)]
Update status
svn path=/trunk/; revision=17345
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Emanuele Aliberti [Fri, 12 Aug 2005 13:46:36 +0000 (13:46 +0000)]
Make the 'rosky' optional module compile.
svn path=/trunk/; revision=17325
Emanuele Aliberti [Fri, 12 Aug 2005 12:31:33 +0000 (12:31 +0000)]
Add 'rosky' module.
svn path=/trunk/; revision=17324
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
Hartmut Birr [Fri, 12 Aug 2005 12:10:33 +0000 (12:10 +0000)]
Set the process exit status.
svn path=/trunk/; revision=17322
Hartmut Birr [Thu, 11 Aug 2005 21:56:28 +0000 (21:56 +0000)]
Fixed compilation.
svn path=/trunk/; revision=17321
Emanuele Aliberti [Thu, 11 Aug 2005 21:46:37 +0000 (21:46 +0000)]
Minor changes to some API signatures.
svn path=/trunk/; revision=17320
Hervé Poussineau [Thu, 11 Aug 2005 21:29:37 +0000 (21:29 +0000)]
Input parameter in FSCTL_GET_RETRIEVAL_POINTERS is really a STARTING_VCN_INPUT_BUFFER structure (even if it contains only a LARGE_INTEGER)
svn path=/trunk/; revision=17319
Hervé Poussineau [Thu, 11 Aug 2005 21:25:28 +0000 (21:25 +0000)]
BYTE -> UCHAR. Thanks Alex
svn path=/trunk/; revision=17318
Hervé Poussineau [Thu, 11 Aug 2005 21:20:42 +0000 (21:20 +0000)]
Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures
Remove #pragma pack/pop around RETRIEVAL_POINTERS_BUFFER as it should be standard-packed according to Alex.
svn path=/trunk/; revision=17317
Gé van Geldorp [Thu, 11 Aug 2005 21:09:56 +0000 (21:09 +0000)]
Revert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes
bug 697
svn path=/trunk/; revision=17316
Filip Navara [Thu, 11 Aug 2005 20:48:55 +0000 (20:48 +0000)]
Implement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx.
svn path=/trunk/; revision=17315
Hartmut Birr [Thu, 11 Aug 2005 20:48:55 +0000 (20:48 +0000)]
Replaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H.
svn path=/trunk/; revision=17314
Eric Kohl [Thu, 11 Aug 2005 20:45:41 +0000 (20:45 +0000)]
The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory.
svn path=/trunk/; revision=17313
Hartmut Birr [Thu, 11 Aug 2005 20:44:04 +0000 (20:44 +0000)]
Moved the pragma to the correct position.
svn path=/trunk/; revision=17312
Emanuele Aliberti [Thu, 11 Aug 2005 20:43:24 +0000 (20:43 +0000)]
A more likely demo VMS server (it should not block, because it is chain-called from the listenig thread in csrsrv.dll.
svn path=/trunk/; revision=17311
Hartmut Birr [Thu, 11 Aug 2005 20:41:20 +0000 (20:41 +0000)]
Use GetLocalTime instead of GetSystemTime.
svn path=/trunk/; revision=17310
Hartmut Birr [Thu, 11 Aug 2005 20:39:28 +0000 (20:39 +0000)]
Don't query on batch files.
svn path=/trunk/; revision=17309
Hartmut Birr [Thu, 11 Aug 2005 20:37:09 +0000 (20:37 +0000)]
Clear the memory after we know that the buffer was allocated.
svn path=/trunk/; revision=17308
Hartmut Birr [Thu, 11 Aug 2005 20:35:00 +0000 (20:35 +0000)]
- Implemented MEMORY_AREA_PEB_OR_TEB and MEMORY_AREA_PAGED_POOL for MiQueryVirtualMemory.
- Fixed the range check in ProbeForRead and ProbeForWrite.
svn path=/trunk/; revision=17307
Hartmut Birr [Thu, 11 Aug 2005 20:29:08 +0000 (20:29 +0000)]
- Removed the hole pool allocation, because it needs to much memory and ros will not boot.
- Allocate short blocks in one page.
- Split the used and free header. It makes it easier to implement a red zone check.
svn path=/trunk/; revision=17306
Hartmut Birr [Thu, 11 Aug 2005 20:23:13 +0000 (20:23 +0000)]
Fixed a debug message.
svn path=/trunk/; revision=17305
Hartmut Birr [Thu, 11 Aug 2005 20:18:24 +0000 (20:18 +0000)]
Reenabled a debug message.
svn path=/trunk/; revision=17304
Hartmut Birr [Thu, 11 Aug 2005 20:16:03 +0000 (20:16 +0000)]
Implemented (copied from NdisAllocatePacketPool) NdisAllocatePacketPoolEx.
svn path=/trunk/; revision=17303
Hervé Poussineau [Thu, 11 Aug 2005 20:13:26 +0000 (20:13 +0000)]
Remove debug output and some useless code
Replace false by FALSE
svn path=/trunk/; revision=17302
Hervé Poussineau [Thu, 11 Aug 2005 20:13:16 +0000 (20:13 +0000)]
Add DIF_* codes 40 to 42.
Reformat the whole list to align values
svn path=/trunk/; revision=17301
Hervé Poussineau [Thu, 11 Aug 2005 20:13:06 +0000 (20:13 +0000)]
Move usb controllers and cdrom classes parameters to their own .inf files. They would be regenerated during 2nd stage setup
Fix a typo in mouse.inf
svn path=/trunk/; revision=17300
Hartmut Birr [Thu, 11 Aug 2005 19:52:33 +0000 (19:52 +0000)]
Initialized the cnt value of the file structure.
svn path=/trunk/; revision=17299
Hartmut Birr [Thu, 11 Aug 2005 19:49:47 +0000 (19:49 +0000)]
Defined DbgPrint.
svn path=/trunk/; revision=17298
Hartmut Birr [Thu, 11 Aug 2005 19:46:39 +0000 (19:46 +0000)]
Fixed the loading of the global flag.
svn path=/trunk/; revision=17297
Hartmut Birr [Thu, 11 Aug 2005 19:44:36 +0000 (19:44 +0000)]
- Open the BaseNamedObjects directory case insensitive.
- Interpret INVALID_HANDLE_VALUE for the console handle as NULL.
svn path=/trunk/; revision=17296
Hartmut Birr [Thu, 11 Aug 2005 19:37:29 +0000 (19:37 +0000)]
Honour the inheritance of a handle if it would be duplicated or opened.
svn path=/trunk/; revision=17295
Hartmut Birr [Thu, 11 Aug 2005 19:32:02 +0000 (19:32 +0000)]
Call the registered exit functions if the dll is unloaded.
svn path=/trunk/; revision=17294
Hartmut Birr [Thu, 11 Aug 2005 19:11:17 +0000 (19:11 +0000)]
Fixed some problems if special parameters are delivered like SL_RESTART_SCAN, SL_INDEX_SPECIFIED or SL_RETURN_SINGLE_ENTRY.
svn path=/trunk/; revision=17293
Hartmut Birr [Thu, 11 Aug 2005 19:07:11 +0000 (19:07 +0000)]
Implemented IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsDeviceInformation. Msvcrt needs to detect the device type.
svn path=/trunk/; revision=17292
Hartmut Birr [Thu, 11 Aug 2005 19:02:31 +0000 (19:02 +0000)]
Reimplemented FindFirstFileEx and removed some overhead.
svn path=/trunk/; revision=17291
Gé van Geldorp [Thu, 11 Aug 2005 18:49:40 +0000 (18:49 +0000)]
Sync to Wine-
20050725:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Gerold Jens Wucherpfennig <gjwucherpfennig@gmx.net>
- Support for big-endian systems.
- The fci_get_little_endian... and fci_set_little_endian... functions
don't really set and unset little endianes, they do the same thing:
merely swapping bytes from one endianes to the other.
Stefan Huehner <stefan@huehner.org>
- Make some function static.
- Fix some more -Wmissing-declarations warnings.
svn path=/trunk/; revision=17290
Casper Hornstrup [Thu, 11 Aug 2005 17:41:30 +0000 (17:41 +0000)]
Ignore .svn folders
svn path=/trunk/; revision=17289
Steven Edwards [Thu, 11 Aug 2005 17:27:13 +0000 (17:27 +0000)]
remove ros specific functions from public header
svn path=/trunk/; revision=17288
Andrew Munger [Thu, 11 Aug 2005 15:55:25 +0000 (15:55 +0000)]
Added TimeOut to the correct section, removed ion's 12148 incorrect addition. 10 second default.
svn path=/trunk/; revision=17287
Gé van Geldorp [Thu, 11 Aug 2005 15:10:01 +0000 (15:10 +0000)]
Alexandre Julliard <julliard@winehq.org>
- Added support for HTML resource type.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Stefan Huehner <stefan@huehner.org>
- Fix some -Wsign-compare warnings.
Jacek Caban <jack@itma.pwr.wroc.pl>
- '.' is a valid char of tIDENT.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.
svn path=/trunk/; revision=17286
Emanuele Aliberti [Thu, 11 Aug 2005 12:23:51 +0000 (12:23 +0000)]
Cleanup.
svn path=/trunk/; revision=17285
Emanuele Aliberti [Thu, 11 Aug 2005 11:52:40 +0000 (11:52 +0000)]
VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.
svn path=/trunk/; revision=17284
Emanuele Aliberti [Thu, 11 Aug 2005 11:49:36 +0000 (11:49 +0000)]
Modify CsrAddStaticServerThread signature.
svn path=/trunk/; revision=17283
Emanuele Aliberti [Thu, 11 Aug 2005 09:19:10 +0000 (09:19 +0000)]
Fix HEAD compilation.
LPC_MESSAGE.DataSize ==> PORT_MESSAGE.u1.s1.DataLength
LPC_MESSAGE.MessageSize ==> PORT.u1.s1.TotalLength
svn path=/trunk/; revision=17282
Emanuele Aliberti [Thu, 11 Aug 2005 09:07:48 +0000 (09:07 +0000)]
Emit Win32 error messages on failure.
svn path=/trunk/; revision=17281
Emanuele Aliberti [Thu, 11 Aug 2005 09:01:30 +0000 (09:01 +0000)]
LPC_MESSAGE.MessageType ==> PORT_MESSAGE.u2.s2.Type
Make head copmpile.
svn path=/trunk/; revision=17280
Emanuele Aliberti [Thu, 11 Aug 2005 08:46:57 +0000 (08:46 +0000)]
First attempt to convert the VMS demo server.
Note: it does NOT work.
svn path=/trunk/; revision=17279
Emanuele Aliberti [Thu, 11 Aug 2005 07:13:03 +0000 (07:13 +0000)]
Some guessing on the API used by server DLLs.
svn path=/trunk/; revision=17278
Alex Ionescu [Thu, 11 Aug 2005 03:23:44 +0000 (03:23 +0000)]
- Use correct, documented, LPC Message structures (PORT_VIEW, REMOTE_PORT_VIEW). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17277
Steven Edwards [Thu, 11 Aug 2005 03:15:17 +0000 (03:15 +0000)]
TrackMoveEvent is a semi-implemented not UNIMPLEMENTED. Shut it up.
svn path=/trunk/; revision=17276
Alex Ionescu [Thu, 11 Aug 2005 02:58:54 +0000 (02:58 +0000)]
- Use correct, documented, LPC Message structure (PORT_MESSAGE). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17275
Royce Mitchell III [Thu, 11 Aug 2005 02:51:51 +0000 (02:51 +0000)]
initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.
svn path=/trunk/; revision=17274
Alex Ionescu [Thu, 11 Aug 2005 01:18:22 +0000 (01:18 +0000)]
Move doc folder to media
svn path=/trunk/; revision=17273
Alex Ionescu [Thu, 11 Aug 2005 00:01:17 +0000 (00:01 +0000)]
- Fix DEVICE_NODE definition to remove ROS-only fields
- Move RTL_HEAP_PARAMETERS to umtypes.h
- Fix PROCESS_PRIORITY_CLASS_XXX definitions.
- Use PROCESS_PRIORITY_CLASS_INVALID in process creation code.
- Move and correct EX_PUSH_LOCK definition to ntifs.h
- Define KQUEUE along with KAPC_STATE if ntifs.h is not used, so that we don't force its usage
- Enable usage of EX_QUEUE_WORKER_INFO and EX_WORK_QUEUE without requiring the IFS.
- Fix definition of CsrClientConnectToServer
- Update NDK FIXME list
- Define and use a list of Bus Type GUIDs instead of saving the GUID in a ROS-only field of DEVICE_NODE.
- Use a IRP_MN_QUERY_CAPABILITIES PnP IRP to get the Address of a DeviceNode, intead of saving it inside a ROS-only field.
svn path=/trunk/; revision=17272
Gé van Geldorp [Wed, 10 Aug 2005 22:15:12 +0000 (22:15 +0000)]
Phil Krylov <phil@newstar.rinet.ru>
- Fixed winebuild operation in Darwin.
Steve Zellers <zellers@mac.com>
- Fixed leftover import table name in output_import_thunk.
Alexandre Julliard <julliard@winehq.org>
- Replace configure macros by explicit platform checks (probably not
correct on all platforms yet).
- Moved most of the implementation of CALL32_CBClient(Ex) to the C
code.
- Don't use the full 32 bits of %esp when called from 16-bit code.
- Added a --target option to allow cross-compilation.
- Improve a bit the assembly generated for import thunks.
- Don't depend on ELF features for PIC code.
- A couple of optimizations.
- Intercept functions for 16-bit relay debugging by patching the
CALLFROM16 table instead of having the wine_call_from_16 functions
call out the relay functions explicitly.
- Added vararg argument type so that the relay code can distinguish from
a normal cdecl function.
- Don't rely on the relay thunk preserving the stack pointer.
- Moved all 16-bit relay code to the text section.
- Changed a few symbol names for better consistency.
- Get rid of the global debugging flag.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.
svn path=/trunk/; revision=17271
Emanuele Aliberti [Wed, 10 Aug 2005 21:09:05 +0000 (21:09 +0000)]
Minor change in two strings.
svn path=/trunk/; revision=17270
Steven Edwards [Wed, 10 Aug 2005 20:58:29 +0000 (20:58 +0000)]
enable building shell32_test. some header fixes
svn path=/trunk/; revision=17269
Steven Edwards [Wed, 10 Aug 2005 20:35:15 +0000 (20:35 +0000)]
added shell32 tests. Not enabled just yet
svn path=/trunk/; revision=17268
Gunnar Dalsnes [Wed, 10 Aug 2005 19:19:13 +0000 (19:19 +0000)]
move WM_SYSTIMER where it belongs
svn path=/trunk/; revision=17265
Gunnar Dalsnes [Wed, 10 Aug 2005 18:42:27 +0000 (18:42 +0000)]
add missing define
svn path=/trunk/; revision=17264
Magnus Olsen [Wed, 10 Aug 2005 18:10:45 +0000 (18:10 +0000)]
Windows 2000 does not always zerofill data if you are using heap_zero fill. to be 100% sure everything are zero fill, we need zerofil the whole object before instate
svn path=/trunk/; revision=17263
Gunnar Dalsnes [Wed, 10 Aug 2005 18:09:44 +0000 (18:09 +0000)]
move W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs
svn path=/trunk/; revision=17262
Hartmut Birr [Wed, 10 Aug 2005 17:49:57 +0000 (17:49 +0000)]
Fixed the base detection in RtlUnicodeStringToInteger again.
svn path=/trunk/; revision=17261
Gunnar Dalsnes [Wed, 10 Aug 2005 17:48:13 +0000 (17:48 +0000)]
fix horribly broken ftol. this fixes abiword 2.0.3
svn path=/trunk/; revision=17260
Royce Mitchell III [Wed, 10 Aug 2005 17:19:13 +0000 (17:19 +0000)]
registry entries to install .inf files. No clue if this is correct.
svn path=/trunk/; revision=17259
Aleksey Bragin [Wed, 10 Aug 2005 16:33:49 +0000 (16:33 +0000)]
Fixed a typo. According to the url pointed out by Royce3, it's right ( osronline.com/lists_archive/ntdev/thread1866.html)
svn path=/trunk/; revision=17258