Jérôme Gardou [Mon, 5 Sep 2011 19:36:07 +0000 (19:36 +0000)]
[RBUILD]
- qmgrprxy.dll has an entrypoint
svn path=/trunk/; revision=53606
Jérôme Gardou [Mon, 5 Sep 2011 19:22:44 +0000 (19:22 +0000)]
[MSVCRT]
- comment out _vswprintf export until I get more time to fix this properly
svn path=/trunk/; revision=53605
Jérôme Gardou [Mon, 5 Sep 2011 19:08:11 +0000 (19:08 +0000)]
[MSVCRT]
- some fixes to spec file, based on a wine patch by Piotr Caban
svn path=/trunk/; revision=53604
Dmitry Gorbachev [Mon, 5 Sep 2011 15:37:35 +0000 (15:37 +0000)]
[RSYM]
.stab/.stabstr sections have no IMAGE_SCN_LNK_REMOVE flag now.
svn path=/trunk/; revision=53603
Dmitry Gorbachev [Mon, 5 Sep 2011 15:36:33 +0000 (15:36 +0000)]
[FAT32]
Move the FAT sector buffer higher for RBuild builds, too.
svn path=/trunk/; revision=53602
Timo Kreuzer [Mon, 5 Sep 2011 15:28:49 +0000 (15:28 +0000)]
Fix build
svn path=/trunk/; revision=53601
Timo Kreuzer [Mon, 5 Sep 2011 15:20:07 +0000 (15:20 +0000)]
[HAL]
- Use functions instead of macros for irq<->vector<->irql translation, this will be neccessary, once apic support is there
- Disable mp hal in rbuild for now, its broken anyway
svn path=/trunk/; revision=53600
Aleksey Bragin [Mon, 5 Sep 2011 15:05:56 +0000 (15:05 +0000)]
[NTOS]
- Fix IoCheckEaBufferValidity (IntEaLength must be signed, otherwise loop exiting condition may not trigger).
- SEH-protect ObQueryNameString (by Dmitry Chapyshev's request).
svn path=/trunk/; revision=53599
Aleksey Bragin [Mon, 5 Sep 2011 14:27:48 +0000 (14:27 +0000)]
[NTOS/EX]
- Remove redundant check for a previous mode. Spotted by PVS.
svn path=/trunk/; revision=53598
Sylvain Petreolle [Mon, 5 Sep 2011 12:41:18 +0000 (12:41 +0000)]
[CMAKE]
Don't assume CMAKE_SHARED_LIBRARY_ASM_FLAGS exists.
svn path=/trunk/; revision=53597
Aleksey Bragin [Mon, 5 Sep 2011 09:54:20 +0000 (09:54 +0000)]
[NTOS/CONFIG]
- Remove unnecessary assignments. Spotted by PVS and Dmitry Chapyshev. This may change the behaviour of that codepath, so test results are going to be observed.
svn path=/trunk/; revision=53596
James Tabor [Sun, 4 Sep 2011 21:54:57 +0000 (21:54 +0000)]
[User32]
- Fixed over check conditions for deleting regions in set window region.
- Disabled offsets with window region. Fixes wine tests..
svn path=/trunk/; revision=53595
Amine Khaldi [Sun, 4 Sep 2011 21:52:37 +0000 (21:52 +0000)]
[CMAKE]
* Properly use add_target_compile_flags.
svn path=/trunk/; revision=53594
Jérôme Gardou [Sun, 4 Sep 2011 21:08:29 +0000 (21:08 +0000)]
[BUSLOGIC]
- woops, revert some accident of 53591
svn path=/trunk/; revision=53593
Jérôme Gardou [Sun, 4 Sep 2011 21:06:02 +0000 (21:06 +0000)]
[CMAKE]
- fix msvc build
svn path=/trunk/; revision=53592
Jérôme Gardou [Sun, 4 Sep 2011 21:04:26 +0000 (21:04 +0000)]
[BUSLOGIC]
- get rid of unused variable
svn path=/trunk/; revision=53591
Jérôme Gardou [Sun, 4 Sep 2011 20:51:52 +0000 (20:51 +0000)]
[ATAPI]
- get rid of unused variable
svn path=/trunk/; revision=53590
Jérôme Gardou [Sun, 4 Sep 2011 20:32:19 +0000 (20:32 +0000)]
[PCMCIA]
- remove #pragma once from pch
svn path=/trunk/; revision=53589
Jérôme Gardou [Sun, 4 Sep 2011 20:27:48 +0000 (20:27 +0000)]
[CMAKE/CRT]
- disable pch for now
svn path=/trunk/; revision=53588
Jérôme Gardou [Sun, 4 Sep 2011 18:41:04 +0000 (18:41 +0000)]
[CMAKE]
- revert unwanted change from 53567
svn path=/trunk/; revision=53587
Jérôme Gardou [Sun, 4 Sep 2011 17:33:34 +0000 (17:33 +0000)]
[CMAKE]
- rostests side of r53585
svn path=/trunk/; revision=53586
Jérôme Gardou [Sun, 4 Sep 2011 17:32:30 +0000 (17:32 +0000)]
[CMAKE]
- enable -Werror by default on gcc build
svn path=/trunk/; revision=53585
Jérôme Gardou [Sun, 4 Sep 2011 17:31:12 +0000 (17:31 +0000)]
[CMAKE/KDBG]
- fix warning
svn path=/trunk/; revision=53584
Jérôme Gardou [Sun, 4 Sep 2011 15:58:48 +0000 (15:58 +0000)]
[WIN32K]
- Avoid invalid memory write.
See issue #5969 for more details.
svn path=/trunk/; revision=53583
Jérôme Gardou [Sun, 4 Sep 2011 15:37:42 +0000 (15:37 +0000)]
[RPCRT4]
- remove ros hack, obsoleted by r53580 and r53581
svn path=/trunk/; revision=53582
Jérôme Gardou [Sun, 4 Sep 2011 15:29:15 +0000 (15:29 +0000)]
[STI]
- we have an entry point.
svn path=/trunk/; revision=53581
Jérôme Gardou [Sun, 4 Sep 2011 15:19:10 +0000 (15:19 +0000)]
[ACTCXPRXY]
- we have an entry point, provided by rpc proxy data
svn path=/trunk/; revision=53580
Eric Kohl [Sun, 4 Sep 2011 14:42:08 +0000 (14:42 +0000)]
[SERVICES]
RStartServiceA: Convert the ANSI start arguments vector to a UNICODE vector and pass it to ScmStartService. Calls to StartServiceA can now be used to pass arguments to a starting service.
svn path=/trunk/; revision=53579
Jérôme Gardou [Sun, 4 Sep 2011 14:09:14 +0000 (14:09 +0000)]
[PSDK]
- put NOGDI guard at the right place...
svn path=/trunk/; revision=53578
Jérôme Gardou [Sun, 4 Sep 2011 13:09:16 +0000 (13:09 +0000)]
[WINETESTS/WININET]
- fix warnings
svn path=/trunk/; revision=53577
Jérôme Gardou [Sun, 4 Sep 2011 13:01:38 +0000 (13:01 +0000)]
[WINETESTS/URLMON]
- fix warnings
svn path=/trunk/; revision=53576
Sylvain Petreolle [Sun, 4 Sep 2011 12:26:49 +0000 (12:26 +0000)]
[WINETESTS]
Allow to run skipped test in interactive mode.
svn path=/trunk/; revision=53575
Jérôme Gardou [Sun, 4 Sep 2011 12:08:54 +0000 (12:08 +0000)]
[PSDK]
- fix compilation for any fool wanting to use our headers outside of NT 5.2 scope
svn path=/trunk/; revision=53573
Eric Kohl [Sun, 4 Sep 2011 12:01:27 +0000 (12:01 +0000)]
[ADVAPI32]
Pass service start arguments to ANSI services too. Clean up the service start code.
svn path=/trunk/; revision=53572
Jérôme Gardou [Sun, 4 Sep 2011 11:31:17 +0000 (11:31 +0000)]
[WINETESTS/GDI32]
- fix warnings
svn path=/trunk/; revision=53571
Amine Khaldi [Sun, 4 Sep 2011 00:52:28 +0000 (00:52 +0000)]
[CMAKE/DLLS]
* Set some imports as delay-loaded.
svn path=/trunk/; revision=53570
Jérôme Gardou [Sun, 4 Sep 2011 00:31:13 +0000 (00:31 +0000)]
[LWIP]
- fix warning in ros glue code
svn path=/trunk/; revision=53569
Jérôme Gardou [Sat, 3 Sep 2011 23:56:04 +0000 (23:56 +0000)]
[ROSSYM_NEW]
- fix some warnings
- fix function prototype. This might fix usermode stack logs
svn path=/trunk/; revision=53568
Jérôme Gardou [Sat, 3 Sep 2011 23:05:09 +0000 (23:05 +0000)]
[CMAKE]
- add flags to ASM as well instead of hacking the compile rule
- remove -fPIC flag from ASM compile flags, (it's a cmake bug)
- enable languages before including compiler specific files.
svn path=/trunk/; revision=53567
Aleksey Bragin [Sat, 3 Sep 2011 22:21:56 +0000 (22:21 +0000)]
[NTOS]
- Remove unnecessary duplicated if condition.
- Fix a typo.
svn path=/trunk/; revision=53566
Eric Kohl [Sat, 3 Sep 2011 19:47:56 +0000 (19:47 +0000)]
[SERVICES/ADVAPI32]
Pass the service start argument vector to the started service main function. ANSI services are not supported yet.
svn path=/trunk/; revision=53564
Thomas Faber [Sat, 3 Sep 2011 19:44:07 +0000 (19:44 +0000)]
[NTDLL_APITEST]
- Fix warnings and failure messages
svn path=/trunk/; revision=53563
Jérôme Gardou [Sat, 3 Sep 2011 19:25:54 +0000 (19:25 +0000)]
[CMAKE]
- go RTFM, you moron
svn path=/trunk/; revision=53561
Jérôme Gardou [Sat, 3 Sep 2011 19:19:57 +0000 (19:19 +0000)]
[ROSTESTS]
- rostests side of r53559
- remove some definitions instead of just staring at the compiler emitting warnings
svn path=/trunk/; revision=53560
Jérôme Gardou [Sat, 3 Sep 2011 19:11:44 +0000 (19:11 +0000)]
[CMAKE]
- get rid of set_unicode macro.
- Add an option to set_module_type to do the work instead
- Improve debug output
svn path=/trunk/; revision=53559
Thomas Faber [Sat, 3 Sep 2011 18:59:14 +0000 (18:59 +0000)]
[CMAKE]
- Replace add_linkerflag and add_compiler_flags with their new equivalents add_target_link_flags/add_compile_flags
- Remove those now obsolete macros
- Use the new set_module_type to get rid of evil hacks for drivers without entry point (wmilib, drmk)
svn path=/trunk/; revision=53558
Jérôme Gardou [Sat, 3 Sep 2011 18:26:19 +0000 (18:26 +0000)]
[CMAKE]
- use the new options of set_module_type for a few modules
svn path=/trunk/; revision=53557
Jérôme Gardou [Sat, 3 Sep 2011 18:24:38 +0000 (18:24 +0000)]
[CMAKE]
- handle '0' entry point in set_module_type_function
svn path=/trunk/; revision=53556
Jérôme Gardou [Sat, 3 Sep 2011 18:16:15 +0000 (18:16 +0000)]
[CMAKE]
- remove add_compiler_flags_target function, Thomas was faster than me, and did something nicer
svn path=/trunk/; revision=53555
Giannis Adamopoulos [Sat, 3 Sep 2011 17:53:14 +0000 (17:53 +0000)]
[win32k]
- SetWindowPos should send WM_MOUSEMOVE only when the window under the cursor changes
- Fixes moving winamp window
svn path=/trunk/; revision=53554
Jérôme Gardou [Sat, 3 Sep 2011 17:48:57 +0000 (17:48 +0000)]
[CMAKE]
- merge set_module_type function into the global CMakeMacros.cmake file, leaving compiler particular bits to set_module_type_toolchain function.
- Add the ENTRYPOINT and BASEADDRESS options to this function. Not used yet
svn path=/trunk/; revision=53553
Amine Khaldi [Sat, 3 Sep 2011 17:35:54 +0000 (17:35 +0000)]
[RPCRT4_WINETEST]
* Fix msvc build.
svn path=/trunk/; revision=53552
Jérôme Gardou [Sat, 3 Sep 2011 16:44:49 +0000 (16:44 +0000)]
- revert r53547, although setting explicitly something which is default isn't a "wrong change" per se.
svn path=/trunk/; revision=53551
Rafal Harabien [Sat, 3 Sep 2011 16:33:55 +0000 (16:33 +0000)]
[FREELDR]
- Try to fix release build
- Remove unused function
svn path=/trunk/; revision=53550
Rafal Harabien [Sat, 3 Sep 2011 16:27:11 +0000 (16:27 +0000)]
[FREELDR]
- Fix release build
svn path=/trunk/; revision=53549
Giannis Adamopoulos [Sat, 3 Sep 2011 16:22:32 +0000 (16:22 +0000)]
[win32k]
- merge r53215 and r53221 from themes branch
- Fixes drawing apps that use SetWindowRgn and also fixes a gdi object leak
See issue #1239 for more details.
svn path=/trunk/; revision=53548
Jérôme Gardou [Sat, 3 Sep 2011 16:09:34 +0000 (16:09 +0000)]
[VGA_NEW]
- fix some warnings
svn path=/trunk/; revision=53547
Thomas Faber [Sat, 3 Sep 2011 14:57:27 +0000 (14:57 +0000)]
[CMAKE]
- Add add_target_property macro and add wrapper macros to easily set important properties
- This makes macros more consistent, follows CMake property names, favors per-target instead of per-directory property settings and favors adding to properties instead of replacing them
- Convert the global settings to use the new add_compile_flags and add_target_link_flags - no functional change
- Fix add_importlibs to add to compile definitions instead of replacing them
- Big thanks to Amine
svn path=/trunk/; revision=53545
Olaf Siejka [Sat, 3 Sep 2011 14:37:34 +0000 (14:37 +0000)]
[TRANSLATION]
- base/application UTF-8 conversion patch by Elton Chung;
- minor corrections by me;
See issue #6333 for more details.
svn path=/trunk/; revision=53544
Rafal Harabien [Sat, 3 Sep 2011 10:56:36 +0000 (10:56 +0000)]
[FREELDR]
- Introduce WINE-like debug macros ERR, FIXME, WARN and TRACE
- Always show ERR and FIXME information
- WARN and TRACE are enabled by DebugPrintMask in debug.c as before
- Thanks to new macros find bug in CMake livecd creation and fix it
svn path=/trunk/; revision=53542
Dmitry Chapyshev [Sat, 3 Sep 2011 04:55:54 +0000 (04:55 +0000)]
- Remove unneeded ";"
svn path=/trunk/; revision=53540
Olaf Siejka [Sat, 3 Sep 2011 01:09:42 +0000 (01:09 +0000)]
[TRANSLATION]
- Romanian syssetup and usetup translation by Stefan Fulea <fulea.stefan> at <gmail.com>;
- Fix ipconfig build under MSVC, use "" instead of \" as escape character;
svn path=/trunk/; revision=53539
Timo Kreuzer [Fri, 2 Sep 2011 22:07:28 +0000 (22:07 +0000)]
[HAL]
Fix a dependency issue
svn path=/trunk/; revision=53536
Aleksey Bragin [Fri, 2 Sep 2011 21:22:30 +0000 (21:22 +0000)]
- Fix a totally broken case when a directory has no name in ObQueryNameString. Spotted by Coverity.
svn path=/trunk/; revision=53535
Aleksey Bragin [Fri, 2 Sep 2011 19:25:49 +0000 (19:25 +0000)]
- Remove unnecessary assignment.
svn path=/trunk/; revision=53532
Amine Khaldi [Fri, 2 Sep 2011 15:47:51 +0000 (15:47 +0000)]
* Fix CMake build. Our current PCH handling doesn't allow this.
svn path=/trunk/; revision=53531
Amine Khaldi [Fri, 2 Sep 2011 15:13:29 +0000 (15:13 +0000)]
* Fix rbuild build.
svn path=/trunk/; revision=53530
Timo Kreuzer [Fri, 2 Sep 2011 14:45:19 +0000 (14:45 +0000)]
[HAL]
- Flatten the directory structure
- use static libraries in cmake builds as well to save build time
svn path=/trunk/; revision=53529
Amine Khaldi [Fri, 2 Sep 2011 10:17:30 +0000 (10:17 +0000)]
[WIN32K]
* Missed this one.
svn path=/trunk/; revision=53528
Amine Khaldi [Fri, 2 Sep 2011 09:23:20 +0000 (09:23 +0000)]
[WIN32K]
* Remove some useless asserts considering cLockObj is DWORD.
svn path=/trunk/; revision=53527
Timo Kreuzer [Thu, 1 Sep 2011 19:01:19 +0000 (19:01 +0000)]
[FREELDR]
- Move cleaning the shared user data to after WinLdrSetProcessorContext, as we need the new page tables to be active
- Fix indentation/coding style in registry.c
- Fix a few 64 bit warnings
- delete <arch>/ntsetup.c and rename <arch>/wlmemory.c to <arch>/winldr.c
svn path=/trunk/; revision=53526
Timo Kreuzer [Thu, 1 Sep 2011 18:55:12 +0000 (18:55 +0000)]
[NTOSKRNL]
Fix condition check for informing the debugger in NtMapViewOfSection
Found by Amine Khaldi
svn path=/trunk/; revision=53525
Timo Kreuzer [Thu, 1 Sep 2011 18:32:13 +0000 (18:32 +0000)]
[HAL]
Don't use enums as bitfields. MSVC doesn't handle it the way gcc does. Fixes clock initialization on MSVC builds. You would wonder how the MSVC build even worked without a clock interrupt :D
svn path=/trunk/; revision=53524
Amine Khaldi [Thu, 1 Sep 2011 17:36:34 +0000 (17:36 +0000)]
[USER32]
* Attempt to fix the relocation issue in the rbuild build.
svn path=/trunk/; revision=53523
Thomas Faber [Thu, 1 Sep 2011 16:58:20 +0000 (16:58 +0000)]
[RTL][NETSHELL]
- Fix the remaining issues from preceding commits
svn path=/trunk/; revision=53522
Dmitry Chapyshev [Thu, 1 Sep 2011 16:27:20 +0000 (16:27 +0000)]
- Partly revert r53519. Fix build
svn path=/trunk/; revision=53521
Dmitry Chapyshev [Thu, 1 Sep 2011 16:02:16 +0000 (16:02 +0000)]
- Partly revert r53519
svn path=/trunk/; revision=53520
Dmitry Chapyshev [Thu, 1 Sep 2011 15:30:19 +0000 (15:30 +0000)]
- Fix multiple typos and bugs, found by PVS-Studio
svn path=/trunk/; revision=53519
Dmitry Chapyshev [Thu, 1 Sep 2011 15:13:59 +0000 (15:13 +0000)]
- Fix build
- Fix wrong memory copying, found by PVS-Studio
svn path=/trunk/; revision=53518
Dmitry Chapyshev [Thu, 1 Sep 2011 14:57:21 +0000 (14:57 +0000)]
- Try to fix build
svn path=/trunk/; revision=53517
Dmitry Chapyshev [Thu, 1 Sep 2011 13:18:22 +0000 (13:18 +0000)]
- Fix typos, found by PVS-Studio
svn path=/trunk/; revision=53516
Dmitry Chapyshev [Thu, 1 Sep 2011 12:41:50 +0000 (12:41 +0000)]
- Fix typo, found by PVS-Studio
svn path=/trunk/; revision=53515
Dmitry Chapyshev [Thu, 1 Sep 2011 12:38:56 +0000 (12:38 +0000)]
- Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53514
Dmitry Chapyshev [Thu, 1 Sep 2011 12:34:51 +0000 (12:34 +0000)]
- Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53513
Dmitry Chapyshev [Thu, 1 Sep 2011 12:25:52 +0000 (12:25 +0000)]
- Fix a bug, found by PVS-Studio
svn path=/trunk/; revision=53512
Amine Khaldi [Wed, 31 Aug 2011 20:56:02 +0000 (20:56 +0000)]
[TRANSLATION]
Fulea Stefan <fulea.stefan> at <gmail.com> :
* Mega Romanian translation commit. Bugs 6422, 6424, 6425, 6426, 6427, 6428, 6429, 6430, 6432, 6438, 6442, 6446, 6450 and 6451.
svn path=/trunk/; revision=53511
Timo Kreuzer [Wed, 31 Aug 2011 13:47:25 +0000 (13:47 +0000)]
[FREELDR]
- Massively refactor the winldr code
- move common parts of LoadReactOSSetup and LoadAndBootWindows into LoadAndBootWindowsCommon
- Combine architecture specific code into 2 functions: WinLdrSetupMachineDependent prepares the main stuff and WinLdrSetProcessorContext is the last thing done before transferring control to the kernel.
- rename WinLdrTunOnPaging to WinLdrSetupMemoryLayout
- Stop wasting stack space by decreasing the number of huge text buffers used
- Don't handle x86 specific data like Tss in portable code
- Add the progressbar for reactos setup as well
- Add missing DPRINT_PELOADER to DEBUG_ALL
svn path=/trunk/; revision=53510
Aleksey Bragin [Wed, 31 Aug 2011 10:01:33 +0000 (10:01 +0000)]
- Fix build (let it be "define").
svn path=/trunk/; revision=53509
Jérôme Gardou [Tue, 30 Aug 2011 21:51:13 +0000 (21:51 +0000)]
[CMAKE]
- try to fix gcc build without breaking msvc
svn path=/trunk/; revision=53508
Jérôme Gardou [Tue, 30 Aug 2011 21:26:11 +0000 (21:26 +0000)]
[CMAKE]
- fix build
svn path=/trunk/; revision=53507
Jérôme Gardou [Tue, 30 Aug 2011 21:02:14 +0000 (21:02 +0000)]
[WINETESTS/RPCRT4]
- fix MSVC build
svn path=/trunk/; revision=53506
Sylvain Petreolle [Tue, 30 Aug 2011 21:01:44 +0000 (21:01 +0000)]
Add msvcrt to KnownDLLs.
This will enforce use of reactos msvcrt when apps provide one.
Its required because cmake dlls currently depend on msvcrt for their startup code.
svn path=/trunk/; revision=53505
Jérôme Gardou [Tue, 30 Aug 2011 21:01:16 +0000 (21:01 +0000)]
[CMAKE/MSVC]
- use /h to specify header file name when producing rpc proxy file.
Don't ask me why /header doesn't work, I have no idea.
svn path=/trunk/; revision=53504
Jérôme Gardou [Tue, 30 Aug 2011 20:49:31 +0000 (20:49 +0000)]
[WINETESTS/RPCRT4]
Until now, rpcrt4 winetests where badly broken : client calls remotely forwarded to serverside functions which called... client side functions. One has to wonder how testbot survived the operation
- Cmake : fix that
- rbuild : add a hack keeping the old behaviour, because I don't know how to make this right
svn path=/trunk/; revision=53503
Jérôme Gardou [Tue, 30 Aug 2011 20:41:27 +0000 (20:41 +0000)]
[WINETEST/ADVAPI32]
- use a service name that exists on Reactos
svn path=/trunk/; revision=53502
Cameron Gutman [Tue, 30 Aug 2011 20:35:31 +0000 (20:35 +0000)]
[ACPI]
- Assign unique IDs to all special case devices (thermal zones, power resources, processors, power/sleep buttons)
svn path=/trunk/; revision=53501
Timo Kreuzer [Tue, 30 Aug 2011 14:43:11 +0000 (14:43 +0000)]
[NTOSKRNL]
Update amd64 kd64 from ros-amd64-bringup
svn path=/trunk/; revision=53498
Timo Kreuzer [Tue, 30 Aug 2011 14:19:10 +0000 (14:19 +0000)]
[HAL]
Small cleanup and fix amd64 build (don't use the PIT)
svn path=/trunk/; revision=53497
Timo Kreuzer [Tue, 30 Aug 2011 12:01:01 +0000 (12:01 +0000)]
[HAL]
We cannot make any assumptions about the latency whith which the timer interrupt fires after a rollover, since VBox (other VMs probably as well) doesn't always meet this. Add another check to KeQueryPerformanceCounter that gracefully handles missing interrupts. Also raise to DISPATCH_LEVEL, since the function is not reentrant.
svn path=/trunk/; revision=53496
Timo Kreuzer [Tue, 30 Aug 2011 08:52:17 +0000 (08:52 +0000)]
[HAL]
- Rewrite KeQueryPerformanceCounter in C
- Implement support for changing the clock rate
svn path=/trunk/; revision=53495