Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-20 Thread Juha Manninen
My main machine is rather old, too, maybe 7 years:: AMD Phenom(tm) 8650 Triple-Core Processor It reads the options in < 50 ms. Rendering the GUI takes 100 ms. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

[Lazarus] Timing of all compiler options on slow machines

2013-08-20 Thread Juha Manninen
Attention waldo kitty and others with slow machines. I added code for timing the reading of all compiler options and the rendering the GUI for them. It shows a MessageBox after reading and rendering. It is enabled when Lazarus is built with define TimeAllCompilerOptions. Go to Tools -> Configure "

Re: [Lazarus] Delphi for Android

2013-08-15 Thread Juha Manninen
On Thu, Aug 15, 2013 at 12:34 PM, Sven Barth wrote: > Another article a few days back said that it's FireMonkey like on iOS. I don't even know how FireMonkey does it in those systems. I guess it takes care of both the control drawing and the layout. Somehow it must interact with the Android deskt

Re: [Lazarus] Delphi for Android

2013-08-15 Thread Juha Manninen
On Thu, Aug 15, 2013 at 12:09 PM, Sven Barth wrote: > Since Delphi now indeed seems to get an Android port I thought that I'd > mention this blog entry by Marco Cantu here as well: > http://blog.marcocantu.com/blog/compiling_android_apps_delphi.html?utm_source=feedburner&utm_medium=feed&utm_campai

Re: [Lazarus] Position of Tab with "My Components" in IDE

2013-08-15 Thread Juha Manninen
On Thu, Aug 15, 2013 at 11:41 AM, Bart wrote: > Is there a way to tell the IDE where the "My Components" Tab should go > in the IDE? Not yet. There is an old feature request for organizing components and tabs by the user. Nobody has implemented it yet. http://bugs.freepascal.org/view.php?id=877

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 11:18 PM, waldo kitty wrote: > as noted upstream in this thread... > > w2k-SP4 with all available updates > AMD Athlon XP 2800+ > 768M RAM > > and the HD is a WDC WD300BB (at this time)... Yes sorry. Strange, AMD Athlon XP 2800+ should not be so terribly slow. Something slo

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 11:00 PM, Mattias Gaertner wrote: > Running "fpc -i" and "fpc -h" takes on recent machines less than 30ms. > Something eats a lot of time. Probably the creation of hundreds of > controls. Actually yes, creating the controls still takes longer than "fpc -i" + "fpc -h". Its w

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 10:10 PM, waldo kitty wrote: > can we get a "please stand by while loading options list" window that pops > up to let us know that something is, indeed, happening? How long it takes to load the options with your computer? What kind of CPU (type and speed) does it have? Hard

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 1:46 PM, Mark Morgan Lloyd wrote: > Noting that you mentioned JSON elsewhere in the thread, I'd have hoped that > something like a -hh option which formalised the various levels of output > text (and also used untranslated English) wouldn't have been too difficult, > the cur

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 1:24 PM, Mattias Gaertner wrote: > At least the outdated state is consistent. Both the IDE and fpc -h will show > the > same bug. > And as far as I know the help is updated before any fpc release, so it should > be > accurate for the fpc releases. Yes, I believe the relea

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 1:05 PM, Mark Morgan Lloyd wrote: > Would there be any mileage in having the compiler output this sort of thing > in XML or some similar formal markup? Yes, that would be ideal. We discussed it with Lazarus devels. In July 26 Mattias asked it in FPC devel list. Subject is "

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 1:00 PM, Sven Barth wrote: > Considering that the current help output of FPC is subject to human error => > no. What does that mean? Any human activity is subject to human error. Juha -- ___ Lazarus mailing list Lazarus@lists.la

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
One more thing: FPC could give much better and consistent info about the options than what the current "fpc -i" and "fpc -h" do. For example the help refers to "fpc -i" for possible values for selection lists but does not mention which list to look for. I had to make a hard-coded mapping which agai

Re: [Lazarus] Congrats on the new project options screen

2013-08-07 Thread Juha Manninen
On Wed, Aug 7, 2013 at 11:28 AM, Mark Morgan Lloyd wrote: > I think there are some options which could be usefully filtered out, at the > very least -?. Oops, the filtering out code was broken. Now it works again in r42367. > I imagine it's going to be "fun" reconciling any options modified on

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 4:51 PM, Mattias Gaertner wrote: > The -o option should not be listed there. It interferes with the IDE. > Same for -v* and -T. > The -i options are useless here. > >> -l options or any other option taking a path or filename. > > Funny, that you mention the -l option as exam

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 4:30 PM, Ludo Brands wrote: > Comments: > - there is a horizontal scroll bar but several strings are simply cut off Resizing the options window should help. (?) > - can't specify multiple -Oo optimizations. > - -Oo options disappear when clicking on "All Options ..." again

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 3:07 PM, Ludo Brands wrote: > Just installed it. Here is how it looks on Kubuntu 12.04 default > settings: > https://dl.dropboxusercontent.com/u/61365485/compiler%20options.png :( I improved the layout. I am still thinking what to do with some options there. Probably I will

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 2:51 PM, Paul Ishenin wrote: > I prefere a property grid instead of creation of 100+ controls. Hi I may change the GUI for a grid later. Now I try to get the parser to work etc. Many of the problems are not related to GUI controls directly. Juha -- __

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 3:28 PM, Mattias Gaertner wrote: >> How about the new GUI for all available compiler options? Comments anybody? > > When I type in the search edit the focus switches. I have to type one > character, then click with the mouse in the edit, type the next > character and so fort

Re: [Lazarus] Congrats on the new project options screen

2013-08-04 Thread Juha Manninen
On Sun, Aug 4, 2013 at 11:38 AM, Reinier Olislagers wrote: > I was looking at setting debug options etc and am happy to see the > checks section included in the debug screen, and a very nice way to deal > with build modes. How about the new GUI for all available compiler options? Comments anybody

Re: [Lazarus] Accents in IDE and my apps

2013-07-15 Thread Juha Manninen
On Mon, Jul 15, 2013 at 6:29 PM, Éderson Cássio wrote: > I don't know how I can create a patch... everything I know is that I must > download the sources from SVN, but I'm raw about these kind of task > (ashamed...) http://wiki.lazarus.freepascal.org/Creating_A_Patch Easy and fun. Regards, Juha

Re: [Lazarus] Package main source on project lpr

2013-07-02 Thread Juha Manninen
On Tue, Jul 2, 2013 at 5:14 PM, Fabio Luis Girardi wrote: > Why Lazarus includes on the project LPR the main source of each > package used instead of only add the package path to the project unit > path and the unit of the used component to the uses clause of > respective form/datamodule? > > E.g:

Re: [Lazarus] try finally exit

2013-06-28 Thread Juha Manninen
On Fri, Jun 28, 2013 at 4:59 PM, Junior wrote: > Adding "Exit", the finally is executed? Yes -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Juha Manninen
Amazing. I did not realize there are such issues. I don't know how important it is to map commits with Mantis reports. It would be nice for tracking reasons for a certain commit and for statistics later. Should we instead use a separate tool for it? No because nobody would use it. I would prefer th

[Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Juha Manninen
Looking at issue #24662, Cyrax has studied lot's of code for the patch. Cool! I was not happy with the data structure, I believe it is better now. I removed the generics type TTreeNodeList and replaced it with TList. It's only purpose was to prevent type-casts but they are now needed anyways. ***

Re: [Lazarus] INVALID_* consts

2013-06-27 Thread Juha Manninen
On Thu, Jun 27, 2013 at 3:15 AM, waldo kitty wrote: > converted from delphi to lazarus... as such, things like > uses windows; > are replaced with > uses LCLIntf, LCLType, LMessages; It is only replaced when "Cross-platform" is checked, although I believe the right way is to keep it checked a

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Juha Manninen
On Sun, Jun 23, 2013 at 4:56 PM, Juha Manninen wrote: > The process was already made as easy as possible by NOT requiring a > local SMS installation. Sorry, I meant SMF, the Simple machines forum SW. Juha -- ___ Lazarus mailing list L

Re: [Lazarus] how compile Lazarus (GTK3)?

2013-06-23 Thread Juha Manninen
2013/6/23 Junior : > using "make clean all" does not work (GTK3) > how to compile by Terminal using GTK3? Whatever you do, please do NOT open a bug report about GTK3 not working. It is an early alpha as Zeljko mentioned. Juha -- ___ Lazarus mailing lis

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Juha Manninen
On Sun, Jun 23, 2013 at 3:03 PM, Junior wrote: > http://wiki.freepascal.org/WebPageDevelopment The wiki page only says "web page of Lazarus project". Lazarus itself is programmed with Pascal. It does not help when you want to modify a PHP program. The HTML, CSS and PHP files together form a web a

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Juha Manninen
On Sun, Jun 23, 2013 at 1:33 PM, Junior wrote: > could provide (at another address) the project, instead of having to install > php. What do you mean? What project? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Juha Manninen
I added a wiki page. Please improve it if needed. http://wiki.freepascal.org/WebPageDevelopment Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Juha Manninen
The good news is that now anybody can improve the pages by sending patches. It was possible only for Pascal sources earlier, now it is possible for web page sources as well. The Subversion repository is here : http://svn.freepascal.org/svn/lazaruswebsite/ Testing it locally requires normal web se

[Lazarus] Issue #15866: TIpHtmlPanel scrollbar not functional on Win64

2013-06-18 Thread Juha Manninen
http://bugs.freepascal.org/view.php?id=15866 Gerd Sager and Zeljan: It is good to have some kind of fix for the issue, but IMO the problem is elsewhere. In my understanding the LM_xxx messages should map to WM_xxx messages on Windows. The idea is to simulate the Windows message system in a cross-p

Re: [Lazarus] Does Lazarus give default names to components created at runtime?

2013-06-18 Thread Juha Manninen
On Tue, Jun 18, 2013 at 2:29 PM, vfclists . wrote: > > Does Lazarus give default names to components created at runtime? No. Default name is given only when a component is created at design time using the designer. Juha -- ___ Lazarus mailing list Laz

[Lazarus] Test issue #22215 about PageControl on Windows

2013-06-18 Thread Juha Manninen
I could not reproduce but I committed the patch for easy testing. Please test everybody with Windows. http://bugs.freepascal.org/view.php?id=22215 Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.or

[Lazarus] Package cannot be installed

2013-06-07 Thread Juha Manninen
A question: why can't I install the attached package? It has only one component and it compiles OK. I don't see any difference with other packages which are OK. This package is not even converted. It is created with "New Package..." and one unit file was added. I even commented out a .dcr resource

Re: [Lazarus] porting delphi project code

2013-06-03 Thread Juha Manninen
On Sun, Jun 2, 2013 at 3:04 PM, Mattias Gaertner wrote: > Maybe optionally add a -dDelphi7? Good idea. Well, how to add it in code? The data structure is now quite complex with MatrixOptions and everything. Juha -- ___ Lazarus mailing list Lazarus@lis

Re: [Lazarus] porting delphi project code

2013-06-02 Thread Juha Manninen
On 6/2/13, waldo kitty wrote: > i wonder, now that i know that jedi is just a RTL/VCL enhancement library > for > delphi, how much of it is really needed when using FPC and Lazarus? None of it is really needed. I believe you can get rid of it quite easily. Most Jedi enhanced components can be rep

Re: [Lazarus] porting delphi project code

2013-06-02 Thread Juha Manninen
On 6/2/13, waldo kitty wrote: > i'll take a look at this... i've always compiled lazarus in debug mode... i > guess i'll have to also add FPC-trunk to my setup... Compiling FPC trunk is different from any Lazarus compilation modes. You must build and install FPC trunk separately. It is a little m

Re: [Lazarus] [Announcement] Patchwrangler

2013-06-02 Thread Juha Manninen
On 6/2/13, Reinier Olislagers wrote: > To do: > - convert dos<>*nix line endings I think the patch command already does some conversion there, at least on Linux. I never had line ending related problems when applying patches with "patch", but I did have problems when adding whole new files. > -

Re: [Lazarus] porting delphi project code

2013-06-02 Thread Juha Manninen
On 6/2/13, Mattias Gaertner wrote: > What syntax gives the error? Codetools is not to blame here. The error comes because the authors wanted compilation to break if a supported Delphi version is not used. In this case it happens with Jedi libs but I have seen the same idea used in other libs, too

Re: [Lazarus] porting delphi project code

2013-06-02 Thread Juha Manninen
I think I got rid of the memory leaks in r41487. The project under conversion is Taurus FTN mailer, found in SourceForge. No secret there, it is a public repository. There is another unit having the same name with an LCL unit, namely FileUtil. It must be deleted, too, or the compilation breaks. Th

Re: [Lazarus] porting delphi project code

2013-06-01 Thread Juha Manninen
On 6/2/13, waldo kitty wrote: > too smart! found -Jedi directory and tried to use it... then the messages > window Yes, the converter is smart. It finds files automatically from the project's sibling directories (= its parent's children). Libraries are often places there, like this Jedi now. File

Re: [Lazarus] porting delphi project code

2013-06-01 Thread Juha Manninen
On Sat, Jun 1, 2013 at 2:47 AM, waldo kitty wrote: > either i've found another bug or there is another file in the directory i > need to remove/rename :? There are bugs yes. I fixed a regression for include filenames handling. Now it does not throw an exception on LngTools unit. It still throws a

Re: [Lazarus] New competition for Lazarus

2013-06-01 Thread Juha Manninen
On 6/1/13, Miquel Bruns wrote: > Please, be informed before acuse PilotLogic. We would love to be informed, yes. Can you Miquel please explain the policy of CodeTyphon? Why they _always_ fork the other projects and never contribute back to the original project? Often it does not make sense even f

Re: [Lazarus] Add fix to 1.0.10

2013-05-27 Thread Juha Manninen
You can add it to the wiki page yourself: http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] porting delphi project code

2013-05-26 Thread Juha Manninen
On 5/26/13, waldo kitty wrote: > LCL dependency was properly added to the converted project however there was > a bug discovered... Actually the LCL dependency was not yet added at that point. It was a strange error what the first unit in the project referenced a copied VCL unit. The package dep

Re: [Lazarus] Converting multiple files from Delphi to Lazarus.

2013-05-24 Thread Juha Manninen
On 5/24/13, Daniel Gaspary wrote: > There room for improvement. The confirmation dialog after each file is > converted is really annoying when the number of files is big. This is true. I have mostly tested project conversion and then I typically open one project at time. The GUI logic must be cha

Re: [Lazarus] Converting multiple files from Delphi to Lazarus.

2013-05-24 Thread Juha Manninen
On 5/24/13, Daniel Gaspary wrote: > I need to convert a lot of .DFM files to .lfm . Just the form > files, not the entire project. There is only the conversion from binary .dfm to text .lfm for pure form files. Is that what you need? If you convert a pascal unit then the form file is also conver

Re: [Lazarus] About Arabic translating in Lazarus

2013-05-24 Thread Juha Manninen
On 5/24/13, Zaher Dirkey wrote: > Where i can find the discusses of that request to remove that translating? You cannot find it easily because it happened in Lazarus-dev mailing list which is not open for everybody. It is best you contact Mazen Neifer directly. None of Lazarus developers know Ara

Re: [Lazarus] porting delphi project code

2013-05-22 Thread Juha Manninen
Maybe your project revealed a bug in converter. Maybe LCL dependency is not added because of some other error. Can you share the project? I could have a look at it. You can also make sure that converter works for other apps. For example download "CannonBalls" from delphiforfun.com site. It convert

Re: [Lazarus] porting delphi project code

2013-05-21 Thread Juha Manninen
Does Lazarus trunk compile with FPC 2.6.0? Anyway it is not a problem. Try a test GUI app with one button. Do you get the errors then? The converter does not create errors about missing standard units. Something else causes it. Juha -- ___ Lazarus maili

Re: [Lazarus] porting delphi project code

2013-05-21 Thread Juha Manninen
I updated the wiki page, although it was not causing your problems. Your FPC/Lazarus configuration is somehow screwed. Test it first before converting anything. Juha On 5/21/13, waldo kitty wrote: > On 5/16/2013 02:11, Reinier Olislagers wrote: >> On 15-5-2013 20:19, waldo kitty wrote: >>> >>>

Re: [Lazarus] porting delphi project code

2013-05-21 Thread Juha Manninen
On 5/21/13, waldo kitty wrote: > thank you, howard... i've just tried this and it seemed to work but i > aborted it when it could not find suitable replacements for > >StdCtrls >ComCtrls >Buttons >ExtCtrls Those units exist in LCL. They don't need replacements. Juha -- _

Re: [Lazarus] TextHeight in Console App

2013-05-16 Thread Juha Manninen
On 5/16/13, Vincent Snijders wrote: >> mrOk is only used by GUI dialogs. By definition it is useful only with >> GUI. > > Where is the GUI dialog in for example TFileDescPascalUnit.CheckOwner? Ok, I didn't notice that one. Either it should use some other type or then mrOk should be defined elsewh

Re: [Lazarus] TextHeight in Console App

2013-05-16 Thread Juha Manninen
On 5/16/13, Michael Van Canneyt wrote: >> In what unit was mrOk defined? That was the identifier needed... > > I think that is controls ? > If this is the whole reason for noGUI, then an easier solution would have > been to define > all modalresults in a separate unit and make an alias in controls

Re: [Lazarus] Lazarus mem leak reports welcome?

2013-05-13 Thread Juha Manninen
Ok Someone must provide one more patch. I am not the best person to conduct this issue because I mainly use Linux and I don't currently have FPC trunk on my Windows. Anyway, I think we are close to finishing line now with this issue, and the current code does not break anything. Juha -- _

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-13 Thread Juha Manninen
On Mon, May 13, 2013 at 5:58 PM, Jesus Reyes wrote: > Here, kubuntu 13.04 64bit, Lazarus show icons only when "Show icons in GTK > buttons" is checked in "gtk applications style" (my translation from > spanish), it ignores "Show icons in GTK menus" setting :D Ok. This was not the problem though

Re: [Lazarus] Lazarus mem leak reports welcome?

2013-05-13 Thread Juha Manninen
On Mon, May 13, 2013 at 1:19 PM, Reinier Olislagers wrote: > Sorry Juha, I meant setting that option it as default. Done. See my latest note in the issue report. Please test again with FPC trunk. Some comments in source files are still needed. Also, if you know how to make it work better with de

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-13 Thread Juha Manninen
Based on Tim's and Luca's posts KDE is not related to the problem. However 64-bit OS is related. Can others confirm it? Anyone else saw these lines in stderr : (lazarus:10785): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32 They show in the same console yo

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-13 Thread Juha Manninen
On 5/13/13, Mattias Gaertner wrote: > I can not get menu icons under Ubuntu, even if I want, which I don't. Menu icons are good. Why would somebody not want them? Anyway, it seems other GTK apps like Gimp respect a setting : "Show icons in GTK menus" in KDE control center. Lazarus does not. So

Re: [Lazarus] Lazarus mem leak reports welcome?

2013-05-13 Thread Juha Manninen
On 5/13/13, Reinier Olislagers wrote: > Don't know if it is useful to post this; I enabled the enhanced heaptrc > output window in Lazarus trunk x64 Windows - see > http://bugs.freepascal.org/view.php?id=19837 > (Hint: could somebody look at applying that patch? Works fine for me) Which patch? I

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-13 Thread Juha Manninen
>From Patrick Chevalley : > If using the default Gtk theme oxygen-gtk there is no icon. > By setting another theme (Clearlooks, qtcurve) all the menu have an icon. I can confirm that. All the problem are gone after switching to "Raleigh" Gtk2 theme (I don't have other choices there. Clearlooks etc

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-10 Thread Juha Manninen
I have KDE here. I found a setting for GTK applications in KDE control center but unfortunately it made no difference. I am also getting hundreds of messages like this: (lazarus:9608): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32 I guess it is related to th

[Lazarus] Regressions in GTK2 interface ?

2013-05-09 Thread Juha Manninen
I am having 2 visual problems in my Lazarus IDE built with GTK2 on Linux Mint 64-bit. 1. Menus don't show icons. Main menu and popup menus have the same problems. 2. The hint on an editor tab showing the whole file name is cut in half. The end part of the text is covered with black. There was a b

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Juha Manninen
On 5/8/13, silvioprog wrote: >> Also update your svn. >> I was told that a potential issue was just fixed. > > Can you update GIT too? Do you use the Graeme's mirror in GitHub? It is updated automatically. Juha -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Juha Manninen
On 5/7/13, silvioprog wrote: > How I do it, in this way?: In options it would need "-d" in front. Use the Defines window instead. "Edit Defines" -> add CTDEBUG there and later click the checkbox. The list of defines is saved and you can toggle them on/off. BTW, the current "Debug" and "Verbose" d

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
On 4/30/13, t.wieckow...@gmail.com wrote: > arrowSize1 := min(w,h) - 2; etc. > > I did this because must keep proportion/space for width and heigh. You > should instreas both trackbar's for large size Ah, right. It was intentional. Juha -- ___ Lazarus

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
Also the windows implementation has a strange detail, seen in the demo application: The arrow size grows from 0 to 50% of the TrackBar's scale but then stops growing. Why? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://list

[Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
Regarding issue: 21117: Can not change background Color of TArrow http://bugs.freepascal.org/view.php?id=21117 I tested the patch from Tomasz Wieckowski and it works. The improvement affected only Windows and I wanted to turn it into a cross-platform solution. It seemed easy because the used gra

Re: [Lazarus] Bug At revision 40931 during compilation

2013-04-29 Thread Juha Manninen
On Mon, Apr 29, 2013 at 10:31 PM, Mattias Gaertner wrote: > I see. > I will update the Makefiles. Ok, "make clean bigide" indeed fails. I forgot it does not use the package dependencies directly. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.

Re: [Lazarus] Bug At revision 40931 during compilation

2013-04-29 Thread Juha Manninen
On Mon, Apr 29, 2013 at 9:32 PM, Mattias Gaertner wrote: > CodeCache is not even indirectly used by registersqldb. Well, now it is. In r40926 and r40927 I applied a patch : http://bugs.freepascal.org/view.php?id=23045 The first r40926 added Codetools dependency to SqlDb package. The second r40

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-29 Thread Juha Manninen
On 4/29/13, Jürgen Hestermann wrote: > So (int the context of the bug report) the programmer has no chance to do it > right and all his knowledge about OS filter masks is of no use because an > intermedate routine silently changes his mask? This is more than strange. > What is the reason for doing

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Juha Manninen
On 4/22/13, Bart wrote: > On Windows using '*' as filemask will find (FindFirst/FindNext) all > files, with or without extension. So does *.* on Windows. That is why the TFileSearcher behavior was changed. > The problem with TFileSearcher is in the MatchesMask function. > This interprets '*.*'

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Juha Manninen
On 4/22/13, Marco van de Voort wrote: > Afaik both * and *.* work on Windows and Dos-with-lfn. Do you mean the value is correct and only documentation is wrong? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Juha Manninen
Before I report it, can somebody please check if it is already fixed in FPC trunk. I use FPC 2.6.2 myself. Juha On 4/22/13, Juha Manninen wrote: > On 4/22/13, Mattias Gaertner wrote: >> See here: >> http://lazarus-ccr.sourceforge.net/docs/rtl/system/allfilesmask.html > &

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Juha Manninen
On 4/22/13, Mattias Gaertner wrote: > See here: > http://lazarus-ccr.sourceforge.net/docs/rtl/system/allfilesmask.html It says: ... On windows and dos based systems, this will be '*.*', while for unix systems, this will be '*'. There is a bug indeed! Earlier today I booted Windows to check its v

[Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Juha Manninen
In rev. #40849 I replaced GetAllFilesMask with AllFilesMask everywhere. GetAllFilesMask is defined in LCL, AllFilesMask is defined in FPC's libs. It was meant to be a cleanup and removal of duplicate code. It seems that it was wrong. AllFilesMask is '*' on Windows, too. GetAllFilesMask returned *.*

Re: [Lazarus] New bug with Configure Lazarus IDE?

2013-04-21 Thread Juha Manninen
On 4/22/13, Anthony Walter wrote: > Supposing I don't have fpc/lazarus sources or don't > want to get them just yet, what is an easy way to browse recent commits to > svn? Such that you can see who updated what and when, maybe with commit > comments as well as the diffs? You can use the SVN web i

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes wrote: > Unfortunately the gitk doesn't work at all with screen reader, even > display hooks are not working so I "see" absolutely nothing. > How can I retrieve this information through the console? "git log" with its many parameters. I must say you have a challenging si

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes wrote: > Yes I did. And git complained that branch upstream already exists. > Then I did > git checkout -b win32Accessibility upstream Try this: $ git checkout upstream $ git pull $ gitk --all & What is the last revision you see at upstream head? Juha -- ___

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
On 4/19/13, Lubos Pintes wrote: > Och sorry. My branch is broken. Did you do this step for sure : $ git checkout -b upstream origin/upstream Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mai

Re: [Lazarus] Empty function?

2013-04-19 Thread Juha Manninen
I only found: function TControl.GetAnchorSide(Kind: TAnchorKind): TAnchorSide; and it is not empty. What Lazarus version? Juha On 4/19/13, Lubos Pintes wrote: > Hi, > This function seems to be empty (hint issued) > function TControl.GetAnchorSide(AIndex: Integer): TAnchorSide; > > > -- > _

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Juha Manninen
> On 19/04/13 11:32, Juha Manninen wrote: >> On 4/19/13, patspiper wrote: >>> Rebuilding stops and a message pops up: >> Lazarus builds OK here. >> >> 40848 improved TFileSearcher. >> 40849 replaced GetAllFilesMask with AllFilesMask. It affected many >&g

Re: [Lazarus] Lazarus rev 40848/40849 breaks IDE rebuilding

2013-04-19 Thread Juha Manninen
On 4/19/13, patspiper wrote: > Rebuilding stops and a message pops up: Lazarus builds OK here. 40848 improved TFileSearcher. 40849 replaced GetAllFilesMask with AllFilesMask. It affected many files but is a trivial change otherwise. Try with "Clean all" in Configure Build Lazarus dlg. Juha --

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-18 Thread Juha Manninen
In fact I get a similar effect with ping : $ ping forum.lazarus.freepascal.org PING forum.lazarus.freepascal.org (80.123.225.56) 56(84) bytes of data. [... and then nothing ...] The page is redirected and "ping" does not follow that redirection. (or something ?) It is indeed a DNS cache issue, e

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-18 Thread Juha Manninen
On 4/18/13, GREP wrote: > Is the address http://forum.lazarus.freepascal.org/ correct? > Strange, It worked fine, but now I can't access it with IE nor with Firefox It is correct. It is not a browser problem for sure. It must be your service provider or firewall or whatever blocking it. Marc did

Re: [Lazarus] New BuildMode GUI + NewBuildModeWindow define

2013-04-18 Thread Juha Manninen
On 4/18/13, Mattias Gaertner wrote: > Yes, this way the frames can show errors after changing a value. > The user does not have to click ok and only sees a summary without > context. Ok... I wonder how assigning from backup worked. I had to create more Assign methods to get my version running. Le

Re: [Lazarus] Is the site http://forum.lazarus.freepascal.org dead?

2013-04-18 Thread Juha Manninen
Works here. Juha On 4/18/13, GREP wrote: > Hello > > in the last 3 days I have not been able to access the subject forum, nor the > > lazarus.freepascal.org site. Is it a temporary problem, or is the site dead > for good? > Thanks > Enrico > > > > -- > View this message in context: > http://fre

[Lazarus] New BuildMode GUI + NewBuildModeWindow define

2013-04-18 Thread Juha Manninen
Hi I finally got the new GUI in project options for build modes working. To test it, build Lazarus with define "NewBuildModeWindow". There is no added functionality yet, only the GUI is more intuitive. The new modal dialog for managing build modes is visually "above" the actual settings, thus indi

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-17 Thread Juha Manninen
On 4/18/13, Flávio Etrusco wrote: > IIRC Lazarus's own deb packages didn't follow Debian guidelines and > that was the excuse for Lazarus being so outdated on Debian? (sorry, I > may be completely wrong, and I can't find the discussion right now) > If that's not it, what's the official explanation

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-17 Thread Juha Manninen
On 4/16/13, Flávio Etrusco wrote: > We should? I must? ;-) Sorry I didn't express myself right. > But I think it's very important to make Lazarus easier to try/install. > I tried to dip my foot on debs a few times, but going over all > building details and distro/platform packaging rules is indeed

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-16 Thread Juha Manninen
On 4/16/13, Graeme Geldenhuys wrote: > Closer to home... the FPC and Lazarus versions in Ubuntu, Debian etc > repositories are always out of date - often 1-2 release behind. Now with > Lazarus's shorter release cycle, that issue is even worse. Yes, this is a real problem. Sometimes you must downl

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-16 Thread Juha Manninen
On 4/16/13, Graeme Geldenhuys wrote: > 'pkgtool' or 'removepkg' Sorry, it was a stupid question. I think I wanted to ask about the dependencies. IIRC it has no package system that takes care of dependencies automatically. A long time ago when learning Linux systems (maybe also Slackware, not sure

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-16 Thread Juha Manninen
On 4/16/13, Graeme Geldenhuys wrote: > Slackware is the next best thing after FreeBSD. Other Linux distros > don't come close. Long live Slackware! :) How do you uninstall programs from Slackware? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus

Re: [Lazarus] [FR] LCLWidgetType not easy

2013-04-09 Thread Juha Manninen
On 4/9/13, Michael Schnell wrote: > So I already can happily use it ? (I did not dare to try it, yet.) Yes. The feature is made by Mattias and has worked well already for some time. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] [FR] LCLWidgetType not easy

2013-04-09 Thread Juha Manninen
On 4/9/13, Michael Schnell wrote: > The CVS Version supports definable project-specific or global "build > mode" setting, that seem to do what you want. (Right now this feature is > marked as "under construction". Yes, this "under construction" is by me. I faced some technical problems and it tak

Re: [Lazarus] ShellTreeView/ShellListView and Root

2013-04-08 Thread Juha Manninen
On Mon, Apr 8, 2013 at 7:33 PM, Bart wrote: >> The empty line marks the region for which the comment is valid, > ?? I don't un derstand what you mean by that last line. Anyhow it has > been there before I started playing with it. Felipe means that you removed an empty line but you shouldn't becau

Re: [Lazarus] Cygwin on git and file modes

2013-04-07 Thread Juha Manninen
On Sun, Apr 7, 2013 at 1:41 PM, Lubos Pintes wrote: > Patches attached. They can be applied on Linux without problems. You can go ahead attaching them to a bug report or whatever you plan to do. > "cannot rebase, you have uncommitted changes", and that change was something > like > objinspstrco

Re: [Lazarus] Cygwin on git and file modes

2013-04-07 Thread Juha Manninen
On Sun, Apr 7, 2013 at 12:14 PM, Lubos Pintes wrote: > So I set up Lazarus git repository and started to play with it. > I made some changes and viewed generated patch. Everything seemed ok except > lines like > mode changed from 100644 to 100755 > or similar. I never heard about Windows having fi

<    2   3   4   5   6   7   8   9   10   11   >