reactos.git
15 years agoRemoved NtGdi rect calls.
James Tabor [Mon, 26 May 2008 23:57:30 +0000 (23:57 +0000)]
Removed NtGdi rect calls.

svn path=/trunk/; revision=33722

15 years agoFix the rest too....
James Tabor [Mon, 26 May 2008 21:12:17 +0000 (21:12 +0000)]
Fix the rest too....

svn path=/trunk/; revision=33721

15 years ago- check if MDICLIENTINFO is available before retrieving information
Johannes Anderwald [Mon, 26 May 2008 20:52:28 +0000 (20:52 +0000)]
- check if MDICLIENTINFO is available before retrieving information
- fixes a user32_winetest crash

svn path=/trunk/; revision=33720

15 years agoWhy are we deleting prgnVis after setting it up? Wine code shows that it is deleted...
James Tabor [Mon, 26 May 2008 20:36:38 +0000 (20:36 +0000)]
Why are we deleting prgnVis after setting it up? Wine code shows that it is deleted after an error if it was setup prior the error. This fixes a bug introduced in revision 5118.

svn path=/trunk/; revision=33719

15 years agoChange the code a bit, as Hervé Poussineau points out, the interrupt vector could...
Filip Navara [Mon, 26 May 2008 18:51:15 +0000 (18:51 +0000)]
Change the code a bit, as Hervé Poussineau points out, the interrupt vector could in some cases be zero.

svn path=/trunk/; revision=33718

15 years agoFix incorrect logic in IntVideoPortSetupInterrupt and add comment.
Filip Navara [Mon, 26 May 2008 18:32:40 +0000 (18:32 +0000)]
Fix incorrect logic in IntVideoPortSetupInterrupt and add comment.

svn path=/trunk/; revision=33717

15 years ago- only convert the devmode if the caller passed one
Johannes Anderwald [Mon, 26 May 2008 18:13:17 +0000 (18:13 +0000)]
- only convert the devmode if the caller passed one
- fixes a user32_winetest crash failure

svn path=/trunk/; revision=33716

15 years ago- Fix misc structures definitions.
Aleksey Bragin [Mon, 26 May 2008 18:08:50 +0000 (18:08 +0000)]
- Fix misc structures definitions.

svn path=/trunk/; revision=33715

15 years agoRemoved legacy code from r33695, trying to free a NULL pointer
Gregor Brunmar [Mon, 26 May 2008 16:13:19 +0000 (16:13 +0000)]
Removed legacy code from r33695, trying to free a NULL pointer

svn path=/trunk/; revision=33714

15 years ago- Erase countdown timer when needed. Based on a patch from bug 3279.
Aleksey Bragin [Mon, 26 May 2008 15:27:09 +0000 (15:27 +0000)]
- Erase countdown timer when needed. Based on a patch from bug 3279.
See issue #3046 for more details.

svn path=/trunk/; revision=33713

15 years ago- add support for a future timeout callback mechanism
Johannes Anderwald [Mon, 26 May 2008 15:23:24 +0000 (15:23 +0000)]
- add support for a future timeout callback mechanism

svn path=/trunk/; revision=33712

15 years ago- Remove $Id tags.
Aleksey Bragin [Mon, 26 May 2008 14:42:27 +0000 (14:42 +0000)]
- Remove $Id tags.

svn path=/trunk/; revision=33711

15 years ago- check if its a primary monitor before calculating monitor intersection rectangle
Johannes Anderwald [Mon, 26 May 2008 13:50:36 +0000 (13:50 +0000)]
- check if its a primary monitor before calculating monitor intersection rectangle
- should fix bug 3281

svn path=/trunk/; revision=33709

15 years ago- Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).
Aleksey Bragin [Mon, 26 May 2008 11:47:47 +0000 (11:47 +0000)]
- Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).

svn path=/trunk/; revision=33708

15 years agoBug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Daniel Reimer [Sun, 25 May 2008 22:44:32 +0000 (22:44 +0000)]
Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)

svn path=/trunk/; revision=33707

15 years agoBug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Daniel Reimer [Sun, 25 May 2008 22:15:26 +0000 (22:15 +0000)]
Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)

svn path=/trunk/; revision=33705

15 years agomodified include/psdk/winnls.h
KJK::Hyperion [Sun, 25 May 2008 21:00:08 +0000 (21:00 +0000)]
modified   include/psdk/winnls.h
   Added definitions for NormalizeString and IsNormalizedString (Vista and later)
   Correct an embarassing bug (some macros were terminated with ";", shame shame)

added      nls
added      nls/3rdparty
added      nls/3rdparty/icu
   We officially welcome IBM's excellent ICU4C library for Unicode support to our humble source tree. May our marriage be long, happy and fertile.

added      nls/3rdparty/icu4ros.rbuild
added      nls/dll
added      nls/dll/normaliz_redist
added      nls/dll/normaliz_redist/normaliz.cpp
added      nls/dll/normaliz_redist/normaliz.def
added      nls/dll/normaliz_redist/normaliz_redist.rbuild
added      nls/lib
added      nls/lib/normalize
added      nls/lib/normalize/normalize.cpp
added      nls/lib/normalize/normalize.rbuild
added      nls/nls.rbuild
modified   ReactOS-generic.rbuild
   Incomplete implementation of the redistributable normaliz.dll DLL for Unicode normalization, as a technical preview of what's to come from the use of ICU4C - namely, straightforward, painless implementation of complex algorithms and several megabytes worth of data, with a Win32-compatible interface on top. Currently disabled in the build until basic testing is over.

Watch this space for more of the same.

svn path=/trunk/; revision=33703

15 years agoimplement LpkDllInitialize for lpk
Magnus Olsen [Sun, 25 May 2008 17:52:28 +0000 (17:52 +0000)]
implement LpkDllInitialize for lpk

svn path=/trunk/; revision=33701

15 years agofix right export prefix for LpkPresent.
Magnus Olsen [Sun, 25 May 2008 17:51:15 +0000 (17:51 +0000)]
fix right export prefix for LpkPresent.

svn path=/trunk/; revision=33700

15 years agoadd dll lpk it is stub for now.
Magnus Olsen [Sun, 25 May 2008 15:22:09 +0000 (15:22 +0000)]
add dll lpk it is stub for now.
it will be use of gdi32 and user32 later

svn path=/trunk/; revision=33699

15 years agoUpdate README.WINE about the crypt32 sync
Colin Finck [Sun, 25 May 2008 14:16:14 +0000 (14:16 +0000)]
Update README.WINE about the crypt32 sync

svn path=/trunk/; revision=33698

15 years agostarted added test for InitializeLpkHooks
Magnus Olsen [Sun, 25 May 2008 12:04:06 +0000 (12:04 +0000)]
started added test for InitializeLpkHooks
this tests are not completed more will follow.
this is the frame work for testing InitializeLpkHooks

svn path=/trunk/; revision=33697

15 years agoAdd the general user properties page. Settings are visible but cannot be changed...
Eric Kohl [Sun, 25 May 2008 11:50:56 +0000 (11:50 +0000)]
Add the general user properties page. Settings are visible but cannot be changed yet.

svn path=/trunk/; revision=33696

15 years agoReinstated DIALOG_get_info() based of Wine's implementation, but with some modificati...
Gregor Brunmar [Sun, 25 May 2008 11:12:42 +0000 (11:12 +0000)]
Reinstated DIALOG_get_info() based of Wine's implementation, but with some modifications. This makes us pass the last 6 failed dialog wine tests.

svn path=/trunk/; revision=33695

15 years ago- Start implementing WDM Audio driver mapper
Dmitry Chapyshev [Sun, 25 May 2008 10:41:08 +0000 (10:41 +0000)]
- Start implementing WDM Audio driver mapper

svn path=/trunk/; revision=33694

15 years ago- Add baseaddress for wdmaud.drv
Dmitry Chapyshev [Sun, 25 May 2008 10:39:34 +0000 (10:39 +0000)]
- Add baseaddress for wdmaud.drv

svn path=/trunk/; revision=33693

15 years ago- Add stubs WDM Audio driver mapper
Dmitry Chapyshev [Sun, 25 May 2008 09:34:14 +0000 (09:34 +0000)]
- Add stubs WDM Audio driver mapper

svn path=/trunk/; revision=33691

15 years ago* Changed to correct signature of NtUserGetClassName()
Gregor Brunmar [Sun, 25 May 2008 08:36:30 +0000 (08:36 +0000)]
* Changed to correct signature of NtUserGetClassName()
* Implemented correct behaviour in GetRealWindowClass(), but in reality just shifted the todo parts to NtUserGetClassName() instead.

svn path=/trunk/; revision=33689

15 years agoFixed a bug in GetClipboardFormatNameA
Pierre Schweitzer [Sun, 25 May 2008 08:30:33 +0000 (08:30 +0000)]
Fixed a bug in GetClipboardFormatNameA

svn path=/trunk/; revision=33688

15 years ago- fix wait functions for console handles
Johannes Anderwald [Sun, 25 May 2008 07:05:34 +0000 (07:05 +0000)]
- fix wait functions for console handles
- bug 3273

svn path=/trunk/; revision=33687

15 years agoimplemeted test for GdiDeleteLocalDC, GdiReleaseLocalDC, GdiSetAttrs
Magnus Olsen [Sat, 24 May 2008 22:42:46 +0000 (22:42 +0000)]
implemeted test for GdiDeleteLocalDC, GdiReleaseLocalDC, GdiSetAttrs
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33681

15 years agoimplemeted test for GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont...
Magnus Olsen [Sat, 24 May 2008 22:20:31 +0000 (22:20 +0000)]
implemeted test for GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiGetLocalBrush, GdiGetLocalDC
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33680

15 years agoSamuel Serapión (samdwise51 AT gmail DOT com):
Colin Finck [Sat, 24 May 2008 22:16:15 +0000 (22:16 +0000)]
Samuel Serapión (samdwise51 AT gmail DOT com):
- Sync the advapi32 crypt functions to Wine 1.0-rc2, this way we pass some more winetests.

Changes by myself:
- Implement SystemFunction036 (RtlGenRandom) as the Wine equivalent is based on /dev/urandom, so that it cannot be used.
  Warning: This function uses the pseudo random number generator RtlRandom. It should better be implemented using a crypto-safe random number generator!

svn path=/trunk/; revision=33679

15 years agoAdd functionality to allow dll injection for all apps which link to user32.
Ged Murphy [Sat, 24 May 2008 21:21:58 +0000 (21:21 +0000)]
Add functionality to allow dll injection for all apps which link to user32.

svn path=/trunk/; revision=33678

15 years ago- Move every x86 HAL to it's own .rbuild file
Marc Piulachs [Sat, 24 May 2008 20:32:44 +0000 (20:32 +0000)]
- Move every x86 HAL to it's own .rbuild file
- Take advantage of r33676

svn path=/trunk/; revision=33677

15 years ago- Add "base" and "root" support to ImportLibrary. <importlibrary definition="../hal...
Marc Piulachs [Sat, 24 May 2008 20:31:23 +0000 (20:31 +0000)]
- Add "base" and "root" support to ImportLibrary. <importlibrary definition="../hal/hal_i386.def" /> -> <importlibrary base="hal" definition="hal_i386.def" />

svn path=/trunk/; revision=33676

15 years agomerge from win32k-gdi-dx r33674 Implement GdiAddGlsBounds
Magnus Olsen [Sat, 24 May 2008 19:02:23 +0000 (19:02 +0000)]
merge from win32k-gdi-dx r33674 Implement GdiAddGlsBounds

svn path=/trunk/; revision=33675

15 years ago- remove 'basename' , no such attribute exists for <importlibrary>
Marc Piulachs [Sat, 24 May 2008 15:33:49 +0000 (15:33 +0000)]
- remove 'basename' , no such attribute exists for <importlibrary>

svn path=/trunk/; revision=33672

