On 2017-03-14 10:38, Anthony Walter via Lazarus wrote:
> 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.
Indeed, Let's Encrypt is really easy to use and implement.
> The only hiccu
On 2017-03-14 12:07, Anthony Walter via Lazarus wrote:
> If you have a subject you want people to explore, you need to
> represent it well.
Apple does a lot of things wrong (these days), but they also do a lot of
things right when it comes to design. Using good Typography (via CSS
only) can look
On 2017-03-13 21:50, Marc Weustink via Lazarus wrote:
> It is one of my plans to enable it for the lazarus sites.
And now with Firefox 52, it gives you a "in your face" warning that you
are logging into a unsecure website. Only only the crossed out padlock
in the URL, but also a popup warning bel
On 2017-03-18 13:20, Michael Van Canneyt via Lazarus wrote:
> After 2 days of struggle trying to get gdb to work on mac os sierra,
> I've given up. Apple clearly wants you to use lldb.
I feel your pain, but at the hardware level. G*D DAMN APPLE! They are
driving me insane! What an evil company, pu
On 2017-03-18 13:20, Michael Van Canneyt via Lazarus wrote:
> Is support for lldb for Lazarus planned ?
Maybe it's time the fpdebug (native Object Pascal debugger) gets some
more attention, or the FPC team starts implementing there own debugger.
What good is a compiler without a debugger (somethin
On 2017-03-24 18:34, frans via Lazarus wrote:
> There is a new component available to create pdf fies, lazpdf.
I don't know about the code from the magazine, but I can say that there
is now a PDF engine included as standard with FPC 3.0.2 and later, in
the fcl-pdf directory.
Regards,
Graeme
-
Hi,
Is this a known issues? If I run Lazarus IDE (LCL-GTK2) on either Linux
or FreeBSD, and say my keyboard layout is set to US. Now if I change the
keyboard layout to say Dvorak while Lazarus IDE is open, then Lazarus
IDE still uses the US layout (I think), while the rest of the OS and any
runnin
On 2017-03-29 11:47, Mattias Gaertner via Lazarus wrote:
> It works here on LCL-GTK2 Ubuntu.
Umm. I can give more details on the VM I see this happen the most. I'm
running CentOS 6.6 using JWM window manager and have two scripts that I
run to switch keyboard layouts.
Here is one such script.
===
On 2017-03-30 22:21, silvioprog via Lazarus wrote:
> This has happened to me too. :-)
And to me. I removed the key mapping to get rid of the problem.
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.
On 2017-04-11 10:15, Mark Morgan Lloyd via Lazarus wrote:
> Is there an orthodox way that a Lazarus program can very early on look
> at how it's been started and decide whether it can usefully fall back to
> a text mode, e.g. to display help info on stdout rather than a messagebox?
In the past I
Hi,
Is there a way to modify the standard “file -> new unit” code template
that is used? Or is what we see hard-coded into the Lazarus IDE executable?
I'm using Lazarus 1.7 r52715 FPC 2.6.4 x86_64-linux-gtk 2
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
h
On 2017-04-11 11:46, Mattias Gaertner via Lazarus wrote:
> Right click in the IDE coolbar on the "New unit" button to select
> another template.
I meant I want to modify the code that Lazarus IDE gives once I click
“File -> New Unit”. I don't want a completely different template. eg:
this is the d
Hi,
I'm using the built-in JEDI Code Formatter. When I format my code, the
case statement ends up looking as follows:
case Visited.ObjectState of
posCreate:
begin
// my code goes here
end;
posUpdate:
begin
// my code goes here
end;
po
On 2017-04-19 14:54, Anthony Walter via Lazarus wrote:
> This isn't a free pascal or lazarus project, but something I wrote using
> typescript quite a while ago.
That's very impressive. I'm still amazed at what is actually possible
via a web browser - other than just viewing web pages. Thanks for
On 2017-04-19 15:58, Michael Schnell via Lazarus wrote:
> Lazarus would b able to seamlessly create such programs (even more up to
> date, versatile and fast: using WebAssembly compiled from Pascal instead
> of hand crafted Java Script).
I believe that is what Michael van Canneyt is working on.
On 2017-04-20 08:54, Santiago A. via Lazarus wrote:
> Of course, GUIs are massive time consuming. Have you ever create a form
> by hand in runtime?
Yes, many times. If you want to see the real ease of that (without
needing a GUI Designer), then take a look at Java's MiGLayout layout
engine. Absolu
On 2017-04-20 10:02, Michael Van Canneyt via Lazarus wrote:
> Total number of downloads: well over 1500.
> Lines of code in our app: 1900 (spread over 20 files).
That is totally insane. The worst dependency hell ever! And then one of
those dependencies get broken or discontinued and your are scre
On 2017-04-20 16:46, Alexey via Lazarus wrote:
> It must return w/o waiting form to close (like show). But form must show
> like modal (all others must disable, and on closing
What you describe makes no sense. You want to show a for non-Modal, but
want it to act like application modal. In that c
On 2017-04-23 07:21, Alexey via Lazarus wrote:
> This dialog has one tabset -from PageControl, and another - from left
> Listbox/Listview. Confusing. Better leave one Listbox.
I kind-of see what you mean - duplicated information. The idea was
probably to have the "error state" available for all s
On 2017-04-23 09:37, Sandro Cumerlato via Lazarus wrote:
> IMHO left ListBox is better because error states are visible even if tab is
> not selected.
That is why I said to place status icons in the tabs itself next to the
text "Compiler", "FPC Sources" etc. It will accomplish the same thing.
But
On 2017-04-23 09:49, Michael Van Canneyt via Lazarus wrote:
> *If* something needs to be removed, I would remove the listbox.
> It only takes up a lot of space, and it's mostly empty.
+1
It is takes up a lot of space with not much or no benefit at all.
Regards,
Graeme
--
fpGUI Toolkit - a
On 2017-05-02 09:30, Juha Manninen via Lazarus wrote:
> From FPC's point of view our UTF-8 solution is a hack.
FPC's point of view or Marco's point of view? Just curious - so what is
FPC’s “correct” solution then for using UTF-8 and the preferred
encoding? What's the alternative they offer?
[ra
On 2017-05-03 01:21, Marcos Douglas B. Santos via Lazarus wrote:
> Sorry about that. I stopped using Delphi at version 7, that uses ANSI.
> I thought that Delphi nowadays was using UTF16.
They (Delphi) loves to follow Microsoft. Files are stored in UTF-8 (this
is the norm), but they use UTF-16 int
On 2017-05-03 10:25, Ondrej Pokorny via Lazarus wrote:
> You can start the console with UTF-8 codepage:
> http://stackoverflow.com/questions/14109024/how-to-make-unicode-charset-in-cmd-exe-by-default
>
> Then you have full unicode (utf-8) support.
Or use the much better console alternatives. The
On 2017-05-03 13:37, Tony Whyman via Lazarus wrote:
> Is Delphi/FPC string handling that much worse than 'C'?
I can’t answer about C, but compared to Java and Qt’s solution, Delphi
and FPC’s solutions are terrible and very confusing.
Regards,
Graeme
--
On 2017-05-03 20:47, Juha Manninen via Lazarus wrote:
> If you share and edit the sources between Delphi and Lazarus then you
> cannot use the full Unicode.
Quite comical considering that the FPC team always makes such a big fuss
about "we want Delphi compatibility", and now it seems to be worse
On 2017-05-04 10:15, Graeme Geldenhuys via Lazarus wrote:
> * A "character seen on the screen" could be made up of multiple code
> points. eg: U+0065 (e) + U+0302 (^) gives you ê. So it might look like
> one "character", it is *not*.
Applying better typography to th
On 2017-05-04 09:56, Tony Whyman via Lazarus wrote:
> I don't believe that string indexing even works for UTF8 strings at
> present - at least not in a simple s[i] way.
It's simple, STOP using index arrays into strings. It doesn't work for
Unicode! Use specialised code-point iterators or somethin
On 2017-05-04 11:18, Mark Morgan Lloyd via Lazarus wrote:
> In case it helps anybody avoid wasted time: looking carefully at what
> I've been doing, it turns out that it's not possible to make an
> LCL-based program running on unix (i.e. with X11 etc.)
And it wouldn’t be right if I didn’t offer
On 2017-05-04 15:56, Juha Manninen via Lazarus wrote:
> I have seen comments saying that treating UTF-16 as fixed width
> encoding is OK because the characters outside BMP are so rare. It is
> like saying that a buggy spreadsheet app is OK because it calculates
> the sums wrong only sometimes. I
On 2017-05-04 21:53, Juha Manninen via Lazarus wrote:
> It is briefly explained here:
I haven't been following FPC 3.x development much because I think the Unicode
changes are terribly confusing.
A case in point. Looking at the Wiki page you listed, I read the following:
"
Since FPC 3.0 you mus
On 2017-05-05 00:15, Mattias Gaertner via Lazarus wrote:
> I added a FAQ:
> http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus#What_happens_when_I_use_.24codepage_utf8.3F
Ah, thanks for that explanation.
> AFAIK you are using UTF-8 in AnsiString in FPC 2.6.4. That works in
> many cas
On 2017-05-05 07:43, Michael Van Canneyt via Lazarus wrote:
> As far as I know, you don't need any tricks to work with unicode
> filenames or output in 3.0.2. Maybe with exception of TStrings and
> TFileStream.
Again, I didn't have time to follow FPC 3.x development much, and I was too
confused wi
On 2017-05-05 09:31, Kostas Michalopoulos via Lazarus wrote:
> After all, BMP does include practically all languages used today.
The bottom line:
Unicode Standard <> BMP only!
If you think that, then rather promote your application as a UCS-2
compliant application, not a Unicode compliant app
On 2017-05-05 09:59, Michael Schnell via Lazarus wrote:
> (Most obvious drawback: not flexibly typed TStrings.)
I know not everybody likes Generics, but that is where I see
Generics could come in very handy. A single TStrings implementation
that supports multiple string types.
Or just implement a
On 2017-05-05 10:17, Ondrej Pokorny via Lazarus wrote:
> I don't know about 3.0.x but you can do it in trunk 3.1.1. I posted a
> patch for it (r34475).
Fantastic! Glad to see somebody was thinking in the same train of thought
as I did. :)
Is that scheduled to be back-ported to FPC 3.0.x?
Regar
On 2017-05-05 10:17, Michael Van Canneyt via Lazarus wrote:
>> Something like:
>>
>> sl.LoadFromFile('some_utf8_file.txt', CP_UTF8);
>> sl.LoadFromFile('some_utf16_file.txt', CP_UTF16);
>> sl.LoadFromFile('some_latin1_file.txt', CP_Latin1);
>
> Not yet. These are the exceptions I was talking ab
On 2017-05-05 10:41, Mattias Gaertner via Lazarus wrote:
> I wonder what they do when you need to access the raw 8-bit file names,
OSX, iOS, Android and Linux all use UTF-8 as standard, so filename access
is not going to be any problem. Windows is moving more and more towards
UTF-16 everywhere, s
On 2017-05-05 11:01, Michael Van Canneyt via Lazarus wrote:
> We claim Delphi compatibility.
> So IMHO we must provide a UTF-16 Delphi compatible RTL.
In the end it’s about supporting Unicode. Does it really matter
what internal encoding it is to achieve the “Unicode support”
goal?
Regards,
G
On 2017-05-05 10:41, Ondrej Pokorny via Lazarus wrote:
> Just use "DefaultSystemCodePage := CP_UTF8" and every single-byte string
> is unicode enabled.
So does that mean you don't have to also call the following two functions
(which LCL does).
SetMultiByteConversionCodePage(CP_UTF8);
SetMulti
On 2017-05-05 11:55, Jürgen Hestermann via Lazarus wrote:
> I use UTF-8 internally and
> convert to/from UTF-16 for all Windows API functions and
> I never found any problem with it.
> The time that the API functions requires is so much longer than the
> time for string conversion that it does not
On 2017-05-05 12:17, Mattias Gaertner via Lazarus wrote:
> I wonder if it would help if FPC would store UTF-8 string literals as
> UTF-8
Yeah, that would be the logical thing to do. FPC not doing that is what
really confused me.
Regards,
Graeme
--
On 2017-05-05 12:49, Juha Manninen via Lazarus wrote:
> A wrong information easily propagates, thus it is important to get this right.
No worries, I agree. Thanks for correcting my terminology.
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lis
On 2017-05-07 09:10, Florian Klaempfl via Lazarus wrote:
>> Yeah, that would be the logical thing to do.
>
> Why? What makes a string literal UTF-8?
>
As Mattias said, the fact that the source unit is UTF-8 encoded.
Defined by a BOM marker, or -Fcutf8 or {$codepage utf8}. If the source
unit is U
On 2017-05-07 11:17, Florian Klaempfl via Lazarus wrote:
> Then something is wrong/broken :)
I rest my case. :-P
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
Hi,
I have a form with many TColorButton widgets (defined in LCL's Dialog
unit). Whenever I load that form, I see tons of errors as follows in
the console window.
$0071B5C5 line 729 of lazloggerbase.pas
$00800975 line 5554 of gtk2/gtk2winapi.i
On 2017-05-08 18:35, Alexey via Lazarus wrote:
>>> I presume this should not happen, and is a bug in LCL-GTK2?
> Can you post somewhere small proj? I made proj with one btn, I don't see
> this error.
The usage is in part of a large form and project, but I'll see what
I can do of course. I'll post
Hi,
Is it normal for read-only LCL widgets to look identical to their
Read/Write state?
For example in fpGUI read-only widgets look visibly different.
See attached animated GIF.
But with a LCL application I'm working on, read-only widgets don't
have any indication that they are read-only at all.
On 2017-05-10 15:26, Vojtěch Čihák via Lazarus wrote:
your fpGUI read-only controls looks like disabled, which may be confusing.
In fpGUI, with Enabled = False, the text is greyed out too. Same for
buttons in ComboBoxes, Edit Button widgets etc. In read-only mode the
text is still in Black (o
On 2017-05-10 15:08, Alexey via Lazarus wrote:
It is made like in Delphi's r/o combobox.
Well, then both are broken.
In Lazarus better use Enabled:=false and it has indication for some
controls.
1) The problem with Enabled = False is that in then greys the text
too. Thus making in very
On 2017-05-10 16:05, Alexey via Lazarus wrote:
I suggested pch [gray color for disabled] for Grids, not accepted yet.
Can do pch for Treeview and etc.
Thanks for your feedback and warning about some controls with Enabled =
False state.
Regards,
Graeme
--
On 2017-05-10 17:21, zeljko wrote:
For example in fpGUI read-only widgets look visibly different.
See attached animated GIF.
Looks pretty wrong to me. It's big difference between ReadOnly and Enabled.
Well, they visually indicate to the end-user the ReadOnly or Enabled
state, without the user
On 2017-05-11 10:21, Martin Frb via Lazarus wrote:
An overview of the entire file (all lines)
It’s amazing all the functionality (information wise) in such a little
widget. :)
Now all that remains is to make it clickable, so you jump to the part of
the file where you clicked.
Regards,
G
Hi,
I'm using an Ergodox keyboard, and have a shortcut layer setup in my
keyboard layout. This allows me a single key press, yet sends a complex
key sequence to the OS. The same can be achieved with normal keyboards
and some extra software.
This is extremely useful, and more about that can b
On 2017-05-11 11:50, Ondrej Pokorny via Lazarus wrote:
It is clickable :)
Umm, it doesn't work here. Clicking via LClick or RClick doesn't have
any affect. I'm using Lazarus 1.7 r52715 FPC 2.6.4 x86_64-linux-gtk 2,
running under CentOS 6.6.
Maybe I should update my Lazarus?
I then tested m
On 2017-05-11 13:03, Mattias Gaertner via Lazarus wrote:
Maybe you altered some options?
Editor options / Mouse / Advanced / Gutter / Overview
Thanks Mattias, that did the trick. I had nothing defined under the
"Overview" section - both under Linux and FreeBSD.
Regards,
Graeme
--
__
On 2017-05-11 13:47, Alexey via Lazarus wrote:
Hm, on OSX, IDE shows key grab dialog [in keymapping opts] with
additional checkbox,
"Meta". It is what yo need?
Attached is a screenshot of what I see. Both in Lazarus v1.7 and v1.9
using the IDE compiled with LCL-GTK2.
Note that there is che
On 2017-05-11 15:28, Alexey via Lazarus wrote:
Check "Meta" shows on Mac only; you need it for Lin/Win? It is simple
fix, one liner.
1) That wasn't too clever from whomever implemented that artificial
restriction. Meta, Super, Hyper and AltGr are often used on other
platforms (Linux,FreeBSD,W
On 2017-05-11 16:00, Alexey via Lazarus wrote:
It must not see em. Laz dont know what is Hyper key, and Super.
So it is a LCL bug then?
As I mentioned, I'm using LCL-GTK2, and I know FreeBSD supports those
keys (tested with xev), and I know GTK2 supports those keys (test with
The GIMP). So d
On 2017-05-11 16:21, Graeme Geldenhuys via Lazarus wrote:
I'll file a Mantis bug report.
Reported as:
https://mantis.freepascal.org/view.php?id=31797
Many thanks for your help and time Alexey.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
Op 2017-05-14 22:27, het Bart geskryf:
Ik vermoed dat de meesten onder ons,evenals ik, gewoen de engelse taal
in de IDE gebruiken.
Dit was ook my ervaring, toe ek Afrikaans met Lazarus IDE probeer
gebruik het. Die terminologie was net te vreemd. So nou verkies ek om
liewers Engels te gebruik.
On 2017-05-16 10:13, Michael W. Vogel via Lazarus wrote:
Na hoffentlich müssen wir keine 300$ in Bitcoins spenden...
:-P
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 2017-05-16 19:52, Ondrej Pokorny via Lazarus wrote:
Anything else I can do ? (except dumping linux mint, obviously...)
Maybe this is an option for you until it gets properly fixed:
I agree with Michael... Dumping your OS of choice is not a solution. I
would rather nag until the bug is fixe
On 2017-05-22 14:57, Graeme Geldenhuys via Lazarus wrote:
And what if that doesn't work?
Ignore that. I forced a Rebuild of all units, and now suddenly it is
working as expected.
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.la
On 2017-05-08 17:46, zeljko via Lazarus wrote:
Just to be sure that control actually can take focus put this
ControlStyle := ControlStyle - [csNoFocus];
into constructor of your control.
And what if that doesn't work? I've set that in the constructor, but
still it doesn't receive keyboard focu
On 2017-05-22 15:01, Ondrej Pokorny via Lazarus wrote:
For an example look how it is done in TCustomDBGrid.MouseDown.
+ The control can always get focused by the Tab key, if TabStop=True.
I'll double check that as well, just to be sure.
Thanks to both for the very prompt replies. Much appreci
On 2017-05-23 14:27, kapibara via Lazarus wrote:
So the behaviour is inconsistent between platforms, and also
inconsistent within the same control (TListBox) depending on what item
is selected.
I believe I have reported that back in 2006 already. If not the same
component, then one of the list
On 2017-05-23 18:43, Ondrej Pokorny via Lazarus wrote:
What are the equivalents for Qt, Qt5, Gtk2, Carbon, Cocoa?
For anything running under X11 I have never had a problem with
XRaiseWindow(xapplication.display, FWinHandle);
So Qt and GTK could you that, if they aren't already.
Regards,
Hi,
I noticed this menu option in the fpgui_toolkit.lpk package. So I
selected it and made sure the “include” filter selects all files, and
nothing is “excluded”. This clicked okay. After that I had a look in the
destination directory, and there was only 9 file. Yet the
fpgui_toolkit.lpk pack
Hi,
Does CodeTools only know about the unit or units that are currently
open? Or does in know about all files in a project - and maybe even
associated packages?
The problem
===
I want to implement a Lazarus IDE feature "open type" - that's if it
doesn't already exist (please let me k
On 2017-05-26 12:01, Mattias Gaertner via Lazarus wrote:
Sounds like cody's dictionary:
http://wiki.lazarus.freepascal.org/Cody#Unit_.2F_Identifier_Dictionary
Fantastic! From the wiki description, this sounds exactly like what I
was going to try and implement. Open Source developers are amazin
On 2017-05-26 12:06, Ondrej Pokorny via Lazarus wrote:
Please share this feature with us when you implemented it! I miss it as
well (I do a simple Search in Files now).
It seems it already exists (as Mattias pointed out) - we just didn’t
know about it. :) All that remains is to assign a short
Thanks for looking at this.
On 2017-05-26 12:42, Mattias Gaertner via Lazarus wrote:
It copies the package directory with some options.
The fpgui_toolkit directory only contains the 9 files. The other files
are in parent or sibling directories.
But those are still part of the package. At you
On 2017-05-26 14:11, Mattias Gaertner via Lazarus wrote:
Not actually being able to publish what is inside the package.
What do you mean with "inside"?
It lists some units, but not all. Some directories are shared by other
packages.
I see no straightforward rule to publish only the package fpgui
On 2017-06-15 13:17, Andrea Mauri via Lazarus wrote:
I am going to buy a Mac but since I never used a Mac I would like to ask
you if you have any suggestion, which Mac should I choose?
Do you need portable computing, or always working from the same desk?
Portable computing:
Macbook Pro Ren
Hi Guys,
This is just to give everybody that works on FPC or Lazarus a pat on the
back. Seriously, you guys are doing an *excellent* job. Even though I am
sometimes a bit hard on you guys.
Having moved back to Delphi (I'm using XE at the moment) for a
contracting job, I got to the realizatio
On 2017-07-13 06:54, Michael Van Canneyt via Lazarus wrote:
I have put this little snippet of text aside, so I can use it for future
reference ;)
Yeah, knowing this list [nobody here ever forgets], that is something
that going to bite me in the a** at some point. :)
Regards,
Graeme
--
___
On 2017-07-13 07:22, Ondrej Pokorny via Lazarus wrote:
OXml can do that for Lazarus (it's my commercial project):
http://www.kluug.net/oxml.php
Well done.
One small note...
On that page it mentions "OXml supports Lazarus 1.0 and newer on all
platforms (tested Win32, Win64, Linux, MacOSX)
On 2017-07-18 14:42, Marcos Douglas B. Santos via Lazarus wrote:
I would like to know if there is a tool or a simple way to compile, run and
catch the results for all projects.
MSEide+MSEgui has such a tool in its MSEUniverse repository. It's a bit
cryptic to use (and no help as always), but o
On 2017-07-20 12:04, Marco van de Voort via Lazarus wrote:
- Error Insight (red squiggles for Unknown Identifiers) is horribly
broken. My code editor looks as if my 1 year old drew with a red
...snip...
My experience is the other way. Delphi (XE10) here, updates it live,
while lazarus ne
On 2017-07-20 12:39, Ondrej Pokorny via Lazarus wrote:
IMO we should give the Lazarus foundation more importance/advertisement.
Definitely!
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/l
On 2017-07-20 12:33, Graeme Geldenhuys via Lazarus wrote:
And more
;-)
[ I promise this will be the last]
* With Delphi, "deprecated" is not allowed on Properties.
* Delphi doesn't support user defined compiler hints and warnings
like {$warning This is a user-
On 2017-07-20 14:41, Sven Barth via Lazarus wrote:
Delphi had always been a fancy text editor when debugging and probably
always will be :P
I'm just shocked at how behind Delphi has become. FPC and Lazarus are so
far ahead in language features, target platforms, IDE features - they
have simpl
On 2017-07-20 14:47, Sven Barth via Lazarus wrote:
The syntax in Delphi is "{$message [hint¦error¦warn¦fatal] 'text'}" which
is also supported by FPC.
Thanks Sven - literally 2 minutes ago I got notified via Google+ about
that directive.
Regards,
Graeme
--
On 2017-07-20 15:20, Petr Hložek via Lazarus wrote:
Even Ctrl+Click navigation
doesn't work, it jumps always to nonsense place.
Yeah, I get that all the time. I'm now using GExpert's add-on for its
"procedure list" and "grep search" features to get more accurate code
navigation in Delphi.
On 2017-07-24 03:39, Lars via Lazarus wrote:
Wirth's law applies, if you know it... As computers get faster, software
gets more bloated and computers cannot keep up with the software bloat.
Indeed, and it doesn't only seem to apply to Windows software. Linux and
FreeBSD software are affected t
On 2017-07-25 13:01, Lars via Lazarus wrote:
Is it because of QT 5 ?
It says on the internets that Lumina uses QT 5
I don't actually know what GUI toolkit Lumina uses, but it might well be
qt5. If that's the cause of the huge memory usage or not - I can't say.
What I do know is that many dev
On 2017-07-26 14:54, Alexey via Lazarus wrote:
I think LCL has many Compare funcs, but misses func for TPoint. Here
it's comparing x/y screen coordinates
Why not extend TPoint with an IsEquals() method, so you can do something
like
var
p1: TPoint;
p2: TPoint;
begin
// ... populate
On 2017-07-26 16:22, Michael Van Canneyt via Lazarus wrote:
First start by defining what ComparePoints is supposed to measure or compare.
If "compare" doesn't mean "equals", then a better name should be used,
otherwise that too is up for incorrect interpretation.
If "equals" is needed, wh
On 2017-07-26 17:27, Alexey via Lazarus wrote:
Hm, in my app Int makes sense: i need to compare Points in binary
search, and see: >, <, =.
Ever heard of Manhatten Length? That would be a more logical approach.
It is a commonly used length calculation for points.
http://en.wikipedia.org/wik
Hi Sven,
Thanks for clarifying the TPoint type. I thought it was a record
structure, but just wanted to make sure - as I mentioned, different
frameworks or libraries might use different types.
On 2017-07-26 21:14, Sven Barth via Lazarus wrote:
For object types you'll need to declare global
On 2017-08-02 20:39, Juha Manninen via Lazarus wrote:
he dotted names support may be quite perfect now.
So does FPC or Lazarus already support the ability to specify the
default namespace that must be applied for a project? If so how and
where do you specify the namespace to be applied?
eg:
On 2017-08-13 11:44, Sven Barth via Lazarus wrote:
Specifying default namespaces (yes, plural) is not yet supported by FPC.
Okay, thanks for confirming that Sven.
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://
On 2017-08-13 11:51, Juha Manninen via Lazarus wrote:
Now is year 2017, Unicode has been used for decades. Everybody should
use it by now.
Indeed, I can't agree more. Plus, I normally use UTF-8 for any text
files I create.
Regards,
Graeme
--
___
On 2017-08-14 15:11, Tony Whyman via Lazarus wrote:
ambiguous a term - especially as the Delphi/FPC UnicodeString type
exists and probably (but I'm not certain) means UTF-16.
Yes, that is f**ken annoying. FPC should have named it what it really is
- UTF16String! But instead they followed Delp
Hi guys,
Just wanted to show you guys something. The new kid on the block is
growing up very fast CrossVCL.
https://www.youtube.com/watch?v=_lr_BQlXvkk
I believe the programmer is the ex-FMX (FireMonkey) developer that was
let go by Embarcadero, and he is hitting back with a vengeance
On 2017-08-15 10:52, Michael Van Canneyt via Lazarus wrote:
The only 'problem' is that TStrings uses a single-byte string.
Why can't that be changed to a UnicodeString or UTF8String - after all,
the Unicode standard is meant to support all languages. I would have
thought that would be an obvi
On 2017-08-15 18:29, Luca Olivetti via Lazarus wrote:
but for 3rd party libraries/components (e.g.
synapse comes to mind
Then better start filing bug reports to all those 3rd party libraries
and components - they have been abusing the system and will silently
fail. Not to mention that FPC is
On 2017-08-15 12:35, Michael Schnell via Lazarus wrote:
How to compare it against Lazarus ?
No idea - I've only been watching the CrossVCL videos as milestones get
reached. I've never tried CrossVCL personally, and don't use Delphi
personally either (since 2006).
Regards,
Graeme
--
fpGUI
On 2017-08-15 20:22, Luca Olivetti via Lazarus wrote:
Wait a minute, why "abuse"?
After all, before code aware strings, an ansistring could store any kind
of arbitrary data with no problem and no conversion, and made it
extremely easy
Just listen to what you are saying A string type and yo
1 - 100 of 511 matches
Mail list logo