reactos.git
13 years ago- Fix a few bugs
Johannes Anderwald [Fri, 21 Aug 2009 18:36:43 +0000 (18:36 +0000)]
- Fix a few bugs
- Bug1 - BufferOverflow
- Bug2 - ks expects a '\\' for each pin creation request
- Bug3 - ObjectLength was not correctly set, thus truncating the request
- Bug4 - Zero byte was not set at correct offset, potentialy leading to a heap overflow

svn path=/trunk/; revision=42832

13 years ago- Fix EXT2 IFS for msvc:
Stefan Ginsberg [Fri, 21 Aug 2009 17:39:37 +0000 (17:39 +0000)]
- Fix EXT2 IFS for msvc:
  - Fix SEH for MSVC
  - Disable C4003 (caused by the try_return mess)
  - Add missing NTAPI to Ext2GetCurrentTime

svn path=/trunk/; revision=42831

13 years agofixed typo in German translation
Matthias Kupfer [Fri, 21 Aug 2009 17:27:28 +0000 (17:27 +0000)]
fixed typo in German translation

svn path=/trunk/; revision=42830

13 years ago- svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
Stefan Ginsberg [Fri, 21 Aug 2009 15:57:26 +0000 (15:57 +0000)]
- svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
- ddraw, imm32, msxml3, oleaut32, riched20: Include typeof.h for typeof emulation when compiling under MSVC and remove from ReactOS-generic.rbuild (this can't go to port.h as the modules do not include it).
- TCPIP: Fix a check for MSVC.
- NDIS: Don't use floating point arithmetics in kernel mode -- spotted by MSVC trying to link to ftol (gcc inlined the operation).
- SAMLIB: Use __VA_ARGS__ instead of gcc-specific macro manipulation.
- WIN32CSR: Don't use gcc-specific \% if you want % in the string -- this is incorrect and will pass a broken string to swprintf (the code seems to be uncalled though, so this shouldn't change anything). Use %% instead.
- Error out on MSVC implementation of logb -- it doesn't produce the same code as the gcc version.
- Rename gcc's float.h to gcc_float.h and use #include instead of #include_next for consistency.
- Remove leftover header guard from types.h
- Remove superfluous brackets from PSEH2->MSVC defines -- this isn't necessary anymore after 41597
- Correction to 42216: MSVC *does* let you define types in a function, but only at the top of scope. Move back the C_ASSERT into KiAcquireGuardedMutex.
- Simplify definition of alloca
- scripts.cpp: Silence unavoidable warning.
- Remove compile time warning from Uniata -- the code has been unused for 1 1/2 years and will probably remain so.

svn path=/trunk/; revision=42829

13 years ago- Kernel is not yet writing the Control key when activating a device interface
Johannes Anderwald [Fri, 21 Aug 2009 15:08:46 +0000 (15:08 +0000)]
- Kernel is not yet writing the Control key when activating a device interface

svn path=/trunk/; revision=42828

13 years ago- RegQueryValueExW returns ERRROR_SUCCESS
Johannes Anderwald [Fri, 21 Aug 2009 14:53:04 +0000 (14:53 +0000)]
- RegQueryValueExW returns ERRROR_SUCCESS

svn path=/trunk/; revision=42827

