1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00
Commit graph

137 commits

Author SHA1 Message Date
jules
4e5f005421 Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase 2017-07-19 12:08:47 +01:00
tpoole
73d4e73a3d UnitTestRunner: Fixed some build warnings on Linux 2017-07-06 17:17:52 +01:00
hogliux
4b114d89a7 OpenGL: Fixed a crash in Cubase/WaveLab when OpenGL is used in a plug-ins editor 2017-06-01 10:34:20 +01:00
jules
2c3c9e5d18 A bit more minor cleaning up 2017-05-23 10:03:59 +01:00
jules
de855f0b35 Cleanups to some X windowing classes 2017-05-22 15:52:26 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +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
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
jules
990b7b3b09 Fix for openGL components when global scale factors are applied 2016-11-22 12:45:36 +00: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
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
3d341b8ca1 Added some linux GL definitions 2016-02-02 14:21:37 +00:00
jules
9e595439f6 Refactored some openGL function declarations to fix a couple of build problems 2016-02-01 12:54:47 +00:00
jules
59befc7bb4 Removed some dead code 2016-02-01 11:22:30 +00:00
jules
4e6ea1dbdf Added some missing win32 GL function support needed for GL3 2016-01-29 15:12:05 +00:00
jules
88b1fe0d97 Better handling of OSX openGL buffer-swapping in occluded windows 2015-12-29 12:31:05 +00:00
jules
4583fa3fbf Used the ignoreUnused() function to tidy up some old code 2015-12-23 16:27:50 +00:00
jules
89ba69ab29 Android Bluetooth MIDI, pro-audio i/o and improved openGL support 2015-11-03 10:37:52 +00:00
hogliux
71532b0e75 Add missing OpenGL definition GL_MULTISAMPLE 2015-07-31 08:24:05 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
hogliux
effdc661ca Fix correct repainting of OpenGLContexts if a non-compositing window manager is used on linux 2015-07-08 17:09:59 +01:00
hogliux
2f94c8019d Implement proper android scaling support 2015-06-15 18:08:12 +01:00
jules
0c99e8e068 Minor cleanups 2015-05-25 10:05:33 +01:00
hogliux
c76876d388 Adds proper per-monitor scaling support on linux 2015-05-13 10:35:19 +01:00
Timur Doumler
be9a2ff1bb Implemented support for Android OpenGL native ARGB pixel format. 2015-05-05 17:44:10 +01:00
jules
1952ed195e Whitespace 2015-05-05 12:19:52 +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
28123033cd Fixed an iOS GL compile error. 2015-04-20 17:29:11 +01:00
jules
b8133ad331 Fix for GL multisampling on some iOS versions. 2015-04-20 12:04:53 +01:00
jules
6bbe61f024 Compiler warning fix in iOS build. 2015-03-16 15:28:06 +00:00
jules
17863a45b6 Workaround for problems on Android when the OS reuses a posix thread for the openGL thread. 2015-02-24 17:59:53 +00:00
jules
553d46320d Added an openGL constant. 2015-02-17 17:11:44 +00:00
jules
04019091a7 Fix for deletion of opengl views on newer versions of android 2015-01-19 12:21:51 -08:00
jules
f146765b14 Tweaked the OSX openGL context to hopefully fix problems enabling multisampling mode. 2014-12-23 12:42:39 +00:00
jules
61bf9392d0 Cleaned up a few OSX 10.10 deprecated functions. 2014-10-28 10:29:01 +00:00
jules
56d2ae6a75 More iOS opengl version tweaking 2014-09-18 10:16:24 +01:00
jules
9dd760c86b Another update for iOS8 openGL multisampling 2014-09-18 09:14:41 +01:00
jules
49dd0011b0 Updates for iOS GL calls in iOS8 2014-09-16 17:49:30 +01:00
jules
3b13032b8c Updated some iOS GL calls to use newer API types and functions 2014-09-16 15:09:07 +01:00
jules
44b5f716cb Fixes for openGL on iOS to use multisampling. 2014-09-16 11:57:50 +01:00
jules
da8e3c53b6 Fix for win32 openGL repaints when continuous rendering is turned off. 2014-08-14 11:44:46 +01:00
jules
fcf010e74f Removed glDrawBuffers call (wasn't available in GLES) 2014-08-12 08:28:34 +01:00
jules
6a952d2e0b Added glDrawBuffers to the GL extension function list. 2014-08-11 18:50:44 +01:00
jules
619d475021 Fixes for building on iOS 6 SDK 2014-05-03 16:00:11 +01:00
jules
e5c556d307 Added support for GLSL v3 in iOS 2014-03-22 15:16:19 +00:00
jules
0de3ec9a51 OSX warning fix. 2014-03-13 16:41:21 +00:00
jules
12fb13bdea Tweaks for OpenGL 3 support. 2014-03-13 10:19:00 +00:00
jules
272bcbcaab Added a method OpenGLContext::setOpenGLVersionRequired, which can be used to request a v3.2 context. 2014-03-11 10:24:31 +00:00
jules
80387e8cb5 Stripped out all the old openGL fixed-function code, and hard-coded the assumption that it'll be running on hardware that's capable of running GLSL. 2014-02-23 16:23:34 +00:00