alrieckert / lazarus Goto Github PK
View Code? Open in Web Editor NEWFree Pascal Lazarus Project - Sync'ed with Lazarus SubVersion trunk every 15 minutes
Home Page: http://www.lazarus.freepascal.org/
License: Other
Free Pascal Lazarus Project - Sync'ed with Lazarus SubVersion trunk every 15 minutes
Home Page: http://www.lazarus.freepascal.org/
License: Other
The refresh button is only enabled when the CanModify condition is met. But refreshing can be done at no risk even if datas are readonly.
I suggest this patch (line 200) to correct that meaningless limitation :
How to reproduce the issue
Structure: Linux Ubuntu 21.04, 64 bits, with Gnome 3.38.n
Using fpcupdeluxe, install Lazarus+FPC trunk (v2.1.0 r64270 at the moment)
Still with fpcupdeluxe install the anchordocking module (which also installs sparta_dockedformeditor)
Run Lazarus that already starts a new project, pick some visual components from the palette for the form (in the Designer), click on one of the form's components and manually change one of its properties (for example: Width). Then, using the mouse pointer, click on one of the visual components on the form giving focus to it, then, with the mouse buttons released, move the mouse pointer. It is noticed, at this moment, that it appears that the Control key is pressed while the mouse cursor moves, as the object selection rectangle appears under the mouse cursor ... But the Control key is not pressed and no button on the mouse is pressed too
This issue can be somewhat sporadic, but it happens with a very large frequency causing the selection and, sometimes, changes of components that you do not want to change
A test was performed with manual installation of Lazarus (2.1.0), anchordocking and sparta_dockedformeditor and the issue also happened
When uninstalling sparta_dockedformedsitor the issue does not happen
Most sites has UTF-8 encoding by default, but this don't recognize correctly.
I'm fix this every relize freepascal. Please fix library.
lazarus/components/turbopower_ipro/iphtml.pas
procedure TIpHtml.Parse;
...
StartPos := CharStream.Position;
{$IFDEF IP_LAZARUS}
FDocCharset := 'ISO-8859-1'; <- please change to 'UTF-8'
FHasBOM := false;
There is a problem with UTF8ToConsole
on my Windows 10.
I live in Switzerland, but Windows is set to English, and chcp
displays 437 as my active codepage.
The following program:
uses LazUTF8, Crt;
var
S: String;
begin
Writeln('Writing the name from a string literal: "Jérémie"');
// ^ garbage
Writeln('Converting UTF-8 string to console (should be implicit?): "', UTF8ToConsole(S), '"');
// ^ garbage
Writeln('Converting UTF-8 string to Windows CodePage: "', UTF8ToWinCP(S), '"');
// ^ TODO: works, but how to make it portable?
ReadKey;
end.
produces the following output:
Writing the name from a string literal: "Jérémie"
Converting UTF-8 string to console (should be implicit?): "Jérémie"
Converting UTF-8 string to Windows CodePage: "Jérémie"
The strange thing is that UTF8ToConsole
immediately calls UTF8ToWinCP
, which (as demonstrated by the last test case, and also verified using the debugger) produces the right result. The remaining code of UTF8ToConsole
however then further processes that result, so that the end result is wrong.
Hi, I was just installing package and here its what i got.
lr_class.pas(8318,18) Error: Incompatible types: got "TBytes" expected "Pointer".
there you have this line
BM:=DataSet.GetBookMark;
Ideas?
thanks and regards
I installed this only component package with the two LPKs on lazarus-ide-1.6 (default ubuntu 16.04 repos)and fpc 3.00
I got the following compiler output :
Compile package AnchorDocking 0.6: Exit code 256, Errors: 2
anchordocking.pas(5877,34) Error: identifier idents no member "IndexOfPageAt"
anchordocking.pas(6251,16) Error: Identifier not found "IndexOfPageAt"
EDIT : the sub-dir package at
the commit 256d43f on May 24, 2016
compiled and worked perefectly
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.