@Michael Van Canneyt
I didn't test but I hope this package can parse this _minified_ CSS
file? Attached on the forum
https://forum.lazarus.freepascal.org/index.php/topic,58853.msg438550.html#msg438550
It has many tricks. E.g. @media blocks (@media supports nested blocks,
not only 1 level), e.
"*zoom", really ? That's not even valid CSS syntax.
I checked 2 EBNF grammars: neither will allow this. I checked the W3
spec: Confirms this is simply not valid syntax.
But "*.nnn" is valid one.
https://css-tricks.com/almanac/selectors/u/universal/
So if the "*" has meaning in one context, it
I will add some options to interpret "*zoom" as a property name, but
they will
off by default.
OK thanks.
Can you try now with CSS (usual or minified) from
https://getbootstrap.com/ ?
See 'download' which gives file bootstrap-5.1.3-dist.zip .
Complex places:
.link-dark:hover, .link-dark:
Currently if I run "extractcssclasses" with Bootstrap 4 (or 5) CSS file
(not minified) I get it work for more than 30 seconds, then I stopped
it, too long.
Output file (parameter "--output=4.txt") not created.
CPU Core i3. Linux x64.
AT
___
fpc-pascal
(I posted to the forum, but it's better to post here.)
TStringList.Text setter does this
Procedure TStrings.DoSetTextStr(const Value: string; DoClear :
Boolean);
...
if FLineBreak=sLineBreak then
begin
While GetNextLine (Value,S,P) do
Add(S)
TEMPLATE_UTILS_HEADER RCDATA "./resources/utils.h"
My .rc file has this line, so it seems sometimes relative path is
supported:
tatbutton BITMAP "res\\tatbutton.bmp"
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://l
TEMPLATE_UTILS_HEADER RCDATA "./resources/utils.h"
I made an experiment with fresh fpcres compiled from source. It works
even with your case! Ie with "./folder/filename". I created simple RC
file, added there the line with "./folder/a.bmp", added BMP file in that
folder, called fpcres u
You need to set your certificate details as well:
fServer.UseSSL := fUseSSL;
I just saved this info to wiki:
https://wiki.freepascal.org/fphttpserver#Support_for_HTTPS
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepa
I wrote this info to new page https://wiki.freepascal.org/Serial_unit ,
welcome to add more info there.
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
if Key=VK_PAUSE then
begin
do_something;
Key:=0;
end;
Yes. And I tested the Pause/Break key in the Lazarus program CudaText. I
can assign the key to any action (in the Command Palette, press F9), and
it works then. E.g. action "toggle statusbar" works then.
ShortcutToText() for this key sh
function PosInBytes(const Pattern: byte; Target: TBytes): integer;
Let's use IndexByte standard procedure here?
Maybe also in the 1st overloaded code too?
Alex
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cg
Translation of blog post http://www.stolyarov.info/node/290 from Ru to
En.
Sep 6 2020.
Author: Andrey Stolyarov, author of Ru books about programming.
==
I'm trying to convince FPC men to finally fix SeekEof:
https://forum.lazarus.freepascal.org/index.php/topic,51353.0.html
Tellingly, I even se
How to load a custom font from a stream instead of from a file?
Currently no way to my knowledge,
But fpparsettf.pp has this:
TTFFileInfo = class(TObject)
...
public
// Load a TTF file from file or stream.
Procedure LoadFromFile(const AFileName : String);
Procedure LoadFr
13 matches
Mail list logo