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

106 commits

Author SHA1 Message Date
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +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
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
1baaddb115 Added code to properly escape non-ascii characters in URLs passed to the WebBrowserComponent on macOS/iOS 2017-01-12 15:27:35 +00:00
tpoole
101a59ad2a Fixed bug updating MacOS system tray icon 2017-01-10 10:23:47 +00:00
jules
92f3a1e88f Miscellaneous fixes for some PVS static analyser warnings 2017-01-03 17:22:01 +00:00
tpoole
8e7ed3ae7d Fixed MacOS 10.12 deprecations 2016-12-02 11:37:52 +00:00
hogliux
679ef3f1dc Fixed a bug where VST plug-in editors using OpenGL would not work correctly in the JUCE plug-in host 2016-09-20 18:05:36 +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
6d56e488dc Add support for retina mouse cursors on OS X 2016-09-12 17:29:20 +01:00
hogliux
c7b347242d Partially undo commits #99186e5 and #89d938d and use less-intrusive, JUCE-internal fix for OpenGLContext detach crash
Fixes #88
2016-08-11 10:50:36 +01:00
hogliux
89d938dd3a Make sure to not remove a native component twice
Fixes #88
2016-08-08 18:44:01 +01:00
hogliux
bf582f6c5b Fix errors and warnings on mingw-w64 2016-08-01 18:29:12 +01:00
jules
31f935cc60 Added a new Graphics::drawImage method that takes a Rectangle<float> 2016-07-01 15:35:04 +01:00
Timur Doumler
6ef3f1e738 Added asserts to clarify that WebBrowserComponent is not implemented on Linux and Android. 2016-04-21 10:58:00 +01:00
jules
2343dc153d Added hidden internal helper function to access plugin carbon window wrappers 2016-02-17 17:05:17 +00:00
hogliux
05a3ebc4eb Scale webpages to fit display by default on iOS 2016-02-15 09:19:17 +00:00
jules
4583fa3fbf Used the ignoreUnused() function to tidy up some old code 2015-12-23 16:27:50 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
a3426aae10 Added support for iOS force-touch 2015-11-02 11:51:16 +00:00
Timur Doumler
3313657b3f Fixed bug with displaying plug-in windows in 32-bit hosts on OSX 10.11 El Capitan. 2015-10-19 17:56:29 +01:00
jules
5fcf662375 Fixes for Introjucer in Xcode 7 2015-09-17 16:31:26 +01:00
jules
527da19076 Added method Component::alphaChanged(), and fixed NSViewComponent to handle alpha values. 2015-09-08 20:38:47 +01:00
jules
969f1a25fc Added an OSX-only method SystemTrayIconComponent::showDropdownMenu() and tweaked the highlighting of OSX tray icons. 2015-07-28 15:44:38 +01:00
Timur Doumler
dca4d77f9d Fixed compiler warnings on Visual Studio 2015 RTM. 2015-07-23 15:57:18 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
0c99e8e068 Minor cleanups 2015-05-25 10:05:33 +01:00
hogliux
8c242b7547 Fix warnings on linux
Linux now compiles (clang++-3.5) without warnings when the following is enabled (these flags are identical to equator mac warnings):
-Wreorder -Wconstant-conversion -Wint-conversion -Woverloaded-virtual -Wuninitialized -Wunused-parameter -Wshorten-64-to-32 -Wstrict-aliasing -Wshadow -Wconversion -Wsign-compare -Werror -Wsign-conversion
2015-05-05 10:57:50 +01:00
jules
c1355fa11a Minor SystemTrayIconComponent tweak to keep OSX10.3 builds happy. 2015-04-13 16:07:44 +01:00
jules
33e9e38345 Minor tidying-up. 2014-12-18 14:36:41 +00:00
jules
d710fe0309 Workaround for mingw. 2014-12-18 12:51:28 +00:00
jules
d89300b7c9 Added support for the pageFinishedLoading on iOS web browser. 2014-12-03 12:58:45 +00:00
jules
50a55b2e9c Avoided a few compiler warnings. 2014-12-03 11:45:15 +00:00
jules
7f901e452f Focus fix for win32 web browser component. Ability to use javascript in goToURL on OSX. 2014-11-20 11:10:16 +02:00
jules
2792bd2761 Added new callback method WebBrowserComponent:: newWindowAttemptingToLoad() 2014-11-04 17:55:58 +00:00
jules
bbd2262945 Avoided NSViewComponent calling removeFromSuperview when re-parenting a child NSView. 2014-10-08 20:02:51 +01:00
jules
a99bbc9ba5 win32 web browser component - better updating when components are made visible. 2014-09-21 13:05:43 +01:00
jules
4a96fc6ed2 Made the OSX web browser component compile if JUCE_MODAL_LOOPS_PERMITTED is disabled 2014-08-10 20:19:45 +01:00
jules
0b20c60e95 Fixed some object releasing for OSX system tray icons. 2014-06-30 09:30:42 +01:00
jules
6c61dbb68e Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>. 2014-06-14 13:06:53 +01:00
jules
75770f293c New class: SharedResourcePointer 2014-04-14 13:13:07 +01:00
jules
b3e7f2b772 Added support for uploading files in the OSX embedded web browser. 2014-04-02 19:40:38 +01:00
jules
5ede2da44b Improved some MemoryBlock comments and gave the class a reset() method. 2014-03-14 10:15:35 +00:00
jules
f3cca83dc8 Refactored some NSView wrapper classes. Should fix some plugin host window resizing issues. 2014-02-13 21:53:11 +00:00
jules
e11ca3533e Added notifications in NSViewComponent so that its childBoundsChanged method will be called if the embedded NSView changes bounds. 2014-01-24 20:35:16 +00:00
jules
d8178b4e15 Mingw workaround. 2014-01-03 14:55:14 +00:00
jules
d226fea10e Added a callback WebBrowserComponent::windowCloseRequest() 2013-12-03 11:02:22 +00:00
jules
2623f4d1e1 Added method String::clear(), and used it to replace a few uses of String::empty. 2013-12-01 11:32:39 +00:00
jules
c62da6c983 Cleaned up some pedantic warnings in the iOS build. 2013-10-01 12:55:44 +01:00