196 Commits (30c9e939d14f18573ba2b51a776f5259e1a6b756)

Author SHA1 Message Date
  Julian Storer 0744c0db37 New class: TemporaryFile, which manages a temporary file, deleting it when it goes out of scope. Also fixes for compile problems in VC7. 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 98380f4744 New class: Value, which provides a way to share variants and listen for changes to them. Adapted Slider to use Value objects for its position, and changed the widgets demo to show how they can be easily tied together. Updated the VST speaker arrangement code. 15 years ago
  Julian Storer 4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 15 years ago
  Julian Storer a2183daee5 VC6 compatibility updates 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 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 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. 15 years ago
  Julian Storer 6c66134173 Updated the VC6 juce project file to include the latest files 15 years ago
  Julian Storer f744dd9062 Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly. 15 years ago
  Julian Storer 1fc8f483e2 Tweaked lots of code to help things compile on the iPhone (still work-in-progress). 15 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. 15 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 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 2fee27c757 Updated the text of the copyright/license blurb at the top of each source file. 16 years ago
  jules 1ccb175762 tidied up whitespace in files 16 years ago
  jules 337c67f66c changed the juce startup/shutdown code in the ActiveX browser plugin to try to work around IE's leakiness; added a very obscure feature to ASIO 16 years ago
  jules f8e2eaccc3 fixed a bug with popup menus in browser plugins in IE8; added an option to change the time delay of a TooltipWindow; added a missing function to MagnifierComponent 16 years ago
  jules 1e53260e0a small change for loading opentype fonts in win32; fix for an audio plugins crash when closing the plugin in some recent hosts; fixes for linux VST event handling; change to the format reported by RTAS plugins with zero inputs or outputs; NPAPI plugin positioning for for mac firefox; fix for TreeViewItem button safety; added method LookAndFeel::getFontForTextButton; added an interpolation quality selector to MagnifierComponent; AlertWindows are now always-on-top in plugins; fix to RectanglePlacement::getScaleToFit(); added some utility methods to the URL class. 16 years ago
  jules 6fe090f2cb Added code to make the mac detect its executable file, removing the need for the juce_setCurrentExecutable function, and removed this function from the codebase. 16 years ago
  jules 18533f9984 changed the parameters to the keyStateChanged method, to sort out a problem with texteditor key interception that was otherwise impossible to fix. Made a couple of changes to the Mac NPAPI window positioning code; got rid of a couple of win32 warnings; added a couple of missing JUCE_API declarations; small fix to DragAndDropContainer; allowed var objects to be cast to a string. 16 years ago
  jules 9f1a293e5c added a web browser page to the demo; made the DragAndDropContainer more robust if subcomponents are deleted while things are being dragged. 16 years ago
  jules d6c78655e7 small change that should have gone into the last check-in. 16 years ago
  jules 04f0303b84 small fixes for fonts on mac and win32; changed Thread::setPriority to return a bool; added a File::getVolumeTotalSize() method; added a freetype path to the linux makefile; tweaked the jucer to make cached image variable names more readable; tweaked the hit-spots in the resizable borders of very small windows; moved ResizableWindow background painting into the LookAndFeel; made the broadcast flag of a DatagramSocket an optional constructor parameter; 16 years ago
  jules 23e9ed57cb fixed broken CD reader code on linux; added support for broadcasting in DatagramSockets; small fix for String::replaceSection 16 years ago
  jules ca19733aad fixed broken CD reader code on linux; added support for broadcasting in DatagramSockets; small fix for String::replaceSection 16 years ago
  jules fc2181aa22 changed the AudioFormatReader class to make the formats more consistent in the way they deal with requests for a different number of channels to the number that the file contains. This will mean that anyone who's using a custom AudioFormat will need to replace their read() method with a readSamples() method (easy to do - it's quite similar, with a couple of extra parameters, and actually makes things a bit easier for the subclass). 16 years ago
  jules 253e713d02 added URL stream length detection to Mac/win32; fixed a small linux audio bug; added some callbacks to Label to report when its text editor is shown or hidden; fixed a mouse-wheel problem with some types of slider; fixed a small SVG parsing error; 16 years ago
  jules 1f0006acfb 16 years ago
  jules 13d8703ffc Added the CameraDevice class to allow webcam capture! 16 years ago
  jules 453646d068 Whitespace clean-ups. 16 years ago
  jules 749c2be6cb Tweaks to VST for building on linux; improved linux code for detecting the executable's file path; small changes to linux window hinting; change on the Mac to fix app shutdown when the app isn't currently active; added Mac support for 3rd mouse button; fix to AudioDeviceManager thread safety when changing midi output devices; fix to DrawableButton text; made ComponentAnimator a change broadcaster to send messages when animations stop and start; small fix to DatagramSocket. 16 years ago
  jules 909be095d8 Fixed a typo in linux audio and added some hints to linux window resizing; fixed the WavAudioFormat to make it read stereo files correctly into a mono buffer; Fixed an infinite loop in the vst plugin format 16 years ago
  jules 829f0c8dde Small fix to ALSA audio; small fix for Linux window border sizes; fix to stop win32 incorrectly making windows always-on-top; added a constructor for MidiBuffer. 16 years ago
  jules 44938b9cd0 Improvements to modal event blocking for plugins; small bugfix for OwnedArrays. 16 years ago
  jules ef6ab9ed6a Added some cunning hacks that should make modal dialogs in plugins block mouse events in the host app. Also added a fix for thread-safety in ReferenceCountedArrays, and tweaked the new variant classes. 16 years ago
  jules e24662925d Changed AudioDeviceManager to support multiple simultaneous callbacks - this will break some code, but is easy to change by using AudioDeviceManager::addAudioCallback instead of setAudioCallback. Also added a new variant class 'var' which will be used by future browser-plugin support and scripting. 16 years ago
  jules 787a4e6de9 A handful of small fixes and whitespace clean-ups. Added a parameter to the DatagramSocket::read to specify whether the operation should block. 16 years ago
  jules 0b1b03a324 avoided some locking issues when using threaded windows on win32; stopped the File class from automatically removing quotes from around filenames. 16 years ago
  jules 26e6cabe3d Improved the performance of MemoryOutputStream; fixed a process priority problem in VST; made TreeViews repaint when they get enabled or disabled; small fixes to ActiveXControlComponent and QuickTimeMovieComponent; implemented File::getVolumeName() for mac; 16 years ago
  jules 540474d0ce Rewrote MessageManagerLock (again), hopefully now making it bulletproof. Also gave it an extra constructor and changed the threads section of the juce demo to use messagemanagerlocks to animate its components. Stopped using NSLog on the mac because it's unsafe for non-literal strings. Added a bodge to fake italic fonts on the mac if a real italic is unavailable. Added a new class: CallbackMessage, for triggering a custom callback on the event thread. Updated the RTAS plugin build to use the 8.0 version of the SDK. Fixed a problem with ComponentDraggers when working inside a magnifier component. 16 years ago
  jules 975851d31c Altered the way MessageManagerLocks are applied internally; tweaked ResamplingAudioSource to avoid a DC offset condition; changed AudioUnitPluginFormat to handle null-pointers; added a method to get all the currently modal components as well as just the most recent; changed AlertWindow to allow more customisation by the look and feel; added a few handy methods to Rectangle; 16 years ago
  jules bf501e1fda Fix for multithreaded Mac OpenGL components; better responding to shutdown messages on Windows; a couple of small VST tweaks; fixed a typo in the AudioDeviceManager and made it close and reopen the audio device while the midi output is being changed; changed AlertWindow to give more control over the desktop window style; fixed a small bug in Graphics; changed SparseSet to avoid an overflow error; stopped BufferedInputStream locking up when its source stream fails; added a case-sensitivity option to StringPairArray and LocalisedStrings. 16 years ago
  jules 68dba8605d Fixed Mac font kerning problem. Fixed Mac native window maximising and getting rid of menus when a a native title bar is clicked. Added an option for kiosk mode that stops the main menu and dock popping up. Small tweak to SparseSet to try to avoid a compile problem in GCC4.3.3. Small fix to file relative pathname parsing. 16 years ago
  jules f7b48e55dd Fixed some Mac window sizing and menu issues, optimised Graphics::drawImageTransformed(), and added an accuravy parameter to Path::contains(). 16 years ago
  jules 7d9d407415 Fixes for the VC6 project 16 years ago
  jules 2f5a2ad613 Moved ImageButton painting into the LookAndFeel, added a couple of methods to AudioSampleBuffer, and fixed a compile error in VS2003 16 years ago
  jules 0a551e2242 Added a maximum length to String::copyToUTF8(), tweaked the parameters to AudioFormatWriter::writeFromAudioReader(), altered the BWAV chunk code to store its text as UTF8, added a utility function WavAudioFormat::replaceMetadataInFile(). Sorted out some compile errors with plugin hosting code. Fixed a small glitch in ColourGradient, and added a method to TreeViewItems to allow some items to be made non-selectable. 16 years ago
  jules 1d42d3f706 added a missing lib to the win32 build 16 years ago
  jules b89cc9dcc7 Added a File::getVersion() method 16 years ago