13 years agoRemove glyph guard (bug #933): there is no way to such an exclusion properly without...
Gregor Schneider [Fri, 21 Aug 2009 14:35:48 +0000 (14:35 +0000)]
Remove glyph guard (bug #933): there is no way to such an exclusion properly without working GetCharPlacement, every font engine handles glyphed output slightly different. Fixes Abiword text regression

svn path=/trunk/; revision=42826

13 years ago- Remove test code
Johannes Anderwald [Fri, 21 Aug 2009 13:15:38 +0000 (13:15 +0000)]
- Remove test code

svn path=/trunk/; revision=42825

13 years ago- Convert a wrong macro to an inlined function.
Aleksey Bragin [Fri, 21 Aug 2009 13:01:27 +0000 (13:01 +0000)]
- Convert a wrong macro to an inlined function.

svn path=/trunk/; revision=42824

13 years ago- Partly implement KsCreateBusEnumObject
Johannes Anderwald [Fri, 21 Aug 2009 12:58:20 +0000 (12:58 +0000)]
- Partly implement KsCreateBusEnumObject

svn path=/trunk/; revision=42823

13 years ago- co_IntLoadSysMenuTemplate: only copy buffer if prior operation succeeded, bug ...
Gregor Schneider [Fri, 21 Aug 2009 11:27:24 +0000 (11:27 +0000)]
- co_IntLoadSysMenuTemplate: only copy buffer if prior operation succeeded, bug #4803
- co_IntLoadDefaultCursors: result is not used, no need to copy it

svn path=/trunk/; revision=42822

13 years ago- Don't touch the freed buffer in case of an error
Johannes Anderwald [Fri, 21 Aug 2009 10:30:05 +0000 (10:30 +0000)]
- Don't touch the freed buffer in case of an error
- Found by Amine Khaldi

svn path=/trunk/; revision=42821

13 years ago- Remove hacks for bug 4566
Johannes Anderwald [Fri, 21 Aug 2009 10:06:29 +0000 (10:06 +0000)]
- Remove hacks for bug 4566

svn path=/trunk/; revision=42820

13 years ago- Reference strings are not part of the symbolic link. Therefore don't include them...
Johannes Anderwald [Fri, 21 Aug 2009 10:02:25 +0000 (10:02 +0000)]
- Reference strings are not part of the symbolic link. Therefore don't include them when creating the symbolic link (IoCreateSymbolicLink)
- Reference strings are used by the kernel streaming system to distinguish kernel streaming filters. As it is perfectly possible, to provide more than one filter with same guid but different reference string, ignore the failure for now if IoCreateSymbolicLink fails

See issue #4566 for more details.

svn path=/trunk/; revision=42819

13 years agoAlexander Yastrebov <menone7 AT gmail DOT com>
Matthias Kupfer [Fri, 21 Aug 2009 09:00:54 +0000 (09:00 +0000)]
Alexander Yastrebov  <menone7 AT gmail DOT com>
- Russian translation and update of utorrent added.
- see issue #4762 for details.
- stupid BOM for compatibility added.

svn path=/trunk/; revision=42818

13 years ago- Include windef.h so CDECL gets declared for msvc's version of DEFINE_GUIDEX in...
Stefan Ginsberg [Thu, 20 Aug 2009 20:02:19 +0000 (20:02 +0000)]
- Include windef.h so CDECL gets declared for msvc's version of DEFINE_GUIDEX in ks.h

svn path=/trunk/; revision=42817

13 years agorevert 41654
Christoph von Wittich [Thu, 20 Aug 2009 18:16:35 +0000 (18:16 +0000)]
revert 41654

svn path=/trunk/; revision=42816

13 years agosync mlang winetest with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 18:11:21 +0000 (18:11 +0000)]
sync mlang winetest with wine 1.1.27

svn path=/trunk/; revision=42815

13 years agoadvapi32: fix parameter types of CreateServiceA/W in spec file
Christoph von Wittich [Thu, 20 Aug 2009 18:08:05 +0000 (18:08 +0000)]
advapi32: fix parameter types of CreateServiceA/W in spec file
patch by Stefan Leichter <Stefan dot Leichter at camline dot com>

svn path=/trunk/; revision=42814

13 years agosync wintrust with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 17:39:08 +0000 (17:39 +0000)]
sync wintrust with wine 1.1.27

svn path=/trunk/; revision=42813

13 years ago - Forgot to change debug print
Cameron Gutman [Thu, 20 Aug 2009 17:33:22 +0000 (17:33 +0000)]
 - Forgot to change debug print

svn path=/trunk/; revision=42812

13 years ago - Fix receiving packets on an interface's broadcast address while bound to an undefi...
Cameron Gutman [Thu, 20 Aug 2009 17:25:39 +0000 (17:25 +0000)]
 - Fix receiving packets on an interface's broadcast address while bound to an undefined address
 - Simplify binding to a certain interface

svn path=/trunk/; revision=42811

13 years ago- Fix some C4115 in typeof.h
Stefan Ginsberg [Thu, 20 Aug 2009 17:15:46 +0000 (17:15 +0000)]
- Fix some C4115 in typeof.h

svn path=/trunk/; revision=42810

13 years ago- 4th part of German translation of rapps entries.
Matthias Kupfer [Thu, 20 Aug 2009 16:40:57 +0000 (16:40 +0000)]
- 4th part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42809

13 years ago- Get rid of some more assumptions that the default calling convention is stdcall
Stefan Ginsberg [Thu, 20 Aug 2009 14:45:32 +0000 (14:45 +0000)]
- Get rid of some more assumptions that the default calling convention is stdcall

svn path=/trunk/; revision=42808

13 years ago- Get rid of DECLSPEC_EXPORT from DDK
Stefan Ginsberg [Thu, 20 Aug 2009 13:57:16 +0000 (13:57 +0000)]
- Get rid of DECLSPEC_EXPORT from DDK
- "Isolate Hal* #defines, which are absent in WDK, they should not be used in kernel development." No, exactly, and they shouldn't be used in Xbox HAL either

svn path=/trunk/; revision=42807

13 years ago- Remove usage of dllexport for most dlls and drivers -- we use .def/.spec instead.
Stefan Ginsberg [Thu, 20 Aug 2009 13:45:01 +0000 (13:45 +0000)]
- Remove usage of dllexport for most dlls and drivers  -- we use .def/.spec instead.

svn path=/trunk/; revision=42806

13 years ago- Implement KsCopyObjectBagItems
Johannes Anderwald [Thu, 20 Aug 2009 13:21:24 +0000 (13:21 +0000)]
- Implement KsCopyObjectBagItems

svn path=/trunk/; revision=42805

13 years ago- Implement DllInitialize
Johannes Anderwald [Thu, 20 Aug 2009 12:38:52 +0000 (12:38 +0000)]
- Implement DllInitialize

svn path=/trunk/; revision=42804

13 years ago- Release ntddsnd.h, portcls.h. punknown.h and stdunk.h to the public domain (silverb...
Stefan Ginsberg [Thu, 20 Aug 2009 12:27:08 +0000 (12:27 +0000)]
- Release ntddsnd.h, portcls.h. punknown.h and stdunk.h to the public domain (silverblade and janderwald have agreed to this).

svn path=/trunk/; revision=42803

13 years ago- Define automation tables for Filter & Pin
Johannes Anderwald [Thu, 20 Aug 2009 12:26:09 +0000 (12:26 +0000)]
- Define automation tables for Filter & Pin
- Plug in automation tables when creating a new filter factory / pin

svn path=/trunk/; revision=42802

13 years ago- Add KsMergeAutomationTables
Johannes Anderwald [Thu, 20 Aug 2009 12:11:36 +0000 (12:11 +0000)]
- Add KsMergeAutomationTables

svn path=/trunk/; revision=42801

13 years ago- Remove several assumptions that the default calling convention is stdcall (it isn...
Stefan Ginsberg [Thu, 20 Aug 2009 12:09:16 +0000 (12:09 +0000)]
- Remove several assumptions that the default calling convention is stdcall (it isn't under gcc)
- Fix even more definitions of function pointer protypes to define the calling convention compatibly for MSVC
- Don't use dllexport in scsiport -- fixes linking under msvc

svn path=/trunk/; revision=42800

13 years ago- Add types for bda driver
Johannes Anderwald [Thu, 20 Aug 2009 11:55:42 +0000 (11:55 +0000)]
- Add types for bda driver

svn path=/trunk/; revision=42799

13 years agosync credui with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 11:41:11 +0000 (11:41 +0000)]
sync credui with wine 1.1.27

svn path=/trunk/; revision=42798

13 years ago- Add types for bda driver
Johannes Anderwald [Thu, 20 Aug 2009 11:39:54 +0000 (11:39 +0000)]
- Add types for bda driver

svn path=/trunk/; revision=42797

13 years agosync oledlg with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 10:36:10 +0000 (10:36 +0000)]
sync oledlg with wine 1.1.27

svn path=/trunk/; revision=42796

13 years agoDon't use dllexport for videoprt; we use a .spec. Also, don't use DDKAPI as it is...
Stefan Ginsberg [Thu, 20 Aug 2009 10:29:54 +0000 (10:29 +0000)]
Don't use dllexport for videoprt; we use a .spec. Also, don't use DDKAPI as it is a w32api/ReactOS define.
We welcome videoprt into the club of modules compiling *and* linking under msvc.

svn path=/trunk/; revision=42795

13 years agosync cryptui with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 10:22:38 +0000 (10:22 +0000)]
sync cryptui with wine 1.1.27

svn path=/trunk/; revision=42794

13 years agosync cryptnet with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 10:19:17 +0000 (10:19 +0000)]
sync cryptnet with wine 1.1.27

svn path=/trunk/; revision=42793

13 years agosync cryptdlg with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 10:06:41 +0000 (10:06 +0000)]
sync cryptdlg with wine 1.1.27

svn path=/trunk/; revision=42792

13 years agosync crypt32 with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 10:03:19 +0000 (10:03 +0000)]
sync crypt32 with wine 1.1.27

svn path=/trunk/; revision=42791

13 years agosync cabinet winetest with wine 1.1.27
Christoph von Wittich [Thu, 20 Aug 2009 09:41:42 +0000 (09:41 +0000)]
sync cabinet winetest with wine 1.1.27

svn path=/trunk/; revision=42790

13 years agoNo bug is too trivial to report:
Dmitry Gorbachev [Thu, 20 Aug 2009 06:54:44 +0000 (06:54 +0000)]
No bug is too trivial to report:
- remove a stray semicolon (bug #4804).

svn path=/trunk/; revision=42789

13 years ago- Implement window message is active icon.
James Tabor [Thu, 20 Aug 2009 01:49:25 +0000 (01:49 +0000)]
- Implement window message is active icon.

svn path=/trunk/; revision=42788

13 years ago - Allow binding to an interface's broadcast address
Cameron Gutman [Thu, 20 Aug 2009 00:54:27 +0000 (00:54 +0000)]
 - Allow binding to an interface's broadcast address
 - Set address type

svn path=/trunk/; revision=42787

13 years ago- Add bda driver
Johannes Anderwald [Wed, 19 Aug 2009 12:40:02 +0000 (12:40 +0000)]
- Add bda driver

svn path=/trunk/; revision=42786

13 years ago- Arch should learn english first before bashing gcc
Johannes Anderwald [Wed, 19 Aug 2009 12:32:56 +0000 (12:32 +0000)]
- Arch should learn english first before bashing gcc

svn path=/trunk/; revision=42785

13 years ago- Implement KsProbeStreamIrp
Johannes Anderwald [Wed, 19 Aug 2009 12:24:28 +0000 (12:24 +0000)]
- Implement KsProbeStreamIrp
- Currently commented out as gcc finds it hard to find a member in a struct

svn path=/trunk/; revision=42784

13 years ago- fix check
Johannes Anderwald [Wed, 19 Aug 2009 12:19:56 +0000 (12:19 +0000)]
- fix check

svn path=/trunk/; revision=42783

13 years ago- Add flags
Johannes Anderwald [Wed, 19 Aug 2009 12:14:42 +0000 (12:14 +0000)]
- Add flags

svn path=/trunk/; revision=42782

13 years ago- third part of German translation of rapps entries.
Matthias Kupfer [Wed, 19 Aug 2009 11:28:00 +0000 (11:28 +0000)]
- third part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42781

13 years ago- GetGlyphOutline: fail if output or transformation matrix buffers are not passed
Gregor Schneider [Wed, 19 Aug 2009 11:23:31 +0000 (11:23 +0000)]
- GetGlyphOutline: fail if output or transformation matrix buffers are not passed
- Fixes three gdi32 font winetests

svn path=/trunk/; revision=42780

13 years ago- Sync and adapt Wine font metric code for setting first, last, default and break...
Gregor Schneider [Wed, 19 Aug 2009 11:02:10 +0000 (11:02 +0000)]
- Sync and adapt Wine font metric code for setting first, last, default and break characters
- Fixes approx 80 gdi32 font winetests

svn path=/trunk/; revision=42779

13 years ago - Fix release build
Cameron Gutman [Tue, 18 Aug 2009 22:15:06 +0000 (22:15 +0000)]
 - Fix release build

svn path=/trunk/; revision=42778

13 years ago - I guess kdesvn didn't realize that when I check the box for include/reactos/winsoc...
Cameron Gutman [Tue, 18 Aug 2009 21:54:55 +0000 (21:54 +0000)]
 - I guess kdesvn didn't realize that when I check the box for include/reactos/winsock that I actually wanted the files in it to be committed also

svn path=/trunk/; revision=42777

13 years ago - Fix ws2_32_new's build problems
Cameron Gutman [Tue, 18 Aug 2009 21:40:20 +0000 (21:40 +0000)]
 - Fix ws2_32_new's build problems
 - ws2_32_new is now included in build (output file is ws2_32_new.dll for any curious testers :P)

svn path=/trunk/; revision=42776

13 years ago - Print a message to the debug log if ZwClose returns STATUS_INVALID_HANDLE
Cameron Gutman [Tue, 18 Aug 2009 20:43:13 +0000 (20:43 +0000)]
 - Print a message to the debug log if ZwClose returns STATUS_INVALID_HANDLE
 - This message will only after "cont"ing past the bugcheck and will hopefully help me track down bug 4796

svn path=/trunk/; revision=42775

13 years ago - Fix null pointer dereferences
Cameron Gutman [Tue, 18 Aug 2009 20:30:58 +0000 (20:30 +0000)]
 - Fix null pointer dereferences
 - Fix out of bounds array access
 - Check that we got a valid pointer from HeapAlloc
 - Don't close the caller's handle when we fail
 - Fix a memory leak
 - Found by Amine Khaldi

svn path=/trunk/; revision=42774

13 years ago- Improve glyph guard from r42749: allow displaying glyphs if the application knows...
Gregor Schneider [Tue, 18 Aug 2009 19:51:32 +0000 (19:51 +0000)]
- Improve glyph guard from r42749: allow displaying glyphs if the application knows the character placements
- Some rendering engines (like FF3) do the conversion without using GetCharacterPlacementA/W

svn path=/trunk/; revision=42773

13 years ago - Fix dereference of freed memory
Cameron Gutman [Tue, 18 Aug 2009 19:06:52 +0000 (19:06 +0000)]
 - Fix dereference of freed memory

svn path=/trunk/; revision=42772

13 years ago - Fix a typo
Cameron Gutman [Tue, 18 Aug 2009 19:04:51 +0000 (19:04 +0000)]
 - Fix a typo

svn path=/trunk/; revision=42771

13 years ago - Make sure HeapAlloc returned a valid pointer
Cameron Gutman [Tue, 18 Aug 2009 18:53:10 +0000 (18:53 +0000)]
 - Make sure HeapAlloc returned a valid pointer
 - Fix some memory leaks
 - Return a better status for STATUS_INSUFFICIENT_RESOURCES and STATUS_NO_MEMORY
 - Fix a potential null pointer dereference in SetSocketInformation and GetSocketInformation
 - Initialize RemoteAddress so we aren't trying to copy the remote address to 0
 - Found by Amine Khaldi

svn path=/trunk/; revision=42770

13 years ago - Handle failure of NdisMInitializeWrapper
Cameron Gutman [Tue, 18 Aug 2009 18:01:26 +0000 (18:01 +0000)]
 - Handle failure of NdisMInitializeWrapper
 - Found by Amine Khaldi

svn path=/trunk/; revision=42769

13 years ago - Verify that we got a handle to a file object
Cameron Gutman [Tue, 18 Aug 2009 16:23:31 +0000 (16:23 +0000)]
 - Verify that we got a handle to a file object

svn path=/trunk/; revision=42768

13 years agoCheck the correct buffer for failed memory allocation, found by Amine Khaldi
Gregor Schneider [Tue, 18 Aug 2009 14:43:47 +0000 (14:43 +0000)]
Check the correct buffer for failed memory allocation, found by Amine Khaldi

svn path=/trunk/; revision=42767

13 years agoSync scanf to current wine sources, correct msvcrt cpp sync date
Gregor Schneider [Tue, 18 Aug 2009 14:23:51 +0000 (14:23 +0000)]
Sync scanf to current wine sources, correct msvcrt cpp sync date

svn path=/trunk/; revision=42766

13 years ago- GetConsoleAliasW: Check for invalid target buffer, failed memory allocation + set...
Gregor Schneider [Tue, 18 Aug 2009 13:47:02 +0000 (13:47 +0000)]
- GetConsoleAliasW: Check for invalid target buffer, failed memory allocation + set last error

svn path=/trunk/; revision=42765

13 years ago- GetConsoleAliasA: Check for invalid target buffer, failed memory allocations (3x)
Gregor Schneider [Tue, 18 Aug 2009 13:39:28 +0000 (13:39 +0000)]
- GetConsoleAliasA: Check for invalid target buffer, failed memory allocations (3x)
- Found by Amine Khaldi

svn path=/trunk/; revision=42764

13 years ago- Implement IPortEvents interface for IPortTopology
Johannes Anderwald [Tue, 18 Aug 2009 08:24:09 +0000 (08:24 +0000)]
- Implement IPortEvents interface for IPortTopology
- Fix a bug in the IPortEvents::QueryInterface handler of IPortWaveCyclic & IPortWavePci

svn path=/trunk/; revision=42762

13 years ago- Increment reference count only if resource list was passed
Johannes Anderwald [Tue, 18 Aug 2009 08:03:12 +0000 (08:03 +0000)]
- Increment reference count only if resource list was passed
- May fix A.8738-4C

svn path=/trunk/; revision=42761

13 years agoMove IF_OPER_STATUS enum to ifdef.h
Sylvain Petreolle [Mon, 17 Aug 2009 19:46:30 +0000 (19:46 +0000)]
Move IF_OPER_STATUS enum to ifdef.h

svn path=/trunk/; revision=42760

13 years ago[WDMAUD.DRV]
Johannes Anderwald [Mon, 17 Aug 2009 17:23:35 +0000 (17:23 +0000)]
[WDMAUD.DRV]
- Disable traces
- Use device name from IOCTL
[WDMAUD_KERNEL]
- Implement retrieving devicename by looking up in the registry
[SYSAUDIO]
- Implement KSPROPERTY_SYSAUDIO_DEVICE_INTERFACE_NAME
- Audio CPL should now show correct audio device name

svn path=/trunk/; revision=42759

13 years ago- Remove duplicate WToA conversion routine, update the kept version to current Wine
Gregor Schneider [Mon, 17 Aug 2009 17:03:55 +0000 (17:03 +0000)]
- Remove duplicate WToA conversion routine, update the kept version to current Wine
- Adapt calling functions from BOOL to VOID since they can't fail
- Fixes ~two font tests

svn path=/trunk/; revision=42758

13 years ago- Implement usermode mixing support
Johannes Anderwald [Mon, 17 Aug 2009 13:49:19 +0000 (13:49 +0000)]
- Implement usermode mixing support
- To enable, see wdmaud rbuild

svn path=/trunk/; revision=42757

13 years ago- Fix a big bug in the samplerate conversion routine
Johannes Anderwald [Mon, 17 Aug 2009 13:39:20 +0000 (13:39 +0000)]
- Fix a big bug in the samplerate conversion routine

svn path=/trunk/; revision=42756

13 years ago- Add members required for usermode-mixing support
Johannes Anderwald [Mon, 17 Aug 2009 13:37:57 +0000 (13:37 +0000)]
- Add members required for usermode-mixing support

svn path=/trunk/; revision=42755

13 years ago- Add win32k support functions for GetCharacterPlacement.
James Tabor [Mon, 17 Aug 2009 05:46:57 +0000 (05:46 +0000)]
- Add win32k support functions for GetCharacterPlacement.

svn path=/trunk/; revision=42754

13 years agoSync all apps with wine 1.1.27. (reactos)
Daniel Reimer [Mon, 17 Aug 2009 01:42:32 +0000 (01:42 +0000)]
Sync all apps with wine 1.1.27. (reactos)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we don't support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.
Now all Wine apps properly work again.

svn path=/trunk/; revision=42753

13 years agoSync all apps with wine 1.1.27. (rosapps)
Daniel Reimer [Mon, 17 Aug 2009 01:37:17 +0000 (01:37 +0000)]
Sync all apps with wine 1.1.27. (rosapps)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we dont support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.

svn path=/trunk/; revision=42752

13 years ago- Move GetCharacterPlacement functions into new locations. Implemented GetCharacterPl...
James Tabor [Mon, 17 Aug 2009 01:34:20 +0000 (01:34 +0000)]
- Move GetCharacterPlacement functions into new locations. Implemented GetCharacterPlacementA from wine port.
- Port from wine, original authors: Juergen Schmied <juergen.schmied@metronet.de>, Peter Oberndorfer <kumbayo84@arcor.de>

svn path=/trunk/; revision=42751

13 years ago- Add callback for client side thread startup. This is for bug 4785.
James Tabor [Mon, 17 Aug 2009 00:30:25 +0000 (00:30 +0000)]
- Add callback for client side thread startup. This is for bug 4785.

svn path=/trunk/; revision=42750

13 years ago- Don't allow glyph indices (ETO_GLYPH_INDEX) in ExtTextOut as long as they are not...
Gregor Schneider [Mon, 17 Aug 2009 00:24:46 +0000 (00:24 +0000)]
- Don't allow glyph indices (ETO_GLYPH_INDEX) in ExtTextOut as long as they are not created properly
- GetCharacterPlacementA/W has to work to allow this, currently broken/stubbed
- Switch to full text processing mode so that those texts are shown
- Fixes garbled text in OpenOffice 1.14/1.15 installers, bug #933

svn path=/trunk/; revision=42749

13 years agoHandle a missing output buffer in NtGdiGetCharABCWidthsW
Gregor Schneider [Mon, 17 Aug 2009 00:13:44 +0000 (00:13 +0000)]
Handle a missing output buffer in NtGdiGetCharABCWidthsW

svn path=/trunk/; revision=42748

13 years agoAdd an assertion. See bug #4785.
Dmitry Gorbachev [Sun, 16 Aug 2009 22:52:05 +0000 (22:52 +0000)]
Add an assertion. See bug #4785.

svn path=/trunk/; revision=42747

13 years ago- [Win32k] Removed W32THREADINFO.
James Tabor [Sun, 16 Aug 2009 21:44:59 +0000 (21:44 +0000)]
- [Win32k] Removed W32THREADINFO.
- Tested AbiWord, User32 wine tests. Yes, of course, this needs more testing.

svn path=/trunk/; revision=42746

13 years agoHandle failure of EngLockSurface as well
Gregor Schneider [Sun, 16 Aug 2009 20:11:31 +0000 (20:11 +0000)]
Handle failure of EngLockSurface as well

svn path=/trunk/; revision=42745

13 years ago- Revert 32309 -- instead of removing FORCEINLINE to make GCC happy (it can't inline...
Stefan Ginsberg [Sun, 16 Aug 2009 20:08:48 +0000 (20:08 +0000)]
- Revert 32309 -- instead of removing FORCEINLINE to make GCC happy (it can't inline functions using va_list), use __inline to merely hint that the function should be inlined. This lets you use RtlStringCbPrintfA and RtlStringCbPrintfExA in multiple source files as the functions aren't static.
- Moreover, there is no reason to forceinline all the RtlString* routines -- they are quite big and the compiler should be allowed to optimize here as it likes, so just use __inline. Also add RtlStringCchCopyA and re-enable ASSERTMSG and use it for the stubs.
- Add missing GUID_CLASS_COMPORT and GUID_SERENUM_BUS_ENUMERATOR to ntddser.h
- Add driverspecs.h to stub out Driver Verifier annotations
- The WDK serenum source sample now compiles with our header set.

svn path=/trunk/; revision=42744

13 years agoHandle failure of EngCreateClip, spotted by Amine Khaldi
Gregor Schneider [Sun, 16 Aug 2009 19:56:40 +0000 (19:56 +0000)]
Handle failure of EngCreateClip, spotted by Amine Khaldi

svn path=/trunk/; revision=42743

13 years ago- Copy the source rectangle after checking it
Gregor Schneider [Sun, 16 Aug 2009 19:43:58 +0000 (19:43 +0000)]
- Copy the source rectangle after checking it
- Create input rectangle from destination size if source is not used

svn path=/trunk/; revision=42742

13 years agoAllocate span memory for every clipping type, not only for one
Gregor Schneider [Sun, 16 Aug 2009 19:20:50 +0000 (19:20 +0000)]
Allocate span memory for every clipping type, not only for one

svn path=/trunk/; revision=42741

13 years agoAdd some useful information to the popen header
Gregor Schneider [Sun, 16 Aug 2009 18:58:25 +0000 (18:58 +0000)]
Add some useful information to the popen header

svn path=/trunk/; revision=42740

13 years agoOnly set the pattern function pointer if the pattern surface is valid, spotted by...
Gregor Schneider [Sun, 16 Aug 2009 18:52:06 +0000 (18:52 +0000)]
Only set the pattern function pointer if the pattern surface is valid, spotted by Amine Khaldi

svn path=/trunk/; revision=42739

13 years agoTests to exercise support for calling stack-allocated trampolines. All three tests...
KJK::Hyperion [Sun, 16 Aug 2009 16:50:35 +0000 (16:50 +0000)]
Tests to exercise support for calling stack-allocated trampolines. All three tests pass

svn path=/trunk/; revision=42738

13 years agomodified include/reactos/libs/pseh/pseh2.h
KJK::Hyperion [Sun, 16 Aug 2009 16:40:52 +0000 (16:40 +0000)]
modified   include/reactos/libs/pseh/pseh2.h
   Trampoline-related definitions are no longer necessary in the public header

modified   lib/pseh/i386/framebased-gcchack.c
   Don't use byte arrays when you mean unaligned field, Arch: use __attribute__((packed)) instead, and gcc will thank you for not violating strong aliasing

svn path=/trunk/; revision=42737

13 years ago- Remove incorrect #pragma pack/pop
Stefan Ginsberg [Sun, 16 Aug 2009 13:20:19 +0000 (13:20 +0000)]
- Remove incorrect #pragma pack/pop

svn path=/trunk/; revision=42736

13 years agoUpdate PDEVOBJ and GRAPHICS_DEVICE fields
Timo Kreuzer [Sun, 16 Aug 2009 12:57:41 +0000 (12:57 +0000)]
Update PDEVOBJ and GRAPHICS_DEVICE fields

svn path=/trunk/; revision=42735

13 years ago- Woops, NDIS_PHYSICAL_MEDIUM got lost somehow... and NDIS_MEDIUM belongs in ntddndis...
Stefan Ginsberg [Sun, 16 Aug 2009 12:53:31 +0000 (12:53 +0000)]
- Woops, NDIS_PHYSICAL_MEDIUM got lost somehow... and NDIS_MEDIUM belongs in ntddndis.h too

svn path=/trunk/; revision=42734

13 years ago- Fix ntstrsafe.h's dependency on debug.h
Stefan Ginsberg [Sun, 16 Aug 2009 12:42:18 +0000 (12:42 +0000)]
- Fix ntstrsafe.h's dependency on debug.h

svn path=/trunk/; revision=42733

13 years ago- Remove duplicate ntddndis.h in /psdk/ -- we already have it in /ddk/. Add the dupli...
Stefan Ginsberg [Sun, 16 Aug 2009 12:37:44 +0000 (12:37 +0000)]
- Remove duplicate ntddndis.h in /psdk/ -- we already have it in /ddk/. Add the duplicated types to the DDK version. Also move NDIS_OBJECT_HEADER over to ntddndis.h from ndis.h as this is where it belongs.
- Remove "ntdd1934.h" -- this header should be named ntdd1394.h. We already have a copy named so, but the old incompatible header wasn't removed.

svn path=/trunk/; revision=42732