Re: [Lazarus] FTP Server component?

2010-01-22 Thread Michael Van Canneyt
Synapse has a server component in the contributions. Indy also ships with a FTP server component, if I recall correctly. Michael. On Fri, 22 Jan 2010, Graeme Geldenhuys wrote: Hi, I looked at lnet and TurboPower IPro components and only saw FTP Client components. Anybody know where I could

Re: [Lazarus] FTP Server component?

2010-01-22 Thread Graeme Geldenhuys
2010/1/22 Michael Van Canneyt mich...@freepascal.org: Synapse has a server component in the contributions. Indy also ships with a FTP server component, if I recall correctly. Ah, I forgot about Indy. I'll go take a look, thanks. Regards, - Graeme - --

Re: [Lazarus] FTP Server component?

2010-01-22 Thread Graeme Geldenhuys
2010/1/22 Matt Shaffer dazappa.m...@gmail.com: I don't know of a server component, but a free windows FTP server is filezilla (http://filezilla-project.org/) Ah, I didn't know that. I thought FileZilla was a client only. Thanks for the info. -- Regards, - Graeme -

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread Graeme Geldenhuys
2010/1/22 Paul Ishenin i...@kmiac.ru: Yes, because resource support in fpc made in a 'windows-like'/'delphi-like'. Nothing bad in this but... Ah, now I get it. Piggyback on existing designs. And version info resource is not the easiest structure. I don't think Microsoft has ever defined a

Re: [Lazarus] DBGrid highlighting certain cells

2010-01-22 Thread Andrea Mauri
Il 22/01/2010 8.34, Jesus Reyes ha scritto: Using OnPrepareCanvas you don't have to draw anything, you get the column:tcolumn which is being painted as an argument and from there you get the field and can take decisions based on fields value, then you change dbgrid's canvas properties, for

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: Luiz Americo Pereira Camara wrote: If possible i also would like to get the compilation date const cCompileDate = {$I %date%}; cCompileTime = {$I %time%}; I couldn't find a way of formatting the date and time to my locale (under Linux, not sure for

Re: [Lazarus] DBGrid highlighting certain cells

2010-01-22 Thread Graeme Geldenhuys
2010/1/22 Jesus Reyes jesus...@yahoo.com.mx: The recommended way is using OnPrepareCanvas DbGrid event. OK, thanks for the information. for borders one needs custom drawing and OnDrawColumnCell is needed, OnPrepareCanvas do not help here. Changing the border look is not really important to

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread Graeme Geldenhuys
2010/1/22 Luiz Americo Pereira Camara luiz...@oi.com.br: const  cCompileDate = {$I %date%};  cCompileTime = {$I %time%}; I couldn't find a way of formatting the date and time to my locale (under Linux, not sure for other platforms). It seems to be hard-coded, so you will have to parse and

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: 2010/1/22 Luiz Americo Pereira Camara luiz...@oi.com.br: const cCompileDate = {$I %date%}; cCompileTime = {$I %time%}; I couldn't find a way of formatting the date and time to my locale (under Linux, not sure for other platforms). It seems to be hard-coded, so

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara escreveu: Graeme Geldenhuys escreveu: 2010/1/22 Luiz Americo Pereira Camara luiz...@oi.com.br: const cCompileDate = {$I %date%}; cCompileTime = {$I %time%}; I couldn't find a way of formatting the date and time to my locale (under Linux, not sure for other

[Lazarus] bug report: I had to laugh

2010-01-22 Thread Graeme Geldenhuys
Hi, Anybody had the joy of experiencing the following dialog? See the screenshot in the bug report. http://bugs.freepascal.org/view.php?id=15564 Is somebody promoting bigger LCD screens, or trying to make a argument for them? :-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform

[Lazarus] Command constants (Lazarus internals)

2010-01-22 Thread Juha Manninen
Hi, About Lazarus internal code: I was planning to combine command constants from lazarus/components/synedit/SynEditKeyCmds.pp into lazarus/ideintf/IDECommands.pas Now I realize SynEdit is a component which can be used in other projects (not just Lazarus), so the constants can't be moved.

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Raistware
El 22/01/2010 11:41, Graeme Geldenhuys escribió: Hi, Anybody had the joy of experiencing the following dialog? See the screenshot in the bug report. http://bugs.freepascal.org/view.php?id=15564 Is somebody promoting bigger LCD screens, or trying to make a argument for them? :-) Regards,

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Juha Manninen
Anybody had the joy of experiencing the following dialog? See the screenshot in the bug report. What did you select to get such dialog? I just tested building Lazarus and didn't see it. Juha Manninen -- ___ Lazarus mailing list

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Graeme Geldenhuys
Juha Manninen wrote: What did you select to get such dialog? I just tested building Lazarus and didn't see it. Packages Configure Installed Packages (make your selection) Save and Build. That pops up the Confirmation dialog, which is the culprit. I guess a simple screen with message Are

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Juha Manninen
Packages Configure Installed Packages Oops, sorry. I was looking at a wrong dialog. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Alexander Klenin
I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a separate unit. Although Paul have given me commit access to IDEIntf, he requested that I ask before committing serious changes. So, is it ok to commit this refactoring? -- Alexander S. Klenin --

Re: [Lazarus] Command constants (Lazarus internals)

2010-01-22 Thread Mattias Gärtner
Zitat von Juha Manninen juha.manni...@phnet.fi: Hi, About Lazarus internal code: I was planning to combine command constants from lazarus/components/synedit/SynEditKeyCmds.pp into lazarus/ideintf/IDECommands.pas Now I realize SynEdit is a component which can be used in other projects (not

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a separate unit. Although Paul have given me commit access to IDEIntf, he requested that I ask before committing serious changes. So, is it ok to commit this

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread shoKwave
Luiz Americo Pereira Camara schrieb: Is there a way to retrieve the version info that is stored in the project file at runtime? Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Alexander Klenin
2010/1/22 Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Alexander Klenin kle...@gmail.com: I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a separate unit. Although Paul have given me commit access to IDEIntf, he requested that I ask before

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: 2010/1/22 Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Alexander Klenin kle...@gmail.com: I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a separate unit. Although Paul have given me commit access to

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Alexander Klenin
2010/1/22 Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Alexander Klenin kle...@gmail.com: 2010/1/22 Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Alexander Klenin kle...@gmail.com: I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a

Re: [Lazarus] Command constants (Lazarus internals)

2010-01-22 Thread Juha Manninen
I also would have changed those constants to enum to get rid of the const array name mappings. I removed them in 23531. Yes I see. Is it so easy? I still don't seem to understand the command and shortcut code fully. Where does the textual name for the command come from in your new code

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Felipe Monteiro de Carvalho
You are lucky that in Linux you can Alt+Drag the window. In Windows when this happens you get stuck without acess to the buttons, or you can just press Enter and hope that it will hit the button. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Paul Ishenin
22.01.2010 21:07, Alexander Klenin wrote: I continue refactoring of PropEdits unit. I am ready to extract TPropertyEditHook into a separate unit. Although Paul have given me commit access to IDEIntf, he requested that I ask before committing serious changes. So, is it ok to commit this

Re: [Lazarus] cross-distro (and OS) app installation - what would you like?

2010-01-22 Thread Marco van de Voort
On Thu, Jan 21, 2010 at 12:23:17AM +0100, Mattias Gaertner wrote: The frontend can be anything. Some GUIs shows graphical dialogs for the questions. Other points: deb/rpm/ports/... repositories have some advantages: - mirrors - databases of all installed files - databases of all

Re: [Lazarus] IDEIntf: Extract PropHooks from PropEdits unit

2010-01-22 Thread Alexander Klenin
On Sat, Jan 23, 2010 at 00:59, Paul Ishenin webpi...@mail.ru wrote: 22.01.2010 21:07, Alexander Klenin wrote: At the current stage, I simply re-export TPropertyEditHook from propedits unit. Theoretically, after updating all dependent units this re-export might be removed, but there is no

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Jürgen Hestermann
Felipe Monteiro de Carvalho schrieb: You are lucky that in Linux you can Alt+Drag the window. In Windows when this happens you get stuck without acess to the buttons, or you can just press Enter and hope that it will hit the button. On Windows you should be able to move a window too with

[Lazarus] CSV parser class

2010-01-22 Thread Vladimir Zhirov
Hi, I made a unit to work with files in CSV (comma separated values) format and would like to submit it to Lazarus CCR. What is the best way to proceed? -- Vladimir Zhirov -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] DBGrid highlighting certain cells

