GithubHelp home page GithubHelp logo

developpeurpascal / librairies Goto Github PK

View Code? Open in Web Editor NEW
27.0 6.0 12.0 1.36 MB

Ma boite à outils pour projets en Delphi (et un peu Lazarus / FPC mais non testés).

Home Page: https://librairies.developpeur-pascal.fr

License: GNU Affero General Public License v3.0

Pascal 100.00%
delphi pascal firemonkey vcl rtl toolbox libraries fmx delphi-source delphi-library

librairies's Introduction

My toolbox for Delphi projects

Cette page en français.

This repository contains functions, procedures and classes to use in Delphi projects (console, VCL, FireMonkey and others). It's my "everything reuseable things" toolbox.

The units to be used in your projects can be found in the "src" folder. Some features are explained on my blog or have been coded live on Twitch.

Examples of use in the form of VCL or FireMonkey projects are available in the "samples" subfolder.

Many projects using this library are available as open source on my GitHub account. Have a look in particular at the projects listed on this repository or this one. More generic Delphi projects examples are visible here.

This code repository contains a project developed in Object Pascal language under Delphi. You don't know what Delphi is and where to download it ? You'll learn more on this web site.

Talks and conferences

Twitch

Follow my development streams of software, video games, mobile applications and websites on my Twitch channel or as replays on Serial Streameur mostly in French.

Source code installation

To download this code repository, we recommend using "git", but you can also download a ZIP file directly from its GitHub repository.

This project does not use dependencies in the form of sub-modules. If you download a ZIP file from GitHub you should have everything you need to use these units.

Compatibility

As an Embarcadero MVP, I benefit from the latest versions of Delphi and C++ Builder in RAD Studio as soon as they are released. I therefore work with these versions.

Normally, my libraries and components should also run on at least the current version of Delphi Community Edition.

There's no guarantee of compatibility with earlier versions, even though I try to keep my code clean and avoid using too many of the new ways of writing in it (type inference, inline var and multiline strings).

If you detect any anomalies on earlier versions, please don't hesitate to report them so that I can test and try to correct or provide a workaround.

License to use this code repository and its contents

This source code is distributed under the AGPL 3.0 or later license.

You are generally free to use the contents of this code repository anywhere, provided that:

  • you mention it in your projects
  • distribute the modifications made to the files supplied in this project under the AGPL license (leaving the original copyright notices (author, link to this repository, license) which must be supplemented by your own)
  • to distribute the source code of your creations under the AGPL license.

If this license doesn't suit your needs, you can purchase the right to use this project under the Apache License 2.0 or a dedicated commercial license (contact the author to explain your needs).

These source codes are provided as is, without warranty of any kind.

Certain elements included in this repository may be subject to third-party usage rights (images, sounds, etc.). They are not reusable in your projects unless otherwise stated.

How to ask a new feature, report a bug or a security issue ?

If you want an answer from the project owner the best way to ask for a new feature or report a bug is to go to the GitHub repository and open a new issue.

If you found a security issue please don't report it publicly before a patch is available. Explain the case by sending a private message to the author.

You also can fork the repository and contribute by submitting pull requests if you want to help. Please read the CONTRIBUTING.md file.

Support the project and its author

If you think this project is useful and want to support it, please make a donation to its author. It will help to maintain the code and binaries.

You can use one of those services :

or if you speack french you can subscribe to Zone Abo on a monthly or yearly basis and get a lot of resources as videos and articles.

librairies's People

Contributors

developpeurpascal 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

librairies's Issues

Olf.RTL.Params proposer une initialisation du dossier de stockage en v2

par défaut on conserve le fonctionnement actuel

pour l v2 on fait du
DEBUG => documents
RELEASE => documents pour iOS, HomePath pour les autres

passer deux niveaux d'arborescence : la société, le logiciel

utiliser le nom du logiciel (ou de l'exercice) comme nom de fichier pour les paramètres

Olf.FMX.TextImageFrame / ajouter fonction permettant de récupérer le premier TImageList d'un TDataModule

Provenant de Folder2FMXImageList, on ne connaît pas forcément le nom du TImageList des modules de données d'un projet mais on sait qu'il n'y en a qu'un seul dans les unités générées, ça permet d'automatiser un affichage en fonction des modules de données référencés dans un projet

cf VideoTitlePageGenerator

function TfrmMain.getImageList(DMFont: TDataModule): TImageList;
begin
if (DMFont.ComponentCount = 1) and (DMFont.Components[0] is TImageList) then
result := DMFont.Components[0] as TImageList
else
result := nil;
end;

u_urlOpen / URL opening in Android 12 fail

According to a message on Stack Overflow, it seems the url open procedure doesn't work on Android 12.

https://stackoverflow.com/questions/7443264/how-to-open-an-url-with-the-default-browser-with-firemonkey-cross-platform-appli/45835401?noredirect=1#comment129688894_45835401

The solution given by GregT is to replace the Intent creation by this code :

Intent := TJIntent.JavaClass.init(TJIntent.JavaClass.ACTION_VIEW, TJnet_Uri.JavaClass.parse(StringToJString(URL)));

Have to test it before upgrade the unit.

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.