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

83 commits

Author SHA1 Message Date
ed
551d7b9c5b Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
  - Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
  - Update the DialogsDemo to demonstrate the new methods
  - Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
  - Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
  - Use modern TaskDialog on Windows for the native dialog box where available
2021-07-21 16:34:12 +01:00
ed
cdf3b619d8 Accessibility: Check if any accessibility clients are active before posting notifications and announcements 2021-06-16 17:22:00 +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
e4f9e7f79b macOS Accessibility: Use @available keyword where possible to check if accessibility support is available at runtime 2021-06-07 19:38:29 +01:00
reuk
bad031aa03 iOS: Enable support for layered/async drawing 2021-05-24 15:55:29 +01:00
ed
8b74ec2fb7 MinGW: Exclude native accessibility code 2021-05-12 08:02:20 +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
ed
f6338c0f8e Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds 2021-03-02 15:56:10 +00:00
ed
088e100c1f Narrowed the scoped of some undeclared Objective-C selector warnings 2020-12-10 12:48:42 +00:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
74ca3b44c4 Linux: Removed X11-specific code from LinuxComponentPeer 2020-04-16 12:18:49 +01:00
ed
fe61354c21 Linux: Added X11Symbols and WebKitSymbols singletons to dynamically load X11 and WebKit library functions at runtime 2020-04-16 12:18:48 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
18df1b0937 Added JUCE_CONTENT_SHARING define to conditionally compile the native content sharer code 2020-03-31 18:53:14 +01:00
Tom Poole
28e03f0815 Replaced all instances of JUCE_CONSTEXPR with constexpr 2020-03-11 17:21:30 +00:00
ed
5bda9de977 Windows: Fixed some build errors and warnings when using Clang in Visual Studio 2020-02-06 14:07:42 +00:00
Tom Poole
8b5bc69582 Fixed some more Linux compiler warnings 2019-06-05 10:43:46 +01:00
ed
97e545cd44 Moved the Grid unit tests into juce_Grid.cpp and re-saved all projects 2019-04-02 11:52:44 +01:00
Tom Poole
23f9cff73e Moved <map> into the set of standard headers 2018-11-28 08:19:41 +00:00
jules
5979288706 Added some macros for asserting when functions are called in an unsafe manner outside the message thread. 2018-10-16 17:39:54 +01:00
ed
b78e63aa02 Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining() 2018-08-10 16:37:52 +01:00
Tom Poole
c7c26fa9f0 Removed the OS X 10.5 and 10.6 deployment target options from the Projucer and enabled more C++11 features across all platforms 2018-04-17 18:46:55 +01:00
ed
404838a99f Added a MultiChoicePropertyComponent class to juce_gui_basics and updated the PropertiesDemo example to use it 2018-03-22 15:04:53 +00:00
Lukasz Kozakiewicz
36da4cde05 Add native content sharing support for iOS and Android 2017-12-11 16:08:01 +00:00
hogliux
7e23bf28ae Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers 2017-11-20 10:56:08 +00:00
hogliux
e2a0759ab3 Added a BurgerMenu component which will display your menus and menu items in a "burger" menu 2017-11-10 18:18:48 +00:00
ed
1b962aa2f2 GUI: Added a SidePanel component class which is useful for auxiliary UI components on mobile 2017-11-09 17:06:28 +00:00
Lukasz Kozakiewicz
b2d2bda7a1 Add Push Notifications feature for iOS and Android. 2017-10-23 09:31:06 +02: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
tpoole
b58a0f4be7 Fixed some VS2013 compiler errors 2017-09-07 16:44:46 +01:00
jules
ac9ccc0dfd Avoided unnecessarily including the grid unit test code 2017-08-17 11:11:20 +01:00
jules
2bbd2b9785 Added CSS Grid classes 2017-08-01 16:22:19 +01:00
jules
74c96208fe Removed Quicktime from the OSX build, and replaced the video player and camera implementations with AVFoundation 2017-06-30 16:08:51 +01:00
tpoole
984654318d Removed the JUCE_COMPILER_SUPPORTS_LAMBDAS macro 2017-06-22 09:33:30 +01:00
jules
baddc6389e Workarounds for some new "recommended" Xcode warning flags 2017-05-02 17:12:20 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
7ed37f8600 Added the standard JUCE splash screen and app usage reporting 2017-04-27 14:43:03 +01:00
hogliux
ef2c63e4e3 Added a new LookAndFeel (V4) and re-skinned the JUCE Demo and examples. Improved the JUCE Demo on mobile devices. 2017-04-27 14:40:50 +01:00
Felipe F. Tonello
c2100022cc Added several linux improvements to the event loop, MIDI and X11 (see commit messsage)
MIDI: Several ALSA Seq improvements
===================================

Many things were done in this patch (I couldn't really split in several
patches):
 * Only one ALSA Sequencer client per application
 * ALSA Sequencer client name is the application's name by default
 * Fixed a bug when getDeivces() would return devices created by the
   application itself
 * Only ports created with createNewDevice() are allowed to be subscribed,
   other ports (created by openDevice()) doesn't allow subscription
 * AlsaPort is now handled by AlsaClient, basically having the proper
 representation such as the ALSA Sequencer has.

Files: Fix default directory paths
==================================

Some information on:
* Linux LSB FHS:
  http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30
* https://wiki.archlinux.org/index.php/Xdg_user_directories

Refactor Event loop to remove X11 dependency
============================================

The goal of this refactor was to remove X11 dependencies on juce_events
to enable non-gui applications (example, Embedded Linux apps) to have no
libx11 dependency.

The side-effect of this refactor is easy implementation of other Linux
graphical back-end, cleanup some code, better handling of X displays and
other benefits.

I removed a lot of the code from juce_linux_Windowing to separate files
for clarity. I also renamed all Linux X11 files to *linux_X11* instead of
just *linux*.

X11: Remove unnecessary XGrabButton call
========================================

This call is made unnecessary if used proper window flags when a window
is created.
2017-02-13 17:14:34 +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
hogliux
d73f776370 Fixed a bug where FlexBox would still be compiled on older versions of VS 2016-09-06 16:49:31 +01:00
jules
8994f37dd0 Added some FlexBox layout classes, and a demo page for this in the big juce demo app 2016-08-10 16:57:44 +01:00
Timur Doumler
4c3ef3936d Fixed a compile error when building for 32-bit OS X with JUCE_SUPPORT_CARBON enabled. 2016-03-18 12:42:18 +00:00
jules
08b853ee35 Removed some cross-module header inclusions, replacing them with macros to optionally make native helper classes public 2016-02-04 16:07:21 +00:00
jules
923e8fabdb Removed some unnecessary includes of AppConfig.h 2015-12-24 11:55:46 +00:00
jules
c95253fad0 Cleaned out some old amalgamated build references. 2015-12-24 11:31:37 +00:00
jules
2a1234b6ac Simplified some inter-module dependencies and exception-catching fallbacks 2015-12-23 11:47:18 +00:00