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

158 commits

Author SHA1 Message Date
Tom Poole
5f21cf214c Fixed a bug reporting write success in FileOutputStream 2019-07-22 15:17:26 +01:00
Tom Poole
6bcf80fb9e Removed a problematic unit test when running as a Windows system process 2019-06-20 17:26:19 +01:00
Tom Poole
8f84192c9b Fixed some more Android compiler warnings 2019-06-07 12:24:05 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
Tom Poole
6f6451b7d2 Restored compatibility with older versions of Xcode 2019-02-11 14:59:05 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
Tom Poole
4094bcc45a Fixed some Doxygen parsing errors 2018-10-25 10:18:20 +01:00
jules
302019dd43 Tidied up some comments and usage of File::createOutputStream() and createInputStream() 2018-10-04 11:29:55 +01:00
Tom Poole
f5cf03d2f5 A minor documentation update 2018-10-04 09:22:04 +01:00
ed
a64183914a Added unit tests to the InputStream classes 2018-09-06 09:35:30 +01:00
Tom Poole
493591a7ef Cleaned up some doc comments 2018-08-29 10:56:56 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
hogliux
6d55fe78fe Added a flag to specify if File::deleteRecursively should follow symlinks or not 2018-06-13 12:07:25 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
jules
8c38c6f57f Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes! 2018-05-09 08:08:46 +01:00
Tom Poole
3a373cfa06 Increased the warning level when building DemoRunner on iOS 2018-04-23 17:50:04 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
efda09a512 Added a parameter to File::appendText, File::replaceWithText and OutputStream::writeText to provide control over if/how line-feeds are replaced when writing text to a file 2018-04-16 12:26:42 +01:00
hogliux
06d20b20c0 Files: Added support for creating and reading relative or special path symbolic link files 2018-04-09 14:02:53 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
415f0e4c90 Added an alternative version of File::findChildFiles that returns the results array rather than it being an out-parameter. In almost all cases using this new version will make your code smaller and cleaner, as you can see from all the changes in this commit! 2018-01-17 11:23:12 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
Noah Dayan
381874c20a Fix typo in juce_TemporaryFile.h 2018-01-08 09:17:07 +00:00
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
Noah Dayan
737c82fcfc Fix Windows doc in juce_File.h 2017-12-11 09:54:38 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
jules
08a1b7bb6d Improved error handling in BufferedInputStream and tidied up a few classes in the streams folder 2017-11-02 12:14:10 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
tpoole
c0d409c773 Some minor documentation improvements 2017-10-26 16:36:32 +01:00
jules
e180dbb3f2 Clarified some docs about the order of files when searching directories 2017-10-13 09:30:29 +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
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
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
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
ed
6bfcd820b4 Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories. 2017-07-20 17:24:05 +01:00
tpoole
8b78e90241 Win32: Added globalApplicationsDirectoryX86 to File::SpecialLocationType 2017-05-11 15:33:00 +01:00
tpoole
f1409640f8 Added File::isRoot() 2017-05-09 17:59:07 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
fbee2788ee Made File::appendText return false if the write failed 2017-04-07 11:24:35 +01:00
jules
44cd80969d A few C++11 modernisations and comment corrections 2017-03-28 12:31:51 +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
d3bb833f0e Made File::getRelativePathFrom() return '.' if comparing two identical folders. 2017-03-06 15:02:24 +00:00
jules
c04c9ee56e Added a sanity check on the value returned by DirectoryIterator::getEstimatedProgress() 2017-02-23 16:50:52 +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