Julian Storer
|
b442388218
|
Minor string fixes.
|
14 years ago |
Julian Storer
|
e235912ae5
|
Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats.
|
14 years ago |
Julian Storer
|
1b05a7d46d
|
New classes CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32, complete refactoring of CharacterFunctions class and updates to the internals of String methods. Removal of String::operator+= (unsigned int) because of clashes with wide-char types that use unsigned int. Made core classes compatible with Android. Minor fixes to ListBox and AudioDeviceManager.
|
14 years ago |
Julian Storer
|
17040ecd02
|
Posix file-time-setting fix. Warning removal for intel compiler.
|
14 years ago |
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
|
ece4205d3d
|
Refactored some operators in Time and RelativeTime, and made the Time constructor explicit.
|
15 years ago |
Julian Storer
|
7becff2aa4
|
Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.
|
15 years ago |
Julian Storer
|
99085429b5
|
Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow.
|
15 years ago |
Julian Storer
|
4e52fac18e
|
Fixed a linux time issue. Removed a blank line from the jucer's .sln file generator. Cleaned up some jucer code.
|
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
|
645637ab09
|
Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt().
|
15 years ago |
Julian Storer
|
2c2a11dee9
|
Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates.
|
15 years ago |
Julian Storer
|
4cfdcb69fd
|
Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string.
|
15 years ago |
Julian Storer
|
c108e00da0
|
Internal code modernisation.
|
15 years ago |
Julian Storer
|
aef3203a28
|
Fixed an image resizing bug. Tweaked a couple of methods in KeyMappingEditorComponent and TableListBox to return references instead of pointers. Changed Component::contains() to take a Point rather than raw coordinates. Modernised some UI classes internally. Extended some internal graphics classes to handle affine transforms.
|
15 years ago |
Julian Storer
|
79899f87e0
|
Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion.
|
15 years ago |
Julian Storer
|
cf641969d0
|
Created a new class: MACAddress, which replaces the old MAC address detection functions with a cleaner implementation.
|
15 years ago |
Julian Storer
|
0a1f3857ae
|
Couple of minor fixes and clean-ups to various components.
|
15 years ago |
Julian Storer
|
4e1c66b02e
|
Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own.
|
15 years ago |
Julian Storer
|
ea16741b3d
|
Tweaks to the win32 camera capture code to reduce CPU load.
|
15 years ago |
Julian Storer
|
4bc85a9dc3
|
Added display rotation support for iOS - see the Desktop class for implementation methods. Also fixed a couple of minor build issues.
|
15 years ago |
Julian Storer
|
6277552ef5
|
Fixed a couple of linux file issues. Removed operator& overloads from a couple of places where they shouldn't have been done. Fixed a few minor win32 compile issues. Improved some internal COM object wrappers.
|
15 years ago |
Julian Storer
|
5c49cdba8a
|
Improved the coding standards used in the juce demo project.
|
15 years ago |
Julian Storer
|
d508109296
|
Refactored midi input code to allow unlimited syex length + partial sysex callbacks on win32. Fixed a few problems with menu bars, Quicktime, AudioUnits. Modernised some old win32 file chooser code. Tweaked some window border rendering.
|
15 years ago |
Julian Storer
|
0e2e4e7c3a
|
New class AbstractFifo - a lock-free fifo helper class. New class AudioFormatWriter::ThreadedWriter, which helps stream an audio file to disk on a background thread. Simplified the juce demo audio recorder using this new class.
|
15 years ago |
Julian Storer
|
ba62157841
|
Added the AudioData class, which contains a range of templated structrures for manipulating different sample type primitives. This will replace the old AudioDataConverters class, and I've refactored a lot of the audio devices and formats to use the new classes.
|
15 years ago |
Julian Storer
|
622f823bf7
|
First experimental check-in of Direct2D rendering - not for public use yet!
|
15 years ago |
Julian Storer
|
4328472028
|
Updated the demo app's drag-and-drop page to accept dragged files.
|
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
|
c20daf9740
|
Fixed a mac initialisation problem.
|
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
|
9f0c91196f
|
Added method Image::getClippedImage(), which allows the use of images that refer to subsections of another image. This means that the the parameters to a couple of Graphics methods no longer need a clipping rectangle. Also dded a static Image::null object and another constructor for Image::BitmapData.
|
15 years ago |
Julian Storer
|
cb7b3d7562
|
Mouse fix for audio plugins in Muse Receptor. Fixed DrawableText constructor.
|
15 years ago |
Julian Storer
|
e3d97820d1
|
New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups.
|
15 years ago |
Julian Storer
|
3cb4fb4034
|
Changes to relative coordinate classes. Fix for jucer include file.
|
15 years ago |
Julian Storer
|
ffd93c0343
|
Cleaned up some compiler warings in the demo. Minor Viewport tweak.
|
15 years ago |
Julian Storer
|
1f21a94753
|
New class: CallOutBox, which produces a nice popup box - see the juce demo/widgets/buttons/"click to change colour" button for an example. SVG fix.
|
15 years ago |
Julian Storer
|
00b082caf6
|
New arrowhead and polygon methods for Path and PathStrokeType. Tweaked a few Path methods to take Line and Point objects instead of loose coordinate parameters. Various new geometric methods and more refactoring of Drawables. Misc fixes for CoreGraphics, AudioFormat.
|
15 years ago |
Julian Storer
|
24673283eb
|
Major change to the way the Image class works, making it use value semantics and internally shared data (see the forum notes for more info on this). Also minor changes to win32 browser plugin object ref counting and linux millisecond timers.
|
15 years ago |
Julian Storer
|
1baaa016bd
|
Tidied up some linux messaging code. Fixed a couple of small graphic bugs.
|
15 years ago |
Julian Storer
|
9d00c15b67
|
Stage 1 of a redesign of Drawables - instead of a DrawableComposite storing a tranform for each child, each type of drawable now stores its own transform, and these are represented as remapped points instead of affine transforms. Plus, lots of minor tweaks and jucer development.
|
15 years ago |
Julian Storer
|
42666db484
|
Some win32 clean-ups.
|
15 years ago |
Julian Storer
|
f8f02568b3
|
Removed IntegerElementComparator and FloatElementComparator, replacing them with DefaultElementComparator, which does the same job. Added method Array::addUsingDefaultSort().
|
15 years ago |
Julian Storer
|
66643e85ac
|
Minor string changes.
|
15 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.
|
15 years ago |
Julian Storer
|
97e9095933
|
Minor iPhone GL updates, fix for juce_WithoutMacros.h
|
15 years ago |
Julian Storer
|
a94ebc0461
|
Added openGL support for the iPhone.
|
15 years ago |
Julian Storer
|
a879d03c08
|
Fixed a typo in the AU hosting code.
|
15 years ago |