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

519 commits

Author SHA1 Message Date
jules
fc844d949c Refactored the way OSX main menu updating happens, to avoid some issues when refreshing the whole menu bar 2017-03-27 15:38:02 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
tpoole
405a6aeaed Fixed a MinGW tablet mode detection compiler error 2017-03-27 12:56:17 +01:00
ed
f855806602 Added 'JUCE_USE_WINDOWS_POINTER_API' flag to juce_gui_basics.h to enable/disable the advanced Windows pointer API (only available on Windows 8 and above). 2017-03-17 11:49:04 +00:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
hogliux
51d5572220 Added showYesNoBox to NativeMessageBox class 2017-03-06 12:39:09 +00:00
hogliux
fa6929cb3c Added a workaround to not call Android's bringToFront method for every touch 2017-03-05 09:47:39 +00:00
hogliux
2bec815bb3 Added an option to execute JUCEApplication's suspend() method on an iOS background task to give you extra time to save your app's state 2017-02-27 12:24:13 +00:00
tpoole
059ce35559 Fixed a bug in an Objective-C drag and drop helper class 2017-02-23 18:10:28 +00:00
tpoole
78bbe49616 Added some missing license banners 2017-02-17 15:56:18 +00:00
tpoole
e33abbc6fe Replaced Projucer-generated header guards with #pragma once and updated the examples 2017-02-17 15:34:10 +00: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
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
tpoole
0ab5244623 Fixed multiple file drag and drop on OS X 2017-02-06 17:02:16 +00:00
tpoole
4eadfad7dc Fixed a leak of OnScreenKeyboard 2017-02-06 15:45:26 +00:00
hogliux
67600e98fd Added missing overrides to android windowing code 2017-02-02 10:20:55 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
ec0485388d Reworked and modernised Android exporter and removed old deprecated Android ant exporter 2017-02-01 17:18:06 +00:00
hogliux
b0a10d01bf Added code to only show the onscreen keyboard if Windows is in tablet mode 2017-02-01 10:53:52 +00:00
hogliux
859567ff0c Fixed a compiler warning on iOS 2017-01-24 17:14:04 +00:00
hogliux
a84c166c6f Fixed an issue where an iOS background download task would not receive the completion callback when the app is swapped 2017-01-18 12:11:14 +00:00
ed
46e21fef13 Updated win32 Process::isForegroundProcess() method to use process ID 2017-01-16 14:02:53 +00:00
jules
0ebd5bcd3e Modified the repaint throttling to detect whether the app is a plugin using JUCEApplication::isStandaloneApp() rather than macros 2017-01-10 17:54:41 +00:00
hogliux
2ad22dc6cf Added workaround to check the state of the on-screen keyboard on Windows before toggling it's display 2017-01-09 10:18:51 +00:00
ed
f3be41caba Fixed a bug in the Windows FileChooser where two backslashes would be added to the file paths of selected files 2017-01-03 16:44:34 +00:00
hogliux
2c8b98b6e1 Added windows native code to show and hide the on-screen keyboard when juce text boxes are in focus 2016-12-31 16:35:19 +01:00
jules
eb07aaf1ed Added some TRANS macros to some internal OSX menu item strings 2016-12-30 11:38:03 +00:00
jules
dd13702684 Added support for drag and drop of text on OSX, via DragAndDropContainer::shouldDropTextWhenDraggedExternally 2016-12-20 09:12:22 +00:00
hogliux
a6d3d19832 Fixed a few minor bugs in X11 windowing code 2016-12-19 12:20:05 +00:00
tpoole
8e7ed3ae7d Fixed MacOS 10.12 deprecations 2016-12-02 11:37:52 +00:00
hogliux
b5fb095696 Fixed a few VS2008 build errors 2016-11-30 11:43:47 +00:00
ed
7bd5c05216 Fixed touch event bug on Windows where touches weren't being received when a modal dialog was open. 2016-11-29 10:19:39 +00:00
ed
60b5f72384 Fixed a bug in Windows where clicking outside an application after opening a PopupMenu would sometimes result in mouseDrag events when re-entering the application with the mouse not held down 2016-11-23 16:35:44 +00:00
hogliux
388251b1e2 Made message queue throttling more precise by using Time::getMillisecondCounter 2016-11-21 09:26:52 +00:00
hogliux
9a7ee9fdbb Added support for iOS custom delegates - use at your own risk 2016-11-17 13:50:49 +00:00
hogliux
37f348123b Potentially fixed an issue with the message thread being flooded by repaint events 2016-11-16 14:18:04 +00:00
tpoole
cff1793d89 Exposed some functions when building JUCE as a DLL 2016-11-16 11:14:58 +00:00
hogliux
6c52bf5971 Changed the way windows modifiers are probed in an attempt to fix right alt-key issues. Part II. 2016-10-20 10:14:38 +01:00
hogliux
c6a75d0550 Changed the way windows modifiers are probed in an attempt to fix right alt-key issues 2016-10-18 09:25:08 +01:00
hogliux
40994fcdab Added checks to make sure that the current interface orientation is actually allowed when changing allowed interface orientations 2016-10-03 14:39:54 +01:00
stefan
c98f71d4c3 Fix Process::setDockIconVisible() may not turn the process into a background-process 2016-09-23 14:11:49 +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
hogliux
d03755c9e0 Fixed a potential memory leak 2016-09-16 11:23:26 +01:00
hogliux
6d56e488dc Add support for retina mouse cursors on OS X 2016-09-12 17:29:20 +01:00
ed
56423ae9fd Changed Windows windowing so that the resizeStart() and resizeEnd() methods of the constrainer associated with the application window are called when it is maximised. 2016-09-05 14:24:17 +01:00
hogliux
c94be5db8b Fixed an issue where repaints could be dropped when the host is also sending many repaints to the plug-in 2016-08-31 16:57:59 +01:00
jules
55194a09d2 On Windows, suppressed the behaviour that pressing the ALT key triggers the old top-left window menu. If you still need this archaic behaviour in your app, there's a JUCE_WINDOWS_ALT_KEY_TRIGGERS_MENU flag which you can use to keep it 2016-08-17 17:25:20 +01:00
jules
a46191ad97 Native OSX menu bar: avoided some duplicated menu bar flashes when invoking commands, and some incorrect tagging of items in the menu 2016-08-17 16:19:48 +01:00
jules
82224d7442 Avoided a couple of warnings in iOS builds with older SDKs 2016-08-11 16:06:36 +01:00
ed
cbdf707116 Windows touch with CallOutBox bug fix 2016-08-11 11:02:04 +01:00