reuk
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
reuk
c3f6318c7c
FileBrowserComponent: Update all filenameBox text when LnF changes
4 years ago
reuk
b096c16c04
FileBrowserComponent: Fix issue where up button was hidden after changing the look and feel
4 years ago
ed
009d685179
Updated all license headers
4 years ago
reuk
39b5c22a29
GUI: Ensure components refresh correctly when their look and feel changes
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
3c312b9d76
Reworked the logic in FileBrowserComponent::currentFileIsValid() to ensure that directories can't be selected when only browsing for files
6 years ago
hogliux
3724a52ac8
FileBrowserComponents and non-native FileChoosers will now correctly respect the initialFileOrDirectory parameter and actually select the file (if initialFileOrDirectory points to a file)
7 years ago
Noah Dayan
e690350df3
Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes
7 years ago
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!
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
jules
80a7718286
Added some event lambda callbacks for TextEditor and simplified a bit more code using them
7 years ago
jules
ce8b2d865a
Used Button::onClick to simplify a bunch of library classes and demo code
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
jules
a586966c65
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
7 years ago
ed
98f8ee9e04
Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours
7 years ago
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)
7 years ago
jules
2ee168ad46
Deprecated File::separator and File::separatorString, replacing them by static getter functions, so that File methods can be safely used in static constructors without order-of-initialisation problems
7 years ago
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
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
jules
a886a38c00
Avoided an unnecessary refresh when a FileBrowserComponent is first created
9 years ago
jules
6baf778e41
Updated FileBrowserComponent to refresh its list if the user switches to another app and then returns.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
d3f76766db
Added a flag to FileBrowserComponent to allow it to keep the current name when the folder changes, and used this flag in the introjucer's new project wizard.
10 years ago
jules
7086f673ac
Fix for a problem in applying openness to FileBrowserComponent treeviews.
10 years ago
jules
4d79bed3d1
Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer.
11 years ago
jules
bfbb6c2413
Added some more folders to the list of common locations in the file browser.
11 years ago
jules
eb646f8c42
Deprecated some old bool notification mode parameters, and replaced them with NotificationType values in the ComboBox and Button classes.
12 years ago
jules
227e7d70f9
Added method FileBrowserComponent::getDefaultRoots()
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
4d61bfd8a3
Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro.
12 years ago
jules
af18430f08
Changed Label::setText to use a NotificationType parameter rather than a bool.
12 years ago
jules
8015525e5c
Fixes for FileBrowserComponent's handling of directory saving.
12 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
13 years ago
jules
79bf147d89
Couple of minor additions to file browser comps.
13 years ago
Julian Storer
dce7cd9cd1
Added a unit-test, and removed constness from a couple more return types.
13 years ago
Julian Storer
c0fb38c35c
Minor fix for Path. Added a missing file.
13 years ago
Julian Storer
89455b18cb
Added a callback method to FileBrowserListener.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
b83e97a6f7
Refactored some code to cut down on warnings from automatic code-analysis tools.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago