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

348 commits

Author SHA1 Message Date
jules
3a47baf9b9 Misc minor string optimisations. 2013-09-11 14:52:28 +01:00
jules
435089e89b Updated the UnitTest class to provide a shared, reproducible random seed for each run, to allow failures to be re-created. Also converted a few Strings to StringRefs. 2013-09-11 10:29:48 +01:00
jules
fc5fc50ae0 Linux font fix. 2013-09-10 14:34:58 +01:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
059737b163 Version number update 2013-09-07 20:20:20 +01:00
jules
5df6bf0513 Minor clean-ups. 2013-09-07 16:46:22 +01:00
jules
59d8d8172d Replaced the crappy old juce sortArray function with std::sort, which seems to run twice as fast. This greatly speeds up edge table rendering. 2013-09-05 09:46:30 +01:00
jules
22139761dc Couple of MSVC warning clean-ups. 2013-09-04 16:50:50 +01:00
jules
a2c95ce4fd Cleaned out and optimised some graphics code. 2013-09-04 13:38:54 +01:00
jules
b09cc5e275 Fix for RectangleList 2013-09-02 14:49:41 +01:00
jules
a2280fc25d Simplified a lot of the image drawing calls internally. Added the new juce logo to the demo app as a more challenging example of path rendering. 2013-08-30 21:42:23 +01:00
jules
dbf7053861 New method Graphics::fillRectList(), which performs better (and looks better when scaled) than multiple calls to fillRect or drawVerticalLine. Also fixed DPI detection in Windows. 2013-08-30 18:20:51 +01:00
jules
2786eadaf9 Removed a few pedantic warnings. 2013-08-26 14:58:23 +01:00
jules
d28ebfdb36 Stripped out some unnecessary boilerplate includes from juce_graphics. 2013-08-24 10:49:25 +01:00
jules
65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 2013-08-23 12:08:31 +01:00
jules
da3838db8a Minor clean-ups. 2013-08-21 21:03:31 +01:00
jules
1e3973a212 Doxygen warning fixes and extra comments. 2013-08-21 17:19:47 +01:00
jules
45b56e2e20 Minor clean-ups around the Justification class. 2013-08-20 17:27:41 +01:00
jules
ca3bc70acd Changes to improve scaling when using cached component images and component effects. 2013-08-19 19:17:59 +01:00
jules
0906f661f6 Correction to AffineTransform::getScaleFactor() 2013-08-14 12:20:26 +01:00
jules
48ae5d16a7 Much faster software rendering of glyphs when display is scaled. 2013-08-13 14:56:46 +01:00
jules
7fb2533bb0 Some rendering fixes. 2013-08-08 18:01:47 +01:00
jules
61ab5be83f Optimisation for software renderer performance in scaled components. 2013-08-06 21:53:52 +01:00
jules
bd3a75e726 Added some more translation methods to AffineTransform, and a couple of methods to Rectangle and RectangleList 2013-08-06 15:24:51 +01:00
jules
29ada09816 Cleaned up some unused variables. 2013-08-01 12:40:50 +01:00
jules
43e53f01b4 Made sure that Rectangle::operator/ can cope with an integer argument. 2013-07-31 15:05:27 +01:00
jules
ed220632ed Minor clean-ups. 2013-07-31 13:16:08 +01:00
jules
69f75c344d Workarounds to get Rectangle<int>::getSmallestIntegerContainer() to work in VC2010 2013-07-30 23:14:01 +01:00
jules
6629921a8b Removed some override specifiers due to a Clang compiler bug. 2013-07-30 21:14:57 +01:00
jules
67916bc9d0 Refactored OpenGLGraphicsContext to share a lot of code with the software renderer, and to use edgetables rather than image masks for faster clipping. 2013-07-30 17:20:58 +01:00
jules
08c9d5d22f EdgeTable performance tuning. 2013-07-30 17:18:04 +01:00
jules
8c7a35addb Fixed some obscure rounding errors in Rectangle. 2013-07-30 17:16:56 +01:00
jules
32c98223ac Refactored some lowlevelgraphicscontext classes to remove duplicated code. 2013-07-30 09:59:03 +01:00
jules
6a6f42ddc9 Workarounds for GCC not understanding friend template classes in RectangleList. 2013-07-29 08:55:55 +01:00
jules
1b9a60e52c Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before. 2013-07-28 18:08:28 +01:00
jules
5b25ac6609 Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility. 2013-07-28 11:31:25 +01:00
jules
7d167aef87 Added a new AffineTransform::scaled method and improved Rectangle::operator*= 2013-07-26 17:19:07 +01:00
jules
072c27d7f4 Renamed Rectangle::transformed to Rectangle::transformedBy, in order to match the method name in Point, and allow easier use of these classes in templates. 2013-07-25 18:13:27 +01:00
jules
60a0087114 Some internal component peer work. 2013-07-25 14:55:55 +01:00
jules
cf01cae2ea Changed Rectangle::transformed to use getSmallestIntegerContainer on its result when used on a non-float rectangle type. 2013-07-25 14:28:29 +01:00
jules
b506a13ba2 Documentation fix. 2013-07-22 19:51:32 +01:00
jules
3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 2013-07-22 13:18:29 +01:00
jules
4a5380171a Version number update 2013-07-17 16:26:42 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
0a0e0bc60d Workarounds for png code in some older versions of VC. 2013-07-11 16:58:10 +01:00
jules
4fc8fbaef1 Added some more override decorators. 2013-07-10 10:22:33 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +01:00
jules
13304ac410 Text layout fix when using newlines with certain fonts on OSX. 2013-07-08 17:04:25 +01:00
jules
c5f1e86cb3 Added some point-size accessor methods to Font. 2013-07-06 10:28:24 +01:00
jules
518e302d4a Avoided some VC warnings. 2013-07-04 20:51:27 +01:00