reactos.git
9 years ago[GDI32]
Timo Kreuzer [Wed, 4 Aug 2010 00:01:30 +0000 (00:01 +0000)]
[GDI32]
Fix parameter check in GetTextExtentExPointA/W. Patch by Kamil Hornicek. Fixes bug 5486, bug 5507 and bug 5511

svn path=/trunk/; revision=48446

9 years agoAdd some tests for GetTextExtentExPoint. Dedicated to Pigglesworth
Timo Kreuzer [Tue, 3 Aug 2010 23:15:20 +0000 (23:15 +0000)]
Add some tests for GetTextExtentExPoint. Dedicated to Pigglesworth

svn path=/trunk/; revision=48445

9 years ago[WIN32K]
Timo Kreuzer [Tue, 3 Aug 2010 21:36:39 +0000 (21:36 +0000)]
[WIN32K]
Protect access to the result pointer from KeUserModeCallback with SEH. Fixes a possible kernel mode crash.

svn path=/trunk/; revision=48437

9 years ago[KERNEL32]
Aleksey Bragin [Tue, 3 Aug 2010 20:23:43 +0000 (20:23 +0000)]
[KERNEL32]
- Sync lcformat.c to Wine-1.3. This fixes (a number of potential) problems introduced by new nls data files being synced recently and led to crashes on locales having different months genitives. Original issue confirmed by Sergey Gusev <evilslon@mail.ru> and Igor Paliychuk.

svn path=/trunk/; revision=48433

9 years ago[CRT]
Timo Kreuzer [Tue, 3 Aug 2010 16:09:33 +0000 (16:09 +0000)]
[CRT]
Implement a proper version of _assert. It nows shows a message box with the details and let's the user choose to either abort, debug or ignore the assertion.
See bug 5486, bug 5507, bug 5511

svn path=/trunk/; revision=48432

9 years ago[WS2_32]: Fix buffer overrun in getservbyname. Patch by Alexander Yastrebov - menone7...
Cameron Gutman [Mon, 2 Aug 2010 21:31:50 +0000 (21:31 +0000)]
[WS2_32]: Fix buffer overrun in getservbyname. Patch by Alexander Yastrebov - menone7 at gmail dot com

svn path=/trunk/; revision=48424

9 years agoXcode....
Cameron Gutman [Mon, 2 Aug 2010 21:26:12 +0000 (21:26 +0000)]
Xcode....

svn path=/trunk/; revision=48423

9 years ago[NTOS]: Fix kernel memory corruption when dequeuing a PnP event
Cameron Gutman [Mon, 2 Aug 2010 21:22:34 +0000 (21:22 +0000)]
[NTOS]: Fix kernel memory corruption when dequeuing a PnP event

svn path=/trunk/; revision=48422

9 years ago[PSDK]
Timo Kreuzer [Mon, 2 Aug 2010 14:29:09 +0000 (14:29 +0000)]
[PSDK]
add missing LPCOLORREF to windef.h

svn path=/trunk/; revision=48414

9 years agoThere is nothing to say about this...
Cameron Gutman [Mon, 2 Aug 2010 03:52:52 +0000 (03:52 +0000)]
There is nothing to say about this...

svn path=/trunk/; revision=48410

9 years ago[AFD]: BytesAvailable needs to be updated even when peeking so we don't run off the...
Cameron Gutman [Sun, 1 Aug 2010 23:52:23 +0000 (23:52 +0000)]
[AFD]: BytesAvailable needs to be updated even when peeking so we don't run off the end of our buffer

svn path=/trunk/; revision=48405

9 years agoForgetting to save really sucks. Sorry again for the wasted commit.
Cameron Gutman [Sun, 1 Aug 2010 23:46:57 +0000 (23:46 +0000)]
Forgetting to save really sucks. Sorry again for the wasted commit.

svn path=/trunk/; revision=48404

9 years ago[AFD]: Fix read data corruption when peeking at network data (TDI_RECEIVE_PEEK is...
Cameron Gutman [Sun, 1 Aug 2010 23:42:33 +0000 (23:42 +0000)]
[AFD]: Fix read data corruption when peeking at network data (TDI_RECEIVE_PEEK is specified for a stream socket)

svn path=/trunk/; revision=48403

9 years agoFix a typo
Cameron Gutman [Sun, 1 Aug 2010 23:20:31 +0000 (23:20 +0000)]
Fix a typo

svn path=/trunk/; revision=48402

9 years agoFix a copy-paste mistake and remove an unused variable
Cameron Gutman [Sun, 1 Aug 2010 21:08:53 +0000 (21:08 +0000)]
Fix a copy-paste mistake and remove an unused variable

svn path=/trunk/; revision=48401

9 years ago[AFD]: Revert r42674 and part of r47156
Cameron Gutman [Sun, 1 Aug 2010 21:00:40 +0000 (21:00 +0000)]
[AFD]: Revert r42674 and part of r47156

svn path=/trunk/; revision=48400

9 years ago[DHCPCSVC]: Revert part of r48215
Cameron Gutman [Sun, 1 Aug 2010 20:34:10 +0000 (20:34 +0000)]
[DHCPCSVC]: Revert part of r48215

svn path=/trunk/; revision=48399

9 years ago[rtl]
Giannis Adamopoulos [Sun, 1 Aug 2010 16:34:22 +0000 (16:34 +0000)]
[rtl]
- Use __inline instead of __inline__ to fix compilation with msvc

svn path=/trunk/; revision=48398

9 years ago[hal]
Giannis Adamopoulos [Sun, 1 Aug 2010 16:27:48 +0000 (16:27 +0000)]
[hal]
- define REGISTERCALL in order to replace __attribute__((regparm(3))) and fix compilation with msvc. It was used only as an optimization so it is safe to be defined as FASTCALL for msvc. For gcc it is still defined as __attribute__((regparm(3)))

svn path=/trunk/; revision=48397

9 years ago[INCLUDE/WINE]
Aleksey Bragin [Sat, 31 Jul 2010 22:39:22 +0000 (22:39 +0000)]
[INCLUDE/WINE]
- Update Wine-specific headers to Wine-1.3.
- Remove unneeded 16 bit header, and add a bit of stuff into another legacy header.
- Indicate in config.h that there is a freetype library present.

svn path=/trunk/; revision=48388

9 years ago[PSDK]
Aleksey Bragin [Sat, 31 Jul 2010 22:36:22 +0000 (22:36 +0000)]
[PSDK]
- Make some winuser.h functions conforming to MS PSDK.

svn path=/trunk/; revision=48387

9 years ago- Fix build, sorry.
Aleksey Bragin [Sat, 31 Jul 2010 22:20:34 +0000 (22:20 +0000)]
- Fix build, sorry.

svn path=/trunk/; revision=48386

9 years ago[LSASRV]
Eric Kohl [Sat, 31 Jul 2010 22:02:13 +0000 (22:02 +0000)]
[LSASRV]
Add more well known sids to the lookup list.

svn path=/trunk/; revision=48385

9 years ago[PSDK]
Aleksey Bragin [Sat, 31 Jul 2010 21:40:40 +0000 (21:40 +0000)]
[PSDK]
- Get back to old/compatible way of declaring dummy unions and structs for IMAGE_RESOURCE_DIRECTORY_ENTRY. Also, second nameless structure is called DUMMYSTRUCTNAME3 to be compatible with Wine's code which, for some reason, expects WORD Id wrapped into yet another struct, depending on endiannes.

svn path=/trunk/; revision=48384

9 years ago[freeldr]
Gabriel Ilardi [Sat, 31 Jul 2010 21:00:40 +0000 (21:00 +0000)]
[freeldr]
- Patch by Carlo Bramini reviewed by lassy:
The CF must be tested when reading time because the legacy DS12x87
chip shows a condition where it's updating its time registers and if it's the
case then the call should be retried later. Now the time is valid when both CF flags for date and time are good at the same time.
It's better to send the correct value of CF with the proper field to the REGS structure instead of hoping that the flag won't be changed by compiled code.
In the Int386() function I did the fix for acquiring the status flags to send to the software interrupt.
I also think it is also a good idea to always clear the direction flag before
doing movsb/movsw/movsd in this function. Since we are working with DOS stuff,
the state of the direction register could be unknown, who knows what happens
after those INT opcodes. Afterall I don't think that adding these two "cld"
would be a big problem.
See issue #2786 for more details.

svn path=/trunk/; revision=48383

9 years ago[explorer]
Giannis Adamopoulos [Sat, 31 Jul 2010 12:16:03 +0000 (12:16 +0000)]
[explorer]
- Using msvc doesn't mean using ms sdks

svn path=/trunk/; revision=48381

9 years ago[PSDK]
Aleksey Bragin [Sat, 31 Jul 2010 12:02:46 +0000 (12:02 +0000)]
[PSDK]
- Fix GetTextCharsetInfo prototype according to MS Platform SDK.

svn path=/trunk/; revision=48379

9 years ago[LSASRV]
Eric Kohl [Sat, 31 Jul 2010 11:24:16 +0000 (11:24 +0000)]
[LSASRV]
- Move all includes into a common header file.
- Create a (still incomplete) well-known-sid lookup table and use it in LsarLookupSids.
- Add missing file headers.

svn path=/trunk/; revision=48378

9 years ago[LSASRV]
Eric Kohl [Sat, 31 Jul 2010 09:06:42 +0000 (09:06 +0000)]
[LSASRV]
Replace hard-coded privilege names by privilege names from the PSDK.

svn path=/trunk/; revision=48377

9 years ago[browseui]
Giannis Adamopoulos [Sat, 31 Jul 2010 07:53:06 +0000 (07:53 +0000)]
[browseui]
- keep the hacky declaration of SHANDLE_PTR and make it work with msvc as well
- Make BEGIN_MSG_MAP compatible with msvc

svn path=/trunk/; revision=48376

9 years ago[PSDK]
Eric Kohl [Sat, 31 Jul 2010 07:09:40 +0000 (07:09 +0000)]
[PSDK]
Add missing privilege names.

svn path=/trunk/; revision=48375

9 years ago[shell32]
Giannis Adamopoulos [Fri, 30 Jul 2010 18:37:51 +0000 (18:37 +0000)]
[shell32]
- Fix a compilation error with msvc

svn path=/trunk/; revision=48371

9 years ago[ndis.h]
Giannis Adamopoulos [Fri, 30 Jul 2010 17:05:17 +0000 (17:05 +0000)]
[ndis.h]
- Fix compilation with msvc

svn path=/trunk/; revision=48370

9 years ago[TASKMGR]
Gabriel Ilardi [Thu, 29 Jul 2010 20:17:09 +0000 (20:17 +0000)]
[TASKMGR]
- Make the caption the same as the app title so that bring to focus can work as expected in Slovak and other languages as well. Add a note for translators.
See issue #5533 for more details.

svn path=/trunk/; revision=48367

9 years ago[DXSDK]
Amine Khaldi [Thu, 29 Jul 2010 16:42:00 +0000 (16:42 +0000)]
[DXSDK]
- Define STATIC_KSMETHODSETID_BdaChangeSync without braces.
[PSDK]
- _ANONYMOUS_UNION/_ANONYMOUS_STRUCT -> __MINGW_EXTENSION
- usbuser.h : Add missing #endif

svn path=/trunk/; revision=48361

9 years agoRevert 48355
Giannis Adamopoulos [Thu, 29 Jul 2010 16:05:54 +0000 (16:05 +0000)]
Revert 48355

svn path=/trunk/; revision=48358

9 years ago[basetsd.h]
Giannis Adamopoulos [Thu, 29 Jul 2010 14:40:21 +0000 (14:40 +0000)]
[basetsd.h]
-define SHANDLE_PTR

[browseui]
-do not define SHANDLE_PTR locally. Using ms psdk isn't the same with compiling with msvc

svn path=/trunk/; revision=48355

9 years ago- Fix setjmp for msvc
Giannis Adamopoulos [Thu, 29 Jul 2010 12:23:03 +0000 (12:23 +0000)]
- Fix setjmp for msvc

svn path=/trunk/; revision=48352

9 years ago[win32csr]
Giannis Adamopoulos [Thu, 29 Jul 2010 10:20:41 +0000 (10:20 +0000)]
[win32csr]
- Fix compilation with msvc

svn path=/trunk/; revision=48349

9 years agoBug 5531: [PATCH] regedit: cut, copy, paste, etc. on hexedit by Katayama Hirofumi
Daniel Reimer [Wed, 28 Jul 2010 19:13:24 +0000 (19:13 +0000)]
Bug 5531: [PATCH] regedit: cut, copy, paste, etc. on hexedit by Katayama Hirofumi

svn path=/trunk/; revision=48334

9 years ago[DXSDK]
Amine Khaldi [Wed, 28 Jul 2010 13:59:28 +0000 (13:59 +0000)]
[DXSDK]
- atsmedia.h : Add proper header inclusion and apply a consistent formatting.
- bdamedia.h : Rename BDAMEDIA_H__ to _BDAMEDIA_, add some missing inclusions, add __MINGW_EXTENSION and apply a consistent formatting.
- bdatypes.h : Apply a consistent formatting.

svn path=/trunk/; revision=48330

9 years ago[DXSDK]
Amine Khaldi [Wed, 28 Jul 2010 12:52:04 +0000 (12:52 +0000)]
[DXSDK]
- Add some headers to some headers.

svn path=/trunk/; revision=48328

9 years ago- Delete ppcdevtree.
Amine Khaldi [Wed, 28 Jul 2010 10:45:51 +0000 (10:45 +0000)]
- Delete ppcdevtree.

svn path=/trunk/; revision=48327

9 years ago[WIN32CSR]
Timo Kreuzer [Wed, 28 Jul 2010 01:17:23 +0000 (01:17 +0000)]
[WIN32CSR]
- Fix array subscript out of bounds error
- Fix a cast

svn path=/trunk/; revision=48322

9 years ago[NDK]
Timo Kreuzer [Wed, 28 Jul 2010 00:26:43 +0000 (00:26 +0000)]
[NDK]
Merge r41483 from amd64 branch:
- Fix definition of HARDERROR_MSG

svn path=/trunk/; revision=48321

9 years ago[DBGHELP]
Timo Kreuzer [Tue, 27 Jul 2010 17:02:06 +0000 (17:02 +0000)]
[DBGHELP]
Define UNW_FLAG_* in the rbuild file, since we don't have them in winnt.h where wine has them.

svn path=/trunk/; revision=48315

9 years ago[GDI32API]
Timo Kreuzer [Tue, 27 Jul 2010 16:24:31 +0000 (16:24 +0000)]
[GDI32API]
- fix some 64 bit warnings

svn path=/trunk/; revision=48314

9 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Jul 2010 16:21:20 +0000 (16:21 +0000)]
[FREELDR]
Don't redefine _NTSYSTEM_

svn path=/trunk/; revision=48313

9 years ago[BATTC]
Timo Kreuzer [Tue, 27 Jul 2010 16:09:15 +0000 (16:09 +0000)]
[BATTC]
Fix a warning

svn path=/trunk/; revision=48312

9 years ago[winnt.h]
Timo Kreuzer [Tue, 27 Jul 2010 15:58:53 +0000 (15:58 +0000)]
[winnt.h]
Remove definition of UNW_FLAG* constants. They don't belong here.

svn path=/trunk/; revision=48308

9 years ago[UNICODE]
Timo Kreuzer [Tue, 27 Jul 2010 15:47:04 +0000 (15:47 +0000)]
[UNICODE]
include string.h, for memcpy

svn path=/trunk/; revision=48307

9 years ago[dbghelp.h] / [imagehlp.h]
Timo Kreuzer [Tue, 27 Jul 2010 14:08:36 +0000 (14:08 +0000)]
[dbghelp.h] / [imagehlp.h]
- fix LOADED_IMAGE, UpdateDebugInfoFile, UpdateDebugInfoFileEx, ReBaseImage

svn path=/trunk/; revision=48306

9 years ago[PSDK]
Amine Khaldi [Tue, 27 Jul 2010 09:56:21 +0000 (09:56 +0000)]
[PSDK]
- Mark TraceMessageVa as WMIAPI.

svn path=/trunk/; revision=48300

9 years ago[XDK]
Amine Khaldi [Tue, 27 Jul 2010 09:14:13 +0000 (09:14 +0000)]
[XDK]
- WmiTraceMessageVa is NTAPI, not __cdecl.
[DDK]
- Update wdm.h to reflect XDK changes.

svn path=/trunk/; revision=48299

9 years agoAdd all pci bridge control function (PciBridgeIoBase, PciBridgeIoLimit, PciBridgeMemo...
evb [Tue, 27 Jul 2010 03:24:24 +0000 (03:24 +0000)]
Add all pci bridge control function (PciBridgeIoBase, PciBridgeIoLimit, PciBridgeMemoryBase, PciBridgeMemoryLimit, PciBridgePrefetchMemoryBase, PciBridgePrefetchMemoryLimit, PciBridgeMemoryWorstCasealignment, PciBridgeIsPositiveDecode, PciBridgeIsSubtractiveDecode)
More support ICH0/1/2/3/4 hub
Add all PCI2PCI bridge limit/current resource codes (PPBridge_*), now is BAR setup okay, and Device_* must be implement
Support ISA+VGA legacy decode, 20+64-bit decode, ROM BAR, prefetch BAR

svn path=/trunk/; revision=48298

9 years agoMaybe fix dbghelp build on 64 bit.
Daniel Reimer [Mon, 26 Jul 2010 23:48:15 +0000 (23:48 +0000)]
Maybe fix dbghelp build on 64 bit.

svn path=/trunk/; revision=48292

9 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 26 Jul 2010 23:09:17 +0000 (23:09 +0000)]
[NTOSKRNL]
◙ Fix MiInitializePageTable
◙ Comment out some more code for amd64

svn path=/trunk/; revision=48291

9 years agoSync dbghelp and imagehlp to Wine 1.2
Daniel Reimer [Mon, 26 Jul 2010 22:33:59 +0000 (22:33 +0000)]
Sync dbghelp and imagehlp to Wine 1.2
Winhttp and Wininet don't like me and so I skip them for now.

svn path=/trunk/; revision=48290

9 years agoRevert a part of my previous commit
Giannis Adamopoulos [Mon, 26 Jul 2010 21:48:52 +0000 (21:48 +0000)]
Revert a part of my previous commit

svn path=/trunk/; revision=48289

9 years ago[NTOS]: Another long-lost-promised straggler for Timo. There may be more of these...
Sir Richard [Mon, 26 Jul 2010 21:45:42 +0000 (21:45 +0000)]
[NTOS]: Another long-lost-promised straggler for Timo. There may be more of these needed, this is what I had done on my disk.

svn path=/trunk/; revision=48288

9 years ago[ntos]
Giannis Adamopoulos [Mon, 26 Jul 2010 21:32:38 +0000 (21:32 +0000)]
[ntos]
- Fix several issues with msvc in ntoskrnl
- Add ATTRIB_NORETURN definition which will be used by function pointers because msvc doesn't like DECLSPEC_NORETURN in function pointers

svn path=/trunk/; revision=48287

9 years agoSync winemp3.acm with Wine HEAD. This one uses libmpg123 which was added in Version...
Daniel Reimer [Mon, 26 Jul 2010 15:04:32 +0000 (15:04 +0000)]
Sync winemp3.acm with Wine HEAD. This one uses libmpg123 which was added in Version 1.12.3. Thx to Timo Kreuzer for telling me the magics of the crt="dll" switch.

svn path=/trunk/; revision=48279

9 years ago[reactos.dff]
Timo Kreuzer [Mon, 26 Jul 2010 14:01:57 +0000 (14:01 +0000)]
[reactos.dff]
make explorer.exe and ntvdm optional

svn path=/trunk/; revision=48278

9 years ago[PSDK]
Amine Khaldi [Mon, 26 Jul 2010 13:49:12 +0000 (13:49 +0000)]
[PSDK]
- Rename _WINIOCTL_H to _WINIOCTL_

svn path=/trunk/; revision=48277

9 years agoAdd hivecls_amd64.inf
Timo Kreuzer [Mon, 26 Jul 2010 13:43:40 +0000 (13:43 +0000)]
Add hivecls_amd64.inf

svn path=/trunk/; revision=48276

9 years agoAdd diffs for msimtf and atl.
Sylvain Petreolle [Mon, 26 Jul 2010 09:13:50 +0000 (09:13 +0000)]
Add diffs for msimtf and atl.

svn path=/trunk/; revision=48275

9 years agoGet back r47063 & r47960 reverted by r48273
Pierre Schweitzer [Mon, 26 Jul 2010 08:54:26 +0000 (08:54 +0000)]
Get back r47063 & r47960 reverted by r48273

svn path=/trunk/; revision=48274

9 years agoFinish the Wine sync. These components are not just rc file changes
Daniel Reimer [Mon, 26 Jul 2010 02:26:04 +0000 (02:26 +0000)]
Finish the Wine sync. These components are not just rc file changes
atl, comctl32, comdlg32, dwmapi, fusion, gdiplus, jscript, mpr, mshtml, msi, msimtf, msxml3, ole32, oleaut32, riched20, shdocvw, shlwapi, urlmon, usp10, version and windowscodecs
Seems to build and boot. /me hides

svn path=/trunk/; revision=48273

9 years agoAdd amd64 inf files
Timo Kreuzer [Mon, 26 Jul 2010 01:42:31 +0000 (01:42 +0000)]
Add amd64 inf files

svn path=/trunk/; revision=48272

9 years ago[CRT]
Timo Kreuzer [Mon, 26 Jul 2010 01:10:20 +0000 (01:10 +0000)]
[CRT]
Add logf wrapper

svn path=/trunk/; revision=48271

9 years agoWine dll sync commit 1 of 2.
Daniel Reimer [Mon, 26 Jul 2010 00:12:22 +0000 (00:12 +0000)]
Wine dll sync commit 1 of 2.
This one syncs all dlls which only have resource file changes.
avifil32, credui, crypt32, cryptdlg, cryptui, iccvid, kernel32, localspl, localui, mapi32, msacm32, msrle32, msvfw32, msvidc32, oleacc, oledlg, pstorec, shdoclc, wldap32

svn path=/trunk/; revision=48269

9 years ago[MSVCRT]
Timo Kreuzer [Sun, 25 Jul 2010 21:58:08 +0000 (21:58 +0000)]
[MSVCRT]
Add exports for ceilf, cosf, logf

svn path=/trunk/; revision=48265

9 years ago[TOUCH]
Sylvain Petreolle [Sun, 25 Jul 2010 20:57:38 +0000 (20:57 +0000)]
[TOUCH]
Remove ntdll library and link to getopt.

svn path=/trunk/; revision=48263

9 years agoUkrainian translation patch for taskmgr, explorer and shell32. By Igor Paliychuk.
Amine Khaldi [Sun, 25 Jul 2010 16:15:27 +0000 (16:15 +0000)]
Ukrainian translation patch for taskmgr, explorer and shell32. By Igor Paliychuk.

svn path=/trunk/; revision=48254

9 years agoFix build.
Amine Khaldi [Sun, 25 Jul 2010 14:20:03 +0000 (14:20 +0000)]
Fix build.

svn path=/trunk/; revision=48253

9 years ago[NEWINFLIB]
Timo Kreuzer [Sun, 25 Jul 2010 14:09:08 +0000 (14:09 +0000)]
[NEWINFLIB]
PINT -> INT*

svn path=/trunk/; revision=48252

9 years ago[USETUP] / [INFLIB]
Timo Kreuzer [Sun, 25 Jul 2010 13:46:54 +0000 (13:46 +0000)]
[USETUP] / [INFLIB]
Merge r36443 from amd64 branch:
Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT* (Samuel Serapion)

svn path=/trunk/; revision=48251

9 years ago[OSKITTCP]
Timo Kreuzer [Sun, 25 Jul 2010 12:34:56 +0000 (12:34 +0000)]
[OSKITTCP]
Don't add leading underscores to symbols on amd64 builds

svn path=/trunk/; revision=48250

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Jul 2010 12:00:26 +0000 (12:00 +0000)]
[NTOSKRNL]
- Fix MiAddressToPti and implement MiAddressToPxi for amd64
- Replace #error with DPRINT and ASSERT(FALSE) in MiInitializeLargePageSupport
- Implement amd64 specific MmCreateProcessAddressSpace
- Add MmProtectToPteMask for amd64 (copied from x86)
- Remove amd64 version of MmInitializeHandBuiltProcess

svn path=/trunk/; revision=48249

9 years ago[MINGW]
Timo Kreuzer [Sun, 25 Jul 2010 03:08:53 +0000 (03:08 +0000)]
[MINGW]
Add a temporary hack to fix amd64 compilation for some modules.

svn path=/trunk/; revision=48241

9 years ago[IPCONFIG]
Cameron Gutman [Sun, 25 Jul 2010 03:02:01 +0000 (03:02 +0000)]
[IPCONFIG]
- Fix the media detection code in ipconfig

svn path=/trunk/; revision=48240

9 years ago[PSDK]
Amine Khaldi [Sun, 25 Jul 2010 01:22:15 +0000 (01:22 +0000)]
[PSDK]
- Make FORCEINLINE extern (not static)
- Declare WspiapiLegacyFreeAddrInfo, WspiapiLegacyGetAddrInfo and WspiapiLegacyGetNameInfo as static __inline.
[CRT]
- Convert FillBuf to static __inline.
[NTOS]
- Convert MmProtectToPteMask to extern.
- Convert LpcpAllocateFromPortZone to static __inline.

svn path=/trunk/; revision=48239

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Jul 2010 00:50:03 +0000 (00:50 +0000)]
[NTOSKRNL]
Make MmIsAddressValid portable by using _MI_PAGING_LEVELS macro.

svn path=/trunk/; revision=48238

9 years ago[NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well...
Sir Richard [Sat, 24 Jul 2010 16:28:51 +0000 (16:28 +0000)]
[NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well (but the underlying page is still leaked). Should fix the advapi32 security crash.
[NTOS]: Sometimes it seems we hit some bad VADs due to bugs? in the AVL tree implementation. I'm going on vacation for a month and can't look at this, so I've hacked the code to ignore such VADs for now, in the interest of fixing the winetest regression.

svn path=/trunk/; revision=48235

9 years ago[NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are remove...
Sir Richard [Sat, 24 Jul 2010 16:12:39 +0000 (16:12 +0000)]
[NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are removed when the process exits (although the pages are still leaking, for now), and the pool allocation for the VAD is also freed.
[NTOS]: Use ARM3 paged pool up until smss.exe starts. There's a last bug in the expansion code before we can get rid of the old paged pool.

svn path=/trunk/; revision=48234

9 years ago[NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before...
Sir Richard [Sat, 24 Jul 2010 15:30:24 +0000 (15:30 +0000)]
[NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before but using the ARM3 PFN list APIs, the ARM3 macros, etc. Once change is processes are now populating the MmProcessList, and the "MmGlobalKernelPageTable" isn't used anymore for new processes. Also the mappings come from SysPTE space, not hyperspace.
[NTOS]: More work will be needed in this area, but this gets rid of another ReactOS dinosaur.

svn path=/trunk/; revision=48233

9 years ago[DHCPCSVC]
Cameron Gutman [Sat, 24 Jul 2010 15:04:24 +0000 (15:04 +0000)]
[DHCPCSVC]
- Initialize length to prevent a possible buffer overflow
- Thanks to janderwald for finding my mistake

svn path=/trunk/; revision=48232

9 years ago[NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess,...
Sir Richard [Sat, 24 Jul 2010 15:01:05 +0000 (15:01 +0000)]
[NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess, MmInitializeHandBuiltProcess2 into ARM3, and cleanup the code.
[NTOS]: Prepare to take over MmCreateProcessAddressSpace.

svn path=/trunk/; revision=48231

9 years ago[KMIXER]
Amine Khaldi [Sat, 24 Jul 2010 14:49:46 +0000 (14:49 +0000)]
[KMIXER]
- Remove memset and memcpy implementations from pin.c

svn path=/trunk/; revision=48230

9 years ago[NDIS]
Amine Khaldi [Sat, 24 Jul 2010 13:47:41 +0000 (13:47 +0000)]
[NDIS]
- Move NDIS_HARDWARE_STATUS, GEN_GET_TIME_CAPS, GEN_GET_NETCARD_TIME, NDIS_MEDIA_STATE, NDIS_GUID, NDIS_PM_PACKET_PATTERN, NETWORK_ADDRESS, NETWORK_ADDRESS_LIST, TRANSPORT_HEADER_OFFSET and NDIS_CO_LINK_SPEED from ndis.h to ntddndis.h (where they should belong).
- typedef NDIS_STATUS for ntddndis.h
- Group some related definitions in ndis.h
- Some _ANONYMOUS_* -> __MINGW_EXTENSION conversions.
- Guard some definitions against NDIS_LEGACY_DRIVER.
- Add some missing definitions.
- NDIS_MINIPORT_BLOCK : PVOID  Signature; -> NDIS_OBJECT_HEADER Header;
- Add missing xfilter.h inclusion.
- Add some missing function declarations.
- Convert some function declarations into macros.
- Guard some definitions against NDIS_LEGACY_MINIPORT.

svn path=/trunk/; revision=48229

9 years ago[XDK]
Amine Khaldi [Sat, 24 Jul 2010 10:51:22 +0000 (10:51 +0000)]
[XDK]
- Missed this one (FORCEINLINE)
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48228

9 years ago[[MINGW-W64]
Amine Khaldi [Sat, 24 Jul 2010 10:10:15 +0000 (10:10 +0000)]
[[MINGW-W64]
- Tighten up reactos.diff now that we have all those diffs (except one) committed upstream.

svn path=/trunk/; revision=48227

9 years ago[MINGW-W64]
Amine Khaldi [Sat, 24 Jul 2010 09:59:34 +0000 (09:59 +0000)]
[MINGW-W64]
- Sync gs_support.c now that our patches are committed upstream.

svn path=/trunk/; revision=48226

9 years ago[CRT]
Amine Khaldi [Sat, 24 Jul 2010 09:52:46 +0000 (09:52 +0000)]
[CRT]
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225

9 years ago[XDK]
Amine Khaldi [Sat, 24 Jul 2010 09:20:56 +0000 (09:20 +0000)]
[XDK]
- Make sure FORCEINLINE comes as first in declarations.
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48224

9 years ago[NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it...
Sir Richard [Sat, 24 Jul 2010 04:00:22 +0000 (04:00 +0000)]
[NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it in MiRemoveNode, now implemeneted, and RtlDeleteElementGenericTableAvl, also now implemented. It hopefully works.

svn path=/trunk/; revision=48223

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Jul 2010 01:12:13 +0000 (01:12 +0000)]
[NTOSKRNL]
Bring over all current amd64 specific code from the amd64 branch

svn path=/trunk/; revision=48222

9 years ago- Fix epic naming fail (DhcpEnabled -> EnableDHCP
Cameron Gutman [Sat, 24 Jul 2010 00:25:59 +0000 (00:25 +0000)]
- Fix epic naming fail (DhcpEnabled -> EnableDHCP
[DHCPCSVC]: Verify that the length is correct
[TCPIP]: Make sure DHCP is enabled before reading IP information

svn path=/trunk/; revision=48221

9 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 23 Jul 2010 23:50:26 +0000 (23:50 +0000)]
[NTOSKRNL]
Add missing declarations

svn path=/trunk/; revision=48220

9 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 23 Jul 2010 23:30:00 +0000 (23:30 +0000)]
[NTOSKRNL]
- Add KiGetLinkedTrapFrame for amd64
- Add MiAddressToPti
- Fix MmCreateProcessAddressSpace, MmInitializeHandBuiltProcess prototype (ULONG -> ULONG_PTR)
- #if out some C_ASSERTs for other architectures than x86
- #define InitializeSListHead to RtlInitializeSListHead on amd64
- Don't implement MiSyncARM3WithROS on amd64
- Implement RtlPcToFileHeader, RtlpGetStackLimits

svn path=/trunk/; revision=48219