1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00
Commit graph

117 commits

Author SHA1 Message Date
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
c10c810aee Minor fixes for mac strings, WAV format, DrawableButton hit tests, win32 clipboard. New class: CharPointer_ASCII. Changes to the callback methods for ValueTree::Listener, to provide more detailed information about the event. 2011-01-31 09:28:06 +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
41c9c9e3be Added channel count to AudioTransportSource. Disabled some win32 compiler warnings. Made utf8 parsing cope with illegal characters. Made variants send a change when their type changes. 2011-01-24 13:09:38 +00:00
Julian Storer
e17dfb559f Fix for copying NamedValueSets, removed some win32 DC warnings. Removed the obj-C suffix setting from the jucer's global settings. Updated the Jucer to generate correct iPhone/iPad apps for iOS4. Renamed some of the demo build folders from "iPhone" to "iOS". 2011-01-14 15:22:44 +00:00
Julian Storer
e0ca6d6ca4 Small fixes for ComboBox items and AudioThumbnail. Reorganisation of all the RelativeCoordinate classes into their own folder. New RelativeCoordinatePositionerBase class and internal work on DrawablePath. 2011-01-03 18:08:28 +00:00
Julian Storer
7007b179b2 Added fruityloops plugin host type. Changed NamedValueSet to use a linked list internally. Fixes for 64-bit compilation targeting OSX10.6. 2010-12-28 22:04:42 +00:00
Julian Storer
cac0a7e3f8 Jack audio fix. New class LinkedListPointer. Couple of new menu methods in DocumentWindow. win32 window size constrainer tweak. 2010-12-26 22:56:10 +00:00
Julian Storer
7becff2aa4 Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32. 2010-12-21 12:44:45 +00:00
Julian Storer
c8799c9107 New class: NewLine, which provides a clean way to write new-line sequences to streams or strings, and a way to customise the new-line sequence used by an OutputStream. 2010-12-20 22:12:48 +00:00
Julian Storer
897c3e1fa7 Made linux getMillisecondCounter() run monotonically. Added a new class Decibels, with some decibel conversion methods. Minor updates to AudioThumbnail and FileInputSource. 2010-12-08 18:54:17 +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
952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 2010-11-29 16:22:06 +00:00
Julian Storer
a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 2010-11-29 12:24:55 +00:00
Julian Storer
645637ab09 Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt(). 2010-11-26 12:57:24 +00:00
Julian Storer
75ff0c5e7e Cleaned up the AsyncUpdater and ChangeBroadcaster classes internally - these now have less overhead when creating and deleting them. Removed the ActionListenerList class, as all its functionality is already provided by ActionBroadcaster. 2010-11-20 18:07:46 +00:00
Julian Storer
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +00:00
Julian Storer
030489f086 Added a couple of handy methods XmlDocument::parse(). 2010-11-03 19:46:10 +00:00
Julian Storer
59ac5a6d25 Fixed a bug in the Flac writer. Optimised BigInteger::getHighestBit(). Misc minor clean-ups. 2010-11-03 16:12:05 +00:00
Julian Storer
377b9ff2c4 Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces. 2010-10-26 16:46:19 +01:00
Julian Storer
618d3fdf64 Tidied up some win32 linkage declarations. Fixed some component size constraining problems on mac and win32. 2010-10-20 20:37:09 +01:00
Julian Storer
9168728a7e Added a hasEditor() virtual method to the AudioProcessor class, which you'll need to implement in your plugins so that we can work around non-standard threading behaviour in Wavelab. 2010-10-05 10:38:25 +01:00
Julian Storer
38c64a7840 Minor tweaks to LookAndFeel, VST wrapper. 2010-10-04 18:32:25 +01:00
Julian Storer
098f0af3ed Fixes for ZipFile, QuickTimeAudioFormat. 2010-10-02 17:10:06 +01:00
Julian Storer
ba62157841 Added the AudioData class, which contains a range of templated structrures for manipulating different sample type primitives. This will replace the old AudioDataConverters class, and I've refactored a lot of the audio devices and formats to use the new classes. 2010-09-27 15:56:54 +01:00
Julian Storer
e387132522 Changes to XML parsing so that leading space inside text elements does not get trimmed. 2010-09-19 15:45:21 +01:00
Julian Storer
626cb292cd Minor fix for ReferenceCountedArray. Tweak to jucer template code. 2010-09-17 18:03:49 +01:00
Julian Storer
d2b3c283eb New classes UnitTest and UnitTestRunner. Minor updates to VST wrapper. Added a dynamic buffer for win32 midi input. 2010-09-06 12:19:19 +01:00
Julian Storer
55e94f19d6 Minor code clean-ups. 2010-08-24 21:09:28 +01:00
Julian Storer
2a81da760a Minor code clean-ups. 2010-08-24 20:33:45 +01:00
Julian Storer
3e30e09afa Documentation fixes. Mac OpenGL fix. PositionableAudioSource tweak. Added new class: Expression, and changed RelativeCoordinate to use an Expression to store its position. 2010-08-18 08:36:30 +01:00
Julian Storer
244219bbe2 String documentation fix. PropertySet parameter fix. Jucer path fix. 2010-08-11 17:09:10 +01:00
Julian Storer
a4aca30079 Refactored the MemoryOutputStream constructors and added some new features. Tidied up some stream methods to avoid relying on the stream length, which can be unreliable in http streams. Tweaked some mac atomic functions. Fixed some win32 dllexport declarations. 2010-07-05 13:37:38 +01:00
Julian Storer
e502d753d7 New method for TableListBox and ComboBox, made AudioSampleBuffer::writeToAudioWriter and ResamplingAudioSource handle multiple channels. 2010-06-30 09:25:40 +01:00
Julian Storer
911b27dcbd Added Jucer support for the new Visual Studio 2010 projects. 2010-06-11 21:47:20 +01:00
Julian Storer
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
1b6eb960e3 Added HTTP header retrieval functionality to the URL class. More drawable and Jucer development. 2010-05-25 14:31:50 +01:00
Julian Storer
8ff6737261 Major changes to the way Drawables are converted to ValueTrees (with more changes still to come in this area). Important fix to DirectoryIterator. Minor fix for ASIO. Jucer development. 2010-05-21 22:29:31 +01:00
Julian Storer
d65a0722fc Updates to browser plugin wrappers. 2010-05-17 13:44:27 +01:00
Julian Storer
88c95982f7 Changed the ChoicePropertyComponent to give it more powerful value remapping. Jucer development. 2010-05-17 10:53:44 +01:00
Julian Storer
b46e94cffd New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development. 2010-05-15 13:22:26 +01:00
Julian Storer
ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 2010-05-14 15:18:44 +01:00
Julian Storer
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
42666db484 Some win32 clean-ups. 2010-05-10 11:16:00 +01:00
Julian Storer
266494a1b9 Minor code clean-ups. 2010-05-08 18:16:09 +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
b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 2010-05-04 21:27:45 +01:00
Julian Storer
b56494b29b Replaced the old atomic ops with a templated Atomic class. Minor tweaks to directory browser. Jucer development. 2010-05-03 21:23:45 +01:00
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00