Re: [Lazarus] Differences between released 0.9.30 and 0_9_30_fixes

2011-05-20 Thread Juha (gmail)
Alexsander Rosa kirjoitti perjantai, 20. toukokuuta 2011 17:34:12: I was using 0_9_30_fixes from SVN on Linux. Then I've installed 0.9.30 (release) on a fresh Windows install, and opening the project failed because of extra properties on some lfm files. Apparently the SVN version was using a

[Lazarus] (String)Grid adds new rows automatically

2011-05-19 Thread Juha (gmail)
Hi I added to CustomGrid's Options a feature goAutoAddRows. It adds a new row automatically when user presses down arrow on the last line and there is something written. It affects StringGrid and other grids, too. Please test. Juha -- ___ Lazarus

Re: [Lazarus] Sorting StringGrid by column click

2011-05-13 Thread Juha (gmail)
Jesus Reyes kirjoitti torstai, 12. toukokuuta 2011 22:33:50: Just let's not forget that this is a generic *string* grid, why users should expect it to sort numbers when the grid is specifically made to hold strings? Yes. If some columns could be defined to hold numbers and then sorted

Re: [Lazarus] QR Code

2011-05-13 Thread Juha (gmail)
silvioprog kirjoitti perjantai, 13. toukokuuta 2011 13:52:58: I gave up on converting, the QRCode code is very complex, and I'm without time to make the conversion from PHP to Pascal. I'm using the QRCode in PHP version. How about converting from Java? There was a Java version , right? Java

Re: [Lazarus] copy declaration, with implementation [Re: Tweaking 'code completion' for event handlers]

2011-05-13 Thread Juha (gmail)
This is what I was anticipating earlier: items for the Refactoring menu. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Sorting StringGrid by column click

2011-05-13 Thread Juha (gmail)
Juha (gmail) kirjoitti perjantai, 13. toukokuuta 2011 13:46:08: I realized SortOrder support for custom sorting is now important because column clicking automatically switches SortOrder. I added the parameter to TOnCompareCells. It breaks old code but the fix is easy and there is no Delphi

Re: [Lazarus] Sorting StringGrid by column click

2011-05-13 Thread Juha (gmail)
Jesus Reyes kirjoitti perjantai, 13. toukokuuta 2011 21:45:30: Which way is better? I think the Descending-sort code is always identical: if SortOrder=soDescending then result:=-result; and it could be better if users don't need to worry about it. Of course. I think if

Re: [Lazarus] missing jedi

2011-05-12 Thread Juha (gmail)
tim launchbury kirjoitti keskiviikko, 11. toukokuuta 2011 13:45:49: In the various recent reorganisations of the menus in lazarus, it appears that the jedi formatter has disappeared. Is there still any way to run it from lazarus? Hi It is in Source menu now. It was the preferred place for it

Re: [Lazarus] Sorting StringGrid by column click

2011-05-12 Thread Juha (gmail)
Alexander Klenin kirjoitti maanantai, 9. toukokuuta 2011 14:42:04: But what if the user wants his own images for sorting? Then again, maybe there are no such users... One option is to add published properties ColumnSortImageUp and ColumnSortImageDown. The user could set them to point his own

Re: [Lazarus] fppkg front end

2011-05-10 Thread Juha (gmail)
Darius Blaszyk kirjoitti tiistai, 10. toukokuuta 2011 02:24:39: Please review and commit if approved. Commit where? I noticed you wrote also to forum thread suggesting a similar installer: http://www.lazarus.freepascal.org/index.php/topic,12827 This idea seems to boil in collective

Re: [Lazarus] [OT/Readability] Re: Error: Generics without specialization cannot be used as a type for a variable

2011-05-10 Thread Juha (gmail)
Lukasz Sokol kirjoitti tiistai, 10. toukokuuta 2011 11:38:20: If nobody else sees this but me, feel free to ignore; but if somebody has a similar issue reading your posts, please back me :) Yes I can back you. The mails are quite unreadable, and the very latest mail still has the same problem.

[Lazarus] Sorting StringGrid by column click

2011-05-09 Thread Juha (gmail)
I almost always want my StringGrids to sort automatically when user clicks a column title. So, I implemeted such feature as property ColumnClickSorts (r30630 + some others for images). Jesus Reyes and others, please test. Some notes: - I created sort glyph images using my artistic skills and

Re: [Lazarus] Sorting StringGrid by column click

2011-05-09 Thread Juha (gmail)
Alexander Klenin kirjoitti maanantai, 9. toukokuuta 2011 13:51:33: - ImageList is created on the fly if not set by user. The sort glyphs and loaded dynamically in any case. The only potential error comes when user first clicks the columns, ImageList gets created, and later user's code

Re: [Lazarus] Sorting StringGrid by column click

