Re: [Lazarus] Contribute to a book instead of wiki?
On Fri, Mar 2, 2012 at 9:50 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Trying to do a 'svn diff' might be an issue. Git has a filter that converts ODT files to text before it shows such a diff, so in Git it is not a problem either. I don't know if svn supports such a feature. If you use tortoiseSVN it does support showing the differences between document files. I was amazed when I first saw and it clearly something new (maybe 1 or 2 years, dont know) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
On Fri, Mar 2, 2012 at 10:03 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: If you use tortoiseSVN it does support showing the differences between document files. I was amazed when I first saw and it clearly something new (maybe 1 or 2 years, dont know) Oh yes, and it shows them grafically, not as raw text. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
On 02/03/2012 09:04, Felipe Monteiro de Carvalho wrote: On Fri, Mar 2, 2012 at 10:03 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: If you use tortoiseSVN it does support showing the differences between document files. I was amazed when I first saw and it clearly something new (maybe 1 or 2 years, dont know) Oh yes, and it shows them grafically, not as raw text. AFAIMR, ODF files are essentially compacted XML; Lukasz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Test
Please can someone respond, as I don't think my messages are gettingthrough to the list. Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Missing Documentation
Is anybody else lined up to take over? Richard On 2 March 2012 07:40, Vincent Snijders vincent.snijd...@gmail.com wrote: Op 2 maart 2012 00:04 heeft Frank Church vfcli...@gmail.com het volgende geschreven: Googling brought up this link - http://www.mediawiki.org/wiki/Extension:Google_Custom_Search_Engine Who is the webmaster of the wiki and can this be forwarded to him? I was, but I want to stop doing it. 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] Test
On 02/3/12 9:22, Richard Mace wrote: Please can someone respond, as I don't think my messages are getting through to the list. That message appeared OK. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Test
Many thanks Howard On 2 March 2012 09:32, Howard Page-Clark h...@talktalk.net wrote: On 02/3/12 9:22, Richard Mace wrote: Please can someone respond, as I don't think my messages are getting through to the list. That message appeared OK. -- __**_ Lazarus mailing list Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://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] Missing Documentation
On 02/03/12 20:44, Vincent Snijders wrote: Op 2 maart 2012 10:27 schreef Richard Mace richard.m...@gmail.com mailto:richard.m...@gmail.com het volgende: Is anybody else lined up to take over? I don't know. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus I'll be happy to do it. I have silently benefitted from other peoples work on Lazarus/FreePascal for years, and maybe it's time to give some back. Let me know Samps Okholm -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Missing Documentation
Is anybody else lined up to take over? I don't know. Vincent -- ___ Lazarus mailing listLazarus@lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus I'll be happy to do it. I have silently benefitted from other peoples work on Lazarus/FreePascal for years, and maybe it's time to give some back. Let me know Samps Okholm I am also happy todo it depending on time required. Richard Mace -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Adding packages at build time
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk hat am 2. März 2012 um 12:18 geschrieben: In the fpc-pascal ML, Martin said: If you work on the IDE itself try the package IdeInspector (it adds itself to view Ide Internals if installed) Is there a best practice way of installing Lazarus packages at build time, to avoid the extra time of a second build once the IDE is running (possibly followed by another build of librarees etc. once the first project is compiled)? Why do you build two times? Why not simply svn up und rebuild the IDE via the IDE? When I started using a local svn repository I patched lazsvnpkg into the makefiles etc. which appears to work OK with fairly recent versions of Lazarus (from around 0.9.26), but I'm not entirely happy with it since strictly the patch should be regenerated each time in case the sources have changed. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
Oh yes, and it shows them grafically, not as raw text. Now that's something I don't know :) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Contribute-to-a-book-instead-of-wiki-tp3789922p3793507.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
I suggest convert it to LyX format. 2012/3/2 leledumbo leledumbo_c...@yahoo.co.id Oh yes, and it shows them grafically, not as raw text. Now that's something I don't know :) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Contribute-to-a-book-instead-of-wiki-tp3789922p3793507.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Project management
2012/3/2 Marc Santhoff m.santh...@web.de Maybe it's a bit more than only improving documentation itself. The project management part of it is to care for keeping docs up to date and keep the shape following the needs. An example would be some kind of general info pages about how the project is driven. Special index pages or future plans come to my mind here. There is already such page : http://wiki.lazarus.freepascal.org/Lazarus_Development_Process but it is difficult to find. I plan to update it and get a link somehow to main page (if I had rights). Now only there is something badly wrong with the wiki server. It is very slow, browser timed out when I tried to update something. There is already a link for developers page in Development_Process page. I was thinking to explain the tools used and project organization, too. Tools: --- There are 6 web-based -tools to help manage the development and to communicate. * Lazarus main web page (www.lazarus.freepascal.org). * Forum (http://lazarus.freepascal.org/index.php?action=forum). * Mailing list (lazarus@lists.lazarus.freepascal.org). * Chat line (#lazarus-ide). * Wiki pages (http://wiki.lazarus.freepascal.org). They document Lazarus usage and internals. Can be edited by anyone after logging in... * Issue Tracker for reporting both bugs and feature requests. It supports also simple project management features. A bug can be assigned to a developer and its target release and priority can be set. For documenting LCL library there is Documentation Manager (?) and FpDoc. The source document files are XML, many help file formats can be generated from them. Links... For creating program code Lazarus itself is used (naturally). Organization: ___ Developing program code and applying patches ___: The recommended way to contribute code for Lazarus sources is to first create a patch (link Creating_a_Patch) and then upload it to a new report in issue tracker. The developers with commit rights verify the patch and apply it if valid. See Developers_Page for info about developers and their areas of expertise. ___ Web-tool administration, the responsible person ___: Server with Lazarus main page and Forum: ??? Mailing list server: ??? Chat server: ??? Wiki server: Vincent Snijders Mantis Issue Tracker server: ??? In the other thread Missing Documentation Vincent mentioned he doesn't want to continue as wiki admin. Samps Okholm and Richard Mace immediately offered their help. It would be stupid not to accept it, IMO. I have no idea who are the admins for the other servers. Maybe the info is buried somewhere in wiki. The web tools work well except for the wiki. The search is poor and now it is slow. ___ Public Relations ___: The goal is to advertise Lazarus on different ways. Internet sites related to programming languages / tool and Linux distributions may be good candidates. More frequent Lazarus releases will also work as a (semi-)automatic advertisement. Release announcements are typically notified on many sites. The responsible person : Position is open! ___ Release schedule ___: (the page already has info of releases up to 0.99) A new time-based release schedule will be used (! note, this is my proposal and not approved by other devels but there are signs it could be approved !). Until now the release cycle has been long. It requires a set of bugs to be fixed and then verifying the quality with a test period. Now Lazarus is mature enough for a time-based schedule. Most other mature projects have it, too. This has at least 2 benefits. 1. Users would not need to use the development version only because the released version is so old. 2. A release announcement works as a free advertisement. (See Public Relations). ___ Release Management ___: Release Manager person: Vincent Snijders Build tester for Windows: Position is open! Build tester for Mac: Position is open! Build tester for Linux Debian: ??? Build tester for Linux RPM: Position is open! Build tester for BSD: Position is open! Build tester for xxx: Position is open! (I don't remember all platforms supported) Now the fact is that Vincent has less time and energy than before for this task. It may be that Release Manager position is open, too. (Correct me Vincent if I am wrong) Build testers are needed because (according to Vincent) the building itself is easy if you have a remote connection (ssh) to a server but you can't test a graphical program on that server. ___ Updating Fixes Branches ___: Bug fixes are backported from trunk to the fixes branch by these people: 0.9.30.x: Vincent Snijders / Juha Manninen 0.99.x: Maybe Juha Manninen (=me) That was the Development_Process page. The Developers_Page would list also other prominent contributors, not only core developers. They can be called SMEs (subject matter experts) if needed. It would not really change their position
Re: [Lazarus] Project management
On 02.03.2012 20:32, Juha Manninen wrote: 2012/3/2 Marc Santhoff m.santh...@web.de mailto:m.santh...@web.de Maybe it's a bit more than only improving documentation itself. The project management part of it is to care for keeping docs up to date and keep the shape following the needs. An example would be some kind of general info pages about how the project is driven. Special index pages or future plans come to my mind here. There is already such page : http://wiki.lazarus.freepascal.org/Lazarus_Development_Process but it is difficult to find. I plan to update it and get a link somehow to main page (if I had rights). Now only there is something badly wrong with the wiki server. It is very slow, browser timed out when I tried to update something. If the situation hasn't changed then (according to fpc-core) someone is mirroring the wiki using a tool called HTTrack (I won't link it) which not only slows down the wiki, but also e.g. www.hu.freepascal.org. If that person is reading this list: Please stop it! Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Background colours etc.
On a form, I've got a TImage containing a star that changes colour to indicate the progress of a comms protocol I'm trying to get working. It normally shows a plain background, then a blue star showing that it's trying to connect, which changes to red or green depending on the result- and so on. The star images are coming from a bitmap in a TImageList on the same form. I'm having a lot of hassle trying to get the background colour to match that of the form. I see from Google etc. that this has been an issue in the past: how should I be doing it, or should I give up and just use a square panel that changes colour? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Background colours etc.
There are 2 options: 1- The default form color is very well defined, just use ColorToRGB(clForm) to get it or 2- You can also set a region for your TImage which matches the star shape, which will make the control non-rectangular. Use TWinControl.SetShape(Region). Use LCLIntf functions to create the region. setShape does not work before the form has been shown (so OnShow event) in LCL-Gtk2, because as always Gtk2 has issues. To make a star try something like CreatePolygonalRgn (or similar name) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
2012/3/2 Alexsander Rosa : I suggest convert it to LyX format. No need really. The newer OpenOffice and LibreOffice also supports the Flattened ODT format (older versions of OOo can install the plugin for this too). That is basically just an XML file (no zip archive like ODT). This makes it much better for version control systems to manage document revisions and patches. I'm not sure how Flattened ODT handles images though, but then again, for any large documents (like a book) it is anyway recommended (think of it as best practice) to link to images, and not embed images. -- 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
Re: [Lazarus] Contribute to a book instead of wiki?
The problem with secretary's editors like MS Word or Open/LibreOffice is that they waste user's time with formatting and other non-content related activities. With LaTeX and derivatives such as LyX, the user is free to be productive. When I was working on my MSc paper, ages ago, I wrote some 40 pages in two months on Word, then converted it to LyX and created 40 more pages in just one week. 2012/3/2 Graeme Geldenhuys graemeg.li...@gmail.com 2012/3/2 Alexsander Rosa : I suggest convert it to LyX format. No need really. The newer OpenOffice and LibreOffice also supports the Flattened ODT format (older versions of OOo can install the plugin for this too). That is basically just an XML file (no zip archive like ODT). This makes it much better for version control systems to manage document revisions and patches. I'm not sure how Flattened ODT handles images though, but then again, for any large documents (like a book) it is anyway recommended (think of it as best practice) to link to images, and not embed images. -- 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 -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Contribute to a book instead of wiki?
Am Freitag, den 02.03.2012, 23:49 +0200 schrieb Graeme Geldenhuys: 2012/3/2 Alexsander Rosa : I suggest convert it to LyX format. No need really. The newer OpenOffice and LibreOffice also supports the Flattened ODT format (older versions of OOo can install the plugin for this too). That is basically just an XML file (no zip archive like ODT). I just aksed for this feature elsewhere, it has been in and out an seems to be in again. Do you now which version is necessary? (My last test was done on 3.0 or 3.2 or so) -- Marc Santhoff m.santh...@web.de -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Background colours etc.
Felipe Monteiro de Carvalho wrote: There are 2 options: 1- The default form color is very well defined, just use ColorToRGB(clForm) to get it or 2- You can also set a region for your TImage which matches the star shape, which will make the control non-rectangular. Use TWinControl.SetShape(Region). Use LCLIntf functions to create the region. setShape does not work before the form has been shown (so OnShow event) in LCL-Gtk2, because as always Gtk2 has issues. To make a star try something like CreatePolygonalRgn (or similar name) OK, but are you saying that I've got to start filling areas at runtime or drawing vectors? I was hoping to be able to use some fire and forget bitmaps, possibly with one colour being reserved for background/transparency. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Background colours etc.
On Fri, Mar 2, 2012 at 11:46 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: OK, but are you saying that I've got to start filling areas at runtime or drawing vectors? I was hoping to be able to use some fire and forget bitmaps, possibly with one colour being reserved for background/transparency. transparency is not supported currently in TWinControl descents. TWinControl.setShape(Bitmap) is the closest to what you want, but a lot of interfaces don't support it, and in general it is not a very portable method. If you really want that and don't want to use method 1 or method 2, then you can write a TGraphicControl descendent and paint there only your star without its background. By not painting the background it will be transparent. It will not be able to receive keyboard events as it is not a TWinControl. I don't know a ready component which will do that you might need to write one. And about method 2, it is not vectorial drawing. It is a region shape setting. You can see an example here: http://wiki.lazarus.freepascal.org/LazEyes It allows for non-rectangular windows and controls. If all your starts have the same size you can set the shape once and forget. If they have different sizes you will need to reshape for each star size. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus