reactos.git
13 years agoBring rosapps up to date with the rbuild changes of r36870
KJK::Hyperion [Tue, 21 Oct 2008 17:42:04 +0000 (17:42 +0000)]
Bring rosapps up to date with the rbuild changes of r36870

svn path=/trunk/; revision=36875

13 years ago- SMP SYNCH_LEVEL for x86 is IPI_LEVEL - 2 since 2K3
Stefan Ginsberg [Tue, 21 Oct 2008 16:23:06 +0000 (16:23 +0000)]
- SMP SYNCH_LEVEL for x86 is IPI_LEVEL - 2 since 2K3

svn path=/trunk/; revision=36874

13 years ago- Add missing KPCR_PRCB_IDLE_SCHEDULE offset
Stefan Ginsberg [Tue, 21 Oct 2008 15:32:49 +0000 (15:32 +0000)]
- Add missing KPCR_PRCB_IDLE_SCHEDULE offset

svn path=/trunk/; revision=36873

13 years ago- Fix NtUserCreateWindowEx.
James Tabor [Tue, 21 Oct 2008 14:51:14 +0000 (14:51 +0000)]
- Fix NtUserCreateWindowEx.

svn path=/trunk/; revision=36872

13 years ago- Add missing Cm (de)reference trace
Stefan Ginsberg [Tue, 21 Oct 2008 14:47:20 +0000 (14:47 +0000)]
- Add missing Cm (de)reference trace

svn path=/trunk/; revision=36871

13 years agomodified tools/rbuild/backend/mingw/modulehandler.cpp
KJK::Hyperion [Tue, 21 Oct 2008 13:51:49 +0000 (13:51 +0000)]
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
   Split rules for .spec files as input files vs import libraries. .spec files can now be specified independently as <file>s (to generate and compile a .stubs.c file) and <importlibrary> (to generate and compile a .spec.def file)
   .spec files are now specified in <importlibrary>s directly (instead of pointing to the non-existing, generated .spec.def file. Whose idea was that? sounds like the doing of Arch Blackmann)
   Allow multiple modules to share a single .spec file without using <importlibrary base="...">
   Allow static libraries to use .spec files in <importlibrary>
   Emit comments in makefile.auto so rules can be traced back to the code that generated them

deleted    lib/debugsup/debugsup-ntos.def
added      lib/debugsup/debugsup-ntos.spec
modified   lib/debugsup/debugsup.rbuild
   .def -> .spec

<<hundreds of rbuild files>>
   Remove <file> entry for spec file if there are no stubs to compile
   .spec.def -> .spec in <importlibrary> entries

Soon: making all keyboard layouts use a single .spec file
Dedicated to: Samuel Serapión, Stefan Ginsberg, and all the fellow team members who'll have an aneurysm at this commit

See issue #3746 for more details.

svn path=/trunk/; revision=36870

13 years ago- Plug in GetDeviceCaps for gdi.
James Tabor [Tue, 21 Oct 2008 02:56:36 +0000 (02:56 +0000)]
- Plug in GetDeviceCaps for gdi.

svn path=/trunk/; revision=36869

13 years ago- Finish shared info based on XP and update user connect.
James Tabor [Tue, 21 Oct 2008 00:23:49 +0000 (00:23 +0000)]
- Finish shared info based on XP and update user connect.

svn path=/trunk/; revision=36868

13 years ago- Quick setup for NtUserProcessConnect.
James Tabor [Mon, 20 Oct 2008 23:43:11 +0000 (23:43 +0000)]
- Quick setup for NtUserProcessConnect.

svn path=/trunk/; revision=36867

13 years ago- Quick setup for NtUserProcessConnect.
James Tabor [Mon, 20 Oct 2008 23:42:53 +0000 (23:42 +0000)]
- Quick setup for NtUserProcessConnect.

svn path=/trunk/; revision=36866

13 years ago - Merge aicom-network-fixes up to r36861
Cameron Gutman [Mon, 20 Oct 2008 21:57:06 +0000 (21:57 +0000)]
 - Merge aicom-network-fixes up to r36861

