Commit Graph

32257 Commits

Author SHA1 Message Date
Timo Kreuzer
dcae209a08 Change DC and DC_ATTR members from MATRIX_S and EFLOAT_S, which are explicit fpu emulation types, instead use MATRIX and FLOATOBJ which are the class types. Plug in new FLOATOBJ api and remove old fpu using version. Implement XFORMOBJ api using FLOATOBJ. Remove most of the fpu using code from win32k.
svn path=/trunk/; revision=35779
2008-08-30 01:01:52 +00:00
Eric Kohl
46cc92b9b6 QueryServiceConfig2A/W: Add more parameter checks. Fixes 3 winetest failures.
svn path=/trunk/; revision=35770
2008-08-29 22:31:54 +00:00
Hervé Poussineau
c1f3e0fa1c win32k: Add tags when allocating memory
ntoskrnl: Relax checks when freeing a string

svn path=/trunk/; revision=35769
2008-08-29 21:19:41 +00:00
Eric Kohl
f10a1a9c4d Forgot to commit this file too!
Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.

svn path=/trunk/; revision=35768
2008-08-29 20:44:40 +00:00
Eric Kohl
36e3b2153e - Add a reference counter to the service record.
- Implement a common service record delete function.
- RCloseServiceHandle: Remove a service if it has been marked for deletion and the reference counter reaches 0.
- RControlService: Stop a service only if there are no dependent services running.
 
 
Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.


svn path=/trunk/; revision=35767
2008-08-29 20:43:12 +00:00
Aleksey Bragin
78adf1b7db Gregor Schneider <grschneider@gmail.com>
- Only pad with zeroes if padding requested.
- Show signs for floating point numbers without checking for SIGN type (since there is no unsigned float/double).
See issue #3587 for more details.

svn path=/trunk/; revision=35764
2008-08-29 18:57:31 +00:00
Johannes Anderwald
7f5edc03e3 - Activate INetConnection::GetProperties code
- Import from ncpa properties and status dialog
- Implement INetConnectionProperty interface
- Fix a bug & handle leak in registering code
- Implement NcFreeNetconProperties
- Make resources of netshell to be similar of Windows XP to allow netshell to be loaded
- Add NCF constants from ncpa
- Implement enumerating control/protocol and devices - items dont appear for some unknown reason
- Load property dialog in the same way like Windows (using INetConnectionProperty) interface

svn path=/trunk/; revision=35760
2008-08-29 14:18:55 +00:00
Johannes Anderwald
86fffd0e4a - add INetConnectionProperty interface
svn path=/trunk/; revision=35759
2008-08-29 14:12:34 +00:00
Johannes Anderwald
af96ae0aed - add INetConnectionPropertyUi iid
svn path=/trunk/; revision=35758
2008-08-29 14:12:01 +00:00
Eric Kohl
8e4fa83a87 [FORMATTING] No code changes.
svn path=/trunk/; revision=35756
2008-08-29 13:08:03 +00:00
Eric Kohl
9bde3fcc59 - RCreateServiceW:
- Add more parameter checks.
  - Set the services "ObjectName" value to "LocalSystem" if it doesn't have a name.
- REnumServicesStatusW: Simplify it a little.

svn path=/trunk/; revision=35755
2008-08-29 12:59:27 +00:00
Eric Kohl
d5efa7522b Implement REnumDependentServicesA/W.
Patch is based on bug report #3669 by bugboy <martinmnet@hotmail.com>

svn path=/trunk/; revision=35753
2008-08-29 11:56:39 +00:00
Eric Kohl
532fd2c7b0 - QueryServiceConfig2A/W: Fail if lpBuffer is NULL but cbBufSize is not 0.
- RChangeServiceConfigW: Update the display name if it has been changed.
- RQueryServiceConfigW: Return pointers to empty strings instead of NULL pointers if information is not available.
- RQueryServiceConfig2W: Fail if lpBuffer is NULL.
- Implement RChangeServiceConfigA, RQueryServiceConfigA and RQueryServiceConfig2A.

Patch is based on bug report #3669 by bugboy <marinmnet@hotmail.com>.

svn path=/trunk/; revision=35752
2008-08-29 11:15:53 +00:00
Eric Kohl
e2a4d8be51 - ScmCreateManagerHandle: Fail on invalid database names.
- ROpenServiceW: Fail if lpServiceName is NULL.
- ROpenServiceA: Don't pass an empty string to ROpenServiceW if lpServiceName is NULL. Use NULL instead.

This patch is based on bug report #3669 by bugboy <martinmnet@hotmail.com>.

