3 Commits (fee33f45fdd9f68ed547b7479f53e4c716ee919d)

Author SHA1 Message Date
  Julian Storer b114339c3f New macro JUCE_DEFAULT_SOFTWARE_RENDERER to help replace the software renderer with a custom class. Removed some defunct Xcode settings. Small SVG workaround. 13 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. 13 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 94a0bf1af1 Removed the PlatformUtilities class and moved its functions to more sensible classes - see forum post for more details. 14 years ago
  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. 14 years ago
  Julian Storer b047d9be53 More 'nullptr' updates and minor clean-ups. 14 years ago
  Julian Storer 46c3a6bbe5 CustomTypeface unicode fix. Misc nullptr additions. 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 904e1aba45 A couple of minor fixes, and changed code to use std::swap instead of swapVariables() 14 years ago
  Julian Storer 927cebcdbb New class NativeMessageBox, with static methods for showing several types of native alert boxes. 14 years ago
  Julian Storer e1e5018a91 New class: CaretComponent, which is created by the LookAndFeel. Fix for VST build on VC2005. 14 years ago
  Julian Storer 5d98779f19 Updated the date in the copyright notice. 14 years ago
  Julian Storer 60e3ff8f5a Android development and modal loop elimination. 14 years ago
  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. 14 years ago
  Julian Storer e2ef26e91c Added an alertwindow font setting to the lookandfeel class. Made sure the ComponentListener::componentChildrenChanged is called when component z-order changes. Fix for CoreMidi output timestamps. 14 years ago
  Julian Storer 9973f5a81e New class ComponentBuilder, and some refactoring of Drawables to use it. 14 years ago
  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. 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 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. 14 years ago
  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. 14 years ago
  Julian Storer aa71477712 Fixed a TabbedComponent bug. Fixed fallback fonts on win32. 14 years ago
  Julian Storer b238f2c3e1 Changed LookAndFeel::getDefaultFolderImage and getDefaultDocumentFileImage to return drawables instead of images. 14 years ago
  Julian Storer 4e1c66b02e Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own. 14 years ago
  Julian Storer d508109296 Refactored midi input code to allow unlimited syex length + partial sysex callbacks on win32. Fixed a few problems with menu bars, Quicktime, AudioUnits. Modernised some old win32 file chooser code. Tweaked some window border rendering. 14 years ago
  Julian Storer 38c64a7840 Minor tweaks to LookAndFeel, VST wrapper. 14 years ago
  Julian Storer df554b5ad8 Added a custom text colour for DrawableButton and fixed a bugette in KeyPress. 14 years ago
  Julian Storer 1f21a94753 New class: CallOutBox, which produces a nice popup box - see the juce demo/widgets/buttons/"click to change colour" button for an example. SVG fix. 15 years ago
  Julian Storer 00b082caf6 New arrowhead and polygon methods for Path and PathStrokeType. Tweaked a few Path methods to take Line and Point objects instead of loose coordinate parameters. Various new geometric methods and more refactoring of Drawables. Misc fixes for CoreGraphics, AudioFormat. 15 years ago
  Julian Storer 24673283eb Major change to the way the Image class works, making it use value semantics and internally shared data (see the forum notes for more info on this). Also minor changes to win32 browser plugin object ref counting and linux millisecond timers. 15 years ago
  Julian Storer 4537a6ec01 Changed the way linux always-on-top windows are handled. Couple of minor tweaks to drawables. Jucer development. 15 years ago
  Julian Storer 1751beed57 Code clean-ups. Jucer development. 15 years ago
  Julian Storer 27506c2120 Copyright notice update. 15 years ago
  Julian Storer 841a6665bd Minor string literal tidy-ups. 15 years ago
  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. 15 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 15 years ago
  Julian Storer 7bc24ae42a The Point and Rectangle classes are now templated, so can be used for either float or int co-ordinates. This means that wherever you've used these classes, you'll need to replace them with Rectangle<int> or Point<float> in your code. A couple of methods in Path have changed to take advantage of the new ability. 15 years ago
  Julian Storer effe92f6e7 Fix for some MSVC compile problems and warnings. 15 years ago
  Julian Storer f3b46c9a2f Tweaked AlertWindow to allow custom components to be labelled with their name, and to be lined up along their left-hand edge with the other items. Added some mac keyboard handling to stop keys getting stuck. 15 years ago
  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. 15 years ago
  Julian Storer e61e8f6775 Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future). 15 years ago
  Julian Storer 18ffeba9da Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder. 15 years ago
  Julian Storer a126b1918a Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers. 15 years ago
  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. 15 years ago
  Julian Storer 03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 15 years ago
  Julian Storer be5ecce1fe Added drag-and-drop target support to TreeViews. The TreeViewItem class now has methods that can be overridden to accept external and internal drags, and the TreeView provides some nice graphics to indicate the target insertion point. Also added a handy method Viewport::autoScroll, and options for positioning the dragged image supplied to DragAndDropContainer::startDrag 15 years ago
  Julian Storer 01f109e857 More graphics updates - new class FillType, which is now used by DrawablePath to specify its colours. New methods Graphics::clipToPath and Graphics::clipToImageAlpha. Added dynamic Xinerama loading. 15 years ago
  Julian Storer df584f9cea Added a new AU config flag for plugins, to let you choose the obj-C classname that some hosts seem to be stupidly displaying to the user. Also added a couple of minor fixes and new documentation. 15 years ago
  Julian Storer d779fa9759 The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor! 15 years ago
  Julian Storer 405d934e68 Massive, long-overdue spring-cleaning and refactoring of the LowLevelGraphicsContext, Typeface and Font classes. Functions such as glyph rendering can now be handled directly by a native graphics context (and glyph rendering is now implemented natively on the Mac). The Typeface class is now an abstract base class with much minimal functionality, and platform-specific subclasses are used for font loading. A new class CustomTypeface lets you load and save typefaces in the old juce binary typeface format. For most people, these changes probably won't require you to alter your code, but you might need to change a few classnames in your code if you're using typefaces directly. 15 years ago
  Julian Storer cd88571081 Added methods Graphics::setTiledImageFill and Graphics::setGradientFill - these are now the preferred way to specify a fill type, rather than using the Brush classes (which will probably disappear at some point in the future). Also refactored and renamed some DrawablePath methods, which might require a few tweaks to your code if you use this class. 15 years ago