svn path=/trunk/; revision=36864

13 years ago- Add missing PUMDHPDEV.
James Tabor [Mon, 20 Oct 2008 19:37:03 +0000 (19:37 +0000)]
- Add missing PUMDHPDEV.

svn path=/trunk/; revision=36856

13 years ago- Add driver info for psdk, update local DC and fixed eng functions so that it can...
James Tabor [Mon, 20 Oct 2008 19:33:20 +0000 (19:33 +0000)]
- Add driver info for psdk, update local DC and fixed eng functions so that it can support user mode print drivers.

svn path=/trunk/; revision=36855

13 years agodon't deref. null pointer in case NameServer key doesn't exist
Kamil Hornicek [Mon, 20 Oct 2008 17:06:13 +0000 (17:06 +0000)]
don't deref. null pointer in case NameServer key doesn't exist

svn path=/trunk/; revision=36849

13 years agoPrepare for a change of architecture.
Ged Murphy [Mon, 20 Oct 2008 14:49:59 +0000 (14:49 +0000)]
Prepare for a change of architecture.
Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent.

svn path=/trunk/; revision=36844

13 years ago- Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after...
Aleksey Bragin [Mon, 20 Oct 2008 08:17:04 +0000 (08:17 +0000)]
- Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after linking in the ICU library.

svn path=/trunk/; revision=36839

13 years ago- Update local DC structure and defines.
James Tabor [Mon, 20 Oct 2008 07:36:21 +0000 (07:36 +0000)]
- Update local DC structure and defines.

svn path=/trunk/; revision=36838

13 years ago- Cleanup IntGdiGetDeviceCaps, add more defines.
James Tabor [Mon, 20 Oct 2008 05:07:46 +0000 (05:07 +0000)]
- Cleanup IntGdiGetDeviceCaps, add more defines.

svn path=/trunk/; revision=36837

13 years ago- Set GetBkColor for callers.
James Tabor [Mon, 20 Oct 2008 04:07:42 +0000 (04:07 +0000)]
- Set GetBkColor for callers.

svn path=/trunk/; revision=36836

13 years ago- SVN maintenance
Stefan Ginsberg [Sun, 19 Oct 2008 19:17:01 +0000 (19:17 +0000)]
- SVN maintenance

svn path=/trunk/; revision=36833

13 years ago- SVN maintenance
Stefan Ginsberg [Sun, 19 Oct 2008 19:11:18 +0000 (19:11 +0000)]
- SVN maintenance

svn path=/trunk/; revision=36832

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 17:35:22 +0000 (17:35 +0000)]
Win32 structure cleanup (WIP):
- remove DesktopHeapBase and DesktopHeapLimit from W32THREADINFO, use DESKTOPINFO members instead

svn path=/trunk/; revision=36831

13 years ago- VFAT fixes: Actually perform a mandatory call to CcPurgeCacheSection during file...
Aleksey Bragin [Sun, 19 Oct 2008 13:23:00 +0000 (13:23 +0000)]
- VFAT fixes: Actually perform a mandatory call to CcPurgeCacheSection during file deletion (fixes real NT5 cache manager attempts to write section of a deleted file).
- VFAT fixes: When querying FileStandardInformation, NT's fastfat driver sets NumberOfLinks to 1, ours sets it to 0 somewhy. Change to 1 for compatibility.
- A couple of debug prints improvements in VFAT.
- Comment out UNIMPLEMENTED in CcPurgeCacheSection to prevent debug messages flood.

svn path=/trunk/; revision=36830

13 years agoSync to wine-0.9.60:
Eric Kohl [Sun, 19 Oct 2008 12:30:41 +0000 (12:30 +0000)]
Sync to wine-0.9.60:
- Rob Shearman <rob@codeweavers.com> Wed, 26 Mar 2008
widl: Support using context handles as the binding handle in client functions.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Add support for generic binding handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Fix detection of non-pointer context handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Make sure that string types are always written out by write_string_tfs and not write_simple_pointer.

- Rob Shearman <rob@codeweavers.com> Mon, 31 Mar 2008
widl: Parse typedefs of function pointers.

- Rob Shearman <rob@codeweavers.com> Tue, 1 Apr 2008
widl: Be more strict about where semicolons can appear in IDL files.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a function to get the return type of a parsed function.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Store function and function pointer types completely within type_t type.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support parsing calling conventions for function identifiers.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support __fastcall and __pascal calling conventions.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a newline between function prototypes for non-object interfaces.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Fix the writing out of function pointers with more than one level of indirection.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 3 Apr 2008
widl: Fix a mistake in an ordered list (keywords).

svn path=/trunk/; revision=36829

13 years ago- Revert 36827
Stefan Ginsberg [Sun, 19 Oct 2008 11:47:27 +0000 (11:47 +0000)]
- Revert 36827

svn path=/trunk/; revision=36828

13 years ago- Temporarily (for one revision) disable Winetest's advapi32 security test to see...
Stefan Ginsberg [Sun, 19 Oct 2008 11:40:48 +0000 (11:40 +0000)]
- Temporarily (for one revision) disable Winetest's advapi32 security test to see how far build server survives -- will be reverted in next commit

svn path=/trunk/; revision=36827

13 years ago- Thanks Tommy! Cleanup millimeter conversion.
James Tabor [Sun, 19 Oct 2008 04:52:48 +0000 (04:52 +0000)]
- Thanks Tommy! Cleanup millimeter conversion.

svn path=/trunk/; revision=36826

13 years ago- Add missing CAPS to psdk.
James Tabor [Sun, 19 Oct 2008 04:47:04 +0000 (04:47 +0000)]
- Add missing CAPS to psdk.
- Implemented NtGdiGetDeviceCapsAll.
- Now support primary display device capabilities in shared gdi handle table.

svn path=/trunk/; revision=36825

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 02:05:41 +0000 (02:05 +0000)]
Win32 structure cleanup (WIP):
- replace hKernelHeap and HeapLimit from DESKTOPINFO with pvDesktopBase and pvDesktopLimit- replace hDesktopHeap with pheapDesktop in DESKTOP
- use PWIN32HEAP for the heap handle and use this and only this as the handle.
- Use the real base address for pvDesktopBase, instead of a copy of the heap handle

svn path=/trunk/; revision=36824

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 01:06:30 +0000 (01:06 +0000)]
Win32 structure cleanup (WIP):
- use rpdeskParent instead of Desktop in WINDOWCLASS
- use PDESKTOP instead of DESKTOPINFO in several places

svn path=/trunk/; revision=36820

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 00:43:54 +0000 (00:43 +0000)]
Win32 structure cleanup (WIP):
- make use of pdesktop member in WINDOW structure
- replace usage of Wnd->ti->Desktop with Wnd->pdesktop->DesktopInfo

svn path=/trunk/; revision=36819

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 00:39:40 +0000 (00:39 +0000)]
Win32 structure cleanup (WIP):
Add some members to usermode shared structures to be used soon.

svn path=/trunk/; revision=36818

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sat, 18 Oct 2008 23:01:57 +0000 (23:01 +0000)]
Win32 structure cleanup (WIP):
Initialite THREADINFOs pClientInfo member

svn path=/trunk/; revision=36817

13 years agoAllocate enough memory for Value (problem was spotted by Pigglesworth)
Colin Finck [Sat, 18 Oct 2008 22:22:09 +0000 (22:22 +0000)]
Allocate enough memory for Value (problem was spotted by Pigglesworth)
This problem was revealed by r36797 (thanks to aicom, elhoir, Lone_Rifle and vicmarcal for the help with regression testing)

Fixes ipconfig, ping and other network apps crashing with a buffer overflow.

svn path=/trunk/; revision=36816

13 years agoInitialize variables and close keys only if they were opened, based on wine code...
Gregor Schneider [Sat, 18 Oct 2008 21:38:25 +0000 (21:38 +0000)]
Initialize variables and close keys only if they were opened, based on wine code. Fixes CIDs 787, 788.

svn path=/trunk/; revision=36815

13 years agofix the fix, sorry
Kamil Hornicek [Sat, 18 Oct 2008 21:29:44 +0000 (21:29 +0000)]
fix the fix, sorry