svn path=/trunk/; revision=35750
2008-08-29 10:34:23 +00:00
Eric Kohl
b1d48577f8 - GetServiceDisplayNameA/W and GetServiceKeyNameA/W: Fix returned name size.
- RGetServiceDisplayNameW: Return the service name if the display name is not available.
- Implement RGetServiceDisplayNameA and RGetServiceKeyNameA.

svn path=/trunk/; revision=35748
2008-08-29 10:01:06 +00:00
Thomas Bluemel
71189715c9 Fix warning that variable might be used uninitialized
svn path=/trunk/; revision=35735
2008-08-28 23:47:23 +00:00
Cameron Gutman
56968e5d6f - Merge aicom-network-fixes up to r35714
svn path=/trunk/; revision=35734
2008-08-28 23:21:05 +00:00
Aleksey Bragin
de3ef9b823 - Use CmpCompressedNameSize to obtain the compressed name length (I'll convert the other part of the routine to use CmpCopyCompressedName later, instead of assuming the current way of things).
- Fix incorrect freeing of a buffer returned by a call to CmpConstructName (spotted by Stefan Ginsberg).
- Changes in a couple of comments for better description, and a couple of 80col exceeders fixed.

svn path=/trunk/; revision=35732
2008-08-28 15:37:57 +00:00
Pierre Schweitzer
aa17a34237 Sorry, I committed stuff I shouldn't
svn path=/trunk/; revision=35731
2008-08-28 11:55:35 +00:00
Pierre Schweitzer
d1d5f6306d - Added a base address for netshell.dll
- Relocated imm32.dll

svn path=/trunk/; revision=35730
2008-08-28 11:50:29 +00:00
Pierre Schweitzer
687df0212a Synced riched20_winetest, riched32_winetest with Wine HEAD
svn path=/trunk/; revision=35729
2008-08-28 10:54:35 +00:00
Pierre Schweitzer
f381a715d2 Synced riched20 with Wine HEAD
svn path=/trunk/; revision=35728
2008-08-28 10:43:26 +00:00
Aleksey Bragin
dea8ec1229 - Implement CmpConstructName (builds a full name of the given key).
- Fix freeing of the buffer returned by CmpConstructName in CmpQueryKeyName routine.
- Fixes bug 3616 and related query-routines.
See issue #3616 for more details.

svn path=/trunk/; revision=35727
2008-08-28 10:16:48 +00:00
Aleksey Bragin
a66715b036 - Put netshell.dll on the bootcd.
svn path=/trunk/; revision=35725
2008-08-28 09:12:09 +00:00
Dmitry Chapyshev
65fd9f9e94 - Add Russian translation
svn path=/trunk/; revision=35721
2008-08-28 05:32:31 +00:00
Johannes Anderwald
f5852bccf9 - Add Items to Connection ShellFolder Item Context Menu
- Are not yet handled

svn path=/trunk/; revision=35719
2008-08-28 03:52:51 +00:00
Johannes Anderwald
5ea699faeb - Use CoTaskMemAlloc / CoTaskMemFree for memory de-allocation
- Implement INetConnectionManager, IEnumNetConnection, INetConnection interface for CLSID_ConnectionManager
- Refactor Network Connections Shell Folder enumeration code to use the now available COM functionality

svn path=/trunk/; revision=35718
2008-08-28 02:57:10 +00:00
Johannes Anderwald
f346cab83f - Add netcon header
svn path=/trunk/; revision=35717
2008-08-28 00:07:30 +00:00
Johannes Anderwald
4a322aacc7 - Add IIDs and CLSID for netshell
svn path=/trunk/; revision=35716
2008-08-28 00:03:28 +00:00
Timo Kreuzer
7191a6d896 Merge MMerge 34969 from ros-amd64-bringup branch:
- Fix parameter types of NtQuery/SetSystemInformation, ExInitialize(N)PagedLookasideList, KeBugCheckWithTf, IoGetstackLimits
- Use ALIGN_UP_POINTER for a pointer
- Fix pointer to ULONG cast

svn path=/trunk/; revision=35715
2008-08-27 22:40:17 +00:00
Timo Kreuzer
50eb47c31e MMerge 34827 from ros-amd64-bringup branch:
- fix parameter types of NtAllocateVirtualMemory and NtFreeVirtualMemory

svn path=/trunk/; revision=35713
2008-08-27 20:56:16 +00:00
Timo Kreuzer
89d2d4d5bc Merge 34714, 34716, 34718, 34720 from ros-amd64-bringup branch:
recyclebin: DWORD -> SIZE_T and SIZE_T -> DWORD
rtl:
- cast AtomName to ULONG_PTR instead of ULONG
- RtlQueryProcessdebugInformation(): cast teb->ClientId.UniqueProcess to ULONG_PTR for assignment to Pid.
- vs(w)nprintf: cast argument to ULONG_PTR instead of unsigned long for a %p
crt:
- int -> intptr_t
- unsigned long -> uintptr_t
- #undef _MINGW_IMPORT in ctype.c, to avoid warnings
scrnsafe: rename _toul to _toulptr and make it return an ULONG_PTR

svn path=/trunk/; revision=35712
2008-08-27 20:27:32 +00:00
Colin Finck
55c1fbf585 Add the "wine" include directory for the user32 Wine test and remove ROS-specific additions to some files.
Fixes the user32_winetest and thus rostests build under Unix.

svn path=/trunk/; revision=35711
2008-08-27 20:10:45 +00:00
Stefan Ginsberg
9112574303 - Make cmlibhost compile warning free
- Slight reordering of cmlib.h (by Colin Finck)

svn path=/trunk/; revision=35709
2008-08-27 17:54:27 +00:00
Johannes Anderwald
9e68eda05b - Fix build
svn path=/trunk/; revision=35708
2008-08-27 17:27:25 +00:00
Johannes Anderwald
f971e1392e - Start Implementing Network Connections ShellFolder
svn path=/trunk/; revision=35707
2008-08-27 17:18:25 +00:00
Aleksey Bragin
ac962ebea4 - Implement CmpQueryKeyName as a wrapper around CmpConstructName helper function (which is stubbed now).
svn path=/trunk/; revision=35705
2008-08-27 15:55:32 +00:00
Johannes Anderwald
0a12af7eab - Add constants
svn path=/trunk/; revision=35700
2008-08-27 15:19:40 +00:00
Jeffrey Morlan
0346f58af5 Fix StretchBlt ugliness in qemu. Patch by grschneider.
svn path=/trunk/; revision=35699
2008-08-27 14:47:49 +00:00
Timo Kreuzer
57164f6854 Merge 34717 from ros-amd64-bringup branch:
- Fix prototypes of _findfirst, _findnext, _findclose, _findfirsti64, _findnexti64 _wfindfirst, _wfindnext, _wfindfirst64, _wfindnext64, strndup, 
- Fix a number of pointer to int casts

svn path=/trunk/; revision=35695
2008-08-27 03:59:24 +00:00
Johannes Anderwald
9a1009363b - Revert 35686
- NetworkConnections is implemented in netshell.dll

svn path=/trunk/; revision=35688
2008-08-26 22:35:44 +00:00
Johannes Anderwald
d7a196cf95 - Start implementing Network Connections Shell Folder
- Rename cpanelfolder to shfldr_cpanel
- Implement _ILIsNetConnect, ILCreateNetConnect

svn path=/trunk/; revision=35686
2008-08-26 21:29:55 +00:00
Jeffrey Morlan
6c2116d0cf - Implement call :label by creating a new batch context; this way calls can be nested and have their own %0-%9 parameters.
- GetBatchVar: Implement %~n. Remove %? (an old FreeDOS-ism; the Windows equivalent is %ERRORLEVEL%)

svn path=/trunk/; revision=35681
2008-08-26 20:36:38 +00:00
Johannes Anderwald
317fe611cb Copied remotely
svn path=/trunk/; revision=35680
2008-08-26 19:48:08 +00:00
Jeffrey Morlan
75122e2228 cmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any '%' characters in it.
svn path=/trunk/; revision=35679
2008-08-26 19:07:23 +00:00
Aleksey Bragin
eae188745b - Move fdiv pentium bug function stubs to another file.
- Exclude platform-independent CI math function stubs when compiling x86 target. Should finally fix bug 1255.
See issue #1255 for more details.

svn path=/trunk/; revision=35677
2008-08-26 17:21:02 +00:00
Johannes Anderwald
e42ce04145 - Fix executing item which was broken in last revision
svn path=/trunk/; revision=35676
2008-08-26 16:27:40 +00:00
Johannes Anderwald
33a2cd56f6 - Readd undocumented constants as commdlg needs them
svn path=/trunk/; revision=35675
2008-08-26 16:01:13 +00:00
Johannes Anderwald
07d2758056 shell32 update (1/2)
- Use precompiled headers for shell32
- Use __inline for MSVC compability
- Fix api definitions of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- msvc now compiles nearly all of shell32 (with WDK headers)

svn path=/trunk/; revision=35674
2008-08-26 15:50:23 +00:00
Johannes Anderwald
050ca45f90 shell32 update (1/2)
- The Fonts Shell Folder && Admin Shell Folder GUID is not documented in shlguid.h
- Fix api declaration of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- Fix EXP_DARWIN_LINK && OPENASINFO structure
- Remove CSIDL_FOLDER_MASK undocumented shellview ids

svn path=/trunk/; revision=35673
2008-08-26 15:50:17 +00:00