Re: [Lazarus] Sparta Docked Formed Editor Removed Without Discussion?

2023-10-16 Thread Anthony Walter via lazarus
Thank for for such a prompt and relevant response. I just noticed from the GitLab commit comment the alternative was listed right there. To all others please disregard my original message. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https:/

[Lazarus] Sparta Docked Formed Editor Removed Without Discussion?

2023-10-16 Thread Anthony Walter via lazarus
I have been happy using Lazarus without rebuilding the IDE from source for some time but yesterday I finally built a new version from GitLab source trunk. I noticed that the Sparta docked form editor was removed and there doesn't seem to be any discussion here on the subject. Is there an equivalen

[Lazarus] GTK 3 Widget Set Status?

2023-09-26 Thread Anthony Walter via lazarus
Would someone be so kind to tell me if the GTK 3 widget set is working yet? Does the IDE work when built using GTK 3 and can I write most normal desktop applications using GTK 3 right now when using the a most recent trunk revision? What's not working in a general sense? I thought I'd ask you guys

[Lazarus] Copilot, VS Code, and OmniPascal

2023-05-15 Thread Anthony Walter via lazarus
Hello all! I would very much like to use Github Copilot with Free Pascal, and possibly within the Lazarus IDE. I have been using Github Copilot a lot recently with my C and C# coding projects and have found it to be an immensely useful tool. Recently I used it rapidly to create documentation comm

[Lazarus] More Flood Photos

2022-10-02 Thread Anthony Walter via lazarus
By your request here are more photos I took as hurricane Ian passed Cape Canaveral. Clubhouse Boardwalk Manatee -- __

[Lazarus] Improving my Pascal Simulation with a Fragment Shader

2022-09-13 Thread Anthony Walter via lazarus
I am writing some demos for my Tiny Sim library and also teaching kids programming. I wrote an interesting tutorial that is a good introduction to writing fragment shaders and thought I'd share it with you guys on this forum. https://www.getlazarus.org/pool/rendering/ I hope you find it education

Re: [Lazarus] More Gtk3 Status

2022-07-20 Thread Anthony Walter via lazarus
After some research, I found a few more serious issues with Gtk3. I will not bother filing bugs as the issues seem too ingrained to the implementation. Here are some problems: 1) TGtkWidget makes custom drawing an inaccessible private field value that cannot be set. What this means is that only c

Re: [Lazarus] More Gtk3 Status

2022-07-15 Thread Anthony Walter via lazarus
Kostas, We already have an object oriented layer to interact with controls. That layer is the LCL. What you are saying is it makes sense for each widgetset to create their own separate and independent class hierarchy, or to use TWidgetInfo, or have something akin to: LCL-> WSClasses -> TSomePla

Re: [Lazarus] More Gtk3 Status

2022-07-15 Thread Anthony Walter via lazarus
Denis, I will attempt the big design flaws I have found so far while wrangling with the current Gtk3 widget implementation. There are three main layers underpinning cross platform LCL widgetset. 1) We obviously have the LCL itself that mimics the VCL and creates a cross platform component and con

Re: [Lazarus] More Gtk3 Status

2022-07-15 Thread Anthony Walter via lazarus
Respectfully, I believe the current underlying implementation of Gtk3 is fundamentally a bad design making it unnecessarily difficult to work with. I do not see it being completed and see its poor design as a large part of the reason it has been languishing for so long. --

[Lazarus] More Gtk3 Status

2022-07-15 Thread Anthony Walter via lazarus
Last year in September 2021 I wrote this list asking about the status of the Gtk3 widgetset implementation for Lazarus. The consensus at the time seemed to indicate that the package was still incomplete and had no maintainer. Over the past few days, I have been attempting to add Gtk3 widgetset sup

[Lazarus] Codebot Cross Landing Page and Update

2022-07-01 Thread Anthony Walter via lazarus
Hello everyone. I wanted to let you all know I created a landing page for my recently updated Codebot Cross library. I've been working on the library as my base set of units for some time now, but have only been pushing updates to my private git server. With a FOSS application I published recently

[Lazarus] 6000+ Open Source Icon Tool and Git Repository

2022-06-30 Thread Anthony Walter via lazarus
Hi guys. I just wanted to post some information to this board about a cross platform programming and designer tool I wrote using Lazarus. https://www.getlazarus.org/apps/matview/ This tool is called Material Design Icon Viewer, and in summary, it allows programmers and designers to quickly browse

Re: [Lazarus] Type Library Viewer, Importer, and Editor?

2022-06-26 Thread Anthony Walter via lazarus
Thank you for the information. I'll take a look ay and see if it can be improved. I normally use Linux these days, which obliviates all use or reference to type libraries, but I have a need to write a program to automate AutoCAD with some specific hardware I recently acquired. While working with C

[Lazarus] Type Library Viewer, Importer, and Editor?

2022-06-26 Thread Anthony Walter via lazarus
Does Lazarus have a type library viewer for previewing all the type libraries on your computer in the form of converted pascal source code? Does Lazarus have a type library editor allowing you to define plain COM and automation interfaces, enums, records, and such as IDL? If so does this tool gene

[Lazarus] Programming Mechanical Simulations

2021-12-15 Thread Anthony Walter via lazarus
I wanted to share this . I can't stop writing code. I was inspired to design a program that can convert any SVG drawing into a simulation of a physical machine. I am just getting started writing such a program, but have had some promising initi

[Lazarus] All Demos Are Done

2021-12-02 Thread Anthony Walter via lazarus
I've completed writing all the demos and most of the documentation for my soon to be released vector graphics and physics simulation library. The library is named Tiny Sim and the first version will be published soon. I have lots of planned features and improvements to come. If you are interested

Re: [Lazarus] New Synthwave Demo

2021-11-30 Thread Anthony Walter via lazarus
Did someone steal access to Juha's email? Not only are his ramblings off-topic, but he sounds like a deluded conspiracy theorist bent on disenfranchising rational people from using these mailing lists. -- ___ lazarus mailing list lazarus@lists.lazarus-id

Re: [Lazarus] New Synthwave Demo

2021-11-30 Thread Anthony Walter via lazarus
Here you go: https://en.wikipedia.org/wiki/Synthwave Also this: https://duckduckgo.com/?q=synthwave&iax=images&ia=images -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] New Synthwave Demo

2021-11-29 Thread Anthony Walter via lazarus
Hi guys, I just wanted to let you know I completed writing my final demo to be included in my soon to be released vector graphics and custom UI toolkit. On this page is the video and source code of the project. -- ___

[Lazarus] Vector Based UI Supports Any Transform

2021-11-23 Thread Anthony Walter via lazarus
I've been busy with family ongoings the past week but managed to squeeze in a small quality of life improvement to my vector graphics toolkit with UI widgets and SVG parsing and rendering support. https://streamable.com/cv137g Above is a link to a quickly recorded video demonstrating UI widgets s

[Lazarus] SVG Rendering Performance using Free Pascal

2021-11-17 Thread Anthony Walter via lazarus
I was watching an older video from Nvidia regarding their path rendering extensions, a feature specific to their video card drivers. I've written a more open implementation and have run an initial quality and performance test. https://www.youtube.com/watch?v=fTm_s_pCBEM This is test was run on an

[Lazarus] Rendering SVG Documents in realtime in less than 160 lines of code

2021-11-14 Thread Anthony Walter via lazarus
It took me about 24 hours to design and write an SVG parser and rendering system from scratch. You can check it out on this page: https://www.getlazarus.org/videos/physics/svg/ The source code for the rendering is only 156 lines of Pascal code, Most of the work is done by the parser. It even hand

Re: [Lazarus] Crayon physics written in Pascal

2021-11-11 Thread Anthony Walter via lazarus
Thank you. Corrected. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Crayon physics written in Pascal

2021-11-11 Thread Anthony Walter via lazarus
In less than 500 lines of code, I created a crayon physics demo program using Free Pascal. Check it out at the link below. Source code is included at the bottom of the page. https://www.getlazarus.org/videos/physics/catapult/ I've tested it out and it runs well on Windows, Linux, Mac, and smoothl

[Lazarus] Asteroids in Pascal

2021-11-09 Thread Anthony Walter via lazarus
As one of several demos of my vector graphics library for Free Pascal, I've recreated an arcade game. I've included a copy of the entire game logic code. Check it out here: https://www.getlazarus.org/videos/physics/asteroids/ -- ___ lazarus mailing lis

Re: [Lazarus] GTK3 Status?

2021-09-10 Thread Anthony Walter via lazarus
After more research, here is a small bit of anecdotal information from my tests. Using the most recent git version LCL GTK3 seems to run somewhat but has errors and operates incorrectly in some situations. There seems to be rendering problems when I tested a TTIPropertyGrid. Colors and line styles

Re: [Lazarus] GTK3 Status?

2021-09-10 Thread Anthony Walter via lazarus
After a small bit of research, it looks like most of the information related to the LCL GTK3 can be found on this page. I am unsure how up to date the issues are as the README.txt file was last updated 8 years ago. https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/gtk3

[Lazarus] GTK3 Status?

2021-09-10 Thread Anthony Walter via lazarus
Can anyone tell me who is actively working on the LCL GTK3 or greater toolkit and also possibly refer me to a page or document listing what work was is or is remains to be done on it? Thanks, Anthony -- ___ lazarus mailing list lazarus@lists.lazarus-ide

[Lazarus] Going Through My Educational Projects Material

2021-05-10 Thread Anthony Walter via lazarus
Upon request of some of the parents of the kids I teach, I am working on a document providing an overview of the methods, materials, and content used in my online classes. Thanks to a new government resource upon approval the parents of the kids I teach may be able to get reimbursement from the gov

Re: [Lazarus] Clipboard Data Goes Away

2021-04-01 Thread Anthony Walter via lazarus
Colin, After some research I've found that LCL Gtk2 isn't using gtk_clipboard_x functions, rather it's using gtk_selection_x functions. There are gtk_clipboard functions to do the same thing as gtk_selection functions, but because the gtk_clipboard functions are not being used, the gtk_clipboard_s

Re: [Lazarus] Clipboard Data Goes Away

2021-04-01 Thread Anthony Walter via lazarus
Here is a follow-up. I wrote a simple test using LCL Gtk2 and gtk_clipboard_store. This test allows the clipboard data to persist after my program exited. Button1 click sets the clipboard data. If Button2 clicked the data will persist after the program exits. If Button2 is not clicked, the data do

Re: [Lazarus] Clipboard Data Goes Away

2021-04-01 Thread Anthony Walter via lazarus
Thanks Michael. It looks as if this problem was fixed in Gtk2 by version 2.6. The developers added this function to work around this problem: void gtk_clipboard_store (GtkClipboard *clipboard); Stores the current clipboard data somewhere so that it will stay around after the application has quit

Re: [Lazarus] Clipboard Data Goes Away

2021-04-01 Thread Anthony Walter via lazarus
Perhaps there is a Linux service that can be used by applications to hand over and take ownership of clipboard data, and applications such as those I mentioned are using it in order to solve the problem I am describing? -- ___ lazarus mailing list lazaru

Re: [Lazarus] Clipboard Data Goes Away

2021-04-01 Thread Anthony Walter via lazarus
I noticed a recent discussion touching on this problem posted by Bo Berglund on November 20, 2020 to this same mailing list. Andreas Schneider replied in that thread, 'Pasting basically asks the application that "copied" it to get the content. If that app is gone in the meantime, there's nothing t

[Lazarus] Clipboard Data Goes Away

2021-03-31 Thread Anthony Walter via lazarus
On Linux Gtk2, over time I have noticed a problem where data copied to the clipboard by a Lazarus application does not persist on the clipboard after the Lazarus program has exited. While writing this application that captures image da

Re: [Lazarus] *** SPAM *** Open Source IDE Written Using Delphi

2020-12-26 Thread Anthony Walter via lazarus
Why was the subject of my submission changed with "*** SPAM ***" inserted? Curious -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Open Source IDE Written Using Delphi

2020-12-26 Thread Anthony Walter via lazarus
I thought this bit of information might be of interest and useful to us Lazarus people. Apparently Embarcadero has forked the Bloodshed IDE and rewritten it to run natively using Delphi. Although this is a

Re: [Lazarus] We are planning the next release: Lazarus 2.0.10

2020-06-23 Thread Anthony Walter via lazarus
Alexey, So Cocoa actually is stable now? That's great news! I'll be sure to test it out. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TSQLQuery component editor

2020-04-30 Thread Anthony Walter via lazarus
Great! I'll test it out shortly. Thank you for enhancements :) -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-02 Thread Anthony Walter via lazarus
Martin, I haven't reported this bug because it's difficult to reproduce, but with some of the recent releases and many of the trunk check in there seems to be a lot of problems with the sparta docked form designer (DFD), at least on Linux gtk2. What happens is that with the DFD installed on Linux

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-29 Thread Anthony Walter via lazarus
Teresa, thank you for your considered opinion. I agree with most of what you said, but with regards to the option of moving back to Windows, for me that is a non starter. I don't use Linux rather than Window because of some technical benefit. The primary reason I use Linux because I don't want to

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Anthony Walter via lazarus
Juha, I saw someone had had modifications and unfortunately it caused the appindicator to stop working on my desktop. I rolled back the version to my last check in and it worked again. I also found that on the Cinnamon desktop you can add a systray applet and the old Gtk2 style tray icons work, al

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Anthony Walter via lazarus
Michael, I've been using the Linux desktop as my primary OS since 2006. I had dabbled in in before, but typically went back to windows when my networking had troubles. That said, I want Linux to be better. Yes I understand your points, but please understand even when you choose an environment lik

[Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Anthony Walter via lazarus
On Linux ... I was looking at the Unity tray icon code I submitted a while back and it had stopped working on my desktop environment. I was also looking for a way to track user log off events, monitor clipboard history, and how to register a global hot key. The sheer scattering of different syste

[Lazarus] Problems teaching kids programming

2020-03-24 Thread Anthony Walter via lazarus
Here is something I had to resort to this to teach one of my students: https://www.getlazarus.org/learn/courseware/homework/project-4/ For the effort I made for this one child in creating this lesson, I thought I'd at least share my sorrows. -- ___ laz

[Lazarus] Gtk2 Linux detect user logoff?

2020-03-23 Thread Anthony Walter via lazarus
Does anyone here know how to detect user log off and gracefully terminate under Gtk2 Linux? I have an app which uses some temporary files (in /tmp) and I want to ensure those files are deleted when the user logs off. The application query/end session events don't seem to be connected when using the

Re: [Lazarus] Linux GNU Debugger Freezing App on Run

2020-03-09 Thread Anthony Walter via lazarus
> > Thanks for that help Martin. It would seem gdb itself is hanging and it's tied to some code in my library that was problematic previously. I don't believe I am doing anything wrong, but it's related to a problem I had with gdb. I will research further to try to isolate the exact cause. --

[Lazarus] Linux GNU Debugger Freezing App on Run

2020-03-09 Thread Anthony Walter via lazarus
Has anyone else experienced the following problem? I continually have a problem where running a program on Linux with the GNU debugger through Lazarus results in either no control showing on my form or controls show but everything is frozen. This happens occasionally, probably on about 50% of the

Re: [Lazarus] libgphoto2 camera capture and control

2020-03-03 Thread Anthony Walter via lazarus
My libgphoto2 pascal file is located here . That's what I've been doing on an idle timer, but admittedly when I submitted the changes I didn't actually change any of the libgphoto2 "widget" values. I just am calling ... function TCa

[Lazarus] libgphoto2 camera capture and control

2020-03-03 Thread Anthony Walter via lazarus
Does anyone know if any projects exists for libgphoto2? I wrote an object oriented interface to libgphoto2 and have a problem with tethering (using the computer to control a camera) where after some time my camera will turn off during a period of inactivity. To reset camera tethering you have to

[Lazarus] Multiple type helpers not support by CodeTools

2020-02-28 Thread Anthony Walter via lazarus
I was creating a library with uses the new {$modeswitch multihelpers} with multiple type helpers and it would seems CodeTools has not been updated to support this switch or the functionality of multiple type helpers per type. When you use the switch and multiple helpers CodeTools sees lines which u

[Lazarus] Delphi is 25 years old today

2020-02-14 Thread Anthony Walter via lazarus
As the title says, Delphi turns 25 years old today. A discussion is going on over here on hacker news . Feel free to chime in there to let other people know Free Pascal and Lazarus is free open source software, under active development, and is better i

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Anthony Walter via lazarus
Darius, No I hadn't heard of GLPT before you posted the link. It looks interesting, but I was just reading up on SFML and had a few thought which are pertinent. I've been using SDL, and although it's a fairly good library, there are other libraries which offer a few more features that I'd had to i

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Anthony Walter via lazarus
Marc, The library does not have any code to manage creating a window, creating a valid opengl context, or handle event processing. These are things which are not exactly trivial in nature, especially in a cross platform manner. Typically for simplicity makers of OpenGL demos rely upon things like

[Lazarus] NanoVG Graphics

2020-01-25 Thread Anthony Walter via lazarus
I am starting a rewrite of my 2D hardware accelerated Pascal graphics library based on an OpenGL 3D backend, and I stumbled across an open source project called NanoVG. I am impressed with how small and self contained NanoVG is, and although I will recreated my 2D graphics library upon OpenGL witho

Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-02 Thread Anthony Walter via lazarus
If anyone wants to follow along with this problem, I've posted a question about it on askubuntu here: https://askubuntu.com/questions/1185729/ubuntu-19-10-gdb-nearly-unusable-long-delay -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://l

Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-01 Thread Anthony Walter via lazarus
An update. I installed Linux Mint 19.2 on the same laptop and re-ran my install script. The problem previously described with gdb did not present itself. This leads me to believe there is some kind of problem with gdb in Ubtuntu 19.10, the prior OS I was testing. > --

Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-10-31 Thread Anthony Walter via lazarus
Stripping debug symbols from my test program has no effect. The gdb program still takes 20-30 seconds to open my text programs written using Lazarus. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] gdb problems on ubtuntu 19.10

2019-10-31 Thread Anthony Walter via lazarus
I know this problem is not entirely Lazarus related, but I'm hoping someone here might be able to provide some insight. On a fresh install of Ubuntu 19.10 when running projects from Lazarus with gdb debugging, any and all projects take anywhere from 20 to 30 seconds to become interactive after a p

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-18 Thread Anthony Walter via lazarus
Ryan, Regarding config files, the lazarus.app file is configured to get and set all configuration data from the install/lazarurs/config folder. There should be no conflicts with other existing installations. Regarding lazarus 2.2, yes there is a typo in the installer. The lazarus version is 2.1.

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
I have to search my backup drives for some of this code, but I believe I also added a few extra classes to simplify some of the weirdness of Apple's classes. For example I greatly simplified the steps needed to work with CGContext and CGBitmapContextCreate such that it was completely transparent. A

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
Dimitry, What I've done is created a reference counted class hierarchy to match part of the Cocoa framework. It's only partially done, but it allows Pascal code to be written to simplify interaction with native OSX frameworks and APIs like AppKit in the following ways: Using NSWindow class as an

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-15 Thread Anthony Walter via lazarus
Note to all, the install source I posted comes from a random clone of svn trunk fpc and trunk lazarus put together from whatever was in the svn repository on Saturday. As such it might contain any number of potential bugs. That said, the reason trunk sources should be used is that the Cocoa widgets

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Here is a short video where I demonstrate how to switch between the gdb and lldb inside Lazarus. I also demonstrate how to move docked windows. There is no audio, but anyone should be able to follow along. Interestingly the Cocoa widgetset throws an exception when a docked window is undocked or do

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Ryan, To answer your question, I just haven't taken the time to try out lldb yet. I guess it can be switched to lldb in the Lazarus interface. About that crash, it probably comes from somewhere in the Cocoa widgetset, which is currently still in development. It's far along enough to enable the La

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Also, about code signing gdb, my setup script will install it for you using either Homebrew or Macports, you get to choose. You may want to try these alternate steps and skip the debugger install steps (the script already installed it), and proceed with the code signing steps: https://gist.github.

Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Martin, Yes I read the message requesting lldb testing the other day. I haven't taken the time to test it yet, but as I understand it's a great project that will hopefully allow for better debugging (such as inspecting and changing properties at runtime) but is still missing some important functio

[Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-10-14 Thread Anthony Walter via lazarus
Testers need. I created a new installer for OSX that includes a 64-bit only Cocoa version of FPC and Lazarus. I don't have Catalina installed, so I am looking for testers and any variety of OSX. The installer is a shells script that will walk you through Xcode, Homebrew or Macports, as well as se

Re: [Lazarus] Default color of form in RGB?

2019-10-13 Thread Anthony Walter via lazarus
Bart, that was exactly what I was looking for. Thank you so much! -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Default color of form in RGB?

2019-10-13 Thread Anthony Walter via lazarus
Okay, you made me laugh, but I hope you were joking. Just to be clear I don't mean to ask how to get the color of something on my screen, I meant how to calculate at runtime the default color of a form in RGB on all platforms without having to take a screenshot of the form. --

[Lazarus] Default color of form in RGB?

2019-10-13 Thread Anthony Walter via lazarus
Does anyone know of a reliable way get the default color of a form (as in clDefault) in RGB? I am writing some code to prepare bitmaps and I want their background to match the default color of a form. Unfortunately I don't see a way to convert clDefault to an RGB value. --

Re: [Lazarus] Install Lazarus on Mac OSX Catalina

2019-10-13 Thread Anthony Walter via lazarus
I'm not on Catalina yet, but I tried building a cross compiler for Cocoa with 64bit OSX earlier today and failed. It seems that Lazarus on OSX can't see a 64bit compiler if you use cross install. What I thought would work was: make all make install INSTALL_PREFIX=`pwd` crossinstall OS_TARGET=darw

[Lazarus] OSX Catalina removes 32-bit and Carbon. Options?

2019-10-10 Thread Anthony Walter via lazarus
So it would seem that OSX Catalina entirely removes support for 32-bit applications and the entire Carbon toolkit. That means that Lazarus on Catalina will only work with 64-bit applications and the Cocoa toolkit. Where does this leave Lazarus? Does the Lazarus IDE compile and operate as exepcted

Re: [Lazarus] JsonTools issues in GH

2019-10-02 Thread Anthony Walter via lazarus
Thank you for posting that. I hadn't reviewed these issues at all until right now. It looks like all the issues posted aren't actually issues, save for the dual license request. All issues posted all already covered in the comments embedded in the original source. I will update them forthwith. Ant

Re: [Lazarus] Feedback requested: File Search, a visual file search utility

2019-09-27 Thread Anthony Walter via lazarus
Bart, Thanks for suggesting TMaskList. I added it in and it works much better than the normal FindFirst pattern matching. It also allowed me to remove the duplicate checking. Regarding TShellView, you might want to look at my Shell Control library. It is explorer for Windows, as well as a few oth

Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Anthony Walter via lazarus
>From what you describe it would seem a simple script or program invoked through cron would be the best way to tackle this problem. Another option is the watch command, which can execute a program every x intervals. And of course if you want to kick off a process when run, you can add a script to i

Re: [Lazarus] Feedback requested: File Search, a visual file search utility

2019-09-25 Thread Anthony Walter via lazarus
Thanks. I'll look into TMaskList. I assume you mean this bit of code? https://github.com/alrieckert/lazarus/blob/master/components/lazutils/masks.pas I am not sure how much this slows things down, and the checking if a file has already been added only happen on per directory basis, meaning the li

[Lazarus] Feedback requested: File Search, a visual file search utility

2019-09-24 Thread Anthony Walter via lazarus
If anyone is interested I've posted another hopefully useful program along with the source. https://www.getlazarus.org/apps/filesearch/ The File Search utility is a stand alone tool for Mac, Windows, and Linux to search for files using a variety of criteria including containing text, file size, a

Re: [Lazarus] Best examples of cross platform visual file or folder search application?

2019-09-12 Thread Anthony Walter via lazarus
Thank you for the replies. I think what I was getting at is not the code related to such a program, but the user interface design and popularity of such a program. I think most of you remember Microsoft implemented a file search into XP featuring an animate dog and a small form: https://i.stack.im

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
Michael, Internally JsonTools just stores the document as JSON fragments or text, in the case of object, array, or null, the text is empty, but in the case of number or bool, it converts the text to a number or bool when you ask AsNumber or AsBoolean. Now normally this wont be a problem because as

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
> Could you include https://github.com/BeRo1985/pasjson in the comparison? Sure. I also have a few other people have requested. I will also list the license of each in the first table. Regarding a huge gigabytes of JSON in a file, I know a small portion of programmers of people might be inclined

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
Okay, going back and looking through the messages I see you did post a test with: {$codepage UTF8} and uses cwstring Here are the results with that added: On Linux using {$codepage UTF8} by itself causes both tests to fail. Adding cwstring causes both tests to work. On Windows trying to use cwst

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
Michael, I hadn't tried your example code yet as I thought the discussion was on the topic of the unicode failure, and your example was about parsing speed. I'll be happy to take a look at speed improvements, but like you I am interested to find our what's failing with VerifyUnicodeCharsFPJson. --

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
If there is any chance the char codes are being altered through whatever browser / mail client you are using, here is a direct link to the program source: https://cache.getlazarus.org/projects/test.lpr -- ___ lazarus mailing list lazarus@lists.lazarus-i

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Anthony Walter via lazarus
Michael, regarding this unicode problem, all the code has already been posted in this thread. program Test; uses FPJson, JsonParser, JsonTools; const UnicodeChars = '{ "name": "Joe®Schmoe", "occupation": "bank teller \u00Ae " }'; function VerifyUnicodeCharsFPJson: Boolean; var N: TJSONDat

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
Okay, so I turned on my Windows VM with a different version of FPC and ran VerifyUnicodeChars with both FPJson and JsonTools. The resutls are the same. JsonTools sees the unicode correctly, and something is wrong when using FPJson. I don't know what the problem is, but other people are noticing sim

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
For those tracking the unicode issue, could you please verify the problem does not present in my JsonTools library on compiler revisions and platforms? I always get true (passed) with my library, but not with any other library. Here is the relevant test: function VerifyUnicodeChars: Boolean; const

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
I am not sure how under any situation parsing a JSON from a stream source would be any faster than parsing a string. Also with regards to timing I am not sure how accurate Now is. For this purpose I've written: { Return a time based on system performance counters } function TimeQuery: Double; Imp

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
Alan, oh that's a good idea. I will do that as well as add a few more parser libraries as requested by a few people in other non mailing lists threads. I will also try to find out what's going on the unicode strings as it might be a problem with the compiler. Michael, I am on Linux as well, but I

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
On my system with FPJson the test is failing it failing on "bank teller \u00Ae ", but on when using approximately the same code with JSONTools it passes on both "name" and "occupation" always. What do you think is going on? -- ___ lazarus mailing list l

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
Michael, Can you tell me why the second half (N.Items[1].AsUnicodeString) this test fails? This is the part that decodes "bank teller \u00Ae ". function VerifyUnicodeChars: Boolean; const UnicodeChars = '{ "name": "Joe®Schmoe", "occupation": "bank teller \u00Ae " }'; var N: TJSONData; begin

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
Michael, I have a hurricane headed my way, but when I'm done evacuating I'll send you a copy of my test. If you want to make improvements to the test program to be sure the manner in which I am using the FPJson functions and classes is correct and send me a revised test program, then that would be

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
With regards to duplicate key names, some libraries allow for the same key to be parsed resulting in multiple child nodes of the same name. Others throw an exception when parsing an object with a duplicate key name. The correct way to handle duplicate keys is to overwrite the existing key when a d

Re: [Lazarus] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
Alexey, Currently JsonTools anything that is valid JSON as described on this page: https://www.json.org/ The only valid constants are: null, true, false Arrays can contain other arrays and object to any reasonable level [[[]]] // is a valid array [{}{}[{}{}]] // is a valid array Objects can

[Lazarus] Tests results of several pascal based JSON parsers

2019-08-30 Thread Anthony Walter via lazarus
I've posted a new page that tests the speed and correctness of several pascal based JSON parsers. https://www.getlazarus.org/json/tests/ In full disclosure I am the author of the new open source JsonTools library, and even though my parser seems to a big improvement over the other alternatives, m

[Lazarus] Best examples of cross platform visual file or folder search application?

2019-08-21 Thread Anthony Walter via lazarus
I am sure someone has to have written a program to do this, yet I don't know of any off hand or through a cursory google search. Can anyone tell me if there are any popular minimal programs which allow users to search for files or folders on their computer using wildcard matching for file names, o

Re: [Lazarus] getlazarus.org search request

2019-08-12 Thread Anthony Walter via lazarus
In C# to define a property you write: visibility typename propname { [visibility] get; [visibility] set; } -or- public int Age { get; set; } This means you have a read write property that does nothing special. You could also write ... private int age; public int Age { get { return age; } set { i

Re: [Lazarus] getlazarus.org search request

2019-08-12 Thread Anthony Walter via lazarus
I use FPC for a lot of web stuff, but generally not for servers. In this project I am using an FPC program to create the database and download updates using my TClientSocket class. For long running stuff, which I may typically host on an Amazon cloud server with Linux, I'll generally either use so

Re: [Lazarus] getlazarus.org search request

2019-08-12 Thread Anthony Walter via lazarus
Yes, in C#. Personally I find ASP.NET or Core easier to use than a CGI executable. Also the ability to dynamically compose anonymous objects, write linq expressions, and use reflection can be quite powerful. The object formatting system is C#, where everything is an object and custom formatters ca

  1   2   3   >