1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00
Commit graph

530 commits

Author SHA1 Message Date
hogliux
f8ae98894f Added extra nullptr checks in Android windowing code which fixes rare crashes when callbacks occur before the Component peer has been fully constructed 2017-04-05 19:14:49 +01:00
hogliux
87a467c61b Reverted commit #ec0f3fc: Bug fix broke combo-box input 2017-04-04 16:26:57 +01:00
jules
81bc630ba1 Avoided a spurious assertion when launching OSX file dialogs 2017-04-04 11:19:07 +01:00
jules
2284b5f9ca Added an internal option guarded by JUCE_REMOVE_COMPONENT_FROM_DESKTOP_ON_WM_DESTROY to help with obscure situations where an app needs to handle its windows being destroyed 2017-04-03 16:12:35 +01:00
jules
38d49a5ee7 Modernised a few RectangleList iterators 2017-04-03 16:08:07 +01:00
hogliux
b198fa4c2c Fixed a bug on linux where the mouse pointer would jump around while dragging sliders 2017-04-03 11:55:12 +01:00
ed
f21f9c11ff Fixed some typos in juce_win32_Windowing.cpp 2017-03-30 15:02:35 +01:00
ed
d05b9496eb Moved some constants at the top of juce_win32_Windowing.cpp into enums 2017-03-30 11:44:48 +01:00
ed
1116a6a1f1 Added some defines to the top of juce_win32_Windowing.cpp to make the Windows pointer API changes compatible with the XP toolset 2017-03-30 11:16:52 +01:00
hogliux
c69d24fa7a Added support for embedding native X11 widgets (such as gtk_plug or QX11EmbedWidget) on linux 2017-03-28 15:35:15 +01:00
ed
9c62eaf4f8 Removed JUCE_USE_WINDOWS_POINTER_API flag from juce_gui_basics.h and changed juce_win32_Windowing.cpp to dynamically load Windows pointer API methods. 2017-03-28 12:55:54 +01:00
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