Alexandre Julliard
6ab8827236
Set environment variables from the HKCU\Environment key too.
...
Moved current directory initialisation to process.c.
Make sure to always pass the correct current directory in the process
parameters for child processes.
2004-05-14 05:03:29 +00:00
Alexandre Julliard
0d33e5e32d
Added proper support for switching file APIs between ANSI and OEM
...
codepages. Optimized some of the A->W conversions by using the
per-thread Unicode string buffer.
2004-05-13 20:21:25 +00:00
Alexandre Julliard
643617f2ae
Moved most remaining file functions to dlls/kernel.
...
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard
b592cbbc18
Reimplemented GetFileType and SetEndOfFile using ntdll functions.
2004-05-01 02:44:00 +00:00
Alexandre Julliard
d4874d6406
Added a few more info classes in NtQueryInformationFile.
...
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Alexandre Julliard
ff07c20446
Moved support for opening named pipes to ntdll.
2004-04-30 19:04:19 +00:00
Alexandre Julliard
553a75e16e
Use symlinks in dosdevices/ for the drive devices too.
...
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Alexandre Julliard
c349d7d297
Removed a number of internal file functions that are no longer used.
2004-04-28 03:53:19 +00:00
Alexandre Julliard
06c46d9aab
Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll
...
functions.
2004-04-28 01:04:24 +00:00
Alexandre Julliard
ad9b799324
Reimplemented CreateDirectoryW and RemoveDirectoryW using ntdll
...
functions.
2004-04-27 02:27:09 +00:00
Alexandre Julliard
a2963dacc3
Reimplemented GetLogicalDrives, GetLogicalDriveStrings and
...
GetDriveType using the new symlink mechanism.
Made GetDriveType attempt to autodetect the type if not specified in
the registry.
2004-04-23 23:31:58 +00:00
Alexandre Julliard
7b6651a9e1
Moved creation of the CDROM registry keys into the registry loading
...
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard
223fcdff77
Moved support for opening DOS device files to ntdll.
2004-04-23 03:22:34 +00:00
Dmitry Timoshkov
eb1711bf5e
Use a passed SecurityDescriptor in CreateFileW.
2004-04-23 02:40:51 +00:00
Alexandre Julliard
72aad7dc31
Make CreateFileW use NtCreateFile.
2004-04-22 03:49:39 +00:00
Alexandre Julliard
31a7a7847e
Changed MoveFileEx to use ntdll functions, and moved it to
...
dlls/kernel/path.c.
2004-04-21 22:27:34 +00:00
Alexandre Julliard
e4409325d2
Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
...
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Alexandre Julliard
174e2a6464
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
...
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Alexandre Julliard
d1051870db
Reimplemented GetDiskFreeSpaceW and GetDiskFreeSpaceExW on top of the
...
corresponding ntdll functions.
2004-04-17 00:30:09 +00:00
Alexandre Julliard
684b65cd52
Added support for FILE_DIRECTORY_FILE and FILE_NON_DIRECTORY_FILE open
...
options.
2004-04-16 04:31:35 +00:00
Alexandre Julliard
1cb0cf4ced
Moved wine_get_unix_file_name implementation to ntdll, and changed it
...
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Alexandre Julliard
743997fa38
Replace the get_file_info request by an fstat() on the client side.
2004-04-08 04:39:59 +00:00
Alexandre Julliard
db4517010b
Handle the set_file_pointer request on the client side.
2004-04-07 22:02:09 +00:00
Alexandre Julliard
fe5a3a24c7
Better fallback in SetFileTime when futimes is missing.
2004-04-07 19:17:43 +00:00
Juan Lang
5584c3f30c
Properly map SMB errors using DOS-style error codes.
2004-04-07 03:50:22 +00:00
Alexandre Julliard
49b2f6d964
Get rid of the removable media handling in the server.
2004-04-06 23:41:01 +00:00
Alexandre Julliard
c4c4da4e07
Reimplemented DeleteFile by using CreateFile with
...
FILE_FLAG_DELETE_ON_CLOSE. Added/fixed a few tests.
2004-04-03 00:05:24 +00:00
Alexandre Julliard
b70e0c8ea6
Removed the FailReadOnly option, this is now the default behavior.
2004-04-02 23:33:39 +00:00
Alexandre Julliard
0701b0748c
Get the drive root directories from the symlinks in dosdevices/ if
...
they exist.
Added creation of drive symlinks in the device transition code.
2004-03-30 21:19:00 +00:00
Alexandre Julliard
ae72222741
Fixed copy/paste error in previous patch (spotted by Dimitrie
...
O. Paun).
2004-03-27 20:45:30 +00:00
Alexandre Julliard
a1fe8b4f24
Use futimes() instead of utime() to implement SetFileTime, so that it
...
can be done on the client side.
2004-03-27 01:48:52 +00:00
Alexandre Julliard
dbecf5c911
Store the windows and system directories as long path names.
...
Moved GetTempPath and GetTempDrive to dlls/kernel.
2004-03-26 01:07:34 +00:00
Alexandre Julliard
af16aac743
Reimplemented SearchPathW using ntdll functions.
2004-03-25 23:41:04 +00:00
Alexandre Julliard
5bfafc9d7d
Split OpenFile implementation in separate 16- and 32-bit versions, and
...
changed it to use exported APIs instead of internal functions where
possible.
2004-03-25 05:36:08 +00:00
Christian Costa
61f3c740f9
Fixed OpenFile returned value when OF_EXIST flag is specified.
2004-03-20 19:25:39 +00:00
Alexandre Julliard
1de20ae4af
Rewrote handling of COM and LPT devices to use symlinks in
...
$WINEPREFIX/dosdevices, with suitable defaults if the symlinks are
missing.
Rewrote QueryDosDevice and DefineDosDevice to use the new scheme.
Added temporary code to create the symlinks based on the contents of
the config file.
2004-03-20 02:28:51 +00:00
Alexandre Julliard
adc0610db7
Make the standard create_file request handle serial ports too, and
...
remove the create_serial request.
2004-03-18 04:08:48 +00:00
Alexandre Julliard
8f032165c4
Reimplemented FindFirstFile/FindNextFile on top of
...
NtQueryDirectoryFile.
2004-03-17 20:57:09 +00:00
Stefan Leichter
aee7467731
Fixed typo in DOS device check in CreateFileW.
2004-03-12 02:02:13 +00:00
Alexandre Julliard
014099caf5
Changed the create_file server request to take NtCreateFile flags
...
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Alexandre Julliard
e9871b0b68
The OpenConsoleW inherit argument is a boolean not a
...
SECURITY_ATTRIBUTES pointer.
2004-03-11 22:46:27 +00:00
Alexandre Julliard
a98a37cde5
Do not put the TEMP and TMP variables into the Unix environment, use
...
WINETEMP and WINETMP instead, like we already do for PATH.
2004-03-11 00:49:01 +00:00
Alexandre Julliard
8548fc2947
Portability fixes.
2004-03-11 00:46:09 +00:00
Alexandre Julliard
62b6bef318
Moved a number of 16-bit functions to file16.c.
2004-03-10 02:20:40 +00:00
Dimitrie O. Paun
32bdfc33d2
Make IS_END_OF_NAME an inline function.
2004-03-10 01:53:00 +00:00
Alexandre Julliard
8045ad5c0e
Removed some unnecessary definitions from file.h.
...
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Alexandre Julliard
00777ec914
Get rid of the Filesystem option in the drive config, this was more
...
confusing than useful.
2004-03-09 19:52:06 +00:00
Alexandre Julliard
954c570ae3
Reimplemented GetVolumeInformation and SetVolumeLabel; volume label
...
and serial number are now stored in the filesystem instead of in the
config file (partly based on a patch by Eric Pouech).
2004-03-09 01:03:03 +00:00
Alexandre Julliard
13af489103
Use statvfs instead of statfs, and provide a default implementation in
...
libwine_port if necessary.
2004-03-05 21:03:46 +00:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00