Commit graph

30774 commits

Author SHA1 Message Date
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
Marc Piulachs ac77d9d3a6 - Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Commands.MSDN except for Command base classes
- Made TechBot more configurable through .config files
- Code refactoring
- Removed automatic parameter parsing support to make everyone happy

svn path=/trunk/; revision=33586
2008-05-18 15:54:43 +00:00
Hervé Poussineau 6d51a10a1b Make eventlog RPC interface more compatible with MS Windows
svn path=/trunk/; revision=33585
2008-05-18 15:29:53 +00:00
Hervé Poussineau 8163d0f36b Replace ERR() by WARN() on error codes which can be normal
svn path=/trunk/; revision=33584
2008-05-18 15:26:24 +00:00
Hervé Poussineau 744f5df30f Fix build
svn path=/trunk/; revision=33583
2008-05-18 15:23:52 +00:00
Hervé Poussineau 053940df37 Add ms-dtyp.idl file, and use it
svn path=/trunk/; revision=33582
2008-05-18 15:17:12 +00:00
Dmitry Chapyshev b590073eb4 - Add "ReactOS Standard" and "ReactOS Classic" color schemes
- Add registry keys for cursors schemes

svn path=/trunk/; revision=33581
2008-05-18 15:14:04 +00:00
Dmitry Chapyshev 46dd23149f - Update icons
svn path=/trunk/; revision=33580
2008-05-18 15:06:30 +00:00
Eric Kohl 653089313c - Rename CheckUserName() to CheckAccountName() and move it to a new source file (misc.c).
- Also use CheckAccountName() to check group names for illegal characters.

svn path=/trunk/; revision=33579
2008-05-18 14:59:44 +00:00
Johannes Anderwald e5495f7f62 - default to seperator item type
- add the styles grayed and disabled in case they have not been added
- initialize allocated user buffer to zero
- allow support for bitmap items with MF_HELP style
- check result of WideCharToMultiByte
- always zero terminate a string buffer when enough space is available

svn path=/trunk/; revision=33578
2008-05-18 14:18:00 +00:00
Hervé Poussineau 36ce0cd8af Forward all IRPs, even unknown ones
svn path=/trunk/; revision=33577
2008-05-18 11:45:26 +00:00
Gregor Brunmar 5dd0513c53 Reverted winesync's wrongly updated msi.rbuild to get rid of "always build msi" problem again.
svn path=/trunk/; revision=33576
2008-05-18 11:45:17 +00:00