Commit graph

46756 commits

Author SHA1 Message Date
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
Matthias Kupfer 54179652bf patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [TRANSLATIONS] convert UKRAINIAN and RUSSIAN localization strings to UTF-8.
- convert files in base, boot and subsystems folders(fontview and logon skipped)
- add Ukrainian localization for subst
- fix filename for Ukrainian resource of dxdiag

svn path=/trunk/; revision=52336
2011-06-18 14:23:43 +00:00
Jérôme Gardou 918e9d79cc wrong change, sorry
svn path=/trunk/; revision=52335
2011-06-18 14:21:55 +00:00
Jérôme Gardou 2fbf2256b4 [SHELL32]
- do not include headers that are already in precomp.h

svn path=/trunk/; revision=52334
2011-06-18 14:20:48 +00:00
Rafal Harabien 1bc5dd7445 [SHELL32]
- Update years in ReactOS about box

svn path=/trunk/; revision=52333
2011-06-18 12:45:20 +00:00
Rafal Harabien a757a65552 [WIN32K]
- Don't clip siblings in co_WinPosSetWindowPos when window has no WS_CLIPSIBLINGS style. Fixes ReactOS about box.
- Commented out line with WS_CLIPCHILDREN support needs more work
- Simplify co_WinPosSetWindowPos a bit

svn path=/trunk/; revision=52332
2011-06-18 12:41:29 +00:00
Timo Kreuzer ab19a2070b [CRT]
- Fix a typo
[DDK/XDK]
Fix declaration of KDEFERRED_ROUTINE
Patch by Thomas Faber

svn path=/trunk/; revision=52331
2011-06-18 12:24:13 +00:00
Timo Kreuzer b6ca5be6b4 [FREELDR]
- Convert Boot*LinuxKernel to new realmode call mechanism
- Remove switch to realmode when multiboot fails
- remove switch_to_prot and switch_to_real completely

svn path=/trunk/; revision=52329
2011-06-18 10:46:06 +00:00
Timo Kreuzer 014e413e00 [ASM]
- Use .586P for 16 bit code to allow privileged instructions, like lidt/lgdt. Found by ThFabba
- Add a 0 byte at the end to make ML fill the file up to the required length

svn path=/trunk/; revision=52327
2011-06-18 09:40:44 +00:00
Timo Kreuzer 5577c61a50 [FEELDR]
- Fix offset in manually encoded lgdt instruction
- improve syntax for ML


svn path=/trunk/; revision=52326
2011-06-18 08:05:35 +00:00
Timo Kreuzer 0e3fe37eaa [FREELDR]
- Instead of using the far jmp when switching to protected mode to go to the entry point, use a relative absolute jmp instruction, manually encoded
- Remove the END from fathelp.inc, that was terminating the code
- fix code for ML

svn path=/trunk/; revision=52325
2011-06-17 23:44:07 +00:00
Timo Kreuzer f19fc81b23 [FREELDR]
- convert mb.S to portable syntax
- remove obsolete reactos_memory_map
- Make use of CR / LF in isoboot.S

svn path=/trunk/; revision=52324
2011-06-17 22:26:11 +00:00
Timo Kreuzer 7752209fdf [ASM]
- Make .asciz macro accept a varaiable number of arguments
- add CR and LF definitions, since MASM doesn't like "\r\n" codes

svn path=/trunk/; revision=52323
2011-06-17 21:57:34 +00:00
Timo Kreuzer d017f0fe2b [FREELDR]
Disable DriveMapMapDrivesInSection on MSVC builds, freeldr works basically without it

svn path=/trunk/; revision=52322
2011-06-17 20:02:37 +00:00
Timo Kreuzer 2f6b794fc4 [CRYPT32]
remove version.rc from the CMakeLists.txt, since its included in crypt32.rc already

svn path=/trunk/; revision=52321
2011-06-17 18:37:44 +00:00
Sir Richard 3c0e77846e Patch by Anton Yarotsky:
[SACDRV]: Implement DriverEntry point which connects to NTOS HeadLess Module (HDL). If HDL enabled through FreeLDR (/EMSPORT), connection should work.
[SACDRV]: Fix typo's.

svn path=/trunk/; revision=52320
2011-06-17 17:21:20 +00:00
Sir Richard 72d1c15806 Patch by Anton Yarotsky:
[NTOSKRNL]: Export HeadlessDispatch.
[NTOSKRNL]: Add more missing definitions to internal Headless header. Alex: Move to NDK?
[NTOSKRNL]: Headless header uses SYSTEM_TIMEOFDAY_INFORMATION, which is only in NDK. So hdl.h needs NDK.

svn path=/trunk/; revision=52319
2011-06-17 17:19:56 +00:00
Timo Kreuzer 4db7b49655 [ALLOCA.H]
Add an MSVC friendly proxy of alloca.h
Fixes MSVC build of dbghelp

svn path=/trunk/; revision=52318
2011-06-17 15:51:00 +00:00
Timo Kreuzer e5e682541c [LIBMPG123]
Fix definition of ALIGN() macro for MSVC. Fixes build.

svn path=/trunk/; revision=52317
2011-06-17 15:35:06 +00:00
Timo Kreuzer 92a2b84a97 [PSEH2_TEST]
Don't compile pseh2 test with MSVC

svn path=/trunk/; revision=52316
2011-06-17 14:13:30 +00:00
Timo Kreuzer 06900a0535 [test.h]
Fix a warning on MSVC

svn path=/trunk/; revision=52315
2011-06-17 14:08:41 +00:00
Timo Kreuzer 8ff6df4108 [QUARTZ_WINETEST]
Link to uuid. Fixes msvc build

svn path=/trunk/; revision=52314
2011-06-17 13:59:21 +00:00
Timo Kreuzer 0b083b85ae [SHDOCVW_WINETEST]
Link to uuid. Fixes build with MSVC

svn path=/trunk/; revision=52312
2011-06-17 13:08:11 +00:00
Sir Richard 08542a70e0 Patch by Anton Yarotsky:
[SACDRV]: Implement memory manager.
[SACDRV]: Define debugging macros.

svn path=/trunk/; revision=52311
2011-06-17 12:54:05 +00:00
Timo Kreuzer 5a372e009b [CRTDLL]
Comment out forwarded exports, where the target exports don't exist. Fixes MSVC build

svn path=/trunk/; revision=52310
2011-06-17 12:47:14 +00:00
Gabriel Ilardi f26c0081fb Revert 51698, problem is in win32k, see bug 6305
svn path=/trunk/; revision=52309
2011-06-17 12:23:50 +00:00