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

1298 commits

Author SHA1 Message Date
jules
d36156c620 Removed some extraneous semicolons 2017-04-21 11:15:07 +01:00
tpoole
23ba2e49cf Fixed VS2013 assignment operator compiler warnings 2017-04-20 12:24:49 +01:00
jules
5b39a8f607 Removed the register keyword from a bunch of 3rd party files as it causes deprecation errors in c++17 2017-04-18 11:29:48 +01:00
hogliux
86e28d1e42 Restructured android threading code to re-use threading code in juce_posix_Shared.h 2017-04-12 18:13:16 +01:00
hogliux
3cd9bed7d9 Ensured that gatt connection priority is only requested after the gatt has connected 2017-04-11 17:57:14 +01:00
hogliux
5b833d6648 Added Android workaround to force BLE Midi devices on low-latency device path 2017-04-10 18:10:06 +01:00
jules
4880ce760e Modified MemoryBlock so that it will throw std::bad_alloc if allocation fails 2017-04-07 11:28:53 +01:00
jules
fbee2788ee Made File::appendText return false if the write failed 2017-04-07 11:24:35 +01:00
tpoole
8b0354ff69 Added precompiler sections to make NormalisableRange compatible with OS X 10.5 2017-04-07 08:20:46 +01:00
tpoole
710d27d74f Fixed the copy constructor and assignment operator of NormalisableRange 2017-04-06 22:02:04 +01:00
hogliux
8aea84e20c Added pause after opening MIDI BLE device on Android to improve MIDI BLE reliability 2017-04-05 19:07:47 +01:00
tpoole
8a680bc4f6 Added a lambda function parameterisation of NormalisableRange 2017-04-04 17:03:26 +01:00
Rachel
28c3faea23 Added a missing declaration for String << unsigned long 2017-03-31 10:57:56 +01:00
hogliux
dcdcfaa7e9 Added several improvements to Android BLE MIDI reliability 2017-03-30 17:03:35 +01:00
jules
f11db9e1fb Avoided a spurious assertion in the javascript parser 2017-03-30 15:11:04 +01:00
hogliux
4c7a92ecfa Ensured that SystemStats::getUserLanguage and SystemStats::getUserCountry returns an ISO code on Android 2017-03-30 11:32:06 +01:00
jules
60e9231fb1 Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code. 2017-03-29 15:31:41 +01:00
jules
5a092ddb0a Added method TimeSliceThread::removeAllClients() 2017-03-29 14:25:49 +01:00
jules
e122d2b9e4 Fixed a typo in iOS network code 2017-03-28 19:39:51 +01:00
jules
44cd80969d A few C++11 modernisations and comment corrections 2017-03-28 12:31:51 +01:00
jules
3b2014a5db Code cleanups in OSX networking 2017-03-27 16:32:30 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
jules
e561f1f5aa Whitespace 2017-03-23 12:06:13 +00:00
jules
5c4553a06c Added a parameter to SystemStats::CrashHandlerFunction to supply some platform-specific crash details 2017-03-23 12:02:02 +00:00
tpoole
e4857ceaae Added MacOS SystemStats::getDeviceDescription 2017-03-21 15:23:43 +00:00
jules
4c6d20681d Made WindowsRegistry::deleteKey operate recursively 2017-03-21 11:25:59 +00:00
jules
cd59c26a0e Added some JUCE_API flags to some RelativeTime global operators 2017-03-20 17:31:18 +00:00
jules
86f1b6628f Added a reference count getter method to SharedResourcePointer 2017-03-20 12:08:32 +00:00
jules
b8d1183f78 Fixed a typo in a comment 2017-03-17 11:44:32 +00:00
hogliux
08483a0138 Fixed a VS 2017 compiler warning 2017-03-14 15:09:39 +00:00
jules
f6873c2273 (Fixed a typo in linux code in the last commit) 2017-03-13 12:10:47 +00:00
jules
2d192bed9b Added method SystemStats::getNumPhysicalCpus() 2017-03-13 10:38:53 +00:00
jules
9c75f13a4f Added a method JavascriptEngine::callFunctionObject() for invoking javascript methods in DynamicObject native methods 2017-03-07 15:51:01 +00:00
jules
d3bb833f0e Made File::getRelativePathFrom() return '.' if comparing two identical folders. 2017-03-06 15:02:24 +00:00
hogliux
51d5572220 Added showYesNoBox to NativeMessageBox class 2017-03-06 12:39:09 +00:00
hogliux
5fe3289256 Fixed several Android text rendering bugs 2017-03-01 16:16:34 +00:00
hogliux
0edd0e4632 Fixed a few Android warnings when building for ARM 64-bit 2017-02-28 14:03:45 +00:00
tpoole
cc524bf626 Minor documentation fix 2017-02-28 10:38:27 +00:00
jules
6a629f985f Added method SystemStats::getCpuModel() and implemented a couple of missing Android CPU info functions 2017-02-27 11:16:41 +00:00
hogliux
bc79f43175 Added getSystemService method to JNI helper android activity methods 2017-02-24 17:05:16 +00:00
jules
c04c9ee56e Added a sanity check on the value returned by DirectoryIterator::getEstimatedProgress() 2017-02-23 16:50:52 +00:00
jules
8011ce4209 Added a couple of missing JUCE_API declarations 2017-02-23 15:22:52 +00:00
jules
e6ea21d1ae Whitespace fix 2017-02-23 09:56:58 +00:00
jules
297675c5cb Workaround for a compile error in MSVC DLL builds 2017-02-23 09:39:28 +00:00
jules
aa2598ffff Added method JavascriptEngine::stop() 2017-02-23 09:38:45 +00:00
jules
91d4ba9891 Added method NormalisableRange::setSkewForCentre() 2017-02-23 09:15:46 +00:00
tpoole
1e2f6fec5c Restored module header #defines 2017-02-17 10:26:09 +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
c1f7b6dc16 Fixed a possible nullptr dereference in the Android runtime permission code 2017-02-09 17:57:04 +00:00
hogliux
ebbba641a4 Fixed a bug where the bluetooth LE scanner would continue to scan even if the bluetooth selector window was closed 2017-02-09 17:57:04 +00:00