Commit Graph

1108 Commits

Author SHA1 Message Date
Alex Ionescu
125b0fa6a3 - Remove KTSS_NOIOMP from NDK.
- Fix KTSS definition.
- Fix KTRAP_FRAME definition.
- Fix RTL_PROCESS_BACKTRACE_INFORMATION and RTL_PROCESS_BACKTRACES definitions.
- Fix/rename RUNDOWN_DESCRIPTOR definition.
- Rename PPF_ definitions to RTL_USER_PROCESS_PARAMETERS_
- Setup a global _REACTOS_ define when code is compiled.
- #ifdef out the multiboot flags from the NDK so they'll only be available for ReactOS. Dirty 'hack' until we stop using them.
- Update NDK Fixme list, since all major bugs are fixed now.

svn path=/trunk/; revision=19693
2005-11-27 18:24:32 +00:00
Alex Ionescu
a06e494e71 - Update selector names to official names and define/use the MODE and RPL masks for more portable/clean code.
svn path=/trunk/; revision=19668
2005-11-27 03:08:35 +00:00
Casper Hornstrup
dfd37af193 Speedup compilation of kernel32
svn path=/trunk/; revision=19546
2005-11-25 11:53:30 +00:00
Hartmut Birr
fb3dcc851d Fixed FormatMessageA/W.
svn path=/trunk/; revision=19503
2005-11-23 21:19:00 +00:00
Hartmut Birr
fb29639c6b Removed some escape sequences from the command line in CreateProcessInternalW.
svn path=/trunk/; revision=19502
2005-11-23 21:17:11 +00:00
Hervé Poussineau
3143bf613e Fix sublanguage IDs in .rc files:
- LANG_ENGLISH -> SUBLANG_ENGLISH_US
- LANG_JAPANESE -> SUBLANG_DEFAULT
- others -> SUBLANG_NEUTRAL
I didn't change .rc files in files synched with Wine

svn path=/trunk/; revision=19463
2005-11-22 10:24:14 +00:00
Alex Ionescu
c4f5d37239 - Fix inclusion of deleted file.
svn path=/trunk/; revision=19451
2005-11-22 05:48:48 +00:00
Filip Navara
10ff9775bf Fix a typo.
svn path=/trunk/; revision=19435
2005-11-22 00:15:47 +00:00
Alex Ionescu
91f701e9e7 - Remove usage of STATIC, and use static in the right place.
svn path=/trunk/; revision=19434
2005-11-22 00:05:23 +00:00
James Tabor
8200dffeed Removed ActCtx.c.
svn path=/trunk/; revision=19433
2005-11-21 22:56:09 +00:00
James Tabor
8ced6754fb Rename file.
svn path=/trunk/; revision=19432
2005-11-21 22:53:25 +00:00
Christoph von Wittich
c902c40ab5 implemented CreateActCtxA, FindActCtxSectionStringA
svn path=/trunk/; revision=19424
2005-11-21 21:09:30 +00:00
Christoph von Wittich
d5691f048e added stubs for Wow64DisableWow64FsRedirection, Wow64RevertWow64FsRedirection
svn path=/trunk/; revision=19404
2005-11-21 10:26:27 +00:00
Alex Ionescu
ada897443b - Update NDK with proper (when possible) RTL structure names that were previously "under review".
- Update relevant source files to new names.

svn path=/trunk/; revision=19375
2005-11-20 17:16:11 +00:00
Casper Hornstrup
f244ed68b8 Move CreateFile test
svn path=/trunk/; revision=19362
2005-11-20 13:45:15 +00:00
Casper Hornstrup
f1bef0d01a Add missing stubs
svn path=/trunk/; revision=19360
2005-11-20 13:17:05 +00:00
Filip Navara
59abe42fd8 Uncomment MAC code page and font signature locale strings.
svn path=/trunk/; revision=19345
2005-11-19 18:01:10 +00:00
Christoph von Wittich
adbd79b940 fix RtlFindMessage
fix load_message and FormatMessage by importing newer Wine code

