Commit Graph

145 Commits

Author SHA1 Message Date
Alexandre Julliard
51c7fe5fc7 cabinet: Don't try to copy data from the file if we don't even have a data buffer. 2009-01-15 12:03:08 +01:00
Michael Stefaniuc
f516cab017 include: Change to LONG/ULONG in fdi.h for Win64 compatibility. 2009-01-14 12:21:20 +01:00
Michael Stefaniuc
602f42c25f include: Change to LONG/ULONG in fci.h for Win64 compatibility. 2009-01-14 12:21:13 +01:00
Alexandre Julliard
98f89d460d cabinet: Add CDECL to the cabinet callback functions. 2009-01-05 12:39:02 +01:00
Alexandre Julliard
235ae03597 cabinet/tests: Add CDECL to the cabinet callback functions. 2009-01-03 20:12:39 +01:00
Andrew Talbot
184dbe7e63 cabinet: Declare a function static. 2009-01-02 14:27:43 +01:00
Michael Stefaniuc
e4db17f268 cabinet: Don't cast the return value of PF[CD]I_ALLOC; those are void pointers. 2009-01-02 11:53:48 +01:00
Jacek Caban
edda4637b4 cabinet: Make sure that parent directories exist when creating a new directory. 2008-12-29 15:29:28 +01:00
Francois Gouget
897af57deb cabinet/tests: Make CopyProgress() static. 2008-12-12 11:41:45 +01:00
Alexandre Julliard
16fb8fd843 cabinet: Don't allocate a huge buffer on the stack. 2008-12-11 12:24:33 +01:00
Ricardo Filipe
1a12aace57 cabinet: Fix dead stores (llvm/clang). 2008-11-18 13:04:59 +01:00
Michael Stefaniuc
bfe6fe678a cabinet: Do not cast NULL. 2008-11-03 13:38:43 +01:00
Rob Shearman
79ad9cbcdd cabinet: Check buffer size before copying in NONEfdi_decomp.
Check that the data will fit into the fixed sized buffer CAB(outbuf)
and return an error if not before copying.
2008-10-01 11:42:36 -05:00
Juan Lang
c479ea631f cabinet: Use helper function to remove duplicate code. 2008-09-10 10:40:33 +02:00
Juan Lang
70cfa0c36e cabinet: Use helper function to remove duplicate code. 2008-09-10 10:40:27 +02:00
Hans Leidekker
42506c94f2 cabinet: Fix a memory leak. 2008-07-21 12:21:17 +02:00
Alexandre Julliard
c1add0ff51 cabinet: Always use INT_PTR for handles. 2008-06-18 20:48:54 +02:00
Dmitry Timoshkov
5ddd35f493 cabinet: Fix the regression caused by 4046075462. 2008-05-19 13:33:41 +02:00
Andrew Talbot
4046075462 cabinet: Remove order-of-evaluation dependencies. 2008-05-14 12:21:26 +02:00
Andrew Talbot
938150d01f cabinet: Indentation fix. 2008-05-05 13:34:05 +02:00
James Hawkins
fe8c3f9059 cabinet: Revert "cabinet: Fix for FDICopy with an empty cabinet file.".
This reverts commit 33e561f53c.
Fixed the test that fails on all platforms.
2008-04-28 13:27:51 +02:00
Vitaly Perov
33e561f53c cabinet: Fix for FDICopy with an empty cabinet file. 2008-04-25 15:02:10 +02:00
Vitaly Perov
1077238143 cabinet: Added a test for FDICopy with an empty cabinet file. 2008-04-25 15:01:48 +02:00
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Rob Shearman
903a486dc0 cabinet: Replace strcasecmp call with lstrcmpiA as strcasecmp isn't portable and doesn't take into account the current codepage. 2008-02-18 12:20:35 +01:00
Andrew Talbot
ac796d81e7 cabinet: Assign to structs instead of using memcpy. 2008-02-12 22:36:03 +01:00
Reece H. Dunn
0edae1c9ea cabinet: Make the fdi tests pass on Vista. 2008-02-06 13:49:38 +01:00
Francois Gouget
d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Austin English
f6caf1be81 Misc spelling fixes. 2008-01-18 12:51:08 +01:00
Francois Gouget
44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Rico Schüller
2dd29b107e cabinet: Fix memory leak (found by Smatch). 2008-01-07 13:45:51 +01:00
Andrew Talbot
69599675a7 cabinet: Remove unneeded cast. 2007-12-31 17:41:09 +01:00
Andrew Talbot
81d964824b cabinet: Remove unneeded casts. 2007-12-07 17:36:01 +01:00
Alexandre Julliard
ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Andrew Talbot
f2df3d7582 cabinet: Remove unneeded casts. 2007-12-06 12:07:36 +01:00
Andrew Talbot
b3e56e9d0b cabinet: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Dan Kegel
559b38c34c cabinet: FCICreate: Initialize oldCCAB. 2007-11-05 14:19:07 +01:00
Dan Kegel
c2330178eb cabinet: FCIAddFile: Set defaults in case callback doesn't set some fields. 2007-11-05 14:16:27 +01:00
James Hawkins
e533893da8 cabinet: Fix two tests that return E_FAIL on win98. 2007-10-26 14:03:46 +02:00
Jeff Latimer
30892c8b8d cabinet: Remove unnecessary function. 2007-09-10 15:29:47 +02:00
James Hawkins
fbf3cef553 cabinet: Add initial tests for FDI. 2007-08-29 11:59:22 +02:00
James Hawkins
a72e182010 cabinet: Don't extract a file if DoExtract is FALSE. 2007-08-27 12:18:39 +02:00
James Hawkins
2918a272e3 cabinet: Return the value of GetLastError if FDICopy fails. 2007-08-24 11:26:48 +02:00
James Hawkins
b1bd920818 cabinet: Append new file nodes to the front of the file list. 2007-08-24 11:22:38 +02:00
James Hawkins
80e149d62c cabinet: Pass the session Error to FDICopy. 2007-08-24 11:21:54 +02:00
James Hawkins
832e30694d cabinet: Formalize the SESSION struct. 2007-08-23 12:41:53 +02:00
Alexandre Julliard
1bc72fb6da cabinet: Use the correct create disposition in fdi_open. 2007-08-22 12:19:00 +02:00
Alexandre Julliard
d5ff728265 cabinet: Use the proper fcntl defines in the FDI_OPEN calls. 2007-08-22 12:19:00 +02:00
James Hawkins
75e9ae7ece cabinet: Formalize the SESSION struct and add more tests of its members. 2007-08-22 12:19:00 +02:00
Paul Vriens
85867205e5 cabinet/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-08-14 20:29:21 +02:00