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.
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
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.
--
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:
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
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
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
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
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.
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
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
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
> 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
Thanks for the feedback Norbert.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
wkitty42,
Okay will add it. Thanks.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/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
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
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
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
Thanks, that did it.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/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
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
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
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
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
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
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.
--
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
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
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 :=
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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.
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:
201 - 256 of 256 matches
Mail list logo