svn path=/trunk/; revision=19229
2005-11-14 21:53:21 +00:00
Gunnar Dalsnes
e2d06de0a7 merge with wine (by hand!). fixes two failing kernel32 profile winetests. now all pass
svn path=/trunk/; revision=19166
2005-11-12 01:11:28 +00:00
Alex Ionescu
a1713a521f - Fix error spotted by winetest: some status codes need to be normalized in CreateNamedPipeW
- Fix some bugs in CreatePipe: use correct directory, use right access mask, use correct define name for blocking type, and use correct file sharing flags.
Results of "kernel32_winetest pipe": 418 tests executed, 0 todo, 0 failures. (with NT NPFS, of course).

svn path=/trunk/; revision=19089
2005-11-09 04:53:32 +00:00
Alex Ionescu
2300542dbc - Fix PeekNamedPipe. Now only 14 winetests fail for pipetest.
- Cleanup DisconnectNamedPipe and fix a small bug in it.

svn path=/trunk/; revision=19088
2005-11-09 04:32:44 +00:00
Alex Ionescu
a6e23ab5cf - Unbreak build
- Fix CallNamedPipeW, the pipe mode should also be set to PIPE_WAIT.

svn path=/trunk/; revision=19086
2005-11-09 03:02:33 +00:00
Alex Ionescu
4cafc71bd8 - Optimize CallNamedPipeA too and remove accidental define.
svn path=/trunk/; revision=19085
2005-11-09 02:53:58 +00:00
Alex Ionescu
b8fa73dc20 Ansi->Unicode conversions:
- Take advantage of TEB in CreateNamedPipeA
- Use helper function in WaitNamedPipeA

svn path=/trunk/; revision=19084
2005-11-09 02:50:54 +00:00
Alex Ionescu
d460662204 - Fix CreateNamedPipeW to convert some NT flags properly, timeouts, etc, and document/prettify the function.
- NT 5.2 NPFS now works great, the kernel32_wintest pipe runs without crashing, and reports "411 tests passed, 30 failures".

svn path=/trunk/; revision=19078
2005-11-09 00:44:37 +00:00
Alex Ionescu
7bccddff96 - Implement proper version of WaitNamedPipeW to be used when NPFS will be modified to work as documented. Define USING_PROPER_NPFS_WAIT_SEMANTICS if you want to use Windows NPFS
svn path=/trunk/; revision=19067
2005-11-08 21:07:11 +00:00
Alex Ionescu
4e84f04716 - Add some definitions to NDK
- Prettify/document CreatePipe and correct some mistakes, use 120 second timeout like on NT and send FILE_PIPE flags instead of weird BOOLEAN values from hell.

svn path=/trunk/; revision=19065
2005-11-08 20:53:53 +00:00
Hartmut Birr
e087024bb5 Use the share disposition to detect the direction of a pipe.
svn path=/trunk/; revision=19021
2005-11-05 22:03:47 +00:00
Eric Kohl
cb31a202c1 Reapply a modified r18883 patch (by Thomas Weidenmueller) that doesn't break named pipes.
svn path=/trunk/; revision=19019
2005-11-05 16:11:31 +00:00
Eric Kohl
2de23bb008 Reapply a modified r18883 patch (by Thomas Weidenmueller) that doesn't break named pipes.
svn path=/trunk/; revision=19018
2005-11-05 16:11:02 +00:00
Hervé Poussineau
76c3fa7451 Revert 18883 and 18912, as they break named pipes
(These changes were correct per se, but another problem surfaced: see http://www.reactos.org/archives/public/ros-dev/2005-November/005958.html)

svn path=/trunk/; revision=19002
2005-11-04 19:31:47 +00:00
Thomas Bluemel
52e523d86c don't ask for generic read access rights in WaitNamedPipe
svn path=/trunk/; revision=18915
2005-10-31 19:39:22 +00:00
Thomas Bluemel
c1245552ab fix some flags calculations and access rights in CreateNamedPipe and CreatePipe
svn path=/trunk/; revision=18883
2005-10-30 14:51:12 +00:00
Thomas Bluemel
bffa3474f4 implemented the 32 bit version of GetSystemWow64DirectoryA/W (just set the last error code to ERROR_CALL_NOT_IMPLEMENTED)
svn path=/trunk/; revision=18852
2005-10-29 15:05:37 +00:00
Thomas Bluemel
6ee31ba0a4 forward EncodePointer and DecodePointer to ntdll
svn path=/trunk/; revision=18831
2005-10-28 13:37:55 +00:00
Thomas Bluemel
d0cd0df7fe fix Beep() to make it work with xp's beep.sys
svn path=/trunk/; revision=18798
2005-10-27 20:00:27 +00:00
Thomas Bluemel
293a3fe31b convert tabs to spaces to make it readable with tabs != 8 spaces
svn path=/trunk/; revision=18753
2005-10-24 17:54:55 +00:00
Thomas Bluemel
b0ccf077ec fixed uninitialized variable warning
svn path=/trunk/; revision=18752
2005-10-24 17:50:14 +00:00
Hartmut Birr
d82094a55c - Initialize the csr request inside the loop, if CsrClientCallServer is called inside a loop.
svn path=/trunk/; revision=18745
2005-10-24 17:25:23 +00:00
Hartmut Birr
3df6f62217 - Change the protection in WriteProcessMemory if it is necessary.
svn path=/trunk/; revision=18744
2005-10-24 17:23:42 +00:00
Alex Ionescu
8c002db0c2 - NDK fix: don't undef a million status codes, instead, have apps define WIN32_NO_STATUS.
- winnt.h: respect WIN32_NO_STATUS for DBG codes.
- rtl: change STDCALL to NTAPI
- everything else: add precompiled headers where missing, define WIN32_NO_STATUS.

svn path=/trunk/; revision=18598
2005-10-19 17:03:38 +00:00
Gunnar Dalsnes
35bd58021f -dont return NULL when realloc to 0 bytes (fixes one kernel32_winetest heap test)
-only allow realloc to new position if GMEM_MOVEABLE is passed (fixed mem)
-only allow realloc to new position if GMEM_MOVEABLE is passed OR mem is not locked (moveable mem)

svn path=/trunk/; revision=18528
2005-10-17 20:11:21 +00:00
Gunnar Dalsnes
016dd801d7 add stubs to make clamwin run. by Christoph_vW
stub GetNativeSystemInfo better to make cpuz get further. by Christoph_vW
stub IsWow64Process better. by me

svn path=/trunk/; revision=18416
2005-10-12 21:39:28 +00:00
Thomas Bluemel
2b001b30bf fixed difference in signedness warning in MulDiv()
svn path=/trunk/; revision=18388
2005-10-09 22:30:27 +00:00
Gunnar Dalsnes
690727fe99 Fix MulDiv. This fixes almost any progress-bar to stop showing negative values during installations or etc. Thanks to kichik for originally having found the bug.
Patch by alex ionescu

svn path=/trunk/; revision=18386
2005-10-09 22:12:56 +00:00
Gunnar Dalsnes
93a2fb4cd2 doesnt belong here either
svn path=/trunk/; revision=18294
2005-10-06 13:07:53 +00:00
Gunnar Dalsnes
e70589544c doesnt belong here
svn path=/trunk/; revision=18293
2005-10-06 13:07:00 +00:00
Thomas Bluemel
a83c2a2bb4 Some fixes to CreateDirectoryEx:
- properly copy the directory attributes
- add basic support to handle reparse points and add fallback code if the file system doesn't support them

svn path=/trunk/; revision=18158
2005-09-29 19:34:53 +00:00
Magnus Olsen
0feb129c9e sorry createDirectoryExW fails to create folder why ? change back to CreateDirectoryW sorry
svn path=/trunk/; revision=18156
2005-09-29 16:55:01 +00:00
Magnus Olsen
f16bc096ac MoveFileWithProgressW for movefolder
- change from CreateDirectoryW to CreateDirectoryExW
- fix close handle bug 
- overwrite readonly file
- make sure both dest and src are not set to readonly
- Source cleanup 
- Remove goto

svn path=/trunk/; revision=18155
2005-09-29 16:33:08 +00:00