Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Tuesday, November 25, 2014, FreeMan wrote: > How to do debug this, In IDE ? > There are at least 3 ways to debug Lazarus IDE. 1. Call DebugLn, the output can be seen in the same console you started Lazarus from (./lazarus). 2. Use command line GDB. 3. Inside Lazarus run project lazarus.lpi. I

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Wed, Nov 19, 2014 at 10:02 PM, Juha Manninen wrote: > One option is to use parentheses around the values, '(True)' and '(False)'. I implemented this one in r46989. It is kind of a compromise between the ideas. W

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Tue, Nov 25, 2014 at 5:25 PM, FreeMan wrote: > I attach my solution, this is work on my system, need test others. need some > improve, text flicking still. I guess you did not debug your patch anyhow. The condition is never true, commenting out the Inc() line causes the same effect, and that m

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Tue, Nov 25, 2014 at 12:45 PM, Vojtěch Čihák wrote: > This is not Linux-Qt related, this is Oxygen related. Other themes work OK. > Hardcoding 1 or 2 pixels is IMO not good idea, it may cause troubles > elsewhere. > [...] It is good to have somebody who understands the issue. :) > However, I

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Tue, Nov 25, 2014 at 12:56 PM, zeljko wrote: > IMO, problem is that OI checkboxes height is hardcoded. No, I have changed it to use AutoSize instead. It partially solved the serious redraw issue on Windows. See issue http://bugs.freepascal.org/view.php?id=22347 and r46880. Regards, Juha --

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Juha Manninen
On Tue, Nov 25, 2014 at 11:33 AM, FreeMan wrote: > Thank you Sandor & Juha, In Linux QT widgetset, color combobox is working > now. But we forget real problem :) > [pic] > Chekbox's square lines need to 1 or 2 pixcel more to up, if row not > selected. (if ARow <> FItemIndex then) > I don't have

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Juha Manninen
On Mon, Nov 24, 2014 at 11:33 AM, Michael Schnell wrote: > IMHO that would be just GREAT to allow for doing portable software. The RTL > and LCL interface should be OS ignorant for portability. In user code, the > user should be allowed to use the string encoding (and byte cont per > character), h

Re: [Lazarus] ObjectInspector horizontal resize bug

2014-11-23 Thread Juha Manninen
On Sun, Nov 23, 2014 at 8:18 PM, Sandro Cumerlato wrote: > Please review attached patch. > > - selected edit control doesn't resize properly after a horizontal resize. Applied, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.

Re: [Lazarus] ObjectInspector SpeedButton background issue

2014-11-23 Thread Juha Manninen
On Sun, Nov 23, 2014 at 7:50 PM, Sandro Cumerlato wrote: > Please review attached patch. > > - removed code that prevent SpeedButton background erase. Applied, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.

Re: [Lazarus] ObjectInspector DefaultItemHeight issue

2014-11-23 Thread Juha Manninen
On Sunday, November 23, 2014, Sandro Cumerlato wrote: > Please review attached patch: > > - uniform DefaultItemHeight to 22 pixels; > - avoid DefaultItemHeight < ComboBox Height (- 3). > > Apply if OK, thanx. > Applied the modified version from personal chat. Thanks. Juha -- ___

Re: [Lazarus] OI Checkboxes

2014-11-23 Thread Juha Manninen
On Sun, Nov 23, 2014 at 4:43 PM, Sandro Cumerlato wrote: > I cannot test the QT widgetset, sorry, but I would suggest attached patch > instead. Applied, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus

Re: [Lazarus] OI Checkboxes

2014-11-22 Thread Juha Manninen
On Fri, Nov 21, 2014 at 4:31 PM, FreeMan wrote: > Thank you, uncommenting resolve my problem. Without those lines indeed Lazarus built with QT crashes when Color combobox list is opened. Why does it happen? I returned the code in r46966. Juha -- ___ L

Re: [Lazarus] Component palette reordering

2014-11-21 Thread Juha Manninen
If anybody has problems installing packages or similar, please remove ... section from local environmentoptions.xml. The component palette related code was broken for some days last week and may have corrupted the config. If packages and their components install fine then no worries. Reordering

Re: [Lazarus] Component palette reordering

2014-11-20 Thread Juha Manninen
On Fri, Nov 21, 2014 at 3:37 AM, Flávio Etrusco wrote: > BTW don't you like the "integrated find" feature, like in e.g. kzdesktop? How does it work? I have not used kzdesktop? We have the Component List (Ctrl-Alt-P) which has a filter. Juha -- ___ Laz

Re: [Lazarus] OI Checkboxes

2014-11-20 Thread Juha Manninen
The color editor problem can be somehow related to this one : http://bugs.freepascal.org/view.php?id=23145 It happened when the comboboxes were made read-only. If somebody can figure out the reason, great. Juha -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] OI Checkboxes

2014-11-20 Thread Juha Manninen
On Thu, Nov 20, 2014 at 3:50 PM, FreeMan wrote: > What will you do for r46890? I can not use that patch, 'cos I can not use > color combobox in OI, when I update my svn, have to I check this file ? and > remove that codes? I cannot reproduce your problem. However I am not at my development machi

Re: [Lazarus] OI Checkboxes

2014-11-20 Thread Juha Manninen
On Wed, Nov 19, 2014 at 11:19 PM, Sandro Cumerlato wrote: > It would be nice to have a "framed" checkbox, look at the attachment > rendered image, the entire area should respond to mouse click. It requires a custom drawn CheckBox, the standard one cannot do that. I know you are good in making cus

Re: [Lazarus] OI Checkboxes

2014-11-20 Thread Juha Manninen
On Thu, Nov 20, 2014 at 11:32 AM, FreeMan wrote: > Yes you write, Thats set type but OI show boolean combobox, This mean not > imposible :) just need time and write some code. Yes, the sets should have CheckBoxes, too. Fortunately nothing is broken and the GUI still works. I will look at it after

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, Péter Gábor wrote: > > I vote for CheckBoxes without caption. For easier access a mouse click > in the field of it may change its state. > This is difficult in practice. We could create code to change the state when you click anywhere on the field, but it would ch

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 8:11 PM, Sandro Cumerlato wrote: > Please review attached patch (commented-out code seems not needed). Applied, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/m

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, Lukasz Sokol wrote: > > How about > > [ ] Boolean:(False) > [x] Boolean:(True) > > kind of text ? I actually like this one. A sole box would look odd, with only empty space on its right side. There must be some text. > And on Copy/Paste, only the False/True sha

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wednesday, November 19, 2014, FreeMan wrote: > For cosmatic, Unselected line's, need 1 or pixel move to up for draw > square lines. And can draw border lines like other lines. > I get this screenshot in QT and linux x64(kubuntu) > Ok, I see. I also coded this feature on Mint Linux + KDE wit

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 5:52 PM, FreeMan wrote: > Sorry for didn't say before, this job is good. Thanks. > Long time ago I was think > this. And I thinked, usually programmer use less then 10 component, (Tlabel, > Tedit etc.) First Component palette tab can favorite components, can Clone > icon'

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 1:04 PM, Mattias Gaertner > Don't forget multi selection. Damn, I did forget it. Maybe tbCheckBoxCheckedDisabled themed box can be used for a mixed state. I will study the relevant code but not very soon ... What shoud we do with the text part? No text at all or some other

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 3:11 PM, Sandro Cumerlato wrote: > Attached patch solves CheckBox panting issue. Applied, thanks. You are clever, I did not notice that one. > P.S.: CheckBox is not yet aligned correctly if corresponding row is > selected. Aligned to what? In fact there are 2 very differ

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 12:35 PM, Bart wrote: > I find this rather counter-intuitive. > If I have a checkbox that is not checked and the caption of it says > "False" then I would assume that "False" is not checked. It is a valid point, I did not think of it. > I would suggest to either remove th

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Juha Manninen
On Wed, Nov 19, 2014 at 10:30 AM, Sandro Cumerlato wrote: > Painting is not working properly under Windows. Look at the attachments. Pease try commenting out the code I added in r46885. For me it makes no difference but I don't see the redraw errors either. You can try other experiments around th

