Commit graph

43508 commits

Author SHA1 Message Date
Amine Khaldi
48b65ad43b [CMAKE]
- Add cmdutils base file.

svn path=/branches/cmake-bringup/; revision=48454
2010-08-04 13:16:46 +00:00
Timo Kreuzer
692801bff2 [FASTFAT]
- Fix a check in VfatCreateFile. Patch by Pierre Schweitzer.

See issue #4571 for more details.

svn path=/trunk/; revision=48453
2010-08-04 13:06:47 +00:00
Amine Khaldi
ba7d98adba [CMAKE]
- Fix precompiled header support (the pch cleanup phase).
- Improve its use in crt.

svn path=/branches/cmake-bringup/; revision=48452
2010-08-04 10:38:17 +00:00
Sir Richard
ce238e95a4 [CMAKE]: Add missing file.
svn path=/branches/cmake-bringup/; revision=48451
2010-08-04 08:17:04 +00:00
Sir Richard
3bad5d8bbf [CMAKE]: PCH for NTDLL too.
svn path=/branches/cmake-bringup/; revision=48450
2010-08-04 08:16:37 +00:00
Sir Richard
5ef41e4848 [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
2010-08-04 07:52:21 +00:00
Sir Richard
807b0907d5 [CMAKE]: Add full support for linking RC files with windres.
svn path=/branches/cmake-bringup/; revision=48448
2010-08-04 07:51:26 +00:00
Sir Richard
d928872abe [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
2010-08-04 06:41:07 +00:00
Timo Kreuzer
9fd87c4954 [GDI32]
Fix parameter check in GetTextExtentExPointA/W. Patch by Kamil Hornicek. Fixes bug 5486, bug 5507 and bug 5511

svn path=/trunk/; revision=48446
2010-08-04 00:01:30 +00:00
Timo Kreuzer
e3736b149a Add some tests for GetTextExtentExPoint. Dedicated to Pigglesworth
svn path=/trunk/; revision=48445
2010-08-03 23:15:20 +00:00
Amine Khaldi
53edf4d8fa [CMAKE]
- Formatting. No code change.

svn path=/branches/cmake-bringup/; revision=48444
2010-08-03 21:58:41 +00:00
Amine Khaldi
fb995372b0 [CMAKE]
- Fix ntdllsys and win32ksys.

svn path=/branches/cmake-bringup/; revision=48443
2010-08-03 21:57:06 +00:00
Amine Khaldi
34db564f0a [CMAKE]
- Improve header inclusions.

svn path=/branches/cmake-bringup/; revision=48442
2010-08-03 21:55:42 +00:00
Amine Khaldi
2939360909 [CMAKE]
- Add IDL generated headers to build.

svn path=/branches/cmake-bringup/; revision=48441
2010-08-03 21:51:59 +00:00
Sir Richard
9e90eaa575 [CMAKE]: NTDLL WIP.
svn path=/branches/cmake-bringup/; revision=48440
2010-08-03 21:39:17 +00:00
Sir Richard
0efbac95d2 [CMAKE]: Don't auto-link with Win32 stuff.
svn path=/branches/cmake-bringup/; revision=48439
2010-08-03 21:38:59 +00:00
Sir Richard
1bd315d9e1 [CMAKE]: Fix CRT.
svn path=/branches/cmake-bringup/; revision=48438
2010-08-03 21:38:39 +00:00
Timo Kreuzer
9c9f4cb9e9 [WIN32K]
Protect access to the result pointer from KeUserModeCallback with SEH. Fixes a possible kernel mode crash.

svn path=/trunk/; revision=48437
2010-08-03 21:36:39 +00:00
Sir Richard
3b6a29974b [CMAKE]: Use some nice options which will make makefiles simpler regarding includes.
svn path=/branches/cmake-bringup/; revision=48436
2010-08-03 21:12:51 +00:00
Sir Richard
12ccd98393 [CMAKE]: Cant' have comments in mc files.
svn path=/branches/cmake-bringup/; revision=48435
2010-08-03 21:12:16 +00:00
Sir Richard
700aa715cb [CMAKE]: Amine doesn't read man pages, nor does he actually review patches :-)
svn path=/branches/cmake-bringup/; revision=48434
2010-08-03 20:51:47 +00:00
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