Commit graph

33090 commits

Author SHA1 Message Date
KJK::Hyperion f60c12e03a The original GetTextFaceW implementation (r28730) was right all along, except GDI APIs don't usually set the last error (GetTextFaceW doesn't). The conditional was non-intuitive but nevertheless correct (tested under Windows Vista SP1). This commit negates the conditional (the AND form is more readable) and switches the "if" branches, and removes the call to SetLastError. If Coverity really flagged this, it could mean the bug is actually in NtGdiGetTextFaceW
svn path=/trunk/; revision=36776
2008-10-16 23:49:31 +00:00
Stefan Ginsberg a8052c7bb2 - More correct check for GetTextFaceW
svn path=/trunk/; revision=36775
2008-10-16 20:21:00 +00:00
Timo Kreuzer 2f5ea4625b Tests for GetTextFace
svn path=/trunk/; revision=36774
2008-10-16 20:16:38 +00:00
Stefan Ginsberg 6e6e3d15c7 - Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
svn path=/trunk/; revision=36773
2008-10-16 20:02:22 +00:00
Timo Kreuzer 1d3e8f7e54 CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.
svn path=/trunk/; revision=36772
2008-10-16 19:07:28 +00:00
Timo Kreuzer d13301ae65 Win32 structure cleanup part 1 / x:
- replace W32THREAD with THREADINFO, define W32THREAD like it's on Windows and make it part of THREADINFO.

svn path=/trunk/; revision=36769
2008-10-16 17:52:38 +00:00
Timo Kreuzer 837002ff59 Change return type of PsGetCurrentThreadWin32Thread to PVOID. Kernel don't know 'bout W32THREAD!
svn path=/trunk/; revision=36768
2008-10-16 17:21:08 +00:00
Gregor Schneider 5c169cc017 No need to unlock, if locking failed. Fixes CID 186.
svn path=/trunk/; revision=36767
2008-10-16 17:12:25 +00:00
KJK::Hyperion 55c21fd29a modified rbuild/backend/codeblocks/codeblocks.cpp
modified   rbuild/backend/mingw/modulehandler.cpp
modified   rbuild/backend/msbuild/msbuild.cpp
modified   rbuild/backend/msvc/vcprojmaker.cpp
modified   rbuild/project.cpp
modified   rbuild/rbuild.h
   Index properties and modules by name.
   Should make for faster lookups and slightly faster overall execution, no idea exactly by how much but there you have it.

modified   rbuild/automaticdependency.cpp
modified   rbuild/backend/dependencymap/dependencymap.cpp
modified   rbuild/backend/devcpp/devcpp.cpp
modified   rbuild/backend/mingw/mingw.cpp
modified   rbuild/backend/mingw/proxymakefile.cpp
modified   rbuild/backend/msvc/msvc.cpp
modified   rbuild/backend/msvc/msvcmaker.cpp
modified   rbuild/backend/versionreport/versionreport.cpp
modified   rbuild/compilationunitsupportcode.cpp
modified   rbuild/module.cpp
modified   rbuild/pch.h
modified   rbuild/syssetupgenerator.cpp
modified   rbuild/testsupportcode.cpp
   Fix compilation, no functional changes

This dedication committed to Casper and Hervé

svn path=/trunk/; revision=36766
2008-10-16 13:40:39 +00:00
Kamil Hornicek 241074220b - remove dead code, fixes CID 60, CID 61
svn path=/trunk/; revision=36765
2008-10-16 08:50:56 +00:00
Kamil Hornicek 4e58a2eaca don't loop (UINT)-1 times if the section is not present, CID 445
svn path=/trunk/; revision=36764
2008-10-15 18:59:47 +00:00
Kamil Hornicek 149add092a remove unneeded check, it's ok to create new context in this case
svn path=/trunk/; revision=36763
2008-10-15 18:39:04 +00:00
Johannes Anderwald fa0cd2cd47 - Implement Advanced Status IP Information Dialog
- Import language strings from netcfgx
- Add icon group (32x32)
- ncpa is now a candidate for deletion

svn path=/trunk/; revision=36762
2008-10-15 17:20:55 +00:00
KJK::Hyperion 427c90af34 added lib/rtl/rtl-common.rbuild
modified   lib/rtl/rtl.rbuild
   Compile rtl twice, as rtl_umode and rtl_kmode. Allows conditional compilation of RTL (finally!), instead of necessitating hacks like RtlpGetMode()
   "rtl" module now a dummy static library for things like <include base="rtl">

modified   boot/freeldr/freeldr/freeldr.rbuild
modified   boot/freeldr/freeldr/setupldr.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
   rtl -> rtl_kmode

modified   dll/ntdll/ntdll.rbuild
   rtl -> rtl_umode

This commit dedicated to Fireball and Stefan100 (now get to work! >:3)

svn path=/trunk/; revision=36761
2008-10-15 15:45:11 +00:00
KJK::Hyperion 7b75f95f4b Give .gch files an unique path based on module name: allows multiple modules to (safely!) share a single precompiled header.
Enjoy rebuilding the whole tree <3

This commit dedicated to hpoussin
See issue #3263 for more details.

svn path=/trunk/; revision=36760
2008-10-15 13:46:23 +00:00
Daniel Reimer b86c8c5ee2 Bug 3791: Translate norwegian update by Lars Martin Hambro
svn path=/trunk/; revision=36759
2008-10-15 08:37:47 +00:00
Kamil Hornicek 9ece00b4f8 update to Mesa3D 7.2
svn path=/trunk/; revision=36758
2008-10-15 08:31:54 +00:00
Cameron Gutman 2278115192 - Merge aicom-network-fixes up to r36755
svn path=/trunk/; revision=36756
2008-10-15 00:32:36 +00:00
Timo Kreuzer a075ba41c2 - Update CLIENTTHREADINFO structure
- Rename W32CLIENTINFO to CLIENTINFO and update members
- C_ASERT that CLIENTINFO fits into the TEB

svn path=/trunk/; revision=36753
2008-10-14 21:03:20 +00:00
Aleksey Bragin c064c14ced - Mbcb field of SHARED_CACHE_MAP structure has MBCB type, not MCB.
svn path=/trunk/; revision=36752
2008-10-14 18:27:15 +00:00
Michael Martin da1d359b70 - REnumServicesStatusA/REnumServicesStatusExA: Call REnumServicesStatusW/REnumServicesStatusExW to do the work eliminating duplicate code.
- lpResumeIndex and lpResumeHandle are set to 0 on success.

svn path=/trunk/; revision=36751
2008-10-14 17:55:44 +00:00
Michael Martin d9a416da9f - REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
- fixes bug #3787

svn path=/trunk/; revision=36750
2008-10-14 15:59:09 +00:00
Aleksey Bragin ed58e3df34 - Don't pass CMP_LOCK_HASHES_FOR_KCB flag because no locking is perform in CmpBuildHashStackAndLookupCache, fixes an assert when trying to unlock not locked object.
- Add a hack (one and only one) for the MaxNameLen being different in KCB and actual KeyNode to allow regression testing framework go further.

svn path=/trunk/; revision=36747
2008-10-14 13:56:58 +00:00
Daniel Reimer 685d1fe7e7 Bug 3750: spanish update for netcfgx by Javier Remacha
Bug 3774: Greek update for usetup by Apostulos Alexandris
Sync wordpad and Winhlp32 to Wine HEAD.

svn path=/trunk/; revision=36746
2008-10-14 13:47:07 +00:00
Daniel Reimer f4bb1d0429 Sync winfile and write to wine HEAD.
svn path=/trunk/; revision=36745
2008-10-14 13:44:12 +00:00
KJK::Hyperion 4182d4759d Add ICU <URL: http://www.icu-project.org/> to credits
svn path=/trunk/; revision=36744
2008-10-13 21:35:25 +00:00
Cameron Gutman b17ea7dab0 - Fix build
svn path=/trunk/; revision=36743
2008-10-13 01:18:04 +00:00
Cameron Gutman 7beefc5606 - Merge aicom-network-fixes up to r36740
svn path=/trunk/; revision=36741
2008-10-13 01:07:37 +00:00
Cameron Gutman 6532da2ccb - Implement ProtocolResetComplete
- Store the status that gets passed to the completion routine

svn path=/branches/aicom-network-fixes/; revision=36740
2008-10-13 00:55:33 +00:00
Cameron Gutman b01ceaabdc - Make sure NBAddNeighbor completed successfully
- Return the actual status instead of STATUS_SUCCESS always

svn path=/branches/aicom-network-fixes/; revision=36739
2008-10-13 00:52:25 +00:00
Cameron Gutman 23d01c2592 - Queue the work item directly from MiniQueueWorkItem
- Handle an invalid SelectedMediumIndex separately
 - Cancel the hang timer before calling MiniportHalt
 - Handle a BindAdapter failure

svn path=/branches/aicom-network-fixes/; revision=36738
2008-10-13 00:41:48 +00:00
Michael Martin 8f6cb6dbf6 - Implement REnumServicesStatusExA
- REnumServicesStatusA/W: Fixed returned param values to match Windows 
- REnumServicesStatusExW: Dont try to access lpResumeIndex if it is NULL. Fixed returned param values to match windows.

svn path=/trunk/; revision=36732
2008-10-12 13:10:05 +00:00
Aleksey Bragin 65bfc45d55 - Implement locking for Cc flush (the one used in NT5.2 results in a hang, might be because of a misused PagingIoResource).
- If an acquire/release operation is not implemented, FSD must return STATUS_INVALID_DEVICE_REQUEST, not some other error code.
- Fix a typo in the debug message.

svn path=/trunk/; revision=36731
2008-10-12 09:34:29 +00:00
Michael Martin 43dc41bad7 - Implement REnumServicesStatusA
- REnumServicesStatusW: Dont try to access lpResumeHandle if it is NULL

svn path=/trunk/; revision=36724
2008-10-12 00:02:17 +00:00
Johannes Anderwald 2b468f41a1 - Fix another bug...
svn path=/trunk/; revision=36723
2008-10-11 19:40:56 +00:00
Johannes Anderwald 6da373e9fd - Fix MultiByteToWideChar api parameters (thanks Christoph)
- Fix bugs in EnumNameServers

svn path=/trunk/; revision=36722
2008-10-11 19:30:45 +00:00
Johannes Anderwald 639ed2255f - Fix 2 bugs in the CopyIpAddrString leading to duplicate displayment of the same ip /dns /gw address
svn path=/trunk/; revision=36721
2008-10-11 19:28:39 +00:00
Johannes Anderwald 722bbf4ef3 - Implement GetPerAdapterInfo
- Fix multiple bugs in EnumNameServers implementation

svn path=/trunk/; revision=36720
2008-10-11 19:12:14 +00:00
Aleksey Bragin 33e3938bb1 - Fix a memory leak in IopUnloadDriver.
- Driver object temporary was not marked temporary, thus it wasn't really deleted after reference counter reached 0. Fix this (inspired by bug #3501).
See issue #3501 for more details.

svn path=/trunk/; revision=36719
2008-10-11 17:39:12 +00:00
Aleksey Bragin 96101fb28c Daniel Zimmerman <netzimme@aim.com>
- Implement MmGetFileNameForAddress (with the good description written previously). Testcased with OllyDbg and Syser (with the patch from bug 3454) when try to attach to a process.
See issue #3690 for more details.

svn path=/trunk/; revision=36718
2008-10-11 15:16:28 +00:00
Johannes Anderwald 3da5587cec - Replace IDOK with IDC_OK as this creates problems
- Add NULL pointer checks
- Misc bugfixes

svn path=/trunk/; revision=36715
2008-10-11 12:38:03 +00:00
Stefan Ginsberg c74e4990a1 - ProbeForRead/Write Length argument is a SIZE_T, not a ULONG
svn path=/trunk/; revision=36713
2008-10-11 09:42:44 +00:00
Stefan Ginsberg 1e1d996268 - Fix portable Ex/ExfInterlockedCompareExchange64 to compare Destination with the Comparand instead of...itself?
svn path=/trunk/; revision=36712
2008-10-11 09:39:08 +00:00
Stefan Ginsberg f01ffb27dc - ARM build fix -- add a non-atomic (but otherwise correct) _InterlockedCompareExchange64 intrinsic required since the RTL changes in 36166
svn path=/trunk/; revision=36711
2008-10-11 09:32:57 +00:00
Colin Finck a9ef74a387 Fix the units
svn path=/trunk/; revision=36707
2008-10-10 16:42:09 +00:00
Johannes Anderwald e156f23a14 - Implement IContextMenu3, IObjectWithSite, IExtractIconW interface
svn path=/trunk/; revision=36706
2008-10-10 15:18:18 +00:00
Stefan Ginsberg 6d04b16d6d - SVN maintenance
svn path=/trunk/; revision=36705
2008-10-10 13:34:27 +00:00
Johannes Anderwald a080d60e4c - Don't use uninitialized INetConnection item
- should fix bug 3754

svn path=/trunk/; revision=36704
2008-10-10 09:36:39 +00:00
Thomas Bluemel f8283ec523 Fix warning: Variable may be used uninitialized
svn path=/trunk/; revision=36703
2008-10-10 01:24:44 +00:00
Johannes Anderwald 36d4bf7f6e - Implement Advanced TCP/IP Configuration GUI Dialogs
svn path=/trunk/; revision=36702
2008-10-09 17:48:53 +00:00