Commit Graph
17 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier e8fee34fc7 2010-04-14 Gonzalo Paniagua Javier <[email protected]>
* DeflateStream.cs: the delegate uses Cdecl calling convention on
	windows too. Fixes bug #574713.


svn path=/trunk/mcs/; revision=155395
2010-04-14 14:17:29 +00:00
Gonzalo Paniagua Javier 32c96fedba 2010-04-07 Gonzalo Paniagua Javier <[email protected]>
* DeflateStream.cs: always use Cdecl, since the library is compiled
	using that calling convention in windows too.


svn path=/trunk/mcs/; revision=155017
2010-04-07 22:57:36 +00:00
Gonzalo Paniagua Javier cf0257d56c 2010-03-09 Gonzalo Paniagua Javier <[email protected]>
* DeflateStream.cs: don't call unmanaged code when the byte count
	is 0. Fixes bug #586870.


svn path=/trunk/mcs/; revision=153385
2010-03-10 04:46:25 +00:00
Geoff Norton bfd2f646b9 2009-12-23 Geoff Norton <[email protected]>
* DeflateStream.cs: Ensure our callbacks go into the correct
	static methods.

svn path=/trunk/mcs/; revision=148867
2009-12-23 17:05:08 +00:00
Jonathan Pryor 77f951b6f1 * DeflateStream.cs: MonoTouch reverse callbacks need to be static
methods and be annotated with [MonoPInvokeCallback].  Get things
	  working with these limitations.

svn path=/trunk/mcs/; revision=141905
2009-09-14 18:25:28 +00:00
Gonzalo Paniagua Javier 8c052b4698 2009-07-20 Gonzalo Paniagua Javier <[email protected]>
* GzipStream.cs: fixed Dispose (bool).
	* DeflateStream.cs: simplify the interface with unmanaged code, big
	reduction of managaed<->unmanaged round trips.
	Also fixes bug #523418.


svn path=/trunk/mcs/; revision=138252
2009-07-21 02:24:53 +00:00
Gert Driesen 6b10903f70 * DeflateStreamTest.cs: Improved CanRead, CanSeek and CanWrite tests.
Added test for bug #327480. Code formatting.
* GzipStreamTest.cs: Improved CanRead, CanSeek and CanWrite tests.
Code formatting.
* DeflateStream.cs: Avoid double free. Fixes bug #327480.

svn path=/trunk/mcs/; revision=86218
2007-09-22 16:50:02 +00:00
Zoltan Varga 7bca2efa27 2006-10-22 Zoltan Varga <[email protected]>
* DeflateStream.cs: Throw a more meaningfull exception when zlib initialization
	fails.

svn path=/trunk/mcs/; revision=66884
2006-10-22 14:19:49 +00:00
Andrew Skiba c1c57cd5c6 TARGET_JVM
svn path=/trunk/mcs/; revision=66041
2006-09-28 14:46:10 +00:00
Miguel de Icaza 740e58c590 2006-09-19 Miguel de Icaza <[email protected]>
* GzipStream.cs: Only dispose, do not try to use internal routines.


svn path=/trunk/mcs/; revision=65623
2006-09-19 06:57:36 +00:00
Atsushi Eno 63723f518b 2006-04-04 Atsushi Enomoto <[email protected]>
* DeflateStream.cs GzipStream.cs : updated API to 2.0 RTM.
	  Dispose() should certainly release resources than the finalizer.


svn path=/trunk/mcs/; revision=58992
2006-04-04 00:45:46 +00:00
Miguel de Icaza a5bd130af9 2006-03-11 Miguel de Icaza <[email protected]>
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
	used by us internally).

	Ponder: should we instead move our methods to use new versions of
	the Obsoleted ones?

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeNamespaceImportCollection.cs: It turns out that a lot of the
	errors flagged with "!" were just missing explicit interface
	implementations.  

	Implement.

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeDomConfigurationHandler.cs: Comment out unused methods. 

	* TempFileCollection.cs: Implement explicitly some interface
	methods to get rid of the "!" errors on CorCompare.

2006-03-11  Miguel de Icaza  <[email protected]>

	* Queue.cs: Flag as serializable.

	* LinkedList.cs (OnDeserialization): Fix signature. 

	* SortedList.cs: Implement explicitly a few methods that were
	flagged by corcompare. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
	avoid warning.

2006-03-11  Miguel de Icaza  <[email protected]>

	* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
	internal to avoid warnings.  This routine is called from
	System.Web with MethodInfo.Invoke.

2006-03-11  Miguel de Icaza  <[email protected]>

	* DeflateStream.cs: Comment out DllImport that was not being
	used. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* y

	* SerialPort.cs: Remove unused variable (writeBuffer). 

	* SerialPortStream.cs (Dispose): override, not new.

2006-03-11  Miguel de Icaza  <[email protected]>

	* WebClient.cs: Only expose the right methods to avoid warnings. 

	* FtpDataStream.cs (Dispose): Fix signature.

	* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
	like we are missing features here).

	* IPAddress.cs: Move m_HashCode property to the end, and set
	pragmas to disable warnings.

2006-03-11  Miguel de Icaza  <[email protected]>

	* MailAddress.cs: Comment out unused field to remove warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkChange.cs: Use pragmas to eliminate warnings from events
	that we do not trigger yet.

	This is a candidate for using Aaron's NetworkManager code.  But
	would make us depend on d-bus.

	* NetworkInformationException.cs: Use error_code for ErrorCode,
	instead of NativeErrorCode.   Fixes warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
	need to do this everywhere one day).

	(Close): actually obey the "leaveInnerStreamOpen" setting from the
	constructor. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkStream.cs (Dispose): Use the right signature depending on
	the profile being built.

2006-03-11  Miguel de Icaza  <[email protected]>

	* X509Chain.cs: Flagged member as internal to avoid unused warning.

	* X500DistinguishedName.cs: Comment out unused names and move
	temporary unused variables inside the comments that were removed 



svn path=/trunk/mcs/; revision=57836
2006-03-11 19:07:56 +00:00
Sebastien Pouliot 2b2e8bcdd9 2005-05-18 Sebastien Pouliot <[email protected]>
* DeflateStream.cs: Fixed some changed/missing exceptions.
	* GzipStream.cs: Renamed to GZipStream (from beta2).


svn path=/trunk/mcs/; revision=44714
2005-05-18 19:40:02 +00:00
Raja R Harinath ebd4a7df44 In Test:
* System.IO.Compression/GzipStreamTest.cs: Fix compile errors.
	* System.IO.Compression/GzipStreamTest.cs: Likewise.

In System.IO.Compression:
	* DeflateStream.cs, GzipStream.cs, CompressionMode.cs: Make class public.

svn path=/trunk/mcs/; revision=37025
2004-12-03 15:11:36 +00:00
Martin Baulig 744a80bb3b Ooops.
svn path=/trunk/mcs/; revision=35952
2004-11-10 06:49:43 +00:00
Martin Baulig d1c2d41338 2004-11-10 Martin Baulig <martin@localhost>
* DeflateStream.cs, GzipStream.cs: `System.IO.Stream.Length' doesn't
	have any setter.

svn path=/trunk/mcs/; revision=35951
2004-11-10 06:48:55 +00:00
Miguel de Icaza ff0d74eeb5 Add System.IO.Compression from Chris Lahey ([email protected])
svn path=/trunk/mcs/; revision=34610
2004-10-02 18:48:07 +00:00