134 Commits (03b54862c5cfaa1e1eec2a8f3189c6ab8d7e4ed9)

Author SHA1 Message Date
  Julian Storer 03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 16 years ago
  Julian Storer c1e4c6c589 Added a parameter to MidiMessage::isNoteOn 16 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 16 years ago
  Julian Storer 1f6d9ec92c Added multiple-selection, and the ability to browse for both files and folders to the Juce file chooser dialog classes. This has involved changing a few methods, so if you're using these classes directly, you may need to tweak your code, but it should be very easy to do. 16 years ago
  Julian Storer 4c31b704ed Fix for Graphics::drawImage and small change to the parameters of Graphics::drawImageTransformed - if you were using subregions of images, note that this method now treats them slightly differently. Previously, the transform was relative to the origin of the image, but now it's relative to the origin of the subregion. 16 years ago
  Julian Storer d6e3576234 Fixes for iPhone build and mac/iPhone CoreGraphics. Added ability to remove specified jobs from a ThreadPool 16 years ago
  Julian Storer ded840d456 Updated the demo to have a new graphics rendering test page - this tests a lot of the new graphics features and lets you swap between software/OS rendering engines. Also fixed a mac menu bug, and mac mouse event timestamps. 16 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. 16 years ago
  Julian Storer f6a088961f Removed the Brush classes - everything they used to do can still be done by other methods in the Graphics class. Also did more optimising of the graphics contexts, both software and CoreGraphics. 16 years ago
  Julian Storer 537b90de53 Fixed broken RGB colours in loaded images on PC. 16 years ago
  Julian Storer 6fdde63a63 Big rewrite of the LowLevelGraphicsSoftwareRenderer class, adding internal support for complex clipping regions - this will temporarily make font rendering quite slow, until it gets re-optimised for this new design. Changed the Image class to remove the lockPixelData methods, and replaced these with an object Image::BitmapData, which is easier to use. 16 years ago
  Julian Storer 707c58186b Fixes to GlyphArrangement. Made the mac put quotes around filenames containing spaces before they are passed to anotherInstanceStarted() 16 years ago
  Julian Storer 3d3c8ff957 updated the amalgamated files 16 years ago
  Julian Storer 15a5c53bc0 Fix for an AU crash when running in 10.4. Added a PlatformUtilities method to get the version of OSX that's running. Added a workaround for a 10.4 OS bug when drawing gradients. Added some macros to allow CD burning and reading to be enabled independantly. 16 years ago
  Julian Storer 93e4236b57 Changes for VC6 compatibility; added a couple of trimming methods to String; added a parameter to Socket::createConnection 16 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! 16 years ago
  Julian Storer ca727ec2bb Improvements to path rendering and fix for PathStrokeType generating incorrect paths for some shapes. Added OSX10.4 compatibility for new new typeface classes. 16 years ago
  Julian Storer dc83bf01e1 oops - the last check-in broke some path rendering code.. this fixes it. 16 years ago
  Julian Storer 4d000ff593 Rewrote EdgeTable so that it now always renders in perfect quality - this makes the old oversampling quality options defunct and I've removed them. 16 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. 16 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. 16 years ago
  Julian Storer 0b2f0f086c added a code-editor demo page to the juce demo and added some comments to the code editor classes 16 years ago
  Julian Storer f744dd9062 Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly. 16 years ago
  Julian Storer 1e1c9944c9 Removed methods Graphics::getCurrentFont and Graphics::getCurrentColour, because these methods will become impossible for future native drawing contexts. This required a couple of minor tweaks to LookAndFeel and Drawable methods. Also fixed native CoreGraphics drawing of transparent windows. 16 years ago
  Julian Storer ebeaa40689 Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux. 16 years ago
  Julian Storer facb48b04c tweak to RTAS shutdown for PT8; added tooltips for the TableListBox; started adding some iphone audio code (not yet usable) 16 years ago
  Julian Storer 7e56a7514c Fix for AU bundle paths; added column width access to TableHeaderComponent, made FileBasedDocument do extra checking about file overwriting 16 years ago
  Julian Storer 409c952072 Added a method to String and fixed a glitch in the win32 amalgamated build 16 years ago
  Julian Storer 1acee444d1 whitespace clean-up 16 years ago
  Julian Storer 1fc8f483e2 Tweaked lots of code to help things compile on the iPhone (still work-in-progress). 16 years ago
  Julian Storer 3ae9ac0295 added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally. 16 years ago
  Julian Storer 9ebff4bc92 tidied up DocumentWindow border sizing; made WASAPI cope with multiple devices with the same name. 16 years ago
  Julian Storer 35492ad866 small fixes for ThreadPool, mac windowing, opening the AudioDeviceManager with 0 audio channels, and compiling in MinGW 16 years ago
  Julian Storer 54831605c3 Rebuilt the docs including a couple of missing classes; tweaked WebBrowserComponent to make page unloading optional; small efficiency improvement to ThreadPool 16 years ago
  Julian Storer 64f5482d6d Rebuilt the docs including a couple of missing classes; tweaked WebBrowserComponent to make page unloading optional; small efficiency improvement to ThreadPool 16 years ago
  Julian Storer deeb652939 fixed a seek bug in the flac reader; added a JucePlugin_TailLengthSeconds setting for plugins; made the colour class limit the HSV values that are passed into it 16 years ago
  Julian Storer 3954631795 Fixed some problems with audio formats not correctly clearing their buffers; Rewrote the CoreAudio functions to avoid deprecated functions. 16 years ago
  Julian Storer 173abbccd2 improved WASAPI latency reporting 16 years ago
  Julian Storer 3355029c6c Fixed a few minor issues and added code to drawables for loading/saving them (this is work-in-progress: not for public use yet!) 16 years ago
  Julian Storer 7dfc764bf0 Initial check-in of a new WASAPI audio device wrapper (not properly tested yet!), and tidied up all the audio device type creation functions to make it easier to cope with all these different device types. Added a couple of config entries to enable WASAPI and DSound, so a windows build can use any combination of device APIs. Also replaced the string-to-double conversion code with a custom function to avoid localisation problems with commas and full-stops. 16 years ago
  Julian Storer a327ca8dc9 Updated a method name in Drawable to avoid overloading conflicts 16 years ago
  Julian Storer 21816056c3 Updated a method name in Drawable to avoid overloading conflicts 16 years ago
  Julian Storer 955043fb48 Minor whitespace tidy-up 16 years ago
  jules c41ae8188d Changed drawables to correctly render semi-transparently; added accessors for properties of some brush classes. 16 years ago
  jules 4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 16 years ago
  jules 61f0d6903e minor whitespace clean-up 16 years ago
  jules ea83c7ee5e Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2 16 years ago
  jules f5a3fb0fb3 removed a memory leak in mac messaging; tweaked mac VSTs to avoid a shutdown bug in Reaper; added a clear() method to DynamicObject. 16 years ago
  jules ddc16536a3 Changed the Linux native code files to use the same amalgamation file structure as the mac and windows ones do; made a small adjustment to the amalgamator, and removed some redundancy from the amalgamated files (if you are amalgamating code yourself, please build a new copy of the amalgamator, as the old one won't work correctly on this new code); fixed a few minor build warnings in linux 16 years ago
  jules 1ccb175762 tidied up whitespace in files 16 years ago