reactos.git
12 years agosync to trunk head (37079)
Timo Kreuzer [Thu, 30 Oct 2008 09:59:28 +0000 (09:59 +0000)]
sync to trunk head (37079)

svn path=/branches/ros-amd64-bringup/; revision=37088

12 years ago- Fix a memory leak (CID 625)
Johannes Anderwald [Thu, 30 Oct 2008 08:35:15 +0000 (08:35 +0000)]
- Fix a memory leak (CID 625)

svn path=/trunk/; revision=37084

12 years ago- Fix memory leak (CID 621)
Johannes Anderwald [Thu, 30 Oct 2008 08:28:50 +0000 (08:28 +0000)]
- Fix memory leak (CID 621)

svn path=/trunk/; revision=37083

12 years ago- Clean up resources on failure
Johannes Anderwald [Thu, 30 Oct 2008 08:23:53 +0000 (08:23 +0000)]
- Clean up resources on failure

svn path=/trunk/; revision=37082

12 years ago- Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
Johannes Anderwald [Thu, 30 Oct 2008 07:59:55 +0000 (07:59 +0000)]
- Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
- Fix a possible null dereference (CID 495)
- Fix initializing Recycle Bin Property dialog
- Add LVS_EX_FULLROWSELECT style

svn path=/trunk/; revision=37081

12 years ago- Fix displaying MAC of adapter
Johannes Anderwald [Thu, 30 Oct 2008 07:24:37 +0000 (07:24 +0000)]
- Fix displaying MAC of adapter

svn path=/trunk/; revision=37080

12 years agoMake the task bar top-most when necessary
Thomas Bluemel [Thu, 30 Oct 2008 01:58:24 +0000 (01:58 +0000)]
Make the task bar top-most when necessary

svn path=/trunk/; revision=37079

12 years ago- Move code out of freetype.c.
James Tabor [Thu, 30 Oct 2008 01:32:44 +0000 (01:32 +0000)]
- Move code out of freetype.c.
- Implement GetRasterizerCaps.
- From wine: Patch by Bobby Bingham: Add support for the GGO_UNHINTED flag in GetGlyphOutline.

svn path=/trunk/; revision=37078

12 years ago- Move FreeType support to freetype.c.
James Tabor [Wed, 29 Oct 2008 21:57:04 +0000 (21:57 +0000)]
- Move FreeType support to freetype.c.
- Add font.c to build system and picked our first victim to populate it.
- Implemented NtGdiSetTextJustification in text.c.

svn path=/trunk/; revision=37076

12 years ago- Fix kernel SMP intrinsics:
Stefan Ginsberg [Wed, 29 Oct 2008 21:08:20 +0000 (21:08 +0000)]
- Fix kernel SMP intrinsics:
- Correct typos and add missing casts
- Use IPI_APC in KiRequestApcInterrupt as we are requesting an APC IPI, not DPC
- Fix KiAcquireDispatcherObject (credit to Alex)
- Add missing SMP versions of KiAcquire/ReleaseDispatcherLockAtDpcLevel and KiAcquire/ReleaseTimerLock
- Stub out KiRundownThread for SMP

svn path=/trunk/; revision=37075

12 years agoMerging r37048, r37051, r37052, r37055 from the-real-msvc branch
KJK::Hyperion [Wed, 29 Oct 2008 20:06:44 +0000 (20:06 +0000)]
Merging r37048, r37051, r37052, r37055 from the-real-msvc branch

svn path=/trunk/; revision=37074

12 years ago- Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.
Michael Martin [Wed, 29 Oct 2008 19:50:55 +0000 (19:50 +0000)]
- Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.

svn path=/trunk/; revision=37073

12 years ago- Update width info structure.
James Tabor [Wed, 29 Oct 2008 19:44:12 +0000 (19:44 +0000)]
- Update width info structure.

svn path=/trunk/; revision=37072

12 years ago- Launch Network Connections ShellFolder when clicking Network Places' properties
Johannes Anderwald [Wed, 29 Oct 2008 17:49:00 +0000 (17:49 +0000)]
- Launch Network Connections ShellFolder when clicking Network Places' properties
- Dedicated to gabriel_it

svn path=/trunk/; revision=37071

12 years agoDon't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode...
Colin Finck [Wed, 29 Oct 2008 16:42:03 +0000 (16:42 +0000)]
Don't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode, but on the file extension.
.pspec files are preprocessed now, while .spec files aren't. A change like this was already done in the amd64 branch before KJK rewrote the .spec stuff in rbuild.

