Commit Graph

803 Commits

Author SHA1 Message Date
Eric Pouech f94c8b85b9 Move some fields (refCount, tls_index and module) from WINE_MODREF to
LDR_MODULE.
2003-03-20 22:05:26 +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
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 8ed35fe87f Warnings fixes. 2002-11-25 01:14:15 +00:00
Alexandre Julliard 60bace9cfa Replace most PROFILE_GetWineIni calls by direct registry accesses.
Keep the config key open to query all values instead of re-opening it
all the time.
2002-11-24 22:19:57 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +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
Patrik Stridvall e29345c3bb Added a GNU C implementation of some of the DECLSPEC_ macros and used
them wherever possible.
2002-10-01 18:07:37 +00:00
Raul Dias bbc2b5b9cc Added new "GlobalRegistryDir" option. 2002-09-24 03:07:17 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard dafbc3f73f Removed remaining references to advapi32 registry functions from
kernel functions.
2002-09-13 18:52:01 +00:00
Alexandre Julliard 81bdcf126f Removed references to advapi32 registry functions from some of the
kernel functions.
2002-09-13 17:47:44 +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
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
Alexandre Julliard 1df18838f6 Fixed checking of special dll names. 2002-09-06 18:37:48 +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
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
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
François Gouget 456ffd6241 Change the default CPU type so that QuickTime will also run on
platforms where the cpu detection code does not work.
2002-08-16 20:00:14 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +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 7015ce3096 No need to call GetModuleFileName16 now that GetModuleFileNameA
handles 16-bit tasks.
2002-07-05 01:28:10 +00:00
Alexandre Julliard 4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Alexandre Julliard a061b84ee1 Moved specification of relay and snoop include/exclude functions to
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
2002-06-04 17:48:41 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andreas Mohr e6b031bb03 - Use Win98 SE values for WIN98 setting.
- Win ME is DOS 8.00.
- Rename variable defaultWinVersion to forcedWinVersion.
- VERSION_GetSystemDLLVersion(): add W2K/XP support, add "unknown"
  warning.
2002-05-25 21:06:37 +00:00
Vincent Béron 9d9cf72a70 Partial implementation of VerifyVersionInfo{A,W}. 2002-05-24 21:13:45 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 8c08ceb56c Replaced -dosver and -winver options by config file parameters. 2002-05-23 19:35:18 +00:00
Dimitrie O. Paun e361ceab45 Remove the --managed option, and make wine use the managed mode by
default.
2002-05-23 02:43:09 +00:00
Andreas Mohr 841ce935d2 Removed obsolete email address. 2002-05-23 02:41:46 +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
Juergen Schmied 7c68252560 Use only winapi functions in _convert_winnt_registry_to_wine_format. 2002-05-09 19:38:06 +00:00
Juergen Schmied c5d30535fb Stub for VerifyVersionInfoW. 2002-05-09 19:36:28 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard eac3662bc7 Fixed inheriting command-line options from parent process. 2002-04-14 19:36:02 +00:00
Alexandre Julliard daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +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 8c875f8d13 Load classes.dat too. 2002-03-29 18:20:03 +00:00
Alexandre Julliard ac0e137998 Create threads to manage timers instead of using the service thread. 2002-03-23 18:48:53 +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
Andreas Mohr f16b401e28 Various cosmetic changes. 2002-02-27 21:34:54 +00:00
Alexandre Julliard 70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Francois Gouget 7aa67c1d6a Make the Wine trace facilities accessible from Winelib applications. 2002-01-21 23:39:36 +00:00
Eric Pouech 5cc6105b39 Changed the Wine internal cdrom interface to the NT model. 2002-01-13 01:44:00 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Chris Green f9e4e9df62 Get the correct label on iso9660 mixed-mode cds. 2001-12-31 22:21:50 +00:00
Alexandre Julliard 88ff58eef7 Store the 16-bit callback in the timer structure instead of using a
thunk.
2001-12-17 22:13:31 +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
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +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
Francois Gouget 4ae7195c25 Add versions for WinME and WinXP.
Fix the 16bit version return for Win2000.
More closely match the Win95/98 CSDVersion fields.
Enhance documentation of Win95 version numbers.
Confirm the existing data for Win2000.
2001-11-06 00:49:48 +00:00
Ove Kaaven 708a846a88 Save a disk file's drive type in the server object. 2001-10-24 00:23:25 +00:00
Marcus Meissner 099c159610 Revert 16bit win95 version back to original value. Fixes InstallShield
installer version check.
2001-10-23 19:55:11 +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 5686dc0fe8 Move WINDEBUGINFO from winbase.h to winbase16.h and rename to
WINDEBUGINFO16.
Move the related macros to version.c and ifdef them out (kept for
documentation only, they are not used).
2001-10-08 22:30:34 +00:00
Francois Gouget 086f1cbb2c Move the ERR_XXX macros from winbase.h to error.c. 2001-10-08 20:37:34 +00:00
Andreas Mohr b7afbd4bcb Speed optimization. 2001-10-01 20:52:37 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Bob Goodwin 07b740fa3f Fix the 16bit win95 version. 2001-07-27 23:57:38 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04: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 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Andreas Mohr e8f90883d8 Fix misleading P4 warning message appearing even in case of match. 2001-06-27 21:38:58 +00:00
Andreas Mohr 99f2f396b5 Spelling fixes. 2001-06-22 23:21:47 +00:00
Andreas Mohr 5fc46a2569 GetSystemInfo() Pentium 4 support. 2001-06-22 23:21:20 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Dmitry Timoshkov affc9a8817 Move IsCharAlphaA and IsCharAlphaNumericA to user32.
Better implement some of user32 *Char* functions regarding locale.
Remove kernel32 dependency on user32.
2001-06-14 19:27:01 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Patrik Stridvall 172cd1b967 Fixed some issues found by winapi_check. 2001-06-11 20:16:11 +00:00
James Juran 94cd060d80 Only fail with ERROR_INSUFFICIENT_BUFFER if the structure size is
actually too small.
2001-05-24 18:38:49 +00:00
Francois Gouget 39e1f318c5 Use memset rather than bzero. 2001-05-22 19:19:12 +00:00
James Juran b7c2f2ff68 Add missing newline to WARN messages. 2001-05-09 17:09:04 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Alexandre Julliard b9c9cdc5d4 - Added support for app-specific dll overrides using
AppDefaults\<appname>\DllOverrides configuration section.
- Better support for multiple --dll options.
- Added warning message to discourage putting multiple dlls in a
  single override entry.
2001-03-20 02:11:08 +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
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
James Abbatiello 4570478a6e Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.
2001-02-13 20:20:27 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
Martin Pilka ac0b814444 Fixed typo which caused the WritetoHomeRegistryFiles option to be
ignored.
2001-01-26 21:00:48 +00:00
Alexandre Julliard 306fc9c475 Fixed typo in HKEY_USERS/.Default creation. 2001-01-25 21:48:24 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard ca43a641b7 Removed all traces of the --config option. 2001-01-10 23:56:59 +00:00
Ryan Cumming 418e27ea68 Make CDROM_GetLabel return 0 in the event of failure, and make the
default label for drives a string of 11 spaces.
2001-01-09 20:54:11 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Alexandre Julliard 40060a1365 Removed obsolete code. 2001-01-04 19:56:29 +00:00
Guy L. Albertelli 8d91b501dd Reimplemented "relay=" and "snoop=" suboptions. 2001-01-04 19:37:37 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Morten Welinder 87093f5386 (parse_options): Allow GNU-like option arguments like
"--desktop=800x600".  (Not perfect -- we don't allow shorthands.)
2000-12-18 03:49:49 +00:00
Andreas Mohr 1f192c15bb Improved usage message. 2000-12-15 21:28:47 +00:00
Huw D M Davies ebb3a68cbc Status of CDROM_AUDIO_INVALID seems to mean the disk is stopped. 2000-12-15 20:55:39 +00:00
Alexandre Julliard 909eff9932 Added support for Unicode applications in winebuild.
Removed cuiexe_no_main hack.
Avoid stdcall function declarations inside functions because of gcc bug.
2000-12-15 03:38:11 +00:00
Martin Pilka 57f8eb71da - registry loading speed up (reduced client <-> server communication)
- make the code a bit more understandable
2000-12-15 03:22:27 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 6c8edaa667 Use getpagesize() instead of VIRTUAL_GetPageSize(). 2000-12-13 20:22:47 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00