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

163 commits

Author SHA1 Message Date
Julian Storer
23bb9338cf Got rid of a couple of stray juce_callocs. 2011-05-04 15:39:40 +01:00
Julian Storer
b820ec4567 Correction to String::copyToUTF8. Millisecond timer rollover fix. Added channel count to BufferingAudioSource. Hashmap speed-up. Added Identifier::isValidIdentifier. 2011-05-04 11:47:12 +01:00
Julian Storer
a9b1676028 Fixed for OpenGL, DropShadower, Linux midi, VST resizing + mouse wheel hooks. 2011-04-26 14:53:46 +01:00
Julian Storer
328cc11713 Removed the initialiseJuce_NonGUI() and shutdownJuce_NonGUI() methods - these aren't needed any more. Removed some old MidiOutput methods which weren't cross-platform. OpenGLComponent updates. Extra DropShadower safety. 2011-04-22 22:47:58 +01:00
Julian Storer
e159587a9b Decentralised some initialisation code. Minor fixes for Array, Component, iOS fonts. 2011-04-21 12:20:08 +01:00
Julian Storer
8519598c93 Added cue point parsing to wav file format. Added SystemStats::getComputerName() method. More minor nullptr/noexcept tweaks. 2011-04-08 15:27:03 +01:00
Julian Storer
b047d9be53 More 'nullptr' updates and minor clean-ups. 2011-04-07 22:20:25 +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
fa04e0cf93 win32 font name length fix. Tidied up ScopedLock class structure, creating some templated classes for generic RAII locking. 2011-03-31 11:21:49 +01:00
Julian Storer
927cebcdbb New class NativeMessageBox, with static methods for showing several types of native alert boxes. 2011-03-30 12:20:58 +01:00
Julian Storer
7485498ee7 Minor clean-ups. 2011-03-17 16:47:17 +00:00
Julian Storer
ed0ed361f0 Cleaned up a couple of win32 window class methods. Some other minor clean-ups. 2011-03-13 17:03:08 +00:00
Julian Storer
c15d414895 Fix for linux build, lookandfeel typo, VS2005 sockets. Added a class ZipFile::Builder for creating zip files. 2011-03-12 22:29:46 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
0d412ad346 Implemented callbacks on the Mac when screen sizes change. Minor clean-ups. 2011-03-06 21:12:20 +00:00
Julian Storer
85aeeea1e9 Moved a couple of midi files around. DrawableImage::hitTest tweak. 2011-03-04 21:53:04 +00:00
Julian Storer
0e4a0df2c2 (Added files missing from last check-in) 2011-03-04 17:31:59 +00:00
Julian Storer
2a6c8af928 Updated some posix socket code to handle IPV6. 2011-03-01 18:55:39 +00:00
Julian Storer
e620c5279d Got Android to build with the standard NDK-r5. AU fix. Minor change to mac menu shortcuts. 2011-02-25 17:22:27 +00:00
Julian Storer
06d436a3ab Minor string clean-ups. Made key-shortcut indicators in popup menus use icons for shift/command/option on the mac. 2011-02-24 14:27:59 +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
3f97694143 Added a Component::setBounds method to take an expression. Fix for deleting CoreAudio devices. 2011-02-18 09:54:52 +00:00
Julian Storer
3dfbb0d713 Changes to Image::BitmapData constructors, replacing the bool with a more explicit enum for the read/write mode. Some win32 dLL declarator changes. Android work. Small Quicktime fix. 2011-02-09 10:50:19 +00:00
Julian Storer
571a2626da Fixed an image anti-aliasing problem. Created some new methods in AudioIODeviceType to create device-specific types. Tidied up some win32 DLL build problems. Added support for drag-and-drop from iTunes on mac. 2011-02-04 12:20:04 +00:00
Julian Storer
c26ac47dff Implemented thread naming for mac + linux. Minor string tweaks. Android changes. Couple of other minor changes. 2011-02-02 18:15:57 +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
9770806e09 Renamed and shifted around a few native code files. 2011-01-20 17:44:55 +00:00
Julian Storer
e7f4dac9f9 Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object. 2011-01-13 12:55:26 +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
ece4205d3d Refactored some operators in Time and RelativeTime, and made the Time constructor explicit. 2010-12-21 18:22:05 +00:00
Julian Storer
2bb0c77216 New class: WeakReference. Used this to clean up and simplify implementation of Component::SafePointer and BailOutChecker. 2010-12-20 16:52:20 +00:00
Julian Storer
d60f661789 Changed the Message class to be reference-counted, and used this to tighten up some messaging code. Minor tweaks to AudioThumbnail, ReferenceCountedArray. 2010-12-19 19:33:52 +00:00
Julian Storer
76b128d90e Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox. 2010-12-11 19:56:47 +00:00
Julian Storer
709f573997 Minor clean-ups and tweaks to AudioProcessorGraph, TreeView. 2010-12-10 21:25:07 +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
7b955dd6c3 Small fixes for mouse positioning. Clean-up for win32 CD reader code. 2010-12-06 19:30:15 +00:00
Julian Storer
c3b257a088 Small fix for AudioThumbnail. Minor internal clean-ups. 2010-12-05 18:20:32 +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
4e52fac18e Fixed a linux time issue. Removed a blank line from the jucer's .sln file generator. Cleaned up some jucer code. 2010-11-30 19:23:37 +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
aef3203a28 Fixed an image resizing bug. Tweaked a couple of methods in KeyMappingEditorComponent and TableListBox to return references instead of pointers. Changed Component::contains() to take a Point rather than raw coordinates. Modernised some UI classes internally. Extended some internal graphics classes to handle affine transforms. 2010-11-15 14:04:01 +00:00
Julian Storer
79899f87e0 Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion. 2010-11-08 22:45:19 +00:00
Julian Storer
aa71477712 Fixed a TabbedComponent bug. Fixed fallback fonts on win32. 2010-11-05 10:21:28 +00:00
Julian Storer
030489f086 Added a couple of handy methods XmlDocument::parse(). 2010-11-03 19:46:10 +00:00
Julian Storer
dbdea7c6d4 Removed the Component::getComponentUID() method, and slimmed down the component class implementation slightly. 2010-10-29 18:55:48 +01:00
Julian Storer
584d9a4ec0 Fixes for ComponentBoundsConstrainer, linux VSTs, and firefox NPAPI. 2010-10-28 17:53:52 +01:00
Julian Storer
cf641969d0 Created a new class: MACAddress, which replaces the old MAC address detection functions with a cleaner implementation. 2010-10-26 18:25:22 +01: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