Commit Graph

35 Commits (master)

Author SHA1 Message Date
Alexandre Julliard df2521bff2 cabinet: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard 7a9b389465 cabinet: Move internal FDI definitions to fdi.c. 2011-02-04 15:25:31 +01:00
Alexandre Julliard 05702c146e cabinet: Call FDI function pointers explicitly instead of hiding them inside macros. 2011-02-04 15:25:31 +01:00
Alexandre Julliard 396c9fca21 cabinet: Pass an FDI pointer to internal functions instead of a handle. 2011-02-04 15:25:29 +01:00
Alexandre Julliard a71fbe16d9 cabinet: Move the internal FCI structure to fci.c. 2011-02-04 11:35:46 +01:00
Alexandre Julliard b18b596621 cabinet: Pass an FCI pointer to internal functions instead of a handle. 2011-02-04 11:35:41 +01:00
Alexandre Julliard 9aa0e35ecc cabinet: Call FCI function pointers explicitly instead of hiding them inside macros. 2011-02-04 11:27:37 +01:00
Andrew Talbot 9a079a64e6 cabinet: Declare a function static. 2009-02-09 12:22:49 +01:00
Andrew Talbot 61292cfc61 cabinet: Declare a function static. 2009-02-05 13:13:43 +01:00
Andrew Talbot 184dbe7e63 cabinet: Declare a function static. 2009-01-02 14:27:43 +01:00
Andrew Talbot 81d964824b cabinet: Remove unneeded casts. 2007-12-07 17:36:01 +01:00
James Hawkins a72e182010 cabinet: Don't extract a file if DoExtract is FALSE. 2007-08-27 12:18:39 +02:00
James Hawkins 832e30694d cabinet: Formalize the SESSION struct. 2007-08-23 12:41:53 +02:00
Alexandre Julliard d5ff728265 cabinet: Use the proper fcntl defines in the FDI_OPEN calls. 2007-08-22 12:19:00 +02:00
Andrew Talbot 5c812a14f3 cabinet: Constify some variables. 2007-03-15 12:15:38 +01:00
Mike McCormack c63b348a8a cabinet: Fix and test the undocumented Extract function.
The paths are MAX_PATH length.
The last field is list of files which is checked when flags = 0.
Add tests for the flag in the file list.
2006-08-07 13:13:31 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Gerold J. Wucherpfennig 4f75f8469b cabinet: Set proper error information on failures. 2006-03-01 20:56:41 +01:00
James Hawkins 877c8092cf cabinet: Move the remaining cabextract.c functions to fdi.c. 2006-01-12 13:30:43 +01:00
James Hawkins 6213c452bb cabinet: Add the two flags used by Extract to cabinet.h. 2006-01-09 20:24:10 +01:00
James Hawkins e073fbdce9 cabinet: Define the flags member of the EXTRACTdest structure. 2006-01-09 20:23:34 +01:00
Mike McCormack 280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Gerold Jens Wucherpfennig 4e1ec201ef Some FCI work. 2005-06-24 12:16:37 +00:00
Gerold Jens Wucherpfennig 2ed3c40758 Initial FCI work (FCICreate and FCIDestroy). 2005-05-14 11:06:10 +00:00
Stefan Leichter 3f5fada764 Added the linked list with the name of files of the CAB archive. 2004-01-08 00:42:36 +00:00
Stefan Leichter a0d658aeed Make use of/handle the first parameter of the function Extract. 2003-12-30 21:55:52 +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
Gregory M. Turner 857398a9f8 - ERR("WARNING") just doesn't look right ;)
- treat zero file handle as invalid if the callback returns it
- provide the same args as Windows to the Open callback
2003-07-30 03:45:46 +00:00
Gregory M. Turner a8bbbf5ad1 - eliminate pesky global variables; should be threadsafe now
- fix more memory leaks
- fix some bugs
- some decruftification
- implement support for split cabinets and "NEXT_CABINET" notification
2003-07-19 03:09:21 +00:00
Gregory M. Turner 0c63c39c8d - move macros and constants into cabinet.h where they can be shared
between cabextract.c and fdi.c
- reminders to eliminate global variables (for multithread
  compatibility)
- remove struct fdi_cab: due to the nature of the FDI API, we cannot
  preload all the cabinets; this appears to obviate the need for struct
  fdi_cab
- "oppress" (that is, do not process) partial files which were
  continuations from another cabinet
- more than one partial file can exist in a single cabinet (how!?) --
  so move the partial file notification (and "oppression" that goes with
  it) into the loop that iterates through files
2003-06-17 03:56:51 +00:00
Gregory M. Turner 141d3a3b02 Fix some uglies. 2003-06-13 18:54:18 +00:00
Gregory M. Turner 6f27b3bc06 - implement FDI{Create,Destroy,IsCabinet}
- fix a typo
- duplicate a bug
- some blathering about code duplication
- change fdi.c indentation to be consistent with cabextract.c
2003-06-13 18:04:35 +00:00
Gregory M. Turner 03e0a49649 - paranoia: eliminate some global variables
- better reminder on how to fix memory leaks
2003-06-13 16:28:23 +00:00
Greg Turner 92cc5868ae Fix some problems when Extract is used more than once. 2003-01-23 21:22:24 +00:00
Greg Turner 55b2bf1d89 - port cabextract to wine
- implement cabinet.dll.Extract, urlmon.dll.Extract
- add SP6a registry key to winedefault.reg
2002-12-19 21:16:56 +00:00