Commit graph

47914 commits

Author SHA1 Message Date
Giannis Adamopoulos
d8a49ddd85 [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
2011-09-03 16:22:32 +00:00
Jérôme Gardou
9fda7d5f01 [VGA_NEW]
- fix some warnings

svn path=/trunk/; revision=53547
2011-09-03 16:09:34 +00:00
Thomas Faber
079f80ff56 [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
2011-09-03 14:57:27 +00:00
Olaf Siejka
5caee6abdf [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
2011-09-03 14:37:34 +00:00
Rafal Harabien
104f6aa19c [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
2011-09-03 10:56:36 +00:00
Dmitry Chapyshev
108b181a84 - Remove unneeded ";"
svn path=/trunk/; revision=53540
2011-09-03 04:55:54 +00:00
Olaf Siejka
3fdf7a4109 [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
2011-09-03 01:09:42 +00:00
Timo Kreuzer
70056b9b75 [HAL]
Fix a dependency issue

svn path=/trunk/; revision=53536
2011-09-02 22:07:28 +00:00
Aleksey Bragin
0f7db734e2 - Fix a totally broken case when a directory has no name in ObQueryNameString. Spotted by Coverity.
svn path=/trunk/; revision=53535
2011-09-02 21:22:30 +00:00
Aleksey Bragin
180a02335c - Remove unnecessary assignment.
svn path=/trunk/; revision=53532
2011-09-02 19:25:49 +00:00
Amine Khaldi
1461196343 * Fix CMake build. Our current PCH handling doesn't allow this.
svn path=/trunk/; revision=53531
2011-09-02 15:47:51 +00:00
Amine Khaldi
69f688be4c * Fix rbuild build.
svn path=/trunk/; revision=53530
2011-09-02 15:13:29 +00:00
Timo Kreuzer
d9dd611750 [HAL]
- Flatten the directory structure
- use static libraries in cmake builds as well to save build time

svn path=/trunk/; revision=53529
2011-09-02 14:45:19 +00:00
Amine Khaldi
fec2ae66a2 [WIN32K]
* Missed this one.

svn path=/trunk/; revision=53528
2011-09-02 10:17:30 +00:00
Amine Khaldi
ff2b2aaa36 [WIN32K]
* Remove some useless asserts considering cLockObj is DWORD.

svn path=/trunk/; revision=53527
2011-09-02 09:23:20 +00:00
Timo Kreuzer
6d62252f5a [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
2011-09-01 19:01:19 +00:00
Timo Kreuzer
e6fe154eef [NTOSKRNL]
Fix condition check for informing the debugger in NtMapViewOfSection
Found by Amine Khaldi

svn path=/trunk/; revision=53525
2011-09-01 18:55:12 +00:00
Timo Kreuzer
f7fc62b255 [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
2011-09-01 18:32:13 +00:00
Amine Khaldi
b1f5d761d8 [USER32]
* Attempt to fix the relocation issue in the rbuild build.

svn path=/trunk/; revision=53523
2011-09-01 17:36:34 +00:00
Thomas Faber
59f551c02b [RTL][NETSHELL]
- Fix the remaining issues from preceding commits

svn path=/trunk/; revision=53522
2011-09-01 16:58:20 +00:00
Dmitry Chapyshev
6b2123e650 - Partly revert r53519. Fix build
svn path=/trunk/; revision=53521
2011-09-01 16:27:20 +00:00
Dmitry Chapyshev
afa0818365 - Partly revert r53519
svn path=/trunk/; revision=53520
2011-09-01 16:02:16 +00:00
Dmitry Chapyshev
74b3d51978 - Fix multiple typos and bugs, found by PVS-Studio
svn path=/trunk/; revision=53519
2011-09-01 15:30:19 +00:00
Dmitry Chapyshev
72aa51ee36 - Fix build
- Fix wrong memory copying, found by PVS-Studio

svn path=/trunk/; revision=53518
2011-09-01 15:13:59 +00:00
Dmitry Chapyshev
39fa8e8b38 - Try to fix build
svn path=/trunk/; revision=53517
2011-09-01 14:57:21 +00:00
Dmitry Chapyshev
c10f3c3b14 - Fix typos, found by PVS-Studio
svn path=/trunk/; revision=53516
2011-09-01 13:18:22 +00:00
Dmitry Chapyshev
2504a4e518 - Fix typo, found by PVS-Studio
svn path=/trunk/; revision=53515
2011-09-01 12:41:50 +00:00
Dmitry Chapyshev
bb4799bafe - Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53514
2011-09-01 12:38:56 +00:00
Dmitry Chapyshev
0bedb73493 - Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53513
2011-09-01 12:34:51 +00:00
Dmitry Chapyshev
8ccd1fff32 - Fix a bug, found by PVS-Studio
svn path=/trunk/; revision=53512
2011-09-01 12:25:52 +00:00
Amine Khaldi
6376ec1631 [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
2011-08-31 20:56:02 +00:00
Timo Kreuzer
0c902fc496 [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
2011-08-31 13:47:25 +00:00
Aleksey Bragin
b93fdf2a65 - Fix build (let it be "define").
svn path=/trunk/; revision=53509
2011-08-31 10:01:33 +00:00
Jérôme Gardou
68c23bec13 [CMAKE]
- try to fix gcc build without breaking msvc

svn path=/trunk/; revision=53508
2011-08-30 21:51:13 +00:00
Jérôme Gardou
6f2e9c5d9e [CMAKE]
- fix build

svn path=/trunk/; revision=53507
2011-08-30 21:26:11 +00:00
Jérôme Gardou
3c9134c338 [WINETESTS/RPCRT4]
- fix MSVC build

svn path=/trunk/; revision=53506
2011-08-30 21:02:14 +00:00
Sylvain Petreolle
f11c2052ff 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
2011-08-30 21:01:44 +00:00
Jérôme Gardou
dba0fbb3a2 [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
2011-08-30 21:01:16 +00:00
Jérôme Gardou
0248645f79 [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
2011-08-30 20:49:31 +00:00
Jérôme Gardou
597370501d [WINETEST/ADVAPI32]
- use a service name that exists on Reactos

svn path=/trunk/; revision=53502
2011-08-30 20:41:27 +00:00
Cameron Gutman
5c318a1fa0 [ACPI]
- Assign unique IDs to all special case devices (thermal zones, power resources, processors, power/sleep buttons)

svn path=/trunk/; revision=53501
2011-08-30 20:35:31 +00:00
Timo Kreuzer
fcea4abdca [NTOSKRNL]
Update amd64 kd64 from ros-amd64-bringup

svn path=/trunk/; revision=53498
2011-08-30 14:43:11 +00:00
Timo Kreuzer
fe0013fd3d [HAL]
Small cleanup and fix amd64 build (don't use the PIT)

svn path=/trunk/; revision=53497
2011-08-30 14:19:10 +00:00
Timo Kreuzer
ee0c854ff6 [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
2011-08-30 12:01:01 +00:00
Timo Kreuzer
e03d0348d9 [HAL]
- Rewrite KeQueryPerformanceCounter in C
- Implement support for changing the clock rate

svn path=/trunk/; revision=53495
2011-08-30 08:52:17 +00:00
Timo Kreuzer
79517b3d28 [INTRIN]
- add  __nop()

svn path=/trunk/; revision=53494
2011-08-29 23:10:04 +00:00
Giannis Adamopoulos
4ce3a2325c [win32k]
- attempt to fix build

svn path=/trunk/; revision=53493
2011-08-29 17:49:01 +00:00
Giannis Adamopoulos
a7c3cdcc02 [win32k]
- revert r53355.
- it's changes are not needed as wine's spy channel is better, and this time we will get rid of all unwanted changes ( my previous commit did not fix all unwanted changes)

svn path=/trunk/; revision=53492
2011-08-29 17:30:11 +00:00
Amine Khaldi
357baab895 [WIN32K]
* Revert r53487 (and as a result 53490) as per Giannis (the committer) suggestion. It broke testbot and he couldn't look into it at the moment.

svn path=/trunk/; revision=53491
2011-08-29 14:57:06 +00:00
Amine Khaldi
5379960831 [WIN32K]
* The previous commit (r53487) mentioned a revert, but the patch didn't reflect it. Spotted by Victor.

svn path=/trunk/; revision=53490
2011-08-29 14:32:30 +00:00