Commit graph

46881 commits

Author SHA1 Message Date
Timo Kreuzer 2e109f217d [CMAKE/MSVC]
Add /NODEFAULTLIBS linker flag to avoid conflicts between our and MS crt

svn path=/trunk/; revision=52393
2011-06-20 19:21:09 +00:00
Amine Khaldi b6bb6840a4 [MSI/URLMON]
* Guard wine attributes against widl.

svn path=/trunk/; revision=52392
2011-06-20 19:13:34 +00:00
Timo Kreuzer aecc36df54 [PSDK]
- define _MIDL_USE_GUIDDEF_ when building iid libraries, so that the guids have declspec(selectany)
- add xml_uuids library
[MSXML3]
- Add an include for MSVC to define missing IIDs
- add CLSID_DOMDocument2
fixes build of msxml3 with MSVC

svn path=/trunk/; revision=52391
2011-06-20 18:34:57 +00:00
Cameron Gutman fb1a75454e [MSAFD]
- Mark the accepted socket as connected
- Fixes graceful disconnect on accepted sockets

svn path=/trunk/; revision=52389
2011-06-20 17:35:02 +00:00
Timo Kreuzer ae4e935c92 [PSDK]
Add midl compatible include guard

svn path=/trunk/; revision=52386
2011-06-20 15:28:00 +00:00
Timo Kreuzer 33486bb4d7 [CRT]
Fix call_ebp_func, spotted by Thomas Faber

svn path=/trunk/; revision=52384
2011-06-20 13:34:19 +00:00
Timo Kreuzer d01040f370 [ITSS]
Link to itss_guid

svn path=/trunk/; revision=52383
2011-06-20 13:30:40 +00:00
Timo Kreuzer 47b5083e50 [WINE]
add inline version of ffs

svn path=/trunk/; revision=52382
2011-06-20 13:15:58 +00:00
Timo Kreuzer b9472583c6 [CRTDLL]
- don't forward _fileinfo_dll to MSVCRT, this doesn't work and its not what MS crtdll does.
- don't define _CRTIMP to _declspec(dllexport)
- link to MSVCRT when compiling with MSVC
- remove def file

svn path=/trunk/; revision=52380
2011-06-20 12:41:32 +00:00
Timo Kreuzer 2035d47de2 [CRT]
Implement call_ebp_func for msvc

svn path=/trunk/; revision=52379
2011-06-20 11:27:55 +00:00
Cameron Gutman aa6ff8e522 [NTOSKRNL]
- Use PoCallDriver when sending a power IRP

svn path=/trunk/; revision=52378
2011-06-20 10:54:00 +00:00
Timo Kreuzer 8d5a792eb8 [DOSKEY]
Fix copy paste bug. Patch by r3ddr4g0n

svn path=/trunk/; revision=52377
2011-06-20 09:18:42 +00:00
Olaf Siejka 6472b891d1 [UTF8]
- Convert format, fdebug, ntvdm and win32csr polish locale to UTF-8;
- Clean up remainder of #pragma definitions in individual language rc files. This should prevent bugs like one with chineese locale in calc;
- Move bulgarian and romanian locales, already converted to UTF-8 to proper section in module rc file;

svn path=/trunk/; revision=52376
2011-06-19 22:55:34 +00:00
Matthias Kupfer 68234347d8 [TRANSLATIONS] fix the code_page-#pragma issue for Chinese
- add Chinese to UTF-8 section
- remove default #pragma at end of Romanian file

svn path=/trunk/; revision=52375
2011-06-19 22:11:42 +00:00
Cameron Gutman ae5018a9dd [FASTFAT]
- Move verification code to the BlockDev* functions (like CDFS does) so functions that call those directly will have verification handled for them
- Add verification handling for IOCTL requests

svn path=/trunk/; revision=52374
2011-06-19 20:03:49 +00:00
Timo Kreuzer af892bdd85 [BROWSEUI]
Fix rc syntax

svn path=/trunk/; revision=52373
2011-06-19 19:48:43 +00:00
Cameron Gutman e2d92bfd5e [FASTFAT]
- Handle STATUS_VERIFY_REQUIRED for write requests
- Clear the device to verify after retrieving it
- Fixes write failure after changing floppy media
[CDFS]
- Reissue the I/O request if IoVerifyVolume was successful
- Fixes read after a media change

svn path=/trunk/; revision=52372
2011-06-19 19:43:52 +00:00
Jérôme Gardou cef5719846 addendum to r52369: forgot those
svn path=/trunk/; revision=52370
2011-06-19 16:40:10 +00:00
Jérôme Gardou 4f2fbfda9d [CMAKE]
- set PCH file after importing libraries for modules that link to msvcrt.
Otherwise it wouldn't get the added definitions and become useless.

svn path=/trunk/; revision=52369
2011-06-19 16:35:43 +00:00
Matthias Kupfer 13ac41ea5e patch by Song Fuchang (0xfc) <sfc_0 AT yahoo DOT com DOT cn>:
- [TRANSLATIONS] add Simplified Chinese translation for calc
- #pragma code_page(65001) added in zh-CN.rc (needs to be reviewed)
- See issue #6319 for details.

svn path=/trunk/; revision=52368
2011-06-19 16:34:58 +00:00
Jérôme Gardou 0ebe345d17 [NOTSKRNL]
- Addendum to 52366: get back old code, thanks to Alex

svn path=/trunk/; revision=52367
2011-06-19 13:59:33 +00:00
Giannis Adamopoulos 714761cbbd [NTOSKRNL]
- Fix incorrect KiUserTrap which returned 3 for UserMode traps. Kind-of spotted by Jerome, but fixed in the wrong place...ReactOS-style, as always.
-Patch by Alex Ionescu

svn path=/trunk/; revision=52366
2011-06-19 13:55:28 +00:00
Jérôme Gardou 2f7d633262 [GDI32]
- remove useless check.

svn path=/trunk/; revision=52365
2011-06-19 13:11:39 +00:00
Ged Murphy fbbd6d9218 [BROWSEUI]
- Set the prototypes to be long instead of LONG. This only worked in rbuild previously because WIDL incorrectly generates a LONG for long types.
- define SHANDLE_PTR and use it in IWebBrowserApp::get_HWND
- Along with fixing WIDL, __WINESRC__ and __ROS_LONG64__ should be removed as part of a future fix.
- Should now build with both rbuild and msvc

svn path=/trunk/; revision=52364
2011-06-19 12:46:15 +00:00
Timo Kreuzer 80aa713b95 [OBJ2BIN]
Fix handling of empty sections

svn path=/trunk/; revision=52363
2011-06-19 11:53:10 +00:00
Giannis Adamopoulos 61c822816d [rpcrt4]
- Improve hacky definition of __ASM_DEFINE_FUNC to reduce build errors with msvc

svn path=/trunk/; revision=52362
2011-06-19 10:44:26 +00:00
Colin Finck ead744a31f [USBDRIVER]
No objections on the mailing list, so I'm excluding "usbdriver" from build.
It should still stay as a reference in the tree till the new USB drivers are finalized and merged back to Trunk.

svn path=/trunk/; revision=52361
2011-06-19 10:13:59 +00:00
Timo Kreuzer 5119d4e93c [FREELDR]
- Fix MSVC linkerflags for setupldr
- Move stack from 78000 to 98000 to fix conflicts with freeldr code, which is larger when built with MSVC
- MSVC compiled setupldr works now!

svn path=/trunk/; revision=52360
2011-06-19 10:03:45 +00:00
Cameron Gutman 9dedf3489c [NTOSKRNL]
- Send IRP_MN_QUERY_POWER and IRP_MN_SET_POWER to all enumerated devices prior to a system power state change
- We don't mind failure right now since our drivers suck

svn path=/trunk/; revision=52358
2011-06-19 04:25:33 +00:00
Cameron Gutman d7cc1589e6 [PCIIDEX]
- Don't ASSERT if we get an IRP that we don't understand

svn path=/trunk/; revision=52357
2011-06-19 04:21:41 +00:00
Cameron Gutman eecc2a655e [NTOSKRNL]
- Change the resource type if HalTranslateBusAddress indicates that we got the address type wrong

svn path=/trunk/; revision=52356
2011-06-19 01:42:05 +00:00
Cameron Gutman 722de7fe98 [VIDEOPRT]
- Initialize PnP IRPs with the correct status

svn path=/trunk/; revision=52355
2011-06-19 01:40:10 +00:00
Amine Khaldi ce59643e60 [XMLLITE_WINETEST]
* Fix msvc build.

