<!-- --><!-- --><style type="text/css">@import url(http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=37343329&amp;blogName=Leon+Pegg&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;homepageUrl=http%3A%2F%2Fleonpegg.blogspot.com%2F&amp;blogLocale=en_US&amp;searchRoot=http%3A%2F%2Fleonpegg.blogspot.com%2Fsearch" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" title="Blogger Navigation and Search"></iframe> <div></div>
0 comments | Friday, May 23, 2008

I have moved over to my new site LeonPegg.com.

0 comments | Friday, August 10, 2007

OpenChat client running with on php6 + php-gtk

Instead of rewriting the generator I spent the day fixing all the php-gtk code to work with php6.

stage 1
./buildconf --with-phpize=phpize6

stage 2
edit the configure file and replace line 3910 with
PHP_PREFIX=`php-config6 --prefix`
and line 3914 with
PHP_VERSION=`php-config6 --version`

stage 3
./configure

stage 4
edit Makefile so that the generator is run with php5 not 6. This means I dont have to fix the generator YET.

stage 5
make

stage 6
sudo make install

Using my edited source code php-gtk builds and runs with php6 with this method.

I still have much more to do with the php-gtk source to get it running perfect but this is a huge step forward to what we were 3 days ago when I started.

Labels:

0 comments


screenshot showing a widget in a window and the php version as title.

I have found a few more bugs in the generator but I'll fix these

Labels:

0 comments

Well I decided I could not be bothered to rewrite the generator at present seen as the code is so bad it would take me days, so instead I fixed the problems php6 was having.
after recompiling php-gtk now runs far better then it did before I can add widgets to windows and other stuff only problem is connecting to a signal sigfault (I'll fix this).
I'll post screen shots later.

Labels:

0 comments | Thursday, August 09, 2007

  • Rewrite the php-gtk generator
  • make php-gtk unicode safe (not sure what this will require)
I will add more as I find out what needs doing, Rewriting the generator is the most important right now as php6 hates it also it seems like it was just the php-gtk1 generator modifyed for php-gtk2

Labels:

0 comments

  • Rewrite the php-gtk generator
  • make php-gtk unicode safe (not sure what this will require)
I will add more as I find out what needs doing, Rewriting the generator is the most important right now as php6 hates it also it seems like it was just the php-gtk1 generator modifyed for php-gtk2

Labels:

0 comments | Wednesday, August 08, 2007

I have not really contributed much in the source code side of php-gtk because I am not the confidaent in my C skills but over the last few days I have been hacking at the source trying to get it to run with php6-dev.Now this is only the first step I am sure I have not done everything right but now it runs I may have more people want to help with development.

Today I had a brake throgh and got php-gtk compiling and running on php6

Labels:

0 comments | Tuesday, August 07, 2007

Well while keeping track of seamlessRDP there has been some development, You can now run multiple programs through the same RDP connection, so no more Windows Startbar YAY. also icons are now displayed which is a bonus I also realized I can redirect sound so I can now use windows media player and iTunes.
Its a shame safari skips the tasklist but this could be because its BETA.
I am now just waiting for darg'n'drop and copy paste of things other then text

0 comments | Monday, August 06, 2007

As we all know namespaces were thrown out in php5, which for some was a disappointment. For me it was not a big thing and I was not that bothered.

While writing some programs auroraeosrose on irc://chat.freenode.net/#php-gtk suggested I waited for namespaces so I could remove some nasty code I used to preform some tasks, after she mentioned this to me I went and searched about php namespaces and found a backport of php6 namespaces to php 5.2, I downloaded and applied the patch.

Namespaces are a very nice feature and has cleaned these programs up nicely, So to save people searching for the php namespaces patch I have uploaded a patched php 5.2.3 source package (Box.net folder) the source file is called php-5.3.2+namespaces.tar.gz

auroraeosrose has kindly agreed to compile a windows version of this which I will also upload when ready.

As a side note php-Unity will require namespaces to work, after I have finished the updating php-Unity code to use namespaces I'll upload a pre-alpha version for everyone to look and play with.

Labels:

0 comments | Saturday, August 04, 2007

Since I last posted I have not really been up to much, Went to a mate b'day party and got extremely drunk, worked over the weekends and slept.

php-Unity Framework

During the development of one of my applications I realized much of the code would easily work as a framework, so I have been busy creating php-Unity a php-gtk2 framework.

currently there is already a framework for php-gtk2 called Callicore, Callicore is constantly being developed and improved by Elizabeth Smith, Callicore has a leg up over php-Unity due to the fact the core developer Elizabeth is one of the current php-gtk2 dev team. This means if there is a php-gtk feature thats not implemented she does it.

Regardless this I will be developing php-Unity along side CyCle IDE, In the hope I will eventually be a viable php-gtk application framework