Commit graph

43487 commits

Author SHA1 Message Date
Aleksey Bragin f986e82a8d [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
2010-08-03 20:23:43 +00:00
Timo Kreuzer cf02088179 [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
2010-08-03 16:09:33 +00:00
Sir Richard 734491e01c [CMAKE]: Forgot to delete this guy.
svn path=/branches/cmake-bringup/; revision=48431
2010-08-03 16:06:10 +00:00
Sir Richard 3fff31cd81 [CMAKE]: Start working on ntdll.
svn path=/branches/cmake-bringup/; revision=48430
2010-08-03 16:05:53 +00:00
Sir Richard f0a4bf29e6 [CMAKE]: Simplify more makefiles.
svn path=/branches/cmake-bringup/; revision=48429
2010-08-03 14:56:22 +00:00
Sir Richard 0436f84653 [CMAKE]: Simplify makefiles.
svn path=/branches/cmake-bringup/; revision=48428
2010-08-03 14:54:19 +00:00
Sir Richard 5abcbffcd0 [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
2010-08-03 14:53:12 +00:00
Amine Khaldi 9c529a8548 [CMAKE]
- Richard : Group message headers creation into one macro.

svn path=/branches/cmake-bringup/; revision=48426
2010-08-03 14:29:04 +00:00
Sir Richard 044e663dad [RTL]: Rtl ByteSwap functions should use intrinsics, isntead of assembly code. This should be merged into trunk!
svn path=/branches/cmake-bringup/; revision=48425
2010-08-03 01:56:35 +00:00
Cameron Gutman 75f1ada3df [WS2_32]: Fix buffer overrun in getservbyname. Patch by Alexander Yastrebov - menone7 at gmail dot com
svn path=/trunk/; revision=48424
2010-08-02 21:31:50 +00:00
Cameron Gutman 18bc5a24b5 Xcode....
svn path=/trunk/; revision=48423
2010-08-02 21:26:12 +00:00
Cameron Gutman db0f412b3e [NTOS]: Fix kernel memory corruption when dequeuing a PnP event
svn path=/trunk/; revision=48422
2010-08-02 21:22:34 +00:00
Timo Kreuzer 917fbfd1ea [PSDK]
add missing LPCOLORREF to windef.h

svn path=/trunk/; revision=48414
2010-08-02 14:29:09 +00:00
Cameron Gutman 9088c79a22 There is nothing to say about this...
svn path=/trunk/; revision=48410
2010-08-02 03:52:52 +00:00
Cameron Gutman caa555a453 [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
2010-08-01 23:52:23 +00:00
Cameron Gutman a7c693ea78 Forgetting to save really sucks. Sorry again for the wasted commit.
svn path=/trunk/; revision=48404
2010-08-01 23:46:57 +00:00
Cameron Gutman e98fc993d1 [AFD]: Fix read data corruption when peeking at network data (TDI_RECEIVE_PEEK is specified for a stream socket)
svn path=/trunk/; revision=48403
2010-08-01 23:42:33 +00:00
Cameron Gutman be40e4a043 Fix a typo
svn path=/trunk/; revision=48402
2010-08-01 23:20:31 +00:00
Cameron Gutman 4e63fd0e5a Fix a copy-paste mistake and remove an unused variable
svn path=/trunk/; revision=48401
2010-08-01 21:08:53 +00:00
Cameron Gutman 14fc97df0c [AFD]: Revert r42674 and part of r47156
svn path=/trunk/; revision=48400
2010-08-01 21:00:40 +00:00
Cameron Gutman 57eed17e05 [DHCPCSVC]: Revert part of r48215
svn path=/trunk/; revision=48399
2010-08-01 20:34:10 +00:00
Giannis Adamopoulos 716e283fb3 [rtl]
- Use __inline instead of __inline__ to fix compilation with msvc

svn path=/trunk/; revision=48398
2010-08-01 16:34:22 +00:00
Giannis Adamopoulos 84d8b7850d [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
2010-08-01 16:27:48 +00:00
Aleksey Bragin 071e036cb8 [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
2010-07-31 22:39:22 +00:00
Aleksey Bragin 9746a25057 [PSDK]
- Make some winuser.h functions conforming to MS PSDK.

svn path=/trunk/; revision=48387
2010-07-31 22:36:22 +00:00
Aleksey Bragin 9d5dfb1c1c - Fix build, sorry.
svn path=/trunk/; revision=48386
2010-07-31 22:20:34 +00:00
Eric Kohl aacfe3956c [LSASRV]
Add more well known sids to the lookup list.

svn path=/trunk/; revision=48385
2010-07-31 22:02:13 +00:00
Aleksey Bragin cb3bc802c8 [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
2010-07-31 21:40:40 +00:00
Gabriel Ilardi 04dc5e3fce [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
2010-07-31 21:00:40 +00:00
Giannis Adamopoulos a5101cce25 [explorer]
- Using msvc doesn't mean using ms sdks

svn path=/trunk/; revision=48381
2010-07-31 12:16:03 +00:00
Aleksey Bragin 74ff3ad0d7 [PSDK]
- Fix GetTextCharsetInfo prototype according to MS Platform SDK.

svn path=/trunk/; revision=48379
2010-07-31 12:02:46 +00:00
Eric Kohl ad21f9ddae [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
2010-07-31 11:24:16 +00:00
Eric Kohl d3111f1e5b [LSASRV]
Replace hard-coded privilege names by privilege names from the PSDK.

svn path=/trunk/; revision=48377
2010-07-31 09:06:42 +00:00
Giannis Adamopoulos 7d1896ae99 [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
2010-07-31 07:53:06 +00:00
Eric Kohl f271e405f4 [PSDK]
Add missing privilege names.

svn path=/trunk/; revision=48375
2010-07-31 07:09:40 +00:00
Giannis Adamopoulos 8fd2068781 [shell32]
- Fix a compilation error with msvc

svn path=/trunk/; revision=48371
2010-07-30 18:37:51 +00:00
Giannis Adamopoulos d2a89a0c29 [ndis.h]
- Fix compilation with msvc

svn path=/trunk/; revision=48370
2010-07-30 17:05:17 +00:00
Gabriel Ilardi 395c797826 [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
2010-07-29 20:17:09 +00:00
Amine Khaldi 3c0baef393 [CMAKE]
- Prepare for porting base modules.
- Add kernel_napi, subsystem_napi and kernel_zw to build.

svn path=/branches/cmake-bringup/; revision=48362
2010-07-29 16:45:01 +00:00
Amine Khaldi 8e9eff5518 [DXSDK]
- Define STATIC_KSMETHODSETID_BdaChangeSync without braces.
[PSDK]
- _ANONYMOUS_UNION/_ANONYMOUS_STRUCT -> __MINGW_EXTENSION
- usbuser.h : Add missing #endif

svn path=/trunk/; revision=48361
2010-07-29 16:42:00 +00:00
Giannis Adamopoulos dd08ddbbe9 Revert 48355
svn path=/trunk/; revision=48358
2010-07-29 16:05:54 +00:00
Amine Khaldi 6bdc331638 [CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357
2010-07-29 15:52:00 +00:00
Amine Khaldi 102a9c242e [CMAKE]
- Export more native tools.
- Fix ntdllsys dependency.

svn path=/branches/cmake-bringup/; revision=48356
2010-07-29 15:34:21 +00:00
Giannis Adamopoulos 101767d1e6 [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
2010-07-29 14:40:21 +00:00
Giannis Adamopoulos b3bd25a0cd - Fix setjmp for msvc
svn path=/trunk/; revision=48352
2010-07-29 12:23:03 +00:00
Giannis Adamopoulos 77d4142d6d [win32csr]
- Fix compilation with msvc

svn path=/trunk/; revision=48349
2010-07-29 10:20:41 +00:00
Amine Khaldi 007ecbd4c1 [CMAKE]
- Add debugsup lib to build.

svn path=/branches/cmake-bringup/; revision=48348
2010-07-29 01:53:31 +00:00
Amine Khaldi a1fc7877ea [CMAKE]
- Add libcntpr lib to build.

svn path=/branches/cmake-bringup/; revision=48347
2010-07-29 01:37:53 +00:00
Amine Khaldi cf9ff97d22 [CMAKE]
- Add ntsys to build.

svn path=/branches/cmake-bringup/; revision=48342
2010-07-28 23:21:13 +00:00
Amine Khaldi 666ab7d918 [CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

svn path=/branches/cmake-bringup/; revision=48336
2010-07-28 22:01:07 +00:00