reactos.git
13 years agoPierre Schweitzer
Aleksey Bragin [Sun, 8 Aug 2010 08:24:19 +0000 (08:24 +0000)]
Pierre Schweitzer
- Implemented CdfsIsNameLegalDOS8Dot3 and use it to check filenames. It avoids
calling Rtl* functions that need NLS. (Modified merge of 35501).
See issue #2404 for more details.

svn path=/trunk/; revision=48486

13 years ago[TASKMGR]
Timo Kreuzer [Sun, 8 Aug 2010 03:41:33 +0000 (03:41 +0000)]
[TASKMGR]
- Use messages instead of events to notify the update threads
- Fixes a handle leak
- Fix some typos
- Patch by Carlo Bramini (carlo.bramix at libero dot it)

See issue #3104 for more details.

svn path=/trunk/; revision=48484

13 years ago[KERNEL32] Convert default locales to actual locale identifiers, before passing to...
Timo Kreuzer [Sat, 7 Aug 2010 22:41:23 +0000 (22:41 +0000)]
[KERNEL32] Convert default locales to actual locale identifiers, before passing to IsValidLocale(). Fixes corrupted file size strings in explorer.
[SHLWAPI] Fix some comments (As usual: "should be sent to wine")
Patch by Rafal HarabieÅ„, <rafalh1992 AT o2 DOT pl>

See issue #5557 for more details.

svn path=/trunk/; revision=48482

13 years ago[DDK]
Timo Kreuzer [Sat, 7 Aug 2010 21:29:00 +0000 (21:29 +0000)]
[DDK]
Make functions in ntstrsafe.h static, so they can be used in more than one file. Maybe that encourages people using it instead of unsafe and banned apis.

svn path=/trunk/; revision=48481

13 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 7 Aug 2010 21:22:00 +0000 (21:22 +0000)]
[NTOSKRNL]
Deferred success...

svn path=/trunk/; revision=48480

13 years ago[NTOS]: Aleksey wants an easy way to see debug messages coming from one process vs...
Sir Richard [Sat, 7 Aug 2010 16:16:17 +0000 (16:16 +0000)]
[NTOS]: Aleksey wants an easy way to see debug messages coming from one process vs. another, which is an obvious idea that should've done a long time ago. Now you can see who is generating a given debug message (including the thread).

svn path=/trunk/; revision=48479

13 years ago[KERNEL32]
Timo Kreuzer [Sat, 7 Aug 2010 16:07:13 +0000 (16:07 +0000)]
[KERNEL32]
Go back to spec file. Don't worry it's fixed.

svn path=/trunk/; revision=48478

13 years ago[KERNEL32]: Aleksey wants debug channels, I agree this is the way forward. Leverage...
Sir Richard [Sat, 7 Aug 2010 16:01:30 +0000 (16:01 +0000)]
[KERNEL32]: Aleksey wants debug channels, I agree this is the way forward. Leverage existing NT infrastructure to enable Windows-compatible debug channel support, instead of using a UNIX-based 3rd party library. Same debug channel names as before have been re-added, but using NT Debug Filters.

svn path=/trunk/; revision=48477

13 years ago[KERNEL32]
Aleksey Bragin [Sat, 7 Aug 2010 09:10:06 +0000 (09:10 +0000)]
[KERNEL32]
- That's what happens when most of the commit's changes are not related to most of the commit message. Fixes build.

svn path=/trunk/; revision=48476

13 years ago[KERNEL32]: While working on the CMAKE branch, Amine and myself discovered a rather...
Sir Richard [Sat, 7 Aug 2010 05:02:58 +0000 (05:02 +0000)]
[KERNEL32]: While working on the CMAKE branch, Amine and myself discovered a rather serious issue in kernel32 (and perhaps other libraries as well). Unlike rbuild, CMake does not allow you to export non-existant DLL functions (try it: add "poopyhead" in kernel32's exports under RBuild, and will it export "poopyhead", God knowing what that will actually link to).
            As an additional feature on top of the "allow non-existing functions to be exported" "feature", because rbuild generates and links STDCALL function names without the proper decoration (vs. enforcing decoration at linking, but only removing it at export-time), this allows the definition (as an export) of a STDCALL function that is completely different from the actual function itself.
            For example, the 5-parameter Foo function is normally Foo@20, while the 3-parameter Foo function woudl be Foo@12. Linking one against the other would fail (say, 2 parameters were added to Foo in a newer version). However, under RBUILD, both of these would appear as "Foo", and the linker/compiler would happilly connect the caller of Foo@3 (that has pushed 3 parameters) to the receiving side of Foo@5 (that is about to pop 5 parameters).
            Even -if- decorations WERE to be applied, Foo@12 would STILL succeed, because of the first feature, which would enable the export of Foo@12 even though no such function exist.
            In a further, bizare, twist of fate, the behavior of this RBUILD "feature", when the target function is not found, is to link the exported DLL TO ITSELF.
            Therefore, one can see how, previously to this patch, kernel32.dll would import a dozen functions from itself (all the non-existing functions).
            To really seal the deal, the behavior of exported functions used by kernel32, but that are actually forwarded to another DLL deserves a special mention.
            GetLastError, for example, merely forwards to RtlGetLastWin32Error, so it is normal behavior to use a #define in the C code so that all internal calls to the function are routed correctly.
            This did not happen, so instead, kernel32 tried importing/linking/exporting GetLastError, but this symbol is not found in the binary, because it is only a forwarder.
            This caused kernel32 to import from itself (the behavior when an exported symbol is not found). When importing from itself, the loader would now find the _forwarded_ for GetLastError, and correctly link with ntdll.
            What should be a one-liner of assembly (inline TEB access) thus became a triple-call indirection (GetLastError@0->StubLastError@0->__impGetLastError@0->__impRtlGetLastWin32Error->RtlGetLastWin32Error.
            While analyzing these issues, we also realized a strange macro SetLastErrorByStatus that manually tried to perform what there already exists a function for: RtlSetLastNtStatusFromWin32Error.
    And, in an exciting coda, we also realized that our Server 2003 Kernel32 exports more than a dozen Windows 95 APIs, through an auto-stub generation mechanism within winebuild, that gets linked as an object behind the scenes.
[KERNEL32]: Removed all Win95 exports, cleaned up exports.
[KERNEL32]: Fixed up set/get error macros by making them inline and/or calling the correct ntdll function.
[KERNEL32]: Removed bizare calls to Wine-internal/specific APIs from our core Win32 DLL.
[KERNEL32]: Wrote stubs for all functions which should be exported, and set the correct number of parameters for them.
[KERNEL32]: Kernel32 is smaller, loads faster, does not export Windows 95 functions, does not export non-existing functions, and does not import from itself anymore.
Note: This is one of the many failings of RBUILD the CMAKE system has helped us discover. I believe these issues are serious enough to warrant an immediate sync with trunk, but rest assured, there are many more completely broken, infinitely-regressing things that we discovered while switching to CMAKE.

svn path=/trunk/; revision=48475

13 years ago[IPHLPAPI]
Cameron Gutman [Fri, 6 Aug 2010 23:01:10 +0000 (23:01 +0000)]
[IPHLPAPI]
- Comment out the GetAdaptersAddresses code and add the stub back
- Fixes Firefox 3.x (bug 5399)

svn path=/trunk/; revision=48474

13 years ago[CRT]
Timo Kreuzer [Fri, 6 Aug 2010 22:42:07 +0000 (22:42 +0000)]
[CRT]
- Remove "implementations" of __lc_collate_cp, __lc_handle and __lc_codepage. These are not functions, but varuables, implemented as MSVCRT_*
- add ___lc_codepage_func and ___lc_handle_func taken from wine
- Fix msvcrt spec file
- Fixes compilation with gcc 4.5.1

svn path=/trunk/; revision=48473

13 years ago- (Hack)fix build.
Aleksey Bragin [Fri, 6 Aug 2010 12:04:12 +0000 (12:04 +0000)]
- (Hack)fix build.

svn path=/trunk/; revision=48469

13 years ago[CDFS]
Aleksey Bragin [Thu, 5 Aug 2010 21:57:02 +0000 (21:57 +0000)]
[CDFS]
- MAXIMUM_VOLUME_LABEL_LENGTH is in bytes, not in characters. Fix struct definition and access beyond the buffer. Spotted by Carlo Bramini.
- Trim trailing spaces from the volume label name, instead of stopping at the first encountered space. Fix by Carlo Bramini.
See issue #5505 for more details.

svn path=/trunk/; revision=48468

13 years ago- Sync ole32 and oleaut32 regtests to Wine-1.3.
Aleksey Bragin [Thu, 5 Aug 2010 21:28:34 +0000 (21:28 +0000)]
- Sync ole32 and oleaut32 regtests to Wine-1.3.

svn path=/trunk/; revision=48467

13 years ago- Sync ole32 and oleaut32 to Wine-1.3.
Aleksey Bragin [Thu, 5 Aug 2010 21:19:46 +0000 (21:19 +0000)]
- Sync ole32 and oleaut32 to Wine-1.3.

svn path=/trunk/; revision=48466

13 years ago[SHELL32]
Timo Kreuzer [Thu, 5 Aug 2010 14:42:56 +0000 (14:42 +0000)]
[SHELL32]
When creating a shortcut icon and we have 32 bpp, use GdiAlphaBlend to create the final bitmap. This is neccessary, since we want to support alpha channels and those are destroyed when using SRCPAINT or any similar ROPs on the alpha bitmap (not a bug, Windows works like that, too). We could use MaskBlt, if it would work correctly, but on reactos it destroys the alpha channel as well (bug!), it's also most likely slower then the current solution.
Fixes broken overlay icons.
See issue #5455 for more details.

svn path=/trunk/; revision=48463

13 years ago[WIN32K]
Timo Kreuzer [Thu, 5 Aug 2010 14:32:30 +0000 (14:32 +0000)]
[WIN32K]
- Copy the alpha channel as well when doing RGB<->BGR color translations.

svn path=/trunk/; revision=48462

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 5 Aug 2010 12:23:23 +0000 (12:23 +0000)]
[NTOSKRNL]
- Fixed FsRtlIsNameInExpression to make it properly handle * in expressions
- Fix formatting
- Patch by Pierre Schweitzer
- Fixes everything

See issue #5541 for more details.

svn path=/trunk/; revision=48461

13 years ago[CMAKE]
Amine Khaldi [Thu, 5 Aug 2010 00:43:33 +0000 (00:43 +0000)]
[CMAKE]
- Set windmc to write binary messages as ascii.

svn path=/branches/cmake-bringup/; revision=48460

13 years ago[CMAKE]
Amine Khaldi [Wed, 4 Aug 2010 19:10:43 +0000 (19:10 +0000)]
[CMAKE]
- Move generated precompiled headers to binary folders.
- Enable auto image base for ntdll.
- Update the location of generated PCH files for rtl, ntdll and crt.

svn path=/branches/cmake-bringup/; revision=48459

13 years ago[CMAKE]: Don't prefix DLLs with "lib".
Sir Richard [Wed, 4 Aug 2010 14:42:05 +0000 (14:42 +0000)]
[CMAKE]: Don't prefix DLLs with "lib".
[CMAKE]: Add our libgcc by default.

svn path=/branches/cmake-bringup/; revision=48458

13 years ago[CMAKE]: Disable standard C libraries (WIP: Should add libgcc).
Sir Richard [Wed, 4 Aug 2010 14:29:24 +0000 (14:29 +0000)]
[CMAKE]: Disable standard C libraries (WIP: Should add libgcc).
[CMAKE]: Set global linker flags we need for all libraries.
[CMAKE]: Set specific NTDLL linker flag.
Thanks to Amine for some of his help.

svn path=/branches/cmake-bringup/; revision=48457

13 years ago[KERNEL32]
Timo Kreuzer [Wed, 4 Aug 2010 13:33:37 +0000 (13:33 +0000)]
[KERNEL32]
Fix a check in ContainsPath. Patch by Gabriel Ilardi.

See issue #5478 for more details.

svn path=/trunk/; revision=48456

13 years ago[CMAKE]
Amine Khaldi [Wed, 4 Aug 2010 13:30:27 +0000 (13:30 +0000)]
[CMAKE]
- Add games base file.

svn path=/branches/cmake-bringup/; revision=48455

13 years ago[CMAKE]
Amine Khaldi [Wed, 4 Aug 2010 13:16:46 +0000 (13:16 +0000)]
[CMAKE]
- Add cmdutils base file.

svn path=/branches/cmake-bringup/; revision=48454

13 years ago[FASTFAT]
Timo Kreuzer [Wed, 4 Aug 2010 13:06:47 +0000 (13:06 +0000)]
[FASTFAT]
- Fix a check in VfatCreateFile. Patch by Pierre Schweitzer.

See issue #4571 for more details.

svn path=/trunk/; revision=48453

13 years ago[CMAKE]
Amine Khaldi [Wed, 4 Aug 2010 10:38:17 +0000 (10:38 +0000)]
[CMAKE]
- Fix precompiled header support (the pch cleanup phase).
- Improve its use in crt.

svn path=/branches/cmake-bringup/; revision=48452

13 years ago[CMAKE]: Add missing file.
Sir Richard [Wed, 4 Aug 2010 08:17:04 +0000 (08:17 +0000)]
[CMAKE]: Add missing file.

svn path=/branches/cmake-bringup/; revision=48451

13 years ago[CMAKE]: PCH for NTDLL too.
Sir Richard [Wed, 4 Aug 2010 08:16:37 +0000 (08:16 +0000)]
[CMAKE]: PCH for NTDLL too.

svn path=/branches/cmake-bringup/; revision=48450

13 years ago[CMAKE]: Closer to a valid NTDLL. Resources and exports are compiled in now.
Sir Richard [Wed, 4 Aug 2010 07:52:21 +0000 (07:52 +0000)]
[CMAKE]: Closer to a valid NTDLL. Resources and exports are compiled in now.
[CMAKE]: WIP: CMAKE_C_CREATE_SHARED_LIBRARY breakdown + top-level.

svn path=/branches/cmake-bringup/; revision=48449

13 years ago[CMAKE]: Add full support for linking RC files with windres.
Sir Richard [Wed, 4 Aug 2010 07:51:26 +0000 (07:51 +0000)]
[CMAKE]: Add full support for linking RC files with windres.

svn path=/branches/cmake-bringup/; revision=48448

13 years ago[CMAKE]: Add support for precompiled headers (this was not fun).
Sir Richard [Wed, 4 Aug 2010 06:41:07 +0000 (06:41 +0000)]
[CMAKE]: Add support for precompiled headers (this was not fun).
[CMAKE]: Use them in RTL and CRT. Someone needs to add them to the other makefiles.

svn path=/branches/cmake-bringup/; revision=48447

13 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

13 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

13 years ago[CMAKE]
Amine Khaldi [Tue, 3 Aug 2010 21:58:41 +0000 (21:58 +0000)]
[CMAKE]
- Formatting. No code change.

svn path=/branches/cmake-bringup/; revision=48444

13 years ago[CMAKE]
Amine Khaldi [Tue, 3 Aug 2010 21:57:06 +0000 (21:57 +0000)]
[CMAKE]
- Fix ntdllsys and win32ksys.

svn path=/branches/cmake-bringup/; revision=48443

13 years ago[CMAKE]
Amine Khaldi [Tue, 3 Aug 2010 21:55:42 +0000 (21:55 +0000)]
[CMAKE]
- Improve header inclusions.

svn path=/branches/cmake-bringup/; revision=48442

13 years ago[CMAKE]
Amine Khaldi [Tue, 3 Aug 2010 21:51:59 +0000 (21:51 +0000)]
[CMAKE]
- Add IDL generated headers to build.

svn path=/branches/cmake-bringup/; revision=48441

13 years ago[CMAKE]: NTDLL WIP.
Sir Richard [Tue, 3 Aug 2010 21:39:17 +0000 (21:39 +0000)]
[CMAKE]: NTDLL WIP.

svn path=/branches/cmake-bringup/; revision=48440

13 years ago[CMAKE]: Don't auto-link with Win32 stuff.
Sir Richard [Tue, 3 Aug 2010 21:38:59 +0000 (21:38 +0000)]
[CMAKE]: Don't auto-link with Win32 stuff.

svn path=/branches/cmake-bringup/; revision=48439

13 years ago[CMAKE]: Fix CRT.
Sir Richard [Tue, 3 Aug 2010 21:38:39 +0000 (21:38 +0000)]
[CMAKE]: Fix CRT.

svn path=/branches/cmake-bringup/; revision=48438

13 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

13 years ago[CMAKE]: Use some nice options which will make makefiles simpler regarding includes.
Sir Richard [Tue, 3 Aug 2010 21:12:51 +0000 (21:12 +0000)]
[CMAKE]: Use some nice options which will make makefiles simpler regarding includes.

svn path=/branches/cmake-bringup/; revision=48436

13 years ago[CMAKE]: Cant' have comments in mc files.
Sir Richard [Tue, 3 Aug 2010 21:12:16 +0000 (21:12 +0000)]
[CMAKE]: Cant' have comments in mc files.

svn path=/branches/cmake-bringup/; revision=48435

13 years ago[CMAKE]: Amine doesn't read man pages, nor does he actually review patches :-)
Sir Richard [Tue, 3 Aug 2010 20:51:47 +0000 (20:51 +0000)]
[CMAKE]: Amine doesn't read man pages, nor does he actually review patches :-)

svn path=/branches/cmake-bringup/; revision=48434

13 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

13 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

13 years ago[CMAKE]: Forgot to delete this guy.
Sir Richard [Tue, 3 Aug 2010 16:06:10 +0000 (16:06 +0000)]
[CMAKE]: Forgot to delete this guy.

svn path=/branches/cmake-bringup/; revision=48431

13 years ago[CMAKE]: Start working on ntdll.
Sir Richard [Tue, 3 Aug 2010 16:05:53 +0000 (16:05 +0000)]
[CMAKE]: Start working on ntdll.

svn path=/branches/cmake-bringup/; revision=48430

13 years ago[CMAKE]: Simplify more makefiles.
Sir Richard [Tue, 3 Aug 2010 14:56:22 +0000 (14:56 +0000)]
[CMAKE]: Simplify more makefiles.

svn path=/branches/cmake-bringup/; revision=48429

13 years ago[CMAKE]: Simplify makefiles.
Sir Richard [Tue, 3 Aug 2010 14:54:19 +0000 (14:54 +0000)]
[CMAKE]: Simplify makefiles.

svn path=/branches/cmake-bringup/; revision=48428

13 years ago[CMAKE]: Make simple rule for building ASM files.
Sir Richard [Tue, 3 Aug 2010 14:53:12 +0000 (14:53 +0000)]
[CMAKE]: Make simple rule for building ASM files.
[CMAKE]: Enable RC support.
[CMAKE]: Stop building tools we won't need.

svn path=/branches/cmake-bringup/; revision=48427

13 years ago[CMAKE]
Amine Khaldi [Tue, 3 Aug 2010 14:29:04 +0000 (14:29 +0000)]
[CMAKE]
- Richard : Group message headers creation into one macro.

svn path=/branches/cmake-bringup/; revision=48426

13 years ago[RTL]: Rtl ByteSwap functions should use intrinsics, isntead of assembly code. This...
Sir Richard [Tue, 3 Aug 2010 01:56:35 +0000 (01:56 +0000)]
[RTL]: Rtl ByteSwap functions should use intrinsics, isntead of assembly code. This should be merged into trunk!

svn path=/branches/cmake-bringup/; revision=48425

13 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

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

svn path=/trunk/; revision=48423

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 16:45:01 +0000 (16:45 +0000)]
[CMAKE]
- Prepare for porting base modules.
- Add kernel_napi, subsystem_napi and kernel_zw to build.

