James Hawkins
a79765ff02
cabinet: Close the opened file handle even in error cases.
2006-12-15 12:20:37 +01:00
Francois Gouget
367f91fb5c
Assorted spelling fixes.
2006-12-14 20:25:05 +01:00
Andrew Talbot
49e8797de2
cabinet: Cast-qual warnings fix.
2006-10-20 10:19:46 +02:00
Francois Gouget
ef998ea6cb
Assorted spelling fixes.
2006-10-16 11:33:38 +02:00
James Hawkins
e981278769
cabinet: Make internal functions static.
2006-10-12 11:35:15 +02:00
Paul Vriens
5bbc6323dc
cabinet: Make tests run on Win98 again.
2006-10-06 12:53:25 +02:00
Michael Stefaniuc
dec4332a1e
cabinet/tests: Win64 printf format warning fixes.
2006-10-06 12:33:34 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
fc4cd637d9
tests: Moved some compatibility defines to wine/test.h.
2006-09-13 11:01:39 +02:00
Marcus Meissner
0c15360a3e
Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes.
2006-09-11 11:30:48 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Andrew Talbot
64db35a993
cabinet/tests: Write-strings warnings fix.
2006-08-15 11:42:36 +02: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
Mike McCormack
968a445725
cabinet: Split the cabinet path for FDICopy.
2006-08-07 13:13:12 +02:00
Andrew Talbot
0fca0e00aa
cabinet: Write-strings warning fix.
2006-07-31 10:50:15 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +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
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +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
213d8a0f2f
cabinet: Remove no longer used code from cabextract.c.
2006-01-11 20:54:10 +01:00
James Hawkins
362aa36d09
cabinet: Add documentation for FDITruncateCabinet.
2006-01-11 12:12:54 +01:00
James Hawkins
ca0246fbde
cabinet: Add initial tests for Extract.
2006-01-10 12:14:47 +01:00
James Hawkins
54565b72fd
cabinet: Implement Extract on top of FDI.
2006-01-10 12:13:07 +01:00
James Hawkins
18d6f6944b
cabinet: Clean up the documentation for Extract.
2006-01-09 20:24:21 +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
James Hawkins
f9859a88d3
cabinet: Fix the second parameter name of Extract.
2006-01-09 20:23:26 +01:00
James Hawkins
d57c20ac95
cabinet: Store the cab file handle before extracting files so we can
...
close the cab file even if no files are extracted.
2006-01-09 20:23:15 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Mike McCormack
280bcf6e4a
Fix gcc 4.0 warnings.
2005-08-27 10:00:38 +00:00
Alexandre Julliard
d37f0abf07
Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
...
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Gerold Jens Wucherpfennig
0cd9009d48
The fci_get_little_endian... and fci_set_little_endian... functions
...
don't really set and unset little endianes, they do the same thing:
merely swapping bytes from one endianes to the other.
2005-07-10 17:46:34 +00:00
Stefan Huehner
17ed5537e7
Fix some more -Wmissing-declarations warnings.
2005-07-05 11:05:50 +00:00
Stefan Huehner
4b53c3aa18
Make some function static.
2005-07-01 15:40:24 +00:00
Francois Gouget
02c25a8981
Assorted spelling fixes.
2005-06-30 18:19:33 +00:00
Gerold Jens Wucherpfennig
ff25db08a5
Support for big-endian systems.
2005-06-29 11:19:47 +00:00
Gerold Jens Wucherpfennig
4e1ec201ef
Some FCI work.
2005-06-24 12:16:37 +00:00
Thomas Weidenmueller
4dbcbae5d9
Removed local variables only used in TRACE statements.
2005-06-07 20:06:39 +00:00
Gerold Jens Wucherpfennig
2ed3c40758
Initial FCI work (FCICreate and FCIDestroy).
2005-05-14 11:06:10 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Peter Berg Larsen
f525f182f2
Eliminate a strncpy and remove unused variable.
2005-04-18 15:33:15 +00:00
Alexandre Julliard
7b113e83bc
Revert previous patch, that's not a leak.
2004-12-22 17:11:31 +00:00
Michael Stefaniuc
1493433e38
Missing HeapFree's + 1 LocalFree (found by smatch).
2004-12-14 11:38:50 +00:00
Filip Navara
8f3b7dfddc
Don't try to free pointer from union that isn't used.
2004-12-06 16:09:37 +00:00
James Hawkins
513d5087b4
Fix cabextract memory leak.
2004-12-02 17:55:41 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Hans Leidekker
411fc5f164
Fix signed/unsigned comparison warnings.
2004-09-02 23:00:53 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +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
Mike Hearn
f902d2965f
result2 seems to be optional, making it 0 allows IE to continue.
2004-01-02 20:13:35 +00:00
Stefan Leichter
c5e507a44b
Added file version resource.
2003-12-31 18:56:07 +00:00
Stefan Leichter
a0d658aeed
Make use of/handle the first parameter of the function Extract.
2003-12-30 21:55:52 +00:00
Stefan Leichter
384eadc88b
Fixed parameter types of function Extract.
2003-12-08 21:40:49 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Francois Gouget
2a3d5fc105
A few spelling fixes.
2003-09-08 18:54:08 +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
fc5e7048c5
Don't touch perf in FDIIsCabinet, InstallShield may already have freed
...
it.
2003-08-18 19:50:14 +00:00
Gregory M. Turner
f910024057
Many words about cabinets.
2003-08-05 18:31:55 +00:00
Gregory M. Turner
b8675b4312
Remember decompression state during extraction, so as to avoid
...
unnecessary work.
2003-08-02 00:42:23 +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
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Gregory M. Turner
50c6965c78
- remove unused loop that always iterates once
...
- remove warning
- preparations to use multiple fdi_decomp_state structures in a linkedlist,
which will be used to implement split cabinets, if all goes according
to plan -- this is somewhat analogous to struct cabinet in cabextract.
2003-06-23 18:10:47 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +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
d1957c6092
- most of FDICopy is now implemented, although the actual decompression is not.
...
- "can" -> "do"
- a novella about a bug
- fix some memory leaks
2003-06-13 23:15:55 +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
Michael Stefaniuc
2229472d94
Add some missing HeapFree's and one missing free.
2003-04-03 18:04:40 +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
Greg Turner
92cc5868ae
Fix some problems when Extract is used more than once.
2003-01-23 21:22:24 +00:00
Gerald Pfeifer
e9ba70c364
Fix off_t cast that breaks FreeBSD.
2003-01-02 17:52:53 +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
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Patrik Stridvall
7bff19ea6e
Added FIXME:s in the stubs.
2002-12-02 19:00:59 +00:00
Patrik Stridvall
d1447faaec
Added stub implementation of cabinet.dll.
2002-11-19 00:47:12 +00:00