GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HeidiSQL/HeidiSQL at lazarus

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

936 Commits
936 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.tx
.tx
 
 
extra
extra
 
 
package-skeleton/usr
package-skeleton/usr
 
 
res
res
 
 
source
source
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.tgitconfig
.tgitconfig
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
LICENSE-openssl
LICENSE-openssl
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
create-macos-app.sh
create-macos-app.sh
 
 
create-windows-installer.iss
create-windows-installer.iss
 
 
deb-control.txt
deb-control.txt
 
 
heidisql.ico
heidisql.ico
 
 
heidisql.lpi
heidisql.lpi
 
 
heidisql.lpr
heidisql.lpr
 
 
lazbuild-with-buildnr.sh
lazbuild-with-buildnr.sh
 
 
license.txt
license.txt
 
 
patch-manifest.sh
patch-manifest.sh
 
 

Repository files navigation

HeidiSQL Lazarus/FreePascal port

Build Status Supports Windows Supports Linux Supports macOS License Latest Release Downloads

This is the code base for compiling HeidiSQL on Linux and macOS. From v13 onwards, the Windows version will be compiled from here.

Since February 2025 I am migrating the sources from the master branch, using Lazarus and FreePascal. I left away some Windows-only stuff which won't ever work on other platforms, such as some Windows message handlings, and ADO driver usage. Therefore, support for MS SQL is being redeveloped via FreeTDS (formerly ADO), but is not yet fully mature.

Ansgar

HeidiSQL GTK2 running on Ubuntu Linux 22.04

Building

Install Lazarus 4.8 and FreePascal. Then load the .lpi file in the root directory in the Lazarus IDE. Alternatively, use /usr/bin/lazbuild heidisql.lpi on the command line.

Patching Lazarus 4.8

Local fixes for Lazarus 4.8 live in extra/lazarus-patches/4.8/. The CI applies all of them to the Lazarus installation before building, and local builds should do the same:

for p in extra/lazarus-patches/4.8/*.patch; do
  patch -d /path/to/lazarus -p1 --dry-run < "$p" && patch -d /path/to/lazarus -p1 < "$p"
done

On Windows, use patch --binary -p1 instead: without --binary, GNU patch strips the CRs from the patch and rewrites the entire target file with LF line endings.

Patches are stored with LF line endings in the repository, so they match the LF line endings of the Linux Lazarus installation applied by the CI. With core.autocrlf=true the Windows checkout has CRLF line endings, matching the CRLF Lazarus installation for local application.

Generate new patches as commits in a git baseline of the local Lazarus installation and export them with git diff, then convert to CRLF with unix2dos before applying locally with patch --binary.

The Cocoa patches fix undersized fonts and icons in all VirtualTree controls on retina displays, caused by the blit scaling changes in Lazarus 4.6+ (upstream issues #41313/#41299).

Icons8 copyright

Icons added in January 2019 are copyright by Icons8. Used with a special permission from Icons8 given to Ansgar for this project only. Do not copy them for anything else other than building HeidiSQL.

Lazarus logo.

About

A lightweight client for managing MariaDB, MySQL, SQL Server, PostgreSQL, SQLite, Interbase and Firebird, written in Delphi and Lazarus/FreePascal

www.heidisql.com/

Topics

delphifirebird-databasefreepascalgtk2heidisqlicons8interbaselazarus-idelinuxmacosmariadbmssqlmysqlpostgresqlsqlsqlitesqlite3windows

Resources

Readme

Security policy

Security policy
Activity
Custom properties

Stars

6.3k stars

Watchers

114 watching

Forks

602 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.