Commit Graph

144 Commits

Author SHA1 Message Date
Steven Edwards 6af30d6994 Split win16/32 support. 2003-08-23 23:18:13 +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
Steven Edwards d8b97af8f5 Split Win16/32 setupapi device installer support. 2003-06-16 19:40:53 +00:00
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Aric Stewart b5d318460d Respect the version SP_COPY flags when installing files.
Make GenInstall16 only copy files if the version is new or same.
2003-05-19 18:52:16 +00:00
Huw Davies 565b92b042 Implement a load of setupx Di* stubs. 2003-05-13 22:16:53 +00:00
Huw Davies 0704955ca4 Use strtoulW instead of strtolW for DWORD conversion. 2003-05-13 22:16:11 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Uwe Bonnes 5eb88a08a2 Added some stubs. 2003-04-02 23:19:14 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +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 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +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
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Patrik Stridvall c72255c715 Fixed some issues found by winapi_check. 2002-10-29 21:31:26 +00:00
Jaco Greeff 8dc2b10a22 Made the reporting for the (current) unsupported flags in GenInstall16
more user-friendly, i.e. report per missing flag instead of DWORD value.
2002-10-29 21:23:04 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Uwe Bonnes d241176fef More stubs. 2002-10-10 19:23:57 +00:00
Steve Lustbader cee34aa5fe Provide stub for SetupDiGetClassDevsW.
Fix return value of SetupDiGetClassDevsA.
2002-10-10 18:57:32 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +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
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Dmitry Timoshkov 2a00807f40 Fixed hex to binary conversion. 2002-08-13 18:11:15 +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
Andreas Mohr 283a7ff8d1 Honour the VNLP_COPYIFEXISTS flag when doing a copy operation. 2002-07-20 18:54:51 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard a5755b10a7 Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
Fixed memory leaks.
2002-06-13 23:54:55 +00:00
Alexandre Julliard 6f2791093b For lines that contain a single field, the field is also the line key
(thanks to Aric Stewart).
2002-06-13 21:52:44 +00:00
Aric Stewart 5de3334a7f When processing the reg section we need to delete before adding.
First pass implementation of UpdateIni.
2002-06-13 21:51:45 +00:00
Patrik Stridvall 296c5a6b97 Fixed some issues found by winapi_check. 2002-06-04 22:12:50 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Mike McCormack a8693258af Stub implementations of some functions. 2002-05-28 22:39:14 +00:00
Andreas Mohr 841ce935d2 Removed obsolete email address. 2002-05-23 02:41:46 +00:00
Alexandre Julliard 9b6f433ebb Implemented strtolW/strtoulW in libwine_unicode and used it to replace
wcstol and friends.
2002-05-16 18:58:47 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +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
Patrik Stridvall 14c96c1017 Fixed some issues found by winapi_check. 2002-04-03 02:37:09 +00:00
Alexandre Julliard 5068347b19 Implemented a large number of the 32-bit setupapi functions.
Fixed a number of setupx functions by making them call the setupapi
equivalents.
2002-04-02 02:57:50 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Mehmet Yasar 78f41aeaf7 Prevent setup from crashing if a section in the INF is empty (no
entries) (this happens when installing IE5).
2002-03-11 01:15:01 +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
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Alexandre Julliard 9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Stefan Leichter 5bc7d7361e Fixed parameters of SetupOpenInfFileA. 2001-10-09 21:47:11 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +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
Patrik Stridvall a84934403d Fixed some issues found by winapi_check. 2001-06-20 22:53:48 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Andreas Mohr 43e12ae268 VcpQueueDelete() does not have a LPEXPANDVTBL parameter. 2001-05-24 18:41:21 +00:00
Chris Morgan 130289a212 Fix duplicate directories being concatenated to buffer in
VcpExplain16().  Added a few useful TRACE lines.  Enabled a ifdef'ed
out call to CopyFile() inside of VCP_CopyFiles() so files are copied
to a users directories during an install.
2001-05-07 18:17:19 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Andreas Mohr 9bebbc5d8e - implement some more virtcopy (VCP) stuff
- add some setupx resources
- implement VHSTR functionality
- large parts of VCP callback handling
- merge setupapi and setupx stuff, especially resource handling
  gets rid of setupx debug channel; setupapi is the only one that remains
2001-04-17 17:39:35 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
James Juran c85144b0d9 Added some stubs needed for IE 5.5 setup. 2001-01-17 20:17:46 +00:00
Patrik Stridvall 00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00
Andreas Mohr de0f6dd5fe - don't initialize with pFirstLDD if pFirstLDD isn't initialized yet either
- corrected VcpClose .spec
2000-12-16 20:16:33 +00:00
Andreas Mohr 559f432126 - implemented proper LDD/LDID handling
- implement Ctl*Ldd(), Ctl[GS]etLddPath, GenInstall (no real operations
  yet, I want help), InstallHinfSection
- Stubbed out DiGetClassDevs16 (needed for e.g. Monkey Island 3 ;)
- many new .spec stubs
2000-12-13 21:31:37 +00:00
Patrik Stridvall b5e5555c7c Fixed Win16 documentation not fixed because of a bug in winapi_check. 2000-12-01 23:54:51 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Andreas Mohr c568d47033 - fix crash in SETUPX_TranslateLDID()
- implement custom LDID lookup
2000-11-28 23:50:34 +00:00
Alexandre Julliard 69dd0a9467 Removed dependency on 16-bit file I/O functions. 2000-11-26 22:40:49 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
James Hatheway cb655b0aae Added stubs and setupapi.h. 2000-11-06 20:24:43 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Andreas Mohr e826f27331 - fix inf file open/close
- do NOT return handles based on list offset
  - we might want to use HEAP_strdupA instead of assigning string pointers...
- implement (more or less) GenFormStrWithoutPlaceholders
2000-11-04 02:57:18 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Andreas Mohr 5644cdc1f5 Started some basic work on the more or less undocumented SETUPX
functions.
2000-09-26 22:46:36 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard e514103971 Added imports of kernel32.dll where necessary. 2000-08-06 03:47:29 +00:00
Alexandre Julliard 76d3671bee Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Alexandre Julliard a3502ccf93 Merged setupx.dll into setupapi.dll.
Merged sound.dll into winmm.dll.
Merged stress.dll into kernel32.dll.
2000-07-26 19:51:37 +00:00
Francois Jacques df5e579254 Added setupapi shared library and SetupIterateCabinet stub. 2000-07-08 18:27:03 +00:00