Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32
2016-04-09 12:20 GMT+02:00 Giuliano Colla: > Il 08/04/2016 21:13, Juha Manninen ha scritto: > >> Welcome to open source. >> Instead of complaining here and wasting everybody's time, you could >> have improved the documentation yourself and provide a patch. >> > > In principle you're right. However you should take into account some other > factors. > > Frequently users do complain when a problem arises which they are unable > to solve by themselves. > > Asking them to provide a patch doesn't help too much. Sorry to reply so late but here you have hit the core of the question. Many times I've tried to do something that failed in a miserable way (i.e. miserable/hobbist/old programmer). BTW, contribute to an open source project can be done as programmer, tester, artist, disigner, marketter etc. So if someone has a good idea to improve the project but is not able to implement it, I think there is nothing wrong with proposing it here without this being interpreted as a request that the core developers must do. If anyone knows how to do it, and overall want to do it, well, otherwise it goes on and nothing changes. Anyway I want to say thanks to all of you, old and new developers Salvatore > Giuliano > > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.6RC1 on various platforms
Create the procedure TForm1.Button1Click(Sender: TObject); begin end; Instead of the error message 2015-12-28 9:16 GMT+01:00 Ondrej Pokorny <laza...@kluug.net>: > On 28.12.2015 09:11, Salvatore Coppola wrote: > > What do you want to change? >> - do you want to remove the "Button1Click" reference in OI on undo? >> or >> - do you want to create Button1Click even if there is reference in OI but >> the method cannot be found? >> > > Yes, this can be a good option > > > Which one? > > Ondrej > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.6RC1 on various platforms
Done 2015-12-28 9:50 GMT+01:00 Ondrej Pokorny <laza...@kluug.net>: > On 28.12.2015 09:35, Salvatore Coppola wrote: > > Create the > procedure TForm1.Button1Click(Sender: TObject); > begin > > end; > Instead of the error message > > Please fill an issue report in the BT. > > Ondrej > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.6RC1 on various platforms
2015-12-27 22:29 GMT+01:00 Ondrej Pokorny <laza...@kluug.net>: > On 26.12.2015 10:00, Salvatore Coppola wrote: > > the IDE is give a error msg that didnt help to find the problem (unit > section enlighted) > > > I find the error message clear enough: > > > > and in the messages window you find > > unit1.pas(1,11) Error: identifier not found: Button1Click > > So there is no bug at all. > > What do you want to change? > - do you want to remove the "Button1Click" reference in OI on undo? > or > - do you want to create Button1Click even if there is reference in OI but > the method cannot be found? > Yes, this can be a good option because in the other case (compiling) the IDE suggest to self remove "Button1Click" in the OI. Salvatore Ondrej > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.6RC1 on various platforms
Ok "although" instead of "Thought"! Ok wrong tread! Should be opened an issou in the BT? thanks for the huge amount of replies! 2015-12-26 10:00 GMT+01:00 Salvatore Coppola <coppolastu...@gmail.com>: > Thought not 1.6 specific ther'is an annoying bug with the IDE undo. If you > create an event for instance > procedure TForm1.Button1Click(Sender: TObject); > begin > > end; > > do ctrl+z > > and only Button1Click from source is removed and not its reference in the > OI. So if you try to recreate the Button1Click event via OI or dbclick on > button1 the IDE is give a error msg that didnt help to find the problem > (unit section enlighted) > > Salvatore > > ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.6RC1 on various platforms
Thought not 1.6 specific ther'is an annoying bug with the IDE undo. If you create an event for instance procedure TForm1.Button1Click(Sender: TObject); begin end; do ctrl+z and only Button1Click from source is removed and not its reference in the OI. So if you try to recreate the Button1Click event via OI or dbclick on button1 the IDE is give a error msg that didnt help to find the problem (unit section enlighted) Salvatore ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Theoretical question about future of Lazarus
An easy way to got apk for Android as Sam Herzog said "able to generate a valid android package (.apk) by just pressing F9" 2015-10-13 19:50 GMT+02:00 Travis Ayres: > I hope we see more books detailing Lazarus and Freepascal, rather than > more advanced features. New features are great but really getting the word > out is necessary - I've had people laugh when I say I program in object > Pascal because I like it better than C++, and others say it's a dead > language. It's really a shame because Lazarus\fpc are so good! > On Oct 13, 2015 10:47 AM, wrote: > >> On 10/13/2015 09:51 AM, Juha Manninen wrote: >> >>> On Tue, Oct 13, 2015 at 3:43 PM, wrote: >>> what do you call "really fast"?? >>> >>> The fastest PC available today. >>> >>> i might be able to try this on my 8-core 4Ghz box... >>> >>> Yes please! >>> >> >> let me see what i can do... >> >> [time passes] >> >> i get as far as this... >> >> /bin/rm -f fpcmade.x86_64-linux Package.fpc ./ppas.sh script.res link.res >> /bin/rm -f *.s *_ppas.sh >> make[1]: Leaving directory >> `/home/wkitty42/development/lazarus/components/chmhelp/lhelp' >> make -C packager/registration >> make[1]: Entering directory >> `/home/wkitty42/development/lazarus/packager/registration' >> /bin/rm -f ../units/x86_64-linux/fcllaz.ppu >> /home/wkitty42/development/fpc/bin/x86_64-linux/ppcx64 -MObjFPC -Scghi >> -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/x86_64-linux -Cg -dx86_64 >> fcllaz.pas >> Free Pascal Compiler version 3.1.1 [2015/06/13] for x86_64 >> Copyright (c) 1993-2015 by Florian Klaempfl and others >> (1002) Target OS: Linux for x86-64 >> (3104) Compiling fcllaz.pas >> Fatal: (10022) Can't find unit system used by fcllaz >> Fatal: (1018) Compilation aborted >> make[1]: *** [fcllaz.ppu] Error 1 >> make[1]: Leaving directory >> `/home/wkitty42/development/lazarus/packager/registration' >> make: *** [registration] Error 2 >> >> real0m4.228s >> user0m0.819s >> sys 0m1.352s >> >> >> i don't know why... everything is in a tree under ~/development where >> fpcup placed it... i've never installed fpc or lazarus using anything other >> than fpcup and bootstrapping it from the raw... there is >> ~/development/fcpbootstrap/x86_64-linux-ppcx64 which turns out to be fpc >> 2.6.2 but i don't know how to tell your "time make clean bigide" to use it >> :( >> >> the only other thing is that i don't use bigide at this time... it was too confusing for me while trying to learn the interface... >>> >>> Bigide is used for Lazarus release versions. Why is it confusing? >>> >> >> way too many options to drag and drop on a form... i do not come from >> delphi or any other gui coding environment so i don't know anything about >> them... trying to find one being looked for was like hunting a needle in a >> haystack... >> >> the last time i used any sort of RAD it was for relatively small programs >> in Foxbase or dBase III and IV... there was a RAD template system thing >> that we used... once we got the forms laid out the way we wanted and >> generated the basic code to access, edit and delete the data, we then >> rewrote the majority of the code so much adding to and refining the >> existing code that we could not use the template thing any more to adjust >> the forms... from then on, it was like we had never used a RAD at all... >> >> -- >> NOTE: No off-list assistance is given without prior approval. >>*Please keep mailing list traffic on the list* unless >>private contact is specifically requested and granted. >> >> -- >> ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] LazSVNPkg is working?
2015-10-02 21:14 GMT+02:00 Salvatore Coppola <coppolastu...@gmail.com>: > Hi all, > is LazSVNPkg working? > Tried for the first time and got "Access violation". > Steps > installed subversion > created a local a repository > set up project active > try to commit > Salvatore > OK I set the repository name and working in a local copy got only log working. commit, update no. is this a bug or I'm wrong in something? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] LazSVNPkg is working?
Hi all, is LazSVNPkg working? Tried for the first time and got "Access violation". Steps installed subversion created a local a repository set up project active try to commit Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fpc (trunk) 3.1.1 debian .deb
Hi, time ago the .deb packages of fpc in trunk were availlable on daily snapshot pages. The same with other fpc distribtions (for instance packaged in the lazarus setup exe). It was great for who like me that wasn't able to get fpc working from source (I know, I.ll die dummy) Why daily snapshot are been removed? Is there a way to get the the fpc debs? Regards, Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] LaztoApk troubles
Sam, thanks for the reply, got it! Salvatore 2015-09-19 20:16 GMT+02:00 sam_herzog <sam_her...@yahoo.com>: > > Hello Salvatore, first I would like to explain a little about laztoapk. > It just helps you install the whole tool chain, jdk,sdk,ndk and > laz4android. And to create the batch-file (.bat) to compile,sign and > package a valid .apk file. The problem you are talking about can be solved > by either using the batch-files directly or you can use the tabsheet > "manual". Regards, DelphiFreak btw I bought delphi xe 10 last week and was > able to generate a valid android package (.apk) by just pressing F9. Nice > but will cost you around 1000 euros. > > > > > > > > > > > > > > > Von Samsung-Tablet gesendet > > > Ursprüngliche Nachricht > Von: Salvatore Coppola <coppolastu...@gmail.com> > Datum: 19.09.2015 09:44 (GMT+01:00) > An: Lazarus mailing list <lazarus@lists.lazarus.freepascal.org> > Betreff: [Lazarus] LaztoApk troubles > > Hi, > this should be direct to delphifreak but i preferred to ask here, maybe > someone already experimented and solved. > After configured laz4android jdk sdk ndk, the program execute and make the > apk but the problem is that althought the project is changed (another > project) always the template is build and packaged as apk. Tried the svn > code but nothing changed. > I want to take a look at the code. > Delphifreak can you list here in a shortlist the logical steps laztoapk do > TIA > Salvatore > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] LaztoApk troubles
Hi, this should be direct to delphifreak but i preferred to ask here, maybe someone has already experimented and solved. After configured laz4android jdk sdk ndk, the program execute and make the apk but the problem is that althought the project is changed (another project) always the template is build and packaged as apk. Tried the svn code but nothing changed. I want to take a look at the code. Delphifreak can you list here in a shortlist the logical steps laztoapk do TIA Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TAChart
Maybe TChart.ZoomFull can help you 2015-06-04 21:35 GMT+02:00 Richard Mace richard.m...@gmail.com: Hi, Another quick question. How can you, via code, zoom out of a chart, effectively back to what it was by default? If that makes sense? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Moving items between actionlist
Maybe can be better for you to use Sender instead to duplicate actions 2015-04-20 14:44 GMT+02:00 Torsten Bonde Christiansen t...@epidata.info: I am in for some tidious work, copying a large amount of actions between two actionlist. So I started wondering - is there not a simple cutpaste functionality to cut/move an action from one list to another? Both actionlists are on the same form, so all associated OnExecute methods are unchanged, so basically it is a simply move operation. I have tried dragging actions between the two actionlist editors, but that is not implemented. Also dragging in the Object Inspector does not work, it show a do not drop icon with the mouse. Regards, Torsten Bonde Christiansen. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug? Form (in design mode) shrinks every time i click on a component in the palette
about 30 pixel recall me scrollbar width 2015-04-17 13:12 GMT+02:00 Kostas Michalopoulos badsectorac...@gmail.com: So i have this weird problem under Linux with the GTK2 backend (it doesn't happen in the Qt backend): every time i click on a component button in the palette, the designed form shrinks a bit (about 30 pixels or so). This happens in the stable 1.2 version, 1.4RC and trunk. Deleting ~/.lazarus etc doesn't fix it so it isn't a settings issue. I tried to debug it a bit by adding breakpoints in SetBounds, DoOnResize, etc but couldn't find where the resize request comes from (OnResize stuff comes from a WM message). What is even more weird, commenting out the OnClick code in the component palette so that it isn't handled at all, still causes it - i suspect some weird combination of GTK+ events might cause it since the buttons are still pressed. Although TBH this was mostly shooting blind trying to find some clue. The only thing i suspect is the window manager i'm using, Window Maker, might not support some of the more recent window hint/style/etc stuff (although i'm using the latest version and is in active development since a few years now). Steam also seems to have trouble with interacting with wmaker, but that one implements its own widgets and it might be a bug they didn't bother to fix. Every other program i've tried seems to work fine with wmaker so i'm not sure if it is that (and besides it works fine with the Qt backend). Does anyone have any idea what might cause this and how to fix it (no, replacing wmaker isn't an option :-P besides if it is a bug there i'll just fix wmaker)? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Auto Update Request
2015-04-13 16:28 GMT+02:00 Martin Frb laza...@mfriebe.de: On 13/04/2015 14:58, Lukasz Sokol wrote: On 13/04/15 14:28, Michael Van Canneyt wrote: Do you need additional features: a diff kind of update, My bet's primarily on this one. Well then the question is, is the request for - an AUTO update (same download, just the IDE checks for it) - an UPDATE installer, that reduces the download size. Of course ideally both. IMHO the rebuild with your packages should not be part of the installer, but be done when you run the IDE. Same as we have the setup screen,the IDE could probably detect that the configured packages are no longer installed, and ask. As for the installer size, their are many options. The problem is manpower. Such installers have to be build in order to be provided, and someone has to do this on every release. Speaking of the windows installer (I do not know the others) It be possible to build an Lazarus only, no fpc, if you already have fpc in the correct version from the last install. But it needs to be build each time. And it will add work on support, if people try to use it with an older fpc, It would also be possible to just install tho Lazarus sources, no ppu included, and then build them locally (more time to install, less download). IMHO this features are only a needless complexity. Both for Lazarus and FPC, SVN or Git do the work in a excellent way for a good programmer (i suppose Lazarus and FPC users are programmers). I'm an hobbist programmer (very poor for the truth) but I've no problems to update via SVN There are many possible variations. But they all will take time for building and testing on every release. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] StringGrid content LoadFromFile SaveToFile and accented char
Ciao, I'm playing with StringGrid and LoadFromFile SaveToFile. I noticed that if you save content in Windows 8 or Mint LMDE 64 and load it under winXp, accented chars are replaced with strange chars. Sure are utf related but is there a way to avoid this? It is a bag? Thanks for the replies Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] font.name=default
You can choose the controls you want this way var i: integer; begin for i:=0 to ControlCount-1 do if Controls[i] is TButton then ShowMessage(Controls[i].Name); end; Ciao 2014-08-21 13:09 GMT+02:00 Philippe phili...@quarta.com.br: I wrote about a suggestion ... a Lazarus default font ... may be, as far as I understand, using Parent Font property is the way ... I´ll try it! Philippe Em 20.08.2014 19:54, Philippe escreveu: thank for your answer. I found the default font on my machine/windows 8 is Segoe UI. I´ll check if it is avalaible under other version of Windows ... your suggestion (looping controls) is interesting, I didn´t know it, but will change all the controls of the form ... and that is not what I need ... I just want to change the Lazarus default. So it will change the font of controls using font.name='Default' in the configuration/object inspector. Philippe Em 20.08.2014 12:58, Salvatore Coppola escreveu: 2014-08-16 12:40 GMT+02:00 Philippe phili...@quarta.com.br: I wrote a program, used font.name=default for allmost everything ... it was looking as Arial font. Fine. It was on a Windows 8 machine. Then I copied the program to a Windows XP machine to check. Where static text and others are written with something looking as a New Times Roman ... and sometimes not fitting in the field width ... and be splitted! I undestood there is something about windows default font. Googled ... ... ... On the my W8 machine default font (from registers) are Microsoft Sans Serif and Tahoma ... diferent. I made a test. In the attached image, the first text is with default, the second with Arial, both with bold mode. Arial was the closest font from default I found ... but still a bit diferent. Question 1): which default font is used with Lazarus ? the theme fonts Question 2): is there a way I can set the default font in Lazarus? I don't know if is possible in RAD way, but you can set the font you want in on create event for each controls you want. procedure TForm1.FormCreate(Sender: TObject); var i: integer; begin for i:=0 to ControlCount-1 do Controls[i].Font:=YOURFONT; end; Thank for your help Philippe PS. F1 in font.name ... error 404. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing listLazarus@lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing listLazarus@lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] font.name=default
2014-08-16 12:40 GMT+02:00 Philippe phili...@quarta.com.br: I wrote a program, used font.name=default for allmost everything ... it was looking as Arial font. Fine. It was on a Windows 8 machine. Then I copied the program to a Windows XP machine to check. Where static text and others are written with something looking as a New Times Roman ... and sometimes not fitting in the field width ... and be splitted! I undestood there is something about windows default font. Googled ... ... ... On the my W8 machine default font (from registers) are Microsoft Sans Serif and Tahoma ... diferent. I made a test. In the attached image, the first text is with default, the second with Arial, both with bold mode. Arial was the closest font from default I found ... but still a bit diferent. Question 1): which default font is used with Lazarus ? the theme fonts Question 2): is there a way I can set the default font in Lazarus? I don't know if is possible in RAD way, but you can set the font you want in on create event for each controls you want. procedure TForm1.FormCreate(Sender: TObject); var i: integer; begin for i:=0 to ControlCount-1 do Controls[i].Font:=YOURFONT; end; Thank for your help Philippe PS. F1 in font.name ... error 404. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TAChart - Logarithmic Transform fails for X Axis
Have you checked data (0)? Salvatore 2013/12/7 Peter Thurner pm.thur...@gmx.at Hello *, This is the first time that I post something, so please be patient with me :-) I have been using Plotpanel now for a while to plot Bode diagrams within Lazarus GUIs. Now I would like to switch to TAChart which seems very powerfull too. I tried it out with linear graphs and it works very well. But If I try to plot a bode diagram with a logarithmic x Axis then it crashes. I followed the tutorial about logarithmic transform: http://wiki.freepascal.org/TAChart_Tutorial:_ListChartSource,_Logarithmic_ Axis,_Fitting and I did all the steps successfully. BUT If I try to apply a logarithmic transform to the bottom axis (x-axis) then it crashes. It displays the graph but the grid lines are gone. Has anybody tried already to apply log transform to bottom axis? It works for left axis. Thanks PeterT -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Help with databases
OK realised that I must study SQL language Salvatore 2013/1/27 Salvatore Coppola coppolastu...@gmail.com: Hello everyone, I'm newbie with databases, I'm trying sqlite and now I need to know if an element is present in a particular field. Another thing is how to assign an entire field (ftString) to a StringList. Any help will be appreciate Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Help with databases
Hello everyone, I'm newbie with databases, I'm trying sqlite and now I need to know if an element is present in a particular field. Another thing is how to assign an entire field (ftString) to a StringList. Any help will be appreciate Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New Lazarus User
2013/1/4 George R Smith geo...@grsmith.arcoxmail.com: All, I just ordered my first all Ubuntu laptop and since I like Delphi I noticed Lazarus. Can Lazarus run and are people using Lazarus on Ubuntu 12.10 and does it use Wine. Thanks George -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Welcome George! I installed only fpc via software manager (.deb) and lazarus happily via source (.snv) in home. You do not need wine, just write your code, compile and run. Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Stringgrid ?
2012/11/17 Terry A. Haimann te...@haimannonline.com: I am wanting to change the color based on a value. The cell already exists TSemaphorGrid enlight a cell based on the value (red yellow and green labels for StringRed, StringYellow and StringGreen values). If you need more values you can easily extend this component. You can find it in /examples/gridexamples/grid_semaphor and then share the source with comments to make Lazarus IDE a little bit more easy and popular Regards, Salvatore and I am not sure how I am going to fire either OnDrawCell or OnPrepareCanvas. But I am probably totally misunderstanding it. On 11/17/2012 05:33 AM, William Oliveira Ferreira wrote: Juha, why not use onDrawCell ? Is there any performance issue? 2012/11/17 Juha Manninen juha.mannine...@gmail.com On Sat, Nov 17, 2012 at 2:31 AM, Terry A. Haimann te...@haimannonline.com wrote: How do you change the Font Color for a TStringGrid Cell? Use the OnPrepareCanvas event. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- William de Oliveira Ferreira -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Where is the System Unit source?
Maybe the follow can help Byte 0 .. 2551 Shortint -128 .. 127 1 Smallint -32768 .. 32767 2 Word 0 .. 65535 2 Integer either smallint or longint size 2 or 4 Cardinal longword4 Longint -2147483648 .. 2147483647 4 Longword 0 .. 4294967295 4 Int64 -9223372036854775808 .. 9223372036854775807 8 QWord0 .. 18446744073709551615 8 http://www.freepascal.org/docs-html/ref/refsu5.html 2012/11/14 Curt Carpenter 1cjcarpen...@att.net: Hello Sven. Thank you for the help. I tried this code: procedure test; var c: integer; loc,hic: byte; begin c := 1000; hic := hi(c); loc := lo(c); end; The result is always hic = 0 and loc = 0 for me. I have looked in ninl.pas as you suggested, and found the in_lo_xx items around line 2780 in that file. I note that in_lo_integer and in_hi_integer do not appear among the items listed. In fpc/rtl/inc/system.inc, I find Hi(b:byte): byte declared. in fpc/rtl/inc/systemh.inc, I find only declarations for hi and lo. I'm guessing that somehow hi(i:integer): byte and lo(i:integer): byte got dropped from the code base somehow (but remained in the fpc documentation). Perhaps it's located somewhere that I have not looked yet? Anyway -- thanks to all who gave me some pointers! I don't have the skill to try to suggest a fix, if in fact one is required. The work-around for me is to simply use word rather than integer types. Regards, Curt Carpenter On 11/14/2012 4:50 AM, Sven Barth wrote: Am 14.11.2012 05:19, schrieb Curt Carpenter: Hello. I am using Lazarus 0.9.30.4 with FPC 2.6.0 under Windows XP. In my system, the two functions hi(x) and lo(x) don't seem to work if the argument x is an integer variable (although both functions work fine if x is a WORD variable). Why do you come to the conclusion that they work incorrectly? Do you have an example where you can state what you expect and what you get? To see if I could figure out why this is, I started trying to find the System unit that contains these two functions. I haven't been able to locate it though. The hi and lo functions are compiler intrinsics and are not visible in code (the compiler generates specific code for them). If you still want to explore: they are implemented in compiler/ninl.pas (look for in_XX_YYY where XX is either hi or lo and YYY is word, long or qword). Could anyone tell me where I'll find the system unit source? I have the source for FPC, but can's seem to find system.pas anywhere. The system units are called system.pp (not .pas) and are located for each target in rtl/TARGET/system.pp (these usually include files from rtl/inc or rtl/TARGET or rtl/PLATFORM) (example for TARGET is win32 or linux, example for PLATFORM is i386 or arm) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot post a reply in the lazarus forum
Grazie Paul! 2012/9/9 Paul Ishenin webpi...@mail.ru: 09.09.12, 14:42, Salvatore Coppola пишет: As the object say, (see the attached screenshot) cannot post a reply in the lazarus forum. What am I doing wrong? Look at one of the text fields: Lazarus spelled backward = surazaL but you put the captcha there. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 Release
Congratulations to all of you! Salvatore 2012/8/29 Mattias Gaertner nc-gaert...@netcologne.de: The Lazarus team is glad to announce the release of: Lazarus 1.0 At this important stage the current team would like to thank all the past and current people who were involved in getting us here. * Thanks also go to the FPC team for providing the compiler that makes it all possible. * Special thanks go to the founders of the project who started Lazarus more than a decade ago in 1999: Cliff Baeseman, Shane Miller and Michael A. Hess. * A history of developers involved can be found at http://wiki.lazarus.freepascal.org/History. And a list of the many contributors comes with the distribution. The release is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the Lazarus 1.0 directory. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0 The list of changes: http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] StringGrid.LoadFromFile not loading col and row sizes
2012/8/13 Jürgen Hestermann juergen.hesterm...@gmx.de: When I store a StringGrid with StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent]; StringGrid1.SaveToFile(filename); and reload it later with LoadFromFile() it does not reload the column widths and row heigths. I can see that they are stored in the XML file but are ignored on loading. Am I doing something wrong? Are you setting StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent]; before LoadFromFile() ? Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus and Free Pascal downloads plummeting on SourceForge
2012/8/3 Graeme Geldenhuys graemeg.li...@gmail.com: Hi Everybody, Lets just face the facts Such download statics are just eye candy for SourceForge. There is no way you can take those as a Ahahah, i was thinking this graphs were some ad-picture! reliable source of information. It's like Microsoft trying to compare Windows installs (actually copies shipped to OEM's) to Linux Install. Nobody counts torrent downloads of Linux, nobody counts the multiple of CD's I created and shared with my friends, nobody counted the multiple times I installed a CD even though I only downloaded it once, etc... The same applies to FPC and Lazarus projects. You can install from multiple locations: application repositories of Linux distros, official downloaded archives, unofficial daily build archive, direct checkouts from the repository, the fact that linux downloads tend to be lots of little archives and the Windows version one big archive etc etc. So there you have it - those statistics are useless!!! -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download
LinuxMint LMDE 201204 with MATE and mintMenu 64bit FPC 2.6.0. from debian repository lazarus_1_0_RC1 from svn built without problem customizing IDE color work only with the combobox i.e. not all the items are selectable from the sourcebox for instance Text block, Folded code marker, Assembler, Execution point, and other YES Reserver word, String, Symbol, Number, Default text and other NO Salvatore 2012/8/1 Mattias Gaertner nc-gaert...@netcologne.de: The Lazarus team is glad to announce that Lazarus 1.0RC is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 1.0RC1 directory. Minimum requirements: Windows: 98, 2k, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_RC1 Please, let me know if you find any problems with these release candidates. Also let me know if you installed it without any problem. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download
With Setting Tools--Options ...--Desktop--Language--English [en] it work fine but with Automatic or Italian the problem is there Salvatore 2012/8/3 Salvatore Coppola coppolastu...@gmail.com: LinuxMint LMDE 201204 with MATE and mintMenu 64bit FPC 2.6.0. from debian repository lazarus_1_0_RC1 from svn built without problem customizing IDE color work only with the combobox i.e. not all the items are selectable from the sourcebox for instance Text block, Folded code marker, Assembler, Execution point, and other YES Reserver word, String, Symbol, Number, Default text and other NO Setting Salvatore 2012/8/1 Mattias Gaertner nc-gaert...@netcologne.de: The Lazarus team is glad to announce that Lazarus 1.0RC is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 1.0RC1 directory. Minimum requirements: Windows: 98, 2k, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_RC1 Please, let me know if you find any problems with these release candidates. Also let me know if you installed it without any problem. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download
2012/8/3 Martin laza...@mfriebe.de: On 03/08/2012 18:54, Salvatore Coppola wrote: LinuxMint LMDE 201204 with MATE and mintMenu 64bit FPC 2.6.0. from debian repository lazarus_1_0_RC1 from svn built without problem customizing IDE color work only with the combobox i.e. not all the items are selectable from the sourcebox for instance Text block, Folded code marker, Assembler, Execution point, and other YES Reserver word, String, Symbol, Number, Default text and other NO Actually, fixed in rev 38127 Thanks, should still reported in Mantis BT? Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Statistics about Lazarus and FPC
Maybe this can help you. http://svn.freepascal.org/svn/logs Regards, Salvatore 2012/6/2 Geoffray Levasseur jeff.levass...@free.fr: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I'm actually preparing a conference in my LUG about FPC and Lazarus. Regarding that conference, I'd like to incorporate some stats in the conference. I'm so looking for the actual number of active and occasional developers, number of lines of code, etc... Can someone give me that informations? In the hope my conference will help to get interest in what you are doing ;) For people interested and French speaking, I can send the presentation once it's done. Thanks in advance. - -- Geoffray « fatalerrors » Levasseur http://jeff.levasseur.tuxfamily.org GNU-PG public key: B0EC11B62617B11A582A7C4226573BFD878E334D Errare humanum est, sed perseverare diabolicum et cretinum. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/KGD4ACgkQJlc7/YeOM03SAgCdFs9Tl6+dkEKtw1qroYjP+ZWH g4wAn1KfsT87WKgBnbjKk9E7vb2WFKke =eXMQ -END PGP SIGNATURE- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Grouping radio buttons
Off topic (maybe) I often use for the matter TComboBox with Style:=csDropDownList == only one choise per list (drastic reduction of space consumption) Salvatore 2012/3/21 Jürgen Hestermann juergen.hesterm...@gmx.de: Salvatore Coppola schrieb: Put them in varius GroupBoxes so you can use the groupbox caption to logically(visual) differenziate each group of radiobuttons As already discussed, this also means to abandon individual placing of the buttons. I have now used one TRadioGroup and TRadioButton elements for the second group . But only the latter can be arranged free. If I need multiple groups of radio buttons only one can be put as I want. The other ones are pressed into the TRadioGroup arrangement (which is not bad, but sometimes you need more freedom). -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Grouping radio buttons
Put them in varius GroupBoxes so you can use the groupbox caption to logically(visual) differenziate each group of radiobuttons Salvatore 2012/3/19 Jürgen Hestermann juergen.hesterm...@gmx.de: I already searched for hours but cannot find anything useful. My question: Is it possible (and if yes, how) to group some radio buttons so that only one of each group can be selected? I put some radio buttons on my form which select different things but they are all connected with each other so that only one can be selected at a time. I expected some property defining a goup but I cannot find anything like that. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Xubuntu, Lazarus and project stored and built on a pendrive with ntfs
2012/3/18 Gustavo Enrique Jimenez gejime...@gmail.com: hi all: Not executing programs from external file systems is a kernel option adopted by many linux distros, I think. You should copy the program to the local filesystem and change permissions to execute it. I see what you say. thx Salvatore 2012/3/17 Bernd Kreuss prof7...@googlemail.com: On 17.03.2012 23:08, Salvatore Coppola wrote: I'm low level user so can you take a look, is how you supposed? Somehow somewhere the default mount options can be changed in xubuntu. I assume you want it to have it mounted with exec bits set every time you plug it in, maybe you should consult the ubuntu forums where these default options for xubuntu's automounting daemon are hidden and where the correct place is to make these changes (its probably some gnome thingy running in the background and xubuntu with its minimal interface probably does not have an UI to configure it). The people on the ubuntu forums should be able to help, they know this system inside out. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Xubuntu, Lazarus and project stored and built on a pendrive with ntfs
2012/3/18 Bernd Kreuss prof7...@googlemail.com: On 17.03.2012 23:08, Salvatore Coppola wrote: I'm low level user so can you take a look, is how you supposed? Somehow somewhere the default mount options can be changed in xubuntu. I assume you want it to have it mounted with exec bits set every time you plug it in, maybe you should consult the ubuntu forums where these default options for xubuntu's automounting daemon are hidden and where the correct place is to make these changes (its probably some gnome thingy running in the background and xubuntu with its minimal interface probably does not have an UI to configure it). The people on the ubuntu forums should be able to help, they know this system inside out. Thx for the reply, i'll follow your hint. If I get a solution i'ill post here in this thread, otherwise I'll change distro Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Xubuntu, Lazarus and project stored and built on a pendrive with ntfs
Hi, after updating Ubuntu at 11.10 because of Unity I swiched to Xubuntu 11.10 (fresh installation), but saving and building a simple project (application) on a pendrive with ntfs the executable cannot be run. The same project stored in HOME is OK. Xubuntu is missing something or what? As I remeber such things were OK in Ubuntu 11.04 Any help will be apreciate! __ Attached a screenshot of Lazarus after try to run This has been reported in the terminal: TMainIDE.DoNewProject A (lazarus:4242): Gtk-WARNING **: Unable to retrieve the file info for `file:///media/PENDRIVE/project1.lpi': Errore nell'eseguire lo stat del file /media/PENDRIVE/project1.lpi: File o directory non esistente (lazarus:4242): Gtk-WARNING **: Unable to retrieve the file info for `file:///media/PENDRIVE/Unit1.pas': Errore nell'eseguire lo stat del file /media/PENDRIVE/Unit1.pas: File o directory non esistente TMainIDE.DoRenameUnit unit1.pas NewUnitName=Unit1 OldUnitName=Unit1 ResourceCode=False NewFilename=/me dia/PENDRIVE/unit1.pas TCodeToolManager.RenameIdentifier File /media/PENDRIVE/project1.lpr Line=10 Col=10 Identifier=Unit1 TCodeToolManager.RenameIdentifier KEPT Unit1 TCodeToolManager.RenameIdentifier Apply [TMainIDE.DoRunProject] A TMainIDE.DoInitProjectRun A True 0 TMainIDE.DoInitProjectRun B TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory=lib/$(TargetCPU)-$(TargetOS) CurOutputDir= /media/PENDRIVE/lib/i386-linux/ TMainIDE.CheckIfProjectNeedsCompilation Src has changed Project /media/PENDRIVE/unit1.pas TCompiler.Compile WorkingDir=/media/PENDRIVE/ CompilerFilename=/usr/bin/fpc CompilerParams= -MObjF PC -Scghi -O1 -gl -vewnhi -l -Fi/media/PENDRIVE/lib/i386-linux -Fu/home/salvatore/lazarusARPA/lcl/units /i386-linux -Fu/home/salvatore/lazarusARPA/lcl/units/i386-linux/gtk2 -Fu/home/salvatore/lazarusARPA/pac kager/units/i386-linux -Fu/media/PENDRIVE/ -Fu. -FU/media/PENDRIVE/lib/i386-linux/ -oproject1 -dLCL -dL CLgtk2 project1.lpr [TCompiler.Compile] CmdLine=/usr/bin/fpc -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fi/media/PENDRIVE/lib/i3 86-linux -Fu/home/salvatore/lazarusARPA/lcl/units/i386-linux -Fu/home/salvatore/lazarusARPA/lcl/units/i 386-linux/gtk2 -Fu/home/salvatore/lazarusARPA/packager/units/i386-linux -Fu/media/PENDRIVE/ -Fu. -FU/me dia/PENDRIVE/lib/i386-linux/ -oproject1 -dLCL -dLCLgtk2 project1.lpr Hint: Start of reading config file /home/salvatore/.fpc.cfg Hint: End of reading config file /home/salvatore/.fpc.cfg Free Pascal Compiler version 2.6.0-1 [2012/01/13] for i386 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: Linux for i386 Compiling project1.lpr Compiling unit1.pas Compiling resource /media/PENDRIVE/lib/i386-linux/project1.or Linking project1 /usr/bin/ld: warning: link.res contains output sections; did you forget -T? 46 lines compiled, 28.5 sec 2 hint(s) issued [TCompiler.Compile] end TMainIDE.DoInitProjectRun ProgramFilename=/media/PENDRIVE/project1 Best Regards Salvatore attachment: Istantanea - 18:36:46.png-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Xubuntu, Lazarus and project stored and built on a pendrive with ntfs
2012/3/17 Mattias Gaertner nc-gaert...@netcologne.de: On Sat, 17 Mar 2012 18:58:16 +0100 Salvatore Coppola coppolastu...@gmail.com wrote: Hi, after updating Ubuntu at 11.10 because of Unity I swiched to Xubuntu 11.10 (fresh installation), but saving and building a simple project (application) on a pendrive with ntfs the executable cannot be run. The same project stored in HOME is OK. Xubuntu is missing something or what? As I remeber such things were OK in Ubuntu 11.04 [...] TMainIDE.DoInitProjectRun ProgramFilename=/media/PENDRIVE/project1 Is the file there? Yes Can you run it manually? on doubleclick nothing appens! after copied on the desktop (ext4) nothing appens! in the terminal permesso negato permission denied with sudo sudo: /home/salvatore/Scrivania/project1: command not found but is there Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Xubuntu, Lazarus and project stored and built on a pendrive with ntfs
2012/3/17 Mattias Gaertner nc-gaert...@netcologne.de: On Sat, 17 Mar 2012 20:09:48 +0100 Salvatore Coppola coppolastu...@gmail.com wrote: 2012/3/17 Mattias Gaertner nc-gaert...@netcologne.de: On Sat, 17 Mar 2012 18:58:16 +0100 Salvatore Coppola coppolastu...@gmail.com wrote: Hi, after updating Ubuntu at 11.10 because of Unity I swiched to Xubuntu 11.10 (fresh installation), but saving and building a simple project (application) on a pendrive with ntfs the executable cannot be run. The same project stored in HOME is OK. Xubuntu is missing something or what? As I remeber such things were OK in Ubuntu 11.04 [...] TMainIDE.DoInitProjectRun ProgramFilename=/media/PENDRIVE/project1 Is the file there? Yes Can you run it manually? on doubleclick nothing appens! after copied on the desktop (ext4) nothing appens! in the terminal permesso negato permission denied with sudo sudo: /home/salvatore/Scrivania/project1: command not found but is there It needs executable flags to run. Check your mount flags of your pendrive. Probably for security reasons it was mounted with noexec or something similar. mount give me this rows /dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=0) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) gvfs-fuse-daemon on /home/salvatore/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=salvatore) /dev/sdc1 on /media/PENDRIVE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) the last one is the pendrive in question while cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # file system mount point type options dump pass proc/proc procnodev,noexec,nosuid 0 0 # / was on /dev/sda6 during installation UUID=a5f13cd0-5793-4fff-ab07-15882b06dd01 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=ca697dbf-9c11-496b-84ec-89a427267a30 noneswapsw 0 0 I'm low level user so can you take a look, is how you supposed? THX Salvatore Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Setting ModalResult
Set in the Object Inspector Borderstyle to bsDialog and the form behavior should be what you need Regards, Salvatore 2012/3/13 Flávio Etrusco flavio.etru...@gmail.com: Do you set the ModalResult in the button or in the form? If the former, is there any specific reason for it? Best regards, Flávio 2012/3/13 Richard Mace rich...@shrinkyourbills.co.uk: Installed the latest RC4 binaries and still the same problem On 13 Mar 2012 07:07, Reinier Olislagers reinierolislag...@gmail.com wrote: On 13-3-2012 7:50, Richard Mace wrote: On 12 March 2012 23:51, Mattias Gaertner nc-gaert...@netcologne.de Lazarus 0.9.30 fpc 2.4 Windows XP 2.4? Please check these versions. They look pretty old. Thanks Mattias. Yes, I had just installed the latest released binaries for both Lazarus and FPC. I'm now attempting to install from SVN trunk. FYI, 2.6 is the latest released version for FPC... Regards, Reinier -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Setting ModalResult
2012/3/14 Mattias Gaertner nc-gaert...@netcologne.de: Salvatore Coppola coppolastu...@gmail.com hat am 14. März 2012 um 11:57 geschrieben: Set in the Object Inspector Borderstyle to bsDialog and the form behavior should be what you need My apologie for misleading! BorderStyle has nothing to do with ModalResult. This is enough to close a modal dialog: procedure TForm1.Button1Click(Sender: TObject); begin ModalResult:=mrOk; end; Note: When a button's Modalresult is set, it will do the above when clicked. Setting the Button1.ModalResult alone will not close the form. Clear, thx Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OFF-TOPIC] Merry Christmas
2011/12/26 Bart bartjun...@gmail.com: On 12/26/11, William Oliveira Ferreira bdexterholl...@gmail.com wrote: rent a toilet! [Trying to get back on-topic ;-) ] Currrently my toilet behaves like any decent C-written M$ program. You know it will fail horribly at some point, but it you cannot predict when. All you know is, it's probably going to happen at the worst possible moment. ATM the floor is dry... Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus @ Bart and @William Oliveira Ferreira Maybe Christmas deserves a little more respect, so you can continue in private! TIA -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OFF-TOPIC] Merry Christmas
2011/12/26 Bart bartjun...@gmail.com: On 12/26/11, Salvatore Coppola coppolastu...@gmail.com wrote: ... so you can continue in private! Pun intended? OK, I see. no offence, just thinking was not appropriate with the mail object I apologize Salvatore Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OFF-TOPIC] Merry Christmas
2011/12/24 silvioprog silviop...@gmail.com: Hello listers, My Christmas message to all. const CMerryChristmasMsg = '*** Merry Christmas! :) ***'; {$IFDEF APPCONSOLE} WriteLn(CMerryChristmasMsg ); {$ELSE} ShowMessage(CMerryChristmasMsg); {$ENDIF} Very funny! Merry Christmas! -- Silvio Clécio Site - silvioprog.com.br LazSolutions - code.google.com/p/lazsolutions -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Problem compiling lazarus
Try this before to update with SNV delete all the file in the lazarus directory except the fpc and debugger directories and the lazarus executable (keep startlazarus.exe lazarus.exe and lazbuilld.exe), update with SNV and try rebuild the ide itself, so you gave a fresh Lazarus without interference of old .ppu files. Ciao 2011/11/25 Guadagnini David sw.d...@biotecnica.it: Dear, i can't compile lazarus ide or any projects. Preliminary operation 1) Download and istall Lazarus 0.9.3 (lazarus-0.9.30.2-fpc-2.4.4-win32.exe) 2) with TortoiseSVN i have updated the files Now the problems: 1) If I start Lazarus receive this errors: Package: FCL 1.0.1 Unit: XMLCfg Unit not founded: XMLCfg Package: FCL 1.0.1 Unit: Menus Unit not founded: Menus Package: FCL 1.0.1 Unit: Buttons Unit not founded: Buttons ... and many others 2) If I execute make or make clean all I receive more than 1887 errors similar to Error makefile 3656: Command syntax error 3) If I try to compile Lazarus into IDE the build stop on unit lclbasedowngrade with the message Your project depends on LCLBase. Replace the dependency with LCL in the project inspector. 4) If I try to compile a new blank project I receive the same error of point 3 Note: Into Project inspector i do not use LCLBase but only LCL Some ideas? ...and sorry for my very bad English David -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 0.9.30.2RC2 available
2011/10/27 Vincent Snijders vincent.snijd...@gmail.com: 2011/10/27 Salvatore Coppola coppolastu...@gmail.com: Bug 0020486: Missing package files in the Testing Repository is still there!!! Yes, as can been seen at http://bugs.freepascal.org/view.php?id=20486 this issue has not been fixed. Just curious, this files are missing in the repository that generate the deb installation files or is a problem of the deb packager This is an omission in the scrript / rules that create the deb packages. Currently the deb package maintainer has no time to fix them. All other issues with the deb packages in RC1 have not been fixed yet either and won't be fixed before the release, most likely. Clear, as usual you are! Thanks Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 0.9.30.2RC2 available
Bug 0020486: Missing package files in the Testing Repository is still there!!! Just curious, this files are missing in the repository that generate the deb installation files or is a problem of the deb packager Regads, Salvatore 2011/10/26 Vincent Snijders vincent.snijd...@gmail.com: The second (and probably final) release candidate for Lazarus 0.9.30.2 is available for download from https://sourceforge.net/projects/lazarus/files/ The lazarus-testing ubuntu repository at http://www.hu.freepascal.org/lazarus/dists/lazarus-testing/ has been updated with this release candidate too. This release candidate has been made from the fixes_0_9_30 branch and uses fpc 2.4.4 (0.9.30 used fpc 2.4.4). Main differences from 0.9.30.2RC1: * Fixed environment options for Lazarus directory and FPC directory with a clean rpm or deb installation. * Several fixes in TAChart package Please, report regression compared with Lazarus 0.9.30.2RC1 in the bug tracker and on this list. With kind regards, Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Need help about lhelp
Hi i need to show a particular hcontext helpfile: filechm.chm hcontext: 25 tried with lhelp filechm.chm --context 25 but doesn't work (always the same page was showed) TIA Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus website doesn't recognize my account
Hi after a long time I tried to login as Salvatore user in the website but got a reply that this user doesn't exist. why? should'I reregister again? Regards Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Project conversion Delphi - FreePascal: success!
2011/1/6 Birger Jansen bir...@cnoc.nl If l interpreted the screenshots correctly, it is plaxis: http://www.plaxis.nl/page/home/ You are correct, it is Plaxis. I did not do any work on the application itself, just did a pilot conversion to see how portable the code is to FPC. I believe this application, like many in its genre, works as 3 separate programs: input, processing, output. Processing is done in (I think) Fortran and the rest is Delphi. For this pilot I worked on the output only. thanks now I can see. Thanks to Vincent to Kind regards, Birger -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Project conversion Delphi - FreePascal: success!
2011/1/3 Birger Jansen bir...@cnoc.nl Hi all, Last month I converted a 500.000 lines Delphi project to FreePascal, and I wanted to thank those who replied to my questions over the mailing list and the whole FPC / Lazarus team for delivering a great product. Also all contributors to wiki pages, newsgroups and forums: thanks! Even the smallest pages or postings contained useful information and are a valuable source of information. The converted application is an output viewer for calculations based on the finite element method. It is intended for 2-Dimensional and 3-Dimensional geotechnical analysis of deformation and stability of soil structures, as well as groundwater and heat flow, in geo-engineering applications such as excavation, foundations, embankments and tunnels. (so this is a result viewer, the actual calculations are performed with another application). Hi Jansen although it is no longer my main job I am geotechnical engineer and I'm curious on the finite elements application: did you do it? is it in pascal? what is his name? As for the viewer it look very professional so BRAVO! Regard Salvatore The conversion was a pilot with the main reason for trying FPC the need for 64 bit. During conversion I encountered lots of small issues (Unicode, OpenGL, images with scanline manipulation, generics, anonymous methods, class constants and functions, MDI forms, treeview with custom drawing, Steema TChart, custom controls and more). For most of the encountered issues I created a list with their solution, I'll try to clean it up and see if I can post it somewhere because it might also be helpful for others. Attached you will find some screenshots of the result, these give you an idea of what the program does. With kind regards, Birger Jansen -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Some information please
2010/7/3 jjb real...@gmail.com I am an interested observer of Lazarus but I know very little about it. I am interested partly because Pascal was the first language I ever used (it formed a very small part of a non-CS degree.) I understand that this is an open source project so I guess that those who develop it do so because they love it. Are these people users of Lazarus in their day jobs or is Lazarus just a hobby that they don't ever expect to use professionally? I only found Lazarus by accident it seems to have a much lower profile than other open source stuff (eg python, php, java etc). Is there a reason for this? Where in the world is Lazarus popular/not so popular. I see that there is a german language textbook that may be translated to english sometime. The level of skill in this mail group seems quite high. Do people come to Lazarus as already skilled programmers in other languages as I don't see many newbies asking simple questions. Or is it the case that people here are older on average and cut their teeth when Pascal was more popular? I guess I'm asking in a roundabout way if this community is growing. I have read in Delphi discussions many times people talking about how to make the language more popular. One of the issues always brought up is price. Lazarus doesn't have this problem so I wonder if price is a factor in Delphi's relative unpopularity. simply inheritance of peaples who changed from dos TP to some visual environment missing Dephi My thinking is that languages need to get the kids interested and the way to do this is game development. I believe that C++ is the language of the serious game developers. I also believe that object pascal provides almost the same power as C++ but without a lot of the pain. Correct me if I am wrong as I don't know any of this from experience only from reading. I recently bought my 9 year old son this book The Game Maker's Apprenticehttp://www.amazon.com/Game-Makers-Apprentice-Development-Beginners/dp/1590596153/ref=sr_1_1?ie=UTF8s=booksqid=1278161293sr=8-1 and he is working his way through it at the moment. It comes with software enabling users to easily create 2D games with all the bells and whistles (lives, health, levels, explosions) and supplies lots of resources (images and sounds) for sprites etc. For most of the book users learn to create games by instancing built-in objects and altering their attributes and behaviour. Only later in the book is coding introduced to enable users to extend beyond what's provided. I think it's a wonderful but imagine if the language that was introduced was object pascal! I would be grateful for any information. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] This project needs help
IMO all of us are need for the project. In the frictions we rise, so stay with us, you will find your space Salvatore 2010/3/9 Graeme Geldenhuys graemeg.li...@gmail.com Hi Everybody, After enduring more sh*t than I can handle, the rude comments from core team in the public mailing list, the rude private emails from core team, the seriously bad attitude, the inability to handle criticism etc... I think it is time I call it a day and move one. It wasn't fun, and I have better things to do with my time than try and help a project that doesn't want help. All the best with your Lazarus project. I sure hope you guys (core team) can get your act together and drop your god complex by the door. You guys might end up being the only people that use Lazarus! Graeme signing out for good! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus