On Sun, Jul 21, 2024 at 12:57 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Why do you assume chatGPT is male?
>
I followed Ari Ricardo's assumption.
"*So, following his instructions ...*"
Anyway it is impressive if chatGPT can give better instructions than any
human.
Juha
--
On Sat, Jul 20, 2024 at 4:11 PM Arí Ricardo Ody via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I was about to give up when I remembered to ask chatGPT.
> So, following his instructions, I finally successfully installed version
> 3.4.
>
Oh! So what did he say?
Juha
--
The Sourceforge page :
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.4/
has these Debian packages :
fpc-laz_3.2.2-210709_amd64.deb
On Sun, Jul 14, 2024 at 5:56 PM Arí Ricardo Ody via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I tried it and it opened the window with the source. And now what do I do?
>
Open the Project Inspector and from there open any unit files into the
editor you want.
The File -> Close All menu
On Wed, Apr 10, 2024 at 3:42 AM Flávio Etrusco via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> delete the offending units from the uses clause then report back the
> missing classes or functions.
>
Yes, I guess a project icon API should be added.
> The LazIDEIntf unit doesn't exist
On Wed, Feb 28, 2024 at 10:50 AM Martin Frb via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Just to be sure, did you directly edit the lazarus.dci inside the ide
> folder in the lazarus install dir?
>
> Because then, it would have stopped working.
> If you edit via the IDE, then the
On Tue, Feb 27, 2024 at 7:45 PM John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Now i have in lazarus.dci
>
> > [sm | showmessage]
> > [todo | ToDo item creator]
> .. and there is no way how i can use that?!!
>
First, "lazarus_dci_file.dci" was renamed to
OK, I found the reason.
I had made experimental reordering in component palette pages. A new
installed component does not go to a user modified page. After doing
"Restore defaults" the RichMemo icon became visible.
It means there is a bug in the palette config code. :(
Juha
--
On Thu, Feb 8, 2024 at 12:18 AM Werner Pamler via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> What "does not show up mean"? No icon on the component palette? In this
> case you probably missed to install the designtime package which is a bit
> hidden in the "ide" folder among all the
On Wed, Feb 7, 2024 at 2:46 PM John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Please test RichMemo for Linux AND Windows!
>
> Long ago i tried to use RichMemo that worked for windows but not for linux!
>
I cloned the GitHub repo (https://github.com/skalogryz/richmemo) and
On Wed, Feb 7, 2024 at 11:30 AM Werner Pamler via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Yes. But you should not use the version in the CCR repository. You
> probably did not see the "readme.txt" which states that the ccr version is
> no longer maintained, development has been moved to
On Tue, Feb 6, 2024 at 11:31 PM Timothy Groves via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> ... and RichMemo won't work. (It will compile
> in, but then Lazarus crashes on startup with an Access Violation.)
>
I updated lazarus-ccr repo and tried to install the RichMemo_design
package.
On Sun, Dec 31, 2023 at 3:36 PM John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Is that still true ... ?
> Wayland in general has strange issues?!
>
As LCL binds to widgetsets like QT5 and GTK3, it should depend on those
widgetsets only.
Lazarus IDE also uses LCL and its
On Mon, Dec 25, 2023 at 10:37 PM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Do I open Lazarus and use the function "Tools/Build Lazarus with Profile
> Normal
> IDE" or do I have to find the package below menu item "Packages" and
> explicitly
> command a Compile/Install?
>
How big is the difference in performance? I guess it is very big. Ten-fold
maybe?
You are right, for teaching programming this is a perfect tool.
Juha
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
Same with logcache. I am in Git Lazarus source directory but it asks for a
parameter.
[juha@juha-fp30 lazarus]$ ../lazgitgui/logcache
a file or directory of a git repository is needed
[juha@juha-fp30 lazarus]$
These are standalone applications.
An idea for future development :
An IDE plugin that
I tested it. Quite nice!
One issue: lazgitgui requires a filename as a cmd line parameter but does
not use it. You should be able to run it without parameters just like "git
gui".
Juha
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
On Friday, June 30, 2023, John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> perhaps that should have become 3.00 ?
>
> Lazarus *3.99* (rev main_3_99-41-g3d8dd85474) FPC 3.2.2 x86_64-linux-gtk2
>
> You are looking at trunk, the development version. See :
Please test again. Mattias generated the makefiles and saved me once again.
Juha
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On Sunday, June 11, 2023, John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> make all clean useride
>
> (3104) Compiling inputhistory.pas
>> /home/john1/lazarus/components/ideintf/inputhistory.pas(46,3) Fatal:
>> (10022) Can't find unit FileProcs used by InputHistory
>> Fatal:
I did some refactoring in Lazarus sources. At least one file was moved and
dependencies changed.
It may require building clean to avoid "incompatible .ppu file" warnings
and similar.
Regards,
Juha
--
___
lazarus mailing list
Mac owners please look at the patch here:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/38500
Does it make any sense? I created it based on a forum post attachment.
I don't have a Mac myself.
Juha
--
___
lazarus mailing list
On Sun, Jan 15, 2023 at 5:03 AM Don Ziesig via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Or might it just be the OS (Linux Mint XFCE)?
>
As Zeljko mentioned it is a window manager issue. Not OS.
My KDE also has such a setting but I don't have it enabled.
I hope you recovered from your
On Thu, Nov 24, 2022 at 3:00 PM Aruna Hewapathirane via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> On Thu, Nov 24, 2022 at 7:16 AM Martin Frb via lazarus <
> lazarus@lists.lazarus-ide.org> wrote:
>
>> In the "main" branch the example folder was re-ordered. During this
>> process the
In 06352700aa7c I improved the GUI for managing editor macros, View ->
Editor Macros ...
Please test.
Earlier in 7485ac827a the IDE toolbar button for macros got a dropdown list.
The editor statusbar seems to have a button to stop recording a macro. It
is not synchronized with the Editor Macros
On Wed, Feb 16, 2022 at 4:49 PM Kostas Michalopoulos via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> From a quick look at the code there seems to be a way to force the
> "traditional" backend by using LAZUSEAPPIND=NO environment variable, so
> try to launch your program as
>
>$
@Martin Collins, please see the issue:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39590
I guess Alexey started to implement TTreeNode.Enabled inspired by your post.
I continued and I believe it is quite robust now.
Please test.
Regards,
Juha
--
TTreeNode.Enabled would be a useful addition. "Enabled" instead of
"Disabled" for consistency with other components.
There is TTreeNode.Visible. I believe much of its code logic could be
copied and used for Enabled.
Patches are welcome.
Juha
--
___
On Tue, Dec 28, 2021 at 1:45 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> @Juha: can you please comment on my possible improvement using PopCnt
> instead of a multiplication with ONEMASK.
>
I confess I didn't remember what PopCnt does. I checked from the net.
FPC implements it
On Tue, Dec 28, 2021 at 3:29 AM Noel Duffy via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> So it appears to me that an unsigned pointer type is required in
> UTFLengthFast.
>
Can you please create a patch for UTFLengthFast. You can upload it here or
create a merge request in GitLab or
On Mon, Dec 27, 2021 at 1:44 AM Noel Duffy via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I need some help getting to the root of a problem with incorrect results
> on Apple hardware (M1, aarch64) for the function UTF8LengthFast in lazutf8.
>
> On MacOS, when given a string containing one
On Wed, Dec 15, 2021 at 2:24 PM Martin Frb via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> It is also acceptable to have a "mixed license". E.g.
>Licensed [L]GPL 2 [OR: "2 or later"] or MIT at the users choice.
>Anyone using/modifying this code must keep at least either one of the
>
On Wed, Dec 1, 2021 at 2:04 AM Anthony Walter via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> 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
Now people are dying because of the jabs. Those are not side-effects, the
jabs work as intended.
I am more and more convinced there is no SARS-CoV-2 virus. It has not been
isolated from any patient during the 2 year "pandemic". Why?
The only reliable measure of a pandemic is the total number of
On Tue, Nov 30, 2021 at 10:46 AM Alexey Tor. via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> This is damned country.
>
Russia was damned then. Now the western world, meaning North America,
Australia and EU, follows the same steps. Dissidents and Christian people
are persecuted. There is
On Mon, Nov 29, 2021 at 11:14 PM Ondrej Pokorny via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> That is nonsense. I reverted your change. The code user code is just plain
> wrong and your change in TFrame doesn't change anything about it.
>
> Try e.g. :
>
> procedure
On Mon, Nov 29, 2021 at 11:14 PM Ondrej Pokorny via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> On 29.11.2021 17:18, Juha Manninen via lazarus wrote:
>
> The commit message is not perfect but the committed code is, now that I
> fully understand the issue.
>
> That
On Mon, Nov 29, 2021 at 6:47 PM Martin Frb via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I suspect in the Designer it does not stand alone => The designer is the
> parent. But I have not checked.
>
No, it has no parent. That is why it crashed.
This is with the default IDE with floating
On Mon, Nov 29, 2021 at 1:32 PM Ondrej Pokorny via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> There are many scenarios when the Canvas cannot be accessed and it is a
> common mistake to access it when not allowed.
>
> I didn't study the issue further but to me it looks strange that setting
On Mon, Nov 29, 2021 at 12:36 PM Michael Van Canneyt via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
>
> On Mon, 29 Nov 2021, Martin Frb via lazarus wrote:
> > - The property accesses "canvas" => that triggers asking for a handle
> > (which is created based on CreateParams)
>
Ah yes, Canvas.
Please everybody test issue:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/25124
Some components caused an error when placed on a Frame. Now it apparently
works.
Can somebody please explain why it works. (See my comment there).
There are also improvements for a custom Frame
A clean build usually solves such problems.
Juha
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On Sun, Nov 21, 2021 at 1:06 PM Kostas Michalopoulos via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> On 11/21/21 11:45, Juha Manninen via lazarus wrote:
> > LCL-QT5 works better than LCL-GTK2 now IMO.
>
> What are the issues on Gtk2 that are fixed in Qt5?
>
Dif
On Sun, Nov 21, 2021 at 10:33 AM Michael Van Canneyt via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> You can install KDE, but then installing Lazarus will most likely add the
> GTK libraries as a dependency.
>
With KDE I recommend Lazarus with LCL-QT5 bindings.
KDE itself is based on QT5.
On Sun, Nov 14, 2021 at 2:52 AM Alexey Tor. via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> This must be tested with the patch: --pcp= parameter, which is used in
> IDE shortcuts from fpcupdeluxe. What if different --pcp content is
> passed (1st instance has another --pcp).
>
My commit
On Mon, Nov 15, 2021 at 8:12 PM Marcos Douglas B. Santos via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Yes, I'll try to copy from 2.2RC. Thank you.
>
Why can't you use 2.2RC directly? It is very close to the final 2.2.
Do you experience a regression bug there?
Juha
--
On Sat, Nov 13, 2021 at 11:46 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Isn't the policy to not merge new features, but only bugfixes?
>
Yes but this one is clearly a bugfix.
A project and a file name passed as cmd line parameters behaved differently
depending on Lazarus
Regarding issue :
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39338
The issue is about passing project info .lpi files etc. through cmd line
for a running Lazarus IDE instance.
However the same code is used for drag/drop which makes it a bigger
improvement than I thought
On Tue, Nov 2, 2021 at 2:54 PM Mattias Gaertner via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> The Lazarus team is glad to announce the second release candidate of
> Lazarus 2.2.
>
Mattias, this should be announced in the forum, too.
There are many people who don't read the mailing list.
On Wed, Nov 3, 2021 at 12:27 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Whilst doing that I fiddled around with bot the tests and the masks unit.
> I then wanted to commit (push) these changes seperately.
> I got stuck.
> In svn I could commit a single file, then another.
> I
I am away from my development computer now. Short comments about the git
issues:
I use "git gui" for commits. It shows untracked files in a separate pane
which does not bother much. IIRC there is a setting to not show them at all.
You can make many commits and push them sometime later. Actually
Bart, please run the TMask unit test project while you change the code.
I fixed its compilation in 3c7586c0f8 but many tests fail.
A unit test is especially useful with such text manipulation code.
It is a good idea to run the tests after every change. Keep the test
project open when changing.
On Sun, Oct 31, 2021 at 6:16 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Why did you disable ranges and sets in the Windows implementation?
>
AFAIK it simulates the DOS/Windows command line behavior.
José can answer more accurately.
Juha
--
On Thu, Oct 28, 2021 at 12:02 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Attached the codetools popup for TMask.Create constructor.
> I would think it would be clear enough?
>
Ok, if you say so. :)
It is clear for people who know the details already. For new users there is
no
On Wed, Oct 27, 2021 at 10:06 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> You totally lost me here.
> IMHO there is no need for CreateExtende or similar new constructor.
>
Why not?
THis is what we currently have.
>
> TMask:
> constructor Create(const aMask: String;
On Wed, Oct 27, 2021 at 6:44 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> > The extended syntax would have another constructor.
>
> Not really sure what you mean by that.
>
There would be a constructor named CreateExtended or CreateAdvanced or
similar, allowing the new nice
On Wed, Oct 27, 2021 at 2:50 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> The new masks unit has several CreateLegacy constructors (and some
> *Legacy* functions).
> They call the new constructros with mocEscapeChar disabled.
>
> Wouldn't is be a bit more logical to exclude
On Tue, Oct 26, 2021 at 8:24 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> However, now that we have a dedicated TMaskWindows, wouldn't it also
> make more sense to have a TMaskListWindows class?
>
> The TMaskList constructors
> constructor CreateWindows(const aValue: String;
On Mon, Oct 25, 2021 at 7:20 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> As I see it now, we are planning to remove all the old TMask stuff (in
> the future) and replace it with the new and improved TMask.
>
> Shouldn't that mean that we should also deprecate the CreateLegacy
On Sat, Oct 23, 2021 at 11:21 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> AFAICS the TMaskOpCode and TMaskOpcodesEnum types are not related at all.
> TMaskOpCode is some kind of internal identifier in the internal mask
> representation, whereas TMaskOpcodesEnum are options for
On Thu, Oct 21, 2021 at 11:30 AM José Mejuto via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Now you need to match a string that starts with a number and the second
> char must be a letter, with a set it will be too large and unclear:
>
> "[0123456789][abcdefghijklmnopqrstuvwxyz]*"
>
With
On Tue, Oct 19, 2021 at 5:34 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> With only eMaskOpcodeOptionalChar enabled [a-z] would match 'a', '-' or
> 'z'?
> (This would be the old behaviour of TMask)
>
There is now a constant MaskOpCodesNoEscape which leaves out
On Tue, Oct 19, 2021 at 7:58 AM Steve Gatenby via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Hoping someone could shed some light on why different results on the
> following code :)
>
My guess is that a GTK2 session adjusts user and group rights somehow.
When I run your command 'ps -eo
On Sat, Oct 16, 2021 at 3:27 PM Maxim Ganetsky via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> You can right-click on the revision entry (in the log) itself, and there
> you will be able to open unified diff viewer. Also 'raw' diffs are not
> very convenient to me, I prefer to inspect them
On Sun, Oct 17, 2021 at 1:10 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I see you implemented the "old" constructors with the TMaskOptions
> parameter and deprecated them as suggested.
> Thanks for that.
> Maybe add: 'Will be removed in 2.4' or similar to the deprecated
I turned the define RANGES_AUTOREVERSE into a run time option in
67111d9a30.
A boolean RangeAutoReverse is True by default. I don't really know when
somebody would want to turn it off.
I also added constructors and functions for legacy syntax, which means [?]
represents a literal '?' and
On Sat, Oct 16, 2021 at 12:23 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> > Yes, there should be an option for backwards compatible syntax, like
> "[?]" . However the small changes in the syntax can be seen as improvements.
> > There already is a define for converting "[z-a]" to
On Sat, Oct 16, 2021 at 11:20 AM Juha Manninen
wrote:
> Yes, the TMaskWindows indeed behaves wrong. '**.pas*' matches with '
> *abc.pas.bak*'.
>
Fixed in a111270ed0. Please test.
No code changes were needed. I only disabled one of the Windows quirks,
namely eWindowsQuirk_Extension3More.
Please
On Fri, Oct 15, 2021 at 3:38 PM Maxim Ganetsky via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Please try with, for example bla.pas and bla.pas.bak files.
>
I got another mail from Maxim. It was also sent to this list but didn't
appear.
I also configured my Windows under Virtualbox for
On Fri, Oct 15, 2021 at 3:38 PM Maxim Ganetsky via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Please try with, for example bla.pas and bla.pas.bak files.
>
I did basically that. I copied a .pas file to .pas.bak.
Find in Files does not find extra entries with File mask
On Fri, Oct 15, 2021 at 3:10 PM Sven Barth via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Non-static class methods *do* have a Self parameter, but it's the class
> type and not the class instance. They can also be virtual, which is a
> really great feature of the Object Pascal language (I
This may be a dummy question but what does "static" do for a class
procedure?
José's mask code has for example:
class procedure Exception_IncompleteMask(); static;
I thought class procedures are kind of static anyways, meaning they don't
have a Self pointer.
Juha
--
I restored the backwards compatible TMaskOptions in 04b0a04a45.
Please test.
When ranges (sets) are disabled, [] is interpreted as literal []. Works
perfectly.
Next I will study the little syntax differences. There should be a backwards
compatible option for those, too.
Juha
--
On Fri, Oct 15, 2021 at 2:54 AM Juha Manninen
wrote:
> Noticable the ability to NOT interpret [] as a set in the mask has now
>> disappeared.
>>
>
> How should a range / set [] be interpreted?
>
Ok, forget that question. I will study this more tomorrow.
Juha
--
On Thu, Oct 14, 2021 at 7:57 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> You have changed the existing interface for both TMask and the
> Matches(Windows)Mask(List) functions.
> TMaskOptions has been removed.
>
It can be added for compatibility.
Noticable the ability to NOT
On Thu, Oct 14, 2021 at 12:53 AM Maxim Ganetsky via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Don't know if it is related but just noticed that `Find in files` dialog
> now "ignores" file masks.
>
> E. g. I have the following file mask: `*.pas;*.pp;*.inc;*.lpr;*.lfm`,
> but it also finds
On Wed, Oct 13, 2021 at 7:03 PM Marcus Sackrow via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> it breaks "make all" for x86_64-linux
>
LazBuild, yes. Again I forgot to test compiling it.
Now it is fixed. Please test.
Regards,
Juha
--
___
I restored the great TMask implementation by José Mejuto in our development
branch.
I also fixed a few issues that hindered the transition last time.
It was discussed at least in this mailing list with title
"unit Masks vs. unit FPMasks"
in 23 February this year.
The logic in ShellCtrls unit is
On Thu, Aug 19, 2021 at 11:59 PM Marcos Douglas B. Santos via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> If I publish the full source of the component—which is not a big
> deal—or send it to you in private, could you test it using the Demo
> which exists already?
>
Yes, both ways are OK,
Is there an example project without external packages
or customdrawn widgetset?
Customdrawn widgetset is incomplete and broken at least here in my Linux
system.
If not, then please upload such a project into one of the tickets.
Juha
--
___
lazarus
On Sat, Jul 31, 2021 at 11:09 PM John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> gtk2trayicon.inc(387,5) Error: Identifier not found
> "gtk_status_icon_set_tooltip_text"
>
> What should i do?
>
Use the released FPC 3.2.2 or get the latest FPC trunk. Now you have an old
The list opens with Ctrl-Alt-P and is an alternative to the Component
Palette.
Is the "Use" button somehow useful?
A component can be added by selecting it and clicking on designer, or by
double-clicking it.
The behavior was slightly changed in r64929, issue:
It went to Sven Barth only, forwarding here.
I clicked the reply button as always. I don't know what happened.
-- Forwarded message -
From: Juha Manninen
Date: Sun, Jun 13, 2021 at 6:41 PM
Subject: Re: [Lazarus] Registering a TFrame to component palette
To: Sven Barth
On Sun,
Regarding issue : https://bugs.freepascal.org/view.php?id=28450
The parameter passed to function RegisterComponents() is TComponentClass
which means "class of TComponent". It is only type information and does not
carry information about sub-components.
Could somebody please explain how it works
On Thu, Jun 10, 2021 at 4:48 PM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I have never ever looked at stuff that integrate within Lazarus itself so I
> could not fix it
>
Maybe it is time you look at such stuff. It may be an easy bug. A list of
file endings missing
Partly related to issue
https://bugs.freepascal.org/view.php?id=38565
I changed function TListItem.GetState to use enum TListItemState directly
instead of casting it to an integer.
It allows to remove many ugly typecasts.
I don't see any problems caused by it. None of the properties are
On Fri, Feb 26, 2021 at 10:24 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> On Fri, Feb 26, 2021 at 7:15 PM Bart wrote:
> My backup and some related programs still compile, but instatly raise
> an exception when they start to perform their main task.
> Thank you very much.
>
>
On Thu, Feb 25, 2021 at 12:44 PM José Mejuto via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Backwards compatibility, in special the escape character which can be
> used in old masks like: "C:\*.*". The other functions can be kept
> active, but escape char could be a compatibility problem.
On Thu, Feb 25, 2021 at 10:47 AM José Mejuto via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> In fact I think that the whole unit is needed. It has (info for other
> readers) 3 classes TMaskUTF8, TMaskAnsi and TMaskUnicode, maybe
> TMaskAnsi can be omitted but UTF8 and Unicode should be
On Wed, Feb 24, 2021 at 1:05 PM José Mejuto via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Note: Just to put in context, my "explore" in the TMask world started
> when writing my NTFS filesystem reader, when all file names are read
> (400,000) I can search for them using masks. When
MaskList is used in TCustomShellTreeView.GetFilesInDir().
It sets a mask option *moDisableSets*. Why are sets disabled? Is it to stay
compatible with FindFirstUTF8() syntax?
I don't fully understand the comment. Why would EConvertError be raised?
//Disable the use of sets in the masklist.
On Wed, Feb 24, 2021 at 12:22 PM José Mejuto via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> In my code there is non 100% unicode compatibility when using the
> "CaseInsensitive" mode as as it uses lowercase mask and lowercase string
> to perform the test which is wrong by definition but I
On Wed, Feb 24, 2021 at 1:00 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> > > There are no tests for MatchesWindowsMask() yet.
> I tested that extensively on my machine with all scenarios I could think
> of.
>
Please add your tests to the project I mentioned.
Juha
--
I will not touch MaskEdit. Don't worry.
On Wed, Feb 24, 2021 at 11:03 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Without a major rewrite (which increases the cange of breaking
> compatibility).
>
José Mejuto's code is a major rewrite for Masks. It supports Unicode in
masks,
On Wed, Feb 24, 2021 at 12:08 AM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> TMask (unit masks) deals with masks with wildcards (*,? and sets of
> single byte chars).
> It is mainly used for matching filenames (similar to the Path supplied
> to FindFirst).
>
> TMaskEdit gives you
On Tue, Feb 23, 2021 at 7:38 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> I have copied in the past some of the TMaskEdit logic and methods to
> the MaskUtils unit.
>
Ok, the TEditMask thing was in MaskUtils. I didn't pay attention.
How about TMask? Does it have the same syntax
On Tue, Feb 23, 2021 at 2:54 PM Bart via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> MaskEdit is a LCL control and hence has nothing to do in fpc.
>
I am not suggesting to move MaskEdit to FPC libs obviously.
I have in the past copied bits of TMaskEdit to a related fpc unit
> (cannot
On Tue, Feb 23, 2021 at 12:56 PM Juha Manninen
wrote:
> Oops, now I understand that FPMasks does not really support Unicode.
> Type UTF8String only converts encoding automatically when assigning values.
> There is no code to identify codepoints.
> The LazUtils Masks iterates codepoints, although
A related thing. I am confused with different mask classes.
Embarcadero docs for TMask
http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Masks.TMask
says:
"*Note:* Do not confuse TMask with the EditMask of a field or masked edit
object. While both are used for comparing strings to a
Hello
LazUtils has unit Masks with classes TMask and TMaskList.
FPC's packages/fpindexer has unit FPMasks also with classes TMask
and TMaskList.
A comment in FPMasks says "Moved here from LCL".
Revision control shows it was added 9 years ago in 2012. Since 2.5 years
ago it supports Unicode by
1 - 100 of 447 matches
Mail list logo