aboutsummaryrefslogtreecommitdiffstats
path: root/unicode (follow)
Commit message (Collapse)AuthorAgeFilesLines
* changed implementation of WideFileExists() to improve performancetobigun2009-07-231-11/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1871 b956fd51-792f-4845-bead-9b4dfca2ff2c
* midi fixestobigun2009-07-232-205/+232
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1870 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - The song-editor tries to save the file in its original encoding. If this ↵tobigun2009-07-231-28/+49
| | | | | | | | is not possible (because characters were used that don't belong to that encoding) a popup-dialog is opened to propose saving in UTF-8. - editor key-handling improved git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1869 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
* DeleteLastLetter uses the more convenient UTF8Copy() nowtobigun2009-07-231-9/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1867 b956fd51-792f-4845-bead-9b4dfca2ff2c
* More generic popup dialog. A callback can be defined to be called after the ↵tobigun2009-07-232-46/+65
| | | | | | popup is closed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1866 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanuptobigun2009-07-232-26/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1865 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
* some missing freetype functions added to headerstobigun2009-07-237-37/+87
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1859 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-235-137/+1585
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1857 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some merge fixestobigun2009-07-236-12/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1856 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge with current trunk revision 1827tobigun2009-07-23156-10498/+10831
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1855 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - revert to 1777tobigun2009-07-23139-12987/+6331
| | | | | | - 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
* Do not make plugins. Block on Mac OS Xk-m_schindler2009-07-191-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1852 b956fd51-792f-4845-bead-9b4dfca2ff2c
* resolve upper/lowercase problem on Mac OS Xk-m_schindler2009-06-281-209/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1837 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged r1830 trunk (current) in this branchs_alexander2009-06-27139-6123/+12987
| | | | | | | 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
* trigger No. 1k-m_schindler2009-05-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1777 b956fd51-792f-4845-bead-9b4dfca2ff2c
* No comment 3k-m_schindler2009-05-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1766 b956fd51-792f-4845-bead-9b4dfca2ff2c
* No commentk-m_schindler2009-05-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1765 b956fd51-792f-4845-bead-9b4dfca2ff2c
* No commentk-m_schindler2009-05-221-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1764 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Filename says it allk-m_schindler2009-05-221-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1763 b956fd51-792f-4845-bead-9b4dfca2ff2c
* buildbot triggerk-m_schindler2009-05-221-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1761 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fpc patchtobigun2009-03-153-4/+29
| | | | | | - 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
* FPC (Windows only) support for TntUnicodeUtilstobigun2009-03-148-49/+280
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1638 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TntUnicodeControls (2.3.0) added (non-graphical classes only).tobigun2009-03-1410-0/+8520
| | | | | | Needed for unicode support with windows. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1637 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
* new language files converted to UTF-8tobigun2009-03-142-95/+95
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1635 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge with current trunk (just update)tobigun2009-03-14120-4323/+16005
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1634 b956fd51-792f-4845-bead-9b4dfca2ff2c
* freetype updatetobigun2009-01-127-794/+2872
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1569 b956fd51-792f-4845-bead-9b4dfca2ff2c
* patch from hannibal218bc:tobigun2009-01-121-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
* CharCode parameter of ParseInput changed from WideChar to UCS4Char (as some ↵tobigun2009-01-1236-228/+266
| | | | | | chars might reguire two WideChar). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1565 b956fd51-792f-4845-bead-9b4dfca2ff2c
* CatSongs.SetFilter(), filter-type parameter updated to new enum type (0 -> ↵tobigun2009-01-121-1/+1
| | | | | | fltAll) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1564 b956fd51-792f-4845-bead-9b4dfca2ff2c
* AnsiStartsText() replaced to avoid usage of ANSI functions with UTF8 stringstobigun2009-01-121-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1563 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UTF8 support for song filter in song-select screentobigun2009-01-122-46/+54
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1562 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed type of TLineFragment.Text and TLine.Lyric from String to UTF8String ↵tobigun2009-01-121-2/+2
| | | | | | (just for clarity) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1561 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - UTF8CompareStr, UTF8CompareText, UTF8StartsText, UTF8ContainsStr, ↵tobigun2009-01-122-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
* comment for H+ "Use AnsiString" changed into "Use long strings" to emphasize ↵tobigun2009-01-1215-15/+15
| | | | | | that long strings can be used for UTF-8 too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1559 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SDL_WM_SetIcon, mask parameter must be PUInt8, not UInt8tobigun2009-01-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1558 b956fd51-792f-4845-bead-9b4dfca2ff2c
* {$MINENUMSIZE 4}, {$PACKENUM 4} added to jedi-sdl headertobigun2009-01-121-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1557 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC still does not convert the #0 char to a WideString with length 1. ↵tobigun2008-11-081-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
* no windows unit on Mac OS Xk-m_schindler2008-11-071-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1511 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Unicode Text-file supporttobigun2008-11-074-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
* - string replaced with UTF8String (although it's just a typedef) to mark ↵tobigun2008-11-077-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
* added tobigun2008-11-071-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