Commit graph

30735 commits

Author SHA1 Message Date
Aleksey Bragin
8522c6766e Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove KiRosPrintAddress export from ntoskrnl_i386.def, and CcRos* apis too.
- Make win32k use KeRosDumpStackFrames instead of KiRosPrintAddress.

svn path=/trunk/; revision=33646
2008-05-22 19:31:49 +00:00
Johannes Anderwald
1e5dd70adb - fix integer to string representation
- patch by Carlo Bramini
- bug 2437

svn path=/trunk/; revision=33645
2008-05-22 17:40:01 +00:00
Johannes Anderwald
27ee5b62b8 - define _WMI_SOURCE_ macro
- include evntrace header
- implement stubs for GetTraceLoggerHandle and TraceEvent and also export them

svn path=/trunk/; revision=33644
2008-05-22 17:23:47 +00:00
Johannes Anderwald
63477f9dd4 - check if PEVENT_TRACE_HEADER is already defined
- define WMIAPI macro
- add TraceEvent, GetTraceLoogerHandler prototypes
- PEVENT_TRACE_HEADER should not be defined in the NDK

svn path=/trunk/; revision=33643
2008-05-22 17:12:42 +00:00
Timo Kreuzer
5db224e2b9 implement SPI_GET/SETSTICKYKEYS, SPI_GET/SETFILTERKEYS, SPI_GET/SETTOGGLEKEYS, SPI_GET/SETSERIALKEYS, SPI_GET/SETMOUSEKEYS, SPI_GET/SETKEYBOARDPREF, SPI_GET/SETSHOWSOUNDS, SPI_GET/SETACCESSTIMEOUT
makes access.cpl start again.
See issue #3133 for more details.

svn path=/trunk/; revision=33640
2008-05-22 14:51:01 +00:00
Timo Kreuzer
41b38a2ea1 fix a typo
svn path=/trunk/; revision=33639
2008-05-22 14:36:25 +00:00
KJK::Hyperion
dc75130891 Patch by Alex Ionescu <alex.ionescu@reactos.org>
See issue #3054 for more details.

svn path=/trunk/; revision=33637
2008-05-22 13:40:42 +00:00
KJK::Hyperion
1fe8b5d775 Reverting r33635
svn path=/trunk/; revision=33636
2008-05-22 13:37:27 +00:00
KJK::Hyperion
7184323272 Patch by Alex Ionescu <alex.ionescu@reactos.org>
See issue #3116 for more details.

svn path=/trunk/; revision=33635
2008-05-22 13:19:32 +00:00
James Tabor
c379e6ad12 Add NtGdiGetRandomRgn iCode values.
svn path=/trunk/; revision=33634
2008-05-22 12:51:53 +00:00
KJK::Hyperion
b16ac9683a - Remove WINE-isms from KeDeviceQueue code
- Fix memory corruption that happened pretty much everytime you pressed a key or moved the mouse -- reponsible for countless crashes, including the famous ASSERT during 1-stage setup.
 - Remove anti-memory-corruption-workaround from VFAT
 - Note: If you're going to do use device queues in your driver, please learn how. Kthxbye.
Patch by Alex Ionescu <alex.ionescu@reactos.org>
_____

Alex,
 Marry me,
KJK::Hyperion
XOXOXO

See issue #3116 for more details.

svn path=/trunk/; revision=33633
2008-05-22 11:46:46 +00:00
Magnus Olsen
af1376546d implemented GetTitleBarInfo in user32 it works now same as xp/vista left todo implemented it proper in win32k on the syscall NtUserGetTitleBarInfo that is stub at moment.
svn path=/trunk/; revision=33632
2008-05-22 08:39:24 +00:00
Aleksey Bragin
483ac0fe6c - Fix a typo in this header's guard, prevents multiple inclusion.
svn path=/trunk/; revision=33631
2008-05-22 07:17:16 +00:00
James Tabor
f9814c9de4 Fix behavior if bmi null in NtGdiCreateDIBSection. Start internal functions for regions, includes a wine port get_region_type.
svn path=/trunk/; revision=33629
2008-05-21 22:32:13 +00:00
Hervé Poussineau
1136b9642b Fix precompiled header name.
According to http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html , precompiled header name *must be* the name of the header followed by .gch
See issue #3263 for more details.

svn path=/trunk/; revision=33627
2008-05-21 18:00:40 +00:00
Hervé Poussineau
b18f57e3fc Disable precompiled headers for files which are in more than one module
(Precompiled header name have a fixed name, but modules may have different compile options)

svn path=/trunk/; revision=33626
2008-05-21 17:57:24 +00:00
Aleksey Bragin
3c2ec47c4a - Fix build.
svn path=/trunk/; revision=33624
2008-05-21 16:19:41 +00:00
Aleksey Bragin
04d1f6f145 Stefan Ginsberg <stefan__100__@hotmail.com>
- Fix NtFlushVirtualMemory definition in PSDK.
- Fix NtFlushVirtualMemory's usage in kernel32.
- Fix FlushViewOfFile's prototype (DWORD -> SIZE_T, as it is in PlatformSDK).
- Add a C_ASSERT definition to winnt.h.
- Change a meaningless ASSERT to a C_ASSERT.

svn path=/trunk/; revision=33623
2008-05-21 16:10:00 +00:00
Johannes Anderwald
fad6923fb5 - check input parameters in LoadString[A|W]
- fixes a winetest issue
- patch by Kamil Hornicek (Pigglesworth)

svn path=/trunk/; revision=33622
2008-05-21 15:33:38 +00:00
Aleksey Bragin
dbc9964533 - Fix a few typos in SHARED_CACHE_MAP definition in NDK.
- Minor fix to BITMAP_RANGE structure in ntifs.h.

svn path=/trunk/; revision=33621
2008-05-21 15:28:43 +00:00
Aleksey Bragin
90c42a08eb - Convert imagehlp's .def file to .spec format (keeping same ordinals, etc), since ---enable-stdcall-fuxup does not really work for linking.
- Uncomment function declarations in psdk/imagehlp.h and thus make crypt32 use them to prevent stack corruption (it was generating implicit declarations warnings).

svn path=/trunk/; revision=33620
2008-05-21 14:43:29 +00:00
Magnus Olsen
23722e0cb4 filter the higher part of DWORD for return value of VBE return value from the BIOS
this will make allot ATI card working proper. thx again bear windows for the info and mail response which card need it, more info for this issue at http://www.bearwindows.boot-land.net/vbemp.htm#10

svn path=/trunk/; revision=33619
2008-05-21 13:47:22 +00:00
Timo Kreuzer
788d425ef1 - Fix wrong debug output when a process is terminated, by deleting the it's objects in a proper order, fixes bug 2954
- remove Fireball's, ugly nasty hack.
- Fix debug output to show the right problem
- For all people who think the handle table might be messed up: add a function that validates the handle table integrity after a process is closed, when GDI_DEBUG is defined.
- fix the BaseObjects hHmgr field when converting an object to a stock object.
- move all GDI_DEBUG stuff into it's own file

See issue #2954 for more details.

svn path=/trunk/; revision=33618
2008-05-20 20:39:32 +00:00
Marc Piulachs
c912e98ba3 - Added 'MessageHeader' module type for handling .mc files
- turn .mc generated files (RC & Headers) into real dependencies

svn path=/trunk/; revision=33616
2008-05-20 19:46:14 +00:00
Marc Piulachs
3c976797cd - Add svchost to build
svn path=/trunk/; revision=33615
2008-05-20 19:33:00 +00:00
Dmitry Chapyshev
413660b2dc - Add code for getting language name
svn path=/trunk/; revision=33614
2008-05-20 18:02:39 +00:00
Johannes Anderwald
0f40cce788 - monitor device name start with "\\.\\DISPLAY<number>" than with "\\??\\DISPLAY<number>"
- implement handling MONITOR_DEFAULTTOPRIMARY in IntGetMonitorsFromRect
- implement handling MONITOR_DEFAULTTONULL in NtUserMonitorFromWIndow
- ReactOS now passes all user32_winetest monitor tests

svn path=/trunk/; revision=33613
2008-05-20 15:20:28 +00:00
Johannes Anderwald
dd8f25a940 - zero DISPLAY_DEVICEW struct before passing it to NtUserEnumDisplayDevices
- copy string the resulting strings on success but on failure
- fix 2 memory leaks in EnumDisplayMonitors
- fixes a user32_winetest error

svn path=/trunk/; revision=33612
2008-05-20 14:57:37 +00:00
Ged Murphy
45a63ea020 iterate the number of sections, not the number of directory entries
svn path=/trunk/; revision=33611
2008-05-20 14:20:54 +00:00
Johannes Anderwald
0b0ec52a01 - remove unneeded cast in GetClipboardData
- use WideCharToMultiByte instead of RtlUnicodeStringToAnsiString
- fix memory leak in GetClipboardFormatNameA
- ReactOS now passes all user32_winetest.exe clipboard test (previously 2 failures)

svn path=/trunk/; revision=33610
2008-05-20 13:42:17 +00:00
Aleksey Bragin
7347f5ab15 Stefan Ginsberg <stefan__100__@hotmail.com>
- Fix the commented out export in win32k.def and fix the definition for EngGetCurrentCodePage.
- Add RtlGetDefaultCodePage to NDK headers.

svn path=/trunk/; revision=33609
2008-05-20 13:21:21 +00:00
Dmitry Chapyshev
be3257fbc9 - Add kbsdll to bootcd
svn path=/trunk/; revision=33608
2008-05-20 12:54:36 +00:00
Dmitry Chapyshev
0f37c3c8f0 - Added kbsdll to install hooks (does not work on ReactOS). To switch layouts temporarily used keys Left Alt + F10
svn path=/trunk/; revision=33607
2008-05-20 12:53:31 +00:00
Daniel Reimer
14f90f0f92 Bug 3256: Greek translation update for usetup by Apostulos Alexandris (djapal@gmail.com)
Bug 3261: Korean translation of mstsc by Seungju Kim (admin@manateeshome.com)

svn path=/trunk/; revision=33606
2008-05-20 08:49:40 +00:00
James Tabor
1879a9fa70 Win32k:
- GDI_TABLE_ENTRY ProcessId is a dword or int not a short.
- Notice also the pid for f5e, it's set GDI_OBJ_HMGR_NONE with pUser 0. Our DCE code handling pUser is right with that respect.
- Tested wine gdi32: dc gdiobj and user32: dce, all result same as before.

 object list for DC type objects owned by ALL PIDs
   I,   handle,   Lock, sCount,  pid,       pv,     objt, unique,  Flags,    pUser,    Tlock
--------------------------------------------------------------------------------------------
 f4c, ca010f4c,      0,      0,  d60, e2ebc2a0,       DC,   ca01,      0, 00f80570, 00f80570
 f5e, 60010f5e,      0,      0, 80000012, e28ce008,       DC,   6001,      4, 00000000, 00000000
 f9d, b4010f9d,      0,      0,  d60, e2ee6008,       DC,   b401,      0, 00350000, 00350000


svn path=/trunk/; revision=33605
2008-05-20 02:54:33 +00:00
Aleksey Bragin
7e73882c3e Stefan Ginsberg <stefan__100__@hotmail.com>
- Export undocumented Win32k functions and add stubs for them (information about prototypes if from Alex). Also implement and export a couple of documented APIs, and a bunch of APIs we implement but did not export.

svn path=/trunk/; revision=33604
2008-05-19 20:47:31 +00:00
Marc Piulachs
e9cfeb1071 - Removed hard coded bootsector from *Iso module types and express it with rbuild syntax.
- Enabled installname attribute and removed hard coded output file name from *Iso module types. We can now use properties : ReactOS_$(arch).iso > ReactOS_i386.iso

svn path=/trunk/; revision=33603
2008-05-19 20:46:46 +00:00
Hervé Poussineau
eb2daf17cc Use dynamic traces
svn path=/trunk/; revision=33602
2008-05-19 20:34:04 +00:00
Aleksey Bragin
1d020c54d9 - Ugly hack about corrupted KernelData pointer, which is being accessed. Hacks around bugs like bug 2954.
See issue #2954 for more details.

svn path=/trunk/; revision=33601
2008-05-19 20:27:48 +00:00
James Tabor
2a28b8de6b Add correction for GetClassName.
svn path=/trunk/; revision=33600
2008-05-19 19:23:02 +00:00
Gregor Brunmar
e657a0d73a ReactOS leads you to mysterious API calls. Added tests for RealGetWindowsClass() with some strange behaviours for later use when implementing RealGetWindowClass().
svn path=/trunk/; revision=33599
2008-05-19 17:50:39 +00:00
Magnus Olsen
67e132ff6b Bugfix EngBitBlt it did miss the prefix @44 in the def file
svn path=/trunk/; revision=33598
2008-05-19 10:20:39 +00:00
Aleksey Bragin
9cc4675c59 - Implement restoring DRx registers if the thread is being debugged.
svn path=/trunk/; revision=33597
2008-05-19 10:04:21 +00:00
Hervé Poussineau
8ee5bedcd5 Implement FSCTL_SET_COMPRESSION
svn path=/trunk/; revision=33596
2008-05-18 19:22:31 +00:00
Hervé Poussineau
9a96254da9 Add a key to change the keyboard layout on the livecd
svn path=/trunk/; revision=33594
2008-05-18 18:37:17 +00:00
Hervé Poussineau
cf5b6bb2e2 Display again the 'New' context menu, which was broken in r30366
See issue #3183 for more details.

svn path=/trunk/; revision=33592
2008-05-18 18:07:00 +00:00
Hervé Poussineau
0485103593 Add stub implementation for ElfrOpenELW()
svn path=/trunk/; revision=33590
2008-05-18 16:14:34 +00:00
Marc Piulachs
0ac3f1989d - remove now unneeded files
svn path=/trunk/; revision=33589
2008-05-18 16:04:19 +00:00
Marc Piulachs
4442c49eca - small fix
svn path=/trunk/; revision=33588
2008-05-18 16:01:34 +00:00
Hervé Poussineau
fdb3291c6b Send an empty string, as required by the documentation
See issue #3202 for more details.

svn path=/trunk/; revision=33587
2008-05-18 16:01:29 +00:00