22 Commits (73210e73dc2a7ffceb098e5e2b28ad222f9115ea)

Author SHA1 Message Date
  Julian Storer 841a6665bd Minor string literal tidy-ups. 16 years ago
  Julian Storer f316faaa04 Change posix juce_readFile to always return >= 0. Sorted out a casting error in carbon AU plugins. Tidied up a bunch of win32 warnings. 16 years ago
  Julian Storer 7bc8db2ff4 Minor code style 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 2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 16 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. 16 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 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 e1f3c2df6f Fixed small win32 compile glitch. 16 years ago
  Julian Storer b86423193e Minor clean-ups. 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 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 8bf4d88d97 Minor clean-ups. 16 years ago
  Julian Storer c7957d7d1e Clean-ups and small fix for plugin hosting classes. 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 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 802f850015 Changed the way Mac messaging works internally to avoid shutdown problems with plugins. Updated some iPhone code. Fixed a CoreGraphics line drawing problem. 16 years ago
  Julian Storer 1b0e85d187 Added a File::invokedExecutableFile key that can be used to find the name of the file or link that launched the exe 16 years ago
  Julian Storer 1c01e897d9 Fixed a typo in JUCEApplication that caused a small leak 16 years ago
  Julian Storer 1fc8f483e2 Tweaked lots of code to help things compile on the iPhone (still work-in-progress). 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