svn path=/trunk/; revision=52354
2011-06-18 23:04:39 +00:00
Amine Khaldi e0aea1f31b [GLU32]
* Fix linking in msvc build.
* Remove /OPT:NOWIN98 linker flag.

svn path=/trunk/; revision=52353
2011-06-18 22:51:34 +00:00
Amine Khaldi bb2bf33fc8 [CMAKE]
* Remove duplicate _DLL and __USE_CRTIMP definitions.
* Link some modules to uuid/oldnames in msvc build.

svn path=/trunk/; revision=52352
2011-06-18 22:02:28 +00:00
Amine Khaldi 169e88b5c4 [WINEMP3.ACM]
* Fix msvc build.

svn path=/trunk/; revision=52351
2011-06-18 21:44:52 +00:00
Amine Khaldi 05b5738e62 [CMAKE]
* Temporarily add liboldnames.a, I mean, oldnames.lib, to the importlibs folder, until we get one for msvc.
* Link crtdll to oldnames in msvc build.

svn path=/trunk/; revision=52350
2011-06-18 21:39:27 +00:00
Amine Khaldi 7f85f59d7a [CMAKE]
* Add missing dependency.
* Properly set the compiler flag.

svn path=/trunk/; revision=52349
2011-06-18 20:47:44 +00:00
Timo Kreuzer 966128554b [FREELDR]
More syntax fixes for ML

svn path=/trunk/; revision=52348
2011-06-18 19:51:26 +00:00
Timo Kreuzer 8ea179b79b [FREELDR]
Fix syntax for ML

svn path=/trunk/; revision=52347
2011-06-18 19:41:01 +00:00
Timo Kreuzer 37a3e0c675 [FREELDR]
- Change base addresses to 0xF800 (realmode code) and 0x10000 (PE file)
- use FREELDR_BASE constant in bootsectors
- Use es segment to address PE file from realmode

svn path=/trunk/; revision=52346
2011-06-18 17:19:28 +00:00
Timo Kreuzer 412fd567f1 [FREELDR]
Fix build with MSVC

svn path=/trunk/; revision=52345
2011-06-18 15:27:41 +00:00
Matthias Kupfer 4d376d097a add missing file for revision 52336
svn path=/trunk/; revision=52344
2011-06-18 15:04:15 +00:00
Rafal Harabien 2d96ec4333 [WIN32K]
- Remove commented out lines added in r52332 - clip children should not be taken into account here

[SHELL32]
- Use COPYRIGHT_YEAR definition instead of current year

svn path=/trunk/; revision=52343
2011-06-18 14:55:03 +00:00
Jérôme Gardou 11e8c31bdc [NTOSKRNL]
KeGetPreviousMode returns KPROCESSORMODE, which is CCHAR and not UCHAR

svn path=/trunk/; revision=52342
2011-06-18 14:50:59 +00:00
Timo Kreuzer 7aae064929 [ASM]
Use CR, LF and NUL in .ascii macro instead of using .asciz or "\r" "\n", since the latter is not portable

svn path=/trunk/; revision=52341
2011-06-18 14:50:24 +00:00
Jérôme Gardou 66aecb94b7 [RTL]
- do not use RtlpCoalesceFreeBlocks to reinsert a block resulting from a split.
This bad idea was mine, introduced in r51757

svn path=/trunk/; revision=52340
2011-06-18 14:47:51 +00:00
Jérôme Gardou c67195e9d8 [NTOSKRNL]
- don't rely on a boolean being 1 or 0, it's a bad idea (tm)

svn path=/trunk/; revision=52339
2011-06-18 14:45:08 +00:00
Timo Kreuzer 2a2e52bbe8 [FREELDR]
Cleanup the CMakeLists.txt file. Create one shared library containing most files and only compile a few files for both freeldr and setupldr, which reduces build time.
There is only one file, that takes different compile time definitions, but since LD is stupid and cannot bidirectionally link between seperate libraries, we have to add 3 more files to each build.

svn path=/trunk/; revision=52338
2011-06-18 14:37:54 +00:00
Jérôme Gardou 0b46759664 [SHELL32]
- do not include headers that are already in precomp.h
This time with necessary changes

svn path=/trunk/; revision=52337
2011-06-18 14:29:32 +00:00