1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00
Commit graph

71 commits

Author SHA1 Message Date
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00
Julian Storer
27d1d9a9d9 Minor clean-ups. 2010-04-29 16:30:38 +01:00
Julian Storer
21006fbd0a Internal refactoring of file functions and win32 com objects. 2010-04-25 21:13:12 +01:00
Julian Storer
a7e824032f Refactored some directory iteration code and other minor clean-ups. 2010-04-25 15:14:32 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0fe89aa299 Fixed a few minor warnings found by valgrind. 2010-04-15 20:51:51 +01:00
Julian Storer
d083d4f22f Minor fixes for menus, linux fonts, mac http streams. 2010-04-15 13:25:02 +01:00
Julian Storer
c76e500574 Minor clean-ups. 2010-04-15 11:09:20 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
8532475b9c Added a few methods to Range, and used Ranges internally in Slider. Cleaned up a few files. 2010-03-30 15:23:53 +01:00
Julian Storer
4f704c4d33 Compiler compatibility changes. Minor clean-ups. Linux windowing tweaks. 2010-03-29 14:22:11 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
367dfa9942 Added linux ARGB mouse cursor support. 2010-03-26 13:20:48 +00:00
Julian Storer
a728139698 Small fix for demo plugin code. Minor code clean-ups. 2010-03-25 14:21:34 +00:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
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. 2010-03-22 21:05:42 +00:00
Julian Storer
97e9095933 Minor iPhone GL updates, fix for juce_WithoutMacros.h 2010-03-20 20:45:49 +00:00
Julian Storer
a94ebc0461 Added openGL support for the iPhone. 2010-03-20 14:07:33 +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
7228c6b593 Minor clean-ups and fix for posix WaitableEvent. 2010-03-16 19:51:58 +00:00
Julian Storer
34201bf815 Linux build fixes. 2010-03-15 15:03:31 +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
5419ebc520 Fixed shadowing option for linux semi-transparent windows. 2010-03-09 10:55:43 +00:00
Julian Storer
55922e91da Fixed typo in linux code. 2010-03-08 15:48:43 +00:00
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
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
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
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +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
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
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
a23d875a44 Fix for linux opengl problem. 2010-02-09 12:33:59 +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
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
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. 2010-01-24 20:46:34 +00:00
Julian Storer
1674e4f04f Removed win32 compile warnings, fixed a couple of mac 10.4 definitions. 2010-01-21 10:28:02 +00:00
Julian Storer
0c1df99d2d Minor clean-ups 2010-01-20 18:52:23 +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
24c60f447c Updated iphone project with new files. 2010-01-18 12:26:08 +00:00
Julian Storer
527159432b Modernised some old bits of code. 2010-01-18 10:51:12 +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
c368805559 Misc fixes for mingw compatibility 2010-01-12 16:54:18 +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
2343dcdcee Added Linux contributions for headless messaging, clipboard and better shm support. 2010-01-11 22:25:43 +00:00