Pike 7.8.352 released

View: New views
3 Messages — Rating Filter:   Alert me  

Pike 7.8.352 released

by Mirar @ Pike importmöte för mailinglistan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Pike developers are proud to present Pike 7.8.316, a new stable
release.

Download from

  http://pike.ida.liu.se/download/pub/pike/latest-stable/


Changes since Pike 7.8.316 (second 7.8 release):
----------------------------------------------------------------------

General
-------

o ADT.Heap
  The compat functions top() and size() are now marked as deprecated.


Extensions and New Functions
----------------------------

o Image.Image

  Added support for sending Color objects to the color() function.

o Sql.Sql

  Added support for fetching result sets as JSON-encoded strings.

o Calendar

  Updated timezone data to 2009j.

o Parser.XML.Tree

  Output from render_xml() is now on canonical form.

o Added "pike -x httpserver" that implements a minimal HTTP-server
  exporting the current directory.


Optimizations
-------------

o Lowered startup time by extending encode_value() and MasterCodec so
  that master.pike can be precompiled.

o Lowered startup time by reducing the number of MEMSET() calls done
  on startup.

o Allow threads while calling SDL_GL_SwapBuffers.

o Added optimization of has_value() and search() for single-character strings.

o Added optimization when combining two arrays where the second array
  contains a single item.


Bug fixes
---------

o Fixed casting of floats to strings to again work more like in Pike
  7.6 and earlier: The string will always contain either a "." or an
  "e" to signify that it is a float, and it will no longer display so
  many digits that the binary/decimal conversion errors become
  visible.

o Protocols.HTTP.Server.HeaderParser will now discard parts of a
  header value if the header value contains a newline (like "Host:
  google.com\n.hax.net\r\n") and headers without colon.

o file_open_socket() now attempts to set SO_REUSEPORT on the socket.
  Potentially fixes issues on FreeBSD 7.x where ports aren't reused.

o Calendar.TimeRanges now knows that `+() and `-() can get any number
  of arguments.

o The experimental extended ZFS support is disabled since it pulled in
  unwanted dependencies.

o Fixed propagation of changed module directories for joinnodes by
  zapping the joinnode cache.

o Fixed memory leak in Image.WBF.

o Fixed potential NULL-deref in Image.XWD.

o Fixed potential NULL-deref in Image.PNG.


Building and installing
-----------------------

o Nettle 2.0 is now supported.


Re: Pike 7.8.352 released

by Yvan Vander Sanden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I think there's an error in de GTK2 documentation. When creating a dialog (GTK2.Dialog) You should get a handle to the content container with '->get_vbox()'. According to the documentation, that is. That method does not exist, however. There is a function "->vbox()" that does the trick, but in any case this is an inconsistency between code and manual.

Regards,

yvan vander sanden

Re: Pike 7.8.352 released

by Lance Dillon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hmm, weird.  Well, vbox is a member, but there is also a method get_content_area() (as of gtk 2.14) that returns vbox also.  There is no method get_vbox() in the gtk documentation, so there shouldn't be a reference to the method in the pike docs.


From: Yvan Vander Sanden <yvan@...>
To: pike@...
Sent: Thursday, September 24, 2009 9:26:59 AM
Subject: Re: Pike 7.8.352 released

Hi.

I think there's an error in de GTK2 documentation. When creating a dialog (GTK2.Dialog) You should get a handle to the content container with '->get_vbox()'. According to the documentation, that is. That method does not exist, however. There is a function "->vbox()" that does the trick, but in any case this is an inconsistency between code and manual.

Regards,

yvan vander sanden