reactos.git
14 years agoMerge r44552 ReactOS-0.3.11 backups/ros-branch-0_3_11@44688
Colin Finck [Sat, 12 Dec 2009 17:15:19 +0000 (17:15 +0000)]
Merge r44552

svn path=/branches/ros-branch-0_3_11/; revision=44553

14 years agoHere comes ReactOS "FOR WORKGROUPS" 0.3.11! :-)
Colin Finck [Thu, 10 Dec 2009 23:19:12 +0000 (23:19 +0000)]
Here comes ReactOS "FOR WORKGROUPS" 0.3.11! :-)

svn path=/branches/ros-branch-0_3_11/; revision=44531

14 years agoRevert to the old boot method for the release on request of Aleksey
Colin Finck [Wed, 2 Dec 2009 20:02:07 +0000 (20:02 +0000)]
Revert to the old boot method for the release on request of Aleksey

svn path=/branches/ros-branch-0_3_11/; revision=44367

14 years ago- Merge 44348 and 44349 to 0.3.11 branch.
Aleksey Bragin [Tue, 1 Dec 2009 21:36:23 +0000 (21:36 +0000)]
- Merge 44348 and 44349 to 0.3.11 branch.

svn path=/branches/ros-branch-0_3_11/; revision=44350

14 years ago- Merge 44301 (network revert).
Aleksey Bragin [Mon, 30 Nov 2009 21:52:07 +0000 (21:52 +0000)]
- Merge 44301 (network revert).

svn path=/branches/ros-branch-0_3_11/; revision=44336

14 years agoRevert 43921 on demand of Aleksey
Colin Finck [Sat, 28 Nov 2009 22:54:47 +0000 (22:54 +0000)]
Revert 43921 on demand of Aleksey

svn path=/branches/ros-branch-0_3_11/; revision=44316

14 years agoDmitry Gorbachev:
Colin Finck [Sat, 28 Nov 2009 15:04:15 +0000 (15:04 +0000)]
Dmitry Gorbachev:
- Replace our Japanese "Systema" font added for releases by "Droid Sans Fallback" from the Android project.
  This font is licensed under Apache 2.0 license (notice included) and also offers us Chinese and Korean characters.

  You have to copy "DroidSansFallback.ttf" from http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts to "modules/optional".

svn path=/branches/ros-branch-0_3_11/; revision=44305

14 years ago- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the...
Aleksey Bragin [Sat, 28 Nov 2009 14:45:21 +0000 (14:45 +0000)]
- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the branch first. Reverted revisions numbers: 44268, 44267, 44266, 44250, 44199, 44166-163, 44021, 44010, 43926, 43922, 43883.

svn path=/trunk/; revision=44301

14 years agoHack: Add the APPDATA variable to the environment created by userenv as it was done...
Colin Finck [Sat, 28 Nov 2009 00:29:52 +0000 (00:29 +0000)]
Hack: Add the APPDATA variable to the environment created by userenv as it was done for previous releases.

svn path=/branches/ros-branch-0_3_11/; revision=44300

14 years agoHack: Hackfix the HitTest problem in mstsc as it was done for previous releases
Colin Finck [Sat, 28 Nov 2009 00:17:11 +0000 (00:17 +0000)]
Hack: Hackfix the HitTest problem in mstsc as it was done for previous releases

svn path=/branches/ros-branch-0_3_11/; revision=44299

14 years ago- Change the version to 0.3.11
Colin Finck [Sat, 28 Nov 2009 00:14:56 +0000 (00:14 +0000)]
- Change the version to 0.3.11
- Set "Angelus_02_ROSWP.bmp" as the default wallpaper
- Add a shortcut to RApps to the Desktop

svn path=/branches/ros-branch-0_3_11/; revision=44298

14 years ago[rpcrt4]
Aleksey Bragin [Wed, 25 Nov 2009 19:36:10 +0000 (19:36 +0000)]
[rpcrt4]
- Revert rpcrt4 back to 1.1.31-partial. Fixes various RPC related regressions.

svn path=/trunk/; revision=44287

14 years ago - Initialize SocketError to 0 to prevent a bogus error from GCC
Cameron Gutman [Wed, 25 Nov 2009 18:08:43 +0000 (18:08 +0000)]
 - Initialize SocketError to 0 to prevent a bogus error from GCC

