reactos.git
11 years ago- Silence a soundblaster warning on release build
Stefan Ginsberg [Sat, 8 Aug 2009 14:41:50 +0000 (14:41 +0000)]
- Silence a soundblaster warning on release build

svn path=/trunk/; revision=42516

11 years ago- Undefine __ROS_LONG64__ for ReactOS' extensions to kernel32 and setupapi Winetests...
Stefan Ginsberg [Sat, 8 Aug 2009 13:34:12 +0000 (13:34 +0000)]
- Undefine __ROS_LONG64__ for ReactOS' extensions to kernel32 and setupapi Winetests -- fixes even more warnings

svn path=/trunk/; revision=42514

11 years ago- Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
Stefan Ginsberg [Sat, 8 Aug 2009 13:32:15 +0000 (13:32 +0000)]
- Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
- Make RPC_STATUS respect __ROS_LONG64__ -- fixes a bunch of format warnings in the rpcrt4 Winetest.

svn path=/trunk/; revision=42513

11 years agosync msi winetest with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 12:48:20 +0000 (12:48 +0000)]
sync msi winetest with wine 1.1.27

svn path=/trunk/; revision=42511

11 years agosync widl to wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 12:40:21 +0000 (12:40 +0000)]
sync widl to wine 1.1.27

svn path=/trunk/; revision=42510

11 years agoalways build 32 bit typelibs
Christoph von Wittich [Sat, 8 Aug 2009 12:37:01 +0000 (12:37 +0000)]
always build 32 bit typelibs

svn path=/trunk/; revision=42509

11 years agosync msi with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 11:55:51 +0000 (11:55 +0000)]
sync msi with wine 1.1.27

svn path=/trunk/; revision=42507

11 years ago-time() returns a valid value even if no pointer is passed
Gregor Schneider [Sat, 8 Aug 2009 11:40:48 +0000 (11:40 +0000)]
-time() returns a valid value even if no pointer is passed
-Exposes another bug: kernel32's GetSystemTimeAsFileTime currently returns invalid (too low) time values

svn path=/trunk/; revision=42506

11 years agofix rc files
Christoph von Wittich [Sat, 8 Aug 2009 10:48:08 +0000 (10:48 +0000)]
fix rc files

svn path=/trunk/; revision=42505

11 years agopartial revert of r41765
Christoph von Wittich [Sat, 8 Aug 2009 10:22:51 +0000 (10:22 +0000)]
partial revert of r41765

svn path=/trunk/; revision=42504

11 years agopartial revert of r41770
Christoph von Wittich [Sat, 8 Aug 2009 10:18:41 +0000 (10:18 +0000)]
partial revert of r41770

svn path=/trunk/; revision=42503

11 years agopartial revert of r41768
Christoph von Wittich [Sat, 8 Aug 2009 10:14:13 +0000 (10:14 +0000)]
partial revert of r41768

svn path=/trunk/; revision=42502

11 years agopartial revert of r41766
Christoph von Wittich [Sat, 8 Aug 2009 10:09:14 +0000 (10:09 +0000)]
partial revert of r41766

svn path=/trunk/; revision=42501

11 years agoInclude header where needed
Pierre Schweitzer [Sat, 8 Aug 2009 09:49:27 +0000 (09:49 +0000)]
Include header where needed

svn path=/trunk/; revision=42499

11 years ago-sync wrc to wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 09:09:37 +0000 (09:09 +0000)]
-sync wrc to wine 1.1.27
-apply a patch from Marcus Meissner to fix reading from stdin (broken in current wine)

svn path=/trunk/; revision=42498

11 years agosync jscript_winetest with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 07:34:31 +0000 (07:34 +0000)]
sync jscript_winetest with wine 1.1.27

svn path=/trunk/; revision=42497

11 years agosync jscript with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 07:34:09 +0000 (07:34 +0000)]
sync jscript with wine 1.1.27

svn path=/trunk/; revision=42496

11 years ago[lsasrv] Do not launch a thread to listen for incoming calls, but do it directly
Hervé Poussineau [Sat, 8 Aug 2009 07:27:37 +0000 (07:27 +0000)]
[lsasrv] Do not launch a thread to listen for incoming calls, but do it directly
Better LsarClose stub, which tries to do the right thing
Fix a few prototypes
See issue #4689 for more details.

