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

42 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
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
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
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
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
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
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
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
2343dcdcee Added Linux contributions for headless messaging, clipboard and better shm support. 2010-01-11 22:25:43 +00:00
Julian Storer
8bf4d88d97 Minor clean-ups. 2010-01-04 15:24:13 +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
Julian Storer
4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 2010-01-02 14:55:44 +00:00
Julian Storer
01f109e857 More graphics updates - new class FillType, which is now used by DrawablePath to specify its colours. New methods Graphics::clipToPath and Graphics::clipToImageAlpha. Added dynamic Xinerama loading. 2009-11-30 12:02:51 +00:00
Julian Storer
6fdde63a63 Big rewrite of the LowLevelGraphicsSoftwareRenderer class, adding internal support for complex clipping regions - this will temporarily make font rendering quite slow, until it gets re-optimised for this new design. Changed the Image class to remove the lockPixelData methods, and replaced these with an object Image::BitmapData, which is easier to use. 2009-11-26 21:36:45 +00:00
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!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
2009-11-13 16:17:22 +00:00
Julian Storer
5b7f6f0f23 Minor fix for the linux build, and small fix for TreeView dragging logic 2009-10-27 17:04:51 +00:00
jules
ea83c7ee5e Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2 2009-08-20 09:19:37 +00:00
Renamed from build/linux/platform_specific_code/juce_linux_Windowing.cpp (Browse further)