reactos.git
12 years ago[CMAKE]
Jérôme Gardou [Sat, 25 Jun 2011 18:34:03 +0000 (18:34 +0000)]
[CMAKE]
  - unify spec2def and add_importlib_target, thanks to cmake_parse_arguments.
  - also generate stub files only when necessary.
  - better precompiled header support, commented out as it wasn't tested on any other machine than mine, and it depends on cmake features which don't exist yet.
For now only for gcc toolchain

svn path=/trunk/; revision=52460

12 years ago[BOOTSECTOR]
Timo Kreuzer [Sat, 25 Jun 2011 17:58:47 +0000 (17:58 +0000)]
[BOOTSECTOR]
Fix a typo in a comment

svn path=/trunk/; revision=52459

12 years ago[CMAKE]
Timo Kreuzer [Sat, 25 Jun 2011 17:56:17 +0000 (17:56 +0000)]
[CMAKE]
Remove _DEBUG definition.

svn path=/trunk/; revision=52458

12 years ago[ASM]
Timo Kreuzer [Sat, 25 Jun 2011 16:48:44 +0000 (16:48 +0000)]
[ASM]
- Fix Zw-systemcall stubs on MSVC
- Fix systemcall return stubs on MSVC
-> MSVC kernel boots and usetup works!
Didn't test anymore, because there is a massive atapi debug spam

svn path=/trunk/; revision=52457

12 years ago[MSPAINT]
Rafal Harabien [Sat, 25 Jun 2011 14:42:24 +0000 (14:42 +0000)]
[MSPAINT]
- Select selection tool after pasting from clipboard

svn path=/trunk/; revision=52456

12 years ago[MSPAINT]
Rafal Harabien [Sat, 25 Jun 2011 14:34:52 +0000 (14:34 +0000)]
[MSPAINT]
- Fix MSVC warnings

svn path=/trunk/; revision=52455

12 years ago[OLE32]
Sylvain Petreolle [Sat, 25 Jun 2011 14:30:54 +0000 (14:30 +0000)]
[OLE32]
Fix comcat build, DllGetClassObject has to remain public.

svn path=/trunk/; revision=52454

12 years ago[VIDEOPRT]
Rafal Harabien [Sat, 25 Jun 2011 14:10:19 +0000 (14:10 +0000)]
[VIDEOPRT]
- Fix MSVC warnings

svn path=/trunk/; revision=52453

12 years ago[FEELDR]
Timo Kreuzer [Sat, 25 Jun 2011 13:52:47 +0000 (13:52 +0000)]
[FEELDR]
- Don't try to load referenced dlls in any other dir than system32. A second attempt would fail on the first dll that was already loaded and the function would bail out before any missing dll could be loaded. This worked only by chance on gcc builds, because the 1st import was bootvid, which was always loaded in the 2nd attempt from system32, and the function failed after that, since hal and kdcom were already loaded.

svn path=/trunk/; revision=52452

12 years ago[OLE32][SYSDM][DESK]
Rafal Harabien [Sat, 25 Jun 2011 13:49:48 +0000 (13:49 +0000)]
[OLE32][SYSDM][DESK]
- Fix MSVC warnings

svn path=/trunk/; revision=52451

12 years ago[NTOSKRNL]
Rafal Harabien [Sat, 25 Jun 2011 10:26:59 +0000 (10:26 +0000)]
[NTOSKRNL]
- Fix some MSVC warnings
- Fix typo in IoReleaseRemoveLockEx

svn path=/trunk/; revision=52450

12 years ago[HAL]
Timo Kreuzer [Fri, 24 Jun 2011 23:04:13 +0000 (23:04 +0000)]
[HAL]
- Use pushfd instead of pushf in asm code
- Don't mix UCHARs and enums in bitfields, MSVC really doesn't like that

svn path=/trunk/; revision=52449

12 years ago[CMAKE]
Amine Khaldi [Fri, 24 Jun 2011 22:46:55 +0000 (22:46 +0000)]
[CMAKE]
* Add winkd kdcom to the ISOs.

svn path=/trunk/; revision=52448

12 years ago[IP]
Cameron Gutman [Fri, 24 Jun 2011 22:35:29 +0000 (22:35 +0000)]
[IP]
- Set address length in the TDI address struct
- Simplify copying the address
- Zero the sin_zero member

svn path=/trunk/; revision=52447

12 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 24 Jun 2011 21:30:09 +0000 (21:30 +0000)]
[NTDLL/LDR]
- The long awaited LDR rewrite, a commit for testing the new implementation. In case of serious problems it may be reverted (revert should be approved by me).
- Its features include:
* A proper ...everything. Process, thread initialization codes, DLL loading (including compatible path lookup, and compatible/proper loading order of the dependent DLLs, including their initialization) and mapping and section creation, reference counting, relocations, good and understandable PE code for walking import descriptor, snapping, etc etc. Hacks--; GoodCode++;
* Activation contexts operations are now being performed compatible to how Windows performs them (though the actual actctx implementation is still Wine's, it was modified to be compatible). Previously, actctx stuff was added to the ldr code like a pepper is added to the soup: in different places until it starts to work.
* Partial DLL redirection implementation.
* Possibility to support Shim engine and app compat stuff in future.
* More cool stuff, just browse the code.
- I fixed all regressions I could find but one (hang during shutdown of the 3rd stage). The purpose of this commit is to seek and destroy the regressions I couldn't find (if there are any).
- Some of the old rarely called ldr code still remains in startup.c and utils.c. They are subject to be rewritten/removed soon, and every remaining old function is marked with a respective DPRINT1 to see when it's being called.

svn path=/trunk/; revision=52446

12 years ago[CMAKE]
Amine Khaldi [Fri, 24 Jun 2011 21:28:43 +0000 (21:28 +0000)]
[CMAKE]
* Disable kdbg and enable _WINKD_ by default for msvc builds.

svn path=/trunk/; revision=52445

12 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 24 Jun 2011 15:52:19 +0000 (15:52 +0000)]
[NTOSKRNL]
Fix MSVC warnings

svn path=/trunk/; revision=52444

12 years ago[AFD]
Cameron Gutman [Fri, 24 Jun 2011 14:06:48 +0000 (14:06 +0000)]
[AFD]
- Queue the user-mode connect IRP before calling TdiConnect to avoid a race if the TDI_CONNECT IRP is completed before we get a chance to queue the user-mode IRP to accept the connection
- Change the non-blocking TDI helper functions to always return STATUS_PENDING if the completion function will be called to avoid duplicate handling of IRPs

svn path=/trunk/; revision=52441

12 years ago[CMAKE]
Amine Khaldi [Fri, 24 Jun 2011 12:12:27 +0000 (12:12 +0000)]
[CMAKE]
* Fix psdk and dxsdk in the USER_WDK_HEADERS mode.

svn path=/trunk/; revision=52440

12 years ago[CMAKE]
Amine Khaldi [Fri, 24 Jun 2011 12:08:57 +0000 (12:08 +0000)]
[CMAKE]
* Add a way to use WDK headers (psdk, crt and ddk) instead of ours. To use it, just alter USE_WDK_HEADERS in configure.cmd to be 1 instead of 0.

svn path=/trunk/; revision=52439

12 years ago[MSAFD]
Cameron Gutman [Fri, 24 Jun 2011 04:31:31 +0000 (04:31 +0000)]
[MSAFD]
- Fail SIO_GET_EXTENSION_FUNCTION_POINTER
- Fixes the crash during ws2_32_winetest sock
- In my testing, "sock: 4374916 tests executed (0 marked as todo, 93 failures), 6 skipped."

svn path=/trunk/; revision=52438

12 years ago[IP]
Cameron Gutman [Fri, 24 Jun 2011 03:35:30 +0000 (03:35 +0000)]
[IP]
- Fix copying of the remote address when satisfying an accept request
- accept() and WSAAccept() no longer report strange peer addresses
- Fixes a few ws2_32_winetest sock tests

svn path=/trunk/; revision=52437

12 years ago[VFATLIB]
Cameron Gutman [Fri, 24 Jun 2011 01:36:32 +0000 (01:36 +0000)]
[VFATLIB]
- Don't overwrite format status with lock status

svn path=/trunk/; revision=52436

12 years ago[VFATLIB]
Cameron Gutman [Thu, 23 Jun 2011 22:34:03 +0000 (22:34 +0000)]
[VFATLIB]
- Lock the volume before formatting to prevent concurrent access during formatting
- This should (in theory) fix our formatting issue on mounted devices but currently we don't support FSCTL_LOCK_VOLUME in our FS drivers

svn path=/trunk/; revision=52435

12 years ago- Fix debug build.
James Tabor [Thu, 23 Jun 2011 22:25:50 +0000 (22:25 +0000)]
- Fix debug build.

svn path=/trunk/; revision=52434

12 years ago[CMAKE]
Sylvain Petreolle [Thu, 23 Jun 2011 09:41:36 +0000 (09:41 +0000)]
[CMAKE]
Fix mshtml.tlb build with Visual Studio.
With mshtml_tlb and mshtml.tlb targets, the solution contained 2 mshtml_tlb targets.

svn path=/trunk/; revision=52433

12 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 22 Jun 2011 20:15:58 +0000 (20:15 +0000)]
[NTOSKRNL]
Optimize KiSystemCallTrampoline inline assembly for MSVC. save one register, use eax for the handler address and don't assign to an intermediate variable before returning (hint by Alex)

svn path=/trunk/; revision=52430

12 years ago[NTOSKRNL/HAL]
Timo Kreuzer [Wed, 22 Jun 2011 19:04:28 +0000 (19:04 +0000)]
[NTOSKRNL/HAL]
- Fix a bug is MSVC inline assembly
- use iretd instead of iret
the msvc compiled kernel boots a bit further now

svn path=/trunk/; revision=52429

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 18:05:47 +0000 (18:05 +0000)]
[CMAKE]
* Add shdocvw to msvc build.

svn path=/trunk/; revision=52428

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 17:33:22 +0000 (17:33 +0000)]
[CMAKE]
* Add urlmon back to msvc build, but not into bootcd.
* Add back cryptui, oleaut32 and shlwapi as a result.

svn path=/trunk/; revision=52427

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 16:08:07 +0000 (16:08 +0000)]
[CMAKE]
* Skip more modules that do not compile, in MSVC build.

svn path=/trunk/; revision=52426

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 16:07:16 +0000 (16:07 +0000)]
[CMAKE]
* Skip more modules that do not compile, in MSVC build.

svn path=/trunk/; revision=52425

12 years ago[SHELL32]
Amine Khaldi [Wed, 22 Jun 2011 15:18:05 +0000 (15:18 +0000)]
[SHELL32]
* Fix msvc build.

svn path=/trunk/; revision=52423

12 years ago[OSKITTCP]
Cameron Gutman [Wed, 22 Jun 2011 14:05:01 +0000 (14:05 +0000)]
[OSKITTCP]
- Register for asynchronous buffer notifications from oskittcp which will fire when a packet is sent
- Fixes sending pending packets that can't fit in the window and fixes the graceful shutdown hang

svn path=/trunk/; revision=52422

12 years ago[BOOTDATA]
Gabriel Ilardi [Wed, 22 Jun 2011 13:51:14 +0000 (13:51 +0000)]
[BOOTDATA]
Missed USBDRIVER change from 52361.

svn path=/trunk/; revision=52421

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 13:17:37 +0000 (13:17 +0000)]
[CMAKE]
* Add /W3 to compiler flags, and use the proper macro.

svn path=/trunk/; revision=52420

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 11:51:02 +0000 (11:51 +0000)]
[CMAKE]
* Skip some modules that do not compile, in MSVC build.
* Welcome, MSVC BootCD. I'm sure ros devs will fix the s.it out of you.. Right ?

svn path=/trunk/; revision=52419

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 11:31:01 +0000 (11:31 +0000)]
[CMAKE]
* Add WIN32 and _WINDOWS definitions for i386 msvc builds.
* Skip some modules that do not compile, in msvc build.

svn path=/trunk/; revision=52418

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 10:14:41 +0000 (10:14 +0000)]
[CMAKE]
* Properly set CMAKE_C_FLAGS_INIT and CMAKE_CXX_FLAGS_INIT.

svn path=/trunk/; revision=52417

12 years ago[TCPIP/IP]
Cameron Gutman [Wed, 22 Jun 2011 00:41:40 +0000 (00:41 +0000)]
[TCPIP/IP]
- Wait until the all pending sends are serviced before shutting down the socket on a graceful disconnect
- Cancel pending sends and receives on abortive disconnect
- Remove the nasty hack that was the completion queue and replace it with async completions like the lwIP implementation does
- There is a bug with the graceful disconnects which occurs if the graceful disconnect cannot be serviced immediately (a very rare case in my testing) and results in the shutdown() call stalling forever because oskittcp never indicates that send is possible again (which would allow pending send IRPs to be serviced and the shutdown IRP to be completed)

svn path=/trunk/; revision=52416

12 years ago[AFD]
Cameron Gutman [Wed, 22 Jun 2011 00:17:19 +0000 (00:17 +0000)]
[AFD]
- Hold on to the disconnect IRP until all pending sending IRPs are sent to the transport driver if a controlled disconnect was requested

svn path=/trunk/; revision=52415

12 years ago[CMAKE]
Amine Khaldi [Wed, 22 Jun 2011 00:06:10 +0000 (00:06 +0000)]
[CMAKE]
* Handle the case where we may initially set some CMAKE_C_FLAGS and/or CMAKE_CXX_FLAGS.

svn path=/trunk/; revision=52414

12 years ago[NTOSKRNL]: ";" -> "," build fix.
Alex Ionescu [Tue, 21 Jun 2011 22:52:02 +0000 (22:52 +0000)]
[NTOSKRNL]: ";" -> "," build fix.

svn path=/trunk/; revision=52413

12 years ago[NTOSKRNL]: It seems NtYieldExecution in Windows heavily biases towards avoiding...
Alex Ionescu [Tue, 21 Jun 2011 22:43:55 +0000 (22:43 +0000)]
[NTOSKRNL]: It seems NtYieldExecution in Windows heavily biases towards avoiding a yield as much as possible, and thus attempts to locklessly check the PRCB's ready summary. Problem being that the old code was running a bunch of instructions before checking for this ready summary, and doing a double-fs/gs dereference to get the ready summary. Upon reading some WRK documentation, it appears Windows uses a KiGetCurrentReadySummary macro, which WinDBG analysis shows to be an inline that reads the ReadySummary straight from PrcbData with only a single segment read, and no code preceeding it. Although it's "unlikely" to ever really be a problem, it's perhaps best to replicate this behavior since there could be dependencies on it. Comments in file point to PDF with this information (hosted on Microsoft Research's website, publically accessible).
[NTOSKRNL]: Also, fix locking order such that the current PRCB is only read after the IRQL is raised to SYNCH_LEVEL. I'm too tired to tell if this is a requirement, but the PDF shows it being done that way in Windows, so I've re-ordered the operations to match. Intuition would indicate that this shouldn't matter, as fs:1C shouldn't change from under us in the middle of execution, but why argue with public source code?
vicmarcal said it's okay if this breaks the build (I don't have any way to build ReactOS anymore).

svn path=/trunk/; revision=52412

12 years ago[SHELL32]
Rafal Harabien [Tue, 21 Jun 2011 22:15:48 +0000 (22:15 +0000)]
[SHELL32]
- Fix resources for MSVC. Patch by Igor Igor Paliychuk
[NTOSKRNL]
- Match NT behavior in DisplayFilter

svn path=/trunk/; revision=52411

12 years ago- Fix build
Rafal Harabien [Tue, 21 Jun 2011 21:06:18 +0000 (21:06 +0000)]
- Fix build

svn path=/trunk/; revision=52410

12 years ago[BOOTVID]
Rafal Harabien [Tue, 21 Jun 2011 19:47:13 +0000 (19:47 +0000)]
[BOOTVID]
- Revert part of r52239: Fix support for \r and do not handle backspace
- Simplify it a bit

[NTOSKRNL]
- Add backspace support to KdpScreenPrint
- Do not draw boot text bitmap if InbvDisplayString is called with "" or "." (matches NT behavior)

svn path=/trunk/; revision=52409

12 years ago[PSDK]
Amine Khaldi [Tue, 21 Jun 2011 18:42:51 +0000 (18:42 +0000)]
[PSDK]
* CLSID_ShellFolderViewOC is defined in shldisp.idl/h. A proper fix is due for msvc build.

svn path=/trunk/; revision=52408

12 years ago[TRANSLATIONS]
Amine Khaldi [Tue, 21 Jun 2011 18:30:06 +0000 (18:30 +0000)]
[TRANSLATIONS]
Igor Paliychuk:
* Convert UKRAINIAN and RUSSIAN localization files to utf-8 in the dll folder.
* Add UKRAINIAN translation for msports.
* Some Wine modules also were converted (already sent upstream).

svn path=/trunk/; revision=52407

12 years ago[PSDK]
Amine Khaldi [Tue, 21 Jun 2011 17:56:10 +0000 (17:56 +0000)]
[PSDK]
* Add missing CLSID_ShellFolderViewOC.

svn path=/trunk/; revision=52406

12 years ago[IP]
Cameron Gutman [Tue, 21 Jun 2011 16:23:27 +0000 (16:23 +0000)]
[IP]
- Don't attempt to service a request if the only flag specified was SEL_FIN
- Handle TDI_DISCONNECT_RELEASE properly
[OSKITTCP]
- Verify that the socket is in a legal state to do a send or receive
- Don't indicate send and receive events when the socket is not connected or has been been closed in that particular direction
- Add a small hack to soshutdown so shutdown in the send direction works correctly (ie. doesn't shutdown receive)
- Fixes the hangs in ws2_32_apitest ioctlsocket and ws2_32_apitest recv

svn path=/trunk/; revision=52405

12 years ago[NTOSKRNL]
Rafal Harabien [Tue, 21 Jun 2011 15:53:02 +0000 (15:53 +0000)]
[NTOSKRNL]
- Display boot blue bitmap when native application or kernel calls NtDisplayString with string displaying enabled
- Fix drawing order in Phase1InitializationDiscard

svn path=/trunk/; revision=52404

12 years agoMerge missing tuff from r51731
Timo Kreuzer [Tue, 21 Jun 2011 14:45:17 +0000 (14:45 +0000)]
Merge missing tuff from r51731
- Improve a DPRINT
- Initialize a global variable

svn path=/trunk/; revision=52403

12 years ago[AFD]
Cameron Gutman [Tue, 21 Jun 2011 13:59:49 +0000 (13:59 +0000)]
[AFD]
- Remove extra cruft around the TdiReceive call
- Handle send and receive requests better after a socket closure

svn path=/trunk/; revision=52402

12 years ago[OLEAUT32]
Timo Kreuzer [Tue, 21 Jun 2011 13:22:07 +0000 (13:22 +0000)]
[OLEAUT32]
- add assembly version of call_method for MSVC
- fix a syntax error (sizeof(int[3]) is not valid C)
- move definitions to the top of the CMakeLists.txt

svn path=/trunk/; revision=52401

12 years ago[AFD]
Cameron Gutman [Tue, 21 Jun 2011 13:02:42 +0000 (13:02 +0000)]
[AFD]
- Complete receive requests with the correct status if the socket is unexpectedly closed

svn path=/trunk/; revision=52400

12 years ago[RPCRT4]
Timo Kreuzer [Tue, 21 Jun 2011 12:22:47 +0000 (12:22 +0000)]
[RPCRT4]
- Add msvc.S containing call_stubless_func in assembly
- Fix spec file, 2 stub functions are already implemented
- fix use of GetExceptionCode(), it cannot be used in that context.

svn path=/trunk/; revision=52399

12 years ago[WINE]
Timo Kreuzer [Tue, 21 Jun 2011 09:32:41 +0000 (09:32 +0000)]
[WINE]
Add a hackfix for ntdll_winetest to fix compilation with MSVC

svn path=/trunk/; revision=52397

12 years ago[BROWSEUI]
Timo Kreuzer [Mon, 20 Jun 2011 20:30:05 +0000 (20:30 +0000)]
[BROWSEUI]
Set /EHa- option. Fixes MSVC build

svn path=/trunk/; revision=52394

12 years ago[CMAKE/MSVC]
Timo Kreuzer [Mon, 20 Jun 2011 19:21:09 +0000 (19:21 +0000)]
[CMAKE/MSVC]
Add /NODEFAULTLIBS linker flag to avoid conflicts between our and MS crt

svn path=/trunk/; revision=52393

12 years ago[MSI/URLMON]
Amine Khaldi [Mon, 20 Jun 2011 19:13:34 +0000 (19:13 +0000)]
[MSI/URLMON]
* Guard wine attributes against widl.

svn path=/trunk/; revision=52392

12 years ago[PSDK]
Timo Kreuzer [Mon, 20 Jun 2011 18:34:57 +0000 (18:34 +0000)]
[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

12 years ago[MSAFD]
Cameron Gutman [Mon, 20 Jun 2011 17:35:02 +0000 (17:35 +0000)]
[MSAFD]
- Mark the accepted socket as connected
- Fixes graceful disconnect on accepted sockets

svn path=/trunk/; revision=52389

12 years ago[PSDK]
Timo Kreuzer [Mon, 20 Jun 2011 15:28:00 +0000 (15:28 +0000)]
[PSDK]
Add midl compatible include guard

svn path=/trunk/; revision=52386

12 years ago[CRT]
Timo Kreuzer [Mon, 20 Jun 2011 13:34:19 +0000 (13:34 +0000)]
[CRT]
Fix call_ebp_func, spotted by Thomas Faber

svn path=/trunk/; revision=52384

12 years ago[ITSS]
Timo Kreuzer [Mon, 20 Jun 2011 13:30:40 +0000 (13:30 +0000)]
[ITSS]
Link to itss_guid

svn path=/trunk/; revision=52383

12 years ago[WINE]
Timo Kreuzer [Mon, 20 Jun 2011 13:15:58 +0000 (13:15 +0000)]
[WINE]
add inline version of ffs

svn path=/trunk/; revision=52382

12 years ago[CRTDLL]
Timo Kreuzer [Mon, 20 Jun 2011 12:41:32 +0000 (12:41 +0000)]
[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

12 years ago[CRT]
Timo Kreuzer [Mon, 20 Jun 2011 11:27:55 +0000 (11:27 +0000)]
[CRT]
Implement call_ebp_func for msvc

svn path=/trunk/; revision=52379

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 20 Jun 2011 10:54:00 +0000 (10:54 +0000)]
[NTOSKRNL]
- Use PoCallDriver when sending a power IRP

svn path=/trunk/; revision=52378

12 years ago[DOSKEY]
Timo Kreuzer [Mon, 20 Jun 2011 09:18:42 +0000 (09:18 +0000)]
[DOSKEY]
Fix copy paste bug. Patch by r3ddr4g0n

svn path=/trunk/; revision=52377

12 years ago[UTF8]
Olaf Siejka [Sun, 19 Jun 2011 22:55:34 +0000 (22:55 +0000)]
[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

12 years ago[TRANSLATIONS] fix the code_page-#pragma issue for Chinese
Matthias Kupfer [Sun, 19 Jun 2011 22:11:42 +0000 (22:11 +0000)]
[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

12 years ago[FASTFAT]
Cameron Gutman [Sun, 19 Jun 2011 20:03:49 +0000 (20:03 +0000)]
[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

12 years ago[BROWSEUI]
Timo Kreuzer [Sun, 19 Jun 2011 19:48:43 +0000 (19:48 +0000)]
[BROWSEUI]
Fix rc syntax

svn path=/trunk/; revision=52373

12 years ago[FASTFAT]
Cameron Gutman [Sun, 19 Jun 2011 19:43:52 +0000 (19:43 +0000)]
[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

12 years agoaddendum to r52369: forgot those
Jérôme Gardou [Sun, 19 Jun 2011 16:40:10 +0000 (16:40 +0000)]
addendum to r52369: forgot those

svn path=/trunk/; revision=52370

12 years ago[CMAKE]
Jérôme Gardou [Sun, 19 Jun 2011 16:35:43 +0000 (16:35 +0000)]
[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

12 years agopatch by Song Fuchang (0xfc) <sfc_0 AT yahoo DOT com DOT cn>:
Matthias Kupfer [Sun, 19 Jun 2011 16:34:58 +0000 (16:34 +0000)]
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

12 years ago[NOTSKRNL]
Jérôme Gardou [Sun, 19 Jun 2011 13:59:33 +0000 (13:59 +0000)]
[NOTSKRNL]
  - Addendum to 52366: get back old code, thanks to Alex

svn path=/trunk/; revision=52367

12 years ago[NTOSKRNL]
Giannis Adamopoulos [Sun, 19 Jun 2011 13:55:28 +0000 (13:55 +0000)]
[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

12 years ago[GDI32]
Jérôme Gardou [Sun, 19 Jun 2011 13:11:39 +0000 (13:11 +0000)]
[GDI32]
  - remove useless check.

svn path=/trunk/; revision=52365

12 years ago[BROWSEUI]
Ged Murphy [Sun, 19 Jun 2011 12:46:15 +0000 (12:46 +0000)]
[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

12 years ago[OBJ2BIN]
Timo Kreuzer [Sun, 19 Jun 2011 11:53:10 +0000 (11:53 +0000)]
[OBJ2BIN]
Fix handling of empty sections

svn path=/trunk/; revision=52363

12 years ago[rpcrt4]
Giannis Adamopoulos [Sun, 19 Jun 2011 10:44:26 +0000 (10:44 +0000)]
[rpcrt4]
- Improve hacky definition of __ASM_DEFINE_FUNC to reduce build errors with msvc

svn path=/trunk/; revision=52362

12 years ago[USBDRIVER]
Colin Finck [Sun, 19 Jun 2011 10:13:59 +0000 (10:13 +0000)]
[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

12 years ago[FREELDR]
Timo Kreuzer [Sun, 19 Jun 2011 10:03:45 +0000 (10:03 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 19 Jun 2011 04:25:33 +0000 (04:25 +0000)]
[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

12 years ago[PCIIDEX]
Cameron Gutman [Sun, 19 Jun 2011 04:21:41 +0000 (04:21 +0000)]
[PCIIDEX]
- Don't ASSERT if we get an IRP that we don't understand

svn path=/trunk/; revision=52357

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 19 Jun 2011 01:42:05 +0000 (01:42 +0000)]
[NTOSKRNL]
- Change the resource type if HalTranslateBusAddress indicates that we got the address type wrong

svn path=/trunk/; revision=52356

12 years ago[VIDEOPRT]
Cameron Gutman [Sun, 19 Jun 2011 01:40:10 +0000 (01:40 +0000)]
[VIDEOPRT]
- Initialize PnP IRPs with the correct status

svn path=/trunk/; revision=52355

12 years ago[XMLLITE_WINETEST]
Amine Khaldi [Sat, 18 Jun 2011 23:04:39 +0000 (23:04 +0000)]
[XMLLITE_WINETEST]
* Fix msvc build.

svn path=/trunk/; revision=52354

12 years ago[GLU32]
Amine Khaldi [Sat, 18 Jun 2011 22:51:34 +0000 (22:51 +0000)]
[GLU32]
* Fix linking in msvc build.
* Remove /OPT:NOWIN98 linker flag.

svn path=/trunk/; revision=52353

12 years ago[CMAKE]
Amine Khaldi [Sat, 18 Jun 2011 22:02:28 +0000 (22:02 +0000)]
[CMAKE]
* Remove duplicate _DLL and __USE_CRTIMP definitions.
* Link some modules to uuid/oldnames in msvc build.

svn path=/trunk/; revision=52352

12 years ago[WINEMP3.ACM]
Amine Khaldi [Sat, 18 Jun 2011 21:44:52 +0000 (21:44 +0000)]
[WINEMP3.ACM]
* Fix msvc build.

svn path=/trunk/; revision=52351

12 years ago[CMAKE]
Amine Khaldi [Sat, 18 Jun 2011 21:39:27 +0000 (21:39 +0000)]
[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

12 years ago[CMAKE]
Amine Khaldi [Sat, 18 Jun 2011 20:47:44 +0000 (20:47 +0000)]
[CMAKE]
* Add missing dependency.
* Properly set the compiler flag.

svn path=/trunk/; revision=52349

12 years ago[FREELDR]
Timo Kreuzer [Sat, 18 Jun 2011 19:51:26 +0000 (19:51 +0000)]
[FREELDR]
More syntax fixes for ML

svn path=/trunk/; revision=52348

12 years ago[FREELDR]
Timo Kreuzer [Sat, 18 Jun 2011 19:41:01 +0000 (19:41 +0000)]
[FREELDR]
Fix syntax for ML

svn path=/trunk/; revision=52347

12 years ago[FREELDR]
Timo Kreuzer [Sat, 18 Jun 2011 17:19:28 +0000 (17:19 +0000)]
[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