svn path=/trunk/; revision=42495

11 years agodelete obsolete diff
Christoph von Wittich [Sat, 8 Aug 2009 07:20:55 +0000 (07:20 +0000)]
delete obsolete diff

svn path=/trunk/; revision=42494

11 years agoallow warnings for idl
Christoph von Wittich [Sat, 8 Aug 2009 07:06:52 +0000 (07:06 +0000)]
allow warnings for idl

svn path=/trunk/; revision=42493

11 years agotry to re enable rpc4rt winetest
Christoph von Wittich [Sat, 8 Aug 2009 06:47:51 +0000 (06:47 +0000)]
try to re enable rpc4rt winetest

svn path=/trunk/; revision=42492

11 years ago - Stop trying to find more adapters if it failed to avoid spamming the debug log
Cameron Gutman [Sat, 8 Aug 2009 03:18:41 +0000 (03:18 +0000)]
 - Stop trying to find more adapters if it failed to avoid spamming the debug log
 - Should fix buildbot test 2nd stage

svn path=/trunk/; revision=42491

11 years agoNtUserGetIconInfo: Move lockingunlocking out of SEH, as this is a bad idea. Get rid...
Timo Kreuzer [Sat, 8 Aug 2009 02:47:32 +0000 (02:47 +0000)]
NtUserGetIconInfo: Move lockingunlocking out of SEH, as this is a bad idea. Get rid of RETURN(). Add a comment.

svn path=/trunk/; revision=42490

11 years ago[win32k]
Timo Kreuzer [Sat, 8 Aug 2009 02:42:41 +0000 (02:42 +0000)]
[win32k]
- Use DIB_GetDIBWidthBytes and BitsPerFormat instead of switch
- Add SPS_CHANGE flag when calling IntEngSetPointerShape
- Fixes VMWare Driver mouse pointer regression

svn path=/trunk/; revision=42489

11 years agoComment out rpcrt4 winetest, as it breaks testcd.
Timo Kreuzer [Sat, 8 Aug 2009 01:35:06 +0000 (01:35 +0000)]
Comment out rpcrt4 winetest, as it breaks testcd.

svn path=/trunk/; revision=42488

11 years agoUpdate the fill brush, in NtGdiFillPath.
Timo Kreuzer [Sat, 8 Aug 2009 00:50:42 +0000 (00:50 +0000)]
Update the fill brush, in NtGdiFillPath.

svn path=/trunk/; revision=42487

11 years ago- Don't use dllexport for dxapi -- we have a .spec
Stefan Ginsberg [Fri, 7 Aug 2009 21:53:26 +0000 (21:53 +0000)]
- Don't use dllexport for dxapi -- we have a .spec

svn path=/trunk/; revision=42486

11 years ago- Use APIENTRY compatible -- wdmaud now builds
Stefan Ginsberg [Fri, 7 Aug 2009 21:27:45 +0000 (21:27 +0000)]
- Use APIENTRY compatible -- wdmaud now builds

svn path=/trunk/; revision=42485

11 years ago- Don't assume _MSC_VER means PSDK in regedit -- add a note so this isn't forgotten.
Stefan Ginsberg [Fri, 7 Aug 2009 21:15:17 +0000 (21:15 +0000)]
- Don't assume _MSC_VER means PSDK in regedit -- add a note so this isn't forgotten.

svn path=/trunk/; revision=42484

11 years ago- Make rapps MSVC-friendly
Stefan Ginsberg [Fri, 7 Aug 2009 21:10:16 +0000 (21:10 +0000)]
- Make rapps MSVC-friendly

svn path=/trunk/; revision=42483

11 years agosync rpcrt4 winetest with wine 1.1.26
Christoph von Wittich [Fri, 7 Aug 2009 21:02:55 +0000 (21:02 +0000)]
sync rpcrt4 winetest with wine 1.1.26

svn path=/trunk/; revision=42482

11 years agoAPIENTRY LONG --> LONG APIENTRY
Christoph von Wittich [Fri, 7 Aug 2009 20:17:55 +0000 (20:17 +0000)]
APIENTRY LONG --> LONG APIENTRY

svn path=/trunk/; revision=42481

11 years ago- Sync WIDL and ole32 with Wine-1.1.23, w/o syncing rpcrt4. Credits go to Christoph...
Aleksey Bragin [Fri, 7 Aug 2009 20:15:12 +0000 (20:15 +0000)]
- Sync WIDL and ole32 with Wine-1.1.23, w/o syncing rpcrt4. Credits go to Christoph for helping out with this sync. Tested with rpcrt4_winetests and MS Office 2003 setup.

svn path=/trunk/; revision=42480

11 years ago. Define APIENTRY compatibly for MSVC
Stefan Ginsberg [Fri, 7 Aug 2009 20:12:19 +0000 (20:12 +0000)]
. Define APIENTRY compatibly for MSVC

svn path=/trunk/; revision=42479

11 years ago- C89 compliance for iphlpapi
Stefan Ginsberg [Fri, 7 Aug 2009 20:03:37 +0000 (20:03 +0000)]
- C89 compliance for iphlpapi

svn path=/trunk/; revision=42478

11 years ago- Fix broken include path for MSVC -- appwiz, input, joy and telephon applets now...
Stefan Ginsberg [Fri, 7 Aug 2009 19:49:22 +0000 (19:49 +0000)]
- Fix broken include path for MSVC -- appwiz, input, joy and telephon applets now compile

svn path=/trunk/; revision=42477

11 years ago- Remove another assumption that _MSC_VER means the MSVC build environment -- aclui...
Stefan Ginsberg [Fri, 7 Aug 2009 19:37:11 +0000 (19:37 +0000)]
- Remove another assumption that _MSC_VER means the MSVC build environment -- aclui now builds.

svn path=/trunk/; revision=42476

11 years agoMove variable initialization to top of scope.
Stefan Ginsberg [Fri, 7 Aug 2009 19:19:46 +0000 (19:19 +0000)]
Move variable initialization to top of scope.
Welcome to MSVC, eventlog. It is safer here.

svn path=/trunk/; revision=42475

11 years ago- Remove HalDisplayString from the DDK as it doesn't belong there and is already...
Stefan Ginsberg [Fri, 7 Aug 2009 19:16:01 +0000 (19:16 +0000)]
- Remove HalDisplayString from the DDK as it doesn't belong there and is already in the NDK.
- Move KeFlushQueuedDpcs from NDK to DDK as this is where it belongs -- it is a documented routine.

svn path=/trunk/; revision=42474

11 years ago- Calling NtLoadDriver on an already loaded driver should fail with STATUS_IMAGE_ALRE...
Michael Martin [Fri, 7 Aug 2009 18:27:31 +0000 (18:27 +0000)]
- Calling NtLoadDriver on an already loaded driver should fail with STATUS_IMAGE_ALREADY_LOADED. Fixes one test for kmtest driver tests and a bugcheck when loading the driver a second time.

svn path=/trunk/; revision=42473

11 years agomodified include/psdk/windows.h
KJK::Hyperion [Fri, 7 Aug 2009 17:07:10 +0000 (17:07 +0000)]
modified   include/psdk/windows.h
modified   include/psdk/winnt.h
   Visual C++ needs love, too. Extend conditional w32api code for Watcom C to Visual C++

svn path=/trunk/; revision=42472

11 years ago- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of callin...
Stefan Ginsberg [Fri, 7 Aug 2009 16:40:11 +0000 (16:40 +0000)]
- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of calling nonexisting functions to fail at link time (wtf?).

svn path=/trunk/; revision=42471