15 years agoSet default return of IRP_MJ_QUERY_INFORMATION to STATUS_INVALID_PARAMETER
Pierre Schweitzer [Sat, 24 May 2008 09:06:53 +0000 (09:06 +0000)]
Set default return of IRP_MJ_QUERY_INFORMATION to STATUS_INVALID_PARAMETER

svn path=/trunk/; revision=33671

15 years ago- Imported dciman32.dll from Wine HEAD
Pierre Schweitzer [Sat, 24 May 2008 08:42:53 +0000 (08:42 +0000)]
- Imported dciman32.dll from Wine HEAD
- Added it to bootcd
- Update README.WINE

svn path=/trunk/; revision=33670

15 years agoFixed at typo from me thx Daniel Zimmermann (netzimme at aim dot com) that notes it.
Magnus Olsen [Fri, 23 May 2008 19:12:07 +0000 (19:12 +0000)]
Fixed at typo from me thx Daniel Zimmermann (netzimme at aim dot com) that notes it.

svn path=/trunk/; revision=33666

15 years agoadd test for NtUserGetTitleBarInfo patch by Daniel Zimmermann (netzimme at aim dot...
Magnus Olsen [Fri, 23 May 2008 18:22:39 +0000 (18:22 +0000)]
add test for NtUserGetTitleBarInfo patch by Daniel Zimmermann (netzimme at aim dot com)
tested on xp sp3 by me

See issue #3266 for more details.

svn path=/trunk/; revision=33665

15 years agoFixed memory leak in w32knapi if it fail found gdihandle table patch by Daniel Zimmer...
Magnus Olsen [Fri, 23 May 2008 18:14:15 +0000 (18:14 +0000)]
Fixed memory leak in w32knapi if it fail found gdihandle table patch by Daniel Zimmermann (netzimme at aim dot com)

See issue #3266 for more details.

svn path=/trunk/; revision=33664

15 years agoNo need to keep linux-ntfs:
Pierre Schweitzer [Fri, 23 May 2008 18:01:42 +0000 (18:01 +0000)]
No need to keep linux-ntfs:
- it's outdated
- more docs are available

svn path=/trunk/; revision=33663

15 years ago- msiexec is GUI app, not CUI.
Aleksey Bragin [Fri, 23 May 2008 17:55:30 +0000 (17:55 +0000)]
- msiexec is GUI app, not CUI.

svn path=/trunk/; revision=33662

15 years ago- add stubs for GetTraceEnableFlags, GetTraceEnableLevel, RegisterTraceGuidsA, Regist...
Johannes Anderwald [Fri, 23 May 2008 16:31:22 +0000 (16:31 +0000)]
- add stubs for GetTraceEnableFlags, GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW and UnregisterTraceGuids

svn path=/trunk/; revision=33661

15 years ago- add prototypes for GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW...
Johannes Anderwald [Fri, 23 May 2008 16:29:05 +0000 (16:29 +0000)]
- add prototypes for GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW, UnregisterTraceGuids
- add WMIPREQUEST, TRACE_GUID_REGISTRATION definition
- add wmistr.h header

svn path=/trunk/; revision=33660

15 years ago- Revert 32675 (enabling usage of the cache bitmap). It was just hiding the real...
Aleksey Bragin [Fri, 23 May 2008 14:40:50 +0000 (14:40 +0000)]
- Revert 32675 (enabling usage of the cache bitmap). It was just hiding the real bug fixed in r33633, and the bitmap code seems to not be finished (e.g. "out of CacheSeg space" bug).

svn path=/trunk/; revision=33659

15 years agoAdd more data for extended clip object.
James Tabor [Fri, 23 May 2008 12:50:46 +0000 (12:50 +0000)]
Add more data for extended clip object.

svn path=/trunk/; revision=33658

15 years agoImplemtened : NtUserGetTitleBarInfo
Magnus Olsen [Fri, 23 May 2008 05:46:22 +0000 (05:46 +0000)]
Implemtened : NtUserGetTitleBarInfo
This code was writen by me and Daniel Zimmermann (netzimme at aim dot com) and it is base on wine version,

See issue #3266 for more details.

svn path=/trunk/; revision=33657

15 years agoRemoved w.flags from dc.h update all related.
James Tabor [Fri, 23 May 2008 01:46:55 +0000 (01:46 +0000)]
Removed w.flags from dc.h update all related.

svn path=/trunk/; revision=33656

15 years agoMove W structure back into dc.h and added the clip object for dcobj.
James Tabor [Fri, 23 May 2008 01:11:25 +0000 (01:11 +0000)]
Move W structure back into dc.h and added the clip object for dcobj.

svn path=/trunk/; revision=33655

15 years ago- Remove crtdll reference. All Win32* modules implicitly link msvcrt.
Marc Piulachs [Fri, 23 May 2008 00:57:32 +0000 (00:57 +0000)]
- Remove crtdll reference. All Win32* modules implicitly link msvcrt.

svn path=/trunk/; revision=33654

15 years agoRemoved unused code from Arc. Removed old saveLevel and hSelf, use DcLevel. Other...
James Tabor [Fri, 23 May 2008 00:29:08 +0000 (00:29 +0000)]
Removed unused code from Arc. Removed old saveLevel and hSelf, use DcLevel. Other changes to region and clipping.

svn path=/trunk/; revision=33653

15 years agoApply the fix from r32705 to C and C++ files as well.
Colin Finck [Fri, 23 May 2008 00:11:52 +0000 (00:11 +0000)]
Apply the fix from r32705 to C and C++ files as well.
This fixes the "rebuild-everything-on-every-change" bug (at least for me)
For the record, this is broken since r32595.

Note: If you have building problems after this commit when building a single module, please try to revert only my changes from lines 1847 to 1850.

svn path=/trunk/; revision=33652

15 years agofix a cast and indentation
Timo Kreuzer [Thu, 22 May 2008 23:16:35 +0000 (23:16 +0000)]
fix a cast and indentation

svn path=/trunk/; revision=33651

15 years agoSync GetTempPathW with current Wine. This should help with some
Steven Edwards [Thu, 22 May 2008 21:07:41 +0000 (21:07 +0000)]
Sync GetTempPathW with current Wine. This should help with some
installers the depend on the USERPROFILE variable being present. Does
not fix the Word 2003 viewer install but changes the behavior slightly
and is more correct.

svn path=/trunk/; revision=33650

15 years ago- express PCH location in a more correct way
Marc Piulachs [Thu, 22 May 2008 20:45:58 +0000 (20:45 +0000)]
- express PCH location in a more correct way

svn path=/trunk/; revision=33649

15 years ago- add GetTraceEnableFlags prototype
Johannes Anderwald [Thu, 22 May 2008 20:26:53 +0000 (20:26 +0000)]
- add GetTraceEnableFlags prototype

svn path=/trunk/; revision=33648

15 years ago- Actually remove the exports.
Aleksey Bragin [Thu, 22 May 2008 19:44:43 +0000 (19:44 +0000)]
- Actually remove the exports.

svn path=/trunk/; revision=33647

15 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Thu, 22 May 2008 19:31:49 +0000 (19:31 +0000)]
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

