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

23 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
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
tpoole
2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 2016-12-14 10:07:26 +00:00
hogliux
1e41898bbc Fix a memory leak in linux ALSA code for MidiInput/MidiOutput 2016-08-01 14:47:39 +01:00
hogliux
76007233ae Correctly account for midi ports in Alsa when listing/opening devices and other ALSA midi cleanups 2016-07-11 15:27:35 +01:00
jules
676b27ef68 Added a MidiDataConcatenator to the linux MIDI implementation, to help handle large and broken-up sysex messages 2016-04-26 11:27:57 +01:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
020b34f67f Fixed a couple of stray semicolons 2015-11-02 09:59:04 +00:00
hogliux
c89f476127 Add getName to MidiOutput devices 2015-09-16 16:28:31 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +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
5eb98197b8 Tweaked linux midi to use direct rather than buffered output. 2014-12-15 13:08:56 +00:00
jules
9fc2a0ca27 On OSX/linux, made sure the MidiOutput closes its thread on destruction. 2014-04-09 12:35:56 +01:00
jules
c75a7300f5 Added some 'override' modifiers to overridden methods. 2013-06-23 23:09:52 +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
cb9531af58 Linux midi fix. 2013-04-29 20:38:46 +01:00
jules
1dfb891ce1 Improvements (hopefully!) to linux ALSA and Midi classes. 2013-04-27 14:34:45 +01:00
jules
4c6358ae87 Minor clean-ups. 2013-03-07 21:49:12 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
6d44c8372f Made some ALSA midi names customisable. 2012-06-10 13:19:59 +01:00
jules
0930af3820 Linux midi improvement. 2012-05-08 17:22:28 +01:00
Julian Storer
aa6c2203d5 Minor additions to linux midi, AudioProcessorGraph, URL. 2011-09-12 16:47:00 +01:00
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Renamed from src/native/linux/juce_linux_Midi.cpp (Browse further)