11 years agoUse include path for typeof.h that only depends on global include paths (typeof.h...
KJK::Hyperion [Fri, 7 Aug 2009 15:35:41 +0000 (15:35 +0000)]
Use include path for typeof.h that only depends on global include paths (typeof.h -> wine/typeof.h)

svn path=/trunk/; revision=42470

11 years agoadded include/reactos/wine/typeof.h
KJK::Hyperion [Fri, 7 Aug 2009 15:25:03 +0000 (15:25 +0000)]
added      include/reactos/wine/typeof.h
   Simulate typeof operator for the Wine code that requires it

modified   ReactOS-generic.rbuild
   Force-include typeof.h when compiling with Visual C++

svn path=/trunk/; revision=42469

11 years ago - We associate the MDL with the IRP later (in TdiBuildSend, TdiBuildReceive, etc)
Cameron Gutman [Fri, 7 Aug 2009 15:22:24 +0000 (15:22 +0000)]
 - We associate the MDL with the IRP later (in TdiBuildSend, TdiBuildReceive, etc)

svn path=/trunk/; revision=42468

11 years ago - Call IoCompleteRequest to free IRPs created by IoBuildDeviceIoControlRequest
Cameron Gutman [Fri, 7 Aug 2009 15:00:42 +0000 (15:00 +0000)]
 - Call IoCompleteRequest to free IRPs created by IoBuildDeviceIoControlRequest
 - Fixes bug 4770

svn path=/trunk/; revision=42467

11 years agoinclude windef.h to get the definitions for BYTE and DWORD req. by bdatypes.h
Christoph von Wittich [Fri, 7 Aug 2009 14:09:36 +0000 (14:09 +0000)]
include windef.h to get the definitions for BYTE and DWORD req. by bdatypes.h

svn path=/trunk/; revision=42466

11 years agostub bdasup
Christoph von Wittich [Fri, 7 Aug 2009 13:23:35 +0000 (13:23 +0000)]
stub bdasup

svn path=/trunk/; revision=42465

11 years agoIntChangeDisplaySettings: set last error before leaving the function
Gregor Schneider [Fri, 7 Aug 2009 12:10:59 +0000 (12:10 +0000)]
IntChangeDisplaySettings: set last error before leaving the function
NtUserChangeDisplaySettings: copy devmode only if passed, use SEH with buffer probing over CopyFromCaller

svn path=/trunk/; revision=42464

11 years agoRemove deprecated define
Gregor Schneider [Fri, 7 Aug 2009 12:06:04 +0000 (12:06 +0000)]
Remove deprecated define

svn path=/trunk/; revision=42463

11 years agoadd bdasup.h
Christoph von Wittich [Fri, 7 Aug 2009 12:04:50 +0000 (12:04 +0000)]
add bdasup.h

svn path=/trunk/; revision=42462

11 years ago- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h...
Stefan Ginsberg [Fri, 7 Aug 2009 10:45:59 +0000 (10:45 +0000)]
- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h. Use NTSYSAPI for HalDispatchTable instead of DECLSPEC_IMPORT (see below).
- wdm.h: Properly define NTKERNELAPI.
- ntifs.h: Properly define NTKERNELAPI, and don't redefine NTSYSAPI.
- ntoskrnl: Apply the WDK hack for our headers (and gcc) too. Also redefine NTHALAPI for NDK so we don't auto-import KdComPortInUse -- ld complains about this.
- Apply this for cmlib, csq and rossym too.
- Use this in HAL too, and redefine NTSYSAPI so we don't auto import some structures from the kernel. Also, don't define __declspec(dllimport) to nothing -- this doesn't work with gcc, and doesn't seem to be necessary. I tried building HAL with the WDK and this wasn't an issue.

svn path=/trunk/; revision=42461

11 years ago- Remove hack of starting stream automatically when first IRP has arrived
Johannes Anderwald [Fri, 7 Aug 2009 10:16:25 +0000 (10:16 +0000)]
- Remove hack of starting stream automatically when first IRP has arrived

svn path=/trunk/; revision=42460

11 years ago- Set the stream state to run when opening the device
Johannes Anderwald [Fri, 7 Aug 2009 10:11:24 +0000 (10:11 +0000)]
- Set the stream state to run when opening the device
- Set the stream state to stop when closing the device

svn path=/trunk/; revision=42459

11 years ago- Add inlined assembly for MSVC to _clearfp, _control87, _fpreset, _logb and _statusf...
Stefan Ginsberg [Fri, 7 Aug 2009 09:36:53 +0000 (09:36 +0000)]
- Add inlined assembly for MSVC to _clearfp, _control87, _fpreset, _logb and _statusfp, move fpreset into arch-specific directory and remove x86 #ifdefs from the code.
- Disable warning C4733 for __wine_push_frame and __wine_pop_frame

svn path=/trunk/; revision=42458

11 years ago[KS]
Johannes Anderwald [Fri, 7 Aug 2009 09:34:52 +0000 (09:34 +0000)]
[KS]
- Remove a hack for sysaudio + kmixer
[PORTCLS]
- Disable assert untill stream allocator is in place
- Remove dead code
- Implement IPortPinWaveCyclic_HandleKsStream
[KMIXER]
- Remove unused code
- Implement creating the allocator
- Properly implement openening the device
[STREAM]
- Use GLOBAL as the reference string
- Setup a pin create item
[SYSAUDIO]
- Use reference string GLOBAL to open kmixer
- Use reference string GLOBAL for opening sysaudio. Will be removed once bug 4566 is resolved

svn path=/trunk/; revision=42457

11 years agoBug 4700: Translation patch, Dutch, for explorer-new by Jan Roeloffzen
Daniel Reimer [Fri, 7 Aug 2009 08:56:06 +0000 (08:56 +0000)]
Bug 4700: Translation patch, Dutch, for explorer-new by Jan Roeloffzen
Bug 4733: Japanese translation for explorer-new and winemine by Tomoya Kitagawa
Bug 4738: Brazilian Portuguese translation for User Environment by Wagner Leandro Bueno Angelo
Bug 4749: Czech translation update by Radek Liska
Bug 4761: Norwegian translate by Lars Martin Hambro

svn path=/trunk/; revision=42456

11 years ago - Send a gratuitous ARP packet when our IP address changes
Cameron Gutman [Fri, 7 Aug 2009 03:21:56 +0000 (03:21 +0000)]
 - Send a gratuitous ARP packet when our IP address changes

svn path=/trunk/; revision=42455

11 years agoFix a serious bug, that led to reading beyound the end of the mask bitmap, if it...
Timo Kreuzer [Fri, 7 Aug 2009 03:14:55 +0000 (03:14 +0000)]
Fix a serious bug, that led to reading beyound the end of the mask bitmap, if it was not twice as big as the color bitmap.

svn path=/trunk/; revision=42454

11 years ago - Fix a bug resulting in ROS discarding all gratuitous ARP packets
Cameron Gutman [Fri, 7 Aug 2009 02:39:38 +0000 (02:39 +0000)]
 - Fix a bug resulting in ROS discarding all gratuitous ARP packets
 - Remove an unnecessary check

svn path=/trunk/; revision=42453

11 years agoSee r42442. One of the affected files was duplicated, so we duplicate the fix
KJK::Hyperion [Fri, 7 Aug 2009 02:24:46 +0000 (02:24 +0000)]
See r42442. One of the affected files was duplicated, so we duplicate the fix

svn path=/trunk/; revision=42452

11 years agomodified base/applications/network/netstat/netstat.c
KJK::Hyperion [Fri, 7 Aug 2009 02:15:25 +0000 (02:15 +0000)]
modified   base/applications/network/netstat/netstat.c
   Another mysterious case of stdlib.h being automatically included for gcc but not cl, another module compiling with Visual C++

svn path=/trunk/; revision=42451

11 years agomodified lib/3rdparty/libsamplerate/libsamplerate.rbuild
KJK::Hyperion [Fri, 7 Aug 2009 02:10:12 +0000 (02:10 +0000)]
modified   lib/3rdparty/libsamplerate/libsamplerate.rbuild
   We have lrint and lrintf, don't provide inline implementations

Three cheers for libsamplerate, congratulations to it for compiling on Visual C++

svn path=/trunk/; revision=42450

11 years agoVisual C++ doesn't like division by zero in constants: for now, don't define NAN...
KJK::Hyperion [Fri, 7 Aug 2009 02:03:25 +0000 (02:03 +0000)]
Visual C++ doesn't like division by zero in constants: for now, don't define NAN, HUGE_VAL, HUGE_VALF, INFINITY for Visual C++

svn path=/trunk/; revision=42449

11 years agomodified dll/win32/opengl32/gl.c
KJK::Hyperion [Fri, 7 Aug 2009 01:50:19 +0000 (01:50 +0000)]
modified   dll/win32/opengl32/gl.c
modified   dll/win32/opengl32/opengl32.c
   Give prototypes to all functions
   Implement OpenGL thunks in assembler for Visual C++
   Nope, environment is not compiler this time, either

modified   dll/win32/opengl32/opengl32.h
   Don't use dllexport, we have a spec file

Congratulations opengl32, you now build with Visual C++

svn path=/trunk/; revision=42448

11 years ago[win32k]
Timo Kreuzer [Fri, 7 Aug 2009 01:44:38 +0000 (01:44 +0000)]
[win32k]
Implement GreMovePointer and GreSetPointerShape, calling the eng functions and use them instead of the former mess in IntSetCursor. Fix IntShowMousePointer, EngSetPointerShape to properly handle the color bitmap. We now have support for colored mouse cursors, like used by our paint.

svn path=/trunk/; revision=42447

11 years agomodified base/services/audiosrv/pnp_list_manager.c
KJK::Hyperion [Fri, 7 Aug 2009 01:20:23 +0000 (01:20 +0000)]
modified   base/services/audiosrv/pnp_list_manager.c
   About the trillionth time Arch forgets that malloc is declared in stdlib.h

One more module builds with Visual C++

svn path=/trunk/; revision=42446

11 years agomodified dll/win32/advapi32/advapi32.h
KJK::Hyperion [Fri, 7 Aug 2009 01:15:48 +0000 (01:15 +0000)]
modified   dll/win32/advapi32/advapi32.h
   For some reason, <limits.h> was included for gcc, but not Visual C++: include it explicitly just in case

And we welcome advapi32 to the club of modules that compile with Visual C++

svn path=/trunk/; revision=42445

11 years agomodified lib/3rdparty/libxml2/libxml2.rbuild
KJK::Hyperion [Fri, 7 Aug 2009 01:06:18 +0000 (01:06 +0000)]
modified   lib/3rdparty/libxml2/libxml2.rbuild
   libxml2 wants __MINGW32__, let's give it __MINGW32__. This should probably defined globally, because our Visual C++ environment is kind of MinGW, after all

And libxml2 compiles with Visual C++, too

svn path=/trunk/; revision=42444

11 years agomodified include/crt/float.h
KJK::Hyperion [Fri, 7 Aug 2009 01:03:09 +0000 (01:03 +0000)]
modified   include/crt/float.h
added      include/crt/msc/msc_float.h
   Implement <float.h> for Visual C++

svn path=/trunk/; revision=42443

11 years agomodified jmorecfg.h
KJK::Hyperion [Fri, 7 Aug 2009 00:37:45 +0000 (00:37 +0000)]
modified   jmorecfg.h
   Arch Blackmann confuses compiler with build environment in libjpeg too. No project is safe

modified   libjpeg.rbuild
   HAVE_CONFIG_H is only used in ansi2knr.c, which we don't build

added      libjpeg.reactos.diff
   Added patch files with changes from vendor drop

Yes, libjpeg now compiles with Visual C++, in case you were wondering

svn path=/trunk/; revision=42442

11 years ago[FORMATTING]
Timo Kreuzer [Thu, 6 Aug 2009 23:09:13 +0000 (23:09 +0000)]
[FORMATTING]
Apply consistent 4 space indentation
No code change

svn path=/trunk/; revision=42441

11 years agoAdd GetLogicalProcessorInformation() and a stub for ReOpenFile() by Alwyn Tan's request.
Dmitry Gorbachev [Thu, 6 Aug 2009 22:53:04 +0000 (22:53 +0000)]
Add GetLogicalProcessorInformation() and a stub for ReOpenFile() by Alwyn Tan's request.

svn path=/trunk/; revision=42440

11 years ago- Add a few parameters check
Johannes Anderwald [Thu, 6 Aug 2009 21:45:10 +0000 (21:45 +0000)]
- Add a few parameters check
- Calculate resource list size with FIELD_OFFSET macro
- Fix a big bug in IResourceList_fnAddEntryFromParent which didnt copy the untranslated resource list entry

svn path=/trunk/; revision=42439

11 years ago- Check if translated / untranslated resource list is empty
Johannes Anderwald [Thu, 6 Aug 2009 20:44:53 +0000 (20:44 +0000)]
- Check if translated / untranslated resource list is empty
- If both are empty, create an empty resource list
- May fix a crash with Yamaha XG Pci

svn path=/trunk/; revision=42438

11 years ago- Fix the last mingw msvc build issues -- just use function forwarders for msvc inste...
Stefan Ginsberg [Thu, 6 Aug 2009 19:23:44 +0000 (19:23 +0000)]
- Fix the last mingw msvc build issues -- just use function forwarders for msvc instead of using gcc alias symbols. Also add msvc assembly to the "fp10" implementation.

svn path=/trunk/; revision=42435

11 years ago[Temp] Revert checkpoints, comment out first two tests to check possible memory corru...
Gregor Schneider [Thu, 6 Aug 2009 17:32:36 +0000 (17:32 +0000)]
[Temp] Revert checkpoints, comment out first two tests to check possible memory corruptions from those functions, trace mktime tests in more detail

svn path=/trunk/; revision=42433

11 years ago- Don't define ssize_t -- it is already done in rosdhcp.h
Stefan Ginsberg [Thu, 6 Aug 2009 16:57:56 +0000 (16:57 +0000)]
- Don't define ssize_t -- it is already done in rosdhcp.h

svn path=/trunk/; revision=42432

11 years ago[Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash...
Gregor Schneider [Thu, 6 Aug 2009 16:08:49 +0000 (16:08 +0000)]
[Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position #2

svn path=/trunk/; revision=42430

11 years ago- Don't rely on the default calling convention being cdecl for function pointers
Stefan Ginsberg [Thu, 6 Aug 2009 15:27:23 +0000 (15:27 +0000)]
- Don't rely on the default calling convention being cdecl for function pointers

svn path=/trunk/; revision=42429

11 years agoRetrieve the timezone bias in mktime via GetTimeZoneInformation
Gregor Schneider [Thu, 6 Aug 2009 15:18:24 +0000 (15:18 +0000)]
Retrieve the timezone bias in mktime via GetTimeZoneInformation

svn path=/trunk/; revision=42428

11 years ago[Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash...
Gregor Schneider [Thu, 6 Aug 2009 14:23:40 +0000 (14:23 +0000)]
[Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position

svn path=/trunk/; revision=42427

11 years ago-Increase array size to allow proper string termination (MSVC warning #C4045)
Gregor Schneider [Thu, 6 Aug 2009 12:45:11 +0000 (12:45 +0000)]
-Increase array size to allow proper string termination (MSVC warning #C4045)
-The code correctly copies only the first TCHAR4 value being the string itself

svn path=/trunk/; revision=42426

11 years ago- MSVC fix: static __inline__ -> FORCEINLINE
Stefan Ginsberg [Thu, 6 Aug 2009 11:59:20 +0000 (11:59 +0000)]
- MSVC fix: static __inline__ -> FORCEINLINE

svn path=/trunk/; revision=42425

11 years agoSwitch from time to time_new 2/2:
Gregor Schneider [Thu, 6 Aug 2009 11:38:09 +0000 (11:38 +0000)]
Switch from time to time_new 2/2:
-Rename time_new to time

svn path=/trunk/; revision=42423

11 years agoSwitch from time to time_new 1/2:
Gregor Schneider [Thu, 6 Aug 2009 11:37:09 +0000 (11:37 +0000)]
Switch from time to time_new 1/2:
-Get updated headers into place, prepare rbuild file, delete old dir

svn path=/trunk/; revision=42422

11 years ago- Add PsGetThreadId declaration.
Aleksey Bragin [Thu, 6 Aug 2009 11:16:42 +0000 (11:16 +0000)]
- Add PsGetThreadId declaration.

svn path=/trunk/; revision=42419

11 years ago- crt: Use ANSI C types
Stefan Ginsberg [Thu, 6 Aug 2009 11:03:08 +0000 (11:03 +0000)]
- crt: Use ANSI C types
- math.h: Move nonstandard inline using nonstandard function into nonstandard group
- crtdefs.h: Don't disable non-ANSI C definitions for MSVC only -- the behaviour should be the same for all compilers, so always disable them -- fixes various msvc build errors introduced by 42369.

svn path=/trunk/; revision=42418

11 years ago-Merge license change from AMD64 branch (r42414)
Gregor Schneider [Thu, 6 Aug 2009 11:01:44 +0000 (11:01 +0000)]
-Merge license change from AMD64 branch (r42414)
-Adjust the return value of mktime by the chosen timezone after normalizing

svn path=/trunk/; revision=42417

11 years ago-Deactivate _invalid_parameter for now, depends on the strsafe crt implementation...
Gregor Schneider [Thu, 6 Aug 2009 00:26:23 +0000 (00:26 +0000)]
-Deactivate _invalid_parameter for now, depends on the strsafe crt implementation also in AMD64 branch
-Fix the weekday offset in gmtime
-Offset the year in *ctime by 1900, fix obvious typos
-Set structure packing to char level: without it the 26 character array is 32 characters wide and the string can't be constructed properly because of alignment characters in between (shouldn't be a problem when _UNICODE is defined)
-Test results: awesome, will be integrated soon

svn path=/trunk/; revision=42413

11 years ago- Fix msvc build of win32k -- reported by Amine.
Stefan Ginsberg [Wed, 5 Aug 2009 22:01:21 +0000 (22:01 +0000)]
- Fix msvc build of win32k -- reported by Amine.

svn path=/trunk/; revision=42412

11 years ago-Import tkreuzer's time implementation from AMD64 branch
Gregor Schneider [Wed, 5 Aug 2009 19:30:37 +0000 (19:30 +0000)]
-Import tkreuzer's time implementation from AMD64 branch

svn path=/trunk/; revision=42411

11 years agobrouser -> browser
Christoph von Wittich [Wed, 5 Aug 2009 19:19:52 +0000 (19:19 +0000)]
brouser -> browser

svn path=/trunk/; revision=42410

11 years ago-Add a crt regression test suite, extending the msvcrt winetests
Gregor Schneider [Wed, 5 Aug 2009 17:13:12 +0000 (17:13 +0000)]
-Add a crt regression test suite, extending the msvcrt winetests
-iofunc tests were used to verify r42382, added another one that tests swprintf double conversion (roscalc issue)
-time tests crash with the current crt implementation

svn path=/trunk/; revision=42408

11 years ago- Fix release build broken in 42400
Stefan Ginsberg [Wed, 5 Aug 2009 15:00:30 +0000 (15:00 +0000)]
- Fix release build broken in 42400

svn path=/trunk/; revision=42407

11 years ago - Fix a bug in TDI_TRANSPORT_ADDRESS_FILE handling
Cameron Gutman [Wed, 5 Aug 2009 07:52:15 +0000 (07:52 +0000)]
 - Fix a bug in TDI_TRANSPORT_ADDRESS_FILE handling
 - Remove some dead code

svn path=/trunk/; revision=42404

11 years ago - Correct the loopback adapter's address mask and broadcast address
Cameron Gutman [Wed, 5 Aug 2009 03:25:27 +0000 (03:25 +0000)]
 - Correct the loopback adapter's address mask and broadcast address

svn path=/trunk/; revision=42403

11 years agoasctime/ctime: Check for too low input time, fixes one msvcrt time winetest
Gregor Schneider [Wed, 5 Aug 2009 02:06:25 +0000 (02:06 +0000)]
asctime/ctime: Check for too low input time, fixes one msvcrt time winetest

svn path=/trunk/; revision=42402

11 years ago-_ecvt really uses a static buffer for return values
Gregor Schneider [Wed, 5 Aug 2009 02:02:25 +0000 (02:02 +0000)]
-_ecvt really uses a static buffer for return values
-Handle memory allocation failure

svn path=/trunk/; revision=42401

11 years ago - Partial rewrite of recursive mutex code
Cameron Gutman [Tue, 4 Aug 2009 23:51:39 +0000 (23:51 +0000)]
 - Partial rewrite of recursive mutex code
 - Makes the recursive mutex faster and smaller
 - Fixes several unprotected accesses to recursive mutex

svn path=/trunk/; revision=42400