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

27 commits

Author SHA1 Message Date
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
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
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
71a12a140e Improved CoreGraphics clipping. Added a method File::revealToUser(). Added obj-c keywords to the c++ tokeniser. Added a new mode to the file chooser (only implemented on mac so far) 2009-12-08 11:24:09 +00:00
Julian Storer
3e77725594 Cleaned up some namespace issues, and tweaked the plugin host demo to avoid namespace clashes with juce plugins 2009-12-01 13:16:55 +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
1b0e85d187 Added a File::invokedExecutableFile key that can be used to find the name of the file or link that launched the exe 2009-11-13 15:56:29 +00:00
Julian Storer
fea4fb8575 Fixed a typo in some ALSA code 2009-11-09 23:01:46 +00:00
Julian Storer
405d934e68 Massive, long-overdue spring-cleaning and refactoring of the LowLevelGraphicsContext, Typeface and Font classes. Functions such as glyph rendering can now be handled directly by a native graphics context (and glyph rendering is now implemented natively on the Mac). The Typeface class is now an abstract base class with much minimal functionality, and platform-specific subclasses are used for font loading. A new class CustomTypeface lets you load and save typefaces in the old juce binary typeface format. For most people, these changes probably won't require you to alter your code, but you might need to change a few classnames in your code if you're using typefaces directly. 2009-11-09 12:00:18 +00:00
Julian Storer
3c32eda726 oops - forgot to add a couple of new files to the last check-in.. 2009-10-31 12:47:52 +00:00
Julian Storer
ebeaa40689 Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux. 2009-10-31 11:15:12 +00:00
Julian Storer
2e0808b1c5 fixed a build error, and tweaked menu bars to use the MenuBarComponent's look and feel for its popup menus 2009-10-28 09:00:11 +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
Julian Storer
3ae9ac0295 added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally. 2009-10-08 15:43:04 +01:00
Julian Storer
54831605c3 Rebuilt the docs including a couple of missing classes; tweaked WebBrowserComponent to make page unloading optional; small efficiency improvement to ThreadPool 2009-09-29 18:18:49 +01:00
Julian Storer
7dfc764bf0 Initial check-in of a new WASAPI audio device wrapper (not properly tested yet!), and tidied up all the audio device type creation functions to make it easier to cope with all these different device types. Added a couple of config entries to enable WASAPI and DSound, so a windows build can use any combination of device APIs. Also replaced the string-to-double conversion code with a custom function to avoid localisation problems with commas and full-stops. 2009-09-09 17:35:23 +01:00
jules
158a17f08a (Added missing files from last check-in) 2009-08-22 22:30:57 +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