Re: [Lazarus] svn 17017: packages won't install

2008-10-17 Thread Coppola Ing. Salvatore
Tom Lisjac wrote:
> svn 17017
>
> Packages compile and ide rebuilds but the new components never show up
> in the palette or menus.
>
> Tried sqlite, prettyformat and editortoolbar.
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>   
The same happen to me some days ago under Ubuntu. I have two lazarus
folders (one stable and one for test). Thinking to build LazTest I was
building LazStable because the Lazarus directory in LazTest was the
LazaStable folder.
Check  Environment  --> Environment options ...
File Tab
The "Lazarus directory" is the one you are trying to build

Salvatore

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Jesus Reyes



--- El vie 17-oct-08, Alexander Klenin <[EMAIL PROTECTED]> escribió:

> De:: Alexander Klenin <[EMAIL PROTECTED]>
> Asunto: Re: [Lazarus] How to choose issue tracker category for patches
> A: [EMAIL PROTECTED], "General mailing list" 
> Fecha: viernes, 17 octubre, 2008, 9:45 pm
> On Sat, Oct 18, 2008 at 03:43, Vincent Snijders
> <[EMAIL PROTECTED]> wrote:
> > I suppose Jesus would test your patch, and then a
> sample program might
> > be useful too. That might help, but I don't know
> how Jesus is going to
> > handle your patches.
> 
> Ok, I posted a demo to the tracker.
> 
> -- 
> Alexander S. Klenin
> Insight Experts Ltd.

Thanks, currently the glyph it's fixed at the right, can you improve it by 
adding a ImageLayout property? with this property glyph's position would be 
more flexible. The goal is to make it behave like a TBitBtn where you can 
select glyph position left, top, right or bottom, even TButtonLayout could be 
used for ImageLayout property.

It should behave like for the current right position, the space left after 
positioning the glyph it's used for text layout and alignment.

Jesus Reyes A.

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Alexander Klenin
On Sat, Oct 18, 2008 at 03:43, Vincent Snijders
<[EMAIL PROTECTED]> wrote:
> I suppose Jesus would test your patch, and then a sample program might
> be useful too. That might help, but I don't know how Jesus is going to
> handle your patches.

Ok, I posted a demo to the tracker.

-- 
Alexander S. Klenin
Insight Experts Ltd.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] svn 17017: packages won't install

2008-10-17 Thread Luiz Americo Pereira Camara
Tom Lisjac wrote:
> svn 17017
>
> Packages compile and ide rebuilds but the new components never show up
> in the palette or menus.
>
> Tried sqlite, prettyformat and editortoolbar.
>   

Try

Tools > Configure Build Lazarus > Build IDE with Package

Luiz
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] "trim trailing spaces" and "cursor past eol"

2008-10-17 Thread Martin Friebe
Hi, just trying to poll an opinion on how exactly those features should 
work.

Especially in relation to the automatic indent of a new line to the 
indent of the line above. (This is when you press enter at the newly 
inserted line will be indented as much as the line under which it was 
inserted.)
Normally this is done by having the new line pre-filled with spaces. 
This conflicts with "Trim trailing spaces", as this spaces are not 
always removed. (Since bug 0011745 revision 15875, if "cursor past eol" 
is enabled those spaces are no longer inserted.)

However even without "cursor past eol", the spaces may be removed => 
press a single space, on a freshly inserted line. If you "show special 
chars" you will note that the spaces are no longer present, and the 
cursor is actually behind the end of line (with side-effects if you 
press cursor-left).

So much  about the current situation.

I believe that "trim trailing spaces" and "cursor past eol" should *not* 
affect each other at all. There should be no reason. (Of course there 
would be a need to fix "trim trailing spaces")

If they do not affect each other then the following should be true 
(IMHO, if anyone disagrees or has a better idea => that is why I am 
mailing this)

- "cursor past eol"  should make no difference
- pressing new line should always insert the spaces. (*1)
  This is even if "trim trailing spaces" is active => there are way to 
make sure those spaces are never left over

- if "trim trailing spaces" is *not* active, the spaces remain, if you 
leave the line.
  This means, if you later return to this line, and press the "end" (end 
of line key) you are at the expected position (independent of "cursor 
past eol")

-if "trim trailing spaces" is active, several things need to happen:
  - the spaces are removed, when you leave the line
and (tricky) they will be kept in existence, but not be saved if you 
save the file while the cursor is still in this line
  - the spaces are kept,, even if you move the cursor to the left. 
Therefore pressing the "end" key (end of line) will behave as expected

This means if you leave the line, it will be empty, and pressing the 
"end" key, will keep/set the cursor at x=1 (independent of "cursor past 
eol").
Of course if "cursor past eol" is on, and you do *not* press "end" the 
cursor may be anywhere in the line.
 

*1)
Trimming happens when you leave the line, or save the text.
However the implementation would probably work  by not inserting the 
spaces for real, but by simulating there presence (which may affect if 
htey would or would  not be shown under "show special chars"). In any 
case SynEdit must/would behave exactly as if they did exist.
The idea is to keep a count of "virtual spaces" on the current line. 
This would not only apply to spaces in empty lines, but to all situation 
where spaces at the end of line will be affected by those options.

  

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Can Lazarus Target Nintendo DS?

2008-10-17 Thread dominique
If I have the Nintendo DS FreePascal compiler installed under Windows, is
it possible to get Lazarus to target that OS/CPU?

How do I get it to appear in the IDE's list of possible targets?

Thanks,


Dominique.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Procedure List search is broken in GTK2 only

2008-10-17 Thread Graeme Geldenhuys
>
> Using Procedure List (Alt+G) and typing a procedure name to search
> for, Lazarus crashes, but only for GTK2 widgetset. With the Lazarus
> compiled with GTK1 or Win32 it works fine.

I forgot to mention, I'm using v0.9.27 r16965M i386-linux-gtk 2
(beta). I would normally try and fix this myself (I wrote the
Procedure List addon), but I can't see a problem in that code and also
it's a issue only with GTK2.  So I assume it's a bug in the GTK2
widgetset code.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Procedure List search is broken in GTK2 only

2008-10-17 Thread Graeme Geldenhuys
Hi,

Using Procedure List (Alt+G) and typing a procedure name to search
for, Lazarus crashes, but only for GTK2 widgetset. With the Lazarus
compiled with GTK1 or Win32 it works fine.

--
TApplication.HandleException Access violation
  Stack trace:
  $0811E932  TLISTITEM__MAKEVISIBLE,  line 578 of ./include/listitem.inc
  $08548054  TPROCEDURELISTFORM__EDMETHODSKEYDOWN,  line 608 of
procedurelist.pas
  $08174E2D  TWINCONTROL__KEYDOWN,  line 4972 of ./include/wincontrol.inc
  $08174E66  TWINCONTROL__KEYDOWNBEFOREINTERFACE,  line 4981 of
./include/wincontrol.inc
  $08175185  TWINCONTROL__DOKEYDOWNBEFOREINTERFACE,  line 5117 of
./include/wincontrol.inc
  $08176E07  TWINCONTROL__CNKEYDOWN,  line 6200 of ./include/wincontrol.inc
  $08069D6E
  $08174604  TWINCONTROL__WNDPROC,  line 4749 of ./include/wincontrol.inc
  $0823FAB7  DELIVERMESSAGE,  line 3547 of
/opt/lazarus/lcl/interfaces/gtk/gtkproc.inc
  $0823D265  HANDLEGTKKEYUPDOWN,  line 2264 of
/opt/lazarus/lcl/interfaces/gtk/gtkproc.inc
  $081FDE48  GTK2KEYDOWN,  line 68 of gtk2widgetset.inc
  $B7BC48D4
  $B79C2759
  $B79D6D1D
  $B79D864E
  $B79D8C59
  $B7CE3667
Note: GetTextBuf is overridden for: �3��ֵT
TApplication.HandleException: there was another exception during
showing the first exception
  Stack trace:
  $
  $08181475
  $080B2DBA
  $080C1712
  $08099937
  $080931FC
  $08069912
  $08077E9D
  $0806D609
  $08082955
  $0823FB0A
  $0823D265
  $081FDE48
  $B7BC48D4
  $B79C2759
  $B79D6D1D
  $B79D864E
[TMainIDE.Destroy] A
TApplication.HandleException: there was another exception during
showing the first exception
  Stack trace:
  $0848A8D6
  $0848A717
  $08482AEC
  $084829CD
  $0847F1D2
  $08069912
  $08093351
  $080EE44F
  $08069912
  $08077C38
  $0806D5B3
  $0823FB0A
  $0823D265
  $081FDE48
  $B7BC48D4
  $B79C2759
  $B79D6D1D
--


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GLScene flickers in GTK2 and TJpegImage error

2008-10-17 Thread Paulo Malheiros

>> The other problem is using in GTK2, GLscene flickers horribly which
>> didn't happened in 0.9.24 (can be checked with Volcano demo). What
>> has changed in GTK2 for this to happen?
>
> I also got that when I used gtk2, and I was under the impression that gtk2
> is not 100% supported yet.
>
> If I recall correctly, it flickers only when the cadencer is running, but I
> may be wrong, it's been a while since I tested it.

I tried the Cubemap example that has no cadencer and the problem persists.

I have to look somewhere else, but thanks for the tip ;-)

Regards, Paulo


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GLScene flickers in GTK2 and TJpegImage error

2008-10-17 Thread Paulo Malheiros
Hello Burkhard

Thanks for the fix, the 'EConvertError' is in fact corrected.

I'll take a look at the Gtk2 flicker as you suggested. This issue  
becomes important because Lazarus is now officially in Gtk2. I  
remember some people talking about some issues in double-buffering  
Gtk2 a while back, so probably this problem might not have come from  
any of your changes.

Best regards,
Paulo


Quoting Burkhard Carstens <[EMAIL PROTECTED]>:

> Am Donnerstag, 16. Oktober 2008 14:01 schrieb Paulo Malheiros:
>> Hello,
>>
>> I installed the new release of Lazarus, great work by the way, but
>> the GLScene components are not totally compatible, using SVN from
>> http://svn.freepascal.org/svn/fpcprojects/glscene/trunk/ .
>>
>> On the Actor demo compiling gives an 'EConvertError' with the message
>> "Cannot assign a TJpegImage to a TGLBitmap32". I've seen in previous
>> discussions that Image formats have changed in Lazarus, any ideas on
>> how to make the change in GLScene?
>
> This should be fixed with glscene svn rev. 2262
>
>
>> The other problem is using in GTK2, GLscene flickers horribly which
>> didn't happened in 0.9.24 (can be checked with Volcano demo). What
>> has changed in GTK2 for this to happen?
>
> Did this work ok with a recent glscene svn version (> r2228) and laz
> 0.9.24 ? I changed some things regarding rendering context creation
> device context handling in glscene in around r.2228 .. that could have
> caused it, too. I don't use gtk2 so I wouldn't have noticed ..
>
>>
>> I can try and fix this, just need some directions :-)
>
> * try with svn r. 2227 (or any earlier version that worked for you) and
> current laz.
> * check Source/platform/gllclviewer.pas and Source/platform/
> gllingtkcontext.pas if you find things to improve ...
> * get in touch on freenode.net IRC #glscene channel
>
> regards
>  Burkhard
>
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] external tools

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 22:26:20 +0200
Benito van der Zander <[EMAIL PROTECTED]> wrote:

> 
> > Why not simply parse all .rst files?
> > Or enable i18n and read the .po files?
> >   
> Because I use the program to create the rst files in the first place.
> Normally you have to declare a variable for every string to translate,

... which is pretty simple in lazarus. I press my shortcut, press
enter and have my resourcestring.


> with the program you can just write tr['string to translate'] and 
> nothing more.

What can tr[] do better than resourcestrings?


> The only problem is how to call it elegant.

Resourcestrings are elegant and flexible, because you can distinguish
resourcestring sections. In lazarus every package/project
has its own set of resourcestrings.

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu dependences 0.9.26

2008-10-17 Thread Aleš Katona
Dňa Pi, 2008-10-17 o 16:57 +0200, svaa napísal:
> Graeme Geldenhuys escribió:
> > I'm running Ubuntu 7.10 and have no issues running the latests Lazarus
> > - though I always use the one from the subversion repository, not a
> > .deb release.
> >
> > I have the following apt packages installed,
> >
> > libgtk1.2, libgtk1.2-common, libgtk1.2-dev, libglib1.2, libglib1.2-dev
> >
> > I used Synaptic and searched for libglib1.2ldbl but don't have such a
> > package in any of the repositories. So I have no clue what that
> > package does or why it's needed.
> >
> >
> > Regards,
> >   - Graeme -
> >
> >   
> I have researched a little and I have understood this:
> 
> Take it every thing with a grain of salt, I am not an expert in  linux, 
> and I don't know if I have misunderstood the versions of packages.
> 
> libglib.1.2.9 was just one package for GTK widget, but  after release 
> 1.2.9,  libglib got split in two packages: libgtk for visual widgets, 
> and libglib for auxiliary-non-visual functions  like  hash , lists etc.
> It seems that  ubuntu for 7.10 hasn't  libglib.1.2.9 and ubuntu 8.04 has 
> renamed libglib.1.2.9 to "libglib1.2ldbl". I don't know what standard 
> debian distro has done.
> 
> So a lazarus may use
>libglib.1.2.9 (renamed as "libglib1.2ldbl" for ubuntu 8.04, but not 
> available in 7.10)
> xor
>libgtk.>=1.2.10 and libglib >=1.2.10
> 
> Does lazarus really need the old lib (I think from 2001)? if it doesn't, 
> the old package libglib1.2ldbl could be removed from dependences.
> 
> If lazarus needs old packages as well (to link with gtk1?) then the 
> package should  to implement the "xor" function. (can deb packages do 
> such thing?) or have two lazarus deb version.
> 
> Ones again, I'm not very sure about versions or what lazarus could need 
> the old libs for.
> 
> Reagards
> Santiago A.

Note that it's possible to specify "or" dependencies for debs. So if you
have a situation that on newer debian distroes libs are name differently
or consist of different sublibs, you can always do "libold | (libnew1,
libnew2).

Just a sidenote, I didn't reasearch this particular problem.

Ales

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] external tools

2008-10-17 Thread Benito van der Zander

> Why not simply parse all .rst files?
> Or enable i18n and read the .po files?
>   
Because I use the program to create the rst files in the first place.
Normally you have to declare a variable for every string to translate,
with the program you can just write tr['string to translate'] and 
nothing more.
The only problem is how to call it elegant.

Benito
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] svn 17017: packages won't install

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 13:09:53 -0600
"Tom Lisjac" <[EMAIL PROTECTED]> wrote:

> On Fri, Oct 17, 2008 at 9:16 AM, Mattias Gaertner
> <[EMAIL PROTECTED]> wrote:
> > On Thu, 16 Oct 2008 21:01:37 -0600
> > "Tom Lisjac" <[EMAIL PROTECTED]> wrote:
> >
> >> On Thu, Oct 16, 2008 at 5:57 PM, Alexander Klenin
> >> <[EMAIL PROTECTED]> wrote:
> >> > On Thu, Oct 16, 2008 at 18:32, Vincent Snijders
> >> > <[EMAIL PROTECTED]> wrote:
> >> >> Tom Lisjac schreef:
> >> >>> svn 17017
> >> >>>
> >> >>> Packages compile and ide rebuilds but the new components never
> >> >>> show up in the palette or menus.
> >> >>>
> >> >>
> >> >> On what OS?
> >> >
> >> > Noticed the same problem on Windows XP with TAChart.
> >> > I was able to work around it by removing / re-adding package and
> >> > rebuilding IDE twice.
> >>
> >> Thanks for the suggestion.
> >>
> >> I tried the cycle several times on Linux but still don't see the
> >> components. I can see the packages compiling in the messages window
> >> but they don't show up in the menu (for prettyformat) or the
> >> component palette (for sqlite3 etc).
> >
> > Start IDE in terminal. Compile and see what the IDE is doing.
> > If you don't find an error, send the output.
> 
> Console output seemed normal when trying to add the sqldb package
> except for these two sections:
> 
> TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1
> Ancestor=nil ### TCodeToolManager.HandleException: "include file not
> found "project1.lrs"" at Line=16 Col=7 in "project1.lpr"

Bad.


> TLazPackageGraph.CheckIfPackageNeedsCompilation  No state file for
> SQLDBLaz 1.0.1
> FindFPCTool Executable="fpcmake" CompilerFilename="/usr/bin/fpc"
> [TExternalToolList.Run] CmdLine="/usr/bin/fpcmake -q -TAll"
> WorkDir="/root/lazarus/components/sqldb/"

The package is not compiled. Bad.
Maybe fpcmake failed?

> TMainIDE.CloseUnitComponent freeing component and designer: unit1.pas
> Form1:TForm1
> TProject.UpdateUnitComponentDependencies checking designers ...
> ### TCodeToolManager.HandleException: "include file not found
> "project1.lrs"" at Line=16 Col=7 in "project1.lpr"
> ### TCodeToolManager.HandleException: "include file not found
> "project1.lrs"" at Line=16 Col=7 in "project1.lpr"
> LAZARUS END - cleaning up ...


Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to avoid mixing components/lcl from various lazarus versions?