svn path=/trunk/; revision=36814

13 years agofix resource leak, CID 611
Kamil Hornicek [Sat, 18 Oct 2008 21:07:45 +0000 (21:07 +0000)]
fix resource leak, CID 611

svn path=/trunk/; revision=36813

13 years agoMarcelo Slomp (mslomp@linuxmail.org):
Colin Finck [Sat, 18 Oct 2008 20:49:00 +0000 (20:49 +0000)]
Marcelo Slomp (mslomp@linuxmail.org):
- Prevent a redefinition of _pctype in newer GCC versions (like 4.3.2)

See issue #3598 for more details.

svn path=/trunk/; revision=36812

13 years agoChange return type of PsGetCurrentProcessWin32Process to PVOID.
Timo Kreuzer [Sat, 18 Oct 2008 20:34:36 +0000 (20:34 +0000)]
Change return type of PsGetCurrentProcessWin32Process to PVOID.

svn path=/trunk/; revision=36811

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sat, 18 Oct 2008 19:54:59 +0000 (19:54 +0000)]
Win32 structure cleanup (WIP):
- Add ppi to THREADINFO and initialize it
- Initialize THREADINFO.PtiLink and DESKTOP.PtiList and link the thread to it's desktop

svn path=/trunk/; revision=36810

13 years agoClose file after processing it. Fixes CIDs 626, 627.
Gregor Schneider [Sat, 18 Oct 2008 19:42:31 +0000 (19:42 +0000)]
Close file after processing it. Fixes CIDs 626, 627.

svn path=/trunk/; revision=36809

13 years ago- Fix ObIsKernelHandle routine to return what it should rather than always returning...
Stefan Ginsberg [Sat, 18 Oct 2008 15:04:26 +0000 (15:04 +0000)]
- Fix ObIsKernelHandle routine to return what it should rather than always returning FALSE (Note: the macro version we use internally is correct)

svn path=/trunk/; revision=36808

13 years ago- Fixed typo in SetMenuAndButtonStates. See bug 3792 for more info.
Michael Martin [Sat, 18 Oct 2008 11:49:25 +0000 (11:49 +0000)]
- Fixed typo in SetMenuAndButtonStates. See bug 3792 for more info.
- Pass correct size for ServiceStatusProcess to QueryServiceStatusEx which prevents trashing the next services information in Info buffer.
- Added missing CloseServiceHandle calls.

svn path=/trunk/; revision=36807

13 years ago - Merge aicom-network-fixes up to r36803
Cameron Gutman [Sat, 18 Oct 2008 04:32:30 +0000 (04:32 +0000)]
 - Merge aicom-network-fixes up to r36803

svn path=/trunk/; revision=36804

13 years agodraw disk usage bar from "used" to "free" (left to right)
Matthias Kupfer [Fri, 17 Oct 2008 21:54:03 +0000 (21:54 +0000)]
draw disk usage bar from "used" to "free" (left to right)

svn path=/trunk/; revision=36801

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 21:07:24 +0000 (21:07 +0000)]
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

13 years ago* Store more settings in registry
Johannes Anderwald [Fri, 17 Oct 2008 20:01:58 +0000 (20:01 +0000)]
* Store more settings in registry

svn path=/trunk/; revision=36799

13 years ago* Fix retrieval of automatic DNS settings 2/2
Johannes Anderwald [Fri, 17 Oct 2008 19:04:00 +0000 (19:04 +0000)]
* Fix retrieval of automatic DNS settings 2/2

svn path=/trunk/; revision=36797

13 years ago* Fix retrieval of automatic DNS settings 1/2
Johannes Anderwald [Fri, 17 Oct 2008 19:03:11 +0000 (19:03 +0000)]
* Fix retrieval of automatic DNS settings 1/2

svn path=/trunk/; revision=36796

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 18:22:06 +0000 (18:22 +0000)]
Win32 structure cleanup (WIP):
- Add pDeskInfo and PtiLink to THREADINFO

svn path=/trunk/; revision=36795