svn path=/trunk/; revision=44286

14 years ago[ntoskrnl/cm]
Aleksey Bragin [Tue, 24 Nov 2009 22:56:43 +0000 (22:56 +0000)]
[ntoskrnl/cm]
- CmpSelectLeaf fixes: looking into an incorrect cell, returning wrong cell, slightly simplify code and add more comments for clarity. Thanks to Michael Martin for spotting these bugs.

svn path=/trunk/; revision=44285

14 years ago[WIDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:42:40 +0000 (22:42 +0000)]
[WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284

14 years ago[IDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:39:25 +0000 (22:39 +0000)]
[IDL]
- Make our IDLs files to not specify a [range] tag for string datatypes, and 0,256 range for an unsigned type. Fixes compiling with newer WIDL and (probably) MIDL.

svn path=/trunk/; revision=44283

14 years ago[rosautotest]: Find the last underscore instead of the first one when building a...
Gregor Schneider [Tue, 24 Nov 2009 20:36:53 +0000 (20:36 +0000)]
[rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282

14 years ago - Fix a race condition that occurs when an IRP gets cancelled after it is inserted...
Cameron Gutman [Sun, 22 Nov 2009 02:32:47 +0000 (02:32 +0000)]
 - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed

svn path=/trunk/; revision=44267

14 years ago - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
Cameron Gutman [Sat, 21 Nov 2009 23:53:43 +0000 (23:53 +0000)]
 - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
 - Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266

14 years ago[kernel32]
Aleksey Bragin [Sat, 21 Nov 2009 20:41:24 +0000 (20:41 +0000)]
[kernel32]
- Don't export unnecessary stub. Fixes Firefox 3.5.5 startup.

svn path=/trunk/; revision=44261

14 years ago[ntoskrnl/se]
Aleksey Bragin [Sat, 21 Nov 2009 17:58:33 +0000 (17:58 +0000)]
[ntoskrnl/se]
- Factor out working code from SeAccessCheck into SepAccessCheck, taking out addition parameter - LowerImpersonationLevel. The lowest level for SeAccessCheck remains SecurityImpersonation, but for NtAccessCheck it's lowered to SecurityIdentification. Name of this patch's author has been lost.
See issue #4169 for more details.

svn path=/trunk/; revision=44260

14 years ago - Disassociate the socket context before closing so we don't get signalled with...
Cameron Gutman [Sat, 21 Nov 2009 13:00:37 +0000 (13:00 +0000)]
 - Disassociate the socket context before closing so we don't get signalled with a freed context (major cause of crashes)
 - Signal the connection directly from TCPSocketState
 - Remove some unused code
 - Queue completion requests on a separate list so we don't have to keep locking and unlocking while completing
 - Add better locking to tcpip (not the lib)
 - Remove some unused variables
 - Don't hold the cancel spin lock longer than necessary
 - Check that we successfully got the device description

svn path=/trunk/; revision=44250

14 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 16:50:05 +0000 (16:50 +0000)]
[wininet]
- Revert 44236 (sync wininet to Wine-1.1.33) and 43948 (sync wininet to Wine-1.1.32). Part 1/3 of rapps unregressing.
See issue #4934 for more details.

svn path=/trunk/; revision=44239

14 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 14:22:05 +0000 (14:22 +0000)]
[wininet]
- Update wininet to Wine-1.1.33.

svn path=/trunk/; revision=44236

14 years agoFixed typo
Pierre Schweitzer [Wed, 18 Nov 2009 18:15:49 +0000 (18:15 +0000)]
Fixed typo
(lost patch found in the dust)

svn path=/trunk/; revision=44227

14 years ago[rapps]
Aleksey Bragin [Wed, 18 Nov 2009 14:37:31 +0000 (14:37 +0000)]
[rapps]
Andrey Yastrebov <menone7@gmail.com>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey).
See issue #4961 for more details.

svn path=/trunk/; revision=44225

14 years ago- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
Aleksey Bragin [Wed, 18 Nov 2009 14:16:34 +0000 (14:16 +0000)]
- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
- Remove WSPStartup from ws2_32, it doesn't belong there. Spotted by Gabriel Ilardi.
See issue #4956 for more details.

svn path=/trunk/; revision=44224

14 years agoGoodbye win32k_base, you won't be missed
KJK::Hyperion [Tue, 17 Nov 2009 17:00:01 +0000 (17:00 +0000)]
Goodbye win32k_base, you won't be missed

svn path=/trunk/; revision=44216

14 years agoReapplying r44182. Thanks to r44208, it should actually work this time
KJK::Hyperion [Tue, 17 Nov 2009 16:18:34 +0000 (16:18 +0000)]
Reapplying r44182. Thanks to r44208, it should actually work this time

svn path=/trunk/; revision=44215

14 years agomodified Makefile
KJK::Hyperion [Tue, 17 Nov 2009 02:54:29 +0000 (02:54 +0000)]
modified   Makefile
   $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208

14 years agoRevert yesterday's fix for now.
Daniel Reimer [Mon, 16 Nov 2009 18:32:30 +0000 (18:32 +0000)]
Revert yesterday's fix for now.

svn path=/trunk/; revision=44203

14 years ago- Build fix by Pigglesworth
Johannes Anderwald [Mon, 16 Nov 2009 18:24:36 +0000 (18:24 +0000)]
- Build fix by Pigglesworth

svn path=/trunk/; revision=44202

14 years ago- Various bugfixes found by Amine48rz
Johannes Anderwald [Mon, 16 Nov 2009 18:13:56 +0000 (18:13 +0000)]
- Various bugfixes found by Amine48rz

svn path=/trunk/; revision=44201

14 years ago - Implement OskitTCPGetSocketError which retreives so->so_error
Cameron Gutman [Mon, 16 Nov 2009 07:39:52 +0000 (07:39 +0000)]
 - Implement OskitTCPGetSocketError which retreives so->so_error
 - Use OskitTCPGetSocketError to get the actual socket error which occurred when get SEL_FIN
 - Add more cases to TCPTranslateError

svn path=/trunk/; revision=44199

14 years agoRemove MmVerifierData.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:57:59 +0000 (01:57 +0000)]
Remove MmVerifierData.

svn path=/trunk/; revision=44198

14 years agoFix a bug, silence GCC 4.5.x warnings.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:57:24 +0000 (01:57 +0000)]
Fix a bug, silence GCC 4.5.x warnings.

svn path=/trunk/; revision=44197

14 years agoBreak long expressions, fix formatting.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:56:48 +0000 (01:56 +0000)]
Break long expressions, fix formatting.

svn path=/trunk/; revision=44196

14 years agosync kernel32 winetest with wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:37:38 +0000 (01:37 +0000)]
sync kernel32 winetest with wine 1.1.33

svn path=/trunk/; revision=44195

14 years agopartial FormatMessage wine sync
Christoph von Wittich [Mon, 16 Nov 2009 01:37:12 +0000 (01:37 +0000)]
partial FormatMessage wine sync

svn path=/trunk/; revision=44194

14 years agoadd MUI error codes from wine
Christoph von Wittich [Mon, 16 Nov 2009 01:23:20 +0000 (01:23 +0000)]
add MUI error codes from wine

svn path=/trunk/; revision=44193

14 years agosync msi winetest to wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:15:54 +0000 (01:15 +0000)]
sync msi winetest to wine 1.1.33

svn path=/trunk/; revision=44192

14 years agosync msi to wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:13:42 +0000 (01:13 +0000)]
sync msi to wine 1.1.33

svn path=/trunk/; revision=44191

14 years agoUpdate ScummVM Link to the Version 1.0.0.
Daniel Reimer [Mon, 16 Nov 2009 00:26:56 +0000 (00:26 +0000)]
Update ScummVM Link to the Version 1.0.0.
Congrats to the ScummVM Team reaching Final State after 8 years of work.
Best wishes for the future from us.

svn path=/trunk/; revision=44190

14 years agosync mshtml to wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 23:44:20 +0000 (23:44 +0000)]
sync mshtml to wine 1.1.33

svn path=/trunk/; revision=44189

14 years agosync rsaenh with wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 23:28:15 +0000 (23:28 +0000)]
sync rsaenh with wine 1.1.33

svn path=/trunk/; revision=44188

14 years agosync rsaenh winetest with wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 23:25:01 +0000 (23:25 +0000)]
sync rsaenh winetest with wine 1.1.33

svn path=/trunk/; revision=44187