2011-05-09 Thread Juha (gmail)
Juha (gmail) kirjoitti maanantai, 9. toukokuuta 2011 14:11:47: Typically if a user enables the automatic sorting feature, he doesn't need to assign his own ImageList. Besides, the code still works if the user has assigned his own ImageList. The built-in glyps are added dynamically to the list

Re: [Lazarus] Sorting StringGrid by column click

2011-05-09 Thread Juha (gmail)
Alexander Klenin kirjoitti maanantai, 9. toukokuuta 2011 14:42:04: Besides, the code still works if the user has assigned his own ImageList. The built-in glyps are added dynamically to the list. Elegant isn't it! But what if the user wants his own images for sorting? Then again, maybe

Re: [Lazarus] Latest trunk IDE can't rebuild itself from menu

2011-05-06 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti perjantai, 6. toukokuuta 2011 12:54:21: Just for interest sake, I'm using Lazarus 0.9.31 r28160 FPC 2.4.3 x86_64-linux-gtk 2. Works here. The latest Lazarus trunk revision is r30581. Your revision is rather old already. Juha --

Re: [Lazarus] Latest trunk IDE can't rebuild itself from menu

2011-05-06 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti perjantai, 6. toukokuuta 2011 15:34:01: OK, 'make bigide' didn't update the revision.inc file. Even though I use the git mirror repository, in the past it used to update to rUnknown, now it just left the old revision number in tact (which I think is worse than the

Re: [Lazarus] reverse engineering tool wanted

2011-04-30 Thread Juha (gmail)
dhkblas...@zeelandnet.nl kirjoitti keskiviikko, 20. huhtikuuta 2011 13:56:47: All this possible with fpclasschart. I added a graphviz backend to it a couple of months ago. Graphviz will do the automatic layout. I found fpclasschart, but what is the easiest way to test it? I haven't played

[Lazarus] Refactor menu moved

2011-04-29 Thread Juha (gmail)
Hi Based on feedback I have moved Refactor menu to a submenu under Source menu. Items will possible be moved between those 2 menus if needed. There is no single right solution with the menus. I anticipate that Refactor menu will get more new items in future than other menus. Regards, Juha --

Re: [Lazarus] TTreeView.OnItemClicked

2011-04-24 Thread Juha (gmail)
Mattias Gaertner kirjoitti sunnuntai, 24. huhtikuuta 2011 02:19:03: Is it OK to implement a new event OnItemClick or OnNodeClick for TTreeView? It would be triggered only a node is clicked, not the '+' or background. Often the background should be included in the trigger area. And

Re: [Lazarus] Possible bug in TEdit, can somebody reproduce this?

2011-04-24 Thread Juha (gmail)
Bernd kirjoitti sunnuntai, 24. huhtikuuta 2011 02:01:55: Linux GTK2 Before I file a bug, please somebody try and confirm: Can't reproduce here. 64-bit Sabayon Linux, GTK2 2.0 (?) Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Possible bug in TEdit, can somebody reproduce this?

2011-04-24 Thread Juha (gmail)
Juha (gmail) kirjoitti sunnuntai, 24. huhtikuuta 2011 12:00:15: Bernd kirjoitti sunnuntai, 24. huhtikuuta 2011 02:01:55: Linux GTK2 Before I file a bug, please somebody try and confirm: Can't reproduce here. 64-bit Sabayon Linux, GTK2 2.0 (?) I again forgot how to check the version

Re: [Lazarus] Possible bug in TEdit, can somebody reproduce this?

2011-04-24 Thread Juha (gmail)
Bernd kirjoitti sunnuntai, 24. huhtikuuta 2011 14:03:08: 2011/4/24 Juha (gmail) juha.mannine...@gmail.com: I again forgot how to check the version of GTK2. pkg-config --modversion gtk+-2.0 2.12.9 Ok, it is 2.24.3 here. That makes the difference for the bug also I guess. Juha

Re: [Lazarus] TTreeView.OnItemClicked

2011-04-24 Thread Juha (gmail)
How can you guys add notes to a resolved isue. For me it says: The action cannot be performed because issue '19059' is read-only Anyway, the last comments in #19059 kind of prove my point. It is difficult and non-intuitive with the existing events. :) Juha --

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti tiistai, 19. huhtikuuta 2011 09:30:57: Also there is ESS-Model: http://essmodel.sourceforge.net/ Don't waste your time with ESS-Model. I tried to convert it, partly as a Delphi conversion exercise. I never got it near working. It uses a complex delegated interface

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Juha (gmail)
Marc Santhoff kirjoitti tiistai, 19. huhtikuuta 2011 00:30:30: I'm searching a reverse engineering tool that can handle lazarus' code. The main goal is to generate class diagrams and sequence diagrams from source. Is there any tool for any language that can reverse engineer sequence diagrams

Re: [Lazarus] reverse engineering tool wanted

2011-04-20 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti keskiviikko, 20. huhtikuuta 2011 10:55:54: In fact it doesn't work with new Delphis either because of Delphi's changes in interface delegation. Have you got any link to this information. I would like to know more on what has changed. I've been out of the Delphi

Re: [Lazarus] recompile the LCL

2011-04-20 Thread Juha (gmail)
Bernd kirjoitti keskiviikko, 20. huhtikuuta 2011 14:52:27: There is now a dropdown with Profiles (whatever that may mean) and it contains LCL but when I hit the build button then nothing happens at all, not even an error message. Remove the local config file: miscellaneousoptions.xml Then

Re: [Lazarus] Menu caption standards

2011-04-20 Thread Juha (gmail)
Flávio Etrusco kirjoitti tiistai, 19. huhtikuuta 2011 23:42:31: Thanks a lot for all answers. Sorry for the noise, I stand corrected :-) It is not noise, those are valid comments. It seems the convention varies from program to program. For example the KDE programs I am looking have File - Open

Re: [Lazarus] Menu caption standards

2011-04-19 Thread Juha (gmail)
Graeme Geldenhuys kirjoitti tiistai, 19. huhtikuuta 2011 09:35:01: On 19/04/2011 01:08, Flávio Etrusco wrote: so it should be used for any menu that invokes a dialog, no matter it's modal or not. That's not the case in Mozilla Thunderbird. Only modal dialogs have the ellipsis in the menu

Re: [Lazarus] Lazarus SVN 30328 is not compiling

2011-04-17 Thread Juha (gmail)
Paul Ishenin kirjoitti sunnuntai, 17. huhtikuuta 2011 08:00:04: 17.04.2011 7:13, ABorka wrote: propedits.pp(1781,5) Error: Expected another 1 array elements propedits.pp(6673) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Fixed in r30332. Ok, it wasn't

[Lazarus] Missing components when reading CCR through svn

2011-04-16 Thread Juha (gmail)
When I run this on cmd line: $ svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr lazarus- ccr Then: $ cd lazarus-ccr and $ ls -l components/ drwxr-xr-x 6 juha juha 4096 16.4. 14:45 acs drwxr-xr-x 9 juha juha 4096 16.4. 14:45 beepfp drwxr-xr-x 3 juha juha 4096 16.4. 14:44

Re: [Lazarus] Missing components when reading CCR through svn

2011-04-16 Thread Juha (gmail)
Vincent Snijders kirjoitti lauantai, 16. huhtikuuta 2011 20:30:34: 2011/4/16 Juha (gmail) juha.mannine...@gmail.com: Many componens are missing, including lNet, Lui controls, fppkg gui etc... However, I can download them using a web browser. What is going on? I don't see them at https

Re: [Lazarus] How to make this Windows component cross-platform? Thanks.

2011-04-13 Thread Juha (gmail)
Here it compiles well. The answer is: it is already cross-platform. What kind of problems did you have with it? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to make this Windows component cross-platform? Thanks.

2011-04-13 Thread Juha (gmail)
Juha (gmail) kirjoitti keskiviikko, 13. huhtikuuta 2011 09:35:36: Here it compiles well. The answer is: it is already cross-platform. What kind of problems did you have with it? Tested with both GTK2 and QT bindings. Works well. Juha -- ___ Lazarus

Re: [Lazarus] Component visibility at design time

2011-04-12 Thread Juha (gmail)
patspiper kirjoitti sunnuntai, 10. huhtikuuta 2011 20:56:17: The button will be visible by default. The application would show or hide the button depending on the context. Anyway, my actual modifications to TEditBtn just add the necessary logic so that a descendant that can hide/show the

Re: [Lazarus] New behavior - RadioGroup

2011-04-05 Thread Juha (gmail)
t.wieckow...@gmail.com kirjoitti tiistai, 5. huhtikuuta 2011 23:16:29: Hi, since rev. 30161, my apps goes crazy. When I'm setting itemindex for Radiogroup in OnCreateForm event then OnClick for that control is fired. Such behavior will be from now on ? Yes. See issue #15989: TRadioGroup:

[Lazarus] Loadstring()

2011-04-04 Thread Juha (gmail)
Hi How to port function Loadstring() to multiplatform Lazarus? It is used for resource strings. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Application.Handle

2011-04-03 Thread Juha (gmail)
Hi Can Application.Handle be ported to Lazarus as Application.MainFormHandle? It is use for a plugin system: APlugin.Initialize(Application.Handle); Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
Thanks! In fact I didn't find the sources earlier from RemObjects page. Now I found them and updated the wiki page accordingly. http://wiki.lazarus.freepascal.org/Pascal_Script PascalScript installed nicely now. The cross-platform porting has received lots of work. It has assembly code written

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
michael.vancann...@wisa.be kirjoitti keskiviikko, 30. maaliskuuta 2011 14:04:20: It is needed to call native functions from within the scripting language. Ok, it can do more than I first thought. I must learn more of this. Juha -- ___ Lazarus

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 13:59:26: It has assembly code written for x86, x64 and ARM. That means it is still not completely cross-platform. FPC supports more processors than those 3. Actually it supports also PowerPC. That makes 4 processors. Still better. Juha

[Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Hi I changed the shortcut for Toggle Comment into Ctrl+T. I also added some more shortcuts. Shortcut for ecToggleComment was defined as: Ctrl+VK_OEM_2. It was displayed in menu caption as garbage. And: VK_OEM_2 = $BF; // Used for miscellaneous characters; it can vary by keyboard. // For the

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 15:46:36: I changed the shortcut for Toggle Comment into Ctrl+T. Sorry, I meant Ctrl+Shift+T. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Vincent Snijders kirjoitti keskiviikko, 30. maaliskuuta 2011 16:16:31: Is ctrl + / still the default alternative shortcut? Yes. The benefit having it as an alternative (number 2 choice) is that the first shortcut is shown in menu caption properly. VK_OEM_2 was showing as garbage. Juha --

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Martin kirjoitti keskiviikko, 30. maaliskuuta 2011 17:46:22: Sorry, I meant Ctrl+Shift+T. Isn't that used by insert todo ? Damn right! The shortcut space is getting crowded. I am about to change it to Ctrl+Shift+W which is not used in the default mapping. Juha --

Re: [Lazarus] PascalScript

2011-03-29 Thread Juha (gmail)
Juha (gmail) kirjoitti lauantai, 26. maaliskuuta 2011 14:20:17: How to get PascalScript for Lazarus on Linux? I have read this: http://wiki.lazarus.freepascal.org/Pascal_Script but didn't manage to get it. Didn't find it in CCR. REMObjects offers a Windows .exe or .NET version. Does

Re: [Lazarus] PascalScript

2011-03-29 Thread Juha (gmail)
Eugen Bolz kirjoitti tiistai, 29. maaliskuuta 2011 18:48:20: you could try ScriptEngineII, it is far more powerful than PascalScript. ;) http://sourceforge.net/projects/scriptengine2/ http://www.delphipraxis.net/140590-scriptengine-ii-v-0-6-a.html (german delphi-forum) I tried to compile

[Lazarus] PascalScript

2011-03-26 Thread Juha (gmail)
Hi How to get PascalScript for Lazarus on Linux? I have read this: http://wiki.lazarus.freepascal.org/Pascal_Script but didn't manage to get it. Didn't find it in CCR. REMObjects offers a Windows .exe or .NET version. Juha -- ___ Lazarus mailing

Re: [Lazarus] Nice error in IDE - missing form resource

2011-03-26 Thread Juha (gmail)
Michael Van Canneyt kirjoitti lauantai, 26. maaliskuuta 2011 21:43:19: When I click 'check consistency' in the Key mappings page of the options dialog, I get a nice error that the form's resources cannot be found. r30021, I fixed it like this: constructor TKeyMapErrorsForm.Create(AnOwner:

Re: [Lazarus] Lazarus 0.9.30

2011-03-24 Thread Juha (gmail)
ik kirjoitti torstai, 24. maaliskuuta 2011 10:23:44: I see on soureforge that we have 0.9.30 ready, and my linux distro (ArchLinux) also have in testing 0.9.30, so what else is required for it to be officially released ? I guess only the announcement. Things must be ready when the announcement

[Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Hi This is not really Lazarus related but I found a Linux distro that works well without any tweaking and runs fast. I think it is OK to advertise an open source project when you see a good one. It is called Sabayon Linux. It has a good installer, too. It is based on Gentoo Linux which is

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Torsten Bonde Christiansen kirjoitti keskiviikko, 23. maaliskuuta 2011 Sorry for the confusion - WM = Window Manager, hence the reference to Gnome, KDE, etc. Your WM is KDE then... ;) Yes, sorry. I like KDE because of its better design which will be visible also for users more and more.

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Geoffray Levasseur kirjoitti keskiviikko, 23. maaliskuuta 2011 20:54:09: With Sabayon KDE is very up-to-date (actually 4.6.1 which is the last stable). Still, Sabayon is not as on-the-edge as Gentoo. The packages are tested in Gentoo repos for some time before they and up to Sabayon repos.

Re: [Lazarus] Sabayon Linux

2011-03-23 Thread Juha (gmail)
Geoffray Levasseur kirjoitti keskiviikko, 23. maaliskuuta 2011 15:52:55: The only problem with Sabayon is the limited number of packages (but all the usual things are here anyway). For some more rare packages it's easy to compile as dev files are always included with all the libraries (due to