svn path=/branches/cmake-bringup/; revision=48362

13 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

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

svn path=/trunk/; revision=48358

13 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 15:52:00 +0000 (15:52 +0000)]
[CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357

13 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 15:34:21 +0000 (15:34 +0000)]
[CMAKE]
- Export more native tools.
- Fix ntdllsys dependency.

svn path=/branches/cmake-bringup/; revision=48356

13 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

13 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

13 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

13 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 01:53:31 +0000 (01:53 +0000)]
[CMAKE]
- Add debugsup lib to build.

svn path=/branches/cmake-bringup/; revision=48348

13 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 01:37:53 +0000 (01:37 +0000)]
[CMAKE]
- Add libcntpr lib to build.

svn path=/branches/cmake-bringup/; revision=48347

13 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 23:21:13 +0000 (23:21 +0000)]
[CMAKE]
- Add ntsys to build.

svn path=/branches/cmake-bringup/; revision=48342

13 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 22:01:07 +0000 (22:01 +0000)]
[CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

svn path=/branches/cmake-bringup/; revision=48336

13 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 21:52:04 +0000 (21:52 +0000)]
[CMAKE]
- Add mingw libs to build.

svn path=/branches/cmake-bringup/; revision=48335

13 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

13 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 17:00:50 +0000 (17:00 +0000)]
[CMAKE]
- Fix stdole2.

svn path=/branches/cmake-bringup/; revision=48333

13 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 16:24:00 +0000 (16:24 +0000)]
[CMAKE]
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332