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

59 commits

Author SHA1 Message Date
Julian Storer
2100e68adc Fixed VST hosting compile error. Stopped the ApplicationProperties class being a singleton - instead, just create and use an instance of it in your apps. 2011-07-09 13:18:55 +01:00
Julian Storer
94a0bf1af1 Removed the PlatformUtilities class and moved its functions to more sensible classes - see forum post for more details. 2011-06-29 14:39:37 +01:00
Julian Storer
7c1bfffe0b Tweak for mac initialisation in plugins. 2011-06-28 20:37:07 +01:00
Julian Storer
fb58d0c380 Tidied up some warnings and documentation. 2011-06-23 23:17:37 +01:00
Julian Storer
0853a9b686 Removed const-ness from some return types to take advantage of future c++0x advantages. 2011-06-15 20:32:29 +01:00
Julian Storer
74469aaa83 Refactored the PropertiesFile construction, introducing a PropertiesFile::Options structure to hold all the settings that previously were just passed as parameters. Also added a mandatory option for setting the OSX preferences path to be used - see the PropertiesFile::Options::osxLibrarySubFolder value for details.
Also on OSX, changed the location used for interprocess lock files to /var/tmp - this may affect applications which try to share locks with older builds of the same app.
2011-06-15 16:16:33 +01:00
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
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
f4c4f310e1 Refactored the DragAndDropTarget callback methods, to replace the parameters with a structure. This also affects the TreeViewItem drag-and-drop callback methods. 2011-04-14 13:33:01 +01:00
Julian Storer
d97ce5f9ee Fix for audio plugin builds on win32. AudioProcessorGraph optimisations. Access to min/max values in audio thumbnails. More metadata support for wav and aiff formats. 2011-04-13 11:28:35 +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
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
2d10b0b43d Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files. 2011-02-11 14:27:28 +00:00
Julian Storer
08339c92e2 Minor fixes for mac compilation. Android stuff. 2011-02-05 15:15:45 +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
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
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
4cfdcb69fd Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string. 2010-11-19 22:03:35 +00:00
Julian Storer
a25d9206d1 Refactored some Drawable classes and added DrawableRectangle. Fixed a problem with ApplicationCommandManager. 2010-10-21 15:46:25 +01:00
Julian Storer
6277552ef5 Fixed a couple of linux file issues. Removed operator& overloads from a couple of places where they shouldn't have been done. Fixed a few minor win32 compile issues. Improved some internal COM object wrappers. 2010-10-11 14:52:18 +01:00
Julian Storer
5c63c3746c Fixed a mac app shutdown issue. 2010-09-17 12:00:40 +01:00
Julian Storer
cac473bb1e Minor code clean-ups. 2010-09-02 13:31:47 +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
8c37193c3d Fix for URL percent sign decoding. Added InterprocessLock to ApplicationProperties. Minor tidying-up of file functionality. 2010-08-24 14:39:40 +01:00
Julian Storer
ccd8566e96 Fix for iOS launching. Tweak for win32 font rendering. Added a File::hostApplicationPath flag. 2010-07-23 12:33:27 -05:00
Julian Storer
c20daf9740 Fixed a mac initialisation problem. 2010-07-12 21:18:14 +01:00
Julian Storer
6c4d8023bd Cleaned up and restructured some app startup code. Updated some iPhone settings. 2010-07-10 11:41:07 +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
568e6260c3 Reorganised the Jucer project structure. 2010-06-17 12:22:03 +01:00
Julian Storer
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0490668407 Small socket fix. Minor changes to MouseCursor static data. 2010-04-16 10:04:53 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
Julian Storer
f316faaa04 Change posix juce_readFile to always return >= 0. Sorted out a casting error in carbon AU plugins. Tidied up a bunch of win32 warnings. 2010-03-22 21:05:42 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
574694f458 Corrected geometry of drawLine in CoreGraphics to match the software renderer. Minor code clean-ups. 2010-03-13 18:38:56 +00:00
Julian Storer
2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 2010-03-07 17:45:10 +00:00
Julian Storer
5fecb8a353 Created a new class Component::SafePointer that keeps a pointer to a component and automatically nulls it if the component is deleted - this makes it a much more elegant replacement for the old ComponentDeletionWatcher class. Removed Component::getComponentUnderMouse(), which doesn't fit with multi-touch interfaces - for similar functionality, use the Desktop::getMouseInputSource() methods to find out what MouseInputSources are available, and ask them about the component they are over or dragging. 2010-02-25 22:33:44 +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
e1f3c2df6f Fixed small win32 compile glitch. 2010-02-20 17:02:49 +00:00
Julian Storer
b86423193e Minor clean-ups. 2010-02-20 16:07:36 +00:00
Julian Storer
773c7d7407 Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc. 2010-01-28 16:02:16 +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
97035bb3a1 Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups. 2010-01-13 18:58:40 +00:00