13 years ago* Set AutoconfigEnabled if DNS is acquired by DHCP
Johannes Anderwald [Fri, 17 Oct 2008 18:20:00 +0000 (18:20 +0000)]
* Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794

13 years ago* If there is no static nameserver entry, look up dynamically assigned one
Johannes Anderwald [Fri, 17 Oct 2008 18:00:06 +0000 (18:00 +0000)]
* If there is no static nameserver entry, look up dynamically assigned one

svn path=/trunk/; revision=36793

13 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 17:19:04 +0000 (17:19 +0000)]
Win32 structure cleanup (WIP):
- remove AppCompatFlags from W32THREADINFO

svn path=/trunk/; revision=36792

13 years agoTypo: check for success of newest allocations.
Gregor Schneider [Fri, 17 Oct 2008 15:13:27 +0000 (15:13 +0000)]
Typo: check for success of newest allocations.

svn path=/trunk/; revision=36791

13 years ago* Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
Johannes Anderwald [Fri, 17 Oct 2008 13:19:04 +0000 (13:19 +0000)]
* Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
* Delete obsolete code

svn path=/trunk/; revision=36790

13 years agoWin32 structure cleanup part 3 / x:
Timo Kreuzer [Fri, 17 Oct 2008 13:09:56 +0000 (13:09 +0000)]
Win32 structure cleanup part 3 / x:
- rename DESKTOP_OBJECT to DESKTOP

svn path=/trunk/; revision=36789

13 years agoFix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which...
Timo Kreuzer [Fri, 17 Oct 2008 11:18:57 +0000 (11:18 +0000)]
Fix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which should be a kernel pointer.

svn path=/trunk/; revision=36788

13 years ago - Merge aicom-network-fixes up to r36785
Cameron Gutman [Fri, 17 Oct 2008 10:42:44 +0000 (10:42 +0000)]
 - Merge aicom-network-fixes up to r36785

svn path=/trunk/; revision=36787

13 years agoWin32 structure cleanup part 2 / x:
Timo Kreuzer [Fri, 17 Oct 2008 10:40:04 +0000 (10:40 +0000)]
Win32 structure cleanup part 2 / x:
- rename DESKTOP to DESKTOPINFO

svn path=/trunk/; revision=36786

13 years ago- Hide ncpa.cpl from control panel
Johannes Anderwald [Fri, 17 Oct 2008 10:21:15 +0000 (10:21 +0000)]
- Hide ncpa.cpl from control panel

svn path=/trunk/; revision=36783

13 years ago- Add comments to GetTextFaceW
Stefan Ginsberg [Fri, 17 Oct 2008 07:20:23 +0000 (07:20 +0000)]
- 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

13 years agoChecked code format, compiler has issues.
James Tabor [Fri, 17 Oct 2008 04:56:47 +0000 (04:56 +0000)]
Checked code format, compiler has issues.

svn path=/trunk/; revision=36781

13 years agoMove GetTextFaceAliasW to text.c.
James Tabor [Fri, 17 Oct 2008 04:34:21 +0000 (04:34 +0000)]
Move GetTextFaceAliasW to text.c.

svn path=/trunk/; revision=36780

13 years ago - test GetTextFaceW instead of GetTextFaceA
KJK::Hyperion [Fri, 17 Oct 2008 00:28:47 +0000 (00:28 +0000)]
 - 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

13 years ago - Fix livecd font substitution
Cameron Gutman [Fri, 17 Oct 2008 00:04:53 +0000 (00:04 +0000)]
 - Fix livecd font substitution

svn path=/trunk/; revision=36778

13 years agoYou can't make this shit up.
KJK::Hyperion [Fri, 17 Oct 2008 00:00:55 +0000 (00:00 +0000)]
You can't make this shit up.

svn path=/trunk/; revision=36777

13 years agoThe original GetTextFaceW implementation (r28730) was right all along, except GDI...
KJK::Hyperion [Thu, 16 Oct 2008 23:49:31 +0000 (23:49 +0000)]
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

13 years ago- More correct check for GetTextFaceW
Stefan Ginsberg [Thu, 16 Oct 2008 20:21:00 +0000 (20:21 +0000)]
- More correct check for GetTextFaceW