2010-01-22 Thread Jesus Reyes
--- El vie 22-ene-10, Andrea Mauri andrea.mauri...@gmail.com escribió: I use OnPrepareCanvas in order to change color background and fonts of a grid. I encunter a problem with the font. I can set the font color but the Bold property does not work, any hint? this is the code:

Re: [Lazarus] CSV parser class

2010-01-22 Thread Hans-Peter Diettrich
Vladimir Zhirov schrieb: I made a unit to work with files in CSV (comma separated values) format and would like to submit it to Lazarus CCR. Have you seen the built-in CSV support in TStrings? DoDi -- ___ Lazarus mailing list

Re: [Lazarus] CSV parser class

2010-01-22 Thread Michael Van Canneyt
On Fri, 22 Jan 2010, Hans-Peter Diettrich wrote: Vladimir Zhirov schrieb: I made a unit to work with files in CSV (comma separated values) format and would like to submit it to Lazarus CCR. Have you seen the built-in CSV support in TStrings? Or the TSDFDataset class in sdfdata ?

Re: [Lazarus] bug report: I had to laugh

2010-01-22 Thread Matt Shaffer
I wouldn't laugh either. I'm still running a CRT on my main computer at 1024x768, and that box well exceeds the screen boundaries. I'd suggest some sort of non-editable memo, or at least a scrollbar and window adjusted to the size of the screen. On Fri, Jan 22, 2010 at 12:09 PM, Jürgen Hestermann

Re: [Lazarus] CSV parser class

2010-01-22 Thread Vincent Snijders
Vladimir Zhirov schreef: Hi, I made a unit to work with files in CSV (comma separated values) format and would like to submit it to Lazarus CCR. What is the best way to proceed? See http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Creating_a_Code_Release_Page and further. Vincent

Re: [Lazarus] cross-distro (and OS) app installation - what would you like?

2010-01-22 Thread waldo kitty
On 1/21/2010 02:25, Graeme Geldenhuys wrote: zeljko wrote: Just because WMaker is not freedesktop compliant ? ;) And judging by the progress in recent years, a dead product. if a product has fulfilled its goals, what progress is there to be made? ;) updates/upgrades simply for

Re: [Lazarus] PropEdits.TGetStringProc duplicated Classes. TGetStrProc

2010-01-22 Thread waldo kitty
On 1/21/2010 04:00, Hans-Peter Diettrich wrote: waldo kitty schrieb: ok... thanks for that... i was unaware that type string was an alias for ansistring... i had thought that string was the same as the old borland string definition (ie: array of chars with the [0] element containing the string

Re: [Lazarus] PropEdits.TGetStringProc duplicated Classes. TGetStrProc

2010-01-22 Thread waldo kitty
On 1/21/2010 06:01, Mattias Gaertner wrote: On Thu, 21 Jan 2010 10:00:27 +0100 Hans-Peter Diettrichdrdiettri...@aol.com wrote: waldo kitty schrieb: ok... thanks for that... i was unaware that type string was an alias for ansistring... i had thought that string was the same as the old

[Lazarus] AV in TGtk2WSCustomListBox.SetItemIndex

2010-01-22 Thread Flávio Etrusco
Hello, is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), e.g. when trying opening the Add Unit/Requirement in the project inspector. The AV is raised by calls to gtk_tree_row_reference_valid (gtk_tree_row_reference_free would raise it too) in the ClearCursor subfunction of

Re: [Lazarus] CSV parser class

2010-01-22 Thread Alexander Klenin
On Sat, Jan 23, 2010 at 06:53, Hans-Peter Diettrich drdiettri...@aol.com wrote: Vladimir Zhirov schrieb: I made a unit to work with files in CSV (comma separated values) format and would like to submit it to Lazarus CCR. Have you seen the built-in CSV support in TStrings? That's

Re: [Lazarus] Errors in some units from svn

2010-01-22 Thread Alexander Klenin
2010/1/23 Guionardo Furlan guiona...@gmail.com: Hello I've updated the sources of lazarus via svn and when I compile the IDE, get some errors: On c:\lazarus\components\synedit\synpropertyeditobjectlist.pas, the PropEditUtils is not listed on the uses clauses. The GetLookupRootForComponent