15 years ago- fix integer to string representation
Johannes Anderwald [Thu, 22 May 2008 17:40:01 +0000 (17:40 +0000)]
- fix integer to string representation
- patch by Carlo Bramini
- bug 2437

svn path=/trunk/; revision=33645

15 years ago- define _WMI_SOURCE_ macro
Johannes Anderwald [Thu, 22 May 2008 17:23:47 +0000 (17:23 +0000)]
- define _WMI_SOURCE_ macro
- include evntrace header
- implement stubs for GetTraceLoggerHandle and TraceEvent and also export them

svn path=/trunk/; revision=33644

15 years ago- check if PEVENT_TRACE_HEADER is already defined
Johannes Anderwald [Thu, 22 May 2008 17:12:42 +0000 (17:12 +0000)]
- 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

15 years agoimplement SPI_GET/SETSTICKYKEYS, SPI_GET/SETFILTERKEYS, SPI_GET/SETTOGGLEKEYS, SPI_GE...
Timo Kreuzer [Thu, 22 May 2008 14:51:01 +0000 (14:51 +0000)]
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

15 years agofix a typo
Timo Kreuzer [Thu, 22 May 2008 14:36:25 +0000 (14:36 +0000)]
fix a typo

svn path=/trunk/; revision=33639

15 years agoPatch by Alex Ionescu <alex.ionescu@reactos.org>
KJK::Hyperion [Thu, 22 May 2008 13:40:42 +0000 (13:40 +0000)]
Patch by Alex Ionescu <alex.ionescu@reactos.org>
See issue #3054 for more details.

