jules
6cb79e1414
Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors
2017-10-17 16:17:21 +01:00
jules
c9d98a4976
Removed explicitness from StringArray single-element constructor
2017-10-17 15:40:57 +01:00
jules
acf28c6fa7
Removed the explicitness of the Array single-item constructors
2017-10-17 15:21:26 +01:00
jules
a03fd6b0a3
Fixed a mistake in InputStream::readNextLine()
2017-10-17 09:50:30 +01:00
hogliux
daf31260e3
macOS: Fixed a compiler error in NormalisableRange when compiling for macOS <10.8
2017-10-17 09:50:18 +01:00
jules
7c4a40470d
Added some better use of the Range class in NormalisableRange and Slider
2017-10-16 16:21:41 +01:00
jules
7ece1b4135
Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms
2017-10-16 12:08:06 +01:00
jules
8a7f992725
Small fix in ReferenceCountedArray
2017-10-16 10:11:53 +01:00
jules
b0cd45329f
Fixed a cast warning, added some missing move operators to ReferenceCountedArray and URL, and tidied up some internal array code
2017-10-13 14:49:49 +01:00
jules
a7c56fd89b
Simplified and tidied up a few things in input/output streams and MemoryBlock
2017-10-13 12:55:46 +01:00
Lukasz Kozakiewicz
f9d6955c7c
Android: do not request input focus when creating component peer.
...
This made the virtual keyboard not show up if the same component peer tried to request a virtual keyboard later on. InputMethodManager.showSoftInput() would return false which is most likely because the component in focus has not changed, yet the previous component having focus was not really able to (at a time, during the construction) really take the focus.
2017-10-13 11:26:18 +01:00
jules
e180dbb3f2
Clarified some docs about the order of files when searching directories
2017-10-13 09:30:29 +01:00
Lukasz Kozakiewicz
a1a1297f7d
Android: add bits missing from “bailout in ComponentPeerView’s callbacks if underlying host is deleted.”
...
This was meant to be there since the beginning. The commit missing the changes is: 9527e077b1
2017-10-12 17:33:39 +01:00
tpoole
3cb185fcc3
A minor code cleanup
2017-10-12 12:31:55 +01:00
Lukasz Kozakiewicz
0caf83439a
Android: move android.content.Intent class definition into JNIHelpers.
2017-10-12 11:53:08 +01:00
jules
53392faeb8
Added a workaround in ZipFile for reading files which contain the wrong offset for their central directory
2017-10-12 11:17:55 +01:00
jules
c9a36c9f1d
Updated the implementation of File::moveToTrash() on OSX so that it uses the newer API calls on 10.8 and above, and added a bodge for older versions that makes it blocks until the operation has completed
2017-10-12 09:14:37 +01:00
tpoole
ee34e0455d
Restored compatibility with older versions of OS X by removing some std namespace maths functions
2017-10-12 00:10:03 +01:00
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
2017-10-11 12:26:05 +01:00
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
2017-10-11 12:23:50 +01:00
hogliux
1135f6fff6
Fixed a compiler warning involving deprecated static variables when compiling with GCC
2017-10-11 12:16:33 +01:00
jules
369d59f656
Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters
2017-10-11 12:10:58 +01:00
jules
9ac84e07b4
Fixed some false positives generated by the StringPairArray comparison operator, and made it faster for common cases.
2017-10-10 15:33:55 +01:00
jules
2ee168ad46
Deprecated File::separator and File::separatorString, replacing them by static getter functions, so that File methods can be safely used in static constructors without order-of-initialisation problems
2017-10-10 11:33:55 +01:00
hogliux
671f3eaf94
Implement Process::hide for mobile platforms
2017-10-10 09:22:03 +01:00
jules
31c99d3680
Cleaned up some missing std:: namespaces for maths functions, and updated some old documentation for AudioProcessor
2017-10-10 09:01:35 +01:00
jules
ff99aec1ab
Converted some old uses of non-C++ maths functions to their std equivalents
2017-10-09 17:45:44 +01:00
ed
15e40d48ba
Whitespace
2017-10-09 17:27:58 +01:00
ed
3b61f577bf
Removed unused JUCE_COMPILER_SUPPORTS_THREAD_LOCAL flag
2017-10-09 17:24:45 +01:00
jules
a2020f0177
Removed a defunct unit test
2017-10-09 15:44:40 +01:00
jules
2fcb8fa71b
Added some prototype function definitions to avoid compiler warnings for people who enable the "missing prototype" flag
2017-10-09 15:39:22 +01:00
jules
be3e9161be
Fixed a typo in the previous commit
2017-10-09 12:53:25 +01:00
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
2017-10-09 12:38:06 +01:00
tpoole
7d2f59909e
Minor documentation fixes
2017-10-06 12:33:55 +01:00
tpoole
e85d3aaf1f
Renamed XCode to Xcode in multiple places
2017-10-06 09:54:32 +01:00
ed
93ed8ed0fc
Fixed a typo in the StringRef documentation
2017-10-05 08:45:02 +01:00
jules
3d7c777238
Some light modernisation of a bunch of old code
2017-10-04 12:47:43 +01:00
hogliux
f59a5dfc7f
Fixed an issue where ScopedNoDenormals would do nothing on all platforms and added arm implementation
2017-10-02 18:23:51 +01:00
jules
eca20d1e4a
Added some missing copy and move constructors in the ReferenceCountedObject classes
2017-10-02 14:53:54 +01:00
hogliux
6ae99f4343
macOS: Fixed a memory leak of native mac menu items
2017-09-29 18:13:24 +01:00
Lukasz Kozakiewicz
9527e077b1
Android: bailout in ComponentPeerView’s callbacks if underlying host is deleted.
...
Previously we saw a crash in onTouchEvent due to host being 0 while the callback was called. Just as a precaution we add this check to other callbacks too.
2017-09-28 15:37:06 +02:00
jules
434b0e7c9b
Got rid of a long-defunct alias "BitArray". If your code still uses this name, you can just replace or alias it to BigInteger, which is what the class was renamed to.
2017-09-28 11:30:44 +01:00
jules
1aaa598a5f
Added JUCE_DECLARE_WEAK_REFERENCEABLE macro to make it easier to creat weak-referenceable classes
2017-09-27 12:57:55 +01:00
jules
b44cb8b710
Minor breaking change: removed the legacy swapVariables function. Just use std::swap instead and it'll do a better job!
2017-09-27 12:31:36 +01:00
jules
27a6903cac
Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int
2017-09-27 12:24:02 +01:00
Lukasz Kozakiewicz
5b8cf6b932
Android: fix getMemorySizeInMegabytes() returning negative values.
2017-09-27 13:00:10 +02:00
jules
23cdad6a80
Tweaked URL::addEscapeChars() to make its character substitutions more compliant with RFC3986
2017-09-27 10:26:24 +01:00
tpoole
920c3f24c8
UnitTestRunner: Improved logging on Windows
2017-09-26 11:16:35 +01:00
tpoole
3627603c83
Fixed a performance regression parsing doubles
2017-09-26 09:00:15 +01:00
hogliux
8d86e6350a
Fixed constexpr compiler support detection in gcc
2017-09-25 14:29:47 +01:00