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

279 commits

Author SHA1 Message Date
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +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
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
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +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
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
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
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
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
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
Tom Poole
1dafeafef7 MacOS: Fixed some integer overflow issues when loading large images 2017-11-20 13:52:22 +00:00
Lukasz Kozakiewicz
5d30fcd9b5 Android: move a bunch of generic Android and Java classes to JNI helpers, add Android/Java prefixes to disambiguate. 2017-11-08 18:29:12 +01:00
jules
3e73e11d82 Avoided a visual studio warning 2017-11-03 14:12:49 +00:00
jules
9d56e2990d Optimised the GL renderer to avoid splitting large rectangles into horizontal strips unnecessarily 2017-11-03 13:51:37 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
jules
f0ef700e46 Modernised a bunch of code mainly relating to character/string iteration 2017-10-19 16:52:20 +01:00
jules
369d59f656 Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters 2017-10-11 12:10:58 +01:00
jules
2fcb8fa71b Added some prototype function definitions to avoid compiler warnings for people who enable the "missing prototype" flag 2017-10-09 15:39:22 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
jules
7c6f3d40b6 Tidied up some method calls involving HeapBlock 2017-09-05 16:06:57 +01:00
jules
3df7f8ff8b Did a bit of minor modernising in Graphics + Path 2017-08-09 10:41:08 +01:00
tpoole
0874e47a35 Graphics code refactoring 2017-06-27 15:31:54 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
2f523cfae7 Added /usr/share/fonts as an extra font search-path on linux 2017-04-26 11:14:16 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00
jules
38d49a5ee7 Modernised a few RectangleList iterators 2017-04-03 16:08:07 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
hogliux
5fe3289256 Fixed several Android text rendering bugs 2017-03-01 16:16:34 +00:00
tpoole
4c59a920b4 Added Inter-App Audio capabilities to standalone plug-ins 2017-03-01 11:55:52 +00:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
hogliux
3cef6dcbdf Fixed an obscure iOS deadlock when loading custom type-faces 2017-02-07 12:01:25 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00