aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Results of UTF8Encode() in TSQLiteDatabase.BindData() are stored in a ↵tobigun2008-10-272-19/+11
| | | | | | | | | | | | | | | local AnsiString variable instead of directly converting it to PChar old: PAnsiChar(UTF8Encode(WideString(Bindings[I].VPWideChar))); new: AnsiStr := UTF8Encode(WideString(Bindings[I].VPWideChar)); DataPtr := PAnsiChar(AnsiStr); Although Delphi and FPC create a temporary AnsiString on the stack which is valid until the end of the method, it is more safe not to rely on this behavior. Maybe in some future version of Delphi/FPC the reference count might be decremented and invalidated after converting the temporary AnsiString to a PChar and the PChar will point to invalid data. In contrast to this, the scope of AnsiStr is obvious. - {$IFDEF WIN32} -> {$IFDEF MSWINDOWS} - {$WARNINGS OFF/ON} removed - var-parameters of SQLite3_Open/SQLite3_Prepare/SQLite3_Prepare_v2 declared as out git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1480 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1479 ↵tobigun2008-10-269-3114/+1144
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* configure and package description update:tobigun2008-10-252-724/+0
| | | | | | | - SDL_TTF replaced by freetype - swscale added to debian control file git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1475 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - update to current trunk (just some delphi 2009 compatibility fixes)tobigun2008-10-252-101/+104
| | | | | | - defines WIN32 -> MSWINDOWS (as it is not 32bit specific) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1474 b956fd51-792f-4845-bead-9b4dfca2ff2c
* use projectM 1.2 for wrappertobigun2008-10-251-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1471 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SDL_ttf headers removed (we will use freetype directly)tobigun2008-10-202-1071/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1463 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed unneeded filestobigun2008-10-182-615/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1450 b956fd51-792f-4845-bead-9b4dfca2ff2c
* freetype stuff for testingtobigun2008-10-177-0/+6572
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1449 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - lib-info.txt added with information on the pascal-headers (origin, ↵tobigun2008-10-132-16/+110
| | | | | | | | patches, etc.) - bass headers updated to version 2.4.2.1. Bass 2.4 and 2.4.2 are incompatible as BASS_RECORDINFO.driver was removed and BASS_RECORDINFO.freq now points to a wrong memory location if Bass 2.4 is used. As we use 2.4 and not 2.4.2 this change is guarded by an IFNDEF BASS_242 which is undefined at the moment. If we should switch to 2.4.2 under windows BASS_242 must be defined or the driver field removed entirely. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1448 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SQLiteTable3 update to current trunk ↵tobigun2008-10-133-24/+786
| | | | | | (http://www.itwriting.com/repos/sqlitewrapper/trunk) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1445 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X requirements addedk-m_schindler2008-10-051-4/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1433 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - FFmpeg header updatetobigun2008-10-018-246/+417
| | | | | | | | - update to newest revision - if linked libs are too new, USDX will not compile anymore and display an error message (to avoid mysterious crashes if an unsupported version of FFmpeg is used) - comment change in UVisualizer.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1428 b956fd51-792f-4845-bead-9b4dfca2ff2c
* one more version of fixing the endian problem in SDLk-m_schindler2008-09-281-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1424 b956fd51-792f-4845-bead-9b4dfca2ff2c
* colors fixed on Delphi. broken by 1418k-m_schindler2008-09-281-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1421 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fix of endian problem with soundoutput with portaudio2 on darwin-powerpc. ↵k-m_schindler2008-09-281-0/+2
| | | | | | Delphi is defined also in FPC. Therefore IA32 becomes defined for fpc on powerpc, which is nonsense and gives the problem in portaudio. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1418 b956fd51-792f-4845-bead-9b4dfca2ff2c
* note about installation with finkk-m_schindler2008-09-271-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1417 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Missing FPC Delphi-Mode defines addedtobigun2008-09-132-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1373 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FreeBSD compatibility fixes:tobigun2008-09-105-32/+24
| | | | | | | - {$IF Defined(Linux)} -> {$IF Defined(Linux) or Defined(BSD)} or {$IF Defined(UNIX)} - config-freebsd.inc added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1357 b956fd51-792f-4845-bead-9b4dfca2ff2c
* range-check fix:tobigun2008-09-061-6/+8
| | | | | | | "array[0..0] of TType" changed to "array[0 .. (MaxInt div SizeOf(TType))-1] of TType" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1347 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - new configure/make layout: tobigun2008-09-013-0/+11
| | | | | | | | | | | | | - configure/main-makefile moved to root-dir - configure-script checked in (no need to call autogen.sh on first run) - autogen.sh, m4, install.sh etc. moved to dists/autogen/ - config.guess/sub for canonical builds - unit-tests moved to test - removed delphi subdir in portaudio/-mixer - COPYING.txt/AUTHORS.txt/... added - dists/delphi7/2005 added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1334 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Reordering of the directories[1]: moving Game/Code to srck-m_schindler2008-08-2790-0/+61286
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1302 b956fd51-792f-4845-bead-9b4dfca2ff2c