Re: [Lazarus] Component palette reordering

2014-11-18 Thread Juha Manninen
I still cannot see any slowdowns when opening forms. Can anybody else see it? I can also profile the code later but it is not a high priority. Juha P.S I have also made an option to use CheckBoxes for Boolean values in Object Inspector. Please check how it works. This is not related to component

Re: [Lazarus] Component palette reordering

2014-11-18 Thread Juha Manninen
On Tuesday, November 18, 2014, FreeMan wrote: > lazarus svn r46872, > Component Palette order and icon space fixed. On Start IDE and after open > project Component Palette order and space is normal now. > But when open project, so much slow opening forms. > The palette changes should not affec

Re: [Lazarus] Component palette reordering

2014-11-15 Thread Juha Manninen
On Sat, Nov 15, 2014 at 1:45 PM, FreeMan wrote: > Hello Juha, > If its possible, can you fix this issue too? I can not click to up button. > Kubuntu 14.04x64, last svn and QT widgetset > It may be fixed already. I did not see the large gap between icons but I saw the wrong order of tabs. After

Re: [Lazarus] Replacing "project1" target name by the selected project name

2014-11-14 Thread Juha Manninen
On Fri, Nov 14, 2014 at 6:46 PM, Mehmet Erol Sanliturk wrote: > This is "official" Fedora 20 ( latest distribution ) package supplied as > 1.0.8 . Yes, the "official" packages of many distros are old. We cannot help that. You should load Lazarus trunk from SVN. A new version 1.4 will be forked so

Re: [Lazarus] Replacing "project1" target name by the selected project name

2014-11-14 Thread Juha Manninen
On Fri, Nov 14, 2014 at 2:30 PM, Mehmet Erol Sanliturk wrote: > From ( OS installed version is 1.0.8 ) You mean the Lazarus version is 1.0.8? It is old! > Lazarus -> Project -> New Project from File -> > ... > > > I cannot reproduce in trunk. Please test again using trunk. Ju

Re: [Lazarus] Component palette reordering

2014-11-14 Thread Juha Manninen
How to set item height in ListView? I added : ComponentsListView.SmallImages := IDEImages.Images_24; in the settings GUI and somehow the height is now correct on Windows but on Linux with GTK2 or with QT it is too low. Parts of icons are cut off. Juha --

[Lazarus] Component palette reordering

2014-11-14 Thread Juha Manninen
There is a new feature for reordering tabs and components in the component palette. See "Component palette" in environment options. Please test but don't open bug reports yet. The feature is under heavy development and still has known issues. One issue is that the tabs show in reverse order sometim

[Lazarus] Unused units clarification

2014-10-25 Thread Juha Manninen
This is related to the "Request feature" thread answer from Mattias at October 3. On Fri, Oct 3, 2014 at 10:27 AM, Mattias Gaertner wrote: > The units with initialization/finalization sections are shown with a > battery like icon, while those without are shown with a book icon. > > Feel free to i

Re: [Lazarus] Lazarus saves source files implicitly

2014-10-24 Thread Juha Manninen
On Fri, Oct 24, 2014 at 4:07 PM, wrote: > no I didn't have unsaved changes. or did I ??? At least Lazarus trunk behaves well in that situation. I often change the revision and then IDE asks if I want to load the changed files. What version do you have? Please test with trunk. Juha -- _

Re: [Lazarus] Lazarus saves source files implicitly

2014-10-24 Thread Juha Manninen
You had unsaved changes in the unit source. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Find dialog too tight for translations

2014-10-23 Thread Juha Manninen
On Thu, Oct 23, 2014 at 9:19 PM, Giuliano Colla wrote: > Maybe it's worth a revision, together with the "replace" dialogue, which > suffers of the same problems. +1 Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] Redundant text on project buttons

2014-10-16 Thread Juha Manninen
On Thu, Oct 16, 2014 at 2:54 PM, Kostas Michalopoulos wrote: > The "Tab order" icon uses two arrows - this means nothing really when it > comes to ordering - in this case it is about specifying a sequence, so > something linear (like a vertical list of items) or something that shows the > nature o

Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Juha Manninen
There is also a report about it : http://bugs.freepascal.org/view.php?id=22278 Clearly there should be an option for Icon only / Text Only / Both. It should be respected by all IDE windows and not only Project Inspector. Yes, I think '+' and '-' signs are more understandable than most other ico

Re: [Lazarus] Request feature?

2014-10-02 Thread Juha Manninen
On Fri, Oct 3, 2014 at 1:24 AM, Martin Frb wrote: > There is also an entry in "Refactoring" (pop up, or Menu: Source) > "Unused Units" (Though (iirc) it in only 99% accurate) It is not accurate when a unit has an initialization section. Then the unit is most likely needed by the project but it is

Re: [Lazarus] Error message if lazarus is closed

2014-09-29 Thread Juha Manninen
On Mon, Sep 29, 2014 at 4:35 PM, John Landmesser wrote: > In 'file:///home/john1/.lazarus' (line 1 pos 1): Root element is missing > In 'file:///home/john1/.lazarus' (line 1 pos 1): Root element is missing The *file://* part looks suspicious. Otherwise it is the default Lazarus config directory i

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Juha Manninen
On Fri, Sep 26, 2014 at 4:07 PM, "Leonardo M. Ramé" wrote: > Is it possible to "link" all lazarus windows in a way that when alt+tab they > work as one app, instead of separated windows?. Yes, the docking frameworks, although they have other issues. If you alt+tab to the Lazarus main (top) windo

Re: [Lazarus] Anchordocking

2014-09-25 Thread Juha Manninen
On Thursday, September 25, 2014, "Leonardo M. Ramé" wrote: > > I also wouldn't care about docked windows if at least the ide could > remember window position. Is it possible to save the window positions? > It does remember the window positions. They are persistent, previous positions are restored

Re: [Lazarus] Anchordocking

2014-09-25 Thread Juha Manninen
On Thursday, September 25, 2014, "Leonardo M. Ramé" wrote: > Hi, from time to time I check this bug request: > http://mantis.freepascal.org/view.php?id=26646 and found a comment added > by Juha Manninen saying it won't work with laptop and external monitor, > because

[Lazarus] Side effects of fixing window RestoredLeft/Top values? Issue #8576.