2008-10-17 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit:

> You can use a second config directory. The --pcp option tells the IDE
> and lazbuild what config directory to use. Default is $HOME/.lazarus.

Yes, but that doesn't really solve the issue: I'd like to keep the same 
settings (preferences, installed packages, etc.), I just want to use the 
components and lcl bundled with the copy of lazarus I'm compiling/using.
Maybe is there a way to use relative paths instead of absolute ones? 
(again, just for the components under the lazarus directory, the rest 
are fine as they are).

> 
> Make a copy of your .lazarus (e.g. .lazarus2)
> Change the paths in .lazarus2. For example via the ide:
> 
> ./lazarus --pcp=~/.lazarus2
> 
> Then you can rebuild the IDE with:
> 
> ./lazbuild --pcp=~/.lazarus2 -B --build-ide=
> 
> The widgetset gtk2 is the default since 0.9.27 so you don't need to
> give that option.

Old habits die hard :-)

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] svn 17017: packages won't install

2008-10-17 Thread Tom Lisjac
On Fri, Oct 17, 2008 at 9:16 AM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> On Thu, 16 Oct 2008 21:01:37 -0600
> "Tom Lisjac" <[EMAIL PROTECTED]> wrote:
>
>> On Thu, Oct 16, 2008 at 5:57 PM, Alexander Klenin <[EMAIL PROTECTED]>
>> wrote:
>> > On Thu, Oct 16, 2008 at 18:32, Vincent Snijders
>> > <[EMAIL PROTECTED]> wrote:
>> >> Tom Lisjac schreef:
>> >>> svn 17017
>> >>>
>> >>> Packages compile and ide rebuilds but the new components never
>> >>> show up in the palette or menus.
>> >>>
>> >>
>> >> On what OS?
>> >
>> > Noticed the same problem on Windows XP with TAChart.
>> > I was able to work around it by removing / re-adding package and
>> > rebuilding IDE twice.
>>
>> Thanks for the suggestion.
>>
>> I tried the cycle several times on Linux but still don't see the
>> components. I can see the packages compiling in the messages window
>> but they don't show up in the menu (for prettyformat) or the component
>> palette (for sqlite3 etc).
>
> Start IDE in terminal. Compile and see what the IDE is doing.
> If you don't find an error, send the output.

Console output seemed normal when trying to add the sqldb package
except for these two sections:

TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1 Ancestor=nil
### TCodeToolManager.HandleException: "include file not found
"project1.lrs"" at Line=16 Col=7 in "project1.lpr"
TLazPackageGraph.CheckIfPackageNeedsCompilation  No state file for
SQLDBLaz 1.0.1
FindFPCTool Executable="fpcmake" CompilerFilename="/usr/bin/fpc"
[TExternalToolList.Run] CmdLine="/usr/bin/fpcmake -q -TAll"
WorkDir="/root/lazarus/components/sqldb/"

TMainIDE.CloseUnitComponent freeing component and designer: unit1.pas
Form1:TForm1
TProject.UpdateUnitComponentDependencies checking designers ...
### TCodeToolManager.HandleException: "include file not found
"project1.lrs"" at Line=16 Col=7 in "project1.lpr"
### TCodeToolManager.HandleException: "include file not found
"project1.lrs"" at Line=16 Col=7 in "project1.lpr"
LAZARUS END - cleaning up ...
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Digest, Vol 9, Issue 49

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 20:37:34 +0200
Benito van der Zander <[EMAIL PROTECTED]> wrote:

> Hi,
> > There are several ways:
> > a) write a script or program and use external tool
> > b) write an IDE plugin
> Thats sound complicated, isn't there an easier way?
> Now I have "--unit=$EdFile()" in the paramter list, what I'm looking
> for is a macro like "$foreach($projectfile)".
> > If you can give some more hints what do you want to do, you will get
> > more hints.
> I have written a program which adds every string in a unit to the 
> resourcestring-section for easier translation,  but of course so
> it has to be called for every unit.
> And I'm too lazy for parsing the lpr/lpi file.

Why not simply parse all .rst files?
Or enable i18n and read the .po files?

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Digest, Vol 9, Issue 49

2008-10-17 Thread Benito van der Zander
Hi,
> There are several ways:
> a) write a script or program and use external tool
> b) write an IDE plugin
Thats sound complicated, isn't there an easier way?
Now I have "--unit=$EdFile()" in the paramter list, what I'm looking for 
is a macro like "$foreach($projectfile)".
> If you can give some more hints what do you want to do, you will get
> more hints.
I have written a program which adds every string in a unit to the 
resourcestring-section for easier translation,  but of course so
it has to be called for every unit.
And I'm too lazy for parsing the lpr/lpi file.

Benito


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Vincent Snijders
Alexander Klenin schreef:
> On Sat, Oct 18, 2008 at 01:12, Vincent Snijders
> <[EMAIL PROTECTED]> wrote:
>> Lately the influx of reports (>60 last week) has been to high to
>> acknowledge each issue. Maybe one of the other developer wants to look
>> at them. To be honest, seeing too much reports to handle always
>> frustrates me.
> 
> I see. Is there anything I can do to help at least with those submitted by me?
> 

http://bugs.freepascal.org/view.php?id=12347 is already assigned to 
Jesus Reyes, so it is in his todolist and he'll know best if he needs 
extra information.

I just assigned http://bugs.freepascal.org/view.php?id=12419 yo him too, 
since he is the maintainer of the grid components.

For normal bug reports, not extension like these, it is very useful to 
have an example program that exposes the bug and which can be used to 
test if the patch fixes it.

I suppose Jesus would test your patch, and then a sample program might 
be useful too. That might help, but I don't know how Jesus is going to 
handle your patches.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] wince compilation

2008-10-17 Thread Paul Ishenin
Henry Vermaak wrote:
> hi
>
> i've had to make the following change to get the lcl to compile for
> windows ce (fpc 2.2.3):
>
> this is because i don't think CharToOem exists for windows ce.  i'm
> not sure if this points to an underlying problem, though.
>   
Thanks, applied.

Best regards,
Paul Ishenin.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Changing the font used in the IDE

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 09:13:33 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> How can I change the font used in the IDE. Fonts for Menus, Dialogs,
> OI, Messages window etc...?  Is this possible? So far, the only font I
> can changes is the editor window font.
> 
> I'm using Lazarus v0.9.27 r16999M i386-linux-gtk 2 (beta)

Just like any gtk2 app:
Use your system settings or add a .gtkrc file.

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] ide-help

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 14:35:31 +0200
Johann Spies <[EMAIL PROTECTED]> wrote:

> The lazarus packages on Ubuntu/Debian are not configured correctly and
> I have wasted a lot of time now to get the help function of the IDE
> working - without success.

What is not correctly configured? Does F1 not work?

 
> What is the index.html the StartPage is supposed to refer to?  I have
> installed the lazarus-doc package.  There are scripts in
> /usr/share/doc/lazarus/html that are supposed to be able to build
> html-documentation, but they are buggy and I had no success in
> building such documentation.

The scripts are mostly for us to create the online help. They are
written for the normal lazarus directory layout. Debian package
maintainers decided to move files. Perhaps it would be better if they
would not package those scripts.

 
> So my question, can somebody please show me how I can get the IDE help
> to make use of lazarus documentation on my computer?  

Start the IDE in a terminal and press F1. What does it show?

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] external tools

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 16:41:35 +0200
Benito van der Zander <[EMAIL PROTECTED]> wrote:

> Hi,
> is there a way to execute a external tool for every unit of the
> project directly from Lazarus?
> So without creating other files like makefiles...

There are several ways:
a) write a script or program and use external tool
b) write an IDE plugin

If you can give some more hints what do you want to do, you will get
more hints.

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] wince compilation

2008-10-17 Thread Henry Vermaak
hi

i've had to make the following change to get the lcl to compile for
windows ce (fpc 2.2.3):

Index: lcl/include/fileutil.inc
===
--- lcl/include/fileutil.inc(revision 17031)
+++ lcl/include/fileutil.inc(working copy)
@@ -83,13 +83,13 @@
 end;

 function UTF8ToConsole(const s: string): string;
-{$ifdef Windows}
+{$ifdef MSWindows}
 var
   Dst: PChar;
 {$endif}
 begin
   Result := UTF8ToSys(s);
-  {$ifdef Windows}
+  {$ifdef MSWindows}
   Dst := AllocMem((Length(Result) + 1) * SizeOf(Char));
   if CharToOEM(PChar(Result), Dst) then
 Result := StrPas(Dst);

this is because i don't think CharToOem exists for windows ce.  i'm
not sure if this points to an underlying problem, though.

henry
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu dependences 0.9.26

2008-10-17 Thread svaa
Graeme Geldenhuys escribió:
> I'm running Ubuntu 7.10 and have no issues running the latests Lazarus
> - though I always use the one from the subversion repository, not a
> .deb release.
>
> I have the following apt packages installed,
>
> libgtk1.2, libgtk1.2-common, libgtk1.2-dev, libglib1.2, libglib1.2-dev
>
> I used Synaptic and searched for libglib1.2ldbl but don't have such a
> package in any of the repositories. So I have no clue what that
> package does or why it's needed.
>
>
> Regards,
>   - Graeme -
>
>   
I have researched a little and I have understood this:

Take it every thing with a grain of salt, I am not an expert in  linux, 
and I don't know if I have misunderstood the versions of packages.

libglib.1.2.9 was just one package for GTK widget, but  after release 
1.2.9,  libglib got split in two packages: libgtk for visual widgets, 
and libglib for auxiliary-non-visual functions  like  hash , lists etc.
It seems that  ubuntu for 7.10 hasn't  libglib.1.2.9 and ubuntu 8.04 has 
renamed libglib.1.2.9 to "libglib1.2ldbl". I don't know what standard 
debian distro has done.

So a lazarus may use
   libglib.1.2.9 (renamed as "libglib1.2ldbl" for ubuntu 8.04, but not 
available in 7.10)
xor
   libgtk.>=1.2.10 and libglib >=1.2.10

Does lazarus really need the old lib (I think from 2001)? if it doesn't, 
the old package libglib1.2ldbl could be removed from dependences.

If lazarus needs old packages as well (to link with gtk1?) then the 
package should  to implement the "xor" function. (can deb packages do 
such thing?) or have two lazarus deb version.

Ones again, I'm not very sure about versions or what lazarus could need 
the old libs for.

Reagards
Santiago A.

 


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Alexander Klenin
On Sat, Oct 18, 2008 at 01:12, Vincent Snijders
<[EMAIL PROTECTED]> wrote:
> Lately the influx of reports (>60 last week) has been to high to
> acknowledge each issue. Maybe one of the other developer wants to look
> at them. To be honest, seeing too much reports to handle always
> frustrates me.

I see. Is there anything I can do to help at least with those submitted by me?

-- 
Alexander S. Klenin
Insight Experts Ltd.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] TOpenDialog under WinCE

2008-10-17 Thread Usuario Anónimo
I try to use a TOpenDialog to select and open a file under WinCE but the
component do not work.

There are other alternatives to select a file and open them under WinCE?

Best regards.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to avoid mixing components/lcl from various lazarus versions?

2008-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2008 08:55:26 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:

> I have some additional components installed.
> Some of them are outside of the lazarus tree (no problem with those), 
> and some of them are provided with lazarus but not installed by
> default. When I build the ide, I use lazbuild to have all my
> components installed e.g.:
> 
> make clean bigide LCL_PLATFORM=gtk2 && ./lazbuild -B --build-ide= 
> --widgetset=gtk2
> 
> 
> The problem is that lazbuild uses files  ~/.lazarus directory, and
> there the paths for all components are absolute and point to the
> previous lazarus directory, so if I do the above I end up mixing
> components (and, yes, even the lcl) from the new and the previously
> compiled lazarus. Now I edit all files under ~/.lazarus to replace
> the old path with the new one, but sometimes I forget to do it.
> Is there a simpler and/or more automated way?
> Do I really need to edit all files or is it enough to edit
> idemake.cfg?

You can use a second config directory. The --pcp option tells the IDE
and lazbuild what config directory to use. Default is $HOME/.lazarus.

Make a copy of your .lazarus (e.g. .lazarus2)
Change the paths in .lazarus2. For example via the ide:

./lazarus --pcp=~/.lazarus2

Then you can rebuild the IDE with:

./lazbuild --pcp=~/.lazarus2 -B --build-ide=

The widgetset gtk2 is the default since 0.9.27 so you don't need to
give that option.

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] svn 17017: packages won't install

2008-10-17 Thread Mattias Gaertner
On Thu, 16 Oct 2008 21:01:37 -0600
"Tom Lisjac" <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 16, 2008 at 5:57 PM, Alexander Klenin <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Oct 16, 2008 at 18:32, Vincent Snijders
> > <[EMAIL PROTECTED]> wrote:
> >> Tom Lisjac schreef:
> >>> svn 17017
> >>>
> >>> Packages compile and ide rebuilds but the new components never
> >>> show up in the palette or menus.
> >>>
> >>
> >> On what OS?
> >
> > Noticed the same problem on Windows XP with TAChart.
> > I was able to work around it by removing / re-adding package and
> > rebuilding IDE twice.
> 
> Thanks for the suggestion.
> 
> I tried the cycle several times on Linux but still don't see the
> components. I can see the packages compiling in the messages window
> but they don't show up in the menu (for prettyformat) or the component
> palette (for sqlite3 etc).

Start IDE in terminal. Compile and see what the IDE is doing.
If you don't find an error, send the output.

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] external tools

2008-10-17 Thread Benito van der Zander
Hi,
is there a way to execute a external tool for every unit of the project 
directly from Lazarus?
So without creating other files like makefiles...

Benito
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Vincent Snijders
Alexander Klenin schreef:
> I recently posted a few patches:
> 
> http://bugs.freepascal.org/view.php?id=12419 (patch to TDBGrid) and
> http://bugs.freepascal.org/view.php?id=12347 (patch to TCustomGrid)
> 
> but I am not sure I entered correct projects/categories for them.
> 
> Possible combinations include [Packages] Patch, [Lazarus] LCL, [Lazarus] 
> Patch,
> [Patches] LCL and even [Patches] patch.

> 
> So, three questions:
> 1) What project/category should I choose?
[Patch] LCL for both.

> 2) How to move already submitted issue to another project/category?
That is done by a developer/admin.

> 3) Can issue reporting page be modified to display current project
> more prominently?
>   It is IMO too easy to report to a wrong one.
> 

It doesn't really matter where you report it, they usually get moved to 
the right place, once aknowlegded. Maybe you can make a bug report to 
MantisBt.org for the reporting page.

Lately the influx of reports (>60 last week) has been to high to 
acknowledge each issue. Maybe one of the other developer wants to look 
at them. To be honest, seeing too much reports to handle always 
frustrates me.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] How to choose issue tracker category for patches

2008-10-17 Thread Alexander Klenin
I recently posted a few patches:

http://bugs.freepascal.org/view.php?id=12419 (patch to TDBGrid) and
http://bugs.freepascal.org/view.php?id=12347 (patch to TCustomGrid)

but I am not sure I entered correct projects/categories for them.

Possible combinations include [Packages] Patch, [Lazarus] LCL, [Lazarus] Patch,
[Patches] LCL and even [Patches] patch.

So, three questions:
1) What project/category should I choose?
2) How to move already submitted issue to another project/category?
3) Can issue reporting page be modified to display current project
more prominently?
  It is IMO too easy to report to a wrong one.

-- 
Alexander S. Klenin
Insight Experts Ltd.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus help

2008-10-17 Thread t.k.a.crijns
Hello Vincent,

> What documentation will you download?
For Windows the RTL and FCL documentation are downloaded from 
ftp://freepascal.stack.nl/pub/fpc/dist/docs-2.2.2/doc-html.zip, other 
platforms aren't supported yet.

Thorstin

- Original Message - 
From: "Vincent Snijders" <[EMAIL PROTECTED]>
To: "General mailing list" 
Sent: Wednesday, October 15, 2008 11:36 AM
Subject: Re: [Lazarus] Lazarus help


> 2008/10/14  <[EMAIL PROTECTED]>:
>> Hello everyone,
>>
>>
>>
>> I'm working on a Lazarus patch that runs separately from Lazarus. It will
>> make the help documentation locally available by downloading the
>> documentation
>
> What documentation will you download?
> For the xml docs for RTL+FCL+LCL, take a look at the doc snapshot at
> ftp://ftp.hu.freepascal.org/pub/lazarus/fpc-lazarus-doc-html-20081014.tar.bz2
> For the wiki, Christian Ulrich's wikihelp may be interesting:
> http://www.ullihome.de/index.php/Hauptseite#WikiHelp
>
> Vincent
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus






No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.8.0/1720 - Release Date: 10/11/2008 
3:59 PM

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] ide-help

