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

162 commits

Author SHA1 Message Date
Julian Storer
dca61e54a4 Added locking to NamedPipe. Added extra checking to Image::clear. Other minor tidying-up. 2010-03-19 10:37:27 +00:00
Julian Storer
a879d03c08 Fixed a typo in the AU hosting code. 2010-03-18 21:46:14 +00:00
Julian Storer
8b8316038b Converted the BitArray class into "BigInteger", replacing its clunky old arithmetic methods with a proper set of arithmetic operators so it can be used like an int. All the bit-access methods are still there, and there's a typedef of BitArray -> BigInteger to allow most old code to still work. (You might need to change calls to isEmpty() to isZero() though). Also fixed a bug in MidiBuffer. 2010-03-18 09:49:49 +00:00
Julian Storer
d7108bb5ba Jucer VC6 support + misc VC6 compatibility hacks. 2010-03-17 14:46:03 +00:00
Julian Storer
7228c6b593 Minor clean-ups and fix for posix WaitableEvent. 2010-03-16 19:51:58 +00:00
Julian Storer
2b06e4f6d9 Minor StringArray fixes. 2010-03-15 21:58:47 +00:00
Julian Storer
06fb01aab3 Minor string tweaks. 2010-03-15 18:48:36 +00:00
Julian Storer
34201bf815 Linux build fixes. 2010-03-15 15:03:31 +00:00
Julian Storer
81b2e7818d Couple of minor mouse-pointer fixes. 2010-03-15 14:08:40 +00:00
Julian Storer
574694f458 Corrected geometry of drawLine in CoreGraphics to match the software renderer. Minor code clean-ups. 2010-03-13 18:38:56 +00:00
Julian Storer
3b77f1233f Tidied up some methods in String, StringArray, and input streams. Reduced CoreAudio buffer size limit. 2010-03-13 16:39:55 +00:00
Julian Storer
24a73b96ef Fix to prevent win32 mouse event queuing and some mouse cursor update problems. Changes to internal string storage. 2010-03-12 19:47:28 +00:00
Julian Storer
605e06946f MD5 fix. 2010-03-12 10:19:33 +00:00
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! 2010-03-11 14:33:40 +00:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
d84e47353c Couple of optimisations to text rendering. Removed various printfs from the codebase. 2010-03-11 10:16:02 +00:00
Julian Storer
858a758aee Fixed a minor AU build error and removed some old macros. 2010-03-10 13:04:24 +00:00
Julian Storer
19c332a144 Minor plugin code fix + clean-ups. 2010-03-08 20:18:20 +00:00
Julian Storer
1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 2010-03-08 19:22:48 +00:00
Julian Storer
28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 2010-03-08 18:16:24 +00:00
Julian Storer
6b0640d2b9 CoreAudio fix. 2010-03-08 10:06:43 +00:00
Julian Storer
8b7f38f30c Minor fixes. 2010-03-07 22:25:25 +00:00
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. 2010-03-07 17:45:10 +00:00
Julian Storer
b974203d0f Couple of new methods for String. Cleaned up some component code to use SafePointers. 2010-03-07 13:01:33 +00:00
Julian Storer
c9c8824294 More mouse input refactoring. 2010-02-26 16:10:48 +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
187173da62 New class MouseInputSource. 2010-02-24 13:20:02 +00:00
Julian Storer
9657241c10 Internal refactoring of mouse-event classes, as the first step towards multi-touch support. 2010-02-24 13:19:10 +00:00
Julian Storer
80afd8aee7 Compiler fixes for String and var. Fix for TextEditor redraw problems. 2010-02-24 11:27:57 +00:00
Julian Storer
bb60371f1c Couple of minor fixes. 2010-02-24 09:11:04 +00:00
Julian Storer
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +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
038886510a Tidied a few static functions away into private namespaces. 2010-02-20 18:57:36 +00:00
Julian Storer
b86423193e Minor clean-ups. 2010-02-20 16:07:36 +00:00
Julian Storer
39b583fe1e Modernised some old code. 2010-02-20 15:27:48 +00:00
Julian Storer
5c027142f4 Fixed a compile problem in mac vst hosting. Added a quality parameter to the CameraDevice class 2010-02-20 10:59:48 +00:00
Julian Storer
b029e0cf23 Fix for SVG parsing. 2010-02-19 14:14:20 +00:00
Julian Storer
8820020213 Added support for extended character input on the mac. Added a few methods to Rectangle and Range. 2010-02-18 16:49:30 +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
06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 2010-02-16 18:31:44 +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
7d9b068a49 Changed Font::findFonts() to use an Array instead of an OwnedArray. 2010-02-12 18:07:28 +00:00
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. 2010-02-12 17:38:39 +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
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
bc41a46dab Fix for atomics in OSX10.4, and popup menus on unusual monitor arrangements. 2010-02-09 15:08:59 +00:00