Brad Campbell | 1 Jul 07:30
Picon

Re: Message box highlight colours

Henry Vermaak wrote:
> On 30/06/07, Brad Campbell <brad <at> wasp.net.au> wrote:
>> G'day all,
>>
>> This is my last resort, I'm going mental.
> 
> i consider that a virtue...
> 
>>
>> Something, somehow has changed the highlight settings on my object 
>> inspector treeview and compiler
>> message box to a Dark blue/purple background with black text (which is 
>> nearly impossible to read).
>>
> 
> i can't even find a way to change these settings.  have you tried to
> fiddle around with your window manager settings (like themes)?

I'll have a play. Both my machines are standard Ubuntu. One is 6.06 and the other is 7.04, so Gnome 
with the "Human" theme I guess. I've only noticed this in the last couple of days so I had guessed 
something had changed in Lazarus. I may try an svn revert and see what comes up.

I had already tried blowing away the ~/.lazarus directory.

And while I was typing this E-mail I re-built latest svn with the gtk2 interface rather than the gtk 
and the problem is gone. Sweet :) Not a fix, but the widgets look so much nicer I'll leave it this way!

Brad
--

-- 
"Human beings, who are almost unique in having the ability
(Continue reading)

Mark Morgan Lloyd | 1 Jul 13:43
Picon

Lazarus on SPARC/Linux

I've now got a SPARC/Linux system permanently running in front of me which 
gives me a bit more incentive to work on this. I've got FPC 2.0.4 compiled 
from source and installed without significant problem, using this Lazarus 
0.9.22 builds without significant problem (particularly with my parallel 
experience building for x86, that's largely why I did that).

Starting Lazarus again does nothing (with the exception described below) 
unexpected, everything I've tried from the menus works and the form editor 
works; using an externally-created project I'm able to compile a test which 
runs from outside the IDE.

There is however a major problem with the unit editor window in that any click 
on the client area (i.e. including the gutter but excluding the tabs and 
scrollbar) brings up an exception. Looking back through the list shows that I 
got to pretty much the same position last August, Mattias pointed me at this

-----8<-----
#0  0x00289478 in GTKAPIWIDGETCLIENT_DRAWCARET (CLIENT=0xbdbf18,
   CALLEDBYTIMER=false) at gtkwinapiwindow.pp:698

Please check if the line numbers are correct:

696:      if (WidgetStyle<>nil)
697:      and (Widget^.Window<>nil)
698:      and (Width>0)
696:      and (Height>0)

The Width is accessed some lines in front.
Maybe a compiler bug?
Add some writelns and find out what pointer exactly gives the SIGSEGV.
(Continue reading)

Picon
Favicon
Gravatar

Virtual Treeview port preview release

Today i released a preview release of the new port of Virtual Treeview 
based in version 4.5.1 for those that want to test it.

For info about the port, how install, know issues see 
https://luipack.bountysource.com/wiki/virtualtreeview .

Feel free to do bug reports.

Luiz

zeljko | 1 Jul 14:05

Re: Virtual Treeview port preview release

On Sunday 01 July 2007 13:56, Luiz Americo Pereira Camara wrote:
> Today i released a preview release of the new port of Virtual Treeview
> based in version 4.5.1 for those that want to test it.
>
> For info about the port, how install, know issues see
> https://luipack.bountysource.com/wiki/virtualtreeview .
>
> Feel free to do bug reports.

what is exactly missing in qt interface to get qt port useable ? 

tnx.

Picon
Favicon
Gravatar

Re: Virtual Treeview port preview release

zeljko wrote:
> On Sunday 01 July 2007 13:56, Luiz Americo Pereira Camara wrote:
>   
>> Today i released a preview release of the new port of Virtual Treeview
>> based in version 4.5.1 for those that want to test it.
>>
>> For info about the port, how install, know issues see
>> https://luipack.bountysource.com/wiki/virtualtreeview .
>>
>> Feel free to do bug reports.
>>     
>
> what is exactly missing in qt interface to get qt port useable ? 
>   
1) implement some functions of delphicompat unit (LCL extensions 
package) in qt. The utf-16 function (*W) should be pretty simple.  
GetBkColor, GetCurrentObject also should be simple. KillTimer and 
SetTimer can take more work. Anyway you can base on what is done in gtk. 
Others are really not necessary for basic work

2) test. i don't have a qt4 environment setup

Luiz

zeljko | 1 Jul 14:45

Re: Virtual Treeview port preview release

On Sunday 01 July 2007 14:40, Luiz Americo Pereira Camara wrote:
> zeljko wrote:
> > On Sunday 01 July 2007 13:56, Luiz Americo Pereira Camara wrote:
> >> Today i released a preview release of the new port of Virtual Treeview
> >> based in version 4.5.1 for those that want to test it.
> >>
> >> For info about the port, how install, know issues see
> >> https://luipack.bountysource.com/wiki/virtualtreeview .
> >>
> >> Feel free to do bug reports.
> >
> > what is exactly missing in qt interface to get qt port useable ?
>
> 1) implement some functions of delphicompat unit (LCL extensions
> package) in qt. The utf-16 function (*W) should be pretty simple.
> GetBkColor, GetCurrentObject also should be simple. KillTimer and
> SetTimer can take more work. Anyway you can base on what is done in gtk.
> Others are really not necessary for basic work
>
> 2) test. i don't have a qt4 environment setup

ok, tnx

zeljko

Mattias Gaertner | 1 Jul 15:08
Picon
Favicon

Re: Message box highlight colours

On Sun, 01 Jul 2007 09:30:10 +0400
Brad Campbell <brad <at> wasp.net.au> wrote:

> Henry Vermaak wrote:
> > On 30/06/07, Brad Campbell <brad <at> wasp.net.au> wrote:
> >> G'day all,
> >>
> >> This is my last resort, I'm going mental.
> > 
> > i consider that a virtue...
> > 
> >>
> >> Something, somehow has changed the highlight settings on my object 
> >> inspector treeview and compiler
> >> message box to a Dark blue/purple background with black text
> >> (which is nearly impossible to read).
> >>
> > 
> > i can't even find a way to change these settings.  have you tried to
> > fiddle around with your window manager settings (like themes)?
> 
> I'll have a play. Both my machines are standard Ubuntu. One is 6.06
> and the other is 7.04, so Gnome with the "Human" theme I guess. I've
> only noticed this in the last couple of days so I had guessed
> something had changed in Lazarus. I may try an svn revert and see
> what comes up.
> 
> I had already tried blowing away the ~/.lazarus directory.
> 
> And while I was typing this E-mail I re-built latest svn with the
(Continue reading)

Picon

Re: Lazarus on SPARC/Linux

On 7/1/07, Mark Morgan Lloyd <markMLl.lazarus <at> telemetry.co.uk> wrote:
> FPC appears
> to be OK and Lazarus is so very close to working that I'd be surprised if this
> was the result of a compiler problem.

I recomend that you try the subversion version of Lazarus then. Any
changes will be made to subversion anyway, and you won't be able to
test them if you don't use it.

--

-- 
Felipe Monteiro de Carvalho

Mark Morgan Lloyd | 1 Jul 18:59
Picon

Re: Lazarus on SPARC/Linux

Felipe Monteiro de Carvalho wrote:

>> FPC appears
>> to be OK and Lazarus is so very close to working that I'd be surprised 
>> if this
>> was the result of a compiler problem.
> 
> I recomend that you try the subversion version of Lazarus then. Any
> changes will be made to subversion anyway, and you won't be able to
> test them if you don't use it.

I will do that, but not immediately. The position is that I had a reasonable 
degree of confidence that I could get FPC 2.0.4 working on SPARC after the 
work I did last Summer and that version- as I understand it- is known to 
compile the current version of Lazarus as released. I don't want to start 
working with both an untried version of the compiler and a new set of 
sources... tomorrow, perhaps but not today :-)

The current situation appears to be that enabling the calls to DebugLn() and 
fixing gtkwinapiwindow.pp so that they compile fixes- or at least changes- the 
problem. That suggests that it might in fact be an FPC code-generation problem.

--

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

Henry Vermaak | 2 Jul 11:50
Picon
Gravatar

Re: gtk2 combobox

On 25/06/07, Henry Vermaak <henry.vermaak <at> gmail.com> wrote:
> hi all
>
> is anybody experiencing this?  (see attached)  gtk2 combobox with
> csdropdownlist.

update:

this offset happens whenever the combobox is inside a tab.  the cap
i've sent is a combobox inside a tab, which is inside another tab.
can anyone confirm?

thanks

henry


Gmane