2008-10-17 Thread Johann Spies
The lazarus packages on Ubuntu/Debian are not configured correctly and
I have wasted a lot of time now to get the help function of the IDE
working - without success.

What is the index.html the StartPage is supposed to refer to?  I have
installed the lazarus-doc package.  There are scripts in
/usr/share/doc/lazarus/html that are supposed to be able to build
html-documentation, but they are buggy and I had no success in
building such documentation.

So my question, can somebody please show me how I can get the IDE help
to make use of lazarus documentation on my computer?  

Regards
Johann 
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "Trust in the LORD, and do good..."Psalms 37:3 
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Michael Van Canneyt


On Fri, 17 Oct 2008, Henry Vermaak wrote:

> On 17/10/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> > Mattias Gärtner schreef:
> >> Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:
> >>
> >>> Is Lazarus going to switch to the fpmake build system? Henry Vermaak
> >>> created an example for use with fpGUI - I could never get it working
> >>> before. It seems quite impressive and is very customizable and all
> >>> done in something I know - Object Pascal.
> >>
> >> I hope, yes. Michael VC tried to create a fpmake for the LCL. I don't know
> >> the
> >> state.
> >
> > Maybe we should let the fpc team switch first, so the system gets better
> > tested.
> 
> yes, i wonder if an fpc dev can tell us what the status of this is.
> fpmake is a great tool, and so much more flexible than make.

Peter Vreman got everything working locally. 
However, he is very busy professionally, and therefore it is more or 
less sleeping now.

What needs to be done now is mostly organisational:
- Set up a central repository
- Start testing the FPC release with it.

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Henry Vermaak
On 17/10/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Mattias Gärtner schreef:
>> Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:
>>
>>> Is Lazarus going to switch to the fpmake build system? Henry Vermaak
>>> created an example for use with fpGUI - I could never get it working
>>> before. It seems quite impressive and is very customizable and all
>>> done in something I know - Object Pascal.
>>
>> I hope, yes. Michael VC tried to create a fpmake for the LCL. I don't know
>> the
>> state.
>
> Maybe we should let the fpc team switch first, so the system gets better
> tested.

yes, i wonder if an fpc dev can tell us what the status of this is.
fpmake is a great tool, and so much more flexible than make.

henry

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] [PATCH] SynEdit: Mouse Link identifiers only (was: Re: SynEdit: TSynPasSyn and keywords)

2008-10-17 Thread Alexander Klenin
On Sat, Oct 11, 2008 at 12:34, Alexander Klenin <[EMAIL PROTECTED]> wrote:
>> I'm not yet sure, what you want to achieve. Do you need a general
>> solution for your application, which uses synedit, or a special
>> solution for the IDE?
>
> A special one of the IDE. I just usually try not to write too specific
> solutions --
> e.g. I consider bad style "magic" comparison like
> if TokenKind == 4 then token_is_linkable
>
> So my last question was -- how to achieve that in a good style?

Ok, attached is updated patch using GetHighlighterAttriAtRowColEx function
and magic constant. Is it acceptable?

-- 
Alexander S. Klenin
Insight Experts Ltd.


synedit_mouselink_indents_only.patch
Description: Binary data
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] 0.9.26 released

2008-10-17 Thread adludiliano
Hello Inoussa,

Thursday, October 16, 2008, 5:48:27 AM, you wrote:

> Congratulations to all the people that make it happen, be proud of it!

> --
> Inoussa O.

> 2008/10/15, Thierry Coq <[EMAIL PROTECTED]>:
>> Thank you all, Lazarus Team, and congratulations!

>> Thierry
>> Mattias Gaertner wrote:
>>> The Lazarus team is glad to announce the 0.9.26 release. This release
>>> is based on fpc 2.2.2.

>>> This release can be downloaded from the sourceforge download page:
>>> http://sourceforge.net/project/showfiles.php?group_id=89339

>>> Highlights / Major changes:
>>> - The LCL now uses Unicode strings UTF-8 encoded on all platforms.
>>> There are docs, tools and functions to help converting old code.
>>> - The LCL internal graphic system was rewritten for more consistency,
>>> more flexibility, better Delphi compatibility, icon support, native
>>> image lists.
>>> - Lazarus now runs native under Mac OS X using the 'carbon' widgetset.
>>> - The IDE designer now allows to connect form components, like
>>> databases on TDataModule.

>>> This time there were more than 3900 improvements and bug fixes in 11
>>> months. For comparison: 0.9.24 was about half the changes in 8 months.

>>> The list of changes can be found here:
>>> http://wiki.lazarus.freepascal.org/Lazarus_0.9.26_release_notes

>>> And several thousand fixes and minor improvements.

>>> Mattias
>>> ___
>>> Lazarus mailing list
>>> Lazarus@lazarus.freepascal.org
>>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus




>> ___
>> Lazarus mailing list
>> Lazarus@lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Good news, thanks to Lazarus team..



-- 
Best regards,
 adludiliano 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Vincent Snijders
Mattias Gärtner schreef:
> Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:
> 
>> Is Lazarus going to switch to the fpmake build system? Henry Vermaak
>> created an example for use with fpGUI - I could never get it working
>> before. It seems quite impressive and is very customizable and all
>> done in something I know - Object Pascal.
> 
> I hope, yes. Michael VC tried to create a fpmake for the LCL. I don't know the
> state.

Maybe we should let the fpc team switch first, so the system gets better 
tested.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki dead

2008-10-17 Thread Vincent Snijders
Swen Heinig schreef:
> I don't have problems to open the wiki pages.
> 

It has been fixed in the meantime.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki dead

2008-10-17 Thread Reenen Laurie
It's back on for me...

On Fri, Oct 17, 2008 at 9:29 AM, Graeme Geldenhuys
<[EMAIL PROTECTED]>wrote:

> 2008/10/17 Reenen Laurie <[EMAIL PROTECTED]>:
> > I also get it when I go to the ZipFile wiki page.
> >
> >>
> >> A database query syntax error has occurred. This may indicate a bug in
> the
> >> software. The last
> >> attempted database query was:
> >>
> >> (SQL query hidden)
>
>
> Strange... I just connected to the ZipFile wiki package without any issues.
>
>
> Regards,
>  - Graeme -
>
>
> ___
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
o__
,_.>/ _
(_)_\(_)___
...speed is good
___
I believe five out of four people have a problem with fractions.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] 0.9.27 seems to have fixed a bug under KDE

2008-10-17 Thread Graeme Geldenhuys
On Fri, Oct 17, 2008 at 9:18 AM, Graeme Geldenhuys
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems the latest version of Lazarus has finally fixed the following
> bug (somehow)... I can't reproduce this bug on my system anymore.
> Using GTK1 or GTK2.
>
> http://bugs.freepascal.org/view.php?id=11331
>
> Is this still an issue for others?

I spoke to soon...  It's happened twice already in the last hour.  :-(
 So the bug is still active.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:

> Is Lazarus going to switch to the fpmake build system? Henry Vermaak
> created an example for use with fpGUI - I could never get it working
> before. It seems quite impressive and is very customizable and all
> done in something I know - Object Pascal.

I hope, yes. Michael VC tried to create a fpmake for the LCL. I don't know the
state.

Mattias

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki dead

2008-10-17 Thread Swen Heinig
I don't have problems to open the wiki pages.

Regards,
Swen


Reenen Laurie schrieb:
> I also get it when I go to the ZipFile wiki page.
>
> On Fri, Oct 17, 2008 at 6:12 AM, Brad Campbell <[EMAIL PROTECTED]
> > wrote:
>
> A database query syntax error has occurred. This may indicate a
> bug in the software. The last
> attempted database query was:
>
> (SQL query hidden)
>
> from within function "MediaWikiBagOStuff::_doquery". MySQL
> returned error "145: Table
> './lazaruswiki/objectcache' is marked as crashed and should be
> repaired (localhost)".
>
> Regards,
> Brad
> --
> Dolphins are so intelligent that within a few weeks they can
> train Americans to stand at the edge of the pool and throw them
> fish.
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org 
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
>
> -- 
> o__
> ,_.>/ _
> (_)_\(_)___
> ...speed is good
> ___
> I believe five out of four people have a problem with fractions.
> 
>
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Graeme Geldenhuys
Is Lazarus going to switch to the fpmake build system? Henry Vermaak
created an example for use with fpGUI - I could never get it working
before. It seems quite impressive and is very customizable and all
done in something I know - Object Pascal.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki dead

2008-10-17 Thread Graeme Geldenhuys
2008/10/17 Reenen Laurie <[EMAIL PROTECTED]>:
> I also get it when I go to the ZipFile wiki page.
>
>>
>> A database query syntax error has occurred. This may indicate a bug in the
>> software. The last
>> attempted database query was:
>>
>> (SQL query hidden)


Strange... I just connected to the ZipFile wiki package without any issues.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Ubuntu dependences 0.9.26

2008-10-17 Thread Graeme Geldenhuys
On Fri, Oct 17, 2008 at 2:15 AM, svaa <[EMAIL PROTECTED]> wrote:
> I have installed lazaurs 0.9.26 on a ubuntu 7-10 (gutsy), but I get a
> problem of dependencies:
> Lazarus-ide-0.9.26-0. needs libglib1.2ldbl and libgtk1.2.;
> libglib1.2ldbl conflicts libglib1.2, but libgtk1.2 needs libglib1.2 so
> it conflicts with libglib1.2ldbl.


I'm running Ubuntu 7.10 and have no issues running the latests Lazarus
- though I always use the one from the subversion repository, not a
.deb release.

I have the following apt packages installed,

libgtk1.2, libgtk1.2-common, libgtk1.2-dev, libglib1.2, libglib1.2-dev

I used Synaptic and searched for libglib1.2ldbl but don't have such a
package in any of the repositories. So I have no clue what that
package does or why it's needed.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] 0.9.27 seems to have fixed a bug under KDE

2008-10-17 Thread Graeme Geldenhuys
Hi,

It seems the latest version of Lazarus has finally fixed the following
bug (somehow)... I can't reproduce this bug on my system anymore.
Using GTK1 or GTK2.

http://bugs.freepascal.org/view.php?id=11331

Is this still an issue for others?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Changing the font used in the IDE

2008-10-17 Thread Graeme Geldenhuys
How can I change the font used in the IDE. Fonts for Menus, Dialogs,
OI, Messages window etc...?  Is this possible? So far, the only font I
can changes is the editor window font.

I'm using Lazarus v0.9.27 r16999M i386-linux-gtk 2 (beta)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] How to avoid mixing components/lcl from various lazarus versions?

2008-10-17 Thread Luca Olivetti
I have some additional components installed.
Some of them are outside of the lazarus tree (no problem with those), 
and some of them are provided with lazarus but not installed by default.
When I build the ide, I use lazbuild to have all my components installed 
e.g.:

make clean bigide LCL_PLATFORM=gtk2 && ./lazbuild -B --build-ide= 
--widgetset=gtk2


The problem is that lazbuild uses files  ~/.lazarus directory, and there 
the paths for all components are absolute and point to the previous 
lazarus directory, so if I do the above I end up mixing components (and, 
yes, even the lcl) from the new and the previously compiled lazarus.
Now I edit all files under ~/.lazarus to replace the old path with the 
new one, but sometimes I forget to do it.
Is there a simpler and/or more automated way?
Do I really need to edit all files or is it enough to edit idemake.cfg?

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus