48 Commits (e7f4dac9f95ddad10600d5ff36db75b0a8c32504)

Author SHA1 Message Date
  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. 15 years ago
  Julian Storer efd1e4c88a Viewport positioning fix. Changed parameters of Viewport::visibleAreaChanged(). Small plugin header fix. 15 years ago
  Julian Storer a37d5041dd Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder. 15 years ago
  Julian Storer 952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 15 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. 15 years ago
  Julian Storer b952084419 Workarounds for VC6. 15 years ago
  Julian Storer 59ac5a6d25 Fixed a bug in the Flac writer. Optimised BigInteger::getHighestBit(). Misc minor clean-ups. 15 years ago
  Julian Storer 098f0af3ed Fixes for ZipFile, QuickTimeAudioFormat. 15 years ago
  Julian Storer 32081a387c Minor code clean-ups 15 years ago
  Julian Storer 216d258ceb Added workarounds for a truly moronic VC2005 compiler bug. Very, very annoyed at having to spend hours and compromise my coding style geting this to build properly... 15 years ago
  Julian Storer 907a9aaffe Tidied up a bunch of listener classes, making them child classes - e.g. ButtonListener becomes Button::Listener. Did this for ComboBox, Button, CameraDevice, Label, ScrollBar, Slider, TextEditor, TableHeaderComponent. (There are typedefs to make sure old code still works, though I might remove those in the future). 15 years ago
  Julian Storer b2e0b43960 Big rewrite to the internals of modal components, with a new class ModalComponentManager. This now lets you use modal components asynchronously, providing an object which will receive a callback when they are dismissed, rather than using a blocking event loop. ComboBoxes and some other components now show their popups asynchronously. 15 years ago
  Julian Storer cc45ec88f5 Misc fixes and tweaks for networking, pthreads, jucer project generation, drawables. 15 years ago
  Julian Storer 6389d9e5a6 Fix for double-clicking accented chars in the TextEditor. Documentation tweaks. Increased jucer warning levels in MSVC. 15 years ago
  Julian Storer 97982bcfdc Added new classes RelativeCoordinate, RelativePoint, RelativeRectangle. Small fixes to Line, TextEditor. 15 years ago
  Julian Storer d54125f16d Small mac font fix. Jucer development. 15 years ago
  Julian Storer ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 15 years ago
  Julian Storer 1751beed57 Code clean-ups. Jucer development. 15 years ago
  Julian Storer b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 15 years ago
  Julian Storer 7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 15 years ago
  Julian Storer 27506c2120 Copyright notice update. 15 years ago
  jules af73276aea Minor clean-ups. 15 years ago
  Julian Storer c76e500574 Minor clean-ups. 15 years ago
  Julian Storer d4435ca8b8 Minor clean-ups. Jucer development. 15 years ago
  Julian Storer 66643e85ac Minor string changes. 15 years ago
  Julian Storer 841a6665bd Minor string literal tidy-ups. 15 years ago
  Julian Storer 49320b25d2 iPhone on-screen keyboard support, when a TextEditor or CodeEditor is focused. 15 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. 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 bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 15 years ago
  Julian Storer 80afd8aee7 Compiler fixes for String and var. Fix for TextEditor redraw problems. 15 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 15 years ago
  Julian Storer 06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 15 years ago
  Julian Storer fb7cf838db Created a new class "Range", for holding generic number ranges. New abstract class TextInputTarget, which defines methods common to text editors. Changed a couple of method definitions in TextEditor and CodeEditorComponent so that they could implement TextInputTarget. Added ability for wav files to save their SMPL chunk. 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 c539e8f5c0 Fix for mac window ordering that was causing drag and drop problems. Added a sanity-check to the text editor's undo transaction size. 15 years ago
  Julian Storer 38bd05de16 Minor fixes for Value components. 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 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 8c988319ec Added ability for the File::hasFileExtension() to accept lists of extensions. Made rendering complex clip regions more efficient on Windows. Fixed the look and feel for some uses of popup menus. 16 years ago
  Julian Storer 2f8eaf9183 Fix for text editor line heights with mixed font sizes. Added mouse position velocity to the midi keyboard. Internationalised some text used in the Button class. 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 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 9ebff4bc92 tidied up DocumentWindow border sizing; made WASAPI cope with multiple devices with the same name. 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 eb32240e95 Updated the text of the copyright/license blurb at the top of each source file. 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