Pike 7.8.346 beta

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

Pike 7.8.346 beta

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

Reply to Author | View Threaded | Show Only this Message

New build that I hope to release as a stable towards the end of the
week:

    http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/

Windows build avilable.


Changes since Pike 7.8.316 (second stable 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 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 SWL_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 attepts 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.346 beta

by Henrik Grubbström-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 13 Sep 2009, Peter Bortas @ Pike importmöte för mailinglistan wrote:

> New build that I hope to release as a stable towards the end of the
> week:
>
>    http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/
>
> Windows build avilable.

A Gentoo ebuild is now available from the Pike overlay.

--
Henrik Grubbström grubba@...
Roxen Internet Software AB

Re: Pike 7.8.346 beta

by Martin Baehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 14, 2009 at 11:17:12AM +0200, Henrik Grubbström wrote:
> >New build that I hope to release as a stable towards the end of the
> >week:
> >   http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/
> >Windows build avilable.
> A Gentoo ebuild is now available from the Pike overlay.

for forsight it is available at pike=embee.rpath.org@fl:2-devel

greetings, martin.
--
cooperative communication with sTeam      -     caudium, pike, roxen and unix
searching contract jobs:  programming, training and administration - anywhere
--
pike programmer      working in china                   community.gotpike.org
foresight developer  foresightlinux.org                        open-steam.org
unix sysadmin        iaeste.(tuwien.ac|or).at                     caudium.org
Martin Bähr          http://www.iaeste.or.at/~mbaehr/            is.schon.org


Re: Pike 7.8.346 beta

by Martin Baehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 14, 2009 at 11:54:12AM +0200, Martin Bähr wrote:
> > >   http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/
> > >Windows build avilable.
> > A Gentoo ebuild is now available from the Pike overlay.
> for forsight it is available at pike=embee.rpath.org@fl:2-devel

now rebuilt against nettle 2.0

greetings, martin.
--
cooperative communication with sTeam      -     caudium, pike, roxen and unix
searching contract jobs:  programming, training and administration - anywhere
--
pike programmer      working in china                   community.gotpike.org
foresight developer  foresightlinux.org                        open-steam.org
unix sysadmin        iaeste.(tuwien.ac|or).at                     caudium.org
Martin Bähr          http://www.iaeste.or.at/~mbaehr/            is.schon.org


Re: Pike 7.8.346 beta

by Philipp Hancke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Henrik Grubbström wrote:

> On Sun, 13 Sep 2009, Peter Bortas @ Pike importmöte för mailinglistan
> wrote:
>
>> New build that I hope to release as a stable towards the end of the
>> week:
>>
>>    http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/
>>
>> Windows build avilable.
>
> A Gentoo ebuild is now available from the Pike overlay.

btw: why does the ebuild use --without-copt?
This has a major performance impact on my machine (xeon x5460 cpu),
both with `pike -x benchmark` and realworld tasks.

The output of `pike -x benchmark` when pike was built without any
CONFIGUREARGS: http://hancke.name/pike/default-knecht
and --without-copt: http://hancke.name/pike/without-copt-knecht
The "optimized" version runs twice as fast.

It might be worthwhile to drop --without-copt from the configure args
in the ebuild :-)

cheers

philipp


Re: Pike 7.8.346 beta

by Henrik Grubbström-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 18 Sep 2009, Philipp Hancke wrote:

> Henrik Grubbström wrote:
>> On Sun, 13 Sep 2009, Peter Bortas @ Pike importmöte för mailinglistan
>> wrote:
>>
>>> New build that I hope to release as a stable towards the end of the
>>> week:
>>>
>>>    http://pike.ida.liu.se/download/pub/pike/beta/7.8.346/
>>>
>>> Windows build avilable.
>>
>> A Gentoo ebuild is now available from the Pike overlay.
>
> btw: why does the ebuild use --without-copt?
It's been inherited from the original Gentoo ebuild, so I'm not sure, but
I believe it has to do with Gentoo policy, where optimization options
should be controlled via /etc/make.conf et al.

> This has a major performance impact on my machine (xeon x5460 cpu),
> both with `pike -x benchmark` and realworld tasks.
>
> The output of `pike -x benchmark` when pike was built without any
> CONFIGUREARGS: http://hancke.name/pike/default-knecht
> and --without-copt: http://hancke.name/pike/without-copt-knecht
> The "optimized" version runs twice as fast.
>
> It might be worthwhile to drop --without-copt from the configure args
> in the ebuild :-)
True, but as I said, I believe it has to do with Gentoo policies.
You should be able to achieve the same level of optimization by setting
the same flags in /etc/make.conf.

> cheers
>
> philipp

--
Henrik Grubbström grubba@...
Roxen Internet Software AB

Re: Pike 7.8.346 beta

by Henrik Grubbström-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 19 Sep 2009, Henrik Grubbström wrote:

> On Fri, 18 Sep 2009, Philipp Hancke wrote:
>
>> Henrik Grubbström wrote:
>>> A Gentoo ebuild is now available from the Pike overlay.
>>
>> btw: why does the ebuild use --without-copt?
>
> It's been inherited from the original Gentoo ebuild, so I'm not sure, but I
> believe it has to do with Gentoo policy, where optimization options should be
> controlled via /etc/make.conf et al.
A closer look gives that --without-copt actually actively filters
optimization options from CFLAGS et al, which is probably not what the
original author of the ebuild intended. A new ebuild will be uploaded to
the pike overlay as soon as I get a working ssh again (curses libtool).

>> cheers
>>
>> philipp

--
Henrik Grubbström grubba@...
Roxen Internet Software AB