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

709 commits

Author SHA1 Message Date
Tom Poole
fc87d8cd1d Made some more JUCE classes trivially copyable 2018-07-11 15:07:00 +01:00
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +01:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
jules
1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 2018-07-03 11:51:13 +01:00
Tom Poole
102ed4a9f2 Fixed some compiler warnings 2018-06-27 17:02:25 +01:00
jules
49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 2018-06-26 14:06:52 +01:00
jules
f80df37183 Fixed a couple of typos in comments 2018-06-25 17:27:38 +01:00
jules
119d9a79c6 Added a flag JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING to juce_graphics 2018-06-18 12:25:19 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
ed
2d79cc78c0 Bump version number to 5.3.2 2018-05-09 12:34:36 +01:00
jules
8c38c6f57f Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes! 2018-05-09 08:08:46 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
jules
9e77d94789 Another attempt to get OSX in-memory font layout to work on all OS versions 2018-05-01 12:24:18 +01:00
Lukasz Kozakiewicz
772185f2b0 Add camera support for iOS and Android. 2018-04-25 18:54:04 +02:00
hogliux
269c1f27fd Win32: Fixed a bug where certain unicode characters (> 0x8000) would not be displayed correctly on Windows 2018-04-25 11:33:09 +01:00
hogliux
f639b7b149 macOS/iOS: Continue to use text layout fallback for fonts loaded from memory
You can override this by defining JUCE_FORCE_USE_NATIVE_TEXT_LAYOUT_FOR_MEMORY_FONTS=1
2018-04-24 10:17:46 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
hogliux
a7b5c1f77f Android: Fixed an issue where getting the metrics of a string on android could crash if the string can't be represented as a UTF-16 string 2018-04-11 10:47:05 +01:00
Tom Poole
4229dc0a4f Made a lot of ScopedPointer usage conform to the std::unique_ptr interface 2018-04-10 18:34:20 +01:00
Noah Dayan
1a31c86f39 Bump version number to 5.3.1 2018-04-10 17:01:54 +01:00
hogliux
6c08f04a8e Android: Fixed a crash when painting a string that can't be represented as a UTF-16 string 2018-04-09 16:28:38 +01:00
jules
121719be69 Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping 2018-04-04 16:43:17 +01:00
jules
2e0f6b5dbc Avoided an OSX font bug workaround that's no longer needed in 10.11, and also stripped out a huge amount of defunct OSX 10.5 font code 2018-04-04 16:03:40 +01:00
ed
262dff8854 Bump version number to 5.3.0 2018-03-15 12:23:30 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
ed
9027d1e5a1 Implemented setIcon() in NSViewComponentPeer 2018-02-12 12:47:57 +00:00
ed
fa0f7a4281 Bump version number to 5.2.1 2018-02-08 10:55:52 +00:00
jules
e1f57f64da Optimised a couple of places in the software/GL render engines where copies of RectangleLists could be avoided 2018-02-07 15:53:54 +00:00
jules
fb43fbb37f Fix for CoreGraphics clipping to zero-winding paths 2018-02-05 12:18:59 +00:00
jules
415f0e4c90 Added an alternative version of File::findChildFiles that returns the results array rather than it being an out-parameter. In almost all cases using this new version will make your code smaller and cleaner, as you can see from all the changes in this commit! 2018-01-17 11:23:12 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
78b0ab6442 A few code cleanups 2018-01-09 14:28:08 +00:00
jules
3ec5c17bb1 Misc cleanups relating to ScopedPointer 2018-01-08 18:03:26 +00:00
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
jules
a9eafbc90f Some tidying up in AffineTransform, and added a new fromTargetPoints method 2017-12-20 12:58:20 +00:00
jules
8d2150f239 Added a parallelogram class 2017-12-20 11:42:29 +00:00
jules
430948ad91 Fixed an undefined behaviour warning in the demo app, and tidied up a couple of path functions 2017-12-19 15:01:41 +00:00
jules
b028f299b8 Fixed some subtle (but benign) undefined behaviour with negative bit-shifts 2017-12-19 14:22:39 +00:00
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +00:00
jules
5e9267e5d8 Simplified the Path class by making it use an Array for starage. 2017-12-18 12:22:02 +00:00
jules
58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 2017-12-12 16:24:40 +00:00
jules
f22317695b Added a couple of casts to keep Visual Studio happy 2017-12-06 17:48:41 +00:00
jules
d9585241ad Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance 2017-12-06 17:33:26 +00:00
jules
d727f2a35a Added MathConstants::halfPi to improve readability 2017-12-06 12:56:00 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00