Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Eric Pouech
412d37f6e6
- adapted kernel32 so that it no longer (directly) manages console
...
handles as wineserver handles
- console input handle object is no longer waitable (input record
synchronisation is now implemented as a simple semaphore), and removed
FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
(CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
(FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Alexandre Julliard
693bbd79b6
Make it possible to retrieve an inheritable handle in open_named_pipe
...
(spotted by Uwe Bonnes).
2003-06-14 01:31:56 +00:00
Francois Gouget
61aac4eaa1
Fix some typos.
2003-06-04 20:29:05 +00:00
Jukka Heinonen
f07dfff17b
Migrate most int21 ioctl routines to winedos.
...
Migrate int21 set drive routine to winedos.
2003-06-04 20:17:52 +00:00
Mike McCormack
11d09a8330
Removed unnecessary casts.
2003-05-19 19:04:28 +00:00
Philip Mason
1840e1890f
Force FILE_GetTempFileName to continue looking for new temp file name
...
if error returned from CreateFileW is ERROR_SHARING_VIOLATION.
2003-05-15 22:57:48 +00:00
Eric Pouech
b6338878a8
Moved kernel32.FlushFileBuffers to ntdll.NtFlushBuffersFile.
2003-04-22 04:04:17 +00:00
Michal Janusz Miroslaw
eaee47e755
Fixed typo in comment.
2003-04-19 02:48:34 +00:00
Michal Janusz Miroslaw
9786b058df
On Linux: avoid blocking in DOSFS_OpenDir_VFAT if specified path is
...
not a directory.
2003-04-19 02:47:08 +00:00
Michal Janusz Miroslaw
ac1d1056d4
Refuse to read non-block device set in config.
...
Avoid blocking on open if user sets device to unconnected pipe.
2003-04-17 02:13:01 +00:00
Uwe Bonnes
0de21b651e
FindFirstFile on root directory should fail.
2003-04-17 02:10:04 +00:00
Alexandre Julliard
cce7e25827
Make DRIVE_FindRootW really behave like DRIVE_FindRoot.
2003-04-08 03:58:42 +00:00
Mike Hearn
1fc2142a28
Correct the error code returned when a file does not exist.
2003-04-04 22:05:10 +00:00
Adam Gundy
8e94fbf305
Don't read uninitialized data when a '$' is found.
2003-03-30 01:35:07 +00:00
Alexandre Julliard
5537dbbf40
Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
...
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard
3e588e3a57
Implemented file change notifications, based on a patch by Mike
...
McCormack.
2003-03-26 23:41:43 +00:00
Gerald Pfeifer
7a9119207c
Add trailing full-stop to warning in DIR_GetPath().
2003-03-25 00:33:12 +00:00
Stefan Leichter
b56950864b
Moved implementation of GetPrivateProfileInt from ascii to unicode.
2003-03-23 20:03:13 +00:00
Gerald Pfeifer
181dfdde77
Tweak error message in PROFILE_UsageWineIni().
2003-03-20 19:22:24 +00:00
Alexandre Julliard
ce61349334
Implemented file locking functions (partly based on my old Corel
...
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Tony Lambregts
2e24a148bf
Replace DPRINTF with TRACE.
2003-03-15 00:12:42 +00:00
Alexandre Julliard
6bf8542dd5
Fixed int conversion in GetPrivateProfileInt so that all the tests
...
succeed.
2003-03-04 04:40:01 +00:00
Enrico Horn
75d7b15236
Simple way to get the label of mixed-mode cd.
2003-03-04 02:15:19 +00:00
Alexandre Julliard
28d65b1ac9
MoveFile[AW] should simply call MoveFileEx[AW]. Should fix issue
...
reported by Roderick Colenbrander.
2003-02-26 20:28:37 +00:00
Alexandre Julliard
cf27a7fa3b
Changed fd operations to take a struct fd instead of a struct object.
...
Removed get_file_info function from object operations.
Added get_device_id request to avoid abusing get_file_info.
2003-02-14 20:27:09 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Marcus Meissner
f63e5b646a
Remove errno.h from files that do not need it.
2003-01-23 22:51:04 +00:00
Gerald Pfeifer
66fd8c29a2
Properly cast struct sockaddr_in* to struct sockaddr* where needed.
2003-01-23 21:20:19 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Shachar Shemesh
85a52cb27c
Removed the FIXMEs when performing MoveFileEx with
...
MOVEFILE_DELAY_UNTIL_REBOOT, as wineboot will now take care of it.
2003-01-11 21:03:18 +00:00
Shachar Shemesh
44fb75f62c
Set correct last error if the path contains wildcard characters.
2003-01-10 01:44:24 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Alberto Massari
c019f53568
Add stub implementation for ReplaceFile.
2003-01-02 19:24:42 +00:00
Uwe Bonnes
6e9ae17bf7
DRIVE_Init: Use strtoulW to initialize the drive serial number.
2002-12-23 01:35:49 +00:00
György 'Nog' Jeney
f7694794de
- Reimplement time functions using ntdll functions.
...
- Some cleanups.
2002-12-13 20:30:06 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Francois Gouget
e948ad1fc7
Fix the error codes returned by DeleteFile{A,W} to match NT.
...
Adapt the DeleteFileA error code checks to take into account variations
between Win9x and NT.
Test DeleteFile(NULL).
Add tests for DeleteFileW.
On NT, calling _lclose on an already closed handle will cause memory
corruption and thus sometimes crash -> removed the relevant test.
Skip the Unicode tests when on Win9x.
2002-12-12 03:54:01 +00:00
György 'Nog' Jeney
4d6ba25d4b
- Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
...
- Use new time functions to reimplement FileTimeToLocalTime and
LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Stefan Leichter
5e2b3131d0
Moved implementation of GetDiskFreeSpaceEx from ascii to unicode.
2002-12-07 23:47:01 +00:00
Martin Wilck
60cba9999c
Fixed some problems with asynchronous file IO.
2002-11-30 01:48:32 +00:00
Alexandre Julliard
11f361a29c
Removed no longer needed PROFILE_LoadWineIni().
2002-11-23 02:24:53 +00:00
Alexandre Julliard
d16a64e327
Removed support for converting old format config, everybody should
...
have converted by now.
Removed log info from wineinstall, this info is already in ChangeLog.
2002-11-22 20:44:13 +00:00
Andrew John Hughes
ed800c69c8
Build ntdll with -DSTRICT.
2002-11-21 03:45:01 +00:00
Ryan Cumming
4cda16e03b
Implemented GetFileSizeEx (based on a patch by Steve Lustbader).
2002-11-15 04:12:10 +00:00
Dmitry Timoshkov
db45e1ea28
Maintain lower cased file names in the Wine config directory.
2002-11-13 19:47:22 +00:00
Ryan Cumming
768d98e7e9
- Silence annoying "Empty path passed" error.
...
- Set error correctly when an empty path is passed to DeleteFile.
2002-11-08 18:52:18 +00:00
Alexandre Julliard
d427f731f0
Make COMSPEC point to wcmd.exe, not command.com.
2002-11-04 22:49:11 +00:00
György 'Nog' Jeney
1aad87acc5
Copy the necessary data from the unicode struct to the ascii one in
...
DOSFS_FindNext.
2002-10-28 18:49:52 +00:00