jules
20147fc0cc
A few code cleanups
7 years ago
jules
f0ef700e46
Modernised a bunch of code mainly relating to character/string iteration
7 years ago
tpoole
18539d7e97
Fixed a bug in NormalisableRange
7 years ago
hogliux
b9b34393d1
Improved scheduling when multiple threads are fighting for the MessageManagerLock
7 years ago
jules
bf64d88de8
Added a method WeakReference::Master::getNumActiveWeakReferences()
7 years ago
jules
95053c0665
Quick spruce-up in the XML parser
7 years ago
tpoole
51b3eaebb2
Fixed some VS2013 compiler errors
7 years ago
jules
6cb79e1414
Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors
7 years ago
jules
c9d98a4976
Removed explicitness from StringArray single-element constructor
7 years ago
jules
acf28c6fa7
Removed the explicitness of the Array single-item constructors
7 years ago
jules
a03fd6b0a3
Fixed a mistake in InputStream::readNextLine()
7 years ago
hogliux
daf31260e3
macOS: Fixed a compiler error in NormalisableRange when compiling for macOS <10.8
7 years ago
hogliux
3cbf0791cc
Fixed an issue where ScopedNoDenormals would do nothing on all platforms and added arm implementation
7 years ago
jules
7c4a40470d
Added some better use of the Range class in NormalisableRange and Slider
7 years ago
jules
7ece1b4135
Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms
7 years ago
jules
8a7f992725
Small fix in ReferenceCountedArray
7 years ago
jules
b0cd45329f
Fixed a cast warning, added some missing move operators to ReferenceCountedArray and URL, and tidied up some internal array code
7 years ago
jules
a7c56fd89b
Simplified and tidied up a few things in input/output streams and MemoryBlock
7 years ago
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.
7 years ago
jules
e180dbb3f2
Clarified some docs about the order of files when searching directories
7 years ago
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
7 years ago
tpoole
3cb185fcc3
A minor code cleanup
7 years ago
Lukasz Kozakiewicz
0caf83439a
Android: move android.content.Intent class definition into JNIHelpers.
7 years ago
jules
53392faeb8
Added a workaround in ZipFile for reading files which contain the wrong offset for their central directory
7 years ago
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
7 years ago
tpoole
ee34e0455d
Restored compatibility with older versions of OS X by removing some std namespace maths functions
7 years ago
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
7 years ago
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
7 years ago
hogliux
1135f6fff6
Fixed a compiler warning involving deprecated static variables when compiling with GCC
7 years ago
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
7 years ago
jules
9ac84e07b4
Fixed some false positives generated by the StringPairArray comparison operator, and made it faster for common cases.
7 years ago
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
7 years ago
hogliux
671f3eaf94
Implement Process::hide for mobile platforms
7 years ago
jules
31c99d3680
Cleaned up some missing std:: namespaces for maths functions, and updated some old documentation for AudioProcessor
7 years ago
jules
ff99aec1ab
Converted some old uses of non-C++ maths functions to their std equivalents
7 years ago
ed
15e40d48ba
Whitespace
7 years ago
ed
3b61f577bf
Removed unused JUCE_COMPILER_SUPPORTS_THREAD_LOCAL flag
7 years ago
jules
a2020f0177
Removed a defunct unit test
7 years ago
jules
2fcb8fa71b
Added some prototype function definitions to avoid compiler warnings for people who enable the "missing prototype" flag
7 years ago
jules
be3e9161be
Fixed a typo in the previous commit
7 years ago
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
7 years ago
tpoole
aa338866fb
Minor documentation fixes
7 years ago
tpoole
7d2f59909e
Minor documentation fixes
7 years ago
tpoole
e85d3aaf1f
Renamed XCode to Xcode in multiple places
7 years ago
ed
93ed8ed0fc
Fixed a typo in the StringRef documentation
7 years ago
jules
3d7c777238
Some light modernisation of a bunch of old code
7 years ago
hogliux
f59a5dfc7f
Fixed an issue where ScopedNoDenormals would do nothing on all platforms and added arm implementation
7 years ago
jules
eca20d1e4a
Added some missing copy and move constructors in the ReferenceCountedObject classes
7 years ago
hogliux
6ae99f4343
macOS: Fixed a memory leak of native mac menu items
7 years ago
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.
7 years ago