1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00
Commit graph

1948 commits

Author SHA1 Message Date
Julian Storer
a0adefc86e Added XRender support for semi-transparent windows in linux. Fixed a couple of vst build errors. 2010-03-08 15:02:55 +00:00
Julian Storer
8b7f38f30c Minor fixes. 2010-03-07 22:25:25 +00:00
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. 2010-02-25 22:33:44 +00:00
Julian Storer
bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 2010-02-25 18:31:06 +00:00
Julian Storer
84a8695561 Moved cursor update and unbounded mouse movement handling code into MouseInputSource. 2010-02-25 10:08:00 +00:00
Julian Storer
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +00:00
Julian Storer
2c07a61aa9 Updated NPAPI wrapper 2010-02-22 09:30:55 +00:00
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. 2010-02-21 19:04:41 +00:00
Julian Storer
80829d996f Fix to get plugins running in Wavelab. 2010-02-19 12:22:24 +00:00
Julian Storer
1d598e38b9 Updates to plugin host code. 2010-02-19 09:22:13 +00:00
Julian Storer
250231a91f Added some new functionality to AudioCDBurner. 2010-02-18 12:46:41 +00:00
Julian Storer
e900688f09 Added support for the extensible wav format block. 2010-02-17 18:45:33 +00:00
Julian Storer
d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 2010-02-17 10:12:46 +00:00
Julian Storer
e4801068ad Updates to jucer-generated projects. 2010-02-16 12:19:31 +00:00
Julian Storer
f97cf1aaa5 Fix for win32 drag-and-drop. 2010-02-16 12:03:14 +00:00
Julian Storer
3057acf0b3 Fix for browser plugins using tabs in firefox 3.6. Minor CodeEditorComponent fix. 2010-02-15 13:31:41 +00:00
Julian Storer
0768b3bb12 Changed the audio plugin host projects to be Jucer-generated. 2010-02-13 17:13:37 +00:00
Julian Storer
5443f95790 Jucer-generated file updates. 2010-02-13 17:07:31 +00:00
Julian Storer
fbc62f200a Updated some auto-generated projects. 2010-02-13 15:06:45 +00:00
Julian Storer
305d58519a Converted the Juce demo projects to all be auto-generated by the Jucer. 2010-02-13 13:24:47 +00:00
Julian Storer
7d9b068a49 Changed Font::findFonts() to use an Array instead of an OwnedArray. 2010-02-12 18:07:28 +00:00
Julian Storer
cb00274427 Minor fixes for File::isAChildOf(), NPAPI window sizing, CodeDocument syntax parsing, and the amalgamated template file. 2010-02-11 11:07:03 +00:00
Julian Storer
1376cfd603 Added a flag to the AU resource headers. 2010-02-09 20:06:02 +00:00
Julian Storer
961708b21c Changed the example projects to be Jucer-generated. 2010-02-09 18:55:02 +00:00
Julian Storer
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +00:00
Julian Storer
07623e9fa3 Converted the BinaryBuilder projects to be auto-generated by the Jucer. 2010-02-08 20:12:07 +00:00
Julian Storer
257712c1da Replaced the amalgamator's build projects with auto-generated projects created by the new Jucer. 2010-02-08 16:26:29 +00:00
Julian Storer
bac6d332a3 Created an option to use the amalgamated template files as a set of 4 separate files instead of one big one, to help when compiling in low-memory environments. Moved all the amalgamated templates out of the src folder and into their own subfolder, so if you have files that include them, you might need to tweak the path that you're using. Also tweaked the amalgamator to deal with this new setup. 2010-02-07 15:18:10 +00:00
Julian Storer
1d1fc5aa4c Added a handy new method: XmlElement::createNewChildElement(). 2010-02-07 14:02:30 +00:00
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. 2010-02-07 00:52:30 +00:00
Julian Storer
ca0dce68d5 Added methods to SystemStats to return the user's name. 2010-02-05 18:36:19 +00:00
Julian Storer
9841221898 Updated the AudioPluginHost app. 2010-02-05 16:58:26 +00:00
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. 2010-01-29 10:31:12 +00:00
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. 2010-01-28 16:02:16 +00:00
Julian Storer
87a7086e2b Tidied up some compiler warnings in the plugin wrapper code. 2010-01-21 19:35:00 +00:00
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. 2010-01-20 18:41:29 +00:00
Julian Storer
527159432b Modernised some old bits of code. 2010-01-18 10:51:12 +00:00
Julian Storer
e73a0fb874 Added Value support to Labels and ComboBoxes. Altered all the PropertyComponent classes so that as well as being used as abstract base classes, they can now also be instantiated directly as controllers for a Value. This allows property panels to be built to control a set of Value objects without writing any custom classes. 2010-01-15 15:39:39 +00:00
Julian Storer
55306275b1 Minor fixes to avoid compiler warnings 2010-01-15 15:06:24 +00:00
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). 2010-01-14 14:49:25 +00:00
Julian Storer
0abb313d40 Tarted up the amalgamator, and made it replace spaces with tabs to reduce file size. 2010-01-14 13:55:23 +00:00
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. 2010-01-13 18:58:40 +00:00
Julian Storer
68e04b453d Fixed an MS compile problem. Added code to add an audio stream to a camera file recorded on the mac to avoid a movie rate bug in some quicktime versions. Added a linux makefile for the amalgamator. 2010-01-12 16:21:43 +00:00
Julian Storer
d7cbfe93c5 Minor tidying up. 2010-01-11 12:17:43 +00:00
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. 2010-01-10 22:00:59 +00:00
Julian Storer
3ddbc82f9f Fixed a typo in VST wrapper class. 2010-01-08 09:27:40 +00:00
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. 2010-01-07 17:54:51 +00:00
Julian Storer
45befc9ed2 Small fix to ValueTree 2010-01-03 22:57:39 +00:00
Julian Storer
59a2506864 Minor code clean-ups 2010-01-03 16:17:42 +00:00
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. 2010-01-02 23:01:18 +00:00