2014-09-22 Thread Juha Manninen
I resolved an old issue: 8576: After Mini/Maximizing window 'RestoredLeft/Top' values changes to "unreal" values http://bugs.freepascal.org/view.php?id=8576 by applying a patch from Yuichiro Takahashi. It seems to fix the error and I did not notice any problems caused by it. Yet, there may be

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Tuesday, September 16, 2014, Rik van Kekem wrote: > > Isn't Lazarus 1.3 r42488 a really old version? (November 2013?) > Or am I seeing this wrong? > It is older, from August 2013. More than a year old. Waldo should update sometimes. You will get many goodies with the latest revision. The hint

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Tuesday, September 16, 2014, Rik van Kekem wrote: > > This afternoon i did a complete reinstall (on another machine) and did NOT > get turbopoweriprodsgn. I did get TurboPowerIPro by default. > Run "make clean bigide" at cmd line. If it still is not there, then we have a bug. But the old tex

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Monday, September 15, 2014, Rik van Kekem wrote: > > But for this to work you need the package turbopoweriprodsgn.lpk > installed. And this is not done with a default installation. > Yes it is. As I explained it is now part of bigide. The next version 1.4 installer will have it by default. Do

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
Right, Waldo's screenshot does not have a border, it only has a shadow. In my Windows 7 there is both a border and a shadow. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazar

Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
I also see a distinctive yellow color. Waldo Kitty, you should go to see an eye doctor, you are suffering from color blindness. :) You all noticed the hint window's color but nobody noticed it renders HTML nicely, giving a professional touch to hint and info windows. The same effect was available

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Mon, Sep 8, 2014 at 12:40 AM, Bart wrote: > I know, it's just that I'm used to working with the stand-alone tool. > Also, personally I would not want to test a whole bunch of (master) > .po files when working on a project. > I'ld go one by one, fixing all translated .po's from one unit, then go

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sunday, September 7, 2014, Bart wrote: > > I think I would rather configure it as "external tool" if I wanted to > have access to it from the within IDE. There is no IDE integration with external tools. The tool was set up to run tests on a "family of po-files", the only > thing the user n

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sun, Sep 7, 2014 at 7:17 PM, Juha Manninen wrote: >> I don't have it installed as a package/integrated in the IDE (not sure >> how that is done). > > How come, you have made the package after all. It can be installed from > Package -> Install/Uninstall packages.

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sunday, September 7, 2014, Giuliano Colla wrote: > > There should be no reason to induce such a nightmare. > Copying the code that implements logic for PoChecker would be a nightmare but I did not suggest such thing. I suggested having 2 separate GUIs which is ok. It is possible to modify a si

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sunday, September 7, 2014, Giuliano Colla wrote: > Having as a guideline the way editortoolbar integrates in the IDE, and on > the source editor, it shouldn't be too hard to adapt it to POChecker needs. > But it's better to make one change at a time, not to create some > confusion... > You ma

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sunday, September 7, 2014, Bart wrote: > > I only use the standalone version. Really? Ok. I don't have it installed as a package/integrated in the IDE (not sure > how that is done). How come, you have made the package after all. It can be installed from Package -> Install/Uninstall packa

Re: [Lazarus] Fuzzy translations ignored

2014-09-07 Thread Juha Manninen
On Sun, Sep 7, 2014 at 2:27 AM, Giuliano Colla wrote: > I was thinking of a general overview of the translations, similar to the one > provided by kde-thumbnailer-po which provides a folder preview like this: > > http://www.bononiadocta.it/Lazarus/kde-thumbnailer.png Looks nice. How did you insta

Re: [Lazarus] Fuzzy translations ignored

2014-09-04 Thread Juha Manninen
IMO it makes no difference. Translators should search for the fuzzy lines sometimes and fix them. On the other hand I don't understand what caused the crashes. All the params were %s, there were no mixed %d and %s. The number of real params was reduced, the old fuzzy strings provided enough placeho

Re: [Lazarus] Cody package crashes

2014-08-26 Thread Juha Manninen
On Tuesday, August 26, 2014, wrote: > "Show all identifiers" dialog of cody package crashes in certain > conditions. When I have my large project loaded, it always crashes. > Please create a debugger backtrace, open a bug report and attach it there. Juha -- _

Re: [Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-08-20 Thread Juha Manninen
On Tue, Aug 19, 2014 at 10:44 AM, Patrick Chevalley wrote: > Probably a Kwin problem. > A workaround is to open the KDE system settings, Desktop effects, All > effects. On the Focus block uncheck Dialog parent. Thanks! I propably would not have figured it out myself, there are so many settings fo

Re: [Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-08-19 Thread Juha Manninen
On Tue, Aug 19, 2014 at 1:25 AM, Luca Olivetti wrote: > Yes, same here with mageia 4 (x86_64), kde desktop, lazarus 1.2.4. > gtk is 2.24.22. Ok, here it is gtk 2.24.23. Any known workarounds? I tried changing the GTK theme in KDE but no effect. The question is now, does this happen with KDE or al

[Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-08-18 Thread Juha Manninen
I suspect this is yet another GTK2 version related bug. Has anybody seen it? When opening a modal window like the About box, other windows turn grey because they are disabled. That is OK. After closing the modal window they still remain grey although they work OK. Only minimizing and then restorin

Re: [Lazarus] Obtaining uptime

2014-08-05 Thread Juha Manninen
On Wed, Aug 6, 2014 at 8:49 AM, Richard Mace wrote: > Does anyone know why the following code returns the correct days uptime in > XP, but doesn't in Windows 8? (not tested in anything other) I happened to read this : http://www.extremetech.com/computing/164209-windows-8-banned-by-worlds-top-be

Re: [Lazarus] Laz trunk+FPC trunk Windows - experiences with help

2014-07-29 Thread Juha Manninen
Do we have somewhere working example code to look at and to compare with this lhelp code? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Need Testers: parallel compilation

2014-07-29 Thread Juha Manninen
Very nice indeed. I am testing with my employer's windows laptop and I can see all 4 cores being used. On Tuesday, July 29, 2014, patspiper wrote: > > I agree with Vojtěch regarding the placement of the option. The 'Configure > build lazarus' is a more suitable place. > No, 'Configure build laz

Re: [Lazarus] LazDaemon

2014-07-25 Thread Juha Manninen
On Friday, July 25, 2014, Marco van de Voort wrote: > > Under Delphi GUI or gdb console Attach the debugger to the running process. > I don't know how to do from the Lazarus IDE. > There is such option in Lazarus Run menu but it gives an error when connecting to a running service. --

Re: [Lazarus] LazDaemon

2014-07-24 Thread Juha Manninen
On Fri, Jul 25, 2014 at 9:05 AM, Michael Van Canneyt wrote: >> I will use now the FPC daemon class, it works. > > Out of curiosity: which class is that ? I mean the TCustomDaemon and TCustomDaemonMapper descendants as explained in your PDF, without using LazDaemon package. LazDaemon uses the same

Re: [Lazarus] LazDaemon

2014-07-24 Thread Juha Manninen
On Thu, Jul 24, 2014 at 4:10 PM, Virgo Pärna wrote: > You are running that "cleandir.exe -i" form cmd Window? Did you start cmd > with > "Run as Administrator"? Yes. Actally the service version is "cleandirs.exe" (with "s"). There is also a cmd line program "cleandir.exe". > I created a

[Lazarus] LazDaemon

2014-07-24 Thread Juha Manninen
I think the LazDaemon package is broken at least on Windows. Can someone else start a Windows service made with it? I cannot. There is an example project C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi that uses it. Trying to install it ("cleandirs.exe -i" with admin rights) fails. Same thin

Re: [Lazarus] Editor Toolbar patch posted

2014-07-19 Thread Juha Manninen
On Fri, Jul 18, 2014 at 1:24 PM, Giuliano Colla wrote: > It registers a new entry in Main Menu/View to access configuration also when > the toolbar is hidden An idea: the menu item could be checked and affect the visibility directly. I moved the 'Component Palette' and 'IDE Speed Buttons' check-i

Re: [Lazarus] regression

2014-07-18 Thread Juha Manninen
I think I am guilty for this one. I simplified the hint API after fixing the infamous issue #20202. Code completion uses the same feature but requires special treatment. I will look at it during this weekend. Juha -- ___ Lazarus mailing list Lazarus@lis

Re: [Lazarus] editortoolbar enhancements

2014-07-15 Thread Juha Manninen
On Tue, Jul 15, 2014 at 8:05 PM, Giuliano Colla wrote: > 1) Added an option in Editortoolbar configuration, to select its position > (Top,Bottom,Right,Left) Good. > 2) Added a "Show toolbar" checkbox in Editor -> General -> Misc, and an > eoEditorToolBar to TSynEditorOption2. How do you do that

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-07 Thread Juha Manninen
On Monday, July 7, 2014, zeljko wrote: > > hm... > APPLICATION ERROR #400 > > Database connection failed. Error received from database was #1040: Too > many connections. ... etc > I happened to have 2 machines open when I got this error. It failed with Windows + FireFox. It worked well with Linux

Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread Juha Manninen
On Sat, Jul 5, 2014 at 5:21 PM, John Landmesser wrote: > Just wondered about the differences between Win and Linux! Yes, Windows and Linux are different. :) Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.fre

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-05 Thread Juha Manninen
I applied the patch from Henry. I hope we get LCL-Win fixed, too. Zeljan, is it ok if LCL-QT gets the same change at some point? And yes, Panels and Forms should logically behave the same way but they are not urgent. Juha -- ___ Lazarus mailing list La

Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread Juha Manninen
On Thu, Jul 3, 2014 at 2:10 PM, John Landmesser wrote: > i can compile any svn version of lazarus on linux using fpc 2.6.2 but on > windows i have(!!) to use fpc 2.6.4. If you really need to use fpc 2.6.2, we can make it compile. What is the error? Is it easy to fix using eg. IFDEFs? If you send

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Juha Manninen
On Friday, July 4, 2014, Vojtěch Čihák wrote: > And what about autosized forms? I mean: why it does NOT matter with Panels > and Forms but it (exclusively) matters with GroupBox. > Good question. I think it should matter with forms, too. OTOH, forms are typically bigger and this issue does not c

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Juha Manninen
On Friday, July 4, 2014, Vojtěch Čihák wrote: > > So it seems more a feature than a bug to me. > To me it seems like yet another bug in Delphi. When talking about GroupBox it is actually a missing feature in Delphi. My logic also says that if the user has set a caption and defined a control to be

[Lazarus] Compiling many build modes at once

2014-07-04 Thread Juha Manninen
I implemented a command to build a user selectable list of modes at one go. You can find it in Run menu item "Build many Modes ...". Please test. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/m

Re: [Lazarus] Some suggestions

2014-07-03 Thread Juha Manninen
On Thursday, July 3, 2014, Graeme Geldenhuys wrote: > > Fantastic! Thank you so much Juha. > Thanks for the feedback Graeme. People may have looked at wrong places because the crash happened mostly (or only) with GTK2. I am still not 100% sure of the reasons. Now the hint control is created once

Re: [Lazarus] Some suggestions

2014-07-03 Thread Juha Manninen
On Thu, Jul 3, 2014 at 2:19 PM, Michael Van Canneyt wrote: > I'm using GTK2 version of lazarus This is not directly related to your other comments but there are good news for GTK2 users. The issue #20202 from 2011 got finally solved. http://bugs.freepascal.org/view.php?id=20202 You can now saf

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Juha Manninen
On Sat, Jun 28, 2014 at 1:51 AM, Giuliano Colla wrote: > (I can't anchor the second Button to the first, because if the first becomes > invisible, the second is moved from his position, which is not acceptable). True, hiding the control ruins the plan of using anchors here. A more standard way wo

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Juha Manninen
You seem to have unusual GUIs. Still, I have a feeling you do something wrong when creating controls in code. Setting the position, size or anchors at runtime work well. Gtk2 may have some Z-order issues, QT is better. I did not use a background bitmap but it should be doable, too. If you ask spec

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Juha Manninen
On Friday, June 27, 2014, Giuliano Colla wrote: > I did consider this possibility because we have hundreds of Kylix projects > which are still alive, and need maintenance. Kylix IDE can only be used on > old platforms/virtual machines but the compiler and the applications still > run in the most

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Juha Manninen
On Friday, June 27, 2014, Giuliano Colla wrote: > But given this possibility, I find much more interesting and stimulating > the attempt to take advantage of this feature, than the boring task of > converting hundreds of Kylix applications to LCL! > Is it a boring task? It could be relatively ea

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 8:05 PM, Mattias Gaertner wrote: > Can you now use pochecker? Yes. It shows 173 errors in eg. lazaruside.fi.po which looks correct. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 6:55 PM, Mattias Gaertner wrote: > The IDE is compiled by make and that must not alter sources. > You can do it: > > ./localize.sh Right. I committed the .po files. Translators are now welcome to fix the fuzzy strings. Juha --

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tuesday, June 24, 2014, Mattias Gaertner wrote: > > And does it show the wrong strings? > No because the old strings are still there. Why the .po files are not auto-generated? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 5:32 PM, Mattias Gaertner wrote: > Have you tried pochecker? Well, yes. "lazaruside.xx.po" files are not updated in SVN. Usually they are auto-generated and then somebody commits them. What happened now? Juha -- ___ Lazarus mai

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 2:38 PM, Giuliano Colla wrote: > Only lazaruside.xx.po are affected, or other packages/translations need the > same housekeeping? Also: components/ideintf/objinspstrconsts components/codetools/codetoolsstrconsts components/anchordocking/anchordockstr lcl/lclstrconsts

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 2:19 PM, Giuliano Colla wrote: > Then you can install the package editortoolbar.lpk. You'll find it in > lazarus/components/editortoolbar. ... and also in the Install/Uninstall packages dialog under "Available for installation". Easier. Juha -- __

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 1:41 PM, Giuliano Colla wrote: > in the last few days, (I can't tell exactly since which revision it happens) > I get an "Invalid argument index" in some translated IDE dialogs, such as > the dialog which prompts for an IDE rebuild when installing a package. I recently twe

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Juha Manninen
FreeMan, you have misunderstood the purpose of infoBuild dialog. It only shows information _during_ compilation, it is not meant for selecting what will be compiled next. Build modes solve your problems. In future it will be possible to select many modes and compile all of them. It is not implement

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Juha Manninen
On Thu, Jun 19, 2014 at 12:50 PM, Mattias Gaertner wrote: > The rst to po converter. That is part of FPC project. Even if it was fixed now we cannot start using embedded newlines right away because the previous version of FPC must be supported. > #13 works in message dialogs on all platforms. W

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Juha Manninen
On Wed, Jun 18, 2014 at 10:44 AM, Mattias Gaertner wrote: > In the old days special characters were not converted properly. > > I just tested: > > 'A'#10'BC' is converted to > msgid "" > "A\n" > "BC\n" > > Note the new line behind BC. When this is fixed, I can adapt the 'Make > resourcestring dial

Re: [Lazarus] Resource strings and newline

2014-06-17 Thread Juha Manninen
I must say I agree mostly. Does anybody know why parameters are currently used for newlines? Logically parameters are meant for varying data. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailma

Re: [Lazarus] Resource strings and newline

2014-06-17 Thread Juha Manninen
On Tuesday, June 17, 2014, Péter Gábor wrote: > > > Can someone change the title of the bug-report #26343 to something > that is more descriptive and refers to what we are talking about there? > > eg.: lazaruside.*.po contains semi converted and/or confusing strings: > "%s%s%s" > I will explain w

Re: [Lazarus] Resource strings and newline

2014-06-17 Thread Juha Manninen
> Format should not convert \n. This is the job of the .po reader. Right, the .po reader converts it back to system specific line-ending. Václav, apparently it works if you add #13#10 to a resource string. It shows as \n in .po files and you can use it in translations, too. No need for an extra t

[Lazarus] Resource strings and newline

2014-06-16 Thread Juha Manninen
Could somebody please explain what happens when there is #13#10 in a resource string. See issue http://bugs.freepascal.org/view.php?id=26343 and a note: http://bugs.freepascal.org/view.php?id=26343#c75738 It is converted to \n in .po file strings. However Format() does not convert \n. How can

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