Mike McCormack
6a83224eb3
Fix incorrectly sized buffer.
2003-10-30 23:06:10 +00:00
Alexandre Julliard
59022e5818
Restored emulation of protected instructions in 32-bit code when
...
running with a Win9x version.
2003-10-28 21:57:24 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Alexandre Julliard
54b1d87daf
Implemented Add/RemoveVectoredExceptionHandler.
2003-10-28 21:22:50 +00:00
Uwe Bonnes
143f075335
FormatMessageW: Allocate anough space.
2003-10-28 21:09:32 +00:00
Alexandre Julliard
55f2dac059
Fixed typo that broke handling of .com and .bat files.
2003-10-28 00:31:52 +00:00
Shachar Shemesh
9f42d25134
Updated Hebrew resources.
2003-10-27 22:02:06 +00:00
Alexandre Julliard
2e4f0bc9ba
Use sigsetjmp instead of setjmp in Wine internal exception handlers to
...
make sure the signal mask is restored properly.
2003-10-24 04:30:13 +00:00
Alexandre Julliard
f9df57d94d
Call the application entry point from kernel32, some apps depend on
...
that.
2003-10-24 00:32:36 +00:00
Jon Griffiths
13a5d6e627
Added tests for FoldStringA/W.
2003-10-24 00:26:18 +00:00
Jon Griffiths
4938f6b993
Implemented FoldStringA (using W version).
...
Documentation updates.
2003-10-24 00:24:46 +00:00
Alexandre Julliard
8824c38e9e
Simplified signal stack allocation a bit, and avoid allocating it on
...
non-i386 platforms.
2003-10-22 03:26:53 +00:00
Ferenc Wagner
4b28f0f9c6
Account for unique NT4 behaviour.
...
Better error message.
2003-10-21 23:42:50 +00:00
Alexandre Julliard
2aa8a8390a
Replaced a few more 0xffffffff by the appropriate constants.
2003-10-16 19:31:11 +00:00
Alexandre Julliard
bbc5242fbc
Fixed handling of relay and snoop include/exclude lists to behave as
...
documented (based on a patch by Rein Klazes).
2003-10-16 00:24:49 +00:00
Alexandre Julliard
8f751bcb40
Print thread id in snoop traces.
2003-10-16 00:23:51 +00:00
Jon Griffiths
8c4ef67452
Implemented FoldStringW.
2003-10-15 20:57:49 +00:00
Alexandre Julliard
49a0224fb3
Get rid of the drive codepages and use CP_UNIXCP instead.
2003-10-15 03:47:53 +00:00
Alexandre Julliard
a3c45689b4
Moved codepage functions to dlls/kernel.
...
Changed initialisation of the locale functions so that CP_UNIXCP works
as soon as possible during kernel32 init.
2003-10-14 05:32:30 +00:00
Oleg Prokhorov
de12a97041
Another portion of HeapReAlloc fixes.
2003-10-14 05:24:20 +00:00
Jukka Heinonen
46f29944c3
Remove races from DPMI async event handling.
2003-10-14 05:20:34 +00:00
Alexandre Julliard
e55d5937ac
Set or clear the BeingDebugged flag in the PEB when a debugger is
...
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
2003-10-14 01:30:42 +00:00
Alexandre Julliard
0b1a82aa5e
Added check for pthread.h (reported by Steven Edwards).
...
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Alexandre Julliard
aff0343da5
Update __wine_main_argc after option processing.
2003-10-11 05:26:31 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Alexandre Julliard
a6ed49ade3
Don't reference the environ global variable from kernel32, it may fail
...
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard
7196724ad0
We can now use the standard DllMain as entry point.
2003-10-10 00:50:56 +00:00
Alexandre Julliard
21066d0d44
Link kernel32 as a normal dll.
2003-10-10 00:23:47 +00:00
Alexandre Julliard
410e6b7b39
Changed the init code to make libwine load only ntdll and transfer
...
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Alexandre Julliard
5cb5aa6346
Use the Rtl bitmap functions to implement Tls allocation.
...
Get rid of the PDB structure.
2003-10-09 19:58:56 +00:00
Alexandre Julliard
30b588955a
We need to initialize the relay debug lists for +snoop too.
2003-10-09 19:52:23 +00:00
Oleg Prokhorov
947c61e4f7
Avoid HeapReAlloc of a NULL pointer.
2003-10-09 19:49:05 +00:00
Mike McCormack
c06bcc110f
Stub implementations for some functions related to RegisterWait.
2003-10-09 19:46:43 +00:00
Alexandre Julliard
20e73d739a
Moved the constructor for the initial TEB to ntdll so that it runs as
...
early as possible on startup.
2003-10-09 04:59:03 +00:00
Alexandre Julliard
67d9f38059
Added __wine_set_signal_fs function to avoid sharing the
...
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Alexandre Julliard
2de67b8428
Duplicate parts of the relay debugging init code into kernel to avoid
...
referencing ntdll internal symbols.
2003-10-08 22:41:12 +00:00
Alexandre Julliard
0de2fde550
Moved build_command_line back to kernel and make it handle Unicode
...
properly.
2003-10-08 22:38:52 +00:00
Alexandre Julliard
687ecfa312
Moved a few more functions to the dlls/kernel directory.
2003-10-08 04:24:49 +00:00
Alexandre Julliard
b81d9e7cf4
Link all remaining files that contain kernel APIs into kernel32.dll
...
instead of ntdll.dll. Removed a number of no longer needed files.
2003-10-08 03:57:02 +00:00
Alexandre Julliard
953849f2fc
Added hack to call CreateFileW through a pointer so that we don't need
...
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
2003-10-08 03:51:31 +00:00
Alexandre Julliard
87ae825bf8
Get rid of the argv0 and full_argv0 global variables.
2003-10-08 00:45:01 +00:00
Alexandre Julliard
632676b17e
Moved the final process init and dependency loading to
...
dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point.
2003-10-06 21:18:51 +00:00
Jon Griffiths
bdcc0e3619
Implemented GetCPInfoExA/W.
...
Documentation updates.
2003-10-06 21:07:06 +00:00
Alexandre Julliard
841f898663
Converted process creation to Unicode.
2003-10-04 04:09:41 +00:00
Jukka Heinonen
d2936e6ab0
Reboot (int19) under DOS now does ExitProcess.
...
Made BIOS reboot vector call int19.
2003-10-04 03:06:18 +00:00
Alexandre Julliard
4137aecaa5
Changed LdrLoadDll to only search for the dll in the specified path,
...
using ntdll functions.
Moved LOAD_WITH_ALTERED_SEARCH_PATH functionality to LoadLibraryEx
where it belongs.
2003-10-02 04:58:49 +00:00
Jon Griffiths
4c1fa161a3
Documentation updates.
2003-10-01 03:20:21 +00:00
Mike McCormack
bdfb12c0df
Stubs for Get/SetUserGeoID().
2003-10-01 03:12:02 +00:00
Alexandre Julliard
c30cefb2d5
Store module names in Unicode in the server.
2003-09-30 01:04:19 +00:00
Daniel Marmier
a613de2a22
Use #ifdef instead of #if for all feature tests.
...
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Robert Shearman
e05044a98d
Set version of kernel32 to Windows 2000 SP4.
2003-09-30 00:21:31 +00:00
Alexandre Julliard
f80b869939
Converted most of the loader code to Unicode.
2003-09-29 20:42:24 +00:00
Francois Gouget
224063f033
Some spelling fixes.
...
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Alexandre Julliard
1cb92bbeec
Converted the load order code to use Unicode throughout.
2003-09-27 03:50:40 +00:00
Alexandre Julliard
fd47c8a647
Renamed comm.dll, display.dll, keyboard.dll and mouse.dll to use the
...
.drv extension.
2003-09-27 02:32:53 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Alexandre Julliard
2052538a47
Moved loadorder support to dlls/ntdll.
...
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Alexandre Julliard
16cd86197a
Moved DLLFLAGS to a separate variable instead of including it in
...
DEFS.
2003-09-24 19:01:44 +00:00
Jon Griffiths
14b215a478
More locale tests.
2003-09-24 18:52:39 +00:00
Jon Griffiths
f333510af2
Add LanguageGroup/GeoID enumeration fns.
...
Add some reg entries from XP.
SetLocaleInfo(): Set 2 I-values from S-values.
Optimise code size, fix a few bugs, documentation.
2003-09-24 18:51:22 +00:00
Alexandre Julliard
240b0a9b48
Moved the Windows version code to dlls/ntdll, and implemented
...
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Alexandre Julliard
3bff2b3c9c
Authors: Juraj Hercek <juraj@syncad.com>, Eric Frias <efrias@syncad.com>
...
Implemented pthread conditions.
2003-09-23 22:59:44 +00:00
Alexandre Julliard
a37e7608c7
Moved 32-bit relay and snoop support to dlls/ntdll.
2003-09-19 04:32:39 +00:00
Alexandre Julliard
97ad311e71
Moved the 32-bit builtin loader and the remaining bits of the PE
...
loader into dlls/ntdll/loader.c.
2003-09-19 04:04:57 +00:00
Eric Pouech
c3e6c095e1
Implemented kernel32.GetIoProcessCounters and stubbed
...
ntdll.NtQueryProcessInformation(ProcessIoCounters).
2003-09-19 00:06:45 +00:00
Eric Pouech
4df100cda6
By default, console handles are inheritable.
2003-09-19 00:05:18 +00:00
Alexandre Julliard
52f692fb9b
Moved the wine server client-side support to dlls/ntdll. Removed a
...
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Alexandre Julliard
ba71316172
Moved a couple more functions to dlls/kernel.
2003-09-18 20:59:54 +00:00
Alexandre Julliard
ec39821750
Moved 16-bit global heap, DOS memory and selector functions to
...
dlls/kernel.
2003-09-18 20:58:41 +00:00
Eric Pouech
e69ef68fc2
Set default StdError to fd 2 (was on 1).
2003-09-18 20:54:32 +00:00
Alexandre Julliard
bff860c4b1
Moved synchronization and syslevel routines to dlls/kernel.
2003-09-18 04:39:13 +00:00
Alexandre Julliard
8db8368ee7
Keep the file handle of 16-bit modules open while the module is
...
loaded. This makes it possible to remove the InstallShield hack in
OpenFile16.
Moved LoadLibrary32_16 to kernel.
2003-09-18 04:35:34 +00:00
Alexandre Julliard
0f01858228
Moved the 16-bit environment support to dlls/kernel.
2003-09-18 04:28:22 +00:00
Alexandre Julliard
2ac34461ad
Reimplemented the 16-bit FindFirstFile, FindNextFile and FindClose
...
functions on top of their 32-bit counterpart, and moved them to
dlls/kernel.
2003-09-18 04:25:31 +00:00
Alexandre Julliard
dccbbcd5d5
Link msdos/int21.c into kernel for now, until it is properly moved to
...
winedos.
2003-09-18 00:58:48 +00:00
Alexandre Julliard
9146e68b43
Moved VxDCall support to dlls/kernel.
2003-09-18 00:06:02 +00:00
Alexandre Julliard
9eb1d2c7fa
Moved I/O port handling to dlls/winedos.
2003-09-17 22:45:46 +00:00
Jon Griffiths
ab58bf179b
More tests for kernel NLS functions.
...
Use LOCALE_NOUSEROVERRIDE where appropriate.
2003-09-17 22:40:07 +00:00
Jon Griffiths
31f1a801a7
Re-implement and optimise the NLS formatting functions (many fixes).
...
Documentation updates.
2003-09-17 22:39:51 +00:00
Alexandre Julliard
add0c5850b
Use WOWCallback16Ex to switch to vm86 mode so that we can setup a
...
proper exception handler and handle instruction emulation.
2003-09-17 20:23:33 +00:00
Igor Stepin
f638678830
Added a lot of Russian translations.
2003-09-17 20:08:20 +00:00
Jon Griffiths
69d157b2b7
Documentation updates.
2003-09-17 20:05:03 +00:00
Alexandre Julliard
aaf3503ea5
Moved almost all remaining process, thread, fiber and exception
...
functions to dlls/kernel.
2003-09-17 05:31:32 +00:00
Alexandre Julliard
1479aebda3
Moved instruction emulation to dlls/kernel.
2003-09-17 04:34:31 +00:00
Rolf Kalbermatter
fddc4ec7b4
Fix another error under Win9x (hopefully).
2003-09-17 04:18:09 +00:00
Alexandre Julliard
f3a35766db
More robust detection of charset names.
2003-09-16 20:38:33 +00:00
Alexandre Julliard
65e7196fed
Moved most kernel string functions to dlls/kernel.
2003-09-16 20:35:42 +00:00
Alexandre Julliard
0f170015f1
Moved most 32-bit heap functions to dlls/kernel.
2003-09-16 20:34:14 +00:00
Alex Pasadyn
33854afbe0
- Use HeapAlloc instead of GlobalAlloc in FindNextFile.
...
- Add test for FindNextFile that checks last error value.
2003-09-16 01:22:05 +00:00
Rolf Kalbermatter
d4f1381154
Added a few todo_wine tests with filenames with wildcards.
2003-09-16 01:19:21 +00:00
Rolf Kalbermatter
55bcaec4f4
Remove <ntstatus.h> to allow compilation with MS PSDK headers.
2003-09-16 01:18:53 +00:00
Mike McCormack
b2b2c4794b
Move the mailslot stubs into the dlls/kernel directory.
2003-09-15 22:07:50 +00:00
Alexandre Julliard
31292ff4e0
Remove generated assembly code on make clean.
2003-09-15 20:15:05 +00:00
Kevin Groeneveld
4981619784
- Fix small bug with parsing of numbers in BuildCommDCB functions.
...
- Add conformance test for BuildCommDCB functions.
2003-09-15 20:00:54 +00:00
Kevin Groeneveld
8be51c92e4
Add missing wReserved1 member to DCB structure definition.
...
Fix several bugs in BuildCommDCBAndTimeouts:
- make sure LPCSTR parameter is really treated as constant
- fix possible buffer overflow if passed in string is too long
- if the device control string is invalid, do not modify DCB
- do not clear entire DCB, only modify appropriate members
- fix parsing of stop bits parameter so it works for 1 and 1.5
- populate COMMTIMEOUTS when to=xxx parameter is specified
- added support for xon, odsr, octs, dtr, rts, and idsr parameters
- fix several other parsing errors
2003-09-12 00:26:15 +00:00
Geoff Thorpe
7701dea1cd
Added a stub for Heap32ListFirst.
2003-09-11 03:00:11 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Juan Lang
c435c29339
Fix FormatMessage when FORMAT_MESSAGE_FROM_HMODULE is specified and
...
lpSource is NULL. Make indenting consistent too.
2003-09-02 00:53:46 +00:00
Alexandre Julliard
3c80bb1443
Don't strip the path in LoadModule16 before we have opened the file
...
(reported by Jukka Heinonen).
2003-09-01 23:56:39 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
ee106783d0
Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
...
seems to be the official name.
2003-08-28 03:07:56 +00:00
Alexandre Julliard
02f2813968
Renamed a few TEB fields to use the "official" names.
2003-08-27 23:14:29 +00:00
Alexandre Julliard
01634c5686
Removed some no longer needed definitions from stackframe.h.
2003-08-27 03:16:56 +00:00
Alexandre Julliard
f7d71bf158
Converted remaining 16-bit functions to the new varargs mechanism.
2003-08-27 02:57:32 +00:00
Alexandre Julliard
617839d522
Added varargs support for 16-bit entry points.
...
Added -ret16 entry point flag to allow 16-bit cdecl and varargs
function to return 16-bit values too.
2003-08-27 02:20:44 +00:00
Alexandre Julliard
94463d7bbe
Moved profile functions to dlls/kernel.
2003-08-26 02:54:37 +00:00
Alexandre Julliard
6aca040f86
Moved a few more functions to dlls/kernel.
2003-08-26 02:29:48 +00:00
Alexandre Julliard
0ac9690081
Moved 16-bit relay and snoop support to dlls/kernel.
2003-08-26 02:28:59 +00:00
Alexandre Julliard
a5b961c2b0
Moved selector fixup for the relay code to the callto16 exception
...
handler.
Make sure to only use pop instructions to modify segment registers in
the relay code to simplify the selector fixup.
2003-08-25 23:48:30 +00:00
Alexandre Julliard
3be5d62b29
Moved 16-bit calls initialization and exception handling to kernel32.
...
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard
3a5b7cf105
Extended WOWCallback16Ex to support register functions too. This
...
allows simplifying the wine_call_to_16 assembly code by moving part of
it to C code, and getting rid of the extra kernel exports.
2003-08-23 23:30:51 +00:00
Alexandre Julliard
9ca159b61a
Moved 16-bit builtin module handling to dlls/kernel/ne_module.c.
2003-08-23 23:07:10 +00:00
Alexandre Julliard
5fbb446cfc
Moved most of the 16-bit task support and NE module loader to
...
dlls/kernel.
2003-08-23 00:03:40 +00:00
Alexandre Julliard
d8e34ebc21
Renamed system.dll to system.drv.
2003-08-19 03:27:45 +00:00
Alexandre Julliard
e0deb0c627
Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct
...
registry accesses.
2003-08-19 03:21:04 +00:00
Alexandre Julliard
1bfade140f
Free the debug info when making a critical section global.
2003-08-18 20:03:00 +00:00
Jon Griffiths
68806c4410
Spelling fixes.
2003-08-18 19:47:42 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dimitrie O. Paun
cbefdefb02
Consolidate all kernel power management functions.
...
Provide prototypes and stubs for missing functions.
2003-08-12 18:56:54 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Alexandre Julliard
f93256a56c
Warning fixes.
2003-08-06 22:08:04 +00:00
Jon Griffiths
7d75c147a2
Fix MSVC warning.
2003-07-19 03:06:19 +00:00
Gerald Pfeifer
091f416014
Add charset information as used by FreeBSD.
2003-07-09 19:45:10 +00:00
Dmitry Timoshkov
8a8d1b93ca
Added support for CP_UNIXCP.
2003-07-09 04:22:57 +00:00
Alexandre Julliard
4f196ead13
Implemented the ThreadBasicInformation case for
...
NtQueryInformationThread.
2003-07-09 02:57:57 +00:00
Alexandre Julliard
4f4b980c1e
Implemented NtRead/WriteVirtualMemory.
2003-07-08 21:18:45 +00:00
Dmitry Timoshkov
62efd98687
Exit ealier from LCMapStringA in the case of LCMAP_SORTKEY.
...
Don't rely on computing string length by MultiByteToWideChar in
CompareStringA, do it manually.
2003-07-03 18:09:03 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Dmitry Timoshkov
380a505bcd
Add tests for NORM_IGNORENONSPACE and NORM_IGNORESYMBOLS in the
...
LCMapString(LCMAP_SORTKEY) branch.
2003-06-30 21:06:12 +00:00
Alexandre Julliard
2b72be546c
Replace calls to WaitForMultipleObjects with a 0 count by calls to
...
SleepEx.
2003-06-30 02:10:19 +00:00
Dmitry Timoshkov
85d4281616
Implement LCMapString using unicode collation tables.
...
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard
4cb212063b
Moved some of the process functions to dlls/kernel.
...
Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll.
2003-06-27 04:08:04 +00:00
Eric Pouech
9bd4f6bf15
- made async.h ready for use in ntdll: replaced all calls to kernel32
...
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
need in most of the user (derivated) structures a field for
LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech
30504fbd66
Added a small test for process exit code retrieval.
2003-06-26 02:05:40 +00:00
Alexandre Julliard
dc4b0c7655
Moved tape.c to dlls/kernel.
...
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +00:00
Eric Pouech
f6a70969e1
- start moving a few file related functions from files/file.c to
...
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
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
a86a289420
In console input record queue, replace semaphore with a manual reset
...
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +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
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Eric Pouech
9d0fa2f02e
- kernel32's environment tests: a few more tests now succeed
...
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00
Eric Pouech
b53b5bcb50
- fixed a couple of bugs in ntdll environment functions (one in trace,
...
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
structure.
- later on in kernel32 loading sequence, those parameters are copied
into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
console is better handled; a few more kernel32 environment tests now
pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Mike McCormack
e67c058bb9
Always return FALSE when doing an overlapped ConnectNamedPipe.
2003-06-06 18:10:36 +00:00
Lionel Ulmer
370db5b47c
Implemented a semi-stub for GetProcessPriorityBoost.
2003-06-04 20:17:00 +00:00
Alexandre Julliard
2f24859b59
Beep() is still needed in ntdll, move it back to some random file.
2003-05-22 03:41:27 +00:00
Alexandre Julliard
78d108b964
Moved misc/error.c to dlls/kernel/error16.c.
...
Get rid of misc/main.c.
2003-05-21 18:31:01 +00:00
Gerald Pfeifer
c862085b90
Avoid "might be used uninitialized" warning in exercizeServer().
2003-05-21 18:23:20 +00:00
Alexandre Julliard
b2f32bc604
Moved system.dll implementation to dlls/kernel.
2003-05-20 17:50:59 +00:00
Eric Pouech
c00a4473bd
Implement anonymous pipes on top of named pipes.
2003-05-20 04:32:53 +00:00
Alexandre Julliard
9bf3ac619e
Moved timer functions to dlls/kernel.
2003-05-20 04:14:45 +00:00
Alexandre Julliard
11c159666e
Use the trace macro for debugging output.
2003-05-20 03:58:35 +00:00
Alexandre Julliard
9747a103b5
Added value for default Unix codepage to all the locale definitions.
2003-05-20 02:20:48 +00:00
Ferenc Wagner
18f7bfb42e
New _lcreat tests for filename ending in a slash and volume label
...
attribute.
2003-05-19 21:50:32 +00:00
Alexandre Julliard
1ed73fae13
Call the user signal proc for exe modules too, to avoid duplicating
...
the module cleanup code.
2003-05-16 20:16:56 +00:00
Alexandre Julliard
dcff0007b6
Moved most local heap functions to dlls/kernel.
2003-05-16 20:15:26 +00:00
Alexandre Julliard
3d15c86cf8
Moved atom functions to dlls/kernel.
2003-05-16 00:05:08 +00:00
Alexandre Julliard
a098c82aac
Moved vxd support to winedos.
2003-05-15 23:25:49 +00:00
Dan Kegel
cee5576012
More named pipes tests.
2003-05-15 22:52:41 +00:00
Mike McCormack
ef8b94622a
- rewrite of the named pipe code
...
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Alexandre Julliard
9c40e91b70
Make the test pass on NT4 too.
2003-05-13 23:40:51 +00:00
Dmitry Timoshkov
0f9eeb6f64
Fix an obvious typo in get_res_name. Spotted by Mike McCormack.
2003-05-13 23:36:49 +00:00
Francois Gouget
e8c2ac2d9d
Added a test for GetLongPathNameA("c:").
...
Added a test for GetFullPathNameA("c:").
Fix a number of messages that referred to GetLongPathName instead of
GetFullPathName.
2003-05-13 22:30:38 +00:00
Dimitrie O. Paun
4ca5685c9c
Make sure winsock.h gets included before stdlib.h.
2003-05-13 04:48:23 +00:00
Eric Pouech
cd0f2bcfdd
Added a set of tests for the console API.
2003-05-13 04:46:54 +00:00
Eric Pouech
d3446a441b
Fixed console output for non wrapped mode.
2003-05-13 04:46:24 +00:00
Alexandre Julliard
e15aadd58a
Allocate/free the 16-bit thread stack in the kernel dll init routine.
2003-05-13 00:49:49 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Eric Pouech
9401ec5a43
Support 14 and 15 arguments in WOW_CallProc32W16.
2003-05-13 00:30:32 +00:00
Aric Stewart
fa65a24817
Ignore requested access rights when emulated version is not NT.
2003-05-12 03:28:26 +00:00
Alexandre Julliard
54daeae72a
Added NONAMELESSUNION/STRUCT defines.
2003-05-07 04:01:52 +00:00
Alexandre Julliard
ce4d111cd8
Moved the EnumResource* functions to the kernel dll, and fixed their
...
prototypes.
2003-05-07 03:21:26 +00:00
Alexandre Julliard
cbd9eca2c3
Use RtlFindMessage to load message resources.
2003-05-07 03:19:17 +00:00
Dimitrie O. Paun
1a1f9bffb3
Make it easy to use something other than wrc to compile resources.
2003-05-06 18:34:53 +00:00
Alexandre Julliard
ab61506401
Fixed return value of CreateNamedPipe (spotted by Mike McCormack).
2003-05-06 00:19:59 +00:00
Lionel Ulmer
12c61661ab
Added SetSystemTimeAdjustment stub.
2003-05-04 02:23:38 +00:00
Alexandre Julliard
424202bd9a
Moved most of the kernel resource APIs to dlls/kernel.
2003-04-30 00:53:23 +00:00
Alexandre Julliard
86666c51e2
Implemented ntdll resource functions.
2003-04-29 23:00:48 +00:00
Hans Leidekker
542e0cc2b5
Dutch localisation of language group names.
2003-04-26 02:05:58 +00:00
Alexandre Julliard
2e12d33dfd
Removed no longer needed uses of LDPATH.
2003-04-21 23:54:05 +00:00
Marcelo Duarte
7bc46adc4a
Localization of the new language group strings.
2003-04-21 22:44:40 +00:00
Maxime Bellengé
2e9f3d844c
Added resource strings for language groups.
2003-04-19 20:22:19 +00:00
Martin Fuchs
6a7d463ca6
Fixes for SystemTimeToTzSpecificLocalTime() and
...
TzSpecificLocalTimeToSystemTime().
2003-04-17 02:14:38 +00:00
Uwe Bonnes
0de21b651e
FindFirstFile on root directory should fail.
2003-04-17 02:10:04 +00:00
Alexandre Julliard
fc09423d3d
Allow overriding CFLAGS when running configure. Other small cleanups.
2003-04-14 21:46:41 +00:00
Michal Janusz Miroslaw
0114f775dd
Add stub for InvalidateNLSCache.
2003-04-08 19:40:37 +00:00
Michael Stefaniuc
2229472d94
Add some missing HeapFree's and one missing free.
2003-04-03 18:04:40 +00:00
Paul McNett
79673e91bb
Stubs for BeginUpdateResourceA(), BeginUpdateResourceW(),
...
EndUpdateResourceA(), and EndUpdateResourceW().
2003-04-03 18:02:19 +00:00
Dmitry Timoshkov
2d55e0484c
Fix some problems found while compiling and linking Wine under
...
Cygwin.
2003-03-31 23:58:27 +00:00
Dimitrie O. Paun
8794935e12
Remove unused options -a and -C.
...
Collapse the -w into -O, for symmetry with -J.
Update the man page to the latest options.
2003-03-27 18:37:59 +00:00
Alexandre Julliard
3e588e3a57
Implemented file change notifications, based on a patch by Mike
...
McCormack.
2003-03-26 23:41:43 +00:00
Maxime Bellengé
95bf7df1d7
Stubs for EnumSystemLanguageGroups{A|W}.
2003-03-26 01:22:57 +00:00
Alexandre Julliard
e048adab83
List 16-bit spec files explicitly to avoid problems with some versions
...
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard
9e4fc4c9b6
Converted winebuild option parsing to use getopt_long. Added a number
...
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Alexandre Julliard
90b68fc7c7
Moved date/time/currency format handling to new lcformat.c.
2003-03-22 00:23:16 +00:00
Alexandre Julliard
408d0fd626
Moved a couple of locale functions from ole2nls.c into locale.c.
2003-03-20 23:43:14 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
6692d399d6
Moved libwine_uuid to the new libs/ directory.
2003-03-20 01:30:11 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +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
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Rein Klazes
cfd8bb8c18
Added stub for GetDevicePowerState().
2003-03-14 23:01:24 +00:00
Alexandre Julliard
a67d999da9
Warning fixes.
2003-03-14 04:02:28 +00:00
Marcus Meissner
585e9d6c24
Fixed 2 fd leaks in comm functions.
...
Removed erroneous GetLastError() check in WaitCommEvent().
2003-03-12 20:15:38 +00:00
Stefan Leichter
2f10ca5237
Added tests for GetPrivateProfileInt.
2003-03-04 04:34:57 +00:00
Jukka Heinonen
2918ee6b0d
Move decoding of long file name functions to winedos.
...
Move some int21 functions to winedos.
2003-03-04 02:15:56 +00:00
Alexandre Julliard
7e92c9af7b
Replaced most uses of the auto-generated glue code by explicit calls
...
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard
e5cef3b0fb
Moved CreateThread16 to kernel, and made it use WOWCallback16.
2003-02-27 01:57:16 +00:00
Alexandre Julliard
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Mike Hearn
7aa04f2744
Implemented GlobalMemoryStatusEx().
2003-02-26 04:35:36 +00:00
Dan Kegel
513ab31f43
Now compiles on windows. Added a couple more checks.
2003-02-25 03:56:43 +00:00
Alexandre Julliard
1e80f30842
Added pipe.ok.
2003-02-19 23:30:39 +00:00
Jukka Heinonen
54f377c6c5
Move resize memory block to winedos and make it resize in place and
...
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Dan Kegel
88eba44645
Added check for illegal pipe names.
...
Added regression test.
2003-02-19 22:06:36 +00:00
Jukka Heinonen
1868b026c1
When updating the edited line, remember to update attributes, too.
2003-02-19 03:42:06 +00:00
Martin Fuchs
95ffdc1db4
Fixed time zone calculation.
2003-02-11 22:12:41 +00:00
Alexandre Julliard
b7a8eefb2b
Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
...
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Francois Gouget
2a56437f72
{Get,Set}ThreadPriorityBoost are stubs on Win98.
2003-01-20 23:26:09 +00:00
Bill Medland
37bbb1c26e
Correct GetDateFormat handling of uninitialised fields: only the year,
...
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Eric Pouech
a2534ca00f
Added tests for environment variables, debug and suspend flags.
2003-01-13 18:28:43 +00:00
Eric Pouech
fa8b85aa5c
Set the edition mode as a specific attribute, not an extension of the
...
console mode.
2003-01-09 06:01:32 +00:00
Dimitrie O. Paun
4a883a55f6
Collapse the -hHrs options into the -O option.
...
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Eric Pouech
2359b57574
- no longer depend on toolhelp definitions for generating snapshots
...
- added get_dll_info request
2003-01-09 00:01:28 +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
Dominik Strasser
ab8247ae5f
Implement VerSetConditionMask by forwarding to ntdll.
2003-01-03 03:03:07 +00:00
Alberto Massari
c019f53568
Add stub implementation for ReplaceFile.
2003-01-02 19:24:42 +00:00
Eric Pouech
0fcada9fa7
Removed unused #include of module.h.
2003-01-02 17:59:47 +00:00
Chris Morgan
761dc0d626
Use the locale id we created instead of the system or user default,
...
otherwise some tests are broken on systems where things aren't
english/us.
2003-01-02 17:47:22 +00:00
Francois Gouget
979770b1ca
On Win9x "hi\n" gives us "hi\r\n".
2002-12-19 21:12:48 +00:00
Chris Morgan
8bf2c059bc
Add additional tests for GetTimeFormat() and GetDateFormat().
...
Uncomment wine_todo tests that now succeed with fixes to
GetTime/DateFormat().
2002-12-19 21:12:09 +00:00
Martin Fuchs
09746293f3
Implementation of SystemTimeToTzSpecificLocalTime() and
...
TzSpecificLocalTimeToSystemTime().
2002-12-19 04:12:42 +00:00
Francois Gouget
305ead6205
Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
...
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
2002-12-19 01:03:48 +00:00
Francois Gouget
4b1479c990
Improve error reporting.
2002-12-18 20:52:00 +00:00
Francois Gouget
52614c62e4
All filenames containing a ":" are invalid on Win9x and 2000 but are
...
valid on NT4 -> remove these tests.
2002-12-18 20:51:48 +00:00
Francois Gouget
4f38047987
#ifdef-out decodeW since it is not used yet.
...
Fix the lpDesktop and lpTitle checks on NT platforms.
2002-12-18 20:51:33 +00:00
Francois Gouget
45d261374c
Use strlen or lstrlenA as appropriate to avoid signed/unsigned
...
warnings.
2002-12-18 02:22:51 +00:00
Alexandre Julliard
9e8e5ff71d
Implemented the Fiber* functions (with the help of Huw Davies).
2002-12-17 21:06:25 +00:00
Andreas Mohr
3873fb8958
Added some Win3.1 export stubs.
2002-12-16 22:10:10 +00:00
Alexandre Julliard
470cbf2757
Added support for defining forward functions as stdcall so that we can
...
get the proper number of arguments for stdcall decoration.
2002-12-15 01:22:40 +00:00
Alexandre Julliard
dcc3afd259
Avoid casts between LARGE_INTEGER and FILETIME.
...
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +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
b42b9ddb73
Mention the applications that depend on the behavior checked by the
...
GetLocaleInfoA partial buffer test.
2002-12-12 22:25:23 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Francois Gouget
f73e00873c
Don't test whether Get{Currency,Date,Number,Time}FormatA writes as
...
much as possible in the buffer even if it is too small. This is
undocumented and does not match the Win9x behavior.
Skip Unicode tests on Win9x.
Fix usage of memset/sizeof/COUNTOF.
Fix signed/unsigned warnings (in MSVC) by using lstrlenA instead of
strlen.
2002-12-12 03:56:09 +00:00
Francois Gouget
4b97e24380
Add stubs for missing APIs.
2002-12-12 03:55:05 +00:00
Francois Gouget
50c433bba9
Skip the Unicode tests on Win9x.
...
Test Get{System,Windows}Directory{A,W}(NULL, 0). This is a more
standard way to get len_with_null too.
Adapt the error code checks to take into account variations between
Win9x and NT.
2002-12-12 03:54:23 +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
Francois Gouget
3773035a6d
The Win9x platforms support WideCharToMultiByte and
...
MultiByteToWideChar but not lstrcmpW! So I implemented our own so
that we can have a meaningful test.
2002-12-12 02:16:29 +00:00
Alexandre Julliard
2a93f8505c
Pass the -J option to wrc to avoid including installed headers.
2002-12-11 01:34:51 +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
Francois Gouget
d705b7c019
'"' is an illegal character on Win9x so we cannot test it.
...
GetShortPathNameA behaves differently on Win9x and NT: on NT it
succeeds even if not all path components exist, as long as they are
already in the 8.3 format.
Wine apparently implements the NT behavior thus many todo_wine went
away.
Fixed some error code checks to take into account all possible return
values.
GetTempFileNameA appears to only use the lower 16bits of the id on
Win95 (and never returns more than 16 bits on other platforms).
GetLongPathNameA is missing on some Windows versions.
Modified the GetTempPath tests to make sure they return the expected
value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
no need to test both).
The 'len_with_null - 1' case is not testable as the Windows behavior
varies too much between versions.
We cannot check whether Windows touches the buffer either as this
heavily depends on the Windows version and specific circumstances of
the call.
Finally NT4 sometimes exaggerates the required buffer size.
2002-12-11 00:16:31 +00:00
Jukka Heinonen
1cfc850b2c
Move int08 stub and LOL to upper memory.
...
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Jukka Heinonen
7b7f198786
Move DPMI segments to winedos.
2002-12-02 21:39:58 +00:00
Jukka Heinonen
742142521a
Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
...
directly winedos int21 handler.
2002-12-02 18:58:32 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Hleb Valoska
684444e67b
Some fixes to Belarusian locale.
2002-11-30 19:05:59 +00:00
Francois Gouget
952407b1e0
{Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing
...
on Win95 -> use GetProcAddress.
Cleanup the handling of OpenThread.
Check SuspendThread after a thread terminates (needed by Ipix).
Remove unnecessary version checks (check for
ERROR_CALL_NOT_IMPLEMENTED and similar instead).
Cleanup casts, signed/unsigned comparisons.
2002-11-30 19:03:19 +00:00
Francois Gouget
f465a8d658
GetDiskFreeSpace(all NULLs) crashes on NT4 -> removed.
...
GetDiskFreeSpace("." | "..") fails on Win98 and NT4 but succeeds on XP
-> removed.
Skip the GetDiskFreeSpace tests on floppy drives because NT pops up a
MessageBox if no floppy is present.
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:53 +00:00
Francois Gouget
3475b9edc9
SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed.
...
SetEnvironmentVariableA("", value) crashes on NT4 -> removed.
The behavior of SetEnvironmentVariableA("", "") varies to much ->
removed.
Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into
account the differences between Win9x and NT.
Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0).
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:22 +00:00
Alexandre Julliard
5926cea79f
Partially implemented kernel/user times in GetThreadTimes (based on a
...
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Steve Lustbader
e45b1e5cd8
Provide stubs for DnsHostnameToComputerNameA/W.
2002-11-27 21:38:06 +00:00
Patrik Stridvall
6cd866b0e6
Fixed some issues found by winapi_check.
2002-11-27 20:21:24 +00:00
Jukka Heinonen
3546290285
Moved handlers for int25 and int26 to winedos.
2002-11-27 20:18:50 +00:00
Bill Medland
5a29089727
Correct GetNumberFormatA for zero decimals and for zero grouping.
2002-11-27 20:13:22 +00:00
Steve Lustbader
a2e1222486
Stubs for CreateTimerQueue and DeleteTimerQueueEx.
2002-11-25 20:51:31 +00:00
Alexandre Julliard
2696ae4c4b
Moved some GetThreadTimes tests out of the todo block.
2002-11-25 01:34:23 +00:00
György 'Nog' Jeney
6f3015b8ee
- Move SetSystemTime, GetTimeZoneInformation and
...
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Jukka Heinonen
98058eb14d
Moved handlers for int11, int15 and int5c to winedos.
2002-11-24 22:34:04 +00:00
Jukka Heinonen
ab163db7c0
Move int2f handler to winedos.
...
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Marcus Meissner
5163752e8e
Handle the COORD <-> DWORD conversion the canonical way.
2002-11-21 23:45:31 +00:00
Jukka Heinonen
1a665058e8
Removed last users of msdos/interrupts.c.
2002-11-21 00:02:09 +00:00
Jukka Heinonen
56dff0d4df
Remove some Win32s specific code.
2002-11-20 19:40:12 +00:00
Jukka Heinonen
1a6afad1a4
Removed obsolete code.
2002-11-20 19:39:11 +00:00
Alexandre Julliard
a9135e8333
Removed support for 'rsrc' spec file statement.
2002-11-18 23:16:09 +00:00
Vincent Béron
2b226866e3
Added netdb.h protection.
2002-11-18 23:12:15 +00:00
Jukka Heinonen
02e177759d
Removed obsolete INT_Int31Handler.
2002-11-18 22:53:38 +00:00
Alexandre Julliard
9f029b7d5e
Warning fixes.
2002-11-15 04:17:00 +00:00
Ryan Cumming
4cda16e03b
Implemented GetFileSizeEx (based on a patch by Steve Lustbader).
2002-11-15 04:12:10 +00:00
Martin Wilck
6d886a52b3
- Allow setting NetBIOS ComputerName through registry.
...
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Jukka Heinonen
416c2aeb00
Move simple interrupt handlers to winedos.
2002-11-12 23:29:48 +00:00
Ryan Cumming
c4aa073705
Add test for DeleteFileA with empty paths.
2002-11-12 02:11:52 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Jukka Heinonen
69f74dbf0e
Move all int31 functions to winedos.
...
Fix some obvious bugs in int31 functions.
2002-11-11 19:55:52 +00:00
Ryan Cumming
1bc18f3da7
Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA
...
as wrappers around their Unicode versions.
2002-11-08 18:51:56 +00:00
Patrik Stridvall
74476416b0
Updated the generated tests.
2002-11-06 21:59:15 +00:00
Alexandre Julliard
910851a20e
Added winebuild -e option to specify the entry point and removed the
...
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Ryan Cumming
937d0b2411
Handle FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM both
...
being set at once.
2002-11-04 23:49:53 +00:00
Patrik Stridvall
df7ffb8017
Updated the generated tests.
2002-11-04 22:40:40 +00:00
Jukka Heinonen
6f6abac4f1
Modify winedos interrupt handlers so that they work with PM
...
interrupts.
Add forwarding functions for handlers in other DLLs.
Make DOSVM_GetBuiltinHandler use static table instead of
GetProcAddress.
2002-10-29 23:09:30 +00:00
Patrik Stridvall
199acb77f1
Added some defines for compatibility with Windows headers.
2002-10-29 21:26:42 +00:00
Eric Pouech
6b2057174b
Silence unneeded ERR while converting tasks.
2002-10-29 21:26:23 +00:00
Patrik Stridvall
7d226139e9
Updated the generated tests.
2002-10-29 21:24:09 +00:00
Michael Stefaniuc
308e04fc61
Compile the kernel dll with -DSTRICT.
2002-10-25 21:02:30 +00:00
Andreas Mohr
6e256c72fe
- fix some pselling
...
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Bill Medland
9134f37e27
Fix OLE_GetFormatW so that GetDateFormatW works.
...
Rearranged for simplicity.
2002-10-25 19:02:26 +00:00
Patrik Stridvall
1298eb4053
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-10-23 18:50:10 +00:00
Patrik Stridvall
ab974c310c
Updated the generated tests.
2002-10-23 18:45:15 +00:00
Alexandre Julliard
23bb3715f7
Added support for building certain dlls with -DSTRICT.
...
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
168284318b
Added FIXMEs for metafile and fullhwnd handle conversions that aren't
...
supported properly yet.
2002-10-18 23:35:24 +00:00
Alexandre Julliard
7aee90762a
Merged wine_call_to_16_long and wine_call_to_16_short into a single
...
function.
2002-10-18 00:29:32 +00:00
Stefan Leichter
acbb639240
BuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive.
2002-10-18 00:21:39 +00:00
Alexandre Julliard
011605edf3
Use the WOWHandle functions to convert between task handle and thread
...
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.
2002-10-17 18:26:53 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +00:00
Jeff Smith
28f14ba5ff
Spelling corrections.
2002-10-09 18:14:24 +00:00
Steve Lustbader
5795143368
Provide stubs for Create/DeleteTimerQueueTimer.
2002-10-07 21:46:02 +00:00
Steve Lustbader
2fbd4a0118
Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.
2002-10-07 18:27:06 +00:00
Dmitry Timoshkov
c8ab54d158
Fixed atom test to work on Windows.
2002-10-04 17:45:00 +00:00
Dmitry Timoshkov
3139b927b2
Added a prototype code page test. Fixed issue regarding negative
...
source length handling.
2002-10-04 17:42:27 +00:00
Alexandre Julliard
54f228733a
Added process_id_t and thread_it_t types to the server interface
...
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard
5cf56a3afe
Removed LPxxx handle types that don't exist under Windows.
2002-10-03 19:46:27 +00:00
Patrik Stridvall
928ecb4891
Added some more autogenerated tests.
2002-10-02 19:58:27 +00:00
Alexandre Julliard
9842b19931
Make sure things still work if 16-bit dlls cannot be loaded.
2002-10-02 02:36:20 +00:00
Alexandre Julliard
c728efc3c9
Added --disable-win16 configure option.
2002-10-02 02:34:09 +00:00
Patrik Stridvall
e10bbc3ed4
Added new autogenerated test for data structure packing.
2002-10-01 18:11:47 +00:00
Patrik Stridvall
3d5b467641
Fixed some issues found by winapi_check.
2002-09-24 03:09:50 +00:00
Patrik Stridvall
1a4db3e72a
Cleaned up the code so it would be easier to parse with the new C
...
parser.
2002-09-23 20:45:57 +00:00
Alexandre Julliard
341b7dceb4
Implemented the ntdll virtual memory functions, and made the kernel
...
functions use them.
2002-09-17 18:54:42 +00:00
Alexandre Julliard
dafbc3f73f
Removed remaining references to advapi32 registry functions from
...
kernel functions.
2002-09-13 18:52:01 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Dimitrie O. Paun
c01202b00e
Move the name directive from the .spec file to the Makefile.
2002-09-12 17:24:14 +00:00
Dimitrie O. Paun
f476a0fbdc
Make all spec files grep-able.
2002-09-12 00:52:39 +00:00
Andriy Palamarchuk
025b52d950
A few more conformance tests for heap memory allocation.
2002-09-11 00:48:47 +00:00
Alexandre Julliard
f4bf7185a7
Moved 16-bit registry functions to kernel dll and implemented them by
...
calling up to advapi32.
2002-09-09 19:34:48 +00:00
Francois Gouget
cbe88fc3a1
Some small typo / phrasing fixes.
2002-09-06 19:46:27 +00:00
Alexandre Julliard
cea2e825b2
Link all remaining dlls except kernel32 as separated dlls, by
...
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Francois Gouget
b41ec51ff3
Do not include wine/unicode.h.
2002-09-06 18:36:42 +00:00
Alexandre Julliard
3dc3f403df
PeekNamedPipe: Check if the pipe was closed when there are 0 available
...
bytes (based on a patch by Uwe Bonnes).
2002-09-04 23:34:03 +00:00
Eric Pouech
d7d983641e
Now passing some console parameters at wineconsole creation instead of
...
successive server requests.
Better prototypes for console functions in kernel.
Some minor console creation fixes.
2002-09-04 18:41:03 +00:00
Alexandre Julliard
3fa613cf61
Moved internal context macros out of winnt.h.
...
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Patrik Stridvall
9aab47ed24
MSVC compatibility fixes.
2002-08-28 23:42:34 +00:00
Alexandre Julliard
c895879e2a
Removed system specific GetTempPathA test.
2002-08-28 22:25:56 +00:00
Dmitry Timoshkov
160ab19ace
Added a bunch of new regression tests.
2002-08-27 01:56:08 +00:00
Dmitry Timoshkov
d75aed2c92
Convert most of the file APIs to Unicode.
2002-08-27 01:13:58 +00:00
Patrik Stridvall
57bf45067a
MSVC compatibility fixes.
2002-08-26 21:53:24 +00:00
Mike McCormack
7018230a3f
Added regression test for FormatMessage.
...
Fixed cr/lf handling.
Prevent an infinite loop when an invalid format (%S) is passed as a
format string to vsnprintf.
Fixed a memory leak in the W version.
2002-08-20 00:32:48 +00:00
Dmitry Timoshkov
b967834362
Added unit test for environment functions and fixed some bugs.
2002-08-20 00:22:29 +00:00
Patrik Stridvall
fc34344d14
Fixed some issues found by winapi_check.
2002-08-20 00:20:43 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Patrik Stridvall
d97f7cdecb
Fixed some issues found by winapi_check.
2002-08-17 00:21:53 +00:00
Aric Stewart
e23c96f649
Added SwitchToThread.
2002-08-16 01:38:20 +00:00
Alexandre Julliard
66e3183099
Fixed GetLocaleInfoW to handle Unicode properly and completed
...
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00