Commit graph

35040 commits

Author SHA1 Message Date
Timo Kreuzer 6698807429 #if out some "strange" __ROS_LONG64__ definition for (U)INT_PTR, as it doesn't make sense and breaks other code. The whole __ROS_LONG64__ hack should be improved by ... being removed.
svn path=/trunk/; revision=39470
2009-02-08 03:40:38 +00:00
Timo Kreuzer 9f5a99cfcf Add InitializeSListHead and QueryDepthSList to winbase.h
Remove QueryDepthSList from winddk.h
Fix definion of ExQueryDepthSList in winddk.h

svn path=/trunk/; revision=39467
2009-02-07 23:46:56 +00:00
Michael Martin 5e8a4f674a - Default ExitStatus for a process is STATUS_PENDING aka STILL_ACTIVE. Fixes bug #3135.
svn path=/trunk/; revision=39466
2009-02-07 22:48:51 +00:00
Dmitry Gorbachev dc0a2cec45 Do not crash the kernel when accessing a guard page.
svn path=/trunk/; revision=39465
2009-02-07 19:29:39 +00:00
Dmitry Chapyshev 0a8c6e11ea - Implement SetupChangeLocale
- Add stub for SetupChangeLocaleEx

svn path=/trunk/; revision=39464
2009-02-07 18:33:35 +00:00
Dmitry Chapyshev 194e3f67f7 - Stub implement DeleteProfileA/W
svn path=/trunk/; revision=39463
2009-02-07 18:31:01 +00:00
Dmitry Chapyshev c0cb7d35e6 - Stub implement NlsResetProcessLocale
svn path=/trunk/; revision=39462
2009-02-07 18:29:11 +00:00
Dmitry Chapyshev 6723252334 - Add olecli32 and olesvr32 from Wine
svn path=/trunk/; revision=39461
2009-02-07 18:25:36 +00:00
Steven Edwards df4a100ba2 Always call TerminateProcess when exiting a session.
svn path=/trunk/; revision=39460
2009-02-07 17:39:51 +00:00
Johannes Anderwald 2ea5d3e069 - Add a hack
svn path=/trunk/; revision=39459
2009-02-07 15:43:14 +00:00
Johannes Anderwald b2e7828867 - Add a hack
svn path=/trunk/; revision=39458
2009-02-07 15:35:07 +00:00
Steven Edwards 748579a668 - Reimplement TerminateShell function using WaitForSingleObject
to avoid some of the excessive usage of Sleep. Let me know if
you spot a bug.


svn path=/trunk/; revision=39457
2009-02-07 15:21:15 +00:00
Christoph von Wittich 070cba2db8 fix a comment
svn path=/trunk/; revision=39456
2009-02-07 15:15:01 +00:00
Johannes Anderwald 0fb7d7ca0e - Add a new member to SC_RPC_CONFIG_INFOA structure
- This hack is currently required to pass LPSERVICE_DESCRIPTION onto services via rpc as the member is lpDescription is a variable length string pointer

svn path=/trunk/; revision=39455
2009-02-07 15:06:59 +00:00
Dmitry Chapyshev 028c6e462d - Partially revert r39453
svn path=/trunk/; revision=39454
2009-02-07 12:55:43 +00:00
Dmitry Chapyshev 37d68d3d83 - Add stub program for winhlp32 (should be located in system32)
- winhlp32 now it is located in c:\reactos
BUG: Stub program and winhlp32 have an identical name of a file, but are located in different directories. At installation winhlp32 it is copied in system32 and c:\reactos. We need to think up a way to install two or more files with identical names

svn path=/trunk/; revision=39453
2009-02-07 11:21:07 +00:00
Kamil Hornicek f1a5f6e179 - update polish translation of usetup by Olaf Siejka
svn path=/trunk/; revision=39452
2009-02-07 10:36:57 +00:00
Christoph von Wittich 910f60d2f2 fix ScmRpcStatusToWinError handling
svn path=/trunk/; revision=39451
2009-02-07 09:11:31 +00:00
Christoph von Wittich 464363fadc sync oleaut32 to wine 1.1.14
sync rpcrt4 to wine 1.1.14 except UuidCreate in rpcrt4_main.c as it isn't compatible to our headers

svn path=/trunk/; revision=39450
2009-02-07 07:52:12 +00:00
Art Yerkes e751a0cbb0 Obey pid defined macro.
svn path=/trunk/; revision=39449
2009-02-07 07:23:52 +00:00
Christoph von Wittich 83fea96ee6 fix formatting
svn path=/trunk/; revision=39448
2009-02-07 07:14:25 +00:00
Art Yerkes e44126ac85 Calling listen more than once is expected to be benign.
svn path=/trunk/; revision=39447
2009-02-07 01:20:25 +00:00
Timo Kreuzer 553d712e8b define BitScanReverse to _BitScanReverse, add BitScanForeward the same way, add 64 bit InterlockedBittest intrinsics
svn path=/trunk/; revision=39446
2009-02-07 00:20:25 +00:00
Timo Kreuzer 900326bee8 merge from amd64 branch:
37966: Make IMAGE_ORDINAL_FLAG64 an ULONGLONG (Timo Kreuzer)
38111: Make sure UNALIGNED is not redefined (Samuel Serapión)
38423: Fix RtlAllocateHeap, RtlExtendHeap,RtlSizeHeap definitions.(Samuel Serapión)

svn path=/trunk/; revision=39445
2009-02-06 23:45:18 +00:00
Christoph von Wittich 146a2bfc75 remove dead code
svn path=/trunk/; revision=39444
2009-02-06 19:07:22 +00:00
Johannes Anderwald 3dad41d9c4 - new oo entry, patch Mario Kacmar
svn path=/trunk/; revision=39443
2009-02-06 16:27:58 +00:00
Christoph von Wittich 75f0865f37 fix NULL checks
svn path=/trunk/; revision=39442
2009-02-06 15:24:18 +00:00
Dmitry Gorbachev 5e6db6dc60 - Fix spinning on locks on SMP.
- Alignment bug in GCC 4.3.3.

svn path=/trunk/; revision=39441
2009-02-06 14:47:19 +00:00
Christoph von Wittich 51a928f1de revert 37001 (Initialize _RetVal properly in order to avoid compiler warnings) as we have PSEH2 now and don't suffer from this gcc bug anymore
svn path=/trunk/; revision=39440
2009-02-06 13:33:57 +00:00
Timo Kreuzer e88b1c8624 merge from amd64 branch:
37868: Add CONTEXT flags for x64 (Timo Kreuzer)
39346: Use intrinsics for rtl byteswap functions for GNUC, too. Only include them if NTOS_MODE_USER. (Timo Kreuzer)
39347: Move rtl byteswap functions to wdm.h and add intrinsic definitions (Timo Kreuzer)

svn path=/trunk/; revision=39439
2009-02-06 13:04:18 +00:00
Johannes Anderwald 994dea8d8a - Add more error checks
svn path=/trunk/; revision=39438
2009-02-06 12:18:47 +00:00
Christoph von Wittich ab81d30c29 add a missing Status to ScmRpcStatusToWinError
svn path=/trunk/; revision=39437
2009-02-06 11:49:21 +00:00
Christoph von Wittich e877ae3bff fix a nice bug in RGetServiceKeyNameA
svn path=/trunk/; revision=39436
2009-02-06 11:18:49 +00:00
Dmitry Gorbachev 8dd9673939 Fix formatting in muilanguages.h. Patch from Mario Kacmar. Bug #4138.
svn path=/trunk/; revision=39435
2009-02-06 09:00:39 +00:00
Christoph von Wittich ead9dcbd31 add some more error checking
svn path=/trunk/; revision=39434
2009-02-06 08:51:51 +00:00
Christoph von Wittich 18922ff0a4 fix some QueryServiceConfig2A winetests
svn path=/trunk/; revision=39433
2009-02-06 08:51:20 +00:00
Steven Edwards 7f0c18cb38 - Some formating changes
- Remove unneeded spec, just use the comments
- Syslog interface for my wine usage, disabled in ReactOS tree
 but included here to reduce my diff.


svn path=/trunk/; revision=39432
2009-02-06 08:22:18 +00:00
Dmitry Chapyshev fb23e17854 - Implement GetVolumePathNameA/W
svn path=/trunk/; revision=39431
2009-02-06 08:13:11 +00:00
Steven Edwards 286adffc4b Changed port back to 23
svn path=/trunk/; revision=39430
2009-02-06 06:47:54 +00:00
Steven Edwards 321bf76918 - Use the Wine spooler service as the service entry template as I was
testing on Wine. (Disabled to allow stand alone build while we wait on 
AFD fix)
- Move some stuff around to the header to prepare for later cleanups


svn path=/trunk/; revision=39429
2009-02-06 06:45:54 +00:00
Steven Edwards d0c78a0f46 - Make telnetd only slightly more RFC-compatible
Thanks to Fedora Anaconda telnet code as an example.
This allows us to actually get an echo back on the
screen when we type commands.


svn path=/trunk/; revision=39428
2009-02-06 05:34:39 +00:00
Timo Kreuzer af69e9c54e winddk: Move mm definitions into arch specific area
svn path=/trunk/; revision=39427
2009-02-06 02:03:57 +00:00
Timo Kreuzer 4a0cbfe0d9 winddk.h add amd64 CONTEXT
svn path=/trunk/; revision=39426
2009-02-06 00:05:33 +00:00
Timo Kreuzer 47193f550f Merge 37493,37494 from amd64 branch:
Fix amd64 / ia64 default definition of RtlGetCallersAddress (Timo Kreuzer)

svn path=/trunk/; revision=39425
2009-02-05 23:35:51 +00:00
Johannes Anderwald f1011d8bb5 - Fix a potential buffer overflow in RChangeServiceConfigA
- Make sure that returned buffers are zero terminated in RQueryServiceConfigA

svn path=/trunk/; revision=39424
2009-02-05 22:23:43 +00:00
Matthias Kupfer 693252f753 - Add Denmark to country list and set geo id.
- Set geo id for Czech Republic.

svn path=/trunk/; revision=39423
2009-02-05 21:57:04 +00:00
Dmitry Gorbachev 8dd42ae303 Fix bug #4129 in CmpGetNameControlBlock().
svn path=/trunk/; revision=39422
2009-02-05 21:30:21 +00:00
Johannes Anderwald d54988a73d - Ignore lpResult parameter
svn path=/trunk/; revision=39421
2009-02-05 20:19:32 +00:00
Johannes Anderwald e35599aa1e - Fix returned length for RGetServiceKeyNameW
- Perform parameters check in right order in ROpenServiceW

svn path=/trunk/; revision=39420
2009-02-05 20:18:11 +00:00
Johannes Anderwald c6c028fe41 - Add more error checks which reduce winetest errors
svn path=/trunk/; revision=39419
2009-02-05 19:13:35 +00:00