49 Commits (49320b25d2d3dcb705de513d8f2f29dcade63eed)

Author SHA1 Message Date
  Julian Storer 49320b25d2 iPhone on-screen keyboard support, when a TextEditor or CodeEditor is focused. 16 years ago
  Julian Storer af2137ecaa Minor code clean-ups. 16 years ago
  Julian Storer 669ed3feed Back by popular demand: String::formatted().. 16 years ago
  Julian Storer d7108bb5ba Jucer VC6 support + misc VC6 compatibility hacks. 16 years ago
  Julian Storer 2b06e4f6d9 Minor StringArray fixes. 16 years ago
  Julian Storer 06fb01aab3 Minor string tweaks. 16 years ago
  Julian Storer 574694f458 Corrected geometry of drawLine in CoreGraphics to match the software renderer. Minor code clean-ups. 16 years ago
  Julian Storer 3b77f1233f Tidied up some methods in String, StringArray, and input streams. Reduced CoreAudio buffer size limit. 16 years ago
  Julian Storer 24a73b96ef Fix to prevent win32 mouse event queuing and some mouse cursor update problems. Changes to internal string storage. 16 years ago
  Julian Storer e07c59c8f4 Eradicated the last vestiges of printf from the library. String::formatted and String::printf are now gone - please use the << operators instead! 16 years ago
  Julian Storer 4ed63991e2 Work-arounds for compiling with VC6. 16 years ago
  Julian Storer d84e47353c Couple of optimisations to text rendering. Removed various printfs from the codebase. 16 years ago
  Julian Storer 28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 16 years ago
  Julian Storer b974203d0f Couple of new methods for String. Cleaned up some component code to use SafePointers. 16 years ago
  Julian Storer bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 16 years ago
  Julian Storer 80afd8aee7 Compiler fixes for String and var. Fix for TextEditor redraw problems. 16 years ago
  Julian Storer bb60371f1c Couple of minor fixes. 16 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 16 years ago
  Julian Storer 9f201da3c5 Tidied up a few OutputStream operators. 16 years ago
  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. 16 years ago
  Julian Storer 038886510a Tidied a few static functions away into private namespaces. 16 years ago
  Julian Storer 0d278483e4 Fix for String copying thread-safety, and some minor compile issues. 16 years ago
  Julian Storer 1d1fc5aa4c Added a handy new method: XmlElement::createNewChildElement(). 16 years ago
  Julian Storer b2e5ef2bd6 Minor code modernisations. 16 years ago
  Julian Storer 63d3d8a77e New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug. 16 years ago
  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. 16 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. 16 years ago
  Julian Storer 40b96bf64b Fix for Linux repaint bug. Fix for mac recursive toFront() call. Improved Array efficiency. Changed file logging location on Mac. Added a platform flag for RTAS on win32. 16 years ago
  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. 16 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). 16 years ago
  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. 16 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. 16 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. 16 years ago
  Julian Storer 59a2506864 Minor code clean-ups 16 years ago
  Julian Storer c22c06c80c New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns. 16 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. 16 years ago
  Julian Storer 9e53cdc78e Updated the API documentation 16 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. 16 years ago
  Julian Storer ce7def1f9d Changes for VC6 comptibility. Fixed a typo in BitArray::toString. 16 years ago
  Julian Storer 71a12a140e Improved CoreGraphics clipping. Added a method File::revealToUser(). Added obj-c keywords to the c++ tokeniser. Added a new mode to the file chooser (only implemented on mac so far) 16 years ago
  Julian Storer 96680158cd Added a missing include file 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 9fc4b6d822 Added midi out to AudioProcessorGraphs. Improved documenation for Singletons. Added a couple of methods to String. Fixed a small bug in ogg-vorbis decoding. 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 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 409c952072 Added a method to String and fixed a glitch in the win32 amalgamated build 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
  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