- Renamed currently preprocessed .spec files to .pspec and changed that in the .rbuild files appropriately
- Renamed "IsWineModule" to "IsSpecDefinitionFile",  the new name is more appropriate
- Removed some checks for uppercased file extensions, we neither use them in our tree nor it will totally work as we only support them in a few places

Commit dedicated to Timo ;-)

svn path=/trunk/; revision=37070

12 years ago- KeSetTimerEx: When canceling the insertion of an expired timer, don't forget to...
Stefan Ginsberg [Wed, 29 Oct 2008 16:24:36 +0000 (16:24 +0000)]
- KeSetTimerEx: When canceling the insertion of an expired timer, don't forget to exit the dispatcher and return. Fixes crashes exposed by kernel32 Winetest "timer", caused by KiTimerTableListHead suddenly having broken entries.
- Also fix a comment -- KiExitDispatcher doesn't release the dispatcher lock, it is done in KxInsertTimer

svn path=/trunk/; revision=37068

12 years ago- Improve error checking
Johannes Anderwald [Wed, 29 Oct 2008 16:19:09 +0000 (16:19 +0000)]
- Improve error checking
- Remove extensions which should be hidden (*.lnk)
- CID 82

svn path=/trunk/; revision=37067

12 years ago- MmMapViewOfSection: Don't forget to unlock the address space before returning ...
Stefan Ginsberg [Wed, 29 Oct 2008 16:10:20 +0000 (16:10 +0000)]
- MmMapViewOfSection: Don't forget to unlock the address space before returning -- fixes a bugcheck revealed by kernel32 Winetest "virtual"

svn path=/trunk/; revision=37064

12 years ago* Try to invoke items by executing the default context menu action
Johannes Anderwald [Wed, 29 Oct 2008 16:00:28 +0000 (16:00 +0000)]
* Try to invoke items by executing the default context menu action
* Fixes executing of items like network connections folder whose items are no file system objects
* Colin's wish list (1/2) :)

svn path=/trunk/; revision=37063

12 years ago- Delete Gateway Address from TcpipSettings when the gateway has been removed
Johannes Anderwald [Wed, 29 Oct 2008 14:12:29 +0000 (14:12 +0000)]
- Delete Gateway Address from TcpipSettings when the gateway has been removed
- Correctly check if there is Gateway set when initializing
- Delete all old routes when applying changes
- Add new gateway when applying changes

svn path=/trunk/; revision=37059

12 years ago- Only display the default gateway when there is actually a gateway set
Johannes Anderwald [Wed, 29 Oct 2008 13:49:10 +0000 (13:49 +0000)]
- Only display the default gateway when there is actually a gateway set

svn path=/trunk/; revision=37058

12 years ago- Only display a gateway address when there is one
Johannes Anderwald [Wed, 29 Oct 2008 13:42:04 +0000 (13:42 +0000)]
- Only display a gateway address when there is one

svn path=/trunk/; revision=37056

12 years agoMake acpi compile with Visual C++
KJK::Hyperion [Wed, 29 Oct 2008 12:56:17 +0000 (12:56 +0000)]
Make acpi compile with Visual C++

svn path=/branches/the-real-msvc/; revision=37048

12 years ago- Fix setting manual ip address
Johannes Anderwald [Tue, 28 Oct 2008 15:53:01 +0000 (15:53 +0000)]
- Fix setting manual ip address

svn path=/trunk/; revision=37042

12 years ago- Store NTEContext for IPAddress
Johannes Anderwald [Tue, 28 Oct 2008 15:31:36 +0000 (15:31 +0000)]
- Store NTEContext for IPAddress
- Call DeleteIPAddress and AddIPAddress for adapters when applying changes

svn path=/trunk/; revision=37041

12 years agorevert part of rev 31787 as we don't support IROT in rpcss
Christoph von Wittich [Tue, 28 Oct 2008 14:32:41 +0000 (14:32 +0000)]
revert part of rev 31787 as we don't support IROT in rpcss
fixes FoxitReader, GVIM and many other apps
See issue #2361 for more details.

svn path=/trunk/; revision=37039

12 years ago- Fix storing the DhcpIpAddress key
Johannes Anderwald [Tue, 28 Oct 2008 10:32:07 +0000 (10:32 +0000)]
- Fix storing the DhcpIpAddress key

svn path=/trunk/; revision=37038

12 years ago- Rewrite getResInfo to directly return a linked list of IP_ADDR_STRING structures
Johannes Anderwald [Tue, 28 Oct 2008 10:06:16 +0000 (10:06 +0000)]
- Rewrite getResInfo to directly return a linked list of IP_ADDR_STRING structures
- Might fix manual DNS bug

svn path=/trunk/; revision=37037

12 years ago- Fix multiple bugs in details status dialog
Johannes Anderwald [Tue, 28 Oct 2008 09:14:06 +0000 (09:14 +0000)]
- Fix multiple bugs in details status dialog

svn path=/trunk/; revision=37036

12 years ago- Implement applying / canceling changes on close
Johannes Anderwald [Tue, 28 Oct 2008 09:06:24 +0000 (09:06 +0000)]
- Implement applying / canceling changes on close
- Temporary disable storing the TcpFilter settings

svn path=/trunk/; revision=37035

12 years agosync trunk head (37032)
Timo Kreuzer [Mon, 27 Oct 2008 21:51:13 +0000 (21:51 +0000)]
sync trunk head (37032)

svn path=/branches/ros-amd64-bringup/; revision=37034

12 years ago - Merge r37029 from aicom-network-fixes
Cameron Gutman [Mon, 27 Oct 2008 20:43:44 +0000 (20:43 +0000)]
 - Merge r37029 from aicom-network-fixes
 - This fixes the last of all the port allocation bugs that I know of

svn path=/trunk/; revision=37032

12 years ago- Remove version defines
Stefan Ginsberg [Mon, 27 Oct 2008 20:32:17 +0000 (20:32 +0000)]
- Remove version defines

svn path=/trunk/; revision=37031

12 years ago- Remove version defines
Stefan Ginsberg [Mon, 27 Oct 2008 20:25:29 +0000 (20:25 +0000)]
- Remove version defines

svn path=/trunk/; revision=37030

12 years agoSEH protect all calls to the UM-PNP-Manager.
Eric Kohl [Mon, 27 Oct 2008 19:26:37 +0000 (19:26 +0000)]
SEH protect all calls to the UM-PNP-Manager.

svn path=/trunk/; revision=37028

12 years ago- Implement AddMonitorA, AddMonitorW
Johannes Anderwald [Mon, 27 Oct 2008 18:04:45 +0000 (18:04 +0000)]
- Implement AddMonitorA, AddMonitorW

svn path=/trunk/; revision=37027

12 years ago- Cleanup and fix OffsetViewport/WindowOrgEx.
James Tabor [Mon, 27 Oct 2008 17:56:35 +0000 (17:56 +0000)]
- Cleanup and fix OffsetViewport/WindowOrgEx.

svn path=/trunk/; revision=37026

12 years ago* Implement DeletePrintProvidorA, DeletePrintProvidorW
Johannes Anderwald [Mon, 27 Oct 2008 16:47:23 +0000 (16:47 +0000)]
* Implement DeletePrintProvidorA, DeletePrintProvidorW

svn path=/trunk/; revision=37025

12 years ago- Implement AddPrintProvidorA, AddPrintProvidorW
Johannes Anderwald [Mon, 27 Oct 2008 15:40:21 +0000 (15:40 +0000)]
- Implement AddPrintProvidorA, AddPrintProvidorW

svn path=/trunk/; revision=37024

12 years ago- Add PROVIDER_INFO_1 and PROVIDER_INFO_2 struct
Johannes Anderwald [Mon, 27 Oct 2008 15:16:05 +0000 (15:16 +0000)]
- Add PROVIDER_INFO_1 and PROVIDER_INFO_2 struct

svn path=/trunk/; revision=37023

12 years ago- Remove broken KGDT_64_R3_TEB
Stefan Ginsberg [Mon, 27 Oct 2008 14:09:17 +0000 (14:09 +0000)]
- Remove broken KGDT_64_R3_TEB

svn path=/branches/ros-amd64-bringup/; revision=37022

12 years agoupdate videoprt.spec, add some exports found on vista64 and reorder some functions...
Timo Kreuzer [Mon, 27 Oct 2008 13:52:52 +0000 (13:52 +0000)]
update videoprt.spec, add some exports found on vista64 and reorder some functions alphabetically

svn path=/branches/ros-amd64-bringup/; revision=37021

12 years ago- Add missing goto done in NpfsRead when setting Status as STATUS_PENDING. Fixes...
Michael Martin [Mon, 27 Oct 2008 13:51:20 +0000 (13:51 +0000)]
- Add missing goto done in NpfsRead when setting Status as STATUS_PENDING. Fixes bug #3115 and duplicates.

svn path=/trunk/; revision=37020

12 years agoOn x64 the 64 bit ring3 teb (gs) shares the generic 64 bit data selector, while the...
Timo Kreuzer [Mon, 27 Oct 2008 13:00:44 +0000 (13:00 +0000)]
On x64 the 64 bit ring3 teb (gs) shares the generic 64 bit data selector, while the 32 bit teb (fs) has it's own selector.

svn path=/branches/ros-amd64-bringup/; revision=37019

12 years agouse ExFreePoolWithTag
Christoph von Wittich [Mon, 27 Oct 2008 11:16:31 +0000 (11:16 +0000)]
use ExFreePoolWithTag

svn path=/trunk/; revision=37018

12 years agosync Shell_NotifyIconW with wine 1.1.7
Christoph von Wittich [Mon, 27 Oct 2008 09:49:27 +0000 (09:49 +0000)]
sync Shell_NotifyIconW with wine 1.1.7

svn path=/trunk/; revision=37017

12 years agoSync winefile and write to wine Head.
Daniel Reimer [Mon, 27 Oct 2008 08:29:08 +0000 (08:29 +0000)]
Sync winefile and write to wine Head.

svn path=/trunk/; revision=37016

12 years agoSync wordpad and xcopy with wine HEAD. Font resizeing seems to work
Daniel Reimer [Mon, 27 Oct 2008 08:23:54 +0000 (08:23 +0000)]
Sync wordpad and xcopy with wine HEAD. Font resizeing seems to work

svn path=/trunk/; revision=37015

12 years agosync riched20 with wine 1.1.7
Christoph von Wittich [Mon, 27 Oct 2008 08:10:25 +0000 (08:10 +0000)]
sync riched20 with wine 1.1.7

svn path=/trunk/; revision=37014

12 years agoset correct timezone in 2nd stage
Christoph von Wittich [Mon, 27 Oct 2008 07:56:33 +0000 (07:56 +0000)]
set correct timezone in 2nd stage
patch by hto
See issue #3822 for more details.

svn path=/trunk/; revision=37013

12 years ago - Merge aicom-network-fixes up to r37010
Cameron Gutman [Mon, 27 Oct 2008 05:16:14 +0000 (05:16 +0000)]
 - Merge aicom-network-fixes up to r37010
 - Most of the port allocation problems are now fixed

svn path=/trunk/; revision=37011

12 years ago- Add TEB_SELF to asm.h
Timo Kreuzer [Mon, 27 Oct 2008 02:48:54 +0000 (02:48 +0000)]
- Add TEB_SELF to asm.h
- fix loading of TEB in fiber code
This commit is dedicated to Alex

svn path=/trunk/; revision=37008

12 years agoERR -> TRACE
Eric Kohl [Sun, 26 Oct 2008 22:57:31 +0000 (22:57 +0000)]
ERR -> TRACE

svn path=/trunk/; revision=37007

12 years agoLSA: Get rid of the globally created binding handle and use the WIDL-generated custom...
Eric Kohl [Sun, 26 Oct 2008 22:53:30 +0000 (22:53 +0000)]
LSA: Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.

svn path=/trunk/; revision=37006

12 years ago- Remove ntdll exports not applicable for amd64, fix a couple of broken export names...
Stefan Ginsberg [Sun, 26 Oct 2008 21:35:03 +0000 (21:35 +0000)]
- Remove ntdll exports not applicable for amd64, fix a couple of broken export names and stub out RtlInitializeCriticalSectionEx until its parameters are determined
- Add rtl and ntdll stubs for arch specific routines
- Now ntdll almost links, but some missing crt support is left to do

svn path=/branches/ros-amd64-bringup/; revision=37004

12 years agoDWORD is unsigned, so cast to signed type before checking for < 0. Fixes one gdi32...
Gregor Schneider [Sun, 26 Oct 2008 21:06:11 +0000 (21:06 +0000)]
DWORD is unsigned, so cast to signed type before checking for < 0. Fixes one gdi32 winetest.

svn path=/trunk/; revision=37002

12 years agoInitialize _RetVal properly in order to avoid compiler warnings.
Eric Kohl [Sun, 26 Oct 2008 21:03:11 +0000 (21:03 +0000)]
Initialize _RetVal properly in order to avoid compiler warnings.

svn path=/trunk/; revision=37001

12 years agoOlaf Siejka (Caemyr) <olaf_siejka AT o2 DOT pl>
Matthias Kupfer [Sun, 26 Oct 2008 20:54:05 +0000 (20:54 +0000)]
Olaf Siejka (Caemyr) <olaf_siejka AT o2 DOT pl>
- Cleanup reactos installation package list

svn path=/trunk/; revision=36999

12 years ago- Add missing cleanup code
Gregor Schneider [Sun, 26 Oct 2008 18:29:56 +0000 (18:29 +0000)]
- Add missing cleanup code
- Rename variables to fit the naming scheme
- Extend error dprints
- Some comment changes
- Fixes CIDs 617, 618, 619, 620

svn path=/trunk/; revision=36998

12 years agoStretchBlt:
Gregor Schneider [Sun, 26 Oct 2008 18:07:10 +0000 (18:07 +0000)]
StretchBlt:
- Pixel size depends on the type of the destination surface, so don't always write ULONG values
- Use PutPixel and remove now unneeded position code
- Fixes high red zone overwrites, see bug #812 (vlc) and bug #3807 (ccleaner)
- Enable dprints for unhandled sources
- Add a parameter dprint for 24bpp

svn path=/trunk/; revision=36997

12 years agofix some advapi32 security winetests
Christoph von Wittich [Sun, 26 Oct 2008 18:03:38 +0000 (18:03 +0000)]
fix some advapi32 security winetests

svn path=/trunk/; revision=36996

12 years ago- Add a "host" attribute to the project's <include> and <define> tags to make it...
Colin Finck [Sun, 26 Oct 2008 18:03:06 +0000 (18:03 +0000)]
- Add a "host" attribute to the project's <include> and <define> tags to make it possible to define global includes/defines for host components
- Define TARGET_arm/TARGET_i386 in the ReactOS-arm.rbuild/ReactOS-i386.rbuild files for the host tools to make it possible for them to know about the target to build
- Make use of this define in winebuild to fix the issue of r36927 properly
- Define global includes for host tools to simplify all host tool/library rbuild files
- Remove dead rbuild code

- Remove the include/reactos/config.h file, none of its defines are still used
- Fix components accidentally using that file

svn path=/trunk/; revision=36995

12 years ago- Port RegDeleteTreeW from Wine, and remove previous implementation (fixes registry...
Aleksey Bragin [Sun, 26 Oct 2008 15:40:44 +0000 (15:40 +0000)]
- Port RegDeleteTreeW from Wine, and remove previous implementation (fixes registry regtests). That previous implementation was better due to the fact it was not recursive, however it's buggy and noone managed to fix it since the commit's date (revision ~17000). It's wrapped into #if0-#endif now so the code doesn't get lost.

svn path=/trunk/; revision=36994

12 years ago- Convert to .spec
Stefan Ginsberg [Sun, 26 Oct 2008 15:34:08 +0000 (15:34 +0000)]
- Convert to .spec

svn path=/branches/ros-amd64-bringup/; revision=36993

12 years ago- Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate)
Stefan Ginsberg [Sun, 26 Oct 2008 15:23:00 +0000 (15:23 +0000)]
- Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate)

svn path=/branches/ros-amd64-bringup/; revision=36992

12 years agoService Manager:
Eric Kohl [Sun, 26 Oct 2008 15:11:28 +0000 (15:11 +0000)]
Service Manager:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.

The other RPC interfaces will be converted as soon as possible.

svn path=/trunk/; revision=36991

12 years ago- Fix function definitions to match header changes
Stefan Ginsberg [Sun, 26 Oct 2008 14:45:13 +0000 (14:45 +0000)]
- Fix function definitions to match header changes
- Don't use x86 fiber assembly for amd64, just stub it out completely
- Use AMD64 definitions in BasepInitializeContext, and add a broken KGDT_64_R3_TEB

svn path=/branches/ros-amd64-bringup/; revision=36990

12 years ago- Print out event GUID if it's unknown in umpnpmgr.
Aleksey Bragin [Sun, 26 Oct 2008 14:38:50 +0000 (14:38 +0000)]
- Print out event GUID if it's unknown in umpnpmgr.
- Fix a typo in vdmmain.c.

svn path=/trunk/; revision=36989

12 years ago- Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W
Stefan Ginsberg [Sun, 26 Oct 2008 14:25:12 +0000 (14:25 +0000)]
- Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W

svn path=/branches/ros-amd64-bringup/; revision=36988

12 years ago- Fix user32 compilation errors.
Samuel Serapion [Sun, 26 Oct 2008 13:56:59 +0000 (13:56 +0000)]
- Fix user32 compilation errors.
- Don't let stefan steal the glory.

svn path=/branches/ros-amd64-bringup/; revision=36987

12 years agoimport LookupPrivilegeNameA from wine
Christoph von Wittich [Sun, 26 Oct 2008 12:35:42 +0000 (12:35 +0000)]
import LookupPrivilegeNameA from wine

svn path=/trunk/; revision=36986

12 years agoService Manager:
Eric Kohl [Sun, 26 Oct 2008 12:33:36 +0000 (12:33 +0000)]
Service Manager:
- Fix declaration of SERVICE_STATUS_HANDLE in the PSDK.
- Add a new custom binding handle to svcctl.idl as an alias of SERVICE_STATUS_HANDLE.
- Enable all custom binding handles in svcctl.idl and fix services.exe and advapi32.dll accordingly.

svn path=/trunk/; revision=36985

12 years ago- Switch Win32K export list to .spec
Stefan Ginsberg [Sun, 26 Oct 2008 12:31:40 +0000 (12:31 +0000)]
- Switch Win32K export list to .spec

svn path=/trunk/; revision=36984

12 years ago- Add missing EngMapFile and EngQueryFileTimeStamp
Stefan Ginsberg [Sun, 26 Oct 2008 12:22:45 +0000 (12:22 +0000)]
- Add missing EngMapFile and EngQueryFileTimeStamp
- Swap EngUnmapFile and EngUnmapEvent to maintain alphabetical ordering

svn path=/trunk/; revision=36983

12 years agoWIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.
Eric Kohl [Sun, 26 Oct 2008 12:17:36 +0000 (12:17 +0000)]
WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.

svn path=/trunk/; revision=36982

12 years ago-move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c
Christoph von Wittich [Sun, 26 Oct 2008 12:16:48 +0000 (12:16 +0000)]
-move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c
-import ConvertSecurityDescriptorToStringSecurityDescriptorA from wine

svn path=/trunk/; revision=36981

12 years ago- Let's get back to one RTL library for now, because:
Aleksey Bragin [Sun, 26 Oct 2008 12:16:04 +0000 (12:16 +0000)]
- Let's get back to one RTL library for now, because:
 * 36761 just separated the library, but all hacks remain in the tree.
 * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library.
 * I couldn't reach consensuss with developers about either method.
 * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries (which were not removed, including RtlpGetMode, which remained), there is no reason to waste time for compiling RTL twice without benefits.

svn path=/trunk/; revision=36980

12 years agoDmitry Gorbachev
Aleksey Bragin [Sun, 26 Oct 2008 10:47:07 +0000 (10:47 +0000)]
Dmitry Gorbachev
- Fix a modifier flag in interlocked functions' inlined asm. See detailed explanation in bug 3772.
See issue #3772 for more details.

svn path=/trunk/; revision=36979

12 years ago- Update user connect structure.
James Tabor [Sun, 26 Oct 2008 00:50:16 +0000 (00:50 +0000)]
- Update user connect structure.

svn path=/trunk/; revision=36977

12 years ago- Add missing EngPlgBlt export
Stefan Ginsberg [Sat, 25 Oct 2008 23:46:56 +0000 (23:46 +0000)]
- Add missing EngPlgBlt export

svn path=/trunk/; revision=36975

12 years ago - Merge aicom-network-fixes up to r36973
Cameron Gutman [Sat, 25 Oct 2008 23:44:41 +0000 (23:44 +0000)]
 - Merge aicom-network-fixes up to r36973

svn path=/trunk/; revision=36974

12 years ago- When doing pointer arithmetic, ULONG_PTR is your friend
Stefan Ginsberg [Sat, 25 Oct 2008 22:57:16 +0000 (22:57 +0000)]
- When doing pointer arithmetic, ULONG_PTR is your friend

svn path=/branches/ros-amd64-bringup/; revision=36972

12 years ago- Don't typedef ULONG_PTR to a 32-bit value
Stefan Ginsberg [Sat, 25 Oct 2008 22:48:28 +0000 (22:48 +0000)]
- Don't typedef ULONG_PTR to a 32-bit value

svn path=/branches/ros-amd64-bringup/; revision=36971

12 years ago- Make videoprt compile for 64-bit
Stefan Ginsberg [Sat, 25 Oct 2008 22:33:55 +0000 (22:33 +0000)]
- Make videoprt compile for 64-bit
- Disable Int10 support as it uses x86 specific structures (is this support still available on amd64?)
- Disable VideoPortEnable/DisableInterrupt -- HalEnable/DisableSystemInterrupt are not apparently present on NT AMD64, so need to figure out what else to use (and if these routine are still present on amd64 videoprt)

svn path=/branches/ros-amd64-bringup/; revision=36969

12 years ago- Correct fix for handling WM_MOUSEACTIVATE and Bug #3111. If no parent, use MsgWindo...
Michael Martin [Sat, 25 Oct 2008 18:42:42 +0000 (18:42 +0000)]
- Correct fix for handling WM_MOUSEACTIVATE and Bug #3111. If no parent, use MsgWindow->hSelf as wParam.

svn path=/trunk/; revision=36965

12 years ago- Fix DXG 64-bit compilation (fix not entirely correct though)
Stefan Ginsberg [Sat, 25 Oct 2008 18:18:03 +0000 (18:18 +0000)]
- Fix DXG 64-bit compilation (fix not entirely correct though)

svn path=/branches/ros-amd64-bringup/; revision=36964

12 years agoVisual C++ backend for rbuild (for now just a hacked mingw backend) and related compi...
KJK::Hyperion [Sat, 25 Oct 2008 18:13:25 +0000 (18:13 +0000)]
Visual C++ backend for rbuild (for now just a hacked mingw backend) and related compilation fixes. Just run vcvars.bat from a RosBE console and "make"!

modified   dll/win32/aclui/guid.c
modified   dll/win32/aclui/precomp.h
modified   drivers/bus/acpi/include/actypes.h
modified   drivers/bus/acpi/include/platform/acenv.h
   Miscellaneous compilation fixes

modified   dll/win32/aclui/sidcache.c
   Damn, forgot to commit this to trunk

deleted    include/psdk/intrin.h
added      include/psdk/intrin.h.bak
   intrin.h is positively not a PSDK header

modified   lib/3rdparty/mingw/wcrt1.c
   Port to Visual C++

modified   ReactOS-generic.rbuild
   Use Visual C++'s built-in CRT headers for now

modified   ReactOS-i386.rbuild
   Translate global compiler flags to Visual C++

modified   tools/rbuild/backend/mingw/mingw.cpp
   No need for -pipe in Visual C++
   Disable precompiled headers for now
   Enable a whole lotta warnings, and disable a few. Should move this to a response file somewhere

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   .a -> .lib
   .o -> .obj
   .coff -> .res.obj, fix windres command line to remove the ambiguity
   ${gcc}/${gpp} -> ${cl}, translate command line options
   ECHO_CC -> ECHO_CL
   Pass *_RCFLAGS to gas instead of *_CFLAGS, for now, so that gas only sees includes and defines (in the future we'll have something like *_ASFLAGS)
   Disabled some gcc-specific code for now

modified   tools/rbuild/module.cpp
   .a -> .lib, .o -> .obj, lib<name>.a -> <name>.lib; and why the hell is this in the front-end?

svn path=/branches/the-real-msvc/; revision=36963

12 years ago- Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompa...
Stefan Ginsberg [Sat, 25 Oct 2008 17:58:43 +0000 (17:58 +0000)]
- Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID (not needed, with ros headers, on 32-bit for whatever reason)

svn path=/branches/ros-amd64-bringup/; revision=36961

12 years agoThe real, definitive, Visual C++ support branch. Accept no substitutes
KJK::Hyperion [Sat, 25 Oct 2008 17:56:00 +0000 (17:56 +0000)]
The real, definitive, Visual C++ support branch. Accept no substitutes

svn path=/branches/the-real-msvc/; revision=36960

12 years ago- Fix isapnp compilation for 64-bit
Stefan Ginsberg [Sat, 25 Oct 2008 17:50:42 +0000 (17:50 +0000)]
- Fix isapnp compilation for 64-bit

svn path=/branches/ros-amd64-bringup/; revision=36958

12 years agomodified dll/win32/kernel32/kernel32.rbuild
KJK::Hyperion [Sat, 25 Oct 2008 17:41:48 +0000 (17:41 +0000)]
modified   dll/win32/kernel32/kernel32.rbuild
   Disable exceptions and RTTI in kernel32_base
   Move icustubs.cpp closer to other NLS stuff

This commit dedicated to Stefan100

svn path=/trunk/; revision=36957

12 years agoI did not, in fact, test my commit
KJK::Hyperion [Sat, 25 Oct 2008 17:36:53 +0000 (17:36 +0000)]
I did not, in fact, test my commit

svn path=/trunk/; revision=36956

12 years agoMisc. typo fixes
Gregor Schneider [Sat, 25 Oct 2008 17:35:45 +0000 (17:35 +0000)]
Misc. typo fixes

svn path=/trunk/; revision=36955

12 years agomodified base/applications/screensavers/3dtext/3dtext.rbuild
KJK::Hyperion [Sat, 25 Oct 2008 17:32:54 +0000 (17:32 +0000)]
modified   base/applications/screensavers/3dtext/3dtext.rbuild
modified   lib/sdk/crt/crt.rbuild
   Split chkstk away from crt
   Link 3dtext to chkstk for Visual C++ builds (a gcc-built 3dtext would simply crash, I guess?)

modified   dll/cpl/access/display.c
modified   dll/cpl/access/general.c
modified   dll/cpl/access/keyboard.c
modified   dll/cpl/access/mouse.c
   Fixed signedness violations (thank you cl -Wall -W4)

modified   dll/win32/acledit/acledit.rbuild
modified   dll/win32/aclui/aclui.rbuild
   Removed empty stubs (thank you cl -Wall -W4)

modified   dll/win32/aclui/checklist.c
   Fixed signedness violations
   wcsnicmp is not a standard C routine
   BOOL is not a boolean
   Thank you cl -Wall -W4

modified   dll/win32/aclui/sidcache.c
   Marked possible overflow (thank you cl -Wall -W4)

modified   dll/win32/msvcrt/msvcrt.def
   __iob_func and __p_iob are the same thing
   Export non-conforming swprintf as _swprintf, too (will fix for real later)
   Thank you cl -Wall -W4

modified   include/ddk/winddk.h
   Zero-length array field in struct _SCATTER_GATHER_LIST
   Forward-declare structures out of argument lists
   Thank you cl -Wall -W4

modified   include/reactos/msvctarget.h
   No need to emulate Visual C++ flags when compiling with Visual C++

modified   lib/3rdparty/mingw/cpu_features.c
modified   lib/3rdparty/mingw/cpu_features.h
   Useless dependency from stdbool.h removed
   Now compiles with Visual C++ too

modified   lib/3rdparty/mingw/getopt.c
   Silence harmless warning

modified   lib/3rdparty/mingw/isascii.c
modified   lib/3rdparty/mingw/iscsym.c
modified   lib/3rdparty/mingw/iscsymf.c
modified   lib/3rdparty/mingw/toascii.c
   Undefine conflicting macro names before declaring the functions

modified   Makefile
   Visual C++ support is coming, did you bring your coat?

svn path=/trunk/; revision=36954

12 years ago- Fix AFD compilation for 64-bit (treat handles as ULONG_PTR-sized)
Stefan Ginsberg [Sat, 25 Oct 2008 17:15:23 +0000 (17:15 +0000)]
- Fix AFD compilation for 64-bit (treat handles as ULONG_PTR-sized)
- Also correct Winsock's SOCKET definition

svn path=/branches/ros-amd64-bringup/; revision=36953

12 years ago- More correct MmGetSystemAddressForMdlSafe macro
Stefan Ginsberg [Sat, 25 Oct 2008 16:26:30 +0000 (16:26 +0000)]
- More correct MmGetSystemAddressForMdlSafe macro

svn path=/branches/ros-amd64-bringup/; revision=36952

12 years ago- Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)
Stefan Ginsberg [Sat, 25 Oct 2008 16:12:03 +0000 (16:12 +0000)]
- Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)

svn path=/branches/ros-amd64-bringup/; revision=36951

12 years ago- Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
Michael Martin [Sat, 25 Oct 2008 16:08:59 +0000 (16:08 +0000)]
- Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
- Fixes visual basic application crashes when clicking on form. See bug #3111 for more details.

svn path=/trunk/; revision=36950

12 years ago- Fix NTFS FSD compilation (correct 2 casts)
Stefan Ginsberg [Sat, 25 Oct 2008 16:00:42 +0000 (16:00 +0000)]
- Fix NTFS FSD compilation (correct 2 casts)

svn path=/branches/ros-amd64-bringup/; revision=36949

12 years ago- Patch by hto: Do not wait until process is closed with process database locked...
James Tabor [Sat, 25 Oct 2008 15:33:02 +0000 (15:33 +0000)]
- Patch by hto: Do not wait until process is closed with process database locked. See Bug 3805.

svn path=/trunk/; revision=36948