39 Commits (03a118d380a357390d901b604d5285e711d1d7e9)

Author SHA1 Message Date
  jules 49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 7 years ago
  jules 30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 7 years ago
  jules 8c38c6f57f Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes! 7 years ago
  jules 38295f332b Converted some old typedefs to using declarations 7 years ago
  Tom Poole ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 7 years ago
  ed cdbc28c18b Add documentation tags 7 years ago
  jules 85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 7 years ago
  jules 970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 7 years ago
  jules eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 7 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 8 years ago
  jules f184ed1710 Clarified a few comments in the Image class 8 years ago
  hogliux 2da1bc5f41 Replace include guards with "#pragma once" 8 years ago
  hogliux 9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 8 years ago
  jules 9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 8 years ago
  jules 021209e216 Changed ImagePixelData::clone to return a smart pointer rather than a raw one, to avoid a reference-count leak 9 years ago
  hogliux c7b8e77031 Update copyright notice 10 years ago
  hogliux e83a69560a Fix for duplicateIfShared when image depends on other image via SubsectionImageData 10 years ago
  jules 46dfd54d9a Minor cleanups. 10 years ago
  jules 7a869d6528 Made the OpenGL graphics context keep a cache of textures it has recently used for Image rendering, to avoid repeatedly moving data to the GPU. 11 years ago
  jules 76c8400049 Really minor clean-ups. 11 years ago
  jules d28ebfdb36 Stripped out some unnecessary boilerplate includes from juce_graphics. 11 years ago
  jules 1b9a60e52c Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before. 12 years ago
  jules 60a0087114 Some internal component peer work. 12 years ago
  jules 3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 12 years ago
  jules 5a1112ab94 Updated the format of the header include guard macros. 12 years ago
  jules 03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 12 years ago
  jules c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 12 years ago
  jules 9eb3c1955a Added some missing JUCE_API modifiers. 12 years ago
  jules 0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 12 years ago
  jules af9c71be38 Added Image::Bitmap::getBounds method. 13 years ago
  jules c6299a08dc Changed the return type of ImageType::create(). 13 years ago
  jules 36bd285c4b Viewport component listener fix. Minor clean-ups. 13 years ago
  jules dcfa73204b AlertWindow text colour fix. URL::getPort() method. Image::createCopy() method. 13 years ago
  jules 0b1cdf6ab1 Refactoring of image storage: new classes ImageType, ImagePixelData, SoftwareImageType, NativeImageType, OpenGLImageType. 13 years ago
  jules 04c35b28e6 OpenGL refactoring. 13 years ago
  Julian Storer 098400ef31 Removed the Image::setPixelData method - this can be done with Image::BitmapData instead. OSX file chooser options change for aliased files. 13 years ago
  Julian Storer ffc2f5d40e Created c++11 move constructors and operator= methods for a bunch of classes (only enabled for c++11 compilers, of course) 14 years ago
  Julian Storer 2c328dfedc Changed some return types from being const objects to non-const objects (for better c++11 compliance in future). This may mean that you need to remove the 'const' from your own code if you override the virtual methods that have changed. 14 years ago
  Julian Storer b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 14 years ago
  Julian Storer 9a15f10e4f Internal file reorganisation. 14 years ago
  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. 14 years ago
  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. 14 years ago
  Julian Storer 5d98779f19 Updated the date in the copyright notice. 14 years ago
  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. 14 years ago
  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. 14 years ago
  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. 14 years ago
  Julian Storer b952084419 Workarounds for VC6. 14 years ago
  Julian Storer e299011789 Replaced the Image::getTag() method with a more versatile getProperties() method. Used this to set a flag called "originalImageHadAlpha" when loading images, which is set to indicate whether the original file had an alpha channel. 14 years ago
  Julian Storer 9f0c91196f Added method Image::getClippedImage(), which allows the use of images that refer to subsections of another image. This means that the the parameters to a couple of Graphics methods no longer need a clipping rectangle. Also dded a static Image::null object and another constructor for Image::BitmapData. 15 years ago
  Julian Storer e3d97820d1 New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups. 15 years ago