aboutsummaryrefslogtreecommitdiffstats
path: root/unicode (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Editor:tobigun2009-07-231-2/+23
| | | | | | | - if encoding must be changed to UTF-8 create a backup copy of the old file - show error/info dialog if file saving failed/succeeded git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1911 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Do not make plugins. Block on Mac OS Xtobigun2009-07-232-3/+4
| | | | | | - iconv ambiguity on mac os x solved (used /sw/lib/ one with missing symbols instead of /usr/lib one) (for the 2nd time) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1910 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-233-49/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1904 b956fd51-792f-4845-bead-9b4dfca2ff2c
* language file conversion script addedtobigun2009-07-231-0/+43
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1903 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-2327-399/+1702
| | | | 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
* Midi to USDX converter fixedtobigun2009-07-231-165/+289
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1896 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Translations addedtobigun2009-07-237-30/+83
| | | | | | - 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-232-19/+19
| | | | 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
* TntWideStrings included for FPC and delphi < 2006tobigun2009-07-232-7/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1891 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
* UTF8 file protocol ('ufile:') added for FFmpeg unicode supporttobigun2009-07-233-70/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1889 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ffmpeg header fix:tobigun2009-07-231-6/+11
| | | | | | | | | - missing cdecl's added - url_read_complete ifdef'ed - alias for register_protocol (-> av_register_protocol) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1888 b956fd51-792f-4845-bead-9b4dfca2ff2c
* further string -> UTF8String or IPath conversionstobigun2009-07-2318-87/+50
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1887 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TTextFileStream/TMemTextFileStreamtobigun2009-07-237-318/+800
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1886 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - onHide -> onHidetobigun2009-07-2337-99/+99
| | | | | | - 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
* - av_open_input_stream() signature fixtobigun2009-07-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1882 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-2314-1339/+1339
| | | | 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
* - iconv ambiguity on mac os x solved (used /sw/lib/ one with missing symbols ↵tobigun2009-07-232-6/+2
| | | | | | | | instead of /usr/lib one) - cwstring unit enabled again. Was previously disabled because of a crash caused by using WideUpperCase() from an SDL-thread (here from an SDLTimer callback). The bug was fixed several months ago. In addition it works now on OS X as of the fix described above. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1877 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Copied stuff from sdlstreams.pas removed from UCommon.pas. Use ↵tobigun2009-07-233-87/+38
| | | | | | | | 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-2366-2454/+1997
| | | | | | - 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-2321-23/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1873 b956fd51-792f-4845-bead-9b4dfca2ff2c
* encoding files fixed (contents was copied multiple times)tobigun2009-07-234-966/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1872 b956fd51-792f-4845-bead-9b4dfca2ff2c
* 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