aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Language option fix:tobigun2009-07-263-54/+26
| | | | | | | | | - Never assume an order of the files returned by FindFirst/Next(). This will not work on linux as the order is random. - That is also the reason why the default theme on linux is random (usdx uses the first theme returned by FindFirst(). This is not fixed yet. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1924 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Delphi 7 compatibility fix (eat this, buildbot)tobigun2009-07-261-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1922 b956fd51-792f-4845-bead-9b4dfca2ff2c
* language improvements and code cosmetics. no code change.k-m_schindler2009-07-231-56/+56
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1921 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - language files converted to UTF-8 WITH BOM (!!!)tobigun2009-07-231-2/+2
| | | | | | - replaced TIniFile with TUnicodeMemIniFile in ULanguage as neither TIniFile nor TMemIniFile are capabable of handling the UTF-8 BOM correctly (for example the first section name that is preceded by a BOM is ignored and hence the whole section is ignored) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1914 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to current trunk (1853)tobigun2009-07-232-47/+80
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1913 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Buggy DirectoryFindFiles() (used by BrowseTXT/XMLFiles) removed and replaced ↵tobigun2009-07-232-98/+58
| | | | | | | | | | | with TSongs.FindFilesByExtension() - DirectoryFindFiles() was not applicable as: - it found files that contained the extension anywhere in the file, e.g. file.txt.bak - was not recursive (caller had to explore subdirs himself) - was not correct if ReturnAllSubDirs=false, as it also returned matching directories with IsFile=true and IsDirectory=false git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1912 b956fd51-792f-4845-bead-9b4dfca2ff2c
* spelling correctionstobigun2009-07-231-21/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1909 b956fd51-792f-4845-bead-9b4dfca2ff2c
* reset all ref-counted fields before usage of FillChar() to avoid memory leakstobigun2009-07-232-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1908 b956fd51-792f-4845-bead-9b4dfca2ff2c
* GarbageList.Count >= GarbageMaxCounttobigun2009-07-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1907 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TPlatformMacOSX.CreateUserFolders() uses IPathtobigun2009-07-231-48/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1906 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TUnicodeMemIniFile addedtobigun2009-07-231-0/+79
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1905 b956fd51-792f-4845-bead-9b4dfca2ff2c
* string -> UTF8String / IPathtobigun2009-07-232-47/+38
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1904 b956fd51-792f-4845-bead-9b4dfca2ff2c
* According to the Delphi doc for INFINITY it should not be used in ↵tobigun2009-07-231-2/+2
| | | | | | comparisons. Use IsInfinit() instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1902 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Define for OS X must be DARWIN and not APPLEtobigun2009-07-231-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1901 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge with trunk revision 1845tobigun2009-07-233-33/+356
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1900 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - commentstobigun2009-07-231-9/+12
| | | | | | | - StringReplaceW -> WideStringReplaceChar git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1899 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Song sorting uses locale specific comparisontobigun2009-07-231-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1898 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - interface ref-cnt bug workaround for IPathtobigun2009-07-232-36/+122
| | | | | | | - IPath.Intern to be able to see the string contents while debugging (at least with delphi) - previous workaround with temp-paths removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1897 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Translations addedtobigun2009-07-232-0/+8
| | | | | | - Info popup added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1895 b956fd51-792f-4845-bead-9b4dfca2ff2c
* further string -> UTF8String conversionstobigun2009-07-231-13/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1894 b956fd51-792f-4845-bead-9b4dfca2ff2c
* WideStringLower/UpperCase on unix uses WideLower/UpperCase from cwstring ↵tobigun2009-07-231-9/+26
| | | | | | again instead of the simple ASCII Lower/UpperCase version git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1893 b956fd51-792f-4845-bead-9b4dfca2ff2c
* CurrentTexture.Name = Name -> CurrentTexture.Name.Equals(Name)tobigun2009-07-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1892 b956fd51-792f-4845-bead-9b4dfca2ff2c
* integer/word/.. upper -> lower casetobigun2009-07-232-105/+105
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1890 b956fd51-792f-4845-bead-9b4dfca2ff2c
* further string -> UTF8String or IPath conversionstobigun2009-07-2310-61/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1887 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TTextFileStream/TMemTextFileStreamtobigun2009-07-236-316/+691
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1886 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - onHide -> onHidetobigun2009-07-232-4/+4
| | | | | | - onShow -> OnShow git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1885 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SplitString() addedtobigun2009-07-231-0/+71
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1884 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - IFilesystem.CreateFileStream() removedtobigun2009-07-231-13/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1883 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UPlatformLinux/MacOSX adjusted to use IPathtobigun2009-07-232-23/+37
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1881 b956fd51-792f-4845-bead-9b4dfca2ff2c
* missing svn:eol-style addedtobigun2009-07-232-241/+241
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1880 b956fd51-792f-4845-bead-9b4dfca2ff2c
* THandleStream -> TStream as the THandleStream stuff is not usedtobigun2009-07-232-12/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1879 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed some nasty "Error" debug-logstobigun2009-07-231-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1878 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Copied stuff from sdlstreams.pas removed from UCommon.pas. Use ↵tobigun2009-07-232-87/+37
| | | | | | | | sdlstreams.pas directly instead. - Image loading now completely handles Unicode filenames. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1876 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - IPath integrationtobigun2009-07-2334-2030/+1517
| | | | | | - BASS is now unicode compatible git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1875 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - IPath addedtobigun2009-07-233-100/+1194
| | | | | | | - UFilesystem/UUnicodeUtils update git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1874 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UPath renamed to UPathUtilstobigun2009-07-2315-17/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1873 b956fd51-792f-4845-bead-9b4dfca2ff2c
* song saving initially switched to UTF8tobigun2009-07-231-55/+66
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1868 b956fd51-792f-4845-bead-9b4dfca2ff2c
* CTRL+[A-Z] experimenttobigun2009-07-231-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1864 b956fd51-792f-4845-bead-9b4dfca2ff2c
* DEFAULT_ENCODING is now fixed (to CP1252) in USong.pas and cannot be set in ↵tobigun2009-07-231-10/+0
| | | | | | the usdx config-file anymore (feature would just cause confusion and non-portable song-files) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1863 b956fd51-792f-4845-bead-9b4dfca2ff2c
* DirectoryFindFiles unified for mac+unixtobigun2009-07-233-9/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1862 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - unneeded vars removedtobigun2009-07-231-24/+15
| | | | | | | - DEFAULT_ENCODING is now fixed (to CP1252) in USong.pas and cannot be set in the usdx config-file anymore (feature would just cause confusion and non-portable song-files) - RecodeStringUTF8 -> DecodeStringUTF8 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1861 b956fd51-792f-4845-bead-9b4dfca2ff2c
* font extrusion is done by freetypes stroker API instead of pixel-by-pixel ↵tobigun2009-07-231-71/+108
| | | | | | | | operation on the glyph bitmap -> sharper and nicer outlines git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1860 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Unicode functions:tobigun2009-07-231-13/+130
| | | | | | | | | | - IsPrintableChar - NextCharUTF8 - UTF8Delete / UCS4Delete - UTF8Copy git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1858 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - encodings seperated to multiple files located in "encoding"tobigun2009-07-231-137/+136
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1857 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge with current trunk revision 1827tobigun2009-07-2327-3818/+1076
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1855 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - revert to 1777tobigun2009-07-2320-1322/+1236
| | | | | | - Ocean.ini and SVN properties are not reverted git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1854 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged r1830 trunk (current) in this branchs_alexander2009-06-2720-1236/+1322
| | | | | | | add some files to svn:ignore git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1831 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fpc patchtobigun2009-03-152-3/+16
| | | | | | - added units to project-file git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1640 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UFilename.pas + UFilename.pas added for uniform filesystem access for ↵tobigun2009-03-142-0/+959
| | | | | | Windows/Mac/Unix. Very experimental. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1639 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - font-engine uses UCS4 internallytobigun2009-03-142-90/+249
| | | | | | - more UTf-8 and UCS4 routines in UnicodeUtils git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1636 b956fd51-792f-4845-bead-9b4dfca2ff2c