Giter Site home page Giter Site logo

alrieckert / lazarus Goto Github PK

View Code? Open in Web Editor NEW
171.0 171.0 164.0 259.52 MB

Free Pascal Lazarus Project - Sync'ed with Lazarus SubVersion trunk every 15 minutes

Home Page: http://www.lazarus.freepascal.org/

License: Other

Makefile 8.24% Pascal 87.67% Shell 0.02% C 0.96% HTML 0.06% XSLT 0.01% CSS 0.01% AutoHotkey 0.01% Batchfile 0.01% PHP 0.08% C++ 2.51% SourcePawn 0.17% Assembly 0.22% POV-Ray SDL 0.01% QMake 0.02% Objective-C 0.01% Roff 0.01%
pascal

lazarus's People

Contributors

maciej-izak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lazarus's Issues

Refresh button disabled

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 :

  • Buttons[nbRefresh].Enabled:=CanModify;
  • Buttons[nbRefresh].Enabled:=Enabled and FDataLink.Active and not FDataLink.Editing;

UTF8ToConsole bug

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.

compiling problem incompatible Types--

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

anchordocking and AnchorDockingDsgn won't compile

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

Issue in Designer usability - Lazarus/Linux/Gnome

How to reproduce the issue

  1. Structure: Linux Ubuntu 21.04, 64 bits, with Gnome 3.38.n

  2. Using fpcupdeluxe, install Lazarus+FPC trunk (v2.1.0 r64270 at the moment)

  3. Still with fpcupdeluxe install the anchordocking module (which also installs sparta_dockedformeditor)

  4. 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

  5. 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

  6. A test was performed with manual installation of Lazarus (2.1.0), anchordocking and sparta_dockedformeditor and the issue also happened

  7. When uninstalling sparta_dockedformedsitor the issue does not happen

TIpHtmlPanel default encode problems (lazarus/components/turbopower_ipro/iphtml.pas)

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;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.