Re: [Lazarus] Support for MariaDB 10.0
Any support for MariaDB 10.0 branch? client library? TMySQL56Connection can connect to MariaDB perfectly. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Support-for-MariaDB-10-0-tp4042171p4042174.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
Re: [Lazarus] Howto scrolldown a TMemo on Linux by code?
On 2015-05-12 16:18, John Landmesser wrote: My first post was placed as an answer to IDE / Editor macros from Graeme Geldenhuys? Because you replied to an existing mailing list email and then changed the Subject line. This doesn't change the hierarchy of messages - as you noticed. Add the mailing list email address to your address book of your email client, and then start a _new email_ message. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Processing TCoolBar child by IDE
On Tue, May 12, 2015 at 12:21 AM, Jesus Reyes jesus...@gmail.com wrote: ... Sven word that 2.6.X is not guaranteed to work with all generics features, specially the one mentioned here. Sven's comments were about features but not about compilation problems. I still wonder what can prevent the compilation of generics on one platform. Now I remember somebody had a similar problem but the reason was never solved then. I think the person started to use FPC trunk. Ideas anybody? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Support for MariaDB 10.0
On 12/05/2015 10:03, leledumbo wrote: Any support for MariaDB 10.0 branch? client library? TMySQL56Connection can connect to MariaDB perfectly. Tested, and it works perfectly Thanks again -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Support-for-MariaDB-10-0-tp4042171p4042174.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 -- -- Kind Regards Eric Kom Senior IT Technician - Metropolitan Schools _ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends./ - \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 eric...@kom.za.net | eric...@metropolitancollege.co.za www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to display html contents?
Il 11/05/2015 16:02, Michael Schnell ha scritto: Maybe start a Browser with the file spec as parameter. You're right, that would be the easiest path. But I happen to need an integrated help in an industrial environment: just a window with the appropriate information, a large close button (the human interface is a touch screen), and nothing else. However both the Qt widgets proposed by Dmitry, and the lclwebkit suggested by Frank appear to provide more or less what I need. Just a bit of extra ironing to adapt to my needs. Giuliano. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 2015-05-12 11:19, Graeme Geldenhuys wrote: ps: Using Ctrl+Shift+P doesn't do anything in my Lazarus. The shortcut here doesn't work even though it is assigned, but I eventually found the dialog shown in the wiki page, thanks to the search feature in the Editor Toolbar Config dialog. View - Editor Macros... Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] New coding process - TDD is now old school
:-) It's called Code Monkey - coding to lyrics that generates the actual lyrics once compiled. It's something to see, rather than explain. And yes, the result is an actual program than runs on desktop and mobile devices! https://vimeo.com/120552479 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Howto scrolldown a TMemo on Linux by code?
for windows this code works ok, but no success for Linux, GTK: (* Memo2 ans Ende scrollen *) {IFDEF LINUX} // that doesnt work: Memo2.SelStart:=Length(Memo2.lines.Text); Memo2.VertScrollBar.Position:=1; {ELSE } // thats ok on windows SendMessage(Memo2.Handle, WM_VSCROLL, SB_BOTTOM, 0); {ENDIF} Lazarus 1.5 r48256 FPC 2.6.4 x86_64-linux-gtk 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 2015-05-12 12:34, Martin Frb wrote: Ctrl+Shift+L (List) the window. That key combo shows the debug dialog Local variables. The shortcut here doesn't work even though it is assigned, but I Maybe it is used by your OS ? Exactly for that reason (and some others) I rather use a window manager, not a bloated desktop environment like Gnome, KDE etc. I use JWM (Joe's Window Manager) and the only window manager keyboard combos I have defined is Alt+Tab (switch windows) and Alt+F4 (close windows). That way my WM doesn't interfere with any keyboard shortcuts of any applications. No worries, I've created a few macros, moved them to the IDE section and assigned new keyboard shortcuts to them. They seem to work, so I'm happy. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 12/05/2015 12:47, Graeme Geldenhuys wrote: On 2015-05-12 12:34, Martin Frb wrote: Ctrl+Shift+L (List) the window. That key combo shows the debug dialog Local variables. Interesting. local var should be ctrl-ALT-L -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 2015-05-12 13:01, Martin Frb wrote: That key combo shows the debug dialog Local variables. Interesting. local var should be ctrl-ALT-L Indeed, it seems I had both combos assigned to the local variables dialog. No idea how that happened, but then I do love to tweak the shortcuts. I use Dvorak keyboard layout, so some combos are just too Qwerty layout specific. Anyway, I removed the ctrl+shift+l one and reassigned it to the Macro List dialog. It works fine now. Thanks. ps; If anybody is ever bored enough, please implement a feature that lists keyboard shortcuts that are customised by the user (ie: not defaults). :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 12/05/2015 13:09, Graeme Geldenhuys wrote: ps; If anybody is ever bored enough, please implement a feature that lists keyboard shortcuts that are customised by the user (ie: not defaults). :) Open the editoroptions.xml and look for KeyMapping? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE / Editor macros?
On 2015-05-12 13:19, Martin Frb wrote: Open the editoroptions.xml and look for KeyMapping? Ah brilliant! If I ever meet you, remind me to buy you a beer. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New coding process - TDD is now old school
On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: ... and porting to Lazarus and done! https://havefunsoft.com/share/fpccodemonkey.zip (win32 tested) Sadly enough, the GUI version is using Application.ProcessMessages! You might find that it runs nonblocking proc (with fancy anonymous/closure functions used), but in the end it all executes in the main loop running ProcessMessages. As a matter of fact, the same result could be achieved with TTimer used - just wait for the first timer event and then sign the song (with ProcessMessages) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New coding process - TDD is now old school
And yes.. the video explains the purpose (and critical need) of '' identifiers http://freepascal.org/docs-html/ref/refse4.html#x16-150001.4 On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: :-) But still the video is worth seeing (... and porting to Lazarus) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New coding process - TDD is now old school
On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: :-) Despite of the video could be funny and quite smart (though not original, since matching code to human language has been out for years) I foresee the video back-firing at pascal developers: Are you a pascal (delphi) developer? - go sign about it! or Pascal (delphi) developers) are real code monkeys. All in all, if the best application of a language is to create a song video, we're at the dusk of programming languages evolution. Or maybe at the dawn of the regression. But still the video is worth seeing (... and porting to Lazarus) thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] IDE / Editor macros?
Hi, Where do I find this dialog (show in the wiki)? http://wiki.freepascal.org/IDE_Window:_Editor_Macros I can't find a Macro menu anywhere in the IDE, yet if I search for keyboard shorcuts via the Options dialog I see record macro Ctrl+Shift+R. There are a couple of actions I do very frequently in the editor, and SynEdit doesn't have those built-in, so I want to record some macros and hopefully assign keyboard shortcuts to them. The dialog shown in the wiki seems like what I want, but I can't find it. I'm using Lazarus 1.5 r48959 FPC 2.6.4 x86_64-linux-gtk 2 Example actions I use often in EditPad Pro, but doesn't exist in SynEdit (Lazarus). * duplicate the current line * move current line up or down * join next line with current line etc. ps: Using Ctrl+Shift+P doesn't do anything in my Lazarus. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Howto scrolldown a TMemo on Linux by code?
for windows this code works ok, but no success for Linux, GTK: (* Memo2 ans Ende scrollen *) {$IFDEF LINUX} // that doesn't work: Memo2.SelStart:=Length(Memo2.lines.Text); Memo2.VertScrollBar.Position:=1; {$ELSE } // thats ok on windows SendMessage(Memo2.Handle, WM_VSCROLL, SB_BOTTOM, 0); {$ENDIF} Lazarus 1.5 r48256 FPC 2.6.4 x86_64-linux-gtk 2 another question: How does this mailing list know to which question i post an answer? My first post was placed as an answer to IDE / Editor macros from Graeme Geldenhuys? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus