Re: [Lazarus] Terminal Component Available

2018-04-12 Thread Anthony Walter via Lazarus
R0b0t1, If you look at the sources you'll see I simply wrapped some of the functionality of gnome's terminal component inside a LCL TCustomControl class. Two function calls actually, vte_terminal_new and vte_terminal_fork_command_full. The gnome tool kit, or gtk for short, takes care of the rest.

Re: [Lazarus] Encrypted connection between Lazarus and Firebird

2018-04-11 Thread Anthony Walter via Lazarus
Use a socket to connect, and make it encrypted. Or ssl ... it can work on any port, not just 443. https://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx Or you could use ssh. http://www.firebirdfaq.org/faq113/ -- ___ Lazarus mailing

Re: [Lazarus] Dark themed lazarus

2018-04-11 Thread Anthony Walter via Lazarus
Juha, no I mean this, reflecting this, the old way the OI handled changes: http://cache.getlazarus.org/videos/drag-inspector.mp4 The lag is visceral. Whenever an item index changes, the entire OI is invalidated. My change repaints 2 items, the previous row, and the new row. It's must faster. --

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Anthony Walter via Lazarus
By the way, there is a small bug with the IDE I discovered while making this. If you dock a window, then right click and close it, or undock it, window cannot be docked again. You have to restart the IDE to be able to dock that window type. Here is a screen capture of the issue:

Re: [Lazarus] Terminal Component Available

2018-04-11 Thread Anthony Walter via Lazarus
I updated my archive to include support for a dockable window inside the Lazarus IDE. https://cache.getlazarus.org/videos/vte-embedded.mp4 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Terminal Component Available

2018-04-10 Thread Anthony Walter via Lazarus
I'm am starting a new thread because I've completed my task. Here is a terminal component for Lazarus that is easy to reuse. https://cache.getlazarus.org/archives/terminal.7z To install, make sure you're on Linux with a Gtk2 copy of Lazarus. Open package terminaldsgn.lpk, install, and rebuild

Re: [Lazarus] E,bedding a terminal window in Lazarus

2018-04-10 Thread Anthony Walter via Lazarus
Okay, well I got some stuff done. I'm able to create a fully working terminal application using fpc, but when I try to incorporate it into a TWinControl there are some problems: https://cache.getlazarus.org/videos/vte-control.mp4 Notably, I believe the LCL gtk2 widgetset makes some core

[Lazarus] E,bedding a terminal window in Lazarus

2018-04-09 Thread Anthony Walter via Lazarus
It looks like adding a terminal window to any Gtk 2/3 application isn't that difficult if you use a library called libvte. I am considering writing an IDE package to do this, but wanted to know if anyone knows if this has been done before, and if the libvte functions already have a pascal

Re: [Lazarus] Dark themed lazarus

2018-04-05 Thread Anthony Walter via Lazarus
Maceij, I get the same lag both in the docked form designer and the normal form designer when it comes to dragging controls around the form. My idea is to create a bit, and not actually move the controls when you are dragging, but rather move or resize an overlay window previewing the new shape.

Re: [Lazarus] Dark themed lazarus

2018-04-05 Thread Anthony Walter via Lazarus
About the patch, I am still making some changes, but what I've done is the this. Currently the object inspector draws every row even if it doesn't need redrawing. I modified the SetItemIndex method to InvalidateRect the OldIndex and NewIndex, then only redraw those two rows in DoPaint. I added a

[Lazarus] Dark themed lazarus

2018-04-05 Thread Anthony Walter via Lazarus
I finally got an acceptable darked themed version of Lazarus setup. http://cache.getlazarus.org/images/lazarus-dark.png Running Linux Cinnamon Theme is named Arc Darkest Maxmimus extension added to remove titlebars Code editor colors mostly ripped from VS Code Btw, if anyone runs Linux Gtk2

Re: [Lazarus] Test this please

2018-03-31 Thread Anthony Walter via Lazarus
Kostas, It's written in C# and an ASP.NET application. It's easy enough to setup on Windows, Linux, or even on a Raspberry Pi. The instance I linked originally is actually running on an Amazon micro EC2 instance. For those using Debian based Linux, getting ASP.NET running on Apache is as simple

Re: [Lazarus] Test this please

2018-03-31 Thread Anthony Walter via Lazarus
> pdf is not associated. I am not sure if pdf is previewable in a browser except maybe through a frame? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Test this please

2018-03-28 Thread Anthony Walter via Lazarus
Thanks for the feedback Norbert. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Test this please

2018-03-26 Thread Anthony Walter via Lazarus
wkitty42, Okay will add it. Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Test this please

2018-03-26 Thread Anthony Walter via Lazarus
Santiago, Thanks for the feedback. Regarding the failed login, my initial though was to not add a "Failed login" dialog for security purposes. That is to not tell people why nothing happened in an attempt to better secure your files. Several people have already mentioned this problem, so I may

[Lazarus] Test this please

2018-03-25 Thread Anthony Walter via Lazarus
Hey guys. I wrote this web tool a while ago which emulates a desktop application in a few ways and wanted some feedback. http://storage.codebot.org login: tester password: funkytown The tool is a private cloud file server application. People will be able to get the source and configure it on

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Anthony Walter via Lazarus
I've written a pascal version of some color controls which I've ported to Lazarus. Here is a link to a page with demo video: https://www.codebot.org/delphi/?doc=9524 These controls includes a hue picker that has 2 styles (radial as shown and bar), a saturation pick again with 2 styles, and an

[Lazarus] Linux make libQt5Pas fails

2018-03-18 Thread Anthony Walter via Lazarus
On Linux when following the instructions in the in lcl/interfaces/qt5/cbindings/README.TXT, I get this error during the make stage: g++ -c -m64 -pipe -Wfatal-errors -g -w -D_REENTRANT -fPIC -DBINUX -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB

Re: [Lazarus] Help: What color group is this?

2018-03-18 Thread Anthony Walter via Lazarus
Thanks, that did it. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Help: What color group is this?

2018-03-18 Thread Anthony Walter via Lazarus
I am trying to create some alternate styles for Lazarus and its code editor but am having a problem identifying some elements. Can anyone tell me what element group to which these belong? http://cache.getlazarus.org/images/code-color-problem.png These elements appear when you put your cursor on

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-14 Thread Anthony Walter via Lazarus
Juha, Thanks for the info about tree views. I had attempted to alter the theme on Linux with Qt4 widgetset and a stylesheet argument on the command line and I noticed the tree views were not taking on the styles I defined. I think they probably need to be adjusted to respect system colors at the

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-12 Thread Anthony Walter via Lazarus
Graeme, I looked at some on your fpGUI screenshots and some are quite nice. What's the compatibility level of your controls with LCL controls code wise? Also, what graphics API are you using for different platforms? For example have you implemented a common advanced graphics API bridging Cairo on

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-12 Thread Anthony Walter via Lazarus
Graeme, thanks for the feedback. To everyone, I already have a plan for a basic theme system for all platforms which I'll be publishing as a design time package soon. It will work using text theme define files, and apply properties values to everything in the IDE using a pattern matching system

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-09 Thread Anthony Walter via Lazarus
Ralf, I believe your response was to to dark screenshot. I was hoping people would not consider one particular style and judge customization one that, but rather the idea of making customization of colors and size user accessible. Regarding completeness of custom colors and themes, yes some items

[Lazarus] Special Request: Theme entire IDE support

2018-03-09 Thread Anthony Walter via Lazarus
I just wanted to put this idea out there, which I feel would bring significant pleasure to a lot of Lazarus users. Would someone consider adding or working on support to theme the entire Lazarus IDE? I've found myself quite fond of darker themed IDE, such as VS code: Darker themed IDE example

Re: [Lazarus] Lazarus Release 1.8.2

2018-03-01 Thread Anthony Walter via Lazarus
I just wanted to point out that in the 1.8 svn branch the docked sparta form designer does not work with the gtk2 toolkit. A fix was issued in October here: https://bugs.freepascal.org/view.php?id=32199 But it didn't seem to make it into the 1.8 branch. --

Re: [Lazarus] Gtk2

2018-02-19 Thread Anthony Walter via Lazarus
Maybe homebrew as well. I've heard from most people that brew is better than ports. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] lazopenglcontext on Raspberry Pi?

2017-10-20 Thread Anthony Walter via Lazarus
I've done a bit of work on Pi and OpenGL and thought I'd give you some advice. 1) Pi only supports OpenGL ES contexts 2) Depending on your raspberry OS configuration, OpenGL ES might only be supported when X window manager is not running. 2a) Raspbian defaults to allow OpenGL in with X window

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-21 Thread Anthony Walter via Lazarus
Marcos, What and where are James.Data, James.Data.Clss? Have you seen my XML interface at this url? https://github.com/sysrpl/Cross.Codebot/blob/master/source/codebot.text.xml.pas It might be helpful to study and/or consider. Example: var D: IDocument; N: INode; F: IFiler; begin D :=

Re: [Lazarus] TCustomControl.Caption setter needs Invalidate

2017-07-30 Thread Anthony Walter via Lazarus
While we're at it, why is THintWindow.Paint moved to public? Please fix back to protected. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Sparta Form Designer change

2017-07-26 Thread Anthony Walter via Lazarus
Please see issue #32209 for a working fix. Someone familiar with the LCL Qt widget implementation needs to look at this in more depth. https://bugs.freepascal.org/view.php?id=32209 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Sparta Form Designer change

2017-07-26 Thread Anthony Walter via Lazarus
No I didn't try that, but I did right now. It locked up my linux. I couldn't even switch to another tty. I'll look into it and possibly file a bug. Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Sparta Form Designer change

2017-07-26 Thread Anthony Walter via Lazarus
Juha, I just tested on Qt4 (I haven't tested Qt5 yet) and the sparta form designer is working great with the latest svn trunk, with one outstanding problem: TMainMenu is not working correctly with the Qt4 widget set. video

Re: [Lazarus] Sparta Form Designer change

2017-07-25 Thread Anthony Walter via Lazarus
Juha, Thanks. I will install Qt and compile a second copy of lazarus to test this issue. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-25 Thread Anthony Walter via Lazarus
Ah, I didn't know about "Edit context help". Here are a few things to of note. Application explorer is not directly tied to the Lazarus IDE. Meaning it can be deployed with applications written with Lazarus: http://video.getlazarus.org/appexploredoceditor.mp4 Also beyond the context help

Re: [Lazarus] Sparta Form Designer change

2017-07-24 Thread Anthony Walter via Lazarus
Thanks, tests and working great on win, mac, and gtk2 linux. I suspect maybe it works on qt linux as well. BorderStyle and BorderIcons work as well. Good job and thank you :) Please set these issues to resolved and i will close: 032183 032171 032170 029615 Note: I will be filing two more

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-24 Thread Anthony Walter via Lazarus
Ondrej, Okay will do. This tool actually helped me fix the sparta docked form designer yesterday and I submitted a patch. Also, the online package manager ought to be integrated into lazarus, such that you can browse and install packages from within the IDE. and if that's the case maybe we could

[Lazarus] Sparta Form Designer patch

2017-07-24 Thread Anthony Walter via Lazarus
Maceij, I put together a patch for the sparta docked form designer and attached it to this issue: https://bugs.freepascal.org/view.php?id=32194 This fixes the designer on gtk2, and probably qt as well. I made a few small changes, some of which are hacks, notably the fix for BorderStyle. I also

Re: [Lazarus] Video: Terrain Demo

2017-07-23 Thread Anthony Walter via Lazarus
opengl es 2, where possible, then opengl 2.1 with some compatibility fixes. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-23 Thread Anthony Walter via Lazarus
I think this tool should be added to the lazarus components folder. I've been trying to fix issues with the sparta docked form designer and fell back to debugging/testing using a tool I wrote some time ago. It has helped me understand the structure of the sparta designer a lot. It's helpful in

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
Okay I tested on OSX. The sparta docked form designer mostly works. Notable problems on OSX are: 1) Forms appear at runtime without a border. This can be fixed by setting the BorderStyle at runtime to bsSingle or bsSizeable. Note setting the BorderStyle at design time causes the border to be

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
If it wasn't clear, here are the EXAMPLE units which define and register an inheritable form. Example note form: https://github.com/sysrpl/dockedform/blob/master/docknotefrm.pas The logic of the registration code: https://github.com/sysrpl/dockedform/blob/master/dockerformdesign.pas Usage:

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
Okay I've tested on windows it it works great, but not at all on gtk2 linux. I created a test project for inherited forms, because it might not be so straight forward for some of you test. I attached the test project to issue 29615 Here is a page with a video screen capture of the docked form

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
I tested on windows a few hours ago and noticed a few things. The biggest problem is that even without sparta installed, inherited forms is no longer working in trunk revisions. In fact when I try to register and then create an inherited form using the "File > New..." dialog, the lazarus IDE

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
I don't use for qt lcl widget set, but I can test under window, linux gtk2, and mac carbon. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Sparta Form Designer change

2017-07-19 Thread Anthony Walter via Lazarus
Okay, I was a little fast on the submit with my last message. I checked with the bug tracker and I can see the sparta related issues to test. Thanks for the fixes and kudos. Your work is very much appreciated! -- ___ Lazarus mailing list

Re: [Lazarus] Video: Terrain Demo

2017-07-14 Thread Anthony Walter via Lazarus
Update: I added the a "mars" planet style to the example. This new style includes depth of field and atmospheric effects. https://www.getlazarus.org/videos/bareterrain/#mars -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] Lazarus not recognizing 32 and 64 cross compile

2017-06-19 Thread Anthony Walter via Lazarus
I recently rebuild fpc and lazarus from svn truck sources on osx sierra. Within lazarus previously I was able to refer to my_freepascal_path/bin/fpc as the compiler and cross compile to both 32bit and 64bit darwin. Now I have to select my_freepascal_path/bin/ppccrossx64 to get access to the 64bit

[Lazarus] Lazarus/Free Pascal wasn't even an option in this "best languages to write a desktop Linux application" list

2017-05-01 Thread Anthony Walter via Lazarus
Over on the slant website Lazarus wasn't even an option for the following question: What are the best languages to write a desktop Linux application in? Link: https://www.slant.co/topics/635/~best-languages-to-write-a-desktop-linux-application-in I added Lazarus/Free Pascal to this list just

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Anthony Walter via Lazarus
Thank you all for the feedback and discussion. From me, the implementer and designer, I can say the most difficult part of creating this project, and in most projects, is not the actual programming. It's the creation of the user interface design. Choosing and creating a layout, and deciding on css

Re: [Lazarus] https website for Lazarus

2017-03-14 Thread Anthony Walter via Lazarus
Graeme, By far most of the heavy stuff is images and I don't see that as a bad thing. If you have a subject you want people to explore, you need to represent it well. Of course a website could just be static text, but if put some screen shots on the front page, maybe a gallery, rotating images

Re: [Lazarus] https website for Lazarus

2017-03-14 Thread Anthony Walter via Lazarus
I just thought I'd share my experience with http://www.getlazarus.org I added https to it a few months ago using let's encrypt. The experience was pretty easy. The only hiccup I had/still have is that I serve images/video using S3 with a subdomain CNAME to improve performance. I had to use a

Re: [Lazarus] allow/Deny user to show form

2017-02-15 Thread Anthony Walter via Lazarus
What you probably should do is create a function to show a form of any class for you, and put that security check in that one place. Example: function ShowForm(FormClass: TFormClass; Modal: Boolean = False): Boolean; begin // your global function to check if a user can access a form class

[Lazarus] DoomRL based of FPC now open sourced

2016-12-07 Thread Anthony Walter via Lazarus
I'm not sure if this is the appropriate list, but I thought everyone would like to know that the original DoomRL source code has been released. It is located here: https://github.com/ChaosForge/doomrl DoomRL is/was a popular rouge like game made in the spirit of the original Doom by id software.

[Lazarus] Notice: Due to Hurricane Matthew I'll be unavailable for the next few days

2016-10-05 Thread Anthony Walter via Lazarus
Due to Hurricane Matthew I'm being evacuated from my home for a few days. If anyone wants to check up on me or my home I've set up a continuous live video stream from my living room. It can be used to monitor the current situation. My living room video stream:

<    1   2   3