[Lazarus] I don't see button glyphs in the windows IDE. Why?

2009-05-13 Thread Paul Ishenin
Hello,  General mailing list.

Today or tomorow I expect to recieve a mail with this question. Since 
I've changed that I want to answer before:
http://lazarus-dev.blogspot.com/2009/05/changes-with-button-glyphs.html

There are few buttons in some dialogs which should always have an image. 
I will review them and return images back where is needed.

--
Best regards,
Paul Ishenin.

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


Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-07 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 
 And no I don't want or like VNC sessions.

Have you tried NX sessions? I like them ;)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] DisableWindowsUnicodeSupport

2009-05-07 Thread Paul Ishenin
Bernd Mueller wrote:
 I would like to use Lazarus without Unicode support on Windows, as it 
 was possible up to version 0.9.24. I took a recent 0.9.27 snapshot and 
 compiled it with -dDisableWindowsUnicodeSupport. My old projects seem 
 work well, but the editor does not show the german umlauts correct. I 
 changed File Settings.../Encodings but this did not help.

This define is placed in the code temporary. I suppose it will gone with 
time.

What problems do you have with unicode version? IOW, why do you need 
ansi version?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Code tooltips

2009-05-07 Thread Paul Ishenin
Lord Satan wrote:

 it is nice that Lazarus respects the theme for tooltips. But it is not really 
 acceptable if I cannot read them anymore.
 
 See attached screenshots.
 
 Some recent FPC 2.3.1 and some recent Lazarus, both from svn.
 Ubuntu 9.04 64-bit, GTK2
 
 Should I create a bug report?

I wonder how can we solve this automatically?

Maybe you can select another tooltip color in your system?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-05 Thread Paul Ishenin
Alexander Klenin wrote:

 If there is a general agreement, I can prepare detailed proposal for
 consolidation,
 but as a quick sketch:
 1) Find procedure should be merged into Code explorer

What is Find procedure? But since I dont use it I am not against :)

 2) Find in files, Messages and Code observer should be merged together,
 with interface most resembling Find in files

Code observer shows IDE hints which IDE builds on the fly. Messages 
appeared only after some actions mostly with compiler. Find in files 
is also not a process which IDE do without demand. It is difficult to 
imagine how you want to combine them together.

If you want to just add tabs to the Messages window then I am not 
againts. But maybe just better to dock Code explorer window into source 
editor? Then you will see Code observer all the time.

 3) Unit list (Ctrl+F12) should be merged into Project Inspector

How? If you want to remove Ctrl+F12 then I'm againts this change. We all 
used to it. If you want to extend Project Inspector then it is ok.

 4) Find unused units should be merged into Unit dependencies

It is a good idea.


Generally speaking consolidation idea is not bad. But each case should 
be discussed. Some cases can be coverted by docking (for example code 
explorer + source editor), some by merging dialogs (for example compiler 
options + project options).

Please create a wiki page. After few revisions it can become a part of 
roadmap.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] WSRegister error on console application

2009-05-04 Thread Paul Ishenin
Andrea Mauri wrote:
 If I add Interfaces to the main unit the project compiles fine. But is 
 it ok to add interfaces to a console application?
   {$IFDEF MSWINDOWS}
   , snmp, nb30, dynlibs, LCLtype, LCLintf, LCLProc


It will be enough for you to replace LCLType, LCLIntf by Windows unit. 
Then you can remove Interfaces dependency (maybe LCLProc depends on 
Interfaces too).

Best regards,
Paul Ishenin.

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


Re: [Lazarus] WSRegister error on console application

2009-05-04 Thread Paul Ishenin
Andrea Mauri wrote:
 I tried it (replaced LCLType and LCLintf with Windows), now I got an 
 error on these lines:
 NCB.ncb_command := Char(NCBENUM);
 NCB.ncb_command := Char(NCBRESET);
 NCB.ncb_command := Char(NCBASTAT);
 NCB.ncb_buffer := PChar(@Adapter);
 The error is:
 Error: Incompatible types: got Char expected Byte

Well, you can replace Char by Byte. See yourself which solution is 
better for you.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Specification for TWinControl.SetShape

2009-05-02 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote:
 Hello,

 What is the exact specification for TWinControl.SetShape (bitmap
 version) ? (for custom shaped windows)

 I certified that black pixels are opaque and white pixels are fully
 transparent, but what about other colors? What is defined for them?
 Simply a recomendation not to use, as each platform may behave
 differently?
   
Nothing. You must use black/white 2 color mask.
 Also, I assume that only full transparency or fully opaque is
 supported, and the bitmap cannot be used to make an Alpha transparent
 window, is that correct?
   
Yes.

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


Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Paul Ishenin
Bernd Mueller wrote:
 Martin Friebe wrote:
   
 The best is probably to try and find the revision which broke it.
 Everything else is just blind search for a needle in a hay stack.
 

 r19131 is the breaking revision.
   
Oh... my revision. I will try to test on win98 tomorow.

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


Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Paul Ishenin
Bernd Mueller wrote:
 Martin Friebe wrote:
   
 The best is probably to try and find the revision which broke it.
 Everything else is just blind search for a needle in a hay stack.
 

 r19131 is the breaking revision.
   
Please test with r19746.

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


Re: [Lazarus] Lazarus IDE crash on Centos 5.3 x86

2009-04-30 Thread Paul Ishenin
Carlos German Tejero wrote:
 
 Strange is that it works well on a centos 5.2 x86.
 
 Any ideas??

Can you point me to the exact CentOS distro iso which you installed? I 
will try to install it on VM and test lazarus on it.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Production

2009-04-23 Thread Paul Ishenin
Osvaldo Filho wrote:
 Our team need help with:

 jcf - Jedi Code Format
   
What help? JCF is integrated into lazarus IDE and you can use it either 
from menu item or by pressing key combination (default = Ctrl + D). 
Default format style file is placed in the lazarus directory 
JCFSettings.cfg. There is no way currently to edit it from the IDE but 
you can edit it in windows using JCF application from the sourceforge.

The big work has been done to support some FPC specific syntax contructions:
 - c-style operators ( +=, -=, ...)
 - operator overloading
 - absolute for record/object fields (like v: TSomeType absolute 
SomeRecord.SomeField)

If some contruction still does not work in JCF create a feature request 
in the JCF bug-tracker.

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


Re: [Lazarus] Special colors

2009-04-20 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote:
 About clNone and clDefault

 clNone seams to mean black, is that it?
   
clNone means that there is no color selected. If we really need to 
select some color and clNone is set then we treat it as black.
 clDefault would be to use the standard widgetset color, is that the
 intention? 
As default widget color.
 If yes, is it followed?
   
For widget I think no. But it is followed for other classes - for 
TBitmap and TImageList.

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


Re: [Lazarus] Code Observer notes

2009-04-20 Thread Paul Ishenin
Alexander Klenin wrote:
 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of
 functions ignoring constants?
   raise Exception.Create('Error text') is a common construct.

No. Create and CreateFmt strings needs to be translatable even for 
exceptions.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Code Observer notes

2009-04-20 Thread Paul Ishenin
Alexander Klenin wrote:

 This is true, but unrelated.
 First, naming a string constant does not make it translatable,
 it should be made resourcestring (so perhaps it should be a separate
 observation --
 message is not translatable, where message is defined as string
 constant containing at least one word)
 Second, there are different means of i18n, and some of them, like dxgettext,
 do not depend on resourcestrings.
 Third, this same argument can be applied to Fromat, write/writeln and
 other functions already present on ignore list.
 

1. Later sring and numeric consts will be split between 2 parent nodes.
2. LCLStrConsts and LazarusIDEStrConsts unit uses resourcestrings and 
therefore this is default way to translate strings.

And about WriteLn, Write - usually we are using them in IDE for debug 
purposes only. But I agree that they should not be present in this list 
by default.

On the other handle, this list is adjustable so just feel your own list 
with desired functions :)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Paul Ishenin
Alexander Klenin wrote:
 4f) Add 'Line loo long' with default limit of perhaps 80 or 90 characters.
   
Not a bad figure to add. I would choose only bigger limit - 100-120 chars.

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


Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Paul Ishenin
Martin Friebe wrote:

 Hm, while some of them probably are most likely to be used to find 
 possible issues, there is no need to see them as an problem indicator 
 only.
 So point 1 is correct as they are a collecion of numbers figures

 Still, maybe they would be better named as statistics? (maybe 
 analytics ?)
I would call them IDE Hints or Code Hints. But Figures are also ok 
for me.

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


Re: [Lazarus] Lazarus attach to gdb

2009-04-17 Thread Paul Ishenin
Toan Pham wrote:
 My question is, is it possible for lazarus to attach a debuger to a
 running process by PID?  This would be very nice because it will allow
 debuging capability for console applications that required a
 x-terminal to run on.  Thank you,
   
Seems we have a related patch:
http://bugs.freepascal.org/view.php?id=12172

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


Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Paul Ishenin
Luiz Americo Pereira Camara wrote:
 Are you aware that fpc trunk already implemented an option to disable hints?

 See: http://bugs.freepascal.org/view.php?id=8690
   
Lazarus trunk also has this options.

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


Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-09 Thread Paul Ishenin
Marco van de Voort wrote:
 If Lazarus as the most major user starts avoid these problems instead of
 reporting them, that is worrying. Paul more or less proves the point with 2
 bugs in a version cycle of which one is inlining related.

Another known and workarounded in lazarus problem: 
http://bugs.freepascal.org/view.php?id=13481

Sometimes it is very difficult to avoid it.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-08 Thread Paul Ishenin
Marco van de Voort wrote:
 How recently was this all validated to still be a problem? I know FPC didn't
 performed the (apparantly long due) unit system rewrite yet, but not that
 much problems in that realm are reported in mantis anymore, even for the
 current implementation.
   
And this one: http://bugs.freepascal.org/view.php?id=13478

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


Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote:
 And this has been debated 1 million times before, please search in the
 mailling list archives.

This also means that problem of big executable size worries developers.
Maybe we need to research more how to make our executables smaller.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Paul Ishenin
Igor Tkachenko wrote:
 Hello everyone!
 
 As stated in this article http://wiki.freepascal.org/Size_Matters 
 Lazarus apps on Windows are about 500k, but quickly grow to 1.5 MB 
 however I cannot made Lazarus to build empty application less than 1.8 
 MB. I've enabled option Link Smart at Linking tab of compiler 
 options as well as Strip Symbols From Executable and disabled Display 
 line numbers in runtime.., however nothing helps to make empty 
 application less.
 
 Does this mean that 1.8 MB is the size of empty Lazarus application now? 
 Or I do something wrong?

If you remove icon from project your application size reduce from 1.8 to 
1.5 MB.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Lazarus 0.9.26.2 released

2009-03-27 Thread Paul Ishenin
闫程远 wrote:
 how about the bug in GTK2? can i compile a program with GTK2 using 
 fpc2.2.2?
The problem with gtk2 is placed not in the lazarus itself but in fpc 
2.2.2. To solve it you don't need another lazarus but another fpc.

Or you can just edit gtk2 package of your own fpc 2.2.2 installation and 
remove problem functions from it.

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


Re: [Lazarus] Easiest way to case strings

2009-03-26 Thread Paul Ishenin
Alexander Klenin wrote:
 Reverse iteration might be common enough to warrant a special syntax,
 but in general all non-standard iteration orders should fall back to indexing.
   
Then better to extend sintax:

using default iterator = delphi compatible

FOR s IN list DO
  WriteLn(s);

extended:

FOR s IN list USING my_reverse_iterator DO
  WriteLn(s);

In upper case I wrote keywords and in lower case identifiers.

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


Re: [Lazarus] Exception dialog

2009-03-16 Thread Paul Ishenin
Michael Van Canneyt wrote:
 Is there a reason why the default exception dialog has a cancel 
 button to kill the application ?

 We often use an exception to signal wrong entry of data or so, 
 because it stops all further processing.

 If the user then uses the cancel button, the program is simply 
 ended, which is not what we (or better: the users) want.
 And I imagine many others use this technique.
   
This is strange for me too and I also often clicked cancel to just 
cancel that notification but it closed my application :)
I suggest to replace it with simple notification dialog with one button 
(like ShowMessage).

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


Re: [Lazarus] TFloatSpinEdit and DecimalSeparator (GTK)

2009-03-14 Thread Paul Ishenin
Bart wrote:
 Shouldn't we then strive to make SysUtils use locale settings on all 
 platforms?
 As it is now, it's rather inconsistent.

 Maybe I should ask on the pfc mailinglist?
   
As I know the core of the fpc rtl (and sysutils is there) does not want 
to depend on the libc but clocale unit is using it. Thus developers must 
decide themself whether to include it or not. But we can simple use it 
in some basic LCL unit as we do with cwstring so the problem will be solved.

I dont know what other lazarus developers think about this.

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


Re: [Lazarus] Bugs in Delphi DragTo?

2009-03-13 Thread Paul Ishenin
Hans-Peter Diettrich wrote:

 Lazarus uses almost the same implementation in TDragPerformer, what IMO 
 should be fixed.

What needs to be fixed? Do you have an example where this does not 
works? DragImageList is not a control, so it is normal that it stops 
dragging when Target = nil.

 Furthermore I wonder whether it makes sense to show both a drag image 
 *and* an docking frame (in the code below the above snippet, when 
 ActiveDrag=dopDock).

DragImageLists is used only for usual drag operations while drag-dock is 
not a usual drag operation. To represent this operation docking frame is 
used and there is no need to mix both representations of drag.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Trunk cannot compile. Missing unit 'PropEdits'

2009-03-13 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 I just got an svn update for Lazarus to r18979.  I did a make clean
 and build and it fails with the missing unit 'PropEdits' in the
 SynPropertyEditObjectList unit.

We had some problems before but there were already solved. Try to make 
clean bigide.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Generic Matrix Class for nice matrix formulas

