1. 22 Şub, 2001 1 kayıt (commit)
  2. 21 Şub, 2001 1 kayıt (commit)
    • Andrew M. Kuchling's avatar
      Patch #103373 from Donovan Baarda: This patch: · 9aff4a2a
      Andrew M. Kuchling yazdı
        * fixes the zlib decompress sync flush bug as reported in bug #124981
        * avoids repeat calls to (in|de)flateEnd when destroying (de)compression
          objects
        * raises exception when allocating unused_data fails
        * fixes memory leak when allocating unused_data fails
        * raises exception when allocating decompress data fails
        * removes vestigial code from decompress flush now that decompression
          returns all available data
        * tidies code so object compress/decompress/flush routines are consistent
      9aff4a2a
  3. 31 Ock, 2001 2 kayıt (commit)
  4. 09 Eki, 2000 1 kayıt (commit)
  5. 03 Agu, 2000 1 kayıt (commit)
  6. 21 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', · f3f33dcf
      Thomas Wouters yazdı
      and a couple of functions that were missed in the previous batches. Not
      terribly tested, but very carefully scrutinized, three times.
      
      All these were found by the little findkrc.py that I posted to python-dev,
      which means there might be more lurking. Cases such as this:
      
      long
      func(a, b)
      	long a;
      	long b; /* flagword */
      {
      
      and other cases where the last ; in the argument list isn't followed by a
      newline and an opening curly bracket. Regexps to catch all are welcome, of
      course ;)
      f3f33dcf
  7. 10 Tem, 2000 1 kayıt (commit)
  8. 03 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum yazdı
      For more comments, read the patches@python.org archives.
      For documentation read the comments in mymalloc.h and objimpl.h.
      
      (This is not exactly what Vladimir posted to the patches list; I've
      made a few changes, and Vladimir sent me a fix in private email for a
      problem that only occurs in debug mode.  I'm also holding back on his
      change to main.c, which seems unnecessary to me.)
      b18618da
  9. 06 Nis, 2000 1 kayıt (commit)
  10. 29 Şub, 2000 1 kayıt (commit)
  11. 22 Ara, 1999 1 kayıt (commit)
  12. 20 Ara, 1999 1 kayıt (commit)
  13. 12 Nis, 1999 1 kayıt (commit)
  14. 07 Nis, 1999 1 kayıt (commit)
  15. 25 Mar, 1999 1 kayıt (commit)
  16. 22 Mar, 1999 1 kayıt (commit)
  17. 29 Ock, 1999 1 kayıt (commit)
  18. 28 Ock, 1999 1 kayıt (commit)
  19. 06 Ock, 1999 1 kayıt (commit)
  20. 21 Ara, 1998 2 kayıt (commit)
  21. 18 Ara, 1998 2 kayıt (commit)
    • Jeremy Hylton's avatar
      patches from Andrew · a37e2445
      Jeremy Hylton yazdı
      NOTE: There is still a bug of some sort in the behavior of zlib.  In
      at least one case, inflate returns Z_OK (which is typically
      interpreted to mean that more output space is needed) when it has
      finished inflating a buffer.  This has been reported as a bug to the
      zlib maintainers; we may need to change the Python interface.
      a37e2445
    • Fred Drake's avatar
      When _PyString_Resize() reports failure, the variable referring to the · 6de7d0c3
      Fred Drake yazdı
      string we wanted to resize is set to NULL.  Don't Py_DECREF() those
      variables!  (5 places)
      6de7d0c3
  22. 04 Ara, 1998 1 kayıt (commit)
  23. 07 Tem, 1998 1 kayıt (commit)
  24. 08 May, 1998 1 kayıt (commit)
  25. 23 Nis, 1998 1 kayıt (commit)
  26. 18 Ara, 1997 1 kayıt (commit)
  27. 01 Eki, 1997 1 kayıt (commit)
    • Guido van Rossum's avatar
      Apply two changes, systematically: · 0cb96de2
      Guido van Rossum yazdı
      (1) Use PyErr_NewException("module.class", NULL, NULL) to create the
          exception object.
      
      (2) Remove all calls to Py_FatalError(); instead, return or
          ignore the errors -- the import code now checks PyErr_Occurred()
          after calling a module's init function, so it's no longer a
          fatal error for the initialization to fail.
      
      Also did some small cleanups, e.g. removed unnecessary test for
      "already initialized" from initfpectl(), and unified
      initposix()/initnt().
      
      I haven't checked this very thoroughly, so while the changes are
      pretty trivial -- beware of untested code!
      0cb96de2
  28. 04 Eyl, 1997 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Several changes: · cb914048
      Jeremy Hylton yazdı
      1. Fix bug in (de)compression objects.  The final string resize used
      zst.total_out to determine the length of the string, but the
      (de)compression object will output data a little bit at a time, which
      means total_out is not the string size.  Fix: save original value of
      total_out at the start of the call.
      
      2. Be sure to Py_DECREF the result value if you exit with an
      exception.
      
      3. Use PyInt_FromLong instead of Py_BuildValue
      
      4. include more constants from the zlib header file
      
      5. Use PyErr_Format instead of using a local buffer and sprintf.
      cb914048
  29. 03 Eyl, 1997 1 kayıt (commit)
  30. 28 Agu, 1997 1 kayıt (commit)
  31. 18 Agu, 1997 1 kayıt (commit)
  32. 14 Agu, 1997 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Several bug fixes. · 644c17d2
      Jeremy Hylton yazdı
       -- initialize length to DEFAULTALLOC and not 0
       -- resize string before returning (to remove '\000' padding)
      
      Also converted some compression routines to use PyString instead of
      buffer.
      644c17d2
  33. 13 Agu, 1997 2 kayıt (commit)
    • Jeremy Hylton's avatar
      Many changes. · 41b9f00e
      Jeremy Hylton yazdı
      Change default alloc size for uncompressing to 16K.
      
      Remove comment about core dumps when an invalid window sizes is used.
      This bug has been fixed in zlib 1.0.4.
      
      Two new optional arguments to decompress, wbits and bufsize.  wbits
      specifies the window size and bufsize specifies the initial output
      string size.
      
      In decompression code -- decompress and decompressobj methods -- use a
      Python string (and _PyString_Resize) to collect the uncompressed
      stream.  Replaces a separate buffer that was copied into a string.
      
      Fix bug in decompress that caused it to always realloc the buffer when
      it was finished decompressing.
      
      Modernized handling of optional arguments to compressobj.
      
      Updated doc strings.
      41b9f00e
    • Jeremy Hylton's avatar
      Must update the available space in the output buffer after · a74ef66a
      Jeremy Hylton yazdı
      realloc. (Fixed in PyZlib_unflush.)
      a74ef66a
  34. 03 Haz, 1997 2 kayıt (commit)
  35. 29 Nis, 1997 1 kayıt (commit)