Commit graph

39863 commits

Author SHA1 Message Date
Timo Kreuzer 9eb97bd05d Add service table definitions. They are only used for arm atm, because we have them asm.h, too and include that file on x86. Patch by Alex, fixed by me.
svn path=/trunk/; revision=44643
2009-12-18 00:11:11 +00:00
Daniel Reimer 400e405bbc Fix a redefinition error on ARM Build. By teh omnipotent Alex
svn path=/trunk/; revision=44642
2009-12-17 23:07:19 +00:00
Timo Kreuzer dfd84b1ca4 Add the missing KeContextSwitches to the PRCB.
svn path=/trunk/; revision=44641
2009-12-17 22:38:54 +00:00
Timo Kreuzer 32014b63b8 [NTOSKRNL]
"Fix things": Add architecture specific macros KeGetTrapFrame, KeGetExceptionFrame and KeGetContextSwitches. Should fix kernel build on arm. Patch by Alex, modified by me.

svn path=/trunk/; revision=44640
2009-12-17 20:58:58 +00:00
Timo Kreuzer 26c9ccdb64 Hey Arch, next time you mess with code specific for an architecture you know nothing about, try to get at least the portable stuff right.
Fix _byteswap_ushort.

svn path=/trunk/; revision=44637
2009-12-17 13:41:06 +00:00
Timo Kreuzer f8e59069e2 Merge from amd64 branch
37868 Add CONTEXT flags for x64.
39347 Move rtl byteswap functions to wdm.h and add intrinsic definitions.
41030 fix definition of 64bit SLIST_HEADER. winnt.h: add 64bit SLIST_HEADER.
41071 Fix definition of NdisQueryPacketLength.
43447 Fix MmSizeOfMdl prototype.
43777 Fix definition of KdDebuggerNotPresent for gcc, the MS definition is broken, don't know if it's needed that way for msvc.
44178 Fix definition of _CONTEXT.
44491 Add LIST_ENTRY32/64, STRING32/64
44500 Add NT_TIB32/64.
44623 New definition of C_ASSERT and _STATIC_ASSERT using a function prototype. This way we avoid duplicate definition errors like with a typedef and unused function warning like with the extern.
44631 Fix C_ASSERT yet another time.

svn path=/trunk/; revision=44632
2009-12-16 23:39:20 +00:00
Timo Kreuzer dd8d39902e fix _byteswap_ushort for old gccs
svn path=/trunk/; revision=44630
2009-12-16 22:46:32 +00:00
Timo Kreuzer 8fbe2b1bf2 Use C_ASSERTS only for X86 and AMD64
svn path=/trunk/; revision=44629
2009-12-16 22:06:25 +00:00
Timo Kreuzer 440decaae9 implement _byteswap_ushort for arm
svn path=/trunk/; revision=44628
2009-12-16 21:58:31 +00:00
Timo Kreuzer 6ececd457f Make some ntdll exports architecture specific, as they are not exported by arm. Use pspec for ARM, too.
svn path=/trunk/; revision=44627
2009-12-16 21:41:18 +00:00
Timo Kreuzer ddb427f402 Fix prototype of MmSetAddressRangeModified
svn path=/trunk/; revision=44626
2009-12-16 21:12:54 +00:00
Daniel Reimer 702301aa40 Some build fixes for ReactOS ARM. Credits go to Alex Ionescu and Timo Kreuzer while I just tried to keep up. :-P
- Undefine Unicode which is defined by default in cegcc.
- Add a missing include in ke.h
- Implement _CountLeadingZeros, _CountTrailingZeros, _BitScanForward for ARM.

svn path=/trunk/; revision=44625
2009-12-16 20:59:06 +00:00
Gregor Schneider 1c23c0f872 [advapi32]
- Extend LsaLookupNames2 stub, fix file header
- Should prevent the advapi32 lsa test crash

svn path=/trunk/; revision=44622
2009-12-16 20:26:18 +00:00
Timo Kreuzer a95def3ad0 [NTDLL]
Convert to spec. Taken from wine with massive changes by me.

@ ros-arm-bringup: I couldn't verify it works for arm, so I kept the arm def file.

svn path=/trunk/; revision=44621
2009-12-16 17:32:30 +00:00
Timo Kreuzer 2df288b441 Fix built a bit more.
svn path=/trunk/; revision=44616
2009-12-15 23:49:10 +00:00
Johannes Anderwald 1d90d9e296 fix build
svn path=/trunk/; revision=44615
2009-12-15 23:28:54 +00:00
Timo Kreuzer e3fd4c3421 Merge from amd64 branch:
40122 mmsystem.h: 64bit build fixes. (Samuel Serapión)
40123 mmsystem.h: Even more 64bit fixes.  (Samuel Serapión)
40155 mmddk.h/mmsystem.h: Fix ACMDRVSTREAMINSTANCE, ACMDRVSTREAMHEADER, PORTALLOC, WAVEOPENDESC, MIDIOPENDESC, MIXEROPENDESC structures. Fix ACMFILTERENUMCBA/W, ACMFILTERTAGENUMCBA/W, ACMFORMATENUMCA/W, ACMFORMATTAGENUMCBA/W callbacks. Fix acmDriverEnum, acmFilterEnumA/W, acmFormatEnumA/W, acmFormatTagEnumA/W, acmStreamOpen, CloseDriver, OpenDriver, SendDriverMessage, mmTaskSignal, mmGetCurrentTask (Samuel Serapión)
40995 sqltypes.h: 64bit fixes for sqltype.h, also resort and cleanup (Timo Kreuzer)
40996 msacm.h: Fix tag of ACMFILTERCHOOSEA (Timo Kreuzer)
41029 sql.h: Fix SQLFetchScroll prototype. (Timo Kreuzer)
41045 commdlg.h: fix and update definition of OPENFILENAMEAW (Timo Kreuzer)
41449 basetsd.h: Disable wine hack for amd64 (Timo Kreuzer)
43506 wincrypt.h: Fix definition of CryptReleaseContext (Timo Kreuzer)
43840 wingdi.h: Fix LOGBRUSH definition. (Samuel Serapión)
43907 commctrl.h: Fix bad cast. (Timo Kreuzer)
44039 mmddk.h: Fix mmTaskCreate and mciGetDriverData prototypes per MSDN (Timo Kreuzer)
44040 windef.h/winsock.h/winsock2.h: Fix 32bit build. (Samuel Serapión)
44044 ws2spi.h: Fix ws2_32 64bit build (Samuel Serapión)
44294 winnt.h: Fix SLIST_ENTRY for WIN64 (Timo Kreuzer)
44338 winnt.h: fix build. (Samuel Serapión)
44460 winuser.h: Define PHDEVNOTIFY, PDLGITEMTEMPLATEA/W, LPDLGITEMTEMPLATEA/W, PPAINTSTRUCT, PMENUITEMTEMPLATE, PUSEROBJECTFLAGS, PMINIMIZEDMETRICS, PNONCLIENTMETRICSA/W, LPMOUSEINPUT, LPKEYBDINPUT, LPHARDWAREINPUT. Add HARDWAREHOOKSTRUCT structure. (Samuel Serapión)

svn path=/trunk/; revision=44614
2009-12-15 23:23:01 +00:00
Johannes Anderwald ddda0278b0 * Added wavebar
* Added format, duration, buffer, position labels
- Now wave_in/out objects are opened only when pressed rec/play buttons.
- The slider bar now real points to audio samples in the buffer
- Some other little Gui changes
- by Marco Pagliaricci (IRC: rendar)


svn path=/trunk/; revision=44613
2009-12-15 22:39:18 +00:00
Timo Kreuzer 50a510c96d [MAIN]
Use UlongToPtr instead of casting.

svn path=/trunk/; revision=44608
2009-12-15 19:06:23 +00:00
Gregor Schneider 068b10820f Jerome Gardou <jerome DOT gardou AT laposte DOT net>:
[kernel32] Set the SYNCHRONIZE access mask when using FILE_SYNCHRONOUS_IO options

svn path=/trunk/; revision=44607
2009-12-15 18:39:13 +00:00
Timo Kreuzer c5916ca7c4 [MSVCRT20]
Fix _getmainargs params in spec file

svn path=/trunk/; revision=44606
2009-12-15 17:51:31 +00:00
Timo Kreuzer 6bba9dc9a1 Merge from amd64 branch:
[SPIDER]
44002 Fix 64 bit build. (Samuel Serapión)

[PAINT]
43858 Fix 64 bit warnings. (Samuel Serapión)

[RAPPS]
43906 Fix 64 bit build. (Samuel Serapión)

[SNDREC32]
44389 Fix 64 bit build. (Samuel Serapión)

[TFTP]
41097 Fix pointer to DWORD cast. (Timo Kreuzer)

[COMCTL32]
36172 Build as unicode. (Samuel Serapión)

[USERMGR]
41098 Fix 2 POINTER<->DWORD casts. (Timo Kreuzer)

[d3d9]
38149 Fix pointer<->ULONG cast. (Timo Kreuzer)
43839 Fix 64 bit Build. (Samuel Serapión)

[DSOUND]
40753 Make DSDRIVERDESC.dnDevNode a DWORD_PTR and DSPROPERTY.InstanceId a ULONG_PTR. (Timo Kreuzer)

[LSASRV]
44037 Fix 64 bit Build. (Samuel Serapión)

[MMDRV]
40125 Fix 64bit build. (Samuel Serapión)

[MSGINA]
40993 fix 64bit build (Timo Kreuzer)

[NETSHELL]
41001 Don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void ** (Timo Kreuzer)

[OPENGL32]
36502 No need to assert an offset thats only used in i386 specific code. (Samuel Serapión)

[POWRPROF]
41044 Don't cast NULL to DWORD. (Timo Kreuzer)
43860 Don't cast NULL to an integer type. (Samuel Serapión)

[PSAPI]
38150 Fix a cast (Timo Kreuzer)

[SHELL32]
38355 Use Get/SetWindowLongPtr (Samuel Serapión)
41047 Get rid of deprecated LargeInteger functions and use native int64 math instead. (Timo Kreuzer)
41048 DialogProc returns INT_PTR and not BOOL. Don't cast a pointer to LONG. Use INT_PTR instead of int for pointer math. (Timo Kreuzer)
41049 Change return type of OpenMRUListW and CreateMRUListW to HANDLE, add a comment that CREATEMRULISTW is already defined differently in explorer_new/undoc.h (Timo Kreuzer)
44601 Fix a prototype. Convert RtlLargeInteger to native int64. Fixes 64bit built. (Timo Kreuzer)

[WDMAUD.DRV]
41101 Don't cast DWORD to PVOID, use UlongToPtr instead. (Timo Kreuzer)

[WS2_32]
35777 fix ws2_32 spec file (Timo kreuzer)
44044 Fix ws2_32 64bit build (1 of 2) (Samuel Serapión)
44045 Fix ws2_32 64bit build (2 of 2) (Samuel Serapión)

[WS2_32_NEW]
44389 Fix 64 bit built. (Samuel Serapión)

svn path=/trunk/; revision=44602
2009-12-15 15:16:01 +00:00
James Tabor 64d1ab613b [Win32k]
- Remove LastChild.

svn path=/trunk/; revision=44597
2009-12-15 01:11:46 +00:00
Timo Kreuzer 2468cb96ed [IMAGEHLP]
Don't use explicit 32 bit version of IMAGE_OPTIONAL_HEADER

svn path=/trunk/; revision=44596
2009-12-14 23:35:40 +00:00
KJK::Hyperion 8e60110bef modified Makefile
New ${checkpoint} command to create an empty "checkpoint" file, to store the last modified date of a make target

modified   tools/rbuild/backend/mingw/rules.mak
   Rules that output more than one file at once don't mix well with parallel builds: serialize dependency checks through the use of checkpoint files. Fixes intermittent widl issues in highly parallel builds
   Bonus internal rbuild function that I had to commit one day or another

See issue #4994 for more details.

svn path=/trunk/; revision=44594
2009-12-14 23:02:28 +00:00
Timo Kreuzer 6dae590c90 revert last commit (sorry, wrong direction)
svn path=/trunk/; revision=44592
2009-12-14 22:58:51 +00:00
Giannis Adamopoulos 196021c276 [win32k]
- Don't store LastChild in WINDOW_OBJECT

svn path=/trunk/; revision=44591
2009-12-14 22:58:03 +00:00
Timo Kreuzer 7a9ae1c567 use tabs in rbuild file (copied from trunk)
svn path=/trunk/; revision=44590
2009-12-14 22:57:33 +00:00
Timo Kreuzer b1d866fc48 [KSUSER]
Remove broken HeapAlloc prototype

svn path=/trunk/; revision=44589
2009-12-14 22:52:08 +00:00
Timo Kreuzer 284d0cb033 remove unneccessary file entry for spec file
svn path=/trunk/; revision=44587
2009-12-14 22:29:15 +00:00
Timo Kreuzer f7cfe73eaf [LIBXSLT]
Add HAVE_STAT definition. fixes a warning.

svn path=/trunk/; revision=44583
2009-12-14 19:47:13 +00:00
Johannes Anderwald 9ada735e65 - Setup registry entries for the default user shell
- May fix bug 5020

svn path=/trunk/; revision=44582
2009-12-14 19:36:22 +00:00
Giannis Adamopoulos e88d19a769 [user32]
SetClipboardData: fix return value
Fixes one user32:clipbloard test

svn path=/trunk/; revision=44577
2009-12-14 15:41:58 +00:00
James Tabor f755214f06 [Win32k]
- Continuing the moving into WND structure with minor desktop structure changes.
- Tested: wine user32 tests, AbiWord 2.6.8, FF 3.5, OOo 2.4.3 and Seamonkey 2.0.

svn path=/trunk/; revision=44576
2009-12-14 06:48:40 +00:00
James Tabor d51b4d5202 [Win32k]
- Michael Martin found a create window and crash exit issue by testing programs from http://www.magma.ca/~wjr/ PEview. Fixed by replacing UserFreeWindowInfo with co_UserDestroyWindow at cleanup exit.
- Added more window death and thread checks.
- Started the morphing into WND structure from window object.
- Tested: wine user32 tests, AbiWord 2.6.8, Seamonkey 2.0, FF 3.5 and OOo 2.4.3.

svn path=/trunk/; revision=44575
2009-12-14 05:02:56 +00:00
James Tabor 21818f4e90 - Silence debug prints.
svn path=/trunk/; revision=44574
2009-12-13 21:55:06 +00:00
Giannis Adamopoulos 25dc69e9d5 [win32k]
- Remove an unused reactos only syscall

svn path=/trunk/; revision=44573
2009-12-13 20:57:03 +00:00
Johannes Anderwald 0b560ed72b - Fix build
svn path=/trunk/; revision=44572
2009-12-13 20:11:11 +00:00
Giannis Adamopoulos 6d3bb6bc5c [user32]
Optimize GetWindow by moving it completely to user mode

[win32k]
Remove reactos only syscall NtUserGetWindow

svn path=/trunk/; revision=44571
2009-12-13 20:01:21 +00:00
Dmitry Gorbachev ba9cfc5c6d Slovak translations by Mario Kacmar. Added: SndRec32, RunOnce. Updated: Paint. Bug #5021.
svn path=/trunk/; revision=44570
2009-12-13 18:09:08 +00:00
Gregor Schneider 2d5fcc0429 [reg] Update reg.c to current Wine
svn path=/trunk/; revision=44569
2009-12-13 17:27:13 +00:00
Dmitry Gorbachev 524995a566 Show respect to Romanian language. (Encoding: UTF-8, with no byte order mark.)
svn path=/trunk/; revision=44568
2009-12-13 16:54:23 +00:00
Johannes Anderwald 44830beb93 - Create a startmenu entry for sndrec32
- Add resource string for all languages except rumanian (encoding issue)

svn path=/trunk/; revision=44567
2009-12-13 16:31:01 +00:00
Gregor Schneider 190d075d21 Alexander Yastrebov <menone7 AT gmail DOT com>:
- Simplify and fix error checking in RegQuery/SetEx functions
- Add handling for missing termination characters
- Fixes one advapi32 winetest
See issue #4993 for more details.

svn path=/trunk/; revision=44566
2009-12-13 16:25:50 +00:00
Johannes Anderwald 5aadce5c22 - Add sndrec32 to bootcd 1/2
svn path=/trunk/; revision=44564
2009-12-13 16:09:14 +00:00
Johannes Anderwald 73c9bff8cc [REG]
- Fix a memory leak and bug in the deletion routine. If the buffer value_name was had been smaller than the longest key, then deletion of all values would have failed.
- Fixed by Amine Khaldi
[XCOPY]
- Remove unnecessary assignment
- By Amine Khaldi

svn path=/trunk/; revision=44563
2009-12-13 16:05:15 +00:00
Johannes Anderwald 98826b3fe1 [WDMAUD.DRV]
- Integrate mmixer library into wdmaud.drv
- Library is not yet used

svn path=/trunk/; revision=44562
2009-12-13 15:36:19 +00:00
James Tabor bc65426abe [Win32k]
- Class.c: Restore module address from cloned class if it is a default user class. See bug 4778
- Remove unneeded debug prints.
- Tested: wine user32 class test, AbiWord 2.6.8, FF 3.5 and OOo 2.4.3.

svn path=/trunk/; revision=44561
2009-12-13 13:14:45 +00:00
Johannes Anderwald 3efe83afa3 - Add mmixer to build
svn path=/trunk/; revision=44560
2009-12-13 11:33:23 +00:00
Johannes Anderwald a20e1844ce [MMIXER]
- Add more error checks
- Fix a bug MMixerGetControlsFromPinByConnectionIndex which pre-early stopped the enumeration of mixer controls
- Only add guids which can be later be resolved to mixer control
- Check if no a topology connection has no links connected

svn path=/trunk/; revision=44559
2009-12-13 11:32:44 +00:00