2009-03-11 Thread Paul Ishenin
p...@fe.up.pt wrote:

 A Matrix Class that uses operator overloading for nice matrix  
 formulas is now available here:
 http://paginas.fe.up.pt/~paco/pmwiki/index.php?n=DynMatrix.DynMatrix
 It can represent a doubles matrix with any number of row or columns.
 
 It is released under the Modified LGPL version common to the FCL/LCL
 
 Please let me know about bugs, possible improvements and any question.

I see your matrix store double type value. Is it possible to write a 
generic matrix class using FPC class templates (although I never used 
FPC templates)?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Lazarus not show components caption

2009-03-10 Thread Paul Ishenin
delphi wrote:
 Hello People!

 My Lazarus is not the name of the components in Delphi that option as show 
 components caption, you know someone has a version that has this property?

 I'm sorry my english, am brazilian and use Google Translate
   
Use latest version of lazarus - download snapshot or build yourself from 
the sourcecode of svn trunk. There this options works.

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


Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Paul Ishenin
Vincent Snijders wrote:
 IMHO, if the user does not call Lines.BeginUpdate before doing
 Lines.Add or Lines.Insert, then the performance penality is his own
 fault, not something that must be fixed.
   
Absolutely agree.

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


Re: [Lazarus] Cannot build lazarus anymore

2009-03-03 Thread Paul Ishenin
A.J. Venter wrote:
 I seem to be unable to build the newest versions of lazarus, I tried
 both the 0.9.26 stable and the latest svn snapshot with the same
 result.
 
 Where is it supposed to find Contnrs ?

1. Check your fpc installation and search it for Contnrs.o, Contnrs.ppu. 
If they does not exists then build your fpc by make all and make install
2. Check your fpc installation and check that fpc.cfg contains a correct 
path for your Contnrs.o, Contnrs.ppu. If they are not there edit your 
fpc.cfg and add apropriate path.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] New Features for source editor

2009-02-26 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 Add the following to your lazarus.dci file. Type begin and press
 ENTER, and the end will be added and the cursor indented to the
 correct position. To set this up via Lazarus IDE, go to: Environment
 | Code Templates. I have built up a huge collection for myself over
 the years and also use the Macro feature which is very handy.

 --[ lazarus.dci ]--
 [begin | begin..end pair in realtime]
 $(AttributesStart)
 AutoOnLineBreak=true
 RemoveChar=true
 $(AttributesEnd)
 begin
   |
 end
 --[ end ]
   
Can you share your live templates? Maybe we can add some to Lazarus?

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


Re: [Lazarus] Patch for drawing the designer grid in Windows VistaClassic mode

2009-02-23 Thread Paul Ishenin
Kostas Michalopoulos wrote:
 And the patch file
Why are you trying to fix designer.pp file? DrawGrid is a widgetset 
dependent method. Try to fix TWin32WidgetSet.DrawGrid instead.

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


Re: [Lazarus] Lazarus 0.9.26, 0.9.26.1, 0.9.26.2, 0.9.27 ou 0.9.28? (Silvio Cl écio)

2009-02-16 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote:
 When developing the Qt interface, things get done in minutes. Some 2
 minutes to implement windows shaped by region in Qt. In Gtk? I don't
 even want to try it!!! It will sure go over hours, hit dozens of bugs,
 etc, etc
   
What are you comparing? LCL interfaces to qt and gtk or qt and gtk themself?

I suppose the first.

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


Re: [Lazarus] Loading icon from Application.Icon

2009-02-02 Thread Paul Ishenin
Guionardo Furlan wrote:
 Don't worked. The icon is loaded by the application.


 begin
   Application.Title := uTipos.ProgTitulo;
Application.Initialize;
   Tray.Cria;
Application.Run;
 end.
   
It is all  with 0.9.27 I suppose?

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


Re: [Lazarus] new editor feature in Lazarus SVN

2009-02-02 Thread Paul Ishenin
dmitry boyarintsev wrote:
 Martin, I've copy-pasted your email to the wiki:
 http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options

 imho, it's necessary to add Default Lazarus like settings and
 Delphi 7 like settings  for the editor, just like Paul added for the
 object inspector :)
   
For the object inspector I added delphi 2007 settings :)

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


Re: [Lazarus] Loading icon from Application.Icon

2009-02-01 Thread Paul Ishenin
Guionardo Furlan wrote:
 Windows XP SP3
 FPC 2.2.2
 Lazarus 0.9.26
   
In 0.9.27 we've made rather big icon rework. Please test with either 
0.9.27 snapshot or with svn version. I think your problem is solved.

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


Re: [Lazarus] TFileStream

2009-01-29 Thread Paul Ishenin
Dave Coventry wrote:
...
FS:=TFileStream.Create(fname, fmshareDenyWrite);
...
 I am trying to read a block of 4 bytes, increment it by one and write
 it back again.
 
 However, if fails on the write.

Please read carefully what have you written:

FS := TFileStream.Create(fname, fmShareDenyWrite);

you passed only fmShareDenyWrite but you have not told to the file 
stream that you want to write :)

There are few modes in which you can open your stream:

   fmCreate= $;
   fmOpenRead  = 0;
   fmOpenWrite = 1;
   fmOpenReadWrite = 2;

You had not passed any of them = you passed 0 = fmOpenRead. As result 
you can only read.

If you want to read and write then pass fmOpenReadWrite as mode:

FS := TFileStream.Create(fname, fmOpenReadWrite or fmShareDenyWrite);

Best regards,
Paul Ishenin.

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


Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Paul Ishenin
Leslie Kaye wrote:
 I have a little application written in Delphi which will stay on top of 
 my web browser to give me a count down time for ebay auctions!

 I think that the correct behaviour is that if the main form is 
 fsStayOnTop then the application should stay on top of other applications.

 If the main form is not  fsStayOnTop  then it can be hidden by another 
 application which has focus.
   
Do you believe this is easy logic and will be understanded by all 
application developers and their users? I think if we will have an 
ability to select whether forms will overlap other application or not we 
will implement it in a more clear way.

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


Re: [Lazarus] Comboboxes in OI bugged

2009-01-27 Thread Paul Ishenin
Luca Olivetti wrote:
 En/na Aleš Katona ha escrit:
   
 Comboboxes in OI don't work anymore. They are disabled. The only way to open 
 one is to add new handler to it then it's possible to select existing stuff.

 Events and properties both (try assigning a dataset to a datasource).

 Latest trunk/gtk2/xfce4/64bit linux/fpc 2.2.3
 

 I thought it was just me.
 I think it only started when I upgraded my distribution to mandriva 
 2009.0 (i.e. I just recompiled the previous lazarus 0.9.26 with the new 
 fpc, due to the problem with the linker and gtk).
 I'm not sure 100% but I think that with the previous version of mandriva 
 (2007.0) (and of course an older gtk2) there was no such problem.
 It works ok under windows.
 Oh, I also tried the fixes 0.9.26 branch.
   
How so? It is about a week gone since that bug was fixed in the trunk.

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


Re: [Lazarus] Colors and Themes

2009-01-26 Thread Paul Ishenin
Hans-Peter Diettrich wrote:

 You're right, it are other cl... colors that are deprecated. The lack of 
 documentation sucks :-(
 
 Are the system colors always mapped to the current standards, including 
 themes?

Well, with themes some controls are often painted using bitmaps instead 
of colors and clBtnFace (for example) is not a correct color to draw a 
button on themed XP or vista. But if you turn themes off all standard 
buttons will be painted using clBtnFace.

To draw using themes we have a class TThemeServices though only a small 
set of controls and their parts is implemented at moment for qt, gtk and 
carbon. But it is possible to implement more if needed.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Colors and Themes

2009-01-26 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 Does clBtnFace update to the correct colour if you apply a new windows
 colour scheme (without quitting the application)?
 
 eg:
 *  using default colour scheme in windows (usual grey colours).
 *  start my app and button is painted in grey (clBtnFace).
 *  I change the colour scheme to pink/purple (I wouldn't really do that. 
 wink.)
 *  All windows apps adjust their colours as well. Does LCL apps do the same?

If you are about lcl-win32 then yes. When LCL process clBtnFace it calls 
winapi function GetSysColor. Ofcource there can be problems with already 
created brushes, pens and fonts which was created before theme change.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Colors and Themes

2009-01-25 Thread Paul Ishenin
Hans-Peter Diettrich wrote:

 For Windows e.g. clActiveCaption or clBtnFace can be used for the header 
 and button background, but these color constants are marked deprecated. 
 How should I select the most appropriate colors, for different platforms 
 and themes?

Where have you found that they are deprecated? Only CLX colors are 
deprecated and will be removed maybe before lazarus 1.0. Both 
clActiveCaption and clBtnFace can be used without any warry.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Few features for Lazarus editor

2009-01-19 Thread Paul Ishenin
ik wrote:
 Hello,

 There are few features that I would like to see in the Lazarus editor:

 1. Multiple spliting (and close the split) the editor to horizontal
 and vertical views
 2. VIM keyboard support
 3. Ability to have a way to fold code by using comments with special
 chars (like (* {{{ *) (* }}} ) that VIM allows)
   
when Martin implement this it will look as {$REGION 'region 
name'}{$ENDREGION} or similar
 4. Multi linguistal spell checkers for strings and comments
 5. Color code with errors with special underline or some color that
 the user can select that will help to locate where the problem is.
 6. Ability to keep the string mark (that added to 0.9.27) as permanent
 with a toggle of a menu item/key/toolbar
 7. Inline help for a command/reserve word that the mouse
 cursor/keyboard caret are under that word (not instead of the
 tooltip).
 8. When pressing on CTRL above a file/variable/type etc.. that we are
 trying to load, it will place a tooltip telling what is going to be
 opened (the file + the line number)

 What do you think on this features ? Should I add them to mantis as a 
 wishlist ?
   
Add them to the wiki page with ideas and explain them there more 
detailed: http://wiki.lazarus.freepascal.org/Feature_Ideas

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


Re: [Lazarus] Dispatching GUI messages from background threads

2009-01-10 Thread Paul Ishenin
David W Noon wrote:

 The only function like that I could find was SimpleSendMessage(), which
 produced the same result as Dispatch() and DeliverMessage(), but without
 supplying any message data. In which unit is SendMessage() defined?

add LCLIntf unit to your uses section and you'll get SendMessage and 
PostMessage.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Windres regression?

2009-01-05 Thread Paul Ishenin
Paul Michell wrote:
 So if I understand the bug report correctly,  if I want to use Windres 
 features, I will have to avoid project paths with spaces in until Lazarus is 
 based on a 2.3.x compiler?
   
As I know 2.3.1 compiler still has this problem. But yes you need to 
avoid spaces in the paths.

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


Re: [Lazarus] Windres regression?

2009-01-03 Thread Paul Ishenin
Paul Michell wrote:
 Is this the same issue as:

 0011484: Windows: windres does not support using directories with spaces

 If so I don't understand why it used to work before Christmas?
   
Yes, it is the same issue. Maybe it worked before xmass since manifest 
info was embedded into .rc and now it is placed in a separate file (due 
to GoRc troubles).

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


Re: [Lazarus] User Registration for forums

2009-01-02 Thread Paul Ishenin
Craig Goodyear wrote:
 I am trying to register for the forums at lazarus.freepascal.org.  I 
 have tried 3 times without success.  Each time I get a response that an 
 email has been sent to the email address that was entered, but I have 
 not received an email yet.  I am sure that the email address that I have 
 used is correct.

 Can anyone on this list help me with getting registered?
   
1. Which forum? Not long ago we changed our forum. Now it is placed 
here: forum.lazarus.freepascal.org.
2. What username/email address?

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


Re: [Lazarus] User Registration for forums

2009-01-02 Thread Paul Ishenin
Craig Goodyear wrote:
 I was was clicking on the Create an account link in the upper left on 
 the home page at http://www.lazarus.freepascal.org/ and entering the 
 information at the resulting page.

 the user name was cjhs22a with email of cjhs...@swbell.net
   
You was confused by the old lazarus website account. Don't register 
there if you want to post messages to the current forum - use this link:
http://forum.lazarus.freepascal.org

Please repeat your registration on the forum.

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


Re: [Lazarus] ressource compiling

2008-12-24 Thread Paul Ishenin
Benito van der Zander wrote:
 Hi,
 I also have a problem with ressource compiling, after updating to the 
 latest svn,
 although it worked in older versions of 0.9.27.
 Error: Can't create resource file: U:\programs\system\APIV\cursor.res
 says the IDE and stops compiling the project, when I write {$R 
 cursor.res} in
 the source.

 However there is actually no need to create this resource file because 
 it already
 exists and is compiled (in the Windows binary format).
 Any ideas how to solve the problem? (by the way, the temporary directory 
 doesn't contains spaces)
   
IDE can try to write manifest, icon and version information to the .rc 
file. On 64bit windows there was problems before today. Today I fixed 
manifest resource compiling by GoRc. Previous format was compatible only 
with windres.
If you update your lazarus after today commits and will have problems 
then please create a very simple test application and attach it to your 
new bug report. Then we will try to find what is wrong and where is wrong.

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


Re: [Lazarus] ressource compiling

2008-12-24 Thread Paul Ishenin
Benito van der Zander wrote:
 Hi,
 I also have a problem with ressource compiling, after updating to the 
 latest svn,
 although it worked in older versions of 0.9.27.
 Error: Can't create resource file: U:\programs\system\APIV\cursor.res
 says the IDE and stops compiling the project, when I write {$R 
 cursor.res} in
 the source.
 
 However there is actually no need to create this resource file because 
 it already
 exists and is compiled (in the Windows binary format).
 Any ideas how to solve the problem? (by the way, the temporary directory 
 doesn't contains spaces)

You have found a bug in the compiler. I have found a fix for that bug 
and attached a fix into your report. And I also moved your report to the 
fpc project. Hope they will fix it in the svn soon.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Some docking theory

2008-12-21 Thread Paul Ishenin
Hans-Peter Diettrich wrote:
...
 That's all, so far, but it took me many hours to distill all the 
 observed woes of the current [L]DockTree implementation into these few 
 principles.
   
Will you implement this principles also?

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


Re: [Lazarus] Win32 HICON

2008-12-18 Thread Paul Ishenin
JoshyFun wrote:
 I only have a HICON reported by Windows, I try to create a TIcon
 using:

 Ic:=TIcon.Create;
 Ic.Handle:=HICON;

 But I'm quite sure this is buggy and also I'm unable to add a TIcon to
 the image list in any way.
   
No, it is not buggy. TIcon must work this way too. About TImageList - it 
just does not supports AddIcon method at moment.
Try to create a Bitmap and assign your icon to it first then add that 
bitmap into imagelist:

var
  B: TBitmap;
begin
  B := TBitmap.Create;
  B.Assign(Ic);
  ImageList.Add(Ic, nil);
end;

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


Re: [Lazarus] Drag, Dock and Layout

2008-12-17 Thread Paul Ishenin
Hans-Peter Diettrich пишет:
 Paul Ishenin schrieb:
 
 Launch pidgin, create an irc account for the irc server 
 irc.freenode.org, then join a room #lazarus-ide.
 
 Now I've installed pidgin, and tried to get online last weekend. 
 Unfortunately I don't know what's going on, at least my tries seem to be 
 canceld after some time. Do I have to create an official user account 
 (where?), and what's the suggested protocol (AIM?).

Sorry, maybe I explained wrong. You need to connect to irc server - so 
you need to create an irc account :) Irc server where our conference is 
placed is irc.freenode.org and lazarus room is called #lazarus-ide. Fpc 
team is sitting on #fpc channel on the same irc channel.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Drag, Dock and Layout

2008-12-13 Thread Paul Ishenin
Hans-Peter Diettrich wrote:
 In my docking experiments with Lazarus I found no way to undock a docked 
 form again :-(

 Also I couldn't make properly work docking of multiple forms into a 
 single dock site. Does there exist a working demo project for drag-dock? 
 I'd be interested in a program that allows to create and drag-dock forms 
 into the main form, and then allows to undock the forms again. If 
 somebody already made that work, then there's not much left to do for me :-)
 [If you have Delphi at hand, try to make the Demo\Docking sample work 
 with Lazarus, somehow. Then you'll see yourself what remains to do :-]
   
I will try to create drag-dock example and place it to lazarus svn. Then 
I will notify you.
 Thanks for this hint, normally I prefer to compose and translate my 
 ideas offline. But IRC would be nice when I'm stuck on a specific 
 problem. I only never used IRC yet, can you give me hints on how to 
 start? (on Linux)
   
Launch pidgin, create an irc account for the irc server 
irc.freenode.org, then join a room #lazarus-ide.

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


Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-11 Thread Paul Ishenin
Luiz Americo Pereira Camara wrote:
 An real example:
 - i'm the developer of  the Sqlite component shipped with fpc.

Then maybe the best for you is to ask about write access to the SqlLite 
subtree of fpc trunk?

Same for Alexander Klenin - if you need to update TAChart very often 
then ask about write access to svn/lazarus/trunk/components/tachart

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Drag, Dock and Layout

2008-12-11 Thread Paul Ishenin
 does it miss? Have you seen TLazDockTree class?

 Therefore I'd suggest a separation of any but the abstract TDockManager 
 from the Controls unit, eliminating the need for a rebuild of the IDE 
 after every change to the Controls unit. It also will show up the 
 undocumented dependencies between controls, messages, and the code that 
 implements the details of dragging and docking. I'm willing to perform 
 that separation myself, if no official developer is willing to do so - 
 but I'm not willing to spend much time when afterwards the new structure 
 doesn't become part of the trunk.

Dont see why it will not be commited if you improve current code and 
break nothing? Lazarus and LCL is always open for improvements. While 
doing your redesign please have in mind that we need to stay compatible 
with delphi.

ps:
If you need to discuss something in a more instant mode then use our irc 
channel.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Paul Ishenin


Coppola Ing. Salvatore пишет:
 Coppola Ing. Salvatore wrote:
   
 Hi,
 can the TBitmapCanvas be declared public (I mean before 
 implementation) in the unit Graphics?
 

 I assume is NOT!
   
No, assume silence as nobody remember why it is so and nobody have time 
to look :(

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


Re: [Lazarus] checklistbox on XP

2008-12-04 Thread Paul Ishenin
Andrea Mauri wrote:
 Hi,
 I am trying to use checklistbox. On linux it seems to be drawn correctly 
 but not on windows (I am trying it on WinXP).
 The checkboxes in a checklistbox are smaller that the checkbox of a 
 TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug?

ListBox item height is smaller than checkbox control height. So either 
checklistbox needs bigger item height or item checks must be smaller. 
Where is a bug?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] user defined code folding regions using $REGION comments

2008-11-26 Thread Paul Ishenin
Graeme Geldenhuys wrote:

 I added a new feature request for user defined code folding regions. I
 think such an addition to Lazarus editor would be very useful.  I
 especially think the folded by default option would be very handy.
 That way the editor can hide certain code by default, while the rest
 of the unit is expanded. Very handy for things like auto generated
 code from a Form Designer or something else, which the developer
 normally doesn't need to tamper with.
 
 http://bugs.freepascal.org/view.php?id=12718
 
 Any thoughts on the above?  Anybody code folding code experience
 willing to take up the challenge in implementing something like this?

I answered you to the bug-tracker. But I will answer here to. Yes, this 
is known feature and once it will be implemented. Marin is working on 
synedit folding last few weeks and he made a big progress in bug fixing 
there. He also has plans to implement this feature: 
http://wiki.lazarus.freepascal.org/User:Martin

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Information about Docking

2008-11-25 Thread Paul Ishenin
Hans-Peter Diettrich wrote:
 I've been looking at the docking feature(s) of Lazarus, and would like 
 to know more about the current implementation. Where should I look for?

At the ldocktree.pas unit and ofcource controls.pp.

 One of the most important question is about the general overview of the 
 docking concept, from the technical point of view. I assume that there 
 must exist one application-wide manager (singleton?), that manages all 
 the related windows?
 
 Does there exist another docking manager, apart from anchor docking? 

Yes, TLazDockTree.

 With sample code?

Use any delphi example.

 IMO anchor docking is a nice idea, but not very useful in practice. What 
 will happen to such a (spiral...) layout, when the container form is 
 resized? Not to mention other possible and existing problems...

We have plans to use it in the IDE mostly.

 What I want to achieve and contribute:
 
 - Docking by dragdrop, at least for Windows and Linux. A proof of 
 concept in the first place, I've been warned ;-)

You can start with simple docking. You need to add ldocktree.pas into 
any of your uses sections to change DockManager class from dummy to 
working. Then create a delphi like example and start to play with it.

Most of things will work on windows. Drag/Dock will not work on linux 
because we cannot know when user start drag a window. Window title is 
owned by a window manager and gtk/qt does not report us about this 
event. Thus the first thing to implement is a special dock header which 
will be used on systems which cannot report us about titlebar drag.

Nobody looked at docking on OSX.

 - Old fashion (orthogonal/notebook) docking - if not yet implemented?

Implemented but it was so long ago when I checked it.

 - Multiple editor windows and related explorers. This was my first idea, 
 that lead me straight to the docking problems.

This can be done when all docking will 100% work on simple applications. 
And Mattias had an idea to use anchor docking.

You can even try how it works in IDE. Open your 
lazarus\ide\include\ide.inc file and add there:
{$define EnableIDEDocking}

Then recompile your IDE.

 Which Lazarus revision (trunk/tag) should I use for my first steps?
 I also think that I must create my own (local) repository, so that I can 
 share my modifications across various platforms (VM's). Any better idea?

Always use svn version if you want to send us patches. Get it here:
http://svn.freepascal.org/svn/lazarus/trunk

Best regards,
Paul Ishenin.

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


Re: [Lazarus] LHelp missing unit + codetools bug

2008-11-24 Thread Paul Ishenin
Mattias Gaertner wrote:
 lhelp compiles here. Maybe your svn is not up2date or contains local
 changes?

 Mattias
   
Mattias, I guess you are using fpc 2.3.1. Some files are still not 
merged into fixes_2_2.

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


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Paul Ishenin
Mattias Gaertner wrote:
 I get this at every start:

 [WARNING] Out of OEM specific VK codes, changing to unassigned
 [WARNING] Out of unassigned VK codes, assigning $FF


 Is this known?
   
I see them too. Is that something bad?

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


Re: [Lazarus] pmNop and pmNot no longer working

2008-11-14 Thread Paul Ishenin
Dave Coventry wrote:
 Hi, my application has a requirement to draw in pmNot penmode (the
 Inverse of canvas background colour).

 Unfortunately, since upgrading Lazarus, I get the error:

 Identifier not found pmNop (which is the constant for resetting the
 Pen to normal (unchanged).

 Obviously I need the integer value of pmNop

 Cab anyone help?
   
pmNop is still defined in the graphics.pp

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


Re: [Lazarus] How to use FPC 2.3.1

2008-11-13 Thread Paul Ishenin
Fabio Dell'Aria wrote:
 Hi to all,
 
 is possible to use FPC 2.3.1 with the last Lazarus 0.9.26?
 
 If yes how I can do this?
 

On which OS?

On windows:
1) compile fpc 2.3.1
2) compile lazarus by using make from the apropriate fpc directory (for 
example I do d:\programming\fpc_2_3\bin\i386-win32\make.exe bigide 
lazbuild
3) setup apropriate directories and files in the environment options of 
the lazarus ide

On linux:
1) compile fpc 2.3.1 (make all, make install)
2) redirect ppc386 symlink to the new fpc 2.3.1 executable
3) in the lazarus directory do make bigide
4) setup apropriate directories and files in the environment options of 
the lazarus ide

Best regards,
Paul Ishenin.

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


Re: [Lazarus] New Excel Interface Component

2008-11-09 Thread Paul Ishenin
Henrique Faria wrote:
 Very good. What about something to OpenOffice?
I know only about something for delphi (from russian sql.ru forum). 
Maybe it can work with fpc too:
http://yuri.elmeh.ru/openoffice/OpenOffice2008.10.25.zip

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


Re: [Lazarus] Changing the tab position in Lazarus editor?

2008-11-07 Thread Paul Ishenin
Graeme Geldenhuys пишет:
 Hi
 
 Is it possible to set the tab position of the Lazarus editor tabs?
 For example, I would like to move the tabs to the right, instead of
 the top.

Then you need to fix winxp version of lcl at first. LCL for win32 under 
XP cannot handle tabs on right or on left. Even on bottom they are 
looking bad. I think it is windows limitation but anyway it must be 
fixed somehow.

Or we need another control for tabs as delphi or visual studio have.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Paul Ishenin
Michael Van Canneyt wrote:

 I second this. Borland has (had) a special API in the IDE for this.
 Specifically, this would mean that lazarus provides an interface
 in ideintf, which is then implemented for various version control 
 systems...

Dont complicate already complicated task at the begining. Let's Darius 
implement svn plugin at first and then you will push him to make it more 
generic.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Impossible to debug with Lazarus IDE

2008-11-03 Thread Paul Ishenin
Marc Weustink wrote:
 This is a risk, the debugger user shoud be aware of, but viewing and 
 setting property values must work in the debugger, as it does in Delphi.
 

 If you can give me a nice way to undo the case vincent described, I'll 
 happily implement that.
 Note that Delphi doesn't handle this either. So evaluating properties 
 can modify the state of the debugee.
   
It is ok. Why should you warry about undo? One must understand what does 
it do.

On the other hand if you really want to protect users we can invent an 
option to prevent evaluation of properties which has getter (if we can 
detect ofcource props with getters and props linked to fields). Or we 
can split evaluation process of such properties by 2 steps: ask to 
evaluate property and confirm that you really want to evaluate a 
property with getter which can change debugee state.

In the other words - please implement this and we will try to find a way 
to protect users ;)

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