14 years agopartial shell32 sync
Christoph von Wittich [Sun, 15 Nov 2009 23:19:33 +0000 (23:19 +0000)]
partial shell32 sync

svn path=/trunk/; revision=44186

14 years agosync crypt32 winetest with wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 23:04:51 +0000 (23:04 +0000)]
sync crypt32 winetest with wine 1.1.33

svn path=/trunk/; revision=44185

14 years agosync crypt32 with wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 22:58:08 +0000 (22:58 +0000)]
sync crypt32 with wine 1.1.33

svn path=/trunk/; revision=44184

14 years agosync dde with wine 1.1.33
Christoph von Wittich [Sun, 15 Nov 2009 22:45:31 +0000 (22:45 +0000)]
sync dde with wine 1.1.33

svn path=/trunk/; revision=44183

14 years agokjk_hyperion: "Gross hack. People with RosBE installed to a path with spaces can...
Daniel Reimer [Sun, 15 Nov 2009 22:29:08 +0000 (22:29 +0000)]
kjk_hyperion: "Gross hack. People with RosBE installed to a path with spaces can now compile again. Emergency over."

svn path=/trunk/; revision=44182

14 years ago- Implement reading user shell folders from registry
Johannes Anderwald [Sun, 15 Nov 2009 19:08:27 +0000 (19:08 +0000)]
- Implement reading user shell folders from registry

See issue #4206 for more details.

svn path=/trunk/; revision=44177

14 years ago - Fix build (try 3)
Cameron Gutman [Sat, 14 Nov 2009 19:03:37 +0000 (19:03 +0000)]
 - Fix build (try 3)
 - I have no idea how this built for me

svn path=/trunk/; revision=44166

14 years ago - Fix build (try 2)
Cameron Gutman [Sat, 14 Nov 2009 18:52:33 +0000 (18:52 +0000)]
 - Fix build (try 2)

svn path=/trunk/; revision=44165

14 years ago - Fix build
Cameron Gutman [Sat, 14 Nov 2009 18:48:07 +0000 (18:48 +0000)]
 - Fix build

svn path=/trunk/; revision=44164

14 years ago - Use a spin lock to protect OSKit instead of a recursive mutex
Cameron Gutman [Sat, 14 Nov 2009 18:38:02 +0000 (18:38 +0000)]
 - Use a spin lock to protect OSKit instead of a recursive mutex
 - Remove the now unused recursive mutex code
 - Don't clear the SS_ISCONNECTING flag when soconnect returns EINPROGRESS because it causes a crash during soreceive
 - Lock CONNECTION_ENDPOINT and ADDRESS_FILE structs better
 - Remove incorrect IoMarkIrpPending calls
 - Remove useless ASSERT_LOCKED
 - Don't destroy so_connection when we close a connection
 - Remove useless FileFindConnectionByContext
 - Remove SignalledConnectionsList and SignalledConnectionsLock and simply loop through ConnectionEndpointList for signalled connections
 - Add connections to ConnectionEndpointList in TCPAllocateConnectionEndpoint instead of FileOpenConnection so we don't miss listeners
 - Remove connections from ConnectionEndpointList in TCPFreeConnectionEndpoint instead of FileCloseConnection so we don't miss listeners
 - Use ExInterlockedRemoveHeadList to remove entries in the address file's request lists
 - Remove useless members, flags, and variables in titypes.h and tcp.h
 - Fixes bug 4955 and 4434

svn path=/trunk/; revision=44163

14 years agoGetCurrencyFormatW() formatting bug fix by Viliam Lejcik <lejcik at host dot sk>
Sylvain Petreolle [Sat, 14 Nov 2009 15:44:27 +0000 (15:44 +0000)]
GetCurrencyFormatW() formatting bug fix by Viliam Lejcik <lejcik at host dot sk>

svn path=/trunk/; revision=44158

14 years agoForgotten French translation for Fraginator lost on my HD
Pierre Schweitzer [Sat, 14 Nov 2009 15:44:02 +0000 (15:44 +0000)]
Forgotten French translation for Fraginator lost on my HD

svn path=/trunk/; revision=44157

14 years ago- Add VK_ICO_* codes.
Aleksey Bragin [Sat, 14 Nov 2009 11:22:29 +0000 (11:22 +0000)]
- Add VK_ICO_* codes.

svn path=/trunk/; revision=44153

14 years ago[CMIDRIVER]
Johannes Anderwald [Fri, 13 Nov 2009 17:47:03 +0000 (17:47 +0000)]
[CMIDRIVER]
- Fix build breakage by Sylvain Petreolle

svn path=/trunk/; revision=44142

14 years ago[KERNEL32]
Johannes Anderwald [Fri, 13 Nov 2009 17:31:02 +0000 (17:31 +0000)]
[KERNEL32]
- Don't access freed memory in GetVolumeNameForVolumeMountPointW

svn path=/trunk/; revision=44141

14 years agoSilence for Christoph & buildbot
Johannes Anderwald [Fri, 13 Nov 2009 15:08:00 +0000 (15:08 +0000)]
Silence for Christoph & buildbot

svn path=/trunk/; revision=44137

14 years ago- Silence (on request of Christoph)
Johannes Anderwald [Fri, 13 Nov 2009 15:04:19 +0000 (15:04 +0000)]
- Silence (on request of Christoph)

svn path=/trunk/; revision=44136

14 years ago- Silence
Johannes Anderwald [Fri, 13 Nov 2009 15:00:33 +0000 (15:00 +0000)]
- Silence

svn path=/trunk/; revision=44135

14 years ago[PSDK]
Johannes Anderwald [Fri, 13 Nov 2009 14:22:11 +0000 (14:22 +0000)]
[PSDK]
- Fix MIXEROPENDESC struct(x64 compability issue)
[MMEBUDDY]
- Fix usage of MIXEROPENDESC
[WDMAUD.DRV]
- Implement a listening thread which waits for volume level / mute control changes

svn path=/trunk/; revision=44133

14 years ago[KS]
Johannes Anderwald [Fri, 13 Nov 2009 14:13:22 +0000 (14:13 +0000)]
[KS]
- Silent debug traces on request of Christoph
[CMIDRIVER]
- Remove link hacks
[WDMAUD_KERNEL]
- Silent debug traces on request of Christoph
- Reference notification event when the mixer is openend
- Fix a bug in the notification handler (double free due entry not removed from list)

svn path=/trunk/; revision=44132

14 years ago- Sync rpcrt4 with Wine-1.1.32. ReactOS-specific changes are:
Aleksey Bragin [Fri, 13 Nov 2009 13:26:54 +0000 (13:26 +0000)]
- Sync rpcrt4 with Wine-1.1.32. ReactOS-specific changes are:
 * Use overlapped named pipes access mode, and use GetOverlappedResult for reading/writing too.
 * Add patch for waiting for server calls in RpcMgmtWaitServerListen (not fully correct one, but enough for now).
 * Hacks around ntsecapi.h inclusion (it can't be used properly with winternl.h).
 * Total removal of HTTP transport. Could be enabled when dynamic linking to wininet.dll will be possible.
- Change config.h to include new ASM macros. This is not platform independent.

svn path=/trunk/; revision=44130

14 years agosync dde with wine 1.1.32
Christoph von Wittich [Fri, 13 Nov 2009 12:40:20 +0000 (12:40 +0000)]
sync dde with wine 1.1.32

svn path=/trunk/; revision=44129

14 years agosync dwmapi with wine 1.1.32
Christoph von Wittich [Fri, 13 Nov 2009 11:47:11 +0000 (11:47 +0000)]
sync dwmapi with wine 1.1.32

svn path=/trunk/; revision=44128

14 years ago- Implement updating volume position / mute state after receiving a notification
Johannes Anderwald [Fri, 13 Nov 2009 11:42:23 +0000 (11:42 +0000)]
- Implement updating volume position / mute state after receiving a notification

svn path=/trunk/; revision=44127

14 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Fri, 13 Nov 2009 01:48:28 +0000 (01:48 +0000)]
[WDMAUD_KERNEL]
- Implement kernel side of notifying clients of volume / mute control changes

svn path=/trunk/; revision=44122

14 years ago- Documentative amendment to 44115: It incorrectly stated that the commit added ...
Stefan Ginsberg [Thu, 12 Nov 2009 21:46:52 +0000 (21:46 +0000)]
- Documentative amendment to 44115: It incorrectly stated that the commit added "init(i)al support for PCI and ISA interrupts". What was added is (disabled) initial support for ISA, EISA and PCI configurations that require level-triggered interrupts (we only support edge-triggered interrupts right now) and PCI IRQ routing, along with proper handling of IRQ13.

svn path=/trunk/; revision=44121

14 years ago- Win32k doesn't know what "opaque" means. Store the module base address in the struc...
Stefan Ginsberg [Thu, 12 Nov 2009 20:41:12 +0000 (20:41 +0000)]
- Win32k doesn't know what "opaque" means. Store the module base address in the structure too for the code that relied on the handle being the base address.

svn path=/trunk/; revision=44120

14 years ago- Add missing synchronization for access to PsLoadedModuleList. Inserting and removin...
Stefan Ginsberg [Thu, 12 Nov 2009 19:41:39 +0000 (19:41 +0000)]
- Add missing synchronization for access to PsLoadedModuleList. Inserting and removing entries to the list was protected by a spinlock, but some places didn't acquire the lock before looping the list when searching for module information. For efficiency, use an executive resource for other access than inserting/removing entries so we can have shared locking in some common cases (spinlock stays so access can be synchronized with DPCs).
- Make SystemUnloadGdiDriverInformation take the opaque SectionPointer (which is really the Loader Entry) from the SYSTEM_GDI_DRIVER_INFORMATION structure returned in SystemLoadGdiDriverInformation so it doesn't need to loop the loaded module list to find it.
- Fix EngLoad/UnloadImage to do this. Also make EngLoadImage return the pointer to the internal structure as the "handle" so EngUnloadImage doesn't need to loop the driver list to find it. The code is still extremely broken and needs a rewrite.
- Remove some externs from related variables in the code -- we use something called "headers".

svn path=/trunk/; revision=44119

14 years ago[advapi32]
Aleksey Bragin [Thu, 12 Nov 2009 13:55:51 +0000 (13:55 +0000)]
[advapi32]
Alexander Yastrebov <menone7@gmail.com>
- Return proper lengths of required buffer sizes in characters (including the termination NULL character) in LookupAccountSid. Fixes 4 "advapi32_winetest security" failures.
See issue #4904 for more details.

svn path=/trunk/; revision=44117

14 years ago[Unused ReactOS setup]
Aleksey Bragin [Thu, 12 Nov 2009 12:35:01 +0000 (12:35 +0000)]
[Unused ReactOS setup]
- Move duplicate code from LoadSetupData to a separate function
- Fix a bug on line 1054 of the original file: SetupData.LangCount should be SetupData.KbLayoutCount (copy-paste mistake). This would have probably gone unnoticed if SetupData.LangCount > SetupData.KbLayoutCount due to other end of section checking.
- Based on a patch from bug 4933.

svn path=/trunk/; revision=44116

14 years ago- Add inital support for PCI and ISA interrupts.
Stefan Ginsberg [Wed, 11 Nov 2009 22:29:16 +0000 (22:29 +0000)]
- Add inital support for PCI and ISA interrupts.
- Use different register allocation to be more efficient on certain systems.
- Add tables and initial code for Lazy IRQL support.

svn path=/trunk/; revision=44115

14 years ago- Fix building of cmidriver
Johannes Anderwald [Wed, 11 Nov 2009 20:43:58 +0000 (20:43 +0000)]
- Fix building of cmidriver
- Required a few hacks, which were documented as //HACK

svn path=/trunk/; revision=44113

14 years ago[rosapps]
Aleksey Bragin [Wed, 11 Nov 2009 18:19:42 +0000 (18:19 +0000)]
[rosapps]
- Avoid old crt names usage, by Caemyr/kjk_hyperion.

svn path=/trunk/; revision=44107

14 years agoforgot that one
Sylvain Petreolle [Wed, 11 Nov 2009 13:02:13 +0000 (13:02 +0000)]
forgot that one

svn path=/trunk/; revision=44105

14 years ago[12:14] <Usurp> kjk_hyperion: i dont understand where msvcrt is linked twice in crt_r...
Sylvain Petreolle [Wed, 11 Nov 2009 12:51:03 +0000 (12:51 +0000)]
[12:14] <Usurp> kjk_hyperion: i dont understand where msvcrt is linked twice in crt_regtest ?
[12:14] <kjk_hyperion> Usurp: that's right, you don't understand

svn path=/trunk/; revision=44104

14 years agomodified regtests/crt/crt_regtest.rbuild
KJK::Hyperion [Wed, 11 Nov 2009 11:12:55 +0000 (11:12 +0000)]
modified   regtests/crt/crt_regtest.rbuild
   Don't link msvcrt twice, bad things happen

modified   tests/dirdlg/dirdlg.rbuild
modified   winetests/msvcrt/msvcrt.rbuild
   More oldnames hacks

modified   tests/tcpsvr/tcpsvr.c
   Don't use close on sockets, use closesocket

svn path=/trunk/; revision=44103

14 years agoMore _CRTIMP love for non-ANSI symbols
KJK::Hyperion [Wed, 11 Nov 2009 11:11:58 +0000 (11:11 +0000)]
More _CRTIMP love for non-ANSI symbols

svn path=/trunk/; revision=44102

14 years ago- Fix problem with ASSERT & ASSERTMSG when compiled with g++
Johannes Anderwald [Wed, 11 Nov 2009 10:53:52 +0000 (10:53 +0000)]
- Fix problem with ASSERT & ASSERTMSG when compiled with g++

svn path=/trunk/; revision=44101

14 years ago[KS]
Johannes Anderwald [Wed, 11 Nov 2009 09:04:42 +0000 (09:04 +0000)]
[KS]
- Implement KsEnableEvent, KsEnableEventWithAllocator, KsDiscardEvent
[PORTCLS]
- Fix signalling the event
- DirectSound clients can now use IDirectSoundNotify interface to be notified of a position change

svn path=/trunk/; revision=44100

14 years agoreturn TRUE in ReadFile if there is nothing to read
Christoph von Wittich [Wed, 11 Nov 2009 08:29:08 +0000 (08:29 +0000)]
return TRUE in ReadFile if there is nothing to read

svn path=/trunk/; revision=44099

14 years agosync shell32 winetest to wine 1.1.32
Christoph von Wittich [Wed, 11 Nov 2009 07:36:49 +0000 (07:36 +0000)]
sync shell32 winetest to wine 1.1.32

svn path=/trunk/; revision=44098

14 years agomodified Makefile
KJK::Hyperion [Wed, 11 Nov 2009 03:41:14 +0000 (03:41 +0000)]
modified   Makefile
   Give poor pefixup its own echo line

modified   ReactOS-amd64.rbuild
modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   Set global linker flags globally
   Goodbye NTOSKRNL_SHARED

modified   tools/rbuild/backend/codeblocks/codeblocks.cpp
modified   tools/rbuild/backend/msvc/vcprojmaker.cpp
   Build fixes. I really want to delete these dead backends

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   Makefile rule for the linker. Also generates the .lib and .exp for DLLs, and obsoletes a whole lot of shitty rbuild code

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   Specify module type-specific linker flags... in the specification of flags for module types, instead of wherever
   Fix generation of project-global linker and NASM flags
   Give better names to the variables that contain names of BE-provided libraries
   Don't put quotes around the names of BE-provided libraries, GNU make doesn't support quoting in any way, shape or form and quotes around filenames actually break shit on Windows (see <http://reactos-blog.blogspot.com/2009/11/gnu-make-fails-on-windows-with-multiple.html>). Just install the BE in a path without spaces in it
   Typo: LFLAGS is the flags for lex, flags for linker come from LDFLAGS

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Moved generation of linker and import library generation rules out of rbuild and into sub-makefiles. A lot of code deleted, nothing of value was lost
   More LFLAGS -> LDFLAGS
   Goodbye mangledsymbols and underscoresymbols attributes, they don't do shit other than complicating my life
   If we have to add an underscore in front of the entry point name for some architectures, how about we do it in a single place?

modified   tools/rbuild/backend/mingw/rules.mak
   Minor cosmetic change

svn path=/trunk/; revision=44091

14 years agomodified lib/3rdparty/mingw/mingw.rbuild
KJK::Hyperion [Wed, 11 Nov 2009 03:21:16 +0000 (03:21 +0000)]
modified   lib/3rdparty/mingw/mingw.rbuild
   oldnames is not an import library and dlltool --add-underscore is not an appropriate way to build it. Delete it for now

modified   base/applications/network/ftp/ftp.rbuild
modified   base/applications/winhlp32/winhlp32.rbuild
modified   base/services/dhcp/dhcp.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/wininet/wininet.rbuild
modified   lib/3rdparty/libxml2/libxml2.rbuild
   Workarounds for the removal of oldnames

modified   dll/directx/d3d8/d3d8.rbuild
   Use a file that actually exists

modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
   "mangledsymbols" never did anything: remove it

modified   dll/win32/msvcrt/msvcrt.def
modified   lib/sdk/crt/crt.rbuild
   We don't actually implement j0/j1/jn/y0/y1/yn: _j0 calls __imp__j0, which is an alias for __imp___j0, which redirects back to _j0 in a perfect loop. Remove them for the time being

modified   lib/3rdparty/bzip2/bzip2.rbuild
   This was actually called unbzip2.dll. Who knew

svn path=/trunk/; revision=44090

14 years agoNon-ANSI names need _CRTIMP too
KJK::Hyperion [Wed, 11 Nov 2009 03:09:42 +0000 (03:09 +0000)]
Non-ANSI names need _CRTIMP too

svn path=/trunk/; revision=44089

14 years ago- Missed in previous commit: Fix VideoPortEnable/DisableInterrupt -- they should...
Stefan Ginsberg [Tue, 10 Nov 2009 23:01:42 +0000 (23:01 +0000)]
- Missed in previous commit: Fix VideoPortEnable/DisableInterrupt -- they should only fail if the driver didn't provide an ISR (documented).

svn path=/trunk/; revision=44086

14 years ago- Fix HalDisableSystemInterrupt -- it doesn't return anything.
Stefan Ginsberg [Tue, 10 Nov 2009 23:00:51 +0000 (23:00 +0000)]
- Fix HalDisableSystemInterrupt -- it doesn't return anything.
- Fix VideoPortEnable/DisableInterrupt -- they should only fail if the driver didn't provide an ISR (documented).

svn path=/trunk/; revision=44085

14 years agoFix Japanese bug #4776.
Dmitry Gorbachev [Tue, 10 Nov 2009 22:52:41 +0000 (22:52 +0000)]
Fix Japanese bug #4776.

svn path=/trunk/; revision=44084

14 years agosync shlwapi to wine 1.1.32
Christoph von Wittich [Tue, 10 Nov 2009 21:36:55 +0000 (21:36 +0000)]
sync shlwapi to wine 1.1.32

svn path=/trunk/; revision=44083

14 years agosync SHGetFileInfo and CommandLineToArgvW to wine 1.1.32
Christoph von Wittich [Tue, 10 Nov 2009 21:31:37 +0000 (21:31 +0000)]
sync SHGetFileInfo and CommandLineToArgvW to wine 1.1.32

svn path=/trunk/; revision=44082

14 years agopartial shell32 sync to wine 1.1.32
Christoph von Wittich [Tue, 10 Nov 2009 21:29:56 +0000 (21:29 +0000)]
partial shell32 sync to wine 1.1.32

svn path=/trunk/; revision=44081

14 years agofix ILCreateControlPanel and ILCreatePrinters
Christoph von Wittich [Tue, 10 Nov 2009 20:35:07 +0000 (20:35 +0000)]
fix ILCreateControlPanel and ILCreatePrinters

svn path=/trunk/; revision=44080

14 years agosync shell32/shelllink to wine 1.1.32
Christoph von Wittich [Tue, 10 Nov 2009 20:09:00 +0000 (20:09 +0000)]
sync shell32/shelllink to wine 1.1.32

svn path=/trunk/; revision=44079

14 years ago- Correct author of freeze.c (code was copied from cpu.c).
Stefan Ginsberg [Tue, 10 Nov 2009 16:42:31 +0000 (16:42 +0000)]
- Correct author of freeze.c (code was copied from cpu.c).

svn path=/trunk/; revision=44078

14 years ago- Fix missing initialization of KdComPortInUse, containing the base address of the...
Stefan Ginsberg [Tue, 10 Nov 2009 14:23:44 +0000 (14:23 +0000)]
- Fix missing initialization of KdComPortInUse, containing the base address of the port used by kdcom. The serial driver checks this variable to determine if it can use the port or if it should stay (the fuck) off. KdCom no longer hangs after serial driver initialization in second stage.

svn path=/trunk/; revision=44077