aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-03-14merge with current trunk (just update)tobigun28-2067/+2371
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1634 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12patch from hannibal218bc:tobigun1-122/+130
- DEBUG: fix program hang on empty Value in header of TXT song; now log an ERROR about it - COSMETIC: output full song path when reporting errors while reading TXT songs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1568 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12CharCode parameter of ParseInput changed from WideChar to UCS4Char (as some ↵tobigun1-3/+3
chars might reguire two WideChar). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1565 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12CatSongs.SetFilter(), filter-type parameter updated to new enum type (0 -> ↵tobigun1-1/+1
fltAll) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1564 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12AnsiStartsText() replaced to avoid usage of ANSI functions with UTF8 stringstobigun1-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1563 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12UTF8 support for song filter in song-select screentobigun2-46/+54
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1562 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12changed type of TLineFragment.Text and TLine.Lyric from String to UTF8String ↵tobigun1-2/+2
(just for clarity) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1561 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-01-12- UTF8CompareStr, UTF8CompareText, UTF8StartsText, UTF8ContainsStr, ↵tobigun2-40/+129
UTF8ContainsText, UTF8UpperCase, UTF8LowerCase added - StringReplaceW moved from UCommon.pas to UUnicodeUtils.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1560 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-08FPC still does not convert the #0 char to a WideString with length 1. ↵tobigun1-3/+21
WideStringUpperCase overloaded to handle this correctly (was WideCharUpperCase previously) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1512 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-07no windows unit on Mac OS Xk-m_schindler1-3/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1511 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-07Unicode Text-file supporttobigun4-305/+390
- lyrics, song-title, artist, etc. are now UTF8 strings - filenames need some work (UTF-8 on Mac, otherwise still native encoding. Should always be UTF-8 instead) File encoding: - if the file starts with a UTF-8 BOM, UTF-8 is assumed - if the file contains an encoding header (#ENCODING: UTF8/CP1252/CP1250), the given encoding is used - if neither of the previous applies the default encoding (stored in the config-file, default CP1252 = USDX 1.01a encoding) is used git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1510 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-07- string replaced with UTF8String (although it's just a typedef) to mark ↵tobigun7-108/+136
UTF8 strings. - misc. unicode compatibility fixes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1509 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-07added tobigun1-6/+96
- CheckReplaceUTF8BOM() - ParseEncoding() - UTF8_BOM - RecodeStringUTF8 - RecodeString moved to RecodeStringWide git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1508 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-07- WideStringUpperCase moved to UUnicodeUtils.pastobigun1-1/+86
- WideCharUpperCase removed as single characters (code-point) can be represented by two WideChars (surrogates). Convert to UCS4 instead (one code-point <-> one UCS4Char). - UCS4 functions added to UUUnicodeUtils - string replaced with UTF8String (although it's just a typedef) to mark UTF8 strings. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1507 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-06- IsNumericChar/... and other character class type functions moved to ↵tobigun3-98/+131
UUnicodeUtils.pas - UCS4 to UTF8 converters added. Nice for changing single characters (e.g. MyString[i] := 'de') - Player names are now UTF8 - DeleteLastLetter is UTF8 now git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1504 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-05fontsTTF.ini -> fonts.initobigun1-11/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1503 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-01- freetype enabled by defaulttobigun3-465/+82
- Result[DstPos] := WideChar(Src[SrcPos]) must be Result[DstPos] := WideChar(Ord(Src[SrcPos])) otherwise FPC (but not Delphi) will convert the character according to current locale. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1495 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-31unicode branch addedtobigun48-0/+28308
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1492 b956fd51-792f-4845-bead-9b4dfca2ff2c