Skip to content

Audiogridder patches #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 972 commits into
base: audiogridder-patches
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
972 commits
Select commit Hold shift + click to select a range
9b73f07
AUv3 Client: Add support for MIDI sysex input
reuk Dec 4, 2024
6f4a2f6
Upgrade to harfbuzz 10.1.0
szarvas Dec 9, 2024
b7d0364
AudioTransportSource: hasStreamFinished returns true when stream fini…
chromadevlabs Dec 10, 2024
f608e7c
juce_audio_devices: Add support for JACK on Windows and macOS
chromadevlabs Dec 6, 2024
bc6a7ec
Resave all projects
chromadevlabs Dec 10, 2024
34f7d46
VST2 Client: Fix compilation issue when compiling with JUCE_VST3_CAN_…
Anthony-Nicholls Dec 11, 2024
4f474d9
FileChooser: Fix double-delete of UTType instances
reuk Dec 12, 2024
880b769
Graphics: Use cached glyph shaping when only the position of text cha…
Anthony-Nicholls Dec 13, 2024
80bb7b0
ScopedThreadDPIAwarenessSetter: Make moveable
reuk Dec 10, 2024
0be5ad1
CMake: Fix invalid DEPENDS argument passed to add_custom_command
reuk Dec 10, 2024
dcca724
Image: Update return type of getPixelData to avoid dangling pointers
reuk Dec 3, 2024
f05031a
Image: Convert structs to lambdas in implementation
reuk Dec 10, 2024
21357f2
OpenGLTexture: Respect pixelStride when loading Image to texture
reuk Dec 9, 2024
336dcfc
Direct2DImage: Update interface to accept a Device instead of a Devic…
reuk Dec 9, 2024
f887979
Direct2D: Fix performance issue when drawing transformed unclipped re…
reuk Dec 11, 2024
d3d7d4c
VBlank: If previous frame is still in progress, wait until next frame…
reuk Dec 12, 2024
52beda1
ImagePixelData: Speed up format conversions by hoisting switch statem…
reuk Dec 12, 2024
633777e
UnitTestRunner: call DeletedAtShutdown::deleteAll() before exiting
szarvas Dec 17, 2024
9dd8a2a
Fix SimpleShapedText::getTextRange() when the input text contains har…
szarvas Dec 17, 2024
df14e83
Image: Remove an unused function
tpoole Dec 18, 2024
4d5636c
Fix some text formatting
tpoole Dec 18, 2024
7a1f397
Fonts (Linux): Return a null typeface when no default typefaces can b…
Anthony-Nicholls Dec 18, 2024
ad34574
SimpleShapedText: Prevent running tests when no default typefaces can…
Anthony-Nicholls Dec 18, 2024
96e4ba0
AudioProcessor: Add VST2/VST3 midi note name support
chromadevlabs Dec 13, 2024
59ca34d
Projucer (MSVC): Move copy plugin step into VST2 codepath
chromadevlabs Dec 18, 2024
9b959bd
AudioProcessor: Use std::optional in TrackProperties
chromadevlabs Nov 15, 2024
8be4c49
Projucer: Warn when MSVC toolchain is x86 and system is x64
chromadevlabs Dec 16, 2024
e360d83
PopupMenu: Move IdealSize modifiers to LookAndFeel
chromadevlabs Dec 11, 2024
98e21c6
PopupMenu: Move section header size calculation into LookAndFeel meth…
chromadevlabs Dec 19, 2024
0aafcdb
OpenGL: Adjust formatting to reduce line lengths
reuk Dec 19, 2024
29e6bee
OpenGL: Fix mouse-move handling for OpenGL views
reuk Dec 19, 2024
7145356
AudioProcessor: Update getNameForMidiNoteNumber docs for note ranges
chromadevlabs Dec 27, 2024
cafe62d
SystemStats (macOS): Add macOS 15 (Sequoia) enum
chromadevlabs Dec 31, 2024
f72cf8f
WebBrowserComponent (macOS): Catch use after free async callback bug
chromadevlabs Dec 30, 2024
9092182
WebBrowserComponent: Fix leak on Windows
reuk Jan 7, 2025
8be78e9
WebBrowserComponent: Avoid nullptr dereference when WebView2 loader l…
reuk Jan 6, 2025
ba61c9e
Fix crash when no valid Typeface::Ptr can be resolved
szarvas Jan 7, 2025
d73b176
Fall back to default sans serif font if resolution would fail otherwise
szarvas Jan 7, 2025
902ddc7
Bump version number to 8.0.5
tpoole Jan 8, 2025
7cd4e91
Resave all projects
tpoole Jan 8, 2025
a3f6661
Projucer: Fix relative paths for Android resource files
ed95 Dec 21, 2021
9115291
JUCE version 8.0.5
tpoole Jan 8, 2025
873bd8e
Windows: Projucer: Turn 32/64 bit MSVC toolchain mismatch error into …
szarvas Jan 9, 2025
7e8b2b2
Docs: Add some missing Doxygen markup
tpoole Jan 10, 2025
0baffff
Bump version number to 8.0.6
tpoole Jan 10, 2025
f1a6f29
Resave all projects
tpoole Jan 10, 2025
4820fe7
Docs: Add some missing Doxygen markup
tpoole Jan 10, 2025
51a8a6d
JUCE version 8.0.6
tpoole Jan 10, 2025
08fcb74
JACK: Fix missing-prototype and unused-function warnings emitted by c…
reuk Jan 13, 2025
612c50f
Windowing: Store originator component when initiating a mouse drag
reuk Jan 7, 2025
90e72db
Windows: Fix faulty mechanism for creating multiple WebView2 instance…
szarvas Jan 17, 2025
2d01e32
ObjCHelpers: Rename makeCGRect from makeNSRect
reuk Jan 15, 2025
5f7d6d7
Direct2DContext: Remove unnecessary public constants
reuk Dec 10, 2024
01821b5
OpenGLFrameBuffer: Fix writePixels implementation, which previously b…
reuk Jan 14, 2025
8cb8c5e
Image: Add new BitmapData constructor accepting a Rectangle
reuk Jan 14, 2025
ada2c88
ImagePixelData: Update signatures of functions providing whole-image …
reuk Jan 14, 2025
2fbb72d
OpenGLFrameBufferImage: Refactor and simplify BitmapData releaser
reuk Jan 14, 2025
55e5e20
Image: Add new backup-extensions interface to support images with no …
reuk Jan 14, 2025
9b08c8f
Image: Add NativeExtensions type to help with inspecting images from …
reuk Jan 15, 2025
d3ca596
Direct2D: Use Image NativeExtensions to avoid dynamic casts in graphi…
reuk Jan 15, 2025
c3e8b6b
CoreGraphics: Use Image NativeExtensions to avoid dynamic casts in gr…
reuk Jan 15, 2025
da45497
GraphicsDemo: Add new demo showing blur and transparency effects
reuk Jan 14, 2025
183c327
Windowing: Fix mouse position in client area for maximised windows wi…
reuk Jan 21, 2025
f12d298
Direct2D: Remove SetDpi call in startFrame
reuk Jan 20, 2025
a381fdf
Font: Allow overriding typeface ascent and descent metrics
reuk Jan 20, 2025
56ea531
CoreGraphics: Fix bug where subsection images were rendered incorrectly
reuk Feb 3, 2025
19edd53
EdgeTable: Fix issue where edges of paths could be anti-aliased incor…
reuk Feb 3, 2025
29cf6ec
MessageManager: Update callAsync to take an arbitrary callable instea…
reuk Feb 4, 2025
da09b99
MessageManager: Add callSync counterpart to callAsync
reuk Feb 4, 2025
49b6dfb
Fix 0 file descriptor handling on POSIX systems
szarvas Feb 5, 2025
86d4835
Resave all projects
szarvas Feb 5, 2025
95610e6
Component: Add more stringent checks for deleted components when hand…
reuk Feb 5, 2025
c46bcb6
CoreGraphics: Remove CoreImage single-channel blur implementation
reuk Feb 5, 2025
09b1042
CoreGraphics: Remove CoreImage implementations for desaturation and t…
reuk Feb 6, 2025
95d416a
DropShadow: Draw shadows for paths at correct scale to avoid stretchi…
reuk Feb 5, 2025
70652e3
AudioProcessor: Use new MessageManager::callSync
reuk Feb 6, 2025
9c8a2b9
OpenGL (Windows): Only trigger async update after first buffer swap
chromadevlabs Feb 10, 2025
58dcf68
Javascript: Fix eventual timeout when calling JSObject::invokeMethod …
szarvas Feb 11, 2025
2dc933f
CMake: Make juce_recommended_config_flags CMP0141 aware
reuk Feb 6, 2025
81d1c10
Juceaide: Allow custom configuration type for build process
reuk Feb 6, 2025
6ff5e57
Component: Add overload for setTopRightPosition(Point<int>)
reuk Feb 6, 2025
5aa76a7
DropShadow: Revert recent shadow-scale change
reuk Feb 6, 2025
92c7d73
Direct2D: Fix image artefacts at the edge of alpha-clipped regions
reuk Feb 8, 2025
9bdf69e
PathStrokeType: Avoid unnecessarily starting new subpaths
reuk Feb 10, 2025
0864d61
iOS: Provide a workaround for discovering sample rates on iOS 18
Anthony-Nicholls Feb 12, 2025
bd7eff0
iOS: Fix an issue in which the reported sample rate may not always be…
Anthony-Nicholls Feb 13, 2025
389516f
WebView frontend: Fix window.__JUCE__.backend.removeEventListener
szarvas Feb 12, 2025
ae7db80
Fix code comment for juce::SoundPlayer::play.
COx2 Feb 22, 2025
fd05aaf
Zlib: Import sources from 1.3.1
reuk Feb 25, 2025
32cb0e9
Zlib: Make changes to imported source files where necessary
reuk Feb 25, 2025
209c86c
Zlib: Update JUCE sources to support new zlib version
reuk Feb 25, 2025
8201c7d
Resave all projects
reuk Feb 25, 2025
93b02ef
Suppress ARA warning emitted by clang-cl 19.1.1
szarvas Feb 27, 2025
5008d34
iOS: Prevent audio glitches when changing sample rate
Anthony-Nicholls Feb 21, 2025
4cbbf20
iOS: Improve performance when detecting and changing buffer sizes
Anthony-Nicholls Feb 25, 2025
462c1c8
iOS: Improve performance when detecting and changing sample rates
Anthony-Nicholls Feb 25, 2025
a433e4d
iOS: Set target settings before updating hardware info to reduce the …
Anthony-Nicholls Feb 26, 2025
76e498f
AudioDeviceManager: Skip validation when there is only one device
Anthony-Nicholls Feb 26, 2025
f985cf0
iOS: Restore sample rate after iterating available sample rates
Anthony-Nicholls Feb 26, 2025
90695ce
SystemStats: Silence function-cast warnings
reuk Mar 3, 2025
518240c
Zlib: Fix unknown-symbols errors when building with clang, windows, C…
reuk Mar 3, 2025
9a6f925
NSViewComponentPeer: Fix typo that prevented graceful exit of kiosk mode
reuk Mar 3, 2025
35c7afc
Add GitHub Actions configuration
tpoole Mar 4, 2025
f79b88d
GHA: Add more verbose logging
tpoole Mar 5, 2025
384b18e
GHA: Always notify
tpoole Mar 5, 2025
b0d7bad
PopupMenu: Refactor Timer usage in MouseSourceState implementation
reuk Mar 3, 2025
51b0319
PopupMenu: Always attach a global mouse listener
reuk Mar 3, 2025
d39789b
PopupMenu: Remove timeout before highlighting item under mouse
reuk Mar 3, 2025
d77b34f
PopupMenu: Add notes for testing scenarios
reuk Mar 4, 2025
8c1ff91
GHA: Conditionally notify workflow success
tpoole Mar 6, 2025
4deee69
AU Client: Fix calling makeFirstResponder for nil window in Ableton Live
szarvas Mar 3, 2025
86f8460
GHA: Add commit status
tpoole Mar 7, 2025
dabb602
GHA: Don't notify after cancelled jobs
tpoole Mar 7, 2025
f9041f2
GHA: Add cleanup stage
tpoole Mar 10, 2025
cdbfc7e
GHA: Fail the cleanup job if the overall workflow is cancelled or failed
tpoole Mar 12, 2025
b163bc7
GHA: Set individual artifact retention-days
tpoole Mar 12, 2025
e31fb36
Unicode TR14: Always return a hard break for line breaking code points
szarvas Dec 11, 2024
1b59531
Move ShapedText to the detail namespace and expose it in the headers
szarvas Mar 13, 2025
fab1de3
Add ShapedText::accessTogetherWith and remove ShapedText::access
szarvas Jan 28, 2025
ad43702
Add detail::RangedValues::shift
szarvas Jan 27, 2025
ef840b7
Use detail::RangedValues<Font> on ShapedText related interfaces
szarvas Jan 28, 2025
43608a5
Ranges: Store more information in Split and Change operations
szarvas Jan 27, 2025
5b04493
Ranges: Make RangedValuesIterator independent from the RangedValues type
szarvas Jan 28, 2025
8dccb38
Make IntersectingRangedValues independent from the RangedValues type
szarvas Jan 28, 2025
2d24504
Change the return type of RangedValues::getIntersectionsWith
szarvas Jan 29, 2025
213d3fb
Add RangedValues::getIntersectionsStartingAtZeroWith
szarvas Jan 29, 2025
a07098d
Add ShapedText::getHeight()
szarvas Jan 29, 2025
6c3043f
Add detail::UnicodeHelpers::getLineBreaks
szarvas Mar 13, 2025
2842c8e
Add detail::Ranges::getRanges()
szarvas Jan 30, 2025
6cf697b
Ranges: Add equality operators
szarvas Feb 3, 2025
d72df5f
ShapedText: Add bidirectional lookup functions relating positions, in…
szarvas Mar 5, 2025
50863c1
ShapedTextOptions: Add equality operators
szarvas Feb 3, 2025
bfbdc48
ShapedTextOptions: Fix uninitialised member variable
szarvas Feb 3, 2025
a4f73a3
ShapedText: Fix input text range calculation logic during wrapping
szarvas Feb 3, 2025
bc093fa
Ranges: ShapedText: Use out params for improving TextEditor performance
szarvas Mar 5, 2025
4278528
ShapedText: Break ligatures into multiple iterable placeholder glyphs
szarvas Mar 5, 2025
9ce2fea
TextEditor: Improve Unicode editing behaviour and performance
szarvas Mar 13, 2025
62028e6
Projucer (MSVC): Make Z7 default debug info flag
chromadevlabs Mar 12, 2025
04ed355
CMake (MSVC): Make Z7 default debug info flag
chromadevlabs Mar 12, 2025
432a7e1
Fix C++20 compilation
szarvas Mar 13, 2025
273c793
Direct2D: Fix text drawing using gradients when the screen scaling is 1
szarvas Mar 13, 2025
4362f9e
File: Document setReadOnly behaviour for Windows directories
szarvas Mar 12, 2025
53b96db
GHA: Fix nightly build notifications
tpoole Mar 18, 2025
ae4bca2
TextEditor: Fix crash when the caret is beyond a newline in the last …
szarvas Mar 18, 2025
80b190b
Projucer: Bump minimum supported Android API level
reuk Mar 17, 2025
51be8b9
Android: Remove unnecessary SDK version checks
reuk Mar 17, 2025
ded1590
HarfBuzz: Silence nontrivial-memcall warnings
reuk Mar 18, 2025
5e44dc0
DragAndDropContainer: Fix issue where drag images in plugins could ap…
reuk Mar 18, 2025
cd981c1
FileChooser: Guard against use-after-free
reuk Mar 17, 2025
9730cd2
FileChooser: Store strong reference to Native instance inside async c…
reuk Mar 18, 2025
5f5a247
TextEditor: Fix centred and right alignment when word wrap is disabled
szarvas Mar 19, 2025
bd015f5
Fix psabi warning emitted by GCC on ARM64
szarvas Mar 21, 2025
86b17ef
Projucer: Call post export script after removing old generated code
Anthony-Nicholls Mar 25, 2025
7f4176e
Fix potential crash in Ableton Live when dismissing the plugin window…
szarvas Mar 24, 2025
5aab60f
Direct2D: Fix text drawing using gradients
szarvas Mar 18, 2025
ef5134e
Doxygen: Remove confusing header file information
tpoole Mar 28, 2025
9c86728
Add missing documentation tag for WebViewLifetimeListener
szarvas Mar 26, 2025
2f5f8d1
Fix doc in FileOutputStream
szarvas Mar 28, 2025
cac1ad8
Update JavascriptEngine documentation
szarvas Mar 28, 2025
e3df22a
NSViewComponentPeer: Fix use-after-free when closing windows with the…
reuk Apr 1, 2025
eca8321
Direct2D: Fix issue where vertical/horizontal lines were ignored by s…
reuk Mar 31, 2025
bdc515e
ShapedText: Fix crash caused by failing to find a fallback font for a…
szarvas Mar 28, 2025
9c0aeb9
ShapedText: Fix potential crash caused by invalid Unicode strings
szarvas Mar 28, 2025
9083cd9
Fix TextEditor crash when Font resolution fails
szarvas Mar 31, 2025
f76d1ee
GHA: Add a workflow to publish a GitHub release
tpoole Apr 8, 2025
99b752a
Bump version number to 8.0.7
tpoole Apr 8, 2025
f503b0e
Resave all projects
tpoole Apr 8, 2025
f6571c4
JACK: Fix missing-prototype and unused-function warnings emitted by c…
reuk Jan 13, 2025
10a5896
JUCE version 8.0.7
tpoole Apr 8, 2025
953a404
VST3: Silence clang-20 nontrivial-memcall warning
reuk Apr 9, 2025
8f61571
Zlib: Remove extern "C" for declarations in bundled private namespace
reuk Apr 9, 2025
08b82c7
iOS: WebBrowserComponent: Fix unguarded feature only available on 18.4+
szarvas Apr 10, 2025
fbcd416
Prevent Thread::sleep waking up on POSIX systems when receiving signals
szarvas Apr 10, 2025
6ba9a38
Add const overload for ValueTreePropertyWithDefault::getPropertyID
szarvas Apr 10, 2025
99b63cf
WavAudioFormat: Fix reading odd-sized INFO chunks in a LIST block
szarvas Apr 2, 2025
20b5e92
Add missing JUCE_API annotations
reuk Mar 27, 2025
a31cada
AudioProcessorGraph: Add constexpr annotations
reuk Mar 31, 2025
5297df9
AudioProcessorGraph: Remove unnecessary precision conversion buffer
reuk Mar 31, 2025
e555a17
AudioPluginDemo: Enable double-precision processing
reuk Mar 31, 2025
776de62
AudioPluginHost: Fix double-precision processing for internal plugins
reuk Mar 31, 2025
43b9dc4
AudioProcessorGraph: Tidy up long line
reuk Mar 31, 2025
e30670a
AudioProcessorGraph: Add missing callback lock
reuk Mar 31, 2025
d08577e
DemoRunner: Add CapabilityInquiryDemo
reuk Mar 31, 2025
520be82
CapabilityInquiryDemo: Add getting-started advice
reuk Mar 31, 2025
ad2315f
CapabilityInquiryDemo: Fix unused-variable warning
reuk Mar 31, 2025
3924429
CIProfileHost: Fix shadowing warning
reuk Apr 1, 2025
e6d6ba6
CapabilityInquiryDemo: Fix potential C++23 comparison warning
chromadevlabs Apr 11, 2025
17bf5c1
ObjC: Silence Wcast-function-type-mismatch warnings when building wit…
reuk Apr 14, 2025
a8c85f5
SafePointer: Add new equality operators to avoid ambiguous operator w…
reuk Apr 14, 2025
e053209
CapabilityInquiryDemo: Fix build failures when using new C++ standard…
reuk Apr 15, 2025
0943197
MacOS: Ensure that Bluetooth MIDI dialogue remains visible when we ha…
szarvas Apr 16, 2025
087f915
NSViewComponentPeer: Ignore mouseDragged messages during DnD operations
szarvas Apr 11, 2025
c786e61
Direct2D: Fix fillAlphaChannelWithCurrentBrush when the source positi…
szarvas Apr 11, 2025
878ac1a
DirectX: Reduce shared resource thrashing in VBlank
chromadevlabs Apr 16, 2025
3b43b7c
Direct2D: Reduce DirectX resource thrashing in Direct2D Swapchain
chromadevlabs Apr 17, 2025
e23969f
TextEditor: Fix drawing text in the wrong colour
szarvas Apr 22, 2025
d2d5e9b
TextEditor: Fix setLineSpacing
szarvas Apr 22, 2025
56b7b76
TextEditor: Fix caret size in first and last position when line spaci…
szarvas Apr 22, 2025
6a53ddc
TextEditor: Restore JUCE 7 behaviour for the first line's alignment w…
szarvas Apr 23, 2025
e574542
CapabilityInquiryDemo: Adapt UI layout to narrow screens
szarvas Apr 16, 2025
f9620d6
WaveAudioFormatReader: Avoid potential FPE
reuk Apr 23, 2025
2f46d9e
Direct2D: Change juce_FunctionPointerDestructor.h include order
chromadevlabs Apr 14, 2025
b5b7dd5
Direct2D: Move Direct2DHelpers into juce_DirectX_windows.h
reuk Apr 9, 2025
18b5083
Direct2D: Move Direct2DResources to juce_DirectX_windows.h
reuk Apr 9, 2025
6deb508
Direct2D: Move Direct2DFactories to juce_DirectX_windows.h
reuk Apr 9, 2025
5e52585
Direct2D: Move Direct2DGraphicsContext::Impl into separate header
chromadevlabs Apr 14, 2025
c167c6d
Direct2D: Move ImagePixelDataNativeExtensions into separate header
reuk Apr 9, 2025
e9a5531
Direct2D: Disable software backup for component effect image
mattgonzalez Jan 24, 2025
2324e34
Graphics: Move Image::moveImageSection into ImagePixelData
chromadevlabs Apr 15, 2025
ae784a9
Direct2D: Implement moveValidatedImageSection
chromadevlabs Mar 18, 2025
bf940ae
Direct2D: Do image cloning on GPU when possible
chromadevlabs Mar 18, 2025
250abe9
LowLevelGraphicsContext: Add preferred image type for temporary images
chromadevlabs Apr 15, 2025
4ba01a8
Component: Use Context appropriate ImageType for temporary images
chromadevlabs Apr 15, 2025
bd26d79
Effects: Use preferred temporary image type for DropShadow temporary …
chromadevlabs Apr 15, 2025
531d21e
LookAndFeel: Use preferred temporary image type for progress bars
chromadevlabs Apr 15, 2025
9374f2c
Graphics: Use preferred temporary image type for transparency layers
chromadevlabs Apr 15, 2025
27946ba
Effects: Use compatible image type for DragAndDropContainer
chromadevlabs Apr 15, 2025
f75fb7f
Windows: Use SoftwareImageType for Icon conversions
chromadevlabs Apr 15, 2025
16326d1
Direct2D: Use the 'focused' window when acquiring metrics
chromadevlabs Mar 4, 2025
44d304b
Direct2D: Use PostMessage for swapchain events
chromadevlabs Apr 15, 2025
e177c5f
Direct2DHwndGraphicsContext: Shorten lines longer than 100 characters
chromadevlabs Apr 15, 2025
1dce4ae
Direct2DGraphicsContext: Use path bounds to check for emptiness
chromadevlabs Apr 15, 2025
093df76
Direct2DHwndGraphicsContext: Always use default adapter
chromadevlabs Apr 15, 2025
5d6cd1f
Direct2DGraphicsContext: Fix rendering for rectangles smaller than 1x1
chromadevlabs Apr 15, 2025
ca3abbb
Direct2D: Round virtual texture tile position
chromadevlabs Apr 8, 2025
87abc79
DirectX: Split out function definitions into a separate cpp file
reuk Apr 17, 2025
352f770
DirectX: Remove unused ScopedMultithread
reuk Apr 17, 2025
93d227b
Direct2D: Split declaration and definition of Direct2DGraphicsContext…
reuk Apr 17, 2025
170b463
Direct2D: Remove unused hwnd data member from D2DGraphicsContext::Pimpl
reuk Apr 17, 2025
0071f47
Direct2D: Make protected members of Pimpl private/public as appropriate
reuk Apr 17, 2025
b061d5f
Direct2D: Hide D2D SavedState in .cpp file
reuk Apr 17, 2025
2aed72d
Direct2D: Move paintPrimitive implementation into Direct2DGraphicsCon…
reuk Apr 17, 2025
137d982
Direct2D: Move D2DHelpers to Direct2DGraphicsContext.cpp
reuk Apr 17, 2025
43c9f28
Direct2D: Move ScopedGeometryWithSink to Direct2DGraphicsContextImpl.cpp
reuk Apr 17, 2025
f56c7fa
Direct2D: Move SwapChain into Direct2DHwndContext.cpp
reuk Apr 17, 2025
8d33428
Direct2D: Move WindowsScopedEvent to Direct2DHwndContext.cpp
reuk Apr 17, 2025
1f6c173
Direct2D: Remove declaration of makeGradientStopCollection()
reuk Apr 17, 2025
8d29ede
Direct2D: Move CompositionTree to Direct2DHwndContext.cpp
reuk Apr 17, 2025
96683e4
Direct2D: Move FontFileEnumerator to DirectX.cpp
reuk Apr 17, 2025
234e75b
Direct2D: Move MemoryFontFileFileStream to DirectX.cpp
reuk Apr 17, 2025
98d4dde
Direct2D: Move MemoryFontFileLoader to DirectX.cpp
reuk Apr 17, 2025
49948d5
Direct2D: Remove unused declarations
reuk Apr 17, 2025
243d375
Direct2D: Hide implementation of RectangleListSpriteBatch::fillRectan…
reuk Apr 17, 2025
522217d
Projucer (MSVC): Fix multi-arch PCH project generation
chromadevlabs Apr 23, 2025
3ff8d4f
DSP: Enable SIMD on ARM only when NEON is available
chromadevlabs Apr 16, 2025
6972c4f
Direct2D: Fix ETW tracing build errors
chromadevlabs Apr 25, 2025
76215d2
ListenerList: Prevent false positive assertions in callCheckedExcluding
Anthony-Nicholls May 1, 2025
8858493
Cherry-pick da68fe2b60aa016a7451ace8fd90bcec7f9d261a from upstream ma…
kcoul May 5, 2025
782166d
Reconcile audiogridder patches with latest JUCE
kcoul May 5, 2025
f1d9112
Merge branch 'audiogridder-patches' into audiogridder-patches
kcoul May 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Direct2D: Remove unused declarations
  • Loading branch information
reuk authored and chromadevlabs committed Apr 24, 2025
commit 49948d5dd4b9b9834fd91c918ee129b7eadd0da0
17 changes: 14 additions & 3 deletions modules/juce_graphics/native/juce_DirectX_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ std::optional<Direct2DDeviceResources> Direct2DDeviceResources::create (ComSmart
}

//==============================================================================
String getLocalisedName (IDWriteLocalizedStrings* names)
static String getLocalisedName (IDWriteLocalizedStrings* names)
{
jassert (names != nullptr);

Expand All @@ -619,7 +619,7 @@ String getLocalisedName (IDWriteLocalizedStrings* names)
return static_cast<const wchar_t*> (name);
}

String getFontFamilyName (IDWriteFontFamily* family)
static String getFontFamilyName (IDWriteFontFamily* family)
{
jassert (family != nullptr);
ComSmartPtr<IDWriteLocalizedStrings> familyNames;
Expand All @@ -628,7 +628,7 @@ String getFontFamilyName (IDWriteFontFamily* family)
return getLocalisedName (familyNames);
}

String getFontFaceName (IDWriteFont* font)
static String getFontFaceName (IDWriteFont* font)
{
jassert (font != nullptr);
ComSmartPtr<IDWriteLocalizedStrings> faceNames;
Expand All @@ -637,6 +637,17 @@ String getFontFaceName (IDWriteFont* font)
return getLocalisedName (faceNames);
}

template <typename Range>
static StringArray stringArrayFromRange (Range&& range)
{
StringArray result;

for (const auto& item : range)
result.add (item);

return result;
}

//==============================================================================
AggregateFontCollection::AggregateFontCollection (ComSmartPtr<IDWriteFontCollection> baseCollection)
: collections { std::move (baseCollection) } {}
Expand Down
15 changes: 0 additions & 15 deletions modules/juce_graphics/native/juce_DirectX_windows.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,21 +409,6 @@ class Direct2DDeviceResources
};

//==============================================================================
String getLocalisedName (IDWriteLocalizedStrings* names);
String getFontFamilyName (IDWriteFontFamily* family);
String getFontFaceName (IDWriteFont* font);

template <typename Range>
static StringArray stringArrayFromRange (Range&& range)
{
StringArray result;

for (const auto& item : range)
result.add (item);

return result;
}

class AggregateFontCollection
{
public:
Expand Down