Re: [Lazarus] make ide custom option
On Sat, 28 Feb 2015 12:50:45 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 28 Feb 2015 08:39:39 -0300 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: I'm trying to add -gw2 to ide building, was it OPT? I tried: make bigide LCL_PLATFORM=cocoa OPT=-gw2 OPTS Sorry. Of course, OPT is right. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] make ide custom option
http://wiki.lazarus.freepascal.org/Carbon_Interface which one is OPT= or OPTS= ? I'm using this for qt without error CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt OPT=-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -g -l On 28.02.2015 13:50, Mattias Gaertner wrote: I'm trying to add -gw2 to ide building, was it OPT? I tried: make bigide LCL_PLATFORM=cocoa OPT=-gw2 OPTS Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about checkbox in Object inspector
On Sun, Mar 1, 2015 at 12:14 PM, FreeMan freema...@delphiturkiye.com wrote: My test screens I get, system setting -- dock settings and lazarus on tform I added two tcheckbox and second, I mean on bottom checkbox is checked. First screenshot I get system form is active, lazarus form is background The two checkboxes on a Lazarus form are real checkboxes using the widgetset (in this case QT) control. They are not customdrawn using theme services, the theme service version in OI apparently matches with the real one. What if you bind to Carbon instead of QT? In any case this is not in my area of expertise. I don't even have a Mac. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about checkbox in Object inspector
Thank you, Sandro and Juha of course On 28.02.2015 18:37, Vojtěch Čihák wrote: You are right, I promised it in december. IIRC it should be in some UseOIThemedCheckBox define at first. I'll look at it. V. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cocoa testers needed
On Sat, Feb 28, 2015 at 12:43 PM, Schindler Karl-Michael karl-michael.schind...@web.de wrote: But with 64bit building seems broken: make all LCL_PLATFORM=cocoa Fixed 64-bit linking in rev 48062, now it should work the same for 32 and 64 bits. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about checkbox in Object inspector
On 1.03.2015 12:55, Juha Manninen wrote: On Sun, Mar 1, 2015 at 12:14 PM, FreeMan freema...@delphiturkiye.com mailto:freema...@delphiturkiye.com wrote: My test screens I get, system setting -- dock settings and lazarus on tform I added two tcheckbox and second, I mean on bottom checkbox is checked. First screenshot I get system form is active, lazarus form is background The two checkboxes on a Lazarus form are real checkboxes using the widgetset (in this case QT) control. They are not customdrawn using theme services, the theme service version in OI apparently matches with the real one. we will wait, maybe can early fix come somewhere :) On 28.02.2015 18:37, Vojtěch Čihák wrote: You are right, I promised it in december. IIRC it should be in some UseOIThemedCheckBox define at first. I'll look at it. What if you bind to Carbon instead of QT? Sorry, I didn't understand. are meaning did you try in carbon? In any case this is not in my area of expertise. I don't even have a Mac. Juha just let you know, if you interest it, vmware file in the torrent, next year I tested a few time, then I bought macbook. But I'm not sure is it legal or not. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about checkbox in Object inspector
FreeMan, do other unelected checkboxes in your system look different than the ones in Object Inspector? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] about checkbox in Object inspector
On 1.03.2015 11:46, Juha Manninen wrote: FreeMan, do other unelected checkboxes in your system look different than the ones in Object Inspector? Juha My test screens I get, system setting -- dock settings and lazarus on tform I added two tcheckbox and second, I mean on bottom checkbox is checked. First screenshot I get system form is active, lazarus form is background second screenshot, I get when lazarus form is active, system form is background -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Hint of TAChart
Hello, in TChart I use TDataPointHintTool. I discovered (see attached screeshot) that Hint is triggered also in outside of frame (frame - area where series is plotted). This happens at upper and bottom but not at left and right sides of frame. Is this OK or bug? Sorry for my bad English. -- Valdas Jankūnas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] make ide custom option
make bigide LCL_PLATFORM=cocoa OPT=-gw2 try: make clean bigide LCL_PLATFORM=cocoa OPT=-gw2 -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-make-ide-custom-option-tp4040892p4040912.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Hint of TAChart
You are probably working with DistanceMode=cdmOnlyX of the DataPointHintTool; with cdmOnlyY the hint would appear if the mouse is at the left or right outside the series region. I am not sure if this is really a bug, but I can imagine that users could be surprised by this behavior. Therefore, I added a new property MouseInsideOnly to TDatapointHintTool and TDatapointCrosshairTool (in fact, it is implemented already for their ancestor TDataPointTool, but I think the other datapoint tools do not need it). With MouseInsideOnly set to true the hint does not appear if the mouse is outside the plotting frame. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cocoa testers needed
On 28/02/15 10:51, Felipe Monteiro de Carvalho wrote: Hello, It would be good if people start testing LCL-Cocoa and report bugs. thanks, I tried lazarus with cocoa; it started OK on a default app, but when I loaded one of my own apps I had the following crash shown in the attached file. Colin 2015-03-01 18:00:22.762 lazarus[30461:74710] Unable to simultaneously satisfy constraints: ( NSAutoresizingMaskLayoutConstraint:0xacccef0 h=-- v=-- V:|-(27)-[NSView:0xae8c390] (Names: '|':TCocoaTabControl:0xae70460 ), NSAutoresizingMaskLayoutConstraint:0xacccf30 h=-- v=-- V:[NSView:0xae8c390]-(3)-| (Names: '|':TCocoaTabControl:0xae70460 ), NSAutoresizingMaskLayoutConstraint:0xacd3d10 h=-- v=-- V:|-(0)-[TCocoaTabPageView:0xae947b0] (Names: '|':NSView:0xae8c390 ), NSAutoresizingMaskLayoutConstraint:0xacd6470 h=-- v=-- V:[TCocoaTabControl:0xae70460(47)], NSAutoresizingMaskLayoutConstraint:0xacd3cd0 h=-- v=-- V:[TCocoaTabPageView:0xae947b0]-(91)-| (Names: '|':NSView:0xae8c390 ) ) Will attempt to recover by breaking constraint NSAutoresizingMaskLayoutConstraint:0xacd3d10 h=-- v=-- V:|-(0)-[TCocoaTabPageView:0xae947b0] (Names: '|':NSView:0xae8c390 ) Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in the debugger. TApplication.HandleException [TCustomIcon.LoadFromResourceName] The resource cur_11 was not found Stack trace: $00163528 TCUSTOMICON__LOADFROMRESOURCENAME, line 674 of lcl/graphics.pp $0006554E TSCREEN__GETCURSORS, line 600 of lcl/forms.pp $00065F90 TSCREEN__SETCURSOR, line 904 of lcl/forms.pp $004A4327 TSOURCEEDITORMANAGERBASE__INCUPDATELOCKINTERNAL, line 9072 of ide/sourceeditor.pp $004A4428 TSOURCEEDITORMANAGERBASE__INCUPDATELOCK, line 9097 of ide/sourceeditor.pp $005F1893 TLAZSOURCEFILEMANAGER__CLOSEPROJECT, line 3742 of ide/sourcefilemanager.pas $000921DB TMAINIDE__DOCLOSEPROJECT, line 6204 of ide/main.pp $00092913 TMAINIDE__DOOPENPROJECTFILE, line 6311 of ide/main.pp $005F1AA6 TLAZSOURCEFILEMANAGER__OPENPROJECT, line 3778 of ide/sourcefilemanager.pas $0008A8FD TMAINIDE__MNUOPENPROJECTCLICKED, line 4116 of ide/main.pp $00383805 TIDEMENUITEM__MENUITEMCLICK, line 575 of components/ideintf/menuintf.pas $00386855 TIDEMENUCOMMAND__MENUITEMCLICK, line 1650 of components/ideintf/menuintf.pas $002428E5 TMENUITEM__CLICK, line 84 of lcl/menus.pp $0024300A TMENUITEM__DOCLICKED, line 282 of lcl/menus.pp $00024624 PASCALMAIN, line 142 of ./include/control.inc $002841BE TLCLMENUITEMCALLBACK__ITEMSELECTED, line 1376 of lcl/interfaces/cocoa/cocoawscommon.pas $001C12B8 TCOCOAMENUITEM__LCLITEMSELECTED, line 3340 of lcl/interfaces/cocoa/cocoaprivate.pp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus