From 7f5bd5729a483a640eed64800ae6e465fff7a801 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 1 Aug 2021 16:46:17 +0200 Subject: [PATCH 1/3] Add Versions in README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index bc47aea1..88f8135a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,23 @@ Please use the GitHub issue tracker for bug reports. - (Continously atm.) Translate integer aliases into typed enums. See PR [#4](https://github.com/PascalGameDevelopment/SDL2-for-Pascal/pull/4) for reference. - (Continously) Check FPC/Delphi compatibility. +## Versions + +The version tag (see [tags](https://github.com/PascalGameDevelopment/SDL2-for-Pascal/tags)) refers to the version of this translation package [SDL2 for Pascal](https://github.com/PascalGameDevelopment/SDL2-for-Pascal), not the `SDL2 library`. + +### v2.x (planned) + +- be up-to-date with version 2.0.14 of the `SDL2 library` +- replaced all aliases by typed enums +- improve Delphi-compatibility (and even more important, DO NOT break it) + +### v2.0 + +- first official release of the PGD community fork of the [Pascal-SDL-2-Headers](https://github.com/ev1313/Pascal-SDL-2-Headers) + - its latest version git tag is 1.72, in the sdl2.pas it goes even up to version 1.80; hence starting with v2.0 for this fork is a senseful distinction +- this ia a highly Delphi-compatible and stable fallback package +- loosely is up-to-date with version 2.0.4 of the `SDL2 library` + ## License You may license the Pascal SDL2 units either From 7e6ac20b2ed7077f64b315a7dcb828bb51720cbe Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 1 Aug 2021 17:32:39 +0200 Subject: [PATCH 2/3] Update Copyright info + Remove changelog info - the changelog info is not updated anymore --- sdl2.pas | 45 ++++----------------------------------------- 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/sdl2.pas b/sdl2.pas index 86d9c68e..fc581b20 100644 --- a/sdl2.pas +++ b/sdl2.pas @@ -5,7 +5,10 @@ Copyright (C) 1997-2013 Sam Lantinga Pascal-Header-Conversion - Copyright (C) 2012-2017 Tim Blume aka End/EV1313 + Copyright (C) 2012-2020 Tim Blume aka End/EV1313 + + SDL2-for-Pascal + Copyright (C) 2020-2021 PGD Community SDL.pas is based on the files: "sdl.h", @@ -87,46 +90,6 @@ - Sam Latinga and everyone else from the SDL-Team } -{ - Changelog: - ---------- - ? 31.01.2016: updated sdlevents.inc to SDL2 2.0.4, adressing issue #24 (thx to imantsg) - ? 16.01.2016: Delphi 6+ bugfixes/compatibility. Thx to Peter Karpov for identifiying and testing. - v.1.80-stable; 09.10.2014: added sdl_cpuinfo.h and sdl_clipboard.h - v.1.74-stable; 10.11.2013: added sdl_gamecontroller.h - v.1.73-stable; 08.11.2013: added sdl_hints.h and some keystate helpers - thx to Cybermonkey! - v.1.72-stable; 23.09.2013: fixed bug with procedures without parameters - (they must have brakets) - v.1.70-stable; 17.09.2013: added "sdl_messagebox.h" and "sdl_haptic.h" - v.1.63-stable; 16.09.2013: added libs sdl2_image and sdl2_ttf and added sdl_audio.h - v.1.62-stable; 03.09.2013: fixed. - v.1.61-stable; 02.09.2013: now it should REALLY work with Mac... - v.1.60-stable; 01.09.2013: now it should work with Delphi XE4 for Windows and - MacOS and of course Lazarus. thx to kotai :D - v.1.55-Alpha; 24.08.2013: fixed bug with SDL_GetEventState thx to d.l.i.w. - v.1.54-Alpha; 24.08.2013: added sdl_loadso.h - v.1.53-Alpha; 24.08.2013: renamed *really* and fixed linux comp. - v.1.52-Alpha; 24.08.2013: renamed sdl.pas to sdl2.pas - v.1.51-Alpha; 24.08.2013: added sdl_platform.h - v.1.50-Alpha; 24.08.2013: the header is now modular. thx for the hint from d.l.i.w. - v.1.40-Alpha; 13.08.2013: Added MacOS compatibility (thx to stoney-fd) - v.1.34-Alpha; 05.08.2013: Added missing functions from sdl_thread.h - v.1.33-Alpha; 31.07.2013: Added missing units for Linux. thx to Cybermonkey - v.1.32-Alpha; 31.07.2013: Fixed three bugs, thx to grieferatwork - v.1.31-Alpha; 30.07.2013: Added "sdl_power.h" - v.1.30-Alpha; 26.07.2013: Added "sdl_thread.h" and "sdl_mutex.h" - v.1.25-Alpha; 29.07.2013: Added Makros for SDL_RWops - v.1.24-Alpha; 28.07.2013: Fixed bug with RWops and size_t - v.1.23-Alpha; 27.07.2013: Fixed two bugs, thx to GrieferAtWork - v.1.22-Alpha; 24.07.2013: Added "sdl_shape.h" and TSDL_Window - (and ordered the translated header list ^^) - v.1.21-Alpha; 23.07.2013: Added TSDL_Error - v.1.20-Alpha; 19.07.2013: Added "sdl_timer.h" - v.1.10-Alpha; 09.07.2013: Added "sdl_render.h" - v.1.00-Alpha; 05.07.2013: Initial Alpha-Release. -} - {$DEFINE SDL} {$I jedi.inc} From f247541ee646c3379555202cdb923e2da532cf6d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 1 Aug 2021 17:34:56 +0200 Subject: [PATCH 3/3] Shift changelog info into md file This file archieves the changelog info removed from sdl2.pas. It is not updated anymore for years . The commit history is more precise anyway. --- LEGACYCHANGELOG.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 LEGACYCHANGELOG.md diff --git a/LEGACYCHANGELOG.md b/LEGACYCHANGELOG.md new file mode 100644 index 00000000..cea8660d --- /dev/null +++ b/LEGACYCHANGELOG.md @@ -0,0 +1,67 @@ +# Legacy Changelog (not updated) + +? 31.01.2016: updated sdlevents.inc to SDL2 2.0.4, adressing issue #24 (thx to imantsg) + +? 16.01.2016: Delphi 6+ bugfixes/compatibility. Thx to Peter Karpov for identifiying and testing. + +v.1.80-stable; 09.10.2014: added sdl_cpuinfo.h and sdl_clipboard.h + +v.1.74-stable; 10.11.2013: added sdl_gamecontroller.h + +v.1.73-stable; 08.11.2013: added sdl_hints.h and some keystate helpers + thx to Cybermonkey! + +v.1.72-stable; 23.09.2013: fixed bug with procedures without parameters + (they must have brakets) + +v.1.70-stable; 17.09.2013: added "sdl_messagebox.h" and "sdl_haptic.h" + +v.1.63-stable; 16.09.2013: added libs sdl2_image and sdl2_ttf and added sdl_audio.h + +v.1.62-stable; 03.09.2013: fixed. + +v.1.61-stable; 02.09.2013: now it should REALLY work with Mac... + +v.1.60-stable; 01.09.2013: now it should work with Delphi XE4 for Windows and + MacOS and of course Lazarus. thx to kotai :D + +v.1.55-Alpha; 24.08.2013: fixed bug with SDL_GetEventState thx to d.l.i.w. + +v.1.54-Alpha; 24.08.2013: added sdl_loadso.h + +v.1.53-Alpha; 24.08.2013: renamed *really* and fixed linux comp. + +v.1.52-Alpha; 24.08.2013: renamed sdl.pas to sdl2.pas + +v.1.51-Alpha; 24.08.2013: added sdl_platform.h + +v.1.50-Alpha; 24.08.2013: the header is now modular. thx for the hint from d.l.i.w. + +v.1.40-Alpha; 13.08.2013: Added MacOS compatibility (thx to stoney-fd) + +v.1.34-Alpha; 05.08.2013: Added missing functions from sdl_thread.h + +v.1.33-Alpha; 31.07.2013: Added missing units for Linux. thx to Cybermonkey + +v.1.32-Alpha; 31.07.2013: Fixed three bugs, thx to grieferatwork + +v.1.31-Alpha; 30.07.2013: Added "sdl_power.h" + +v.1.30-Alpha; 26.07.2013: Added "sdl_thread.h" and "sdl_mutex.h" + +v.1.25-Alpha; 29.07.2013: Added Makros for SDL_RWops + +v.1.24-Alpha; 28.07.2013: Fixed bug with RWops and size_t + +v.1.23-Alpha; 27.07.2013: Fixed two bugs, thx to GrieferAtWork + +v.1.22-Alpha; 24.07.2013: Added "sdl_shape.h" and TSDL_Window + (and ordered the translated header list ^^) + +v.1.21-Alpha; 23.07.2013: Added TSDL_Error + +v.1.20-Alpha; 19.07.2013: Added "sdl_timer.h" + +v.1.10-Alpha; 09.07.2013: Added "sdl_render.h" + +v.1.00-Alpha; 05.07.2013: Initial Alpha-Release.