aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-07-26Language option fix:tobigun3-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
2009-07-26Delphi 7 compatibility fix (eat this, buildbot)tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1922 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23language improvements and code cosmetics. no code change.k-m_schindler1-56/+56
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1921 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- language files converted to UTF-8 WITH BOM (!!!)tobigun1-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
2009-07-23update to current trunk (1853)tobigun2-47/+80
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1913 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23Buggy DirectoryFindFiles() (used by BrowseTXT/XMLFiles) removed and replaced ↵tobigun2-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
2009-07-23spelling correctionstobigun1-21/+20
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1909 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23reset all ref-counted fields before usage of FillChar() to avoid memory leakstobigun2-1/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1908 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23GarbageList.Count >= GarbageMaxCounttobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1907 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23TPlatformMacOSX.CreateUserFolders() uses IPathtobigun1-48/+34
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1906 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23TUnicodeMemIniFile addedtobigun1-0/+79
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1905 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23string -> UTF8String / IPathtobigun2-47/+38
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1904 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23According to the Delphi doc for INFINITY it should not be used in ↵tobigun1-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
2009-07-23Define for OS X must be DARWIN and not APPLEtobigun1-3/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1901 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23merge with trunk revision 1845tobigun3-33/+356
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1900 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- commentstobigun1-9/+12
- StringReplaceW -> WideStringReplaceChar git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1899 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23Song sorting uses locale specific comparisontobigun1-5/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1898 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- interface ref-cnt bug workaround for IPathtobigun2-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
2009-07-23- Translations addedtobigun2-0/+8
- Info popup added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1895 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23further string -> UTF8String conversionstobigun1-13/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1894 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23WideStringLower/UpperCase on unix uses WideLower/UpperCase from cwstring ↵tobigun1-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
2009-07-23CurrentTexture.Name = Name -> CurrentTexture.Name.Equals(Name)tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1892 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23integer/word/.. upper -> lower casetobigun2-105/+105
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1890 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23further string -> UTF8String or IPath conversionstobigun10-61/+24
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1887 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23TTextFileStream/TMemTextFileStreamtobigun6-316/+691
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1886 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- onHide -> onHidetobigun2-4/+4
- onShow -> OnShow git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1885 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23SplitString() addedtobigun1-0/+71
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1884 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- IFilesystem.CreateFileStream() removedtobigun1-13/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1883 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23UPlatformLinux/MacOSX adjusted to use IPathtobigun2-23/+37
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1881 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23missing svn:eol-style addedtobigun2-241/+241
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1880 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23THandleStream -> TStream as the THandleStream stuff is not usedtobigun2-12/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1879 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23Removed some nasty "Error" debug-logstobigun1-2/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1878 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- Copied stuff from sdlstreams.pas removed from UCommon.pas. Use ↵tobigun2-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
2009-07-23- IPath integrationtobigun34-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
2009-07-23- IPath addedtobigun3-100/+1194
- UFilesystem/UUnicodeUtils update git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1874 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23UPath renamed to UPathUtilstobigun15-17/+17
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1873 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23song saving initially switched to UTF8tobigun1-55/+66
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1868 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23CTRL+[A-Z] experimenttobigun1-0/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1864 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23DEFAULT_ENCODING is now fixed (to CP1252) in USong.pas and cannot be set in ↵tobigun1-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
2009-07-23DirectoryFindFiles unified for mac+unixtobigun3-9/+12
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1862 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- unneeded vars removedtobigun1-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
2009-07-23font extrusion is done by freetypes stroker API instead of pixel-by-pixel ↵tobigun1-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
2009-07-23added Unicode functions:tobigun1-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
2009-07-23- encodings seperated to multiple files located in "encoding"tobigun1-137/+136
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1857 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23merge with current trunk revision 1827tobigun27-3818/+1076
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1855 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-23- revert to 1777tobigun20-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
2009-06-27merged r1830 trunk (current) in this branchs_alexander20-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
2009-03-15- fpc patchtobigun2-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
2009-03-14UFilename.pas + UFilename.pas added for uniform filesystem access for ↵tobigun2-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
2009-03-14- font-engine uses UCS4 internallytobigun2-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