Re: [Lazarus] GTK2 and Mandriva 2009

2008-11-02 Thread Paul Ishenin
Luis R. Hilario B. wrote:
 Hello all,
 ...
 Linking 
 ./helloworld  
  

 /usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
 gtk2.pas:(.text+0xb7b1): undefined reference to 
 `gtk_file_system_error_quark'


 How would it be able to resolve that problem?
use fpc 2.2.3 or fpc 2.3.1

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


Re: [Lazarus] Impossible to debug with Lazarus IDE

2008-10-30 Thread Paul Ishenin
Martin Schreiber wrote:
 Why do you think the Kylix debugger could access FPC properties by getter 
 function calls which gdb can't? For other debugging tasks use MSEide, it has 
 stepping, conditional breakpoints and watchpoints, CPU and disassemble 
 window, displaying and modifying of expressions and variables, memory dump...
 After you found the bug you can return back to Lazarus. ;-)
   
Ehm... Martin, what is the reason to create another ide for msegui? Just 
plug everything into lazarus ;)

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


Re: [Lazarus] Impossible to debug with Lazarus IDE

2008-10-30 Thread Paul Ishenin
Martin Schreiber wrote:
 Ehm... Martin, what is the reason to create another ide for msegui? Just
 plug everything into lazarus ;)

 Yup, why not? Feel free to do so. The MSEide gdb mi-interface class is a good 
 candidate. Other parts are more difficult because they depend on the MSEgui 
 architecture which is very different from the Lazarus design.
...
 Again, feel free to use any useful piece of code of MSEide+MSEgui for Lazarus.

Thanks. Hope we will find a way to merge some useful mseide parts.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Mac OS X : Certain properties not being persisted...

2008-10-27 Thread Paul Ishenin
[EMAIL PROTECTED] wrote:
 Secondly, is the ImageList property if your TImageList exists on another
 form. 
 For example if my MainForm has a TreeView and and empty form has an image
 list that is shared across several other units. 
 If I don't have the ImageList form open in the IDE,  when I make a change
 to the MainForm, the TreeView's ImageList property get set to blank. 
 If the ImageList form is open, then everything appears to work as
 advertised.
   
This feature has been introduced in the 0.9.26 version and thus can be 
bad tested. Please add a bug report with a test application and once it 
will be fixed.
 Is anyone else seeing this? Let me know before I submit a bug report.
   
It is a bit difficult to answer since we need to repeat your test 
applications. Feel free to submit bug reports for each problem and we 
will see.

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


Re: [Lazarus] Rotated text ?

2008-10-23 Thread Paul Ishenin
Michael Van Canneyt wrote:
 Hi,
 
 Is it possible to draw text at a 90° angle ?

Yes. Gtk1 does not support it but win32, qt and gtk2 supports.

You can find an example in the TDockHeader.Draw method (ldocktree.pas).

Best regards,
Paul Ishenin.

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


Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 Hi,
 
 Is there some external or webservice API for Mantis?  For example: Can
 I write a Lazarus GUI program to view and submit bug reports, without
 using a Web Browser?  Similar to what CodeGear has with there bug
 reporting system.
 
 If there is a WebService API, I guess a GUI bug reporting program will
 make for a very nice WebServices demo for FPC and Lazarus. :-)

I think Mantis guys know the answer better ;)

Best regards,
Paul Ishenin.

___
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] v0.9.27 keeps inserting references to LCL for non-LCL projects

2008-10-16 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 On Thu, Oct 16, 2008 at 8:51 AM, Graeme Geldenhuys
 [EMAIL PROTECTED] wrote:
 Hi,

 This worked before in a late revision 0.9.25, but since I updated to
 0.9.27 two days ago I noticed the following. I select File | New... |
 fpGUI Project and Lazarus now creates the following program unit
 shown below.  fpGUI Application doesn't rely on anything LCL. Yet
 the uses clause now contains LResources unit. There's a new reference
 to project.rc and there is a  include project.lrs in the main
 begin..end block.
 
 
 I hope this bug didn't slip into the 0.9.26 release, otherwise you are
 going to annoy quite a few developers. :-(


No, it relates to the new project icon and other resource rework. Please 
add a bug report though I know about this bug.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] 0.9.26 released

2008-10-15 Thread Paul Ishenin
Bee пишет:
 The Lazarus team is glad to announce the 0.9.26 release. This release
 is based on fpc 2.2.2.

 The list of changes can be found here:
 http://wiki.lazarus.freepascal.org/Lazarus_0.9.26_release_notes
 
 The wiki page still shows:
 This page gathers the changes of 0.9.25 for the coming release of 
 0.9.26. This page is work in progress. There is no 0.9.26 yet.
 
 :)

Is was optical illusion :)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] resource compiler not found (Linux to Win32)

2008-10-08 Thread Paul Ishenin
Osvaldo TCF - Listas wrote:
 When i try crosscompile linux to win32 i have this error:
 vsab.lpr(20,1) Error: resource compiler not found, switching to external
 mode

 The problem is with this:
 {$IFDEF WINDOWS}{$R vsab.rc}{$ENDIF}

 I can't disable this!
   
As a temporary solution clear a project icon, remove manifest usage and 
dont use version infomation. We will try to find better solution soon.

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


Re: [Lazarus] resource compiler not found (Linux to Win32)

2008-10-08 Thread Paul Ishenin
Osvaldo TCF - Listas wrote:
 When i try crosscompile linux to win32 i have this error:
 vsab.lpr(20,1) Error: resource compiler not found, switching to external
 mode

 The problem is with this:
 {$IFDEF WINDOWS}{$R vsab.rc}{$ENDIF}

 I can't disable this!
   
Try r16928.

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


Re: [Lazarus] I can not crosscompile: linux to win32

2008-10-08 Thread Paul Ishenin
Osvaldo TCF - Listas write:
 This:

 [EMAIL PROTECTED]:/usr/bin$ ls -l *windr*
 -rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 i386-win32-windres
 -rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 windres
 [EMAIL PROTECTED]:/usr/bin$ 
   
update your lazarus and remove this ifdef {$IFDEF windows}{$R 
xxx.rc}{$ENDIF} - it should not apper once again until you change 
something with icon, manifest or version info.

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


Re: [Lazarus] [patch] Editor Toolbar now conforms to IDE image theme

2008-09-23 Thread Paul Ishenin
Graeme Geldenhuys wrote:
 Hi,
 
 I uploaded a patch for the Editor Toolbar package. It now loads images
 from the Lazarus resources and conforms with the IDE theme. Also a
 minor bug fix in the treeview.
 
 http://bugs.freepascal.org/view.php?id=12182

Nice. Can you also take a look at your options dialog resizing. Menu 
tree and toolbar listbox doesnot have bottom/right anchors. As result 
they doesnot resize with form.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Powered by lazarus

2008-09-18 Thread Paul Ishenin
Bee пишет:
 It will be nice to make Lazarus Technology Partner button :)
 
 Is it already available? FlexCel author is interested to place such icon 
 in their product page. ;)

FastReports team is not against too ;)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] wrong icon choice in Project Inspector

2008-09-18 Thread Paul Ishenin
wile64 wrote:
 You don't like my chosing? button or glyph ?

Glyph is too big. You can use lazarus/images/arrow_down.png and load it 
in run-time for future easy updates.

Best regards,
Paul Ishenin.



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


Re: [Lazarus] wrong icon choice in Project Inspector

2008-09-18 Thread Paul Ishenin
wile64 wrote:
 
 Changed in r16633

Ow. I thought you will replace add.png and delete.png in lazarus/images 
to use them in all lazarus dialogs. And, btw, why you added images to 
the form? We used run-time image loading for easier image change (there 
is no need to change all forms if we will use another image set).

Look at TActionListEditor.Create for an example.


Best regards,
Paul Ishenin.

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


Re: [Lazarus] wrong icon choice in Project Inspector

2008-09-17 Thread Paul Ishenin
wile64 wrote:


 In this case, I prefer just the sign + and -

 like this
They are better than current.

Btw, do you have something better that current arrow_down and arrow_up 
in project options?

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


Re: [Lazarus] PageControl color

2008-09-16 Thread Paul Ishenin
Benito van der Zander wrote:
 Hi,
 if you enable theming in Windows XP the background color of a 
 TPageControl changes from gray (clBtnFace)
 to white (is this clWhite or a system color?).
 The problem is now, that a TTrackBar or a TStringGrid always draw there 
 background as clBtnFace, which
 looks quite stranges on a white background.
 So how do you set the correct color?
 if ThemeServices.ThemesEnabled then TrackBar1.Color:=clWhite;
 seems to work on xp, but assumes of curse that the themed color is 
 always white.

TTrackBar is a windows common control. We need to correct win32 
widgetset code to let it draw transparently on parent controls if themes 
are enabled. Feel free to create a patch which solves this problem.

TStringGrid is a control which LCL draws itself. We need to use more 
themes painting to make it look more native. This can be done later.

And, btw, color is not clWhite - theme services are using bitmaps to 
draw control surfaces. If you change theme to another it can look as 
Blue or Black or as any other color.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] svn r16559 cwstrings problem

2008-09-12 Thread Paul Ishenin
Tom Lisjac пишет:
 Lazarus svn 16559 +  fpc 2.2.2-0 won't compile:
 
 Compiling ./widgetset/wsreferences.pp
 Fatal: Unit cwstrings searched but cwstring found
 Fatal: Compilation aborted

Sory, a typo. Fixed.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Mac OS X : Drag and Drop no longer works with TDragObject....

2008-09-10 Thread Paul Ishenin
Dominique Louis wrote:
 I notice that in the OnDragOver event Source no longer contains a 
 TDragObject, but instead contains the actual TObject instance being dragged.

 1. When was this changed and why?
   
during 0.9.25 becuase of bug report and because it is now delphi compatible
 2. Will this now remain the way it is for the forseeable future or is it 
 likely to change back to TDragObject?
   
it will stay so if we want delphi compatibility
 The reason why I ask is that, drag and drop code that was working fine 6 
 months ago, no longer works, so I'm just trying to get an idea of how 
 much this code is likely to change in the next 2 months.
   
To be sure what you get you can check:
if Source is TDragObject
then ..
else ...

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-05 Thread Paul Ishenin
Bee wrote:
 How long do they stay there?  I want to schedule a download, but don't 
 want the file to dissappear whilst downloading it.
 

 Why not just use the SVN? IMO, it's lot easier rather than using 
 snapshots. Whenever there is a revision that broken, you can simply 
 revert it to the previous working revision. Compiling from source is 
 very simple.
   
Maybe we need to point lazarus users to some build manual (if exists) or 
create one (in other case).

But indeed building from svn is very easy:
- to clean and build ide without external components: make clean all
- to clean and build ide with some external component: make clean bigide
- to clean and build ide with all user component: make clean idepkg

Nothing more and no need to download 40mb of snapshots every day. And 
also no need to reinstall that snapshots.

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


[Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-04 Thread Paul Ishenin
Hello, General mailing list.

Lazarus 0.9.26 is coming. We have made all the main changes we wanted to
make. We spent the last couple of days on bug fixing. We have fixed many
issues, but we are not sure we have fixed all regressions. It would be 
sad to release a version, that you cannot use.

Thus we kindly ask you to test our latest snapshots at
http://www.hu.freepascal.org/lazarus/ or (better) the svn version.
Please, check your work projects, run tests, play with the IDE, do crazy
things. And if you find a regression, let us know through the bug
tracker at http://bugs.freepascal.org/ .

Lazarus 0.9.26 will not be released with regressions (new errors, things
that worked in 0.9.24), *if* we know about them. If there are no more
regressions, we will release in one or two weeks. After the release it
will be too late to bash us for regressions. So grab this opportunity.

The Lazarus team.

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


Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-04 Thread Paul Ishenin
Reenen Laurie wrote:
 Hurray!
 
 Are you halting SVN development on anything that is NOT supposed to be
 for 0.9.26?  Ie... If there is no regressions, will this be the same
 as the final 0.9.26?  (Except for the version number that will get
 onto the LFM files).

No, there are few bugs to fix in the bug tracker. But they are not very 
important. Also boys on russian forum doing their testing and already 
found few bugs.

But if you asking about features then yes - we will not do any new 
features before 0.9.26 release.

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Delphi 2009 says goodbye to Windows 9x and WinNT 4

2008-09-02 Thread Paul Ishenin
Reenen Laurie wrote:
 AFAIK the lazarus .exe is built with Inno setup... maybe just have a 
 separate .inno file to do the win9X installer...

 But the question is if we are allowed to distribute the file below.
the problem is not with lazarus itself but with applications made with 
lazarus.

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


Re: [Lazarus] attention Paul Ishenin (and Mantis maintainer) [bug_id=11651]

2008-08-27 Thread Paul Ishenin


Graeme Geldenhuys пишет:
 Hi Paul,

 Regarding bug report:
   http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=11651

 ... you closed it before I could reply...  :-(

 Regarding your last comment.  I always include the exact SVN revision
 - hence the reason I implemented the Copy version information to
 Clipboard popup menu in the Lazarus About dialog.  Next time please
 review the bug report correctly.

   Product Buildv0.9.25 r15545M i386-linux-gtk


 It seems the Simple View in mantis doesn't show the Product Build
 field (including a few other). Clicking on Advanced View it does.
 Maybe Advanced View must be the default in Mantis then - otherwise you
 might loose a lot of the detail regarding a bug report!
   
my apologies :)
 At to answer your other question. I just got another update for
 Lazarus (v0.9.25 r16273M i386-linux-gtk) and yes the bug has been
 resolved somewhere between r15545 and r16273.
   

It seems some old bug report came to light :) Sorry, without that 
advanced view I thought it was report about today bug.


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


Re: [Lazarus] Cannot compile lazarus

2008-08-25 Thread Paul Ishenin
Luca Olivetti wrote:
 En/na Luca Olivetti ha escrit:

   
 Given that the file with errors hasn't been updated in a while
 

 Actually fileutils has been updated today. I had to go back to revision 
 16222.
   
Just update once again. svn can contain bugs. Usually developers check 
their work on one - two widgetsets. But error can appear on third :) 
Simple name conflict.

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


Re: [Lazarus] problems building lazarus

2008-08-22 Thread Paul Ishenin
Mattias Gärtner пишет:
 Zitat von Vincent Snijders [EMAIL PROTECTED]:
 
 
 Are you sure?
 
 I can do without linking errors:
 
 var c: integer; external name 'goal';
 
 procedure Bla; cdecl; external name 'money';
 
 

try it so:

unit money;
interface

function Bla:Boolean; cdecl; external 'money.so';

function IsBla: Boolean;

implementation

function IsBla: Boolean;
begin
   IsBla := Bla;
end;

end.

program test_money;
uses
   money;
begin
end.

Btw, money is not a goal :)

Best regards,
Paul Ishenin.

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


Re: [Lazarus] problems building lazarus

2008-08-21 Thread Paul Ishenin
Lord Satan wrote:
 Hi,
 
 trying to build lazarus I get this error on ubuntu 8.04 64-bit:
 
my fault. I uncommented use of 3 files which have external functions 
which are not present in gtk exports. I will send a patch to the fpc 
team to correct that.

On the other hand - why fpc links to unused symbols?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Reviving Delphi 7

2008-08-15 Thread Paul Ishenin
Lance Collins wrote:
 It's their problem.  If they do get something together surely a 
 comparison of the code they publish with the LCL may suggest possible 
 bug fixes and enhancements to the LCL.
 I'm not suggesting any line for line copying by the Lazarus team.
   
According to their web page the project is closed now.

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


  1   2   >