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

146 commits

Author SHA1 Message Date
Tom Poole
1b4042217a macOS: Fixed an issue unregistering fonts 2019-07-11 15:48:49 +01:00
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
ed
06da4f2daf Added a font 'leading' parameter for multiline text layouts 2019-03-11 16:43:21 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
ed
c723e56952 Defaulted some constructors and copy assignment operators in AttributedString 2018-11-28 17:01:45 +00:00
ed
9de863a272 Fix a typo 2018-11-28 16:39:46 +00:00
ed
7a41d53409 Fix some potential issues with using auto in a backwards loop in the previous commit 2018-11-28 15:49:08 +00:00
ed
f1d5e5c9cc Avoid hitting an assertion in the splitAttributeRanges() method of AttributedString due to inserting a reference to an Array member into the Array + some misc clean up in the class 2018-11-28 15:39:18 +00: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
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
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
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +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
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
jules
2be865b831 Added a GZIPCompressorOutputStream constructor that takes a reference. 2017-11-27 16:56:11 +00:00
jules
eac4f9112f Fix for the TextLayout when drawing at non-origin coords 2017-11-08 15:15:22 +00:00
jules
d4a7afa73f Replaced some old juce-style sort operations with std::sort and lambdas 2017-11-03 16:35:11 +00:00
jules
e8490fbf71 Workaround for a Visual Studio error 2017-11-01 09:16:06 +00:00
jules
0933ce4be8 Optimisation for drawing of large TextLayouts that go beyond the top and bottom of the graphics clip region 2017-10-31 17:30:50 +00:00
tpoole
51b3eaebb2 Fixed some VS2013 compiler errors 2017-10-18 11:05:40 +01:00
jules
5c854b49a8 Fixed a problem in GlyphArrangement which could cause multiple lines to all be given ellipsis 2017-10-16 17:50:48 +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
970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 2017-10-09 12:38:06 +01:00
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
27a6903cac Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int 2017-09-27 12:24:02 +01:00
jules
06d6a08892 Tweaked TextLayout::createLayoutWithBalancedLineLengths() to improve line length balancing 2017-09-27 10:50:09 +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
66fa7e7411 Added some assertions to catch use of some Font methods on background threads 2017-07-06 11:45:26 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +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
89ad7eb0a4 Modernised some code in some text layout classes, and made TextLayout draw underlining where the font asks for it 2017-04-06 10:55:48 +01:00
hogliux
5fe3289256 Fixed several Android text rendering bugs 2017-03-01 16:16:34 +00:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +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
jules
871c3a9108 Removed some code that prevented RTL TextLayouts having their bounds adjusted 2016-04-14 16:34:26 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
70949aa0c6 Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects. 2016-04-06 18:31:24 +01:00
jules
1a7caaa58f Refactored AttributedString so that every part of the string has a single font and colour associated with it, to avoid some problems caused by fonts being undefined. 2016-01-03 13:16:18 +00:00
jules
2a1234b6ac Simplified some inter-module dependencies and exception-catching fallbacks 2015-12-23 11:47:18 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
eb99390413 TextLayout: made the fallback layout algorithm make use of AttributedString::getLineSpacing() 2015-11-25 09:58:16 +00:00
jules
7a27686d96 Fix for a layout truncation problem in GlyphArrangement when splitting across many lines. 2015-09-28 17:12:37 +01:00