Commit graph

33312 commits

Author SHA1 Message Date
Matthias Kupfer fc86d60e95 draw disk usage bar from "used" to "free" (left to right)
svn path=/trunk/; revision=36801
2008-10-17 21:54:03 +00:00
Timo Kreuzer 9353696890 Win32 structure cleanup (WIP):
- Use CLIENTINFO.ulClientDelta instead of W32THREADINFO.DesktopHeapDelta
- Remove DesktopHeapDelta from W32THREADINFO- Add PtiList to DESKTOP
- Add pClientInfo to THREADINFO

svn path=/trunk/; revision=36800
2008-10-17 21:07:24 +00:00
Johannes Anderwald eed100a55c * Store more settings in registry
svn path=/trunk/; revision=36799
2008-10-17 20:01:58 +00:00
Johannes Anderwald b12ad06d48 * Fix retrieval of automatic DNS settings 2/2
svn path=/trunk/; revision=36797
2008-10-17 19:04:00 +00:00
Johannes Anderwald 71d93bc857 * Fix retrieval of automatic DNS settings 1/2
svn path=/trunk/; revision=36796
2008-10-17 19:03:11 +00:00
Timo Kreuzer 8d9c365f88 Win32 structure cleanup (WIP):
- Add pDeskInfo and PtiLink to THREADINFO

svn path=/trunk/; revision=36795
2008-10-17 18:22:06 +00:00
Johannes Anderwald 905c093675 * Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794
2008-10-17 18:20:00 +00:00
Johannes Anderwald 521eec8b76 * If there is no static nameserver entry, look up dynamically assigned one
svn path=/trunk/; revision=36793
2008-10-17 18:00:06 +00:00
Timo Kreuzer e81d786ce9 Win32 structure cleanup (WIP):
- remove AppCompatFlags from W32THREADINFO

svn path=/trunk/; revision=36792
2008-10-17 17:19:04 +00:00
Gregor Schneider 87fd2c6cad Typo: check for success of newest allocations.
svn path=/trunk/; revision=36791
2008-10-17 15:13:27 +00:00
Johannes Anderwald 2edf0dbef8 * Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
* Delete obsolete code

svn path=/trunk/; revision=36790
2008-10-17 13:19:04 +00:00
Timo Kreuzer 65e82782c9 Win32 structure cleanup part 3 / x:
- rename DESKTOP_OBJECT to DESKTOP

svn path=/trunk/; revision=36789
2008-10-17 13:09:56 +00:00
Timo Kreuzer 2e9e3c99e6 Fix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which should be a kernel pointer.
svn path=/trunk/; revision=36788
2008-10-17 11:18:57 +00:00
Cameron Gutman 187ed1777f - Merge aicom-network-fixes up to r36785
svn path=/trunk/; revision=36787
2008-10-17 10:42:44 +00:00
Timo Kreuzer 9c8b2fd447 Win32 structure cleanup part 2 / x:
- rename DESKTOP to DESKTOPINFO

svn path=/trunk/; revision=36786
2008-10-17 10:40:04 +00:00
Johannes Anderwald e18ac2ee40 - Hide ncpa.cpl from control panel
svn path=/trunk/; revision=36783
2008-10-17 10:21:15 +00:00
Stefan Ginsberg 0bdd03839a - Add comments to GetTextFaceW
- Apology to GreatLord, his code was correct and I fail -- hint: don't code and commit at late night ;0)

svn path=/trunk/; revision=36782
2008-10-17 07:20:23 +00:00
James Tabor e2447c3d0f Checked code format, compiler has issues.
svn path=/trunk/; revision=36781
2008-10-17 04:56:47 +00:00
James Tabor bc4ca08f94 Move GetTextFaceAliasW to text.c.
svn path=/trunk/; revision=36780
2008-10-17 04:34:21 +00:00
KJK::Hyperion 8c7bebfed8 - test GetTextFaceW instead of GetTextFaceA
- test that:
    - the last error is never set
    - the buffer size is ignored if the buffer is NULL
    - the buffer size is returned if the buffer is non-NULL and too small
    - the function fails if a non-NULL buffer has a size <= 0
 - allocate the DC for a GDI test with a GDI routine (CreateCompatibleDC) instead of an USER routine (GetDC)

svn path=/trunk/; revision=36779
2008-10-17 00:28:47 +00:00
Cameron Gutman 97d55c7685 - Fix livecd font substitution
svn path=/trunk/; revision=36778
2008-10-17 00:04:53 +00:00
KJK::Hyperion 0e8851de86 You can't make this shit up.
svn path=/trunk/; revision=36777
2008-10-17 00:00:55 +00:00
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