Dmitry Timoshkov
3139b927b2
Added a prototype code page test. Fixed issue regarding negative
...
source length handling.
2002-10-04 17:42:27 +00:00
Patrik Stridvall
b5bb32c09a
Fixed some issues found by winapi_check.
2002-09-24 18:29:39 +00:00
Dmitry Timoshkov
472d016859
Correct SIZE_T size according to MS SDK.
...
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +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
b7fa637c67
Fixed import directory limits (spotted by Jan Kratochvil).
2002-09-17 01:31:54 +00:00
Alexandre Julliard
fb40a72f8f
Copied the registry functions needed by VMM into device.c and got rid
...
of memory/registry.c.
2002-09-13 18:52:57 +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
Patrik Stridvall
51e6c0ccb1
MSVC compatibility fixes.
2002-08-31 19:04:14 +00:00
Patrik Stridvall
9aab47ed24
MSVC compatibility fixes.
2002-08-28 23:42:34 +00:00
Alexandre Julliard
aface53759
Fixed a number of dll separation issues.
2002-08-28 22:35:23 +00:00
Dmitry Timoshkov
d75aed2c92
Convert most of the file APIs to Unicode.
2002-08-27 01:13:58 +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
09570edaa5
MSVC compatibility fixes.
2002-08-17 01:22:59 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Alexandre Julliard
07b6a624cb
lstrcpyn[AW] count should be considered unsigned.
2002-08-16 20:00:48 +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
Alexandre Julliard
4ced7ef45f
Use the "new" LDT set call on Linux.
2002-08-14 21:10:50 +00:00
Alexandre Julliard
ca6dbf7c25
Don't change base in map_image since we use it later on.
...
Added some tracing.
2002-08-06 23:53:38 +00:00
Alexandre Julliard
636cfc5389
Set user address space limit to 0xc0000000.
2002-08-03 19:13:55 +00:00
Alexandre Julliard
526531eb6c
Create at most one glue file for a single dll.
...
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Alexandre Julliard
7375597fe2
Fixed some handle type mismatches and added a few casts in prevision
...
of void* handles.
2002-07-31 19:26:03 +00:00
Alexandre Julliard
29f265fab1
Set the correct permissions on the PE image sections.
2002-07-29 23:59:26 +00:00
Bang Jun-Young
17eb169922
Make compile on NetBSD.
2002-07-25 23:57:34 +00:00
Alexandre Julliard
c1dddbea55
RegEnumValue[AW] need to update the data size on buffer overflow
...
(spotted by Massimo <max@veneto.com>).
2002-07-10 03:27:35 +00:00
Tommy Schultz Lassen
13bfbc9530
Fixed lstrcpynA debug tracing.
2002-07-08 20:45:59 +00:00
Alexandre Julliard
a010932a3f
More explicit initialization of info_size for stupid compilers.
2002-07-05 21:30:38 +00:00
Gregg Mattinson
7c4cb515b6
Cast void* to char* for pointer arithmetic.
2002-07-03 21:10:43 +00:00
Alexandre Julliard
ac90ba9bce
Authors: Huw D M Davies <hdavies@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
...
Fixed nasty bug for 2+ byte multibyte strings and GetStringType.
Fleshed out GetStringType CTYPE3 from the unicode tables.
CP_SYMBOL is not a valid codepage while CP_UTF7|8 are.
2002-06-25 00:24:36 +00:00
Alexandre Julliard
bc524e92d2
Avoid loading programs into the DOS memory area.
2002-06-20 22:54:26 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
9d80215254
A few optimizations in the process startup requests now that Winelib
...
apps are started differently from Unix ones.
2002-05-24 21:20:27 +00:00
Alexandre Julliard
7fbd74ea55
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
...
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard
6044307c3a
A few fixes for mingw cross-compilation.
2002-05-17 03:31:08 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
702b158e70
Export global argc/argv variables from libwine and remove the
...
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Alexandre Julliard
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Jukka Heinonen
cfa6f09d1c
When using MapSL, 32-bit addresses are no longer truncated into 16-bit
...
addresses.
2002-05-11 23:01:12 +00:00
Alexandre Julliard
2481581938
Build an explicit argument structure for mmap instead of relying on
...
the stack layout.
2002-05-10 01:46:15 +00:00
Andreas Mohr
757e7cb40d
Replace SELECTOR_AllocBlock and SELECTOR_FreeBlock with standard Win16
...
selector calls.
2002-05-08 00:20:40 +00:00
Olivier Houchard
f41ecf3782
Support for getting memory size on FreeBSD.
2002-05-07 01:50:02 +00:00
Patrik Stridvall
3751ff045c
MS C related changes.
2002-05-04 18:37:08 +00:00
Alexandre Julliard
894b188fcf
Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch]
2002-04-25 21:40:56 +00:00
Andreas Mohr
cacbe216eb
Add return traces to GlobalMemoryStatus, GetSystemInfo and fixme in
...
GetSystemInfo.
2002-04-02 19:40:49 +00:00
Alexandre Julliard
6543a6522a
Transfer the full process startup info as well as the command-line
...
through the server.
2002-03-29 18:28:56 +00:00
Alexandre Julliard
fdd66643d9
Make sure the import directory is not in shared memory.
2002-03-29 18:18:47 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett
73ab649ced
New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.
2002-02-25 20:10:35 +00:00
Dmitry Timoshkov
c59655ede0
Reimplement GetStringTypeA and GetStringTypeExA.
2002-02-04 18:34:32 +00:00
Alexandre Julliard
5016e921f5
Added support for cleaning up the TEB from inside the exiting thread.
2002-01-07 18:04:07 +00:00
Alexandre Julliard
77dc009d91
Fixed bug in system heap creation when it already exists.
2001-12-26 20:38:53 +00:00
Uwe Bonnes
9788815b9c
GlobalReAlloc16: If heap has GlobalPageLock set, try only with
...
HEAP_REALLOC_IN_PLACE_ONLY flag set.
2001-12-20 00:00:25 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard
9fcd89a5d8
Removed unnecessary includes.
2001-12-17 22:12:23 +00:00
Rein Klazes
9aa748cb2a
Added error message in LOCAL_GetBlock().
2001-12-17 21:20:27 +00:00
Alexandre Julliard
60fd03d248
Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte
...
to avoid corrupting the last error code.
2001-12-05 22:18:48 +00:00
Alexandre Julliard
996c0bff59
Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
...
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
Andrew Lewycky
c5ec01890a
map_image: map the PE header readonly.
2001-11-30 23:08:21 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard
b0fa2a8ca8
Fixed registry routines broken by the structure sizes fix.
2001-11-24 03:41:37 +00:00
Dmitry Timoshkov
6b6596a1e3
Fixed packing and layout of many system structures.
2001-11-23 18:44:43 +00:00
Andreas Mohr
55a14edd17
Use exception handler for GlobalUnlock, GlobalFree.
2001-11-20 20:26:35 +00:00
François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard
51349422b9
Try to use read instead of mmap for files on removable media, so that
...
we don't need to keep the mapping handle open.
2001-10-24 00:30:23 +00:00
Andreas Mohr
e15badb478
Cosmetics.
2001-10-21 15:18:15 +00:00
Francois Gouget
541ff5fb9f
Add INVALID_ATOM and MAXINTATOM to winbase.h.
...
Replace MIN_STR_ATOM with MAXINTATOM.
2001-10-15 17:49:23 +00:00
Francois Gouget
386cf6e342
When including 'wine/port.h', include it first.
...
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget
e5ddd26dd7
When including config.h, include it first.
2001-10-14 16:18:52 +00:00
Alexandre Julliard
d8a8c1131d
Added atom_t type for atoms to make sure we use the same type
...
everywhere. Handle MIN_STR_ATOM offset in the server.
2001-10-12 18:45:29 +00:00
Alexandre Julliard
a0c38fe3dd
Fix MapViewOfFile to always return a 64K-aligned address.
...
Avoid converting pointers to UINT.
2001-10-09 21:50:44 +00:00
Andreas Mohr
f359895daf
Yet another documentation/message text patch.
2001-10-02 17:49:20 +00:00
Alexandre Julliard
abc3539768
Fixed size check in HEAP_FindFreeBlock to make sure we also find
...
blocks that have the exact size needed.
2001-09-26 23:11:21 +00:00
Francois Gouget
5ee3879ce0
Fix the conversions of a command line to/from an argv array.
2001-09-20 19:05:11 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Patrik Stridvall
bc38d6bfde
- Made sure that the files that contains the declarations
...
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall
3dd618791e
Documentation fixes.
2001-07-18 21:02:05 +00:00
Patrik Stridvall
e9782fa1fc
Documentation fixes.
2001-07-12 22:33:51 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Alexandre Julliard
2b27fcd9bf
Added direct system call for unaligned mmap support on Linux.
...
Support 64-bit file offsets in MapViewOfFileEx.
2001-06-14 19:31:36 +00:00
Patrik Stridvall
dae8de69e2
Documentation ordinal fixes (using winapi_fixup).
2001-06-13 20:13:18 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Dmitry Timoshkov
8e013f9bd8
VirtualProtect should return correct old protection flags.
2001-04-20 18:28:18 +00:00
Alexandre Julliard
9515336378
Small dll separation fixes.
2001-03-23 19:13:23 +00:00
Alexandre Julliard
389b039fe4
We need to create the system heap at startup even though we don't use
...
it, since some Win95 native dlls depend on that.
2001-03-04 01:06:07 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Alexandre Julliard
7f187e5043
Only create the system heap when we actually need it.
2001-02-23 01:37:05 +00:00
Alexandre Julliard
61d32b4e0d
Allocations do not need to be on the system heap.
2001-02-23 01:35:36 +00:00
Alexandre Julliard
5f195f8c01
Small server protocol cleanups.
2001-02-20 23:45:07 +00:00
Alexandre Julliard
fe5b19d15b
Fixed MEM_SYSTEM handling to avoid unmapping areas that we didn't mmap.
2001-02-20 00:52:41 +00:00
François Gouget
4188fbcb9b
Misc typos in comments.
2001-02-14 21:43:06 +00:00
James Abbatiello
a7faef9516
Don't require write access on the file handle to create a
...
copy-on-write mapping.
2001-02-12 18:07:16 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Andreas Mohr
c9cf70d448
Some more cleanups.
2001-01-26 20:40:50 +00:00
Uwe Bonnes
a8be2a5b4f
MapViewOfFileEx: make the returned error dependent on the Windows
...
version used.
2001-01-15 22:20:30 +00:00
Alexandre Julliard
7d5bc5c3f9
Removed some direct accesses to the 16-bit task structure.
2001-01-15 20:09:09 +00:00