svn path=/trunk/; revision=33637

15 years agoReverting r33635
KJK::Hyperion [Thu, 22 May 2008 13:37:27 +0000 (13:37 +0000)]
Reverting r33635

svn path=/trunk/; revision=33636

15 years agoPatch by Alex Ionescu <alex.ionescu@reactos.org>
KJK::Hyperion [Thu, 22 May 2008 13:19:32 +0000 (13:19 +0000)]
Patch by Alex Ionescu <alex.ionescu@reactos.org>

See issue #3116 for more details.

svn path=/trunk/; revision=33635

15 years agoAdd NtGdiGetRandomRgn iCode values.
James Tabor [Thu, 22 May 2008 12:51:53 +0000 (12:51 +0000)]
Add NtGdiGetRandomRgn iCode values.

svn path=/trunk/; revision=33634

15 years ago - Remove WINE-isms from KeDeviceQueue code
KJK::Hyperion [Thu, 22 May 2008 11:46:46 +0000 (11:46 +0000)]
 - 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

15 years agoimplemented GetTitleBarInfo in user32 it works now same as xp/vista left todo impleme...
Magnus Olsen [Thu, 22 May 2008 08:39:24 +0000 (08:39 +0000)]
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

15 years ago- Fix a typo in this header's guard, prevents multiple inclusion.
Aleksey Bragin [Thu, 22 May 2008 07:17:16 +0000 (07:17 +0000)]
- Fix a typo in this header's guard, prevents multiple inclusion.

svn path=/trunk/; revision=33631

15 years agoFix behavior if bmi null in NtGdiCreateDIBSection. Start internal functions for regio...
James Tabor [Wed, 21 May 2008 22:32:13 +0000 (22:32 +0000)]
Fix behavior if bmi null in NtGdiCreateDIBSection. Start internal functions for regions, includes a wine port get_region_type.

svn path=/trunk/; revision=33629

15 years agoFix precompiled header name.
Hervé Poussineau [Wed, 21 May 2008 18:00:40 +0000 (18:00 +0000)]
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

15 years agoDisable precompiled headers for files which are in more than one module
Hervé Poussineau [Wed, 21 May 2008 17:57:24 +0000 (17:57 +0000)]
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

15 years ago- Fix build.
Aleksey Bragin [Wed, 21 May 2008 16:19:41 +0000 (16:19 +0000)]
- Fix build.

svn path=/trunk/; revision=33624

15 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Wed, 21 May 2008 16:10:00 +0000 (16:10 +0000)]
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

15 years ago- check input parameters in LoadString[A|W]
Johannes Anderwald [Wed, 21 May 2008 15:33:38 +0000 (15:33 +0000)]
- check input parameters in LoadString[A|W]
- fixes a winetest issue
- patch by Kamil Hornicek (Pigglesworth)

svn path=/trunk/; revision=33622

15 years ago- Fix a few typos in SHARED_CACHE_MAP definition in NDK.
Aleksey Bragin [Wed, 21 May 2008 15:28:43 +0000 (15:28 +0000)]
- 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

15 years ago- Convert imagehlp's .def file to .spec format (keeping same ordinals, etc), since...
Aleksey Bragin [Wed, 21 May 2008 14:43:29 +0000 (14:43 +0000)]
- 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

15 years agofilter the higher part of DWORD for return value of VBE return value from the BIOS
Magnus Olsen [Wed, 21 May 2008 13:47:22 +0000 (13:47 +0000)]
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

15 years ago- Fix wrong debug output when a process is terminated, by deleting the it's objects...
Timo Kreuzer [Tue, 20 May 2008 20:39:32 +0000 (20:39 +0000)]
- 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

15 years ago- Added 'MessageHeader' module type for handling .mc files
Marc Piulachs [Tue, 20 May 2008 19:46:14 +0000 (19:46 +0000)]
- Added 'MessageHeader' module type for handling .mc files
- turn .mc generated files (RC & Headers) into real dependencies

svn path=/trunk/; revision=33616

15 years ago- Add svchost to build
Marc Piulachs [Tue, 20 May 2008 19:33:00 +0000 (19:33 +0000)]
- Add svchost to build

svn path=/trunk/; revision=33615

15 years ago- Add code for getting language name
Dmitry Chapyshev [Tue, 20 May 2008 18:02:39 +0000 (18:02 +0000)]
- Add code for getting language name

svn path=/trunk/; revision=33614

15 years ago- monitor device name start with "\\.\\DISPLAY<number>" than with "\\??\\DISPLAY...
Johannes Anderwald [Tue, 20 May 2008 15:20:28 +0000 (15:20 +0000)]
- 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

15 years ago- zero DISPLAY_DEVICEW struct before passing it to NtUserEnumDisplayDevices
Johannes Anderwald [Tue, 20 May 2008 14:57:37 +0000 (14:57 +0000)]
- 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

15 years agoiterate the number of sections, not the number of directory entries
Ged Murphy [Tue, 20 May 2008 14:20:54 +0000 (14:20 +0000)]
iterate the number of sections, not the number of directory entries

svn path=/trunk/; revision=33611

15 years ago- remove unneeded cast in GetClipboardData
Johannes Anderwald [Tue, 20 May 2008 13:42:17 +0000 (13:42 +0000)]
- 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

15 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Tue, 20 May 2008 13:21:21 +0000 (13:21 +0000)]
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

15 years ago- Add kbsdll to bootcd
Dmitry Chapyshev [Tue, 20 May 2008 12:54:36 +0000 (12:54 +0000)]
- Add kbsdll to bootcd

svn path=/trunk/; revision=33608

15 years ago- Added kbsdll to install hooks (does not work on ReactOS). To switch layouts tempora...
Dmitry Chapyshev [Tue, 20 May 2008 12:53:31 +0000 (12:53 +0000)]
- Added kbsdll to install hooks (does not work on ReactOS). To switch layouts temporarily used keys Left Alt + F10

svn path=/trunk/; revision=33607

15 years agoBug 3256: Greek translation update for usetup by Apostulos Alexandris (djapal@gmail...
Daniel Reimer [Tue, 20 May 2008 08:49:40 +0000 (08:49 +0000)]
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

15 years agoWin32k:
James Tabor [Tue, 20 May 2008 02:54:33 +0000 (02:54 +0000)]
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, 00f8057000f80570
 f5e, 60010f5e,      0,      0, 80000012e28ce008,       DC,   6001,      4, 0000000000000000
 f9d, b4010f9d,      0,      0,  d60, e2ee6008,       DC,   b401,      0, 0035000000350000

svn path=/trunk/; revision=33605

15 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Mon, 19 May 2008 20:47:31 +0000 (20:47 +0000)]
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

15 years ago- Removed hard coded bootsector from *Iso module types and express it with rbuild...
Marc Piulachs [Mon, 19 May 2008 20:46:46 +0000 (20:46 +0000)]
- 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

15 years agoUse dynamic traces
Hervé Poussineau [Mon, 19 May 2008 20:34:04 +0000 (20:34 +0000)]
Use dynamic traces

svn path=/trunk/; revision=33602

15 years ago- Ugly hack about corrupted KernelData pointer, which is being accessed. Hacks around...
Aleksey Bragin [Mon, 19 May 2008 20:27:48 +0000 (20:27 +0000)]
- 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

15 years agoAdd correction for GetClassName.
James Tabor [Mon, 19 May 2008 19:23:02 +0000 (19:23 +0000)]
Add correction for GetClassName.

svn path=/trunk/; revision=33600