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

54 commits

Author SHA1 Message Date
tpoole
73d4e73a3d UnitTestRunner: Fixed some build warnings on Linux 2017-07-06 17:17:52 +01:00
hogliux
a54ad21045 Android: Added a workaround for compiler error in Android SDK 18 and 19 2017-06-21 09:21:29 +01:00
hogliux
eb38256e2c Removed an assertion which was already checked just a few lines above 2017-06-05 14:35:14 +01:00
hogliux
6f94997adb Don't assert on GL errors if the peer is not valid anymore 2017-06-05 12:57:49 +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
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
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
e1b32ff2f3 A couple of openGL3 fixes for win32 2016-02-02 10:23:04 +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
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
c06db136bd Added a few noexcepts to some GL functions 2015-12-01 17:25:14 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
653a68ddee Added includes of new template classes. 2014-10-28 14:22:54 +00:00
jules
c74d5e8635 Added openGL error message mappings. 2014-03-22 14:58:53 +00:00
jules
6427e11ae3 New class: OpenGLGraphicsContextCustomShader, which allows custom fragment shaders to be applied to a rectangular area during a normal 2D paint routine, to achieve per-pixel effects. 2014-02-24 11:04:38 +00:00
jules
dc24fdffb5 Android GL fixes. 2013-11-10 14:48:33 +00:00
jules
bea96840b9 Added some openGL definitions to compensate for ones that are missing on certain platforms. 2013-11-07 21:47:59 +00:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
e75663b467 Improved some openGL texture creation functionality. 2013-02-28 20:45:40 +00:00
jules
ac1d6955e7 Rewrote all internal OSX obj-C classes as dynamically-created classes. A side-effect of this is that plugins will no longer suffer from obj-C name-collision problems, and the old JUCE_ObjCExtraSuffix value is no longer needed. 2012-05-29 10:30:41 +01:00
jules
3ef8be7a42 Updated use of deprecated linux keyboard function. Removed some unnecessary GL headers. 2012-04-30 10:16:33 +01:00
jules
79381ced5d Removed GLU from the list of default libraries. 2012-04-27 09:00:07 +01:00
jules
9c129d1778 OpenGL header fix for 10.5 2012-04-04 10:10:02 +01:00
jules
875cb97217 OpenGL fixes to support OSX10.5 and older win32 systems. 2012-04-02 17:52:14 +01:00
jules
91a41ddbd8 OpenGL refactoring (stage 1) 2012-03-27 17:22:54 +01:00
jules
ed9a2a1575 Minor android and GL clean-ups. 2012-03-01 17:52:03 +00:00
jules
109f0a32a4 OpenGL: added internal checks to catch GL errors (in debug mode). More Android GL progress. 2012-03-01 12:10:37 +00:00
jules
09eaba73f0 Removed some android debug code. 2012-02-25 18:57:18 +00:00
jules
2bfa580254 Android GL work. 2012-02-25 18:30:42 +00:00
jules
a6c9992957 Updated some module usage warning code. 2012-02-24 18:12:21 +00:00
jules
51b2068576 Introjucer: added company name property to project, and better exe property info generation in MSVC resource files. Added method OpenGLComponent::rebuildContext(). 2012-02-22 11:11:34 +00:00
jules
295d125142 Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code. 2012-02-11 14:09:23 +00:00
jules
493a78f33d More openGL: removed problematic gl_FragCoord use; made shaders work in GLES2. 2012-01-10 14:25:21 +00:00
jules
b65b34ad40 More openGL refactoring, completion of all-shader graphic pipeline. 2012-01-09 17:07:14 +00:00
jules
9b16df83cf GL fixes for iOS/Android. 2012-01-05 21:20:16 +00:00
jules
4870ea28dd Refactored the dynamically-loaded OpenGL extension functions from being static to being members of a specific context object. This entails lots of OpenGLContext references being passed around all over the place, and has meant that a few static helper functions are no longer available. 2012-01-04 16:36:30 +00:00
jules
a376a04c64 Android build updates. 2011-12-14 13:58:10 +00:00
jules
bbac5a8790 New class: OpenGLShaderProgram, and GL clean-ups. 2011-12-14 13:22:16 +00:00
jules
ba53323cbd Android updates to support NDK r7. 2011-12-12 12:23:15 +00:00
jules
115a171d76 Big OpenGLRenderer rewrite, plus a revamped OpenGL demo page to demonstrate 2D rendering. 2011-11-01 20:43:19 +00:00
jules
2f3f3b9639 More OpenGL classes (do not use yet - work in progress!) 2011-10-24 16:07:08 +01:00
jules
0e478bf131 More OpenGL work. 2011-10-20 22:26:55 +01:00
jules
7a91c10a81 Android openGL build fixes. 2011-10-11 12:44:57 +01:00
jules
6b07bfb51b Finally turned off the T wide-char string macro by default. If you've used it in your code, I'd recommend just skimming through and simply removing it. Any ascii strings will work fine without it; any strings containing extended chars are NOT PORTABLE and shouldn't be embedded anyway, but will work just as well if you replace the T with an 'L' prefix (much better to re-encode them as escaped UTF-8 though). If you really must keep using the macro, you can set the JUCE_DEFINE_T_MACRO flag to 1, and it will still be available as before. 2011-09-28 11:40:00 +01:00
jules
5a45b4f4c6 New class: OpenGLFrameBufferImage, which wraps a framebuffer inside a juce Image. 2011-09-26 14:45:04 +01:00
Julian Storer
74df644356 New classes: OpenGLTexture, OpenGLFrameBuffer, OpenGLHelpers. 2011-09-10 20:09:05 +01:00
Julian Storer
6b94c7598d Tarted-up the openGL demo, and made the iOS demo the same as the normal one. Changed the opengl module to include gl.h automatically, so that your app doesn't need to include it. 2011-09-09 18:15:29 +01:00