1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00
Commit graph

34 commits

Author SHA1 Message Date
Julian Storer
67e22bbb56 Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour. 2011-05-30 21:10:57 +01:00
Julian Storer
f04309f44a Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers. 2011-04-07 13:49:01 +01:00
Julian Storer
d5bbd54f25 Fix for StringArray tokenising. 2011-03-30 18:54:40 +01:00
Julian Storer
eabc372ea9 String tokenisation clean-up. 2011-03-14 10:00:26 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
04351861ae More string tidying-up. Possible fix for win32 mutexes failing under strange circumstances. 2011-02-23 17:02:58 +00:00
Julian Storer
533e7ba795 Many more String changes, so that finally the String class can store its internal data as either utf8, 16 or 32 - this is controlled by a flag JUCE_STRING_UTF_TYPE. It's currently set to utf-8 by default. 2011-02-22 15:33:30 +00:00
Julian Storer
f471f0a72d Added some wchar_t constructors to StringArray. Altered the Typeface class to let subclasses create edgetables for glyphs. Android development. 2011-02-21 13:02:29 +00:00
Julian Storer
3bacbe2a8c Refactored various string processing in the library. Removed a couple of String accessors that relied on assumptions about the format of the string's internal data (if your code has any problems with these changes, you should probably use the String::getCharPointer() method instead). 2011-01-31 17:59:38 +00:00
Julian Storer
e235912ae5 Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats. 2011-01-27 20:34:05 +00:00
Julian Storer
1b05a7d46d New classes CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32, complete refactoring of CharacterFunctions class and updates to the internals of String methods. Removal of String::operator+= (unsigned int) because of clashes with wide-char types that use unsigned int. Made core classes compatible with Android. Minor fixes to ListBox and AudioDeviceManager. 2011-01-26 19:49:36 +00:00
Julian Storer
99085429b5 Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow. 2010-12-03 23:36:00 +00:00
Julian Storer
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
87e416a278 Minor additions to AlertWindow, tweak for 64-bit Atomics, minor clean-ups. Jucer development. 2010-05-07 15:07:47 +01:00
Julian Storer
10f53a1cb4 ValueTree bugfix. Minor tweaks and new method StringArray::removeRange. 2010-04-27 15:08:14 +01:00
Julian Storer
9c5651fb8e Changed SparseSet to work with Range objects. Fixed array sorting bug. 2010-04-26 12:00:36 +01:00
Julian Storer
a7e824032f Refactored some directory iteration code and other minor clean-ups. 2010-04-25 15:14:32 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
9a5022871e Added a command-line "--resave" option to the Jucer, and document types to the XCode project exporter. 2010-03-24 12:27:19 +00:00
Julian Storer
59569fb58e Documentation fixes. 2010-03-23 20:56:48 +00:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
Julian Storer
af2137ecaa Minor code clean-ups. 2010-03-20 21:41:24 +00:00
Julian Storer
2b06e4f6d9 Minor StringArray fixes. 2010-03-15 21:58:47 +00:00
Julian Storer
3b77f1233f Tidied up some methods in String, StringArray, and input streams. Reduced CoreAudio buffer size limit. 2010-03-13 16:39:55 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
Julian Storer
6b79430341 Refactored some String operators to bring them into line with c++ best practices. Removed the JUCE_STRINGS_ARE_UNICODE flag - all strings are now unicode by default. Removed the String class's implicit cast to const char* and copyToBuffer() method, replacing them with toCString(), toUTF8(), copyToCString(), copyToUnicode(), etc., so that it'll force users to think about the encoding they want to use in a particular context. Added the ability to pass a String directly to a std::ostream. Extended the juce version number to include a build number. 2010-02-21 19:04:41 +00:00
Julian Storer
6bf8b51c5a Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent. 2010-01-24 20:46:34 +00:00
Julian Storer
40b96bf64b Fix for Linux repaint bug. Fix for mac recursive toFront() call. Improved Array efficiency. Changed file logging location on Mac. Added a platform flag for RTAS on win32. 2010-01-20 18:41:29 +00:00
Julian Storer
4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 2010-01-02 14:55:44 +00:00
Julian Storer
80753f4c03 Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream. 2009-12-16 21:13:46 +00:00
jules
4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 2009-08-22 21:57:23 +00:00
Renamed from src/juce_core/text/juce_StringArray.cpp (Browse further)