Re: [Lazarus] New menu designer

2015-12-23 Thread Juha Manninen
On Wed, Dec 23, 2015 at 9:26 AM, taazz wrote: > stop f...ing with my system Actually we are f...ing with Lazarus trunk, not with your system. If you want a stable Lazarus, you should use the fixes_1_6 branch instead. It is starting to look very good! Juha --

Re: [Lazarus] New menu designer

2015-12-23 Thread Juha Manninen
On Wed, Dec 23, 2015 at 3:43 PM, Ondrej Pokorny wrote: > Yes, this is correct. Please test r51008 (also you, Juha). PopupParent and PopupMode seem to work only with LCL-Win bindings. With GTK2 and QT it behaves like any modeless IDE window. But yes, this is the right solution. On Windows it behav

Re: [Lazarus] New menu designer

2015-12-22 Thread Juha Manninen
On Wed, Dec 23, 2015 at 12:42 AM, Anthony Walter wrote: > As such, in the case of editor menus, it makes total sense to keep the menu > editor on top of other IDE windows until the time when the user closes the > menu editor (clicks the X button in the menu editor title bar). Any non stay > on top

[Lazarus] New menu designer

2015-12-22 Thread Juha Manninen
Hello I committed a new Menu Designer by Howard Page-Clark in r50992. See: http://bugs.freepascal.org/view.php?id=29205 Please test. It has some interesting design decisions. I initially see some things that may need fixing: 1. The main menu top level items do not show any indication when sele

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
On Mon, Dec 21, 2015 at 8:51 PM, FreeMan wrote: > Ok I listen you and I unsubscript from mail list, I can not unregister from > bugtracker you can remove my account. No, don't unsubscribe from anywhere. I am only asking you to open bug reports only after confirming them from other users. Other r

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
It is a good practice to confirm a suspected bug from other people before opening a report. That's what many people on forum do. They explain their problem, then others may notice it is caused by a wrong config or similar, or the bug is already reported. Only sometimes it leads to a new report. Fre

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
FreeMan, please stop opening tens of bug reports for OS/X. Many of them turned out to be problems in your local system config, not bugs in Lazarus, and you asked yourself to close them. Do the other problems also happen only in your local system? Some of the reports are about QT on OS/X. Some are

Re: [Lazarus] Procedure List in Lazarus IDE

2015-12-19 Thread Juha Manninen
On Sat, Dec 19, 2015 at 6:02 PM, Mattias Gaertner wrote: > How can the user distinguish duplicates in the combobox? He can't. The class names are meant to work as filters. Duplicates make no sense. I will fix it using a temp StringList, I was just hoping somebody could explain what happened to th

Re: [Lazarus] Procedure List in Lazarus IDE

2015-12-18 Thread Juha Manninen
On Fri, Dec 18, 2015 at 9:58 PM, Juha Manninen wrote: > 3. There is a weird issue in adding data to Objects Combobox.Items. It > was updated in FormCreate. Same duplicate class names get added to > Items many times but the list shows only one unique instance. > Now the same thin

[Lazarus] Procedure List in Lazarus IDE

2015-12-18 Thread Juha Manninen
I turned ProcedureList into a proper IDE window in r50908. It is not ready yet. There are open issues, patches to solve them are welcome. 1. The window cannot be docked when AnchorDocking is installed. I have not studied yet how to do it. 2. I replaced the filter edit and its handler code with TL

Re: [Lazarus] Testing toolbar dropdown mouse down theme

2015-12-18 Thread Juha Manninen
Fixed properly by Ondrej in r50870. Will be merged to 1.6. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Testing toolbar dropdown mouse down theme

2015-12-17 Thread Juha Manninen
Regarding issue: http://bugs.freepascal.org/view.php?id=28286 Can somebody please confirm that the patch is valid. I will apply it after somebody with Windows knowledge gives green light. Thanks. This is an attempt to deal with patches in a reasonable time-frame. This one could potentially be i

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-14 Thread Juha Manninen
On Mon, Dec 14, 2015 at 7:43 PM, wrote: > we're talking about text editors on traditional old school BBSes and offline > readers... the old qedit is one that comes to mind for use with offline > readers though some real masochists used edlin ;) I thought BBS was made obsolete by e-mails, interne

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 11:18 PM, wrote: > i don't because i'm just barely dipping my toes into the UTF-8 pool... one > of my first tasks was to convert today's mess back to CP437 for posting in > pure text environments... it wasn't too hard but it was tedious with tables > for converting quoted-

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 7:17 PM, Marc Santhoff wrote: > I suggest making at least a tagged version in svn and maybe a > branch and executable that clearly states "last working version for > Win9x" or similar. The Lazarus SVN branch "fixes_1_6" will always support Win9x. The last release will be 1

Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 5:38 PM, Jürgen Hestermann < juergen.hesterm...@gmx.de> wrote: > The idea of using a TMemo is not bad but then it should have the width of > the > window so that my text is not broken into more lines than neseccary. > Mattias committed in r50570 : LCL: default QuestionDl

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 12:37 PM, Jürgen Hestermann wrote: > Then I would suggest to remove this type. FPC and Lazarus are 2 different projects. Please make such requests in FPC's lists if you must. Repeating the same whining again and again about Lazarus Unicode choice does not help anybody. Th

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 8:21 PM, Jürgen Hestermann wrote: > But if it not only can be changed but already *is* changed > then the wiki text needs a change too. I improved the text in wiki. > As said: The docu in the wikis is very confusing and contradicting, > fully understandable only for thos

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 8:38 PM, wrote: > especially those readers from the ancient past (TP/BP days) who are trying > to catch up to the modern future... LCL has supported UTF-8 for > 10 years. As a long time Lazarus user you should know it. For most cases things did not change very much. Earli

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 6:54 PM, Jürgen Hestermann wrote: > Am 2015-12-10 um 18:22 schrieb Juha Manninen: >> http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus >> "String" type is UTF-8 and it works now (almost) transparently without >> explicit conv

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 6:48 PM, Jürgen Hestermann wrote: > The problem is the "proper data type". It is UnicodeString (or maybe WideString) with Windows API 'W' functions. Everywhere else it is just String. > In the past I used UTF8String for all my strings > and converted to UTF-16 before fee

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 1:46 PM, Jürgen Hestermann wrote: > Otherwise we would not have this problem and could use UTF-8 as > a standard for everything. What is the problem exactly? Always call the Windows API 'W'-functions and use proper data types for them. The dynamic string encoding and conve

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 6:16 PM, wrote: > i mean, i'm really old school... i normally use just string or string[xx]... > sometimes ansistring... it is all so damned confusing now :( It is no more confusing than in Delphi where the default String has UTF-16 encoding. In Lazarus it is now UTF-8. B

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Juha Manninen
On Sat, Dec 12, 2015 at 5:47 PM, Bart wrote: > Move(S[1], Temp[1], Length(S)); > ... > Move(Temp[1], S[1], Length(Temp)); No good. Moving the data in memory *twice* kills performance completely. Current Utf8Delete calls Delete which also moves data but only once. > Anyhow, as stated before,

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 6:26 PM, Jürgen Hestermann wrote: > Are there any other string types with UTF8 encoding in Free Pascal? Yes. The type "String" has a default encoding of UTF-8 when you use the new Unicode support in Lazarus. See the wiki page for technical details. Juha -- __

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 4:20 PM, "Jürgen Hestermann" wrote: > I know the type "UTF8String" but what is an "UTF8 String" (which you say > differs)? "UTF8 String" is a String which has UTF-8 encoding. Our UTF-8 system changes the default codepage of String to UTF-8 and then (almost) everything magi

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 4:10 PM, Mattias Gaertner wrote: > The job of the wrapper is to convert to type String without > triggering the conversion of the content. Ok, lots of ugly Pointer typecasts. Doable, yes. Juha -- ___ Lazarus mailing list Lazaru

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 3:59 PM, Mattias Gaertner wrote: > The above literal requires {$codepage UTF8}. Damn right, I forgot to test that. It works. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 3:45 PM, Mattias Gaertner wrote: > With DisableUTF8RTL passing UTF8String to String changes encoding. Yes and a conversion between UTF-8 and a system codepage can be lossy. > So every function needs an overloaded wrapper function. > No need to copy the implementation. Th

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 2:29 PM, "Jürgen Hestermann" wrote: > What is the difference? The link does not tell me. Did you actually read the wiki-page? The new UTF-8 system is explained there. It is a hack but a clever one. The latest chapter by Mattias explains why UTFString should not be used now

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-11 Thread Juha Manninen
On Fri, Dec 11, 2015 at 2:12 PM, Mattias Gaertner wrote: > On Fri, 11 Dec 2015 08:05:12 +0100 > Sven Barth wrote: >> Also I doubt that you can do this for var parameters... > > FPC 3.0 eats it without a hint. It does not work though. Interesting. Using the new default UTF-8 system for LCL apps a

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-10 Thread Juha Manninen
On Thu, Dec 10, 2015 at 8:18 PM, Ondrej Pokorny wrote: > IMO, there should be overloaded versions for UTF8* functions that > explicitely accept UTF8String. > Or am I wrong? You are right. I did not even think so far yet. A typecast can be used as a workaround now. UTF8String and AnsiString have t

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-10 Thread Juha Manninen
On Thu, Dec 10, 2015 at 7:29 PM, Jürgen Hestermann wrote: > Then why does the compiler complain when I > feed UTF8Delete with an UTF8String? As it told you. It got UTF8String but expected AnsiString. I think it would work with a typecast but that is quite useless. Just use a String instead. In fa

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-10 Thread Juha Manninen
On Thu, Dec 10, 2015 at 6:49 PM, Jürgen Hestermann wrote: > How can I use UTF8Delete on an UTF8string? You can't. Please read this : http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus "String" type is UTF-8 and it works now (almost) transparently without explicit conversions. Juha --

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Juha Manninen
On Wed, Dec 9, 2015 at 6:41 PM, Mark Morgan Lloyd wrote: > In the interest of making the least amount of work for anybody, my > suggestion would be to proceed at the current rate towards 2.0.0, but to > make sure that this is still compatible with FPC 3.0.0. After that try to > slow down the Lazar

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Juha Manninen
On Wed, Dec 9, 2015 at 4:31 PM, Mark Morgan Lloyd wrote: > Quite frankly I feel that the Lazarus version numbering is progressing > faster than is reasonable, and that it would be highly desirable to have a > "Long Term Support" v2.0.x or even 3.0.x which could be presented to people > outside the

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Juha Manninen
On Wed, Dec 9, 2015 at 5:16 AM, Anthony Walter wrote: > I was looking through my mail trying to find the patch Ondrej created for > dotted namespace code completion in CodeTools but I can't find it. has that > been accepted into this release? No need to look for patches. Look for commit history i

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Juha Manninen
Michael Schnell, please don't hijack this RC1 thread for your General Service Application thing. Open a new thread for it. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Testing TMemo.ScrollBy

2015-11-29 Thread Juha Manninen
On Sun, Nov 29, 2015 at 9:41 PM, Ondrej Pokorny wrote: > You wrote that you tested Win. What is your configuration? Good question. I am testing on Linux with Wine. It works amazingly well. This was the first time I notice a difference in the API behavior. I have created symbolic links to the same

[Lazarus] Testing TMemo.ScrollBy

2015-11-29 Thread Juha Manninen
I implemented TCustomMemo.ScrollBy together with fixing issue: http://bugs.freepascal.org/view.php?id=29067 See my comment there. Now I need help to test the changes, especially the widgetsets I could not test myself. Windows experts, is my solution for Windows OK? Regards, Juha -- ___

Re: [Lazarus] Video: Docked Designer Test

2015-11-23 Thread Juha Manninen
On Mon, Nov 23, 2015 at 1:08 PM, Maciej Izak wrote: > I watched in suspense :P. Thanks for testing :) Maciej, creating a component's default action by double-clicking also works now, but deleting a component from designer still does not. Deleting from OI works. Can you reproduce it? Do you know w

Re: [Lazarus] Install FPC and Lazarus from source

2015-11-21 Thread Juha Manninen
On Sat, Nov 21, 2015 at 11:15 PM, Aradeonas wrote: > Last version of FPC. You mean 3.0RC2? > > Trunk. I don't have FPC trunk installed now. I don't need its new features right now and I don't want to waste time for its potential problems. Why should I? Juha -- __

Re: [Lazarus] Install FPC and Lazarus from source

2015-11-21 Thread Juha Manninen
On Sat, Nov 21, 2015 at 11:09 PM, Aradeonas wrote: > Thanks Juha,I will test it. > But asking out of curiosity, Why last version of FPC has error like I said? Last version of FPC. You mean 3.0RC2? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus

Re: [Lazarus] Install FPC and Lazarus from source

2015-11-21 Thread Juha Manninen
On Sat, Nov 21, 2015 at 5:55 PM, Aradeonas wrote: > It been days for me that I have problem with getting Trunk. > I used to use fpcup but now days it always give me errors. Do you update both FPC and Lazarus trunk? I have noticed many people do it with fpcup while they could use FPC 3.0RC2 + Laza

Re: [Lazarus] Sparta docked form editor moved to trunk

2015-11-19 Thread Juha Manninen
On Thu, Nov 19, 2015 at 4:08 PM, Juha Manninen wrote: > I try to get commit rights for you Maciej. Oops, that was already outdated information. According to Marc you now have commit rights to components/sparta in trunk. I will apply patches for LCL and IDE if needed. Regards, J

Re: [Lazarus] Sparta docked form editor moved to trunk

2015-11-19 Thread Juha Manninen
On Thu, Nov 19, 2015 at 10:35 AM, Maciej Izak wrote: > Not all was merged, wait for patches included in rev. 50111, 50113, 50246, > 50247, 50309, 50310, 50311 (especially 50113) from free-sparta branch. If it > will not help please create bug report. I have merged them in r50418-r50424. It did no

[Lazarus] Sparta docked form editor moved to trunk

2015-11-18 Thread Juha Manninen
Hello A package for a docked form editor can be found in : components/sparta/dockedformeditor/sparta_dockedformeditor.lpk It was first cleaned from component palette code and renamed in freesparta branch, then committed to trunk. Please test everybody! Things to remember: - If you have the ol

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-11 Thread Juha Manninen
On Wednesday, November 11, 2015, Bart wrote: > > Should these be merged to 1.4 fixes branch? > No, Lazarus 1.4 dot versions are released with FPC 2.6.4. The TRect changes will happen in FPC trunk only. Juha -- ___ Lazarus mailing list Lazarus@lists.laz

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-11-03 Thread Juha Manninen
On Tue, Nov 3, 2015 at 4:37 PM, zeljko wrote: > I'll try to implement it in lazarus during weekend. I promise to test it under various Linux desktop systems. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.fr

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-11-03 Thread Juha Manninen
Unfortunately I don't have much info about TrayIcons. Is it possible to add this Unity support to LCL? The idea sounds good but the discussion stopped early. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

Re: [Lazarus] Fireworks

2015-10-31 Thread Juha Manninen
On Fri, Oct 30, 2015 at 4:51 PM, Terry A. Haimann wrote: > Is there a component that anyone has ever written that would display > fireworks or something else celabratory that could be included in a > Lazarus App? Best if it is cross platform. There is OpenGLControl_Demo in examples/openglcontrol

Re: [Lazarus] WMEnterSizeMove Messages not firing

2015-10-27 Thread Juha Manninen
On Tue, Oct 27, 2015 at 7:27 PM, Ondrej Pokorny wrote: > It's a matter of discussion. The message handling is low-level. So there can > be differences between widgetsets. It's important to have as little > differences in the high-level (events, virtual methods etc.). But small > differences even i

Re: [Lazarus] Working on big units

2015-10-24 Thread Juha Manninen
On Sat, Oct 24, 2015 at 11:39 AM, Aradeonas wrote: > Its good to have videos of professorial FPC and Lazarus developers and > see how they work,it can be like learning channel. There are animations of the IDE here : http://wiki.freepascal.org/New_IDE_features_since and other commands : http://w

Re: [Lazarus] Working on big units

2015-10-22 Thread Juha Manninen
On Thu, Oct 22, 2015 at 1:36 PM, Aradeonas wrote: > Yes I do because it will be unformatted while writing. > About codetools really I dont know what it does and I never used it and > I read Wiki page and didnt understand how it help code formatting. Ok, Codetools is used for many things but I me

Re: [Lazarus] Working on big units

2015-10-22 Thread Juha Manninen
On Thu, Oct 22, 2015 at 8:52 AM, Aradeonas wrote: > Very good! But sadly for me if I use JCF when I have a folded code it will > messed up. > It seems there are tools that I cant use because of JCF. But code formatting > is a lot more important for me, I can write a line without! You use JCF for

Re: [Lazarus] StringReplace loses non-ASCII characters in FPC 3.1.1

2015-10-20 Thread Juha Manninen
On Tue, Oct 20, 2015 at 10:11 PM, Ondrej Pokorny wrote: > SetMultiByteConversionCodePage(CP_UTF8); > SetMultiByteRTLFileSystemCodePage(CP_UTF8); > helped. Those functions are already called for you in the initialization section of unit FPCAdds, package LazUtils. Now it is : {$IF (FPC_FULLVE

Re: [Lazarus] Suggestion about environmentoptions.xml

2015-10-17 Thread Juha Manninen
On Wed, Oct 14, 2015 at 11:07 AM, FreeMan wrote: > I need some help that, 'cos I'm no any idea about lazarus code, class etc. > - for export&import which file has in? > - is any help about for classes? (will be fast puzzle for me > - Have you any improve idea about that? Export and import use the

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Juha Manninen
On Thu, Oct 15, 2015 at 11:13 PM Bo Berglund wrote: > 5) Go to ~/development/lazarus and run: > time make bigide > This completes in about 17 minutes > This is quite fast. Last time it took an hour, didn't it? Looks like Raspberry Pi2 is fast enough for most personal computing tasks. Error in

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread Juha Manninen
On Thu, Oct 15, 2015 at 3:30 PM, FreeMan wrote: > I upgrade to r50070 then remove damaged lines, and readd old style values in > environmentoptions.xml but same result... You still have not explained what was the original problem you encountered. Did some of your configured buttons disappear? Did

Re: [Lazarus] what can be wrong in this code? (qrobjects.pas)

2015-10-14 Thread Juha Manninen
On Wed, Oct 14, 2015 at 8:55 PM, Ondrej Pokorny wrote: > Since freeman hasn't created a bug report and I am too lazy to write one > myself, I sent the patch here. Applied in r50063, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Juha Manninen
On Wed, Oct 14, 2015 at 11:54 PM, Bo Berglund wrote: > 3) Build lazarus. > How do I do this in the circumstances mentioned above? If you have a native FPC installed then "make bigide" in the source dir should be enough. If you have some cross-compiler setup then I don't know. You should also read

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Juha Manninen
On Wed, Oct 14, 2015 at 7:36 PM, Bo Berglund wrote: > Even if the original make was done as su? No, then the generated files are owned by root and cannot be deleted by normal users. You should delete those files and switch to a normal user. Building any programs as root is unusual and not recomme

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Juha Manninen
On Wed, Oct 14, 2015 at 10:27 AM, Bo Berglund wrote: > # cd /usr/local/lazarus > # svn co http://svn.freepascal.org/svn/lazarus/trunk source > # cd /usr/local/lazarus/source > # make all OPT=-dFPC_ARMHF > # make install OPT=-dFPC_ARMHF PREFIX=/usr/local ... > Notice that it was done as sudo su

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 6:56 PM, Marc Santhoff wrote: >> Yet, the processing power / electric power ratio is quite amazing in >> Celeron N3000. Its TDP is 4W. > > That's the only thing not so nice, but using power management functions > it's ok, having enough power when needed. Why is it not nice

Re: [Lazarus] Suggestion about environmentoptions.xml

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 5:09 PM, Mattias Gaertner wrote: > What settings a user wants to move to another OS varies widely. > Maybe implement a dialog, where the user can select > what to export. Yes, the export/import stuff needs attention. The Desktop manager can now export/import all desktops

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 5:02 PM, Marc Santhoff wrote: > You only want a figure, the big picture? Yes, basically. > Making target "bigide" is not completely comparable, it depends on what > additional components are installed. No, "bigide" has a fixed set of components. > And if the disk is a r

Re: [Lazarus] Lazarus 1.5 IDE corrupted view at start up

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 2:48 PM, Bo Berglund wrote: > Is this a known problem in the trunk version? No. You can indeed try with a clean configuration, either by deleting the local config dir or starting Lazarus with --pcp parameter. Environment options had a revamp recently. There is now a collec

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Juha Manninen
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! > the only other thing is that i don't use bigide at this time... > it was too confusing for me while trying to learn t

Re: [Lazarus] Request for review patch #27921

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 9:28 AM, LacaK wrote: > Can please somebody review patch in bug report > http://bugs.freepascal.org/view.php?id=27921 and if no objections commit > them. I assigned it to Stephano and sent him a mail. Regards, Juha -- ___ Lazar

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Juha Manninen
On Tue, Oct 13, 2015 at 11:39 AM, Mattias Gaertner wrote: > For example i7-3770 CPU @ 3.40GHz on Linux/Ubuntu 64bit: > > fpc 2.6.4: > real1m2.630s > user0m58.592s > sys 0m3.556s > > fpc 3.1.1: > real1m23.381s > user1m17.052s > sys 0m5.748s Strange, FPC 3.1.1 is slower. May

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Juha Manninen
On Tuesday, October 13, 2015, Bo Berglund wrote: > > >Just measured it: > >From the Menu/Programming/Lazarus click to when Lazarus is on the > screen with the last project loaded: 7 s > Not bad. I would say that it took upwards of an hour to do the make. But I went > out for coffee during the

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 9:52 PM, Bo Berglund wrote: > Is that version 1.5? Yes. > This is what I got when I followed an installation guide for putting > FPC/Lazarus on a Raspberry Pi2 (ARM Cortex 7). > Help/About says FPC 3.1.1 and Lazarus 1.5 (SVN 50023) > > If this is the beeding edge should I

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 6:10 PM, Howard Page-Clark wrote: > In the IDE Options dialog under Environment->Messages Window node make sure > the checkbox "Focus messages after compilation" is not checked. Right, I forgot that one. Juha -- ___ Lazarus mai

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 5:37 PM, Ondrej Pokorny wrote: > When I compile a project in the IDE with Ctrl+F9 the editor window loses > focus. Instead the message window is focused. When compiling is done, > message window is still focused (even after a successful compile). It has happened also befor

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 3:03 PM, JuuS wrote: > Lazarus has had the number schemes 0.xxx to now of 1.4.xx > > Before falling asleep it passed through my mind about a lazarus 2.xx and... > > ...I thought what could it be? Lazarus is already so good and so feature > filled that I struggled to underst

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-10-12 Thread Juha Manninen
A stupid question: what is the best Ubuntu version to test with? I have avoided Unity desktop so far exactly because of the Lazarus related problems. Another question: what about Lazarus built with QT bindings but running on Unity? Third question: would it be possible to unite the TrayIcon code f

Re: [Lazarus] lazcontrols filters

2015-10-10 Thread Juha Manninen
On Sat, Oct 10, 2015 at 7:38 PM, Ondrej Pokorny wrote: > This is exactly what I was thinking. The rekonq browser has the same. It is > even able to put a button in front of the text in the edit and start the > text after the edit + the hint text is centered. I admit that I don't know > if rekonq u

Re: [Lazarus] lazcontrols filters

2015-10-08 Thread Juha Manninen
On Thu, Oct 8, 2015 at 7:22 PM, Bart wrote: > This is rather more tricky than what we did for TCustomEdit. > Mind you that Delphi has it easy,it simply calls some Windows API to > get this done, but we need to implement this cross-platform (hence we > override RealSetText and RealGetText). > Setti

Re: [Lazarus] lazcontrols filters

2015-10-08 Thread Juha Manninen
On Wed, Oct 7, 2015 at 6:47 PM, Péter Gábor wrote: > What do you think about moving TextHint related things from TCustomEdit > to TWinControl to make TextHint available for all TWinControl > descendants, for example TComboBox. I don't think it makes sense for all TWinControl derivatives. > In th

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Juha Manninen
On Wed, Oct 7, 2015 at 11:45 AM, Michael Van Canneyt wrote: >> How does the VCL work on High-DPI? > > All I know is: It's DPI-Aware. Normally, that should cover most cases. > I do not know if it is multi-monitor DPI aware. > > To be correct, in early versions of Delphi, DPI-Awareness was severely

Re: [Lazarus] Strange interaction between combox and IniPropStorage

2015-10-06 Thread Juha Manninen
On Tue, Oct 6, 2015 at 4:15 PM, Luca Olivetti wrote: > I see that the patch hasn't been merged in 1.4.4. > Please keep it in mind for 1.4.6 I aded it now here: http://wiki.freepascal.org/Lazarus_1.4_fixes_branch You can add commits there, too, in the "Submitted by others" section. Often it is

Re: [Lazarus] Desktops and IDECoolbar

2015-10-06 Thread Juha Manninen
Sorry for the delay with this answer. On Tue, Sep 8, 2015 at 11:31 AM, patspiper wrote: > Desktops and IDECoolbar support are welcome additions to Lazarus. I suppose > a package can now add a dropdown button to the IDECoolbar. Is there an > example on how to add such a dropdown button? Yes, it i

Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-05 Thread Juha Manninen
On Tuesday, October 6, 2015, Anthony Walter wrote: > > As it stands right now, I believe it's pretty much impossible separate the > object inspector source code from the IDE source code. Please correct me if > I am wrong in this matter. > Yes you are wrong. Object Inspector is part of IdeIntf pac

Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-05 Thread Juha Manninen
On Sat, Oct 3, 2015 at 2:57 AM, Anthony Walter wrote: > One thing I've noticed about gtk versions of the inspector is the lagginess > of the inspector when mouse dragging with the left button pressed. Maybe the editors should be updated only with MouseUp event. It is interesting that the properti

Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-05 Thread Juha Manninen
On Sat, Oct 3, 2015 at 2:57 AM, Anthony Walter wrote: > One thing I've noticed about gtk versions of the inspector is the lagginess > of the inspector when mouse dragging with the left button pressed. It would > seem that with each inspector property change (ie. changing which property > is being

Re: [Lazarus] suggestion about added help buttons

2015-10-02 Thread Juha Manninen
On Fri, Oct 2, 2015 at 5:02 PM, Mattias Gaertner wrote: > Do you mean a variable or a resourcestring? Oops right, the strings don't need translation to other languages. They should be const strings collected somewhere for easy update. Or what do you think? Juha -- __

Re: [Lazarus] suggestion about added help buttons

2015-10-02 Thread Juha Manninen
On Fri, Oct 2, 2015 at 3:32 PM, FreeMan wrote: > I saw a few seconds ago r49911 & r49912 added help button and onclick event, > and event has "OpenUrl('http://wiki.lazarus.freepascal.org...');" this > codes. I think much better way this link can be resource string. Maybe in > future need chang

[Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-02 Thread Juha Manninen
r49914 makes the Checkbox in OI the default as a Boolean editor. If you still want the old Combobox, please change it in options dialog. The themed Checkbox which has been tested for a while using a define, is now the default control for this purpose. The "normal" Checkbox provided by widgetset ca

Re: [Lazarus] making lazarus from source failed (linux mint)

2015-09-17 Thread Juha Manninen
On Thu, Sep 17, 2015 at 6:42 PM, Xiangrong Fang wrote: > As I cannot find fpc 2.6.4 for linux mint (the highest version for deb > package is 2.4.2). I need to compile lazarus from source (as the official > deb package depends on fpc 2.6.4, while the mint system only provide 2.6.2). > Lazarus p

Re: [Lazarus] Lazarus vs Delphi - Open Tools API (OTA)

2015-09-12 Thread Juha Manninen
On Sat, Sep 12, 2015 at 11:50 AM, Graeme Geldenhuys wrote: > I've seen recent messages here about improvements the Lazarus IDE > interface for 3rd party add-ons. I must admit, I did not follow it > closely. Is Lazarus IDE also trying to be API compatible with Delphi's > OTA (like its doing with VC

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 7:47 PM, Mattias Gaertner wrote: > I can remove the two bars in "IDE Coolbar" options. But after restart > they reappear. Yes, that is another thing. > There is no "desktops manager", but searching through the IDE code I > found a "Manage desktops" under "Tools / Desktops

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 6:47 PM, Ondrej Pokorny wrote: > I updated the "examples\codetools\jumptoimplementation\" example with a > drop-down-menu. See patch. Excellent. I applied it in r49799. Thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.laza

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 3:20 PM, Ondrej Pokorny wrote: > Btw. if something should be improved about IDE launching - does Lazarus > allow a "single IDE" option? E.g. when I open a .pas file in windows > explorer or whatever, it is opened in the already active Lazarus IDE and not > in a new one? Some

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 6:40 PM, Mattias Gaertner wrote: > What do you mean with this? The anchordocking menu item "Save window > layout as default"? No, this is related to the new desktops feature, not to anchordocking. > Then you should check the file version and automatically > convert old da

Re: [Lazarus] Lazarus IDE - One Hundred Papercuts

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 2:10 PM, Mattias Gaertner wrote: > I thought the reporter can create relationships. Maybe I was wrong. > Have you tried? It is not possible for reporters but it should be IMO. Juha -- ___ Lazarus mailing list Lazarus@lists.lazar

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny wrote: > IMO, the images are loaded only once in the IDEImageList or how it is > called, am I wrong? Maybe that whole loading can be threaded. One more task to my ToDo list ... Juha -- ___ Lazarus mailing

[Lazarus] Desktops and multiple source editors

2015-09-09 Thread Juha Manninen
Martin Friebe noticed a problem with desktops and multiple source editor windows. In fact I also noticed that a second source editor is not restored correctly when changing desktops. Now I realized the 2nd, 3rd etc. editor windows are project specific, while other layout settings are global. This i

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
On Wed, Sep 9, 2015 at 1:15 PM, Mattias Gaertner wrote: > I meant: Why is the IDE CoolBar slow? Ok, it is not particularly slow but it has buttons with images. Loading image resources always takes some time. When I profiled the startup, only the editor macro package was very slow. Otherwise the t

Re: [Lazarus] IDE CoolBar issue

2015-09-09 Thread Juha Manninen
I applied the QueueAsyncCall patch in r49793. Thanks. On Wed, Sep 9, 2015 at 10:49 AM, Mattias Gaertner wrote: > What is the problem? The IDE starts slower than many advanced programmers' editors like Geany or NotePad++. It has a big psychological effect. People feel the IDE is "heavy" and a res

Re: [Lazarus] IDE CoolBar issue

2015-09-08 Thread Juha Manninen
On Wed, Sep 9, 2015 at 8:01 AM, Ondrej Pokorny wrote: >> You have explicitly saved a desktop with name "default". Remove it and >> you are fine. >> The system for saving a default desktop was changed. > > I would consider this being a bug. How did it happen? It is not a bug that needs any action.

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