I've had a need to draw underlines in text created with the GD image
functions, specifically ImagePSText(). As far as I could tell there's no
way to do this (apart from using ImageLine(), which would be difficult to
really get right). [I'm happy to hear suggestions if I've missed the
obvious :-)]
> but will be glad to discuss the merits of this and
> its implementation if any one else feels it could be a useful feature.
Hi Derrell,
Below is some code I wrote to do something very similar to this from
an external perspective. It basically replaces the use of $this with a
reference to the cl
It needs to be made against HEAD (eg: 5.1 CVS) as it won't be going
into any release branch.
--Wez.
On Sat, 6 Nov 2004 13:55:21 +1000, Tom Rogers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Saturday, November 6, 2004, 10:25:57 AM, you wrote:
> MB> Hello Tom,
>
> MB> can you please provide a unified
Hi,
Saturday, November 6, 2004, 10:25:57 AM, you wrote:
MB> Hello Tom,
MB> can you please provide a unified diff (diff -u) which everyone here
MB> understands? Also it would help to see a diff against HEAD.
MB> regards
MB> marcus
This is against the latest cvs 4.3
--
regards,
TomIndex: Ze
At 04:58 PM 11/1/2004 +0100, Marcus Boerger wrote:
Hello l0t3k,
it's a pain in the ass right now. I have some ideas right now but want to
discuss on frankfurt conf with some others first. Generally my idea is to
allow to stream into/from a single string if a certain interface is present.
That mea
* Thus wrote Klaus Reimer:
> Curt Zirzow wrote:
> >>And this extension is working WITHOUT callbacks in main/rfc1867.c?
> >correct. The only thing that needs to go into the core of php is a
> >new php.ini option to disable parsing the input.
One thing to add is that I surely dont think its php's
re
Hmm, that wasn't quite the gain I was hoping for. Might be time for the
contest after all (to create a compatible way of serializing).
Andi
At 04:17 PM 11/5/2004 -0500, Ilia Alshanetsky wrote:
On large arrays (Ex. $GLOBALS) this patch seems to have ~10% speed
improvement on PHP 5.
Ilia
Andi Gut
[EMAIL PROTECTED] writes:
> I don't think it's "really clean" to not return a *new* instance with a
> *new* call. I'm not sure what kind of advantage it gives you over a private
> constructor and a static getInstance($n) function.
"Really clean" in that I believe that it's the class' business wha
> Yes, Pool. I just said that it is Singleton for multiple objects which
in fact is pool.
..hence it's not a Singleton. :)
Cheers,
Michael
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> Andrey Hristov <[EMAIL PROTECTED]> writes:
> There are absolutely ways to do this purely at the application level.
It just
> seems that it'd be a really clean, easy to program, easy to understand
methodology to pass the key value to the request for a new instance, and
get
> back either a new ins
Hello Tom,
can you please provide a unified diff (diff -u) which everyone here
understands? Also it would help to see a diff against HEAD.
regards
marcus
Saturday, November 6, 2004, 1:16:33 AM, you wrote:
> Hi,
> Friday, November 5, 2004, 8:42:49 PM, you wrote:
KR>> Marcus Boerger wrote:
>
Hi,
Friday, November 5, 2004, 8:42:49 PM, you wrote:
KR> Marcus Boerger wrote:
>> Thinking about it another time you're right. So what the patch offers is
>> all we can do. However having the session id available somehow would make
>> the the patch usefull.
KR> I have some ideas for this. It may
On large arrays (Ex. $GLOBALS) this patch seems to have ~10% speed
improvement on PHP 5.
Ilia
Andi Gutmans wrote:
Still behind a bit on my email. Has anyone tested this yet? It would be
cool to commit.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.
Still behind a bit on my email. Has anyone tested this yet? It would be
cool to commit.
Delivered-To: [EMAIL PROTECTED]
Date: Sun, 24 Oct 2004 13:10:20 +0200 (CEST)
From: Sascha Schumann <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: Wez Furlong <[EMAIL PROTECTED]>
Cc: Andi Gutmans <[EMAIL
Curt Zirzow wrote:
And this extension is working WITHOUT callbacks in main/rfc1867.c?
correct. The only thing that needs to go into the core of php is a
new php.ini option to disable parsing the input.
Ok, then you can do with PHP the same as I have done with a CGI program
before I found the menti
* Thus wrote Klaus Reimer:
> Curt Zirzow wrote:
> >I have a pecl extenstion started that provides this functionality.
> >It needs some more testing and a patch so php doesn't parse the
> >data.
>
> And this extension is working WITHOUT callbacks in main/rfc1867.c?
correct. The only thing that nee
Curt Zirzow wrote:
I have a pecl extenstion started that provides this functionality.
It needs some more testing and a patch so php doesn't parse the
data.
And this extension is working WITHOUT callbacks in main/rfc1867.c?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visi
* Thus wrote Klaus Reimer:
> Marcus Boerger wrote:
> >Thinking about it another time you're right. So what the patch offers is
> >all we can do. However having the session id available somehow would make
> >the the patch usefull.
>
> I have some ideas for this. It may even be possible to remove t
[EMAIL PROTECTED] wrote:
Andrey Hristov <[EMAIL PROTECTED]> writes:
Why not using Singleton for multiple objects with getInstance() ?
Yeah, it's not quite a Singleton pattern. I've seen references to what I'm
talking about as a Pool pattern. That's basically what I described here:
Yes, Pool. I
Andrey Hristov <[EMAIL PROTECTED]> writes:
> Why not using Singleton for multiple objects with getInstance() ?
Yeah, it's not quite a Singleton pattern. I've seen references to what I'm
talking about as a Pool pattern. That's basically what I described here:
>> One could certainly call a func
I came across an interesting desire today. I'd like to create a new class
instance if an only if a "key" value does not already exist. This key value
could be looked up in a database, in an array, etc.
The following contrived example shows use of a proposed __new() overload
function which would
Why not using Singleton for multiple objects with getInstance() ?
Andrey
[EMAIL PROTECTED] wrote:
I came across an interesting desire today. I'd like to create a new class
instance if an only if a "key" value does not already exist. This key value
could be looked up in a database, in an array, e
Marcus Boerger wrote:
Thinking about it another time you're right. So what the patch offers is
all we can do. However having the session id available somehow would make
the the patch usefull.
I have some ideas for this. It may even be possible to remove the
UPLOAD_IDENTIFIER-stuff from the patch
Hello Klaus,
Friday, November 5, 2004, 11:03:34 AM, you wrote:
> Marcus Boerger wrote:
>> we've haered of it in the past but it was too late to add for 4.3
>> series and obviously nobody cared to look for it for 5.0. So no the
>> next version we could add it to would be 5.1. In general the idea
On Fri, 5 Nov 2004, Klaus Reimer wrote:
> Marcus Boerger wrote:
> > we've haered of it in the past but it was too late to add for 4.3
> > series and obviously nobody cared to look for it for 5.0. So no the
> > next version we could add it to would be 5.1. In general the idea
> > is nice but it s
Hello Klaus,
Friday, November 5, 2004, 11:42:49 AM, you wrote:
> Marcus Boerger wrote:
>> Thinking about it another time you're right. So what the patch offers is
>> all we can do. However having the session id available somehow would make
>> the the patch usefull.
> I have some ideas for this.
Marcus Boerger wrote:
we've haered of it in the past but it was too late to add for 4.3
series and obviously nobody cared to look for it for 5.0. So no the
next version we could add it to would be 5.1. In general the idea
is nice but it should also allow for script callbacks:
This is possible? Up
Hello Klaus,
we've haered of it in the past but it was too late to add for 4.3
series and obviously nobody cared to look for it for 5.0. So no the
next version we could add it to would be 5.1. In general the idea
is nice but it should also allow for script callbacks:
function upload_callback()
Hello,
The website "http://pdoru.from.ro/"; states that "hopefully the patch
will be integrated into PHP". This patch adds some hooks to
main/rfc1867.c so PHP modules can implement stuff like reading the
current state of a file upload. Such an external PHP module can write
the state to disk or s
29 matches
Mail list logo