svn path=/trunk/; revision=36775

13 years agoTests for GetTextFace
Timo Kreuzer [Thu, 16 Oct 2008 20:16:38 +0000 (20:16 +0000)]
Tests for GetTextFace

svn path=/trunk/; revision=36774

13 years ago- Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
Stefan Ginsberg [Thu, 16 Oct 2008 20:02:22 +0000 (20:02 +0000)]
- Unbreak GetTextFaceA/W, broken since 28730 by GreatLord

svn path=/trunk/; revision=36773

13 years agoCmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.
Timo Kreuzer [Thu, 16 Oct 2008 19:07:28 +0000 (19:07 +0000)]
CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.

svn path=/trunk/; revision=36772

13 years agoWin32 structure cleanup part 1 / x:
Timo Kreuzer [Thu, 16 Oct 2008 17:52:38 +0000 (17:52 +0000)]
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

13 years agoChange return type of PsGetCurrentThreadWin32Thread to PVOID. Kernel don't know ...
Timo Kreuzer [Thu, 16 Oct 2008 17:21:08 +0000 (17:21 +0000)]
Change return type of PsGetCurrentThreadWin32Thread to PVOID. Kernel don't know 'bout W32THREAD!

svn path=/trunk/; revision=36768

13 years agoNo need to unlock, if locking failed. Fixes CID 186.
Gregor Schneider [Thu, 16 Oct 2008 17:12:25 +0000 (17:12 +0000)]
No need to unlock, if locking failed. Fixes CID 186.

svn path=/trunk/; revision=36767

13 years agomodified rbuild/backend/codeblocks/codeblocks.cpp
KJK::Hyperion [Thu, 16 Oct 2008 13:40:39 +0000 (13:40 +0000)]
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

13 years ago- remove dead code, fixes CID 60, CID 61
Kamil Hornicek [Thu, 16 Oct 2008 08:50:56 +0000 (08:50 +0000)]
- remove dead code, fixes CID 60, CID 61

svn path=/trunk/; revision=36765

13 years agodon't loop (UINT)-1 times if the section is not present, CID 445
Kamil Hornicek [Wed, 15 Oct 2008 18:59:47 +0000 (18:59 +0000)]
don't loop (UINT)-1 times if the section is not present, CID 445

svn path=/trunk/; revision=36764

13 years agoremove unneeded check, it's ok to create new context in this case
Kamil Hornicek [Wed, 15 Oct 2008 18:39:04 +0000 (18:39 +0000)]
remove unneeded check, it's ok to create new context in this case

svn path=/trunk/; revision=36763

13 years ago- Implement Advanced Status IP Information Dialog
Johannes Anderwald [Wed, 15 Oct 2008 17:20:55 +0000 (17:20 +0000)]
- 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

13 years agoadded lib/rtl/rtl-common.rbuild
KJK::Hyperion [Wed, 15 Oct 2008 15:45:11 +0000 (15:45 +0000)]
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

13 years agoGive .gch files an unique path based on module name: allows multiple modules to ...
KJK::Hyperion [Wed, 15 Oct 2008 13:46:23 +0000 (13:46 +0000)]
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

13 years agoBug 3791: Translate norwegian update by Lars Martin Hambro
Daniel Reimer [Wed, 15 Oct 2008 08:37:47 +0000 (08:37 +0000)]
Bug 3791: Translate norwegian update by Lars Martin Hambro

svn path=/trunk/; revision=36759

13 years agoupdate to Mesa3D 7.2
Kamil Hornicek [Wed, 15 Oct 2008 08:31:54 +0000 (08:31 +0000)]
update to Mesa3D 7.2

svn path=/trunk/; revision=36758

13 years ago - Merge aicom-network-fixes up to r36755
Cameron Gutman [Wed, 15 Oct 2008 00:32:36 +0000 (00:32 +0000)]
 - Merge aicom-network-fixes up to r36755

svn path=/trunk/; revision=36756

13 years ago- Update CLIENTTHREADINFO structure
Timo Kreuzer [Tue, 14 Oct 2008 21:03:20 +0000 (21:03 +0000)]
- Update CLIENTTHREADINFO structure
- Rename W32CLIENTINFO to CLIENTINFO and update members
- C_ASERT that CLIENTINFO fits into the TEB

svn path=/trunk/; revision=36753

13 years ago- Mbcb field of SHARED_CACHE_MAP structure has MBCB type, not MCB.
Aleksey Bragin [Tue, 14 Oct 2008 18:27:15 +0000 (18:27 +0000)]
- Mbcb field of SHARED_CACHE_MAP structure has MBCB type, not MCB.

svn path=/trunk/; revision=36752

13 years ago- REnumServicesStatusA/REnumServicesStatusExA: Call REnumServicesStatusW/REnumService...
Michael Martin [Tue, 14 Oct 2008 17:55:44 +0000 (17:55 +0000)]
- 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

13 years ago- REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
Michael Martin [Tue, 14 Oct 2008 15:59:09 +0000 (15:59 +0000)]
- REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
- fixes bug #3787

svn path=/trunk/; revision=36750

13 years ago- Don't pass CMP_LOCK_HASHES_FOR_KCB flag because no locking is perform in CmpBuildHa...
Aleksey Bragin [Tue, 14 Oct 2008 13:56:58 +0000 (13:56 +0000)]
- 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

13 years agoBug 3750: spanish update for netcfgx by Javier Remacha
Daniel Reimer [Tue, 14 Oct 2008 13:47:07 +0000 (13:47 +0000)]
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

13 years agoSync winfile and write to wine HEAD.
Daniel Reimer [Tue, 14 Oct 2008 13:44:12 +0000 (13:44 +0000)]
Sync winfile and write to wine HEAD.

svn path=/trunk/; revision=36745

13 years agoAdd ICU <URL: http://www.icu-project.org/> to credits
KJK::Hyperion [Mon, 13 Oct 2008 21:35:25 +0000 (21:35 +0000)]
Add ICU <URL: www.icu-project.org/> to credits

svn path=/trunk/; revision=36744

13 years ago - Fix build
Cameron Gutman [Mon, 13 Oct 2008 01:18:04 +0000 (01:18 +0000)]
 - Fix build

svn path=/trunk/; revision=36743

13 years ago - Merge aicom-network-fixes up to r36740
Cameron Gutman [Mon, 13 Oct 2008 01:07:37 +0000 (01:07 +0000)]
 - Merge aicom-network-fixes up to r36740

svn path=/trunk/; revision=36741

13 years ago - Implement ProtocolResetComplete
Cameron Gutman [Mon, 13 Oct 2008 00:55:33 +0000 (00:55 +0000)]
 - Implement ProtocolResetComplete
 - Store the status that gets passed to the completion routine

svn path=/branches/aicom-network-fixes/; revision=36740

13 years ago - Make sure NBAddNeighbor completed successfully
Cameron Gutman [Mon, 13 Oct 2008 00:52:25 +0000 (00:52 +0000)]
 - Make sure NBAddNeighbor completed successfully
 - Return the actual status instead of STATUS_SUCCESS always

svn path=/branches/aicom-network-fixes/; revision=36739

13 years ago - Queue the work item directly from MiniQueueWorkItem
Cameron Gutman [Mon, 13 Oct 2008 00:41:48 +0000 (00:41 +0000)]
 - 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

13 years ago- Implement REnumServicesStatusExA
Michael Martin [Sun, 12 Oct 2008 13:10:05 +0000 (13:10 +0000)]
- 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

13 years ago- Implement locking for Cc flush (the one used in NT5.2 results in a hang, might...
Aleksey Bragin [Sun, 12 Oct 2008 09:34:29 +0000 (09:34 +0000)]
- 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

13 years ago- Implement REnumServicesStatusA
Michael Martin [Sun, 12 Oct 2008 00:02:17 +0000 (00:02 +0000)]
- Implement REnumServicesStatusA
- REnumServicesStatusW: Dont try to access lpResumeHandle if it is NULL

svn path=/trunk/; revision=36724