Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
Anthony Nicholls
ba50a35364
Widgets: stop calling repaint in lookAndFeelChanged()
...
- A repaint will always occur from a lookAndFeelChanged
2023-03-22 14:59:15 +00:00
Anthony Nicholls
cff722a4af
GUI Basics: Refactor juce_gui_basics file structure
...
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2023-03-16 08:53:12 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2022-12-01 11:41:50 +00:00
chroma
d3cff375be
Thread: Introduce a new Thread backend
...
This is a breaking change - see BREAKING-CHANGES.txt
2022-10-18 11:49:47 +01:00
reuk
21c214aec8
DirectoryContentsList: Start thread before attempting to scan files
...
This fixes an issue where opening a FileTreeComponent could cause the UI
to hang. The call to subcontentsList->isStillLoading() in
FileListTreeItem::selectFile() would always return true because the
file-scanner TimeSliceThread wasn't started until the selectFile() call
finished.
2022-09-01 15:44:27 +01:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
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.
2021-06-08 14:57:42 +01:00
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
2021-05-10 10:53:14 +01:00
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +01:00
reuk
c3f6318c7c
FileBrowserComponent: Update all filenameBox text when LnF changes
2020-07-03 17:52:21 +01:00
reuk
b096c16c04
FileBrowserComponent: Fix issue where up button was hidden after changing the look and feel
2020-07-01 10:00:43 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
39b5c22a29
GUI: Ensure components refresh correctly when their look and feel changes
2020-06-12 17:27:25 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
3c312b9d76
Reworked the logic in FileBrowserComponent::currentFileIsValid() to ensure that directories can't be selected when only browsing for files
2019-04-29 11:24:22 +01:00
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)
2018-02-09 12:25:35 +00:00
Noah Dayan
e690350df3
Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes
2018-01-18 15:23:57 +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
4fcedf7be5
Standardised some lambda syntax
2018-01-08 10:28:41 +00:00
jules
80a7718286
Added some event lambda callbacks for TextEditor and simplified a bit more code using them
2018-01-03 16:34:11 +00:00
jules
ce8b2d865a
Used Button::onClick to simplify a bunch of library classes and demo code
2018-01-03 11:06:04 +00:00
jules
f85d706131
Some minor formatting and comment fixes
2017-11-28 17:46:15 +00:00
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!
2017-11-28 16:18:40 +00:00
ed
98f8ee9e04
Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours
2017-11-21 15:06:10 +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
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
2017-10-10 11:33:55 +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
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
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.
2016-09-16 12:03:02 +01:00
jules
a886a38c00
Avoided an unnecessary refresh when a FileBrowserComponent is first created
2016-02-29 09:08:28 +00:00
jules
6baf778e41
Updated FileBrowserComponent to refresh its list if the user switches to another app and then returns.
2015-09-18 10:49:33 +01:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
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.
2015-06-23 12:44:51 +01:00
jules
7086f673ac
Fix for a problem in applying openness to FileBrowserComponent treeviews.
2015-03-24 15:53:04 +00:00
jules
4d79bed3d1
Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer.
2013-12-23 15:16:38 +00:00
jules
bfbb6c2413
Added some more folders to the list of common locations in the file browser.
2013-11-05 22:24:29 +00:00
jules
eb646f8c42
Deprecated some old bool notification mode parameters, and replaced them with NotificationType values in the ComboBox and Button classes.
2013-07-08 13:05:51 +01:00
jules
227e7d70f9
Added method FileBrowserComponent::getDefaultRoots()
2013-06-26 12:40:16 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
4d61bfd8a3
Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro.
2013-05-05 17:13:53 +01:00
jules
af18430f08
Changed Label::setText to use a NotificationType parameter rather than a bool.
2013-04-01 14:33:27 +01:00
jules
8015525e5c
Fixes for FileBrowserComponent's handling of directory saving.
2012-12-23 14:25:04 +00:00
jules
56bbab1537
(automated whitespace clean-up)
2012-03-20 16:00:06 +00:00
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.
